.docs-page-shell {
    --docs-bg: #0b1220;
    --docs-card: #ffffff;
    --docs-text: #0f172a;
    --docs-muted: #64748b;
    --docs-line: #e2e8f0;
    --docs-primary: #2563eb;
    --docs-primary-2: #7c3aed;
    --docs-success: #16a34a;
    --docs-code-bg: #0f172a;
    --docs-code-text: #e2e8f0;
    background: #f8fafc;
    color: var(--docs-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.docs-breadcrumbs {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 400;
    line-height: 1.35;
}

.docs-breadcrumbs span {
    color: #cbd5e1;
}

.docs-breadcrumbs a {
    color: #475569;
    font-weight: 400;
    text-decoration: none;
}

.docs-breadcrumbs a:hover {
    color: var(--docs-primary);
    text-decoration: underline;
}

.docs-breadcrumbs strong {
    color: #334155;
    font-weight: 500;
}

.docs-hero {
    min-height: auto;
    padding: 1.5rem 0 1.75rem;
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.18), transparent 40%),
        linear-gradient(135deg, #071122 0%, #09162c 45%, #0b1220 100%);
    color: #ffffff;
}

.docs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.docs-hero .container {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 2rem));
}

.docs-hero-copy {
    max-width: 860px;
}

.docs-hero-top {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.45rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.26), rgba(15, 23, 42, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.docs-hero-utility-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.docs-quick-links,
.docs-locale-switch {
    position: static;
    inset: auto;
    z-index: auto;
}

.docs-quick-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.docs-hero .docs-quick-links .public-quick-link {
    min-height: 36px;
    padding: 0 13px;
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.docs-hero .docs-quick-links .public-quick-link:hover,
.docs-hero .docs-quick-links .public-quick-link.is-active {
    background: rgba(37, 99, 235, 0.85);
    border-color: rgba(96, 165, 250, 0.7);
}

.docs-locale-switch {
    display: inline-flex;
    justify-self: end;
    width: auto;
    max-width: max-content;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(255, 255, 255, 0.1);
}

.docs-hero-breadcrumb-row {
    display: block;
    padding-top: 0.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.docs-hero .docs-breadcrumbs {
    color: rgba(226, 232, 240, 0.78);
    min-height: 24px;
}

.docs-hero .section-kicker {
    margin-bottom: 1.1rem;
    padding: .4rem .8rem;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.26);
    color: #bfdbfe;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}

.docs-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.docs-hero .docs-breadcrumbs span {
    color: rgba(191, 219, 254, 0.42);
}

.docs-hero .docs-breadcrumbs a {
    color: #cbd5e1;
}

.docs-hero .docs-breadcrumbs a:hover {
    color: #ffffff;
}

.docs-hero .docs-breadcrumbs strong {
    color: #ffffff;
}

.docs-hero .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.04rem;
    line-height: 1.72;
    margin-top: 0.85rem;
}

.docs-hero .actions {
    margin-top: 1.65rem;
}

.docs-main {
    padding: 1.25rem 0 4.5rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.docs-sidebar {
    align-self: start;
}

.docs-sidebar-card,
.docs-section-card {
    background: transparent;
    border: none;
    border-radius: 10px;
    box-shadow: none;
}

.docs-sidebar-card {
    padding: 10px;
}

.docs-sidebar-card h2 {
    margin: 0 0 10px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--docs-text);
}

.docs-sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.docs-sidebar-nav a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    color: #334155;
    font-size: .80rem;
    line-height: 1.4;
    padding: .22rem .45rem;
    border-radius: 6px;
    transition: background-color 180ms ease, color 180ms ease;
    text-decoration: none;
}

.docs-sidebar-nav a + a {
    margin-top: 2px;
}

.docs-sidebar-nav a:hover {
    color: var(--docs-primary);
    background: rgba(37, 99, 235, 0.08);
}

.docs-sidebar-nav a.is-active {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.12);
    font-weight: 700;
}

.docs-content {
    display: grid;
    gap: 18px;
}

.docs-section-card {
    scroll-margin-top: 120px;
    padding: 16px;
}

.docs-section-card h2 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.18;
    color: var(--docs-text);
}

.docs-section-card p,
.docs-section-card li {
    color: #334155;
    font-size: .84rem;
    line-height: 1.5;
}

.docs-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eff6ff;
    border-left: 4px solid var(--docs-primary);
    color: #1e3a8a;
}

.docs-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: .8rem;
}

.docs-feature-card {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--docs-line);
}

.docs-feature-card h3 {
    margin: 0 0 .45rem;
    color: var(--docs-text);
    font-size: .84rem;
    line-height: 1.4;
}

.docs-feature-card p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
}

.docs-workflow-list {
    display: grid;
    gap: 14px;
    margin-top: .8rem;
}

.docs-workflow-step {
    padding: 10px 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--docs-line);
}

.docs-step-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .75rem;
}

.docs-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--docs-primary), var(--docs-primary-2));
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
}

.docs-step-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--docs-text);
}

.docs-code-block {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: var(--docs-code-bg);
    color: var(--docs-code-text);
    font-family: "Fira Code", Consolas, Monaco, monospace;
    font-size: .94rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre-wrap;
}

.docs-faq-list {
    display: grid;
    gap: 14px;
    margin-top: .8rem;
}

.docs-faq-item {
    padding: 10px 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--docs-line);
}

.docs-faq-item h3 {
    margin: 0 0 .55rem;
    color: var(--docs-text);
    font-size: .9rem;
}

.docs-faq-item p {
    margin: 0;
}

.docs-contact-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

.docs-contact-row .actions {
    margin-top: 0;
}

@media (max-width: 980px) {
    .docs-hero-utility-row {
        align-items: flex-start;
    }

    .docs-hero-top {
        padding: 0.95rem 1rem;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .docs-sidebar-card {
        position: static;
        top: auto;
        transform: none !important;
    }

    .docs-feature-grid {
        grid-template-columns: 1fr;
    }

    .docs-contact-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .docs-hero {
        padding: 1rem 0 1.5rem;
    }

    .docs-hero-top {
        gap: 0.85rem;
        margin-bottom: 1.2rem;
        padding: 0.9rem;
        border-radius: 18px;
    }

    .docs-hero-utility-row {
        flex-direction: column;
        align-items: stretch;
    }

    .docs-quick-links {
        width: 100%;
    }

    .docs-quick-links .public-quick-link {
        min-width: 0;
        flex: 1 1 140px;
    }

    .docs-locale-switch {
        align-self: flex-start;
    }

    .docs-hero-breadcrumb-row {
        padding-top: 0.2rem;
    }
}

@media (max-width: 640px) {
    .docs-main {
        padding: 1rem 0 4rem;
    }

    .docs-section-card {
        padding: 22px;
    }

    .docs-hero h1 {
        font-size: 2.35rem;
        max-width: 13ch;
    }
}

@media (max-width: 425px) {
    .docs-hero {
        padding: 0.9rem 0 1.35rem;
    }

    .docs-hero-top {
        gap: 0.75rem;
        padding: 0.85rem 0.8rem;
    }

    .docs-hero .docs-breadcrumbs {
        font-size: 12px;
        line-height: 1.45;
    }

    .docs-hero .actions {
        gap: 0.75rem;
    }
}

@media (max-width: 375px) {
    .docs-quick-links .public-quick-link {
        flex-basis: 100%;
    }

    .docs-hero h1 {
        font-size: 2.05rem;
    }

    .docs-hero .section-kicker {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .docs-hero .container {
        width: min(100%, calc(100% - 1rem));
    }

    .docs-locale-switch .locale-option {
        padding: 0 8px;
    }

    .docs-hero h1 {
        font-size: 1.88rem;
    }

    .docs-hero-top {
        padding: 0.75rem;
    }
}
