﻿:root {
    --bg: #f3f3f0;
    --ink: #0a0b0d;
    --muted: #666a70;
    --line: #d7d7d2;
    --blue: #6675ff;
    --blue-deep: #4654ee;
    --cyan: #59d9ff;
    --panel: #10131a;
    --panel-2: #151923;
    --white: #ffffff;
    --lime: #d7ff35;
    --radius: 18px;
    --max: 1420px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.page-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.4) 70%, transparent 100%);
}

.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    left: -160px;
    top: -160px;
    background: radial-gradient(circle, rgba(102,117,255,.16), transparent 65%);
    filter: blur(4px);
    transition: transform .08s linear;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 50;
    width: min(calc(100% - 40px), 1320px);
    margin: 18px auto 0;
    min-height: 66px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 150px 1fr 180px;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0,0,0,.13);
    background: rgba(243,243,240,.88);
    backdrop-filter: blur(18px);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.brand img {
    display: block;
    width: 104px;
    /* max-height: 42px; */
    /* object-fit: contain; */
    object-position: left center;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}

    .main-nav a {
        position: relative;
        color: #ffffff;
    }


/* Header dropdowns */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.nav-chevron {
    font-size: 13px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: translateY(1px) rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 210px;
    padding: 9px;
    background: rgba(8, 8, 19, .97);
    border: 1px solid rgba(160, 189, 219, .28);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .32), 0 0 28px rgba(102, 117, 255, .10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    color: #f5f7fb !important;
    font-size: 13px !important;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

    .nav-dropdown-menu a::after {
        display: none !important;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(160, 189, 219, .11);
        color: #A0BDDB !important;
    }

.product-menu {
    min-width: 220px;
}

.login-menu {
    min-width: 205px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--blue);
    transition: right .25s ease;
}

.main-nav a:hover::after {
    right: 0;
}

.header-cta {
    justify-self: end;
    padding: 12px 17px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

    .header-cta span {
        margin-left: 7px;
    }

.hero {
    width: min(calc(100% - 80px), var(--max));
    min-height: 790px;
    margin: 18px auto 0;
    padding: 120px 8% 90px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: radial-gradient(circle at 82% 45%, rgba(102,117,255,.24), transparent 26%), radial-gradient(circle at 20% 15%, rgba(89,217,255,.10), transparent 24%), #080a0e;
    color: white;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 84px 84px;
        opacity: .45;
    }

.hero-copy,
.hero-art {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-number,
.card-label,
.hero-meta,
.info-grid span,
.section-number {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 10px;
    font-weight: 800;
}

.eyebrow {
    color: #aab4ff;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
}

    .eyebrow span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--cyan);
        box-shadow: 0 0 16px var(--cyan);
    }

.hero h1 {
    font-size: clamp(72px, 9vw, 150px);
    line-height: .82;
    letter-spacing: -.075em;
    max-width: 820px;
}

    .hero h1 em,
    .section h2 em,
    .feature-heading h2 em,
    .language-heading h2 em,
    .usage-section h2 em,
    .developer-cta h2 em {
        color: var(--blue);
        font-style: normal;
    }

.hero-lede {
    max-width: 610px;
    margin-top: 40px;
    color: #aeb3be;
    font-size: 19px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 0 21px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

    .button:hover {
        transform: translateY(-2px);
    }

.button-dark {
    background: white;
    color: var(--ink);
}

.button-light {
    border: 1px solid rgba(255,255,255,.28);
    color: white;
}

.hero-meta {
    margin-top: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #747b88;
}

    .hero-meta strong {
        color: #e9ebef;
        letter-spacing: .02em;
    }

        .hero-meta strong + span {
            margin-left: 22px;
        }

.hero-art {
    height: 540px;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(102,117,255,.45);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.orbit-one {
    width: 250px;
    height: 250px;
}

.orbit-two {
    width: 390px;
    height: 390px;
    animation-direction: reverse;
    animation-duration: 28s;
}

.orbit-three {
    width: 530px;
    height: 530px;
    opacity: .45;
    animation-duration: 36s;
}

.core {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 30%, #7181ff, #151b49 58%, #07080d 100%);
    border: 1px solid rgba(145,155,255,.7);
    box-shadow: 0 0 70px rgba(102,117,255,.45), inset 0 0 40px rgba(255,255,255,.08);
}

.core-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 18px white;
    margin-bottom: 11px;
}

.core strong {
    font-size: 19px;
    letter-spacing: .14em;
}

.core small {
    margin-top: 4px;
    color: #abb4ff;
    letter-spacing: .2em;
    font-size: 7px;
}

.floating-chip {
    position: absolute;
    padding: 12px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(8,10,14,.72);
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.chip-tts {
    top: 19%;
    right: 4%;
    color: #9fa9ff;
}

.chip-asr {
    bottom: 18%;
    left: 7%;
    color: #60ddff;
}

.chip-llm {
    top: 47%;
    right: -3%;
    color: #dbff50;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.marquee-strip {
    width: min(calc(100% - 80px), var(--max));
    margin: 20px auto 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    padding: 15px 0;
    animation: marquee 24s linear infinite;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

    .marquee-track b {
        color: var(--blue);
    }

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.section,
.feature-section,
.reference-section,
.language-section,
.usage-section,
.developer-cta {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
}

.section {
    padding: 150px 0 120px;
}

.section-intro,
.feature-heading {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 58px;
}

.section-number {
    color: var(--blue);
    margin-bottom: 18px;
}

.section h2,
.feature-heading h2,
.language-heading h2,
.usage-section h2,
.developer-cta h2 {
    font-size: clamp(54px, 6.3vw, 100px);
    line-height: .9;
    letter-spacing: -.065em;
}

.section-intro > p,
.feature-heading > p,
.language-heading p,
.usage-section .section-intro p {
    color: var(--muted);
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7;
}

.api-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.api-card {
    min-height: 500px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid #cfcfca;
    border-radius: var(--radius);
    background: #e9e9e5;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

    .api-card:hover {
        transform: translateY(-7px);
        background: #11141b;
        border-color: #11141b;
        color: white;
    }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.method {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.card-index {
    font-size: 10px;
    font-weight: 900;
    color: #92969c;
}

.api-symbol {
    width: 66px;
    height: 66px;
    margin: 58px 0 35px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: white;
    border: 1px solid #d2d2cd;
    color: var(--blue-deep);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .1em;
}

.api-card:hover .api-symbol {
    background: #ffffff;
    border-color: #1a1f2b;
}

.card-label {
    color: #7d828a;
    margin-bottom: 9px;
}

.api-card h3 {
    font-size: 35px;
    letter-spacing: -.045em;
}

.api-card p {
    margin-top: 14px;
    color: #696e75;
    font-size: 14px;
    line-height: 1.65;
    max-width: 380px;
}

.api-card:hover p {
    color: #a6acb6;
}

.api-card > code {
    margin-top: auto;
    padding: 13px 14px;
    border-radius: 9px;
    background: rgba(0,0,0,.055);
    font-size: 11px;
}

.api-card:hover > code {
    background: #1b202c;
    color: #dce1eb;
}

.text-link {
    margin-top: 20px;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: var(--blue-deep);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
}

.api-card:hover .text-link {
    color: #9ca8ff;
}

.feature-section,
.reference-section,
.language-section,
.usage-section {
    padding: 100px 0;
}

.quickstart-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 14px;
}

.step-list {
    display: grid;
    gap: 8px;
}

.step {
    width: 100%;
    padding: 22px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    text-align: left;
    border: 1px solid #d2d2cd;
    border-radius: 15px;
    background: transparent;
    cursor: pointer;
}

    .step.active,
    .step:hover {
        background: var(--ink);
        color: white;
        border-color: var(--ink);
    }

    .step > span {
        font-size: 10px;
        color: var(--blue);
        font-weight: 900;
    }

    .step strong {
        display: block;
        font-size: 14px;
    }

    .step small {
        display: block;
        margin-top: 6px;
        color: #7a7e84;
        font-size: 11px;
        line-height: 1.5;
    }

    .step.active small {
        color: #aeb4bf;
    }

.code-window,
.small-code {
    background: #0a0d12;
    color: #e6eaf0;
    border-radius: var(--radius);
    overflow: hidden;
}

.code-window {
    min-height: 360px;
    border: 1px solid #1d2430;
}

.code-toolbar {
    min-height: 50px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #202630;
}

    .code-toolbar > span {
        display: flex;
        gap: 6px;
    }

    .code-toolbar i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #4b5360;
    }

.copy-button {
    border: 1px solid #343c4a;
    background: transparent;
    color: #c9ced7;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 10px;
    cursor: pointer;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    overflow: auto;
}

.code-window pre {
    padding: 30px;
    font: 12px/1.75 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.syntax-comment {
    color: #6f7886;
}

.syntax-string {
    color: #b8d77d;
}

.reference-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 800px;
    border: 1px solid #cfcfca;
    border-radius: var(--radius);
    overflow: hidden;
}

.reference-nav {
    padding: 22px;
    background: #deded9;
    border-right: 1px solid #cfcfca;
}

.ref-tab {
    width: 100%;
    padding: 18px 14px;
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #c4c4bf;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

    .ref-tab span {
        color: #858a90;
    }

    .ref-tab.active {
        background: var(--ink);
        color: white;
        border-radius: 9px;
        border-bottom-color: var(--ink);
    }

        .ref-tab.active span {
            color: #a6afff;
        }

.reference-content {
    padding: 55px;
    background: #f8f8f5;
}

.ref-panel {
    display: none;
    animation: panelIn .35s ease;
}

    .ref-panel.active {
        display: block;
    }

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.endpoint-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

    .endpoint-row code {
        font-size: 13px;
        word-break: break-all;
    }

.ref-panel h3 {
    font-size: 54px;
    letter-spacing: -.05em;
    margin-bottom: 14px;
}

.ref-panel > p {
    max-width: 720px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .info-grid > div {
        padding: 20px 16px 20px 0;
        border-right: 1px solid var(--line);
    }

        .info-grid > div:last-child {
            border-right: 0;
            padding-left: 16px;
        }

    .info-grid strong {
        display: block;
        margin-top: 9px;
        font-size: 12px;
    }

.ref-panel h4 {
    margin: 34px 0 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.small-code {
    padding: 22px;
    font: 12px/1.65 "SFMono-Regular", Consolas, monospace;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .tag-list span,
    .format-row span {
        padding: 9px 11px;
        border: 1px solid #d4d4cf;
        border-radius: 999px;
        font-size: 11px;
    }

.format-row {
    display: flex;
    gap: 8px;
}

.parameter-list,
.role-grid {
    display: grid;
    gap: 8px;
}

    .parameter-list div,
    .role-grid div {
        padding: 15px;
        border: 1px solid var(--line);
        border-radius: 10px;
        display: flex;
        gap: 20px;
    }

    .parameter-list b,
    .role-grid b {
        min-width: 130px;
    }

    .parameter-list span,
    .role-grid span {
        color: var(--muted);
        font-size: 12px;
    }

.compact-copy {
    font-size: 13px !important;
}

.language-section {
    display: grid;
    grid-template-columns: .15fr .65fr 1.2fr;
    gap: 45px;
    align-items: start;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.language-heading h2 {
    font-size: clamp(50px, 5vw, 78px);
}

.language-cloud {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

    .language-cloud span {
        padding: 11px 13px;
        border: 1px solid #cfcfca;
        border-radius: 999px;
        font-size: 11px;
        color: #5f646a;
    }

    .language-cloud .featured {
        background: var(--ink);
        color: white;
        border-color: var(--ink);
    }

.usage-section .section-intro {
    margin-bottom: 50px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

    .usage-grid article {
        padding: 28px;
        min-height: 220px;
        border-radius: 16px;
        background: #11141a;
        color: white;
    }

        .usage-grid article > span {
            color: #a8b1ff;
            font-size: 10px;
            letter-spacing: .18em;
            font-weight: 900;
        }

    .usage-grid h3 {
        margin-top: 45px;
        font-size: 34px;
        letter-spacing: -.04em;
    }

    .usage-grid p {
        color: #c0c4cb;
        margin-top: 4px;
        font-size: 13px;
    }

    .usage-grid small {
        display: block;
        margin-top: 35px;
        color: #727985;
        font-size: 10px;
    }

.developer-cta {
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 65px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    border-radius: 22px;
    background: radial-gradient(circle at 85% 20%, rgba(102,117,255,.45), transparent 25%), #0b0e14;
    color: white;
}

    .developer-cta .section-number {
        color: #a9b2ff;
    }

    .developer-cta h2 {
        font-size: clamp(55px, 6vw, 90px);
    }

    .developer-cta p {
        margin-top: 20px;
        max-width: 580px;
        color: #aeb4bf;
    }

.button.large {
    min-width: 170px;
}

.site-footer {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
    padding: 60px 0 45px;
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr;
    gap: 40px;
    border-top: 1px solid var(--line);
}

    .site-footer img {
        width: 105px;
        max-height: 40px;
        object-fit: contain;
        object-position: left center;
    }

    .site-footer p {
        margin-top: 15px;
        max-width: 370px;
        color: #73777c;
        font-size: 12px;
    }

.footer-links {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    font-size: 11px;
    font-weight: 800;
}

    .footer-links a:hover {
        color: var(--blue-deep);
    }

.footer-meta {
    justify-self: end;
    color: #8b8e93;
    font-size: 10px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1050px) {
    .site-header {
        grid-template-columns: 120px 1fr 150px;
    }

    .main-nav {
        gap: 14px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 100px;
    }

    .hero-art {
        height: 420px;
    }

    .section-intro,
    .feature-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .api-cards,
    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-section {
        grid-template-columns: 1fr;
    }

    .reference-shell {
        grid-template-columns: 1fr;
    }

    .reference-nav {
        display: flex;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .ref-tab {
        min-width: 220px;
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .site-header,
    .hero,
    .section,
    .feature-section,
    .reference-section,
    .language-section,
    .usage-section,
    .developer-cta,
    .site-footer,
    .marquee-strip {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        top: 8px;
        margin-top: 8px;
        grid-template-columns: 1fr auto;
        border-radius: 18px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 80px 25px 60px;
        border-radius: 18px;
    }

        .hero h1 {
            font-size: clamp(60px, 18vw, 100px);
        }

    .hero-lede {
        font-size: 16px;
    }

    .hero-art {
        transform: scale(.7);
        height: 320px;
        margin: -30px 0;
    }

    .hero-meta {
        flex-wrap: wrap;
    }

    .section,
    .feature-section,
    .reference-section,
    .language-section,
    .usage-section {
        padding: 85px 0;
    }

    .api-cards,
    .usage-grid,
    .quickstart-layout {
        grid-template-columns: 1fr;
    }

    .api-card {
        min-height: 430px;
    }

    .reference-content {
        padding: 30px 20px;
    }

    .ref-panel h3 {
        font-size: 42px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .info-grid > div:nth-child(2) {
            border-right: 0;
        }

        .info-grid > div:nth-child(3) {
            border-top: 1px solid var(--line);
        }

        .info-grid > div:nth-child(4) {
            border-top: 1px solid var(--line);
            border-right: 0;
        }

    .developer-cta {
        padding: 40px 25px;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 50px;
        margin-bottom: 55px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding-bottom: 30px;
    }

    .footer-meta {
        justify-self: start;
    }
}

/* =========================================================
   API PAGE VISUAL UPDATE
   Black Iris + Frozen palette, tighter spacing, developer hero,
   and seamless continuous capability ticker.
   ========================================================= */
:root {
    --bg: #f7f8f8;
    --ink: #080813; /* Black Iris */
    --muted: #626a73;
    --line: rgba(8, 8, 19, .13);
    --blue: #6675ff;
    --blue-deep: #4f5ee8;
    --cyan: #a0bddb; /* Frozen */
    --frozen: #a0bddb;
    --panel: #080813;
    --panel-2: #111321;
    --white: #ffffff;
    --lime: #d7ff35;
}

body {
    background: radial-gradient(circle at 15% 18%, rgba(160,189,219,.22), transparent 24%), radial-gradient(circle at 85% 52%, rgba(102,117,255,.11), transparent 28%), var(--bg);
}

.page-grid {
    background: linear-gradient(rgba(8,8,19,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(8,8,19,.055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.55) 82%, transparent 100%);
}

.cursor-glow {
    background: radial-gradient(circle, rgba(102,117,255,.14), rgba(160,189,219,.08) 34%, transparent 68%);
}

.site-header {
    background: rgba(247,248,248,.88);
    border-color: rgba(8,8,19,.12);
}

.header-cta {
    background: var(--ink);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 650px;
    margin-top: 14px;
    padding: 88px 7% 72px;
    grid-template-columns: .92fr 1.08fr;
    border-radius: 26px;
    background: radial-gradient(circle at 78% 48%, rgba(102,117,255,.20), transparent 27%), radial-gradient(circle at 22% 16%, rgba(160,189,219,.16), transparent 25%), linear-gradient(135deg, #080813 0%, #0a0c18 58%, #10142b 100%);
}

    .hero::before {
        background: linear-gradient(90deg, rgba(160,189,219,.08) 1px, transparent 1px), linear-gradient(rgba(160,189,219,.07) 1px, transparent 1px);
        background-size: 72px 72px;
        opacity: .6;
    }

    .hero h1 {
        font-size: clamp(68px, 8.2vw, 132px);
        max-width: 760px;
    }

        .hero h1 em {
            color: var(--blue);
        }

.hero-lede {
    margin-top: 30px;
    max-width: 570px;
    font-size: 17px;
    color: #c3c9d4;
}

.hero-actions {
    margin-top: 26px;
}

.hero-meta {
    margin-top: 42px;
}

.hero-art {
    height: 470px;
    min-width: 0;
    display: grid;
    place-items: center;
}

.developer-scene {
    position: relative;
    width: min(100%, 650px);
    height: 470px;
    isolation: isolate;
}

.scene-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102,117,255,.25), rgba(160,189,219,.10) 36%, transparent 70%);
    filter: blur(8px);
}

.api-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(160,189,219,.24);
    border-radius: 50%;
}

.api-orbit-a {
    width: 350px;
    height: 350px;
}

.api-orbit-b {
    width: 500px;
    height: 500px;
    border-color: rgba(102,117,255,.16);
}

.developer-figure {
    position: absolute;
    left: 24%;
    bottom: 82px;
    width: 135px;
    height: 230px;
    z-index: 3;
}

.developer-head {
    position: absolute;
    width: 66px;
    height: 66px;
    left: 36px;
    top: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #a0bddb, #53647b 55%, #252b3d);
    box-shadow: 0 0 30px rgba(160,189,219,.18);
}

.developer-body {
    position: absolute;
    width: 104px;
    height: 125px;
    left: 15px;
    top: 58px;
    border-radius: 48px 48px 20px 20px;
    background: linear-gradient(145deg, #273047, #111523 68%);
    border: 1px solid rgba(160,189,219,.20);
}

.developer-arm {
    position: absolute;
    width: 76px;
    height: 22px;
    top: 88px;
    border-radius: 999px;
    background: linear-gradient(90deg, #20283b, #7e91aa);
    transform-origin: 10px 50%;
}

.developer-arm-left {
    left: -28px;
    transform: rotate(26deg);
}

.developer-arm-right {
    right: -30px;
    transform: rotate(-25deg);
}

.laptop {
    position: absolute;
    left: 39%;
    bottom: 42px;
    width: 310px;
    height: 210px;
    z-index: 4;
}

.laptop-screen {
    position: absolute;
    left: 25px;
    top: 0;
    width: 260px;
    height: 155px;
    padding: 24px 22px;
    border: 1px solid rgba(160,189,219,.36);
    border-radius: 16px 16px 7px 7px;
    background: linear-gradient(145deg, #151a2a, #080b13);
    box-shadow: 0 22px 60px rgba(0,0,0,.36), inset 0 0 30px rgba(102,117,255,.08);
}

.code-line {
    height: 7px;
    margin-bottom: 12px;
    border-radius: 99px;
    background: rgba(160,189,219,.40);
}

    .code-line.accent {
        background: linear-gradient(90deg, #6675ff, #a0bddb);
        box-shadow: 0 0 12px rgba(102,117,255,.30);
    }

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}

.w-62 {
    width: 62%;
}

.w-55 {
    width: 55%;
}

.w-42 {
    width: 42%;
}

.code-cursor {
    width: 7px;
    height: 13px;
    margin-top: 2px;
    background: #6675ff;
    box-shadow: 0 0 12px rgba(102,117,255,.8);
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.laptop-base {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 310px;
    height: 48px;
    border-radius: 7px 7px 22px 22px;
    background: linear-gradient(180deg, #a0bddb, #52647a 35%, #20283a);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
    opacity: .9;
}

.api-node {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(160,189,219,.28);
    border-radius: 999px;
    background: rgba(8,8,19,.82);
    color: #eef2f7;
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    box-shadow: 0 12px 35px rgba(0,0,0,.22);
}

    .api-node span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #a0bddb;
        box-shadow: 0 0 12px #a0bddb;
    }

.node-tts {
    top: 15%;
    left: 10%;
}

.node-asr {
    top: 29%;
    right: 4%;
}

.node-llm {
    bottom: 19%;
    right: 7%;
}

.node-api {
    bottom: 12%;
    left: 9%;
}

.connection {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(160,189,219,0), rgba(160,189,219,.7), rgba(102,117,255,.15));
    box-shadow: 0 0 10px rgba(160,189,219,.30);
    z-index: 1;
}

.connection-one {
    width: 185px;
    left: 28%;
    top: 35%;
    transform: rotate(12deg);
}

.connection-two {
    width: 205px;
    left: 53%;
    top: 38%;
    transform: rotate(-16deg);
}

.connection-three {
    width: 190px;
    left: 54%;
    top: 70%;
    transform: rotate(15deg);
}

.connection-four {
    width: 165px;
    left: 28%;
    top: 69%;
    transform: rotate(-15deg);
}

.request-card {
    position: absolute;
    top: 4%;
    right: 13%;
    z-index: 7;
    width: 225px;
    padding: 15px 16px;
    border: 1px solid rgba(160,189,219,.25);
    border-radius: 13px;
    background: rgba(8,8,19,.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.request-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #a0bddb;
    box-shadow: 0 0 12px #a0bddb;
}

.request-card span {
    color: #a0bddb;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.request-card code {
    display: block;
    margin-top: 9px;
    color: #dce3ed;
    font-size: 10px;
}

.request-card strong {
    display: block;
    margin-top: 9px;
    color: #9cff9c;
    font-size: 9px;
    letter-spacing: .08em;
}

/* ---------- SEAMLESS TICKER ---------- */
.marquee-strip {
    margin-top: 12px;
    border-top-color: rgba(8,8,19,.14);
    border-bottom-color: rgba(8,8,19,.14);
    background: rgba(160,189,219,.07);
}

.marquee-track {
    width: max-content;
    display: flex;
    gap: 0;
    padding: 17px 0;
    animation: marquee-seamless 32s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 30px;
    padding-right: 30px;
}

.marquee-track span {
    white-space: nowrap;
}

@keyframes marquee-seamless {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- TIGHTER PAGE RHYTHM ---------- */
.section {
    padding: 112px 0 92px;
}

.feature-section,
.reference-section,
.language-section,
.usage-section {
    padding: 88px 0;
}

.section-intro,
.feature-heading {
    margin-bottom: 46px;
}

.api-cards {
    gap: 16px;
}

.api-card {
    min-height: 450px;
}

.quickstart-layout {
    gap: 18px;
}

.reference-shell {
    min-height: 720px;
}

.language-section {
    margin-top: 4px;
}

.developer-cta {
    margin-top: 74px;
    margin-bottom: 74px;
}

.site-footer {
    padding-top: 42px;
}

@media (max-width: 1050px) {
    .hero {
        min-height: 720px;
        grid-template-columns: 1fr;
    }

    .hero-art {
        height: 430px;
        margin-top: -12px;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: auto;
        padding: 72px 25px 42px;
    }

    .hero-art {
        height: 340px;
        margin-top: 8px;
        transform: scale(.82);
        transform-origin: center center;
    }

    .developer-scene {
        width: 620px;
    }

    .marquee-track {
        animation-duration: 24s;
    }

    .section,
    .feature-section,
    .reference-section,
    .language-section,
    .usage-section {
        padding: 70px 0;
    }
}

/* =========================================================
   FINAL POLISH
   Black Iris + Frozen only for the major light sections,
   larger spacing, developer graphic, multilingual graphic.
   ========================================================= */
:root {
    --black-iris: #080813;
    --frozen: #A0BDDB;
    --blue: #A0BDDB;
    --blue-deep: #080813;
    --bg: #080813;
    --ink: #080813;
    --muted: #536170;
    --line: rgba(8,8,19,.18);
}

body {
    background: radial-gradient(circle at 10% 10%, rgba(160,189,219,.22), transparent 26%), radial-gradient(circle at 90% 78%, rgba(160,189,219,.16), transparent 30%), var(--frozen);
}

.page-grid {
    background: linear-gradient(rgba(8,8,19,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(8,8,19,.08) 1px, transparent 1px);
    background-size: 58px 58px;
}

.site-header {
    background: rgba(4, 7, 16, .90);
}

.header-cta {
    background: #fff;
    color: #000;
}

.marquee-strip {
    background: var(--black-iris);
    color: var(--frozen);
    border-color: rgba(160,189,219,.30);
}

.marquee-track b {
    color: var(--frozen);
}

/* More breathing room around the major editorial sections */
.feature-section,
.reference-section,
.language-section,
.usage-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

.feature-section {
    width: min(calc(100% - 56px), var(--max));
    margin-top: 20px;
    padding-left: 44px;
    padding-right: 44px;
    border-radius: 28px;
    background: radial-gradient(circle at 18% 50%, rgba(160,189,219,.24), transparent 28%), linear-gradient(120deg, var(--black-iris) 0%, #111122 52%, rgba(160,189,219,.90) 150%);
    color: white;
}

.feature-heading {
    grid-template-columns: .9fr 1fr;
    gap: 110px;
    align-items: center;
    margin-bottom: 80px;
}

    .feature-heading h2 {
        font-size: clamp(62px, 7vw, 112px);
    }

    .feature-heading > p {
        color: rgba(255,255,255,.72);
        font-size: 18px;
        max-width: 620px;
    }

.quickstart-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}

.quickstart-visual {
    position: relative;
    height: 285px;
    overflow: hidden;
    border: 1px solid rgba(160,189,219,.24);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(160,189,219,.12), rgba(8,8,19,.72));
    box-shadow: inset 0 0 70px rgba(160,189,219,.06);
}

.quick-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(160,189,219,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(160,189,219,.07) 1px, transparent 1px);
    background-size: 38px 38px;
}

.quick-person {
    position: absolute;
    left: 14%;
    bottom: 32px;
    width: 100px;
    height: 180px;
}

.quick-head {
    position: absolute;
    width: 48px;
    height: 48px;
    left: 27px;
    top: 0;
    border-radius: 50%;
    background: var(--frozen);
    box-shadow: 0 0 32px rgba(160,189,219,.25);
}

.quick-torso {
    position: absolute;
    width: 76px;
    height: 98px;
    left: 12px;
    top: 43px;
    border-radius: 38px 38px 12px 12px;
    background: #121326;
    border: 1px solid rgba(160,189,219,.24);
}

.quick-arm {
    position: absolute;
    width: 65px;
    height: 13px;
    top: 70px;
    border-radius: 99px;
    background: var(--frozen);
    transform-origin: 8px 50%;
}

.quick-arm-a {
    left: -24px;
    transform: rotate(27deg);
}

.quick-arm-b {
    right: -28px;
    transform: rotate(-24deg);
}

.quick-laptop {
    position: absolute;
    left: 38%;
    bottom: 36px;
    width: 270px;
    height: 180px;
}

.quick-screen {
    position: absolute;
    left: 17px;
    top: 0;
    width: 236px;
    height: 132px;
    padding: 18px;
    border: 1px solid rgba(160,189,219,.35);
    border-radius: 14px 14px 5px 5px;
    background: #080813;
    box-shadow: 0 20px 45px rgba(0,0,0,.32);
}

    .quick-screen i {
        display: block;
        height: 6px;
        margin-bottom: 10px;
        border-radius: 99px;
        background: rgba(160,189,219,.38);
    }

        .quick-screen i:nth-child(1) {
            width: 76%;
        }

        .quick-screen i:nth-child(2) {
            width: 52%;
            background: var(--frozen);
        }

        .quick-screen i:nth-child(3) {
            width: 66%;
        }

        .quick-screen i:nth-child(4) {
            width: 42%;
        }

        .quick-screen i:nth-child(5) {
            width: 60%;
            background: var(--frozen);
        }

    .quick-screen b {
        display: block;
        margin-top: 17px;
        color: var(--frozen);
        font: 700 9px/1.4 "SFMono-Regular", Consolas, monospace;
    }

.quick-base {
    position: absolute;
    bottom: 0;
    width: 270px;
    height: 44px;
    border-radius: 6px 6px 20px 20px;
    background: linear-gradient(180deg, var(--frozen), #53677e);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
}

.quick-pill {
    position: absolute;
    z-index: 4;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--black-iris);
    color: var(--frozen);
    border: 1px solid rgba(160,189,219,.35);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.quick-pill-a {
    top: 25px;
    right: 10%;
}

.quick-pill-b {
    top: 112px;
    right: 5%;
}

.quick-pill-c {
    bottom: 28px;
    right: 11%;
}

.quick-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--frozen), transparent);
    box-shadow: 0 0 10px rgba(160,189,219,.45);
    transform-origin: left center;
}

.quick-line-a {
    width: 150px;
    left: 27%;
    top: 50%;
    transform: rotate(-8deg);
}

.quick-line-b {
    width: 160px;
    left: 58%;
    top: 45%;
    transform: rotate(12deg);
}

.quick-line-c {
    width: 135px;
    left: 58%;
    top: 67%;
    transform: rotate(-17deg);
}

.quickstart-layout {
    margin-top: 18px;
}

    .quickstart-layout .step {
        border-color: rgba(160,189,219,.25);
        color: white;
        background: rgba(8,8,19,.28);
    }

        .quickstart-layout .step small {
            color: rgba(255,255,255,.60);
        }

        .quickstart-layout .step.active,
        .quickstart-layout .step:hover {
            background: var(--frozen);
            color: var(--black-iris);
            border-color: var(--frozen);
        }

            .quickstart-layout .step.active small,
            .quickstart-layout .step:hover small {
                color: rgba(8,8,19,.68);
            }

/* Language section becomes a two-tone ARIA visual block */
.language-section {
    width: min(calc(100% - 56px), var(--max));
    padding: 145px 44px;
    grid-template-columns: .12fr .72fr 1fr;
    gap: 70px;
    border: 0;
    border-radius: 28px;
    background: radial-gradient(circle at 80% 45%, rgba(160,189,219,.22), transparent 30%), linear-gradient(120deg, var(--black-iris) 0%, #111122 56%, var(--frozen) 145%);
    color: white;
}

    .language-section .section-number {
        color: var(--frozen);
    }

.language-heading h2 {
    color: white;
}

    .language-heading h2 em {
        color: var(--frozen);
    }

.language-heading p {
    color: rgba(255,255,255,.72);
}

.language-visual {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(160,189,219,.25);
    background: rgba(8,8,19,.28);
}

.language-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, var(--frozen), #263349 48%, var(--black-iris) 100%);
    border: 1px solid rgba(160,189,219,.7);
    box-shadow: 0 0 60px rgba(160,189,219,.18);
}

    .language-core span {
        font-size: 9px;
        letter-spacing: .2em;
    }

    .language-core strong {
        font-size: 29px;
        letter-spacing: -.04em;
    }

    .language-core small {
        margin-top: 5px;
        font-size: 7px;
        letter-spacing: .17em;
        color: rgba(255,255,255,.68);
    }

.language-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 1px solid rgba(160,189,219,.25);
}

.language-ring-a {
    width: 250px;
    height: 250px;
}

.language-ring-b {
    width: 350px;
    height: 350px;
    border-color: rgba(160,189,219,.14);
}

.lang-chip {
    position: absolute;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(160,189,219,.28);
    background: rgba(8,8,19,.82);
    color: var(--frozen);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.lang-chip-1 {
    top: 12%;
    left: 10%;
}

.lang-chip-2 {
    top: 18%;
    right: 8%;
}

.lang-chip-3 {
    bottom: 15%;
    left: 7%;
}

.lang-chip-4 {
    bottom: 11%;
    right: 10%;
}

.lang-chip-5 {
    top: 47%;
    right: 4%;
}

.language-cloud {
    align-content: center;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(160,189,219,.22);
    background: rgba(8,8,19,.22);
}

    .language-cloud span {
        border-color: rgba(160,189,219,.32);
        color: rgba(255,255,255,.78);
    }

    .language-cloud .featured {
        background: var(--frozen);
        color: var(--black-iris);
        border-color: var(--frozen);
    }

/* Usage and reference areas use the same two-color system */
.reference-section,
.usage-section {
    color: white;
}

.reference-section {
    width: min(calc(100% - 56px), var(--max));
    padding-left: 44px;
    padding-right: 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--black-iris), #111122 65%, rgba(160,189,219,.72));
}

    .reference-section .section-intro > p {
        color: rgba(255,255,255,.68);
    }

    .reference-section .section-number {
        color: var(--frozen);
    }

    .reference-section h2 {
        color: white;
    }

        .reference-section h2 em {
            color: var(--frozen);
        }

.usage-section {
    width: min(calc(100% - 56px), var(--max));
    padding-left: 44px;
    padding-right: 44px;
    border-radius: 28px;
    background: linear-gradient(120deg, var(--frozen) 0%, #b4cce0 32%, var(--black-iris) 105%);
}

    .usage-section .section-number {
        color: var(--black-iris);
    }

    .usage-section h2 {
        color: var(--black-iris);
    }

        .usage-section h2 em {
            color: var(--black-iris);
            text-decoration: underline;
            text-decoration-thickness: 3px;
            text-underline-offset: 8px;
        }

    .usage-section .section-intro p {
        color: rgba(8,8,19,.68);
    }

.usage-grid article {
    background: var(--black-iris);
    border: 1px solid rgba(160,189,219,.24);
}

/* Responsive */
@media (max-width: 1050px) {
    .feature-heading,
    .language-section {
        grid-template-columns: 1fr;
    }

    .language-visual {
        min-height: 340px;
    }
}

@media (max-width: 700px) {
    .feature-section,
    .reference-section,
    .language-section,
    .usage-section {
        width: min(calc(100% - 24px), var(--max));
        padding: 90px 20px;
        border-radius: 20px;
    }

    .feature-heading {
        gap: 42px;
        margin-bottom: 48px;
    }

    .quickstart-visual {
        height: 240px;
    }

    .quick-laptop {
        transform: scale(.78);
        transform-origin: bottom left;
        left: 35%;
    }

    .quick-person {
        transform: scale(.78);
        transform-origin: bottom left;
    }

    .language-cloud {
        padding: 15px;
    }
}

/* Keep the expanded navigation usable on narrower screens */
@media (max-width: 1180px) {
    .main-nav {
        gap: 15px;
    }

        .main-nav > a,
        .nav-dropdown-trigger {
            font-size: 12px !important;
        }

    .header-cta {
        padding: 11px 14px;
    }
}

@media (max-width: 980px) {
    .nav-dropdown-menu {
        left: auto;
        right: 0;
        transform: translateY(-8px);
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        transform: translateY(0);
    }
}


/* =========================================================
   FINAL CORRECTIONS — header + product mega menu + section layout
   ========================================================= */

/* Keep the header clean: no decorative arrows in nav/CTA. */
.nav-chevron,
.header-cta span {
    display: none !important;
}

/* Product dropdown — two-column layout matching the reference. */
.product-dropdown .product-menu {
    width: min(820px, calc(100vw - 48px));
    min-width: 720px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    border-radius: 22px;
    background: rgba(8, 8, 19, .985);
    border: 1px solid rgba(160, 189, 219, .30);
    box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 42px rgba(160,189,219,.10);
}

.product-dropdown:hover .product-menu,
.product-dropdown:focus-within .product-menu {
    transform: translateX(-50%) translateY(0);
}

.product-menu-column {
    padding: 0 24px 0 12px;
}

.product-menu-enterprise {
    padding-left: 28px;
    padding-right: 12px;
    border-left: 1px solid rgba(160,189,219,.16);
}

.product-menu-title {
    margin: 0 0 16px;
    color: var(--frozen);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .22em;
}

.product-menu a {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 9px 12px !important;
    margin: 2px 0;
    border-radius: 9px;
    color: #eef2f7 !important;
    white-space: normal !important;
}

    .product-menu a strong {
        font-size: 15px;
        font-weight: 500;
        letter-spacing: -.01em;
    }

    .product-menu a small {
        color: #7f8da4;
        font-size: 12px;
        line-height: 1.35;
    }

    .product-menu a:hover {
        background: rgba(160,189,219,.09) !important;
        color: var(--frozen) !important;
    }

        .product-menu a:hover small {
            color: #aab9cc;
        }

/* Section 02: place the developer graphic in the open left field,
   with the editorial headline anchored on the right. */
.feature-section {
    position: relative;
}

.feature-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 92px;
    align-items: start;
    margin-bottom: 72px;
}

    .feature-heading > div:first-child {
        grid-column: 2;
        grid-row: 1;
        padding-top: 8px;
    }

.quickstart-copy {
    grid-column: 1;
    grid-row: 1;
    gap: 30px;
    padding-top: 0;
}

    .quickstart-copy > p {
        max-width: 560px;
        margin-top: 118px;
        color: rgba(255,255,255,.78) !important;
        font-size: 15px;
        line-height: 1.75;
    }

.quickstart-visual {
    width: min(100%, 590px);
    height: 285px;
    margin-top: 0;
}

/* The working code panel remains below both columns. */
.quickstart-layout {
    margin-top: 18px;
}

/* Section 04: intentional two-column composition instead of the
   previous three-column stack. */
.language-section {
    display: grid;
    grid-template-columns: 72px minmax(0, .95fr) minmax(420px, 1.05fr);
    grid-template-areas:
        "number heading visual"
        "number cloud cloud";
    column-gap: 54px;
    row-gap: 56px;
    align-items: center;
    min-height: 700px;
}

    .language-section > .section-number {
        grid-area: number;
        align-self: start;
        padding-top: 12px;
    }

.language-heading {
    grid-area: heading;
    align-self: center;
    max-width: 650px;
}

    .language-heading h2 {
        color: #ffffff !important;
    }

        .language-heading h2 em {
            color: var(--frozen) !important;
        }

    .language-heading p {
        color: rgba(255,255,255,.76) !important;
        max-width: 570px;
        margin-top: 26px;
        font-size: 17px;
        line-height: 1.75;
    }

.language-visual {
    grid-area: visual;
    width: 100%;
    min-height: 430px;
    margin: 0;
}

.language-cloud {
    grid-area: cloud;
    width: 100%;
    min-height: 150px;
    padding: 24px 28px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 9px;
}

/* Make the section number / supporting text use the Frozen accent,
   not the old purple/black palette. */
.language-section .section-number {
    color: var(--frozen) !important;
}

/* Reference and usage copy must stay readable against their dark/light
   two-tone backgrounds. */
.reference-section .section-intro > p,
.reference-section .ref-panel > p,
.reference-section .compact-copy {
    color: rgba(255,255,255,.76) !important;
}

@media (max-width: 1050px) {
    .product-dropdown .product-menu {
        width: min(700px, calc(100vw - 36px));
        min-width: 0;
    }

    .feature-heading {
        grid-template-columns: 1fr;
        gap: 42px;
    }

        .feature-heading > div:first-child,
        .quickstart-copy {
            grid-column: 1;
            grid-row: auto;
        }

        .feature-heading > div:first-child {
            order: 1;
        }

    .quickstart-copy {
        order: 2;
    }

        .quickstart-copy > p {
            margin-top: 0;
        }

    .language-section {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "number heading"
            "number visual"
            "number cloud";
    }
}

@media (max-width: 760px) {
    .product-dropdown .product-menu {
        width: min(520px, calc(100vw - 24px));
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-menu-enterprise {
        padding-left: 12px;
        border-left: 0;
        border-top: 1px solid rgba(160,189,219,.16);
        padding-top: 20px;
    }

    .language-section {
        grid-template-columns: 1fr;
        grid-template-areas:
            "number"
            "heading"
            "visual"
            "cloud";
        row-gap: 34px;
        min-height: 0;
    }

        .language-section > .section-number {
            padding-top: 0;
        }

    .language-visual {
        min-height: 340px;
    }
}


/* ================================================================
   FINAL COMPOSITION FIX — SECTIONS 02 + 03
   ================================================================ */

/* ---------- SECTION 02 / QUICK START ---------- */
.feature-section {
    position: relative;
    overflow: hidden;
    padding: 112px 70px 82px;
    border-radius: 28px;
    background: radial-gradient(circle at 16% 42%, rgba(160,189,219,.16), transparent 26%), radial-gradient(circle at 86% 78%, rgba(160,189,219,.13), transparent 28%), linear-gradient(135deg, #080813 0%, #0d0e1d 56%, #1a1c2d 100%);
}

    .feature-section::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(rgba(160,189,219,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(160,189,219,.035) 1px, transparent 1px);
        background-size: 54px 54px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 92%);
    }

    .feature-section > * {
        position: relative;
        z-index: 1;
    }

.feature-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "visual heading"
        "visual copy";
    column-gap: 92px;
    row-gap: 24px;
    align-items: center;
    margin-bottom: 64px;
}

    .feature-heading > div:first-child {
        grid-area: heading;
        padding: 0;
        align-self: end;
    }

    .feature-heading .section-number {
        color: var(--frozen) !important;
        margin-bottom: 24px;
    }

    .feature-heading h2 {
        color: #fff !important;
        font-size: clamp(56px, 6.2vw, 94px);
        line-height: .88;
        max-width: 650px;
    }

        .feature-heading h2 em {
            color: var(--frozen) !important;
        }

.quickstart-copy {
    display: contents;
}

    .quickstart-copy > p {
        grid-area: copy;
        align-self: start;
        margin: 0;
        max-width: 600px;
        color: rgba(255,255,255,.72) !important;
        font-size: 15px;
        line-height: 1.8;
    }

.quickstart-visual {
    grid-area: visual;
    width: 100%;
    height: 360px;
    margin: 0;
    align-self: center;
    border-radius: 24px;
    background: radial-gradient(circle at 55% 48%, rgba(160,189,219,.12), transparent 35%), linear-gradient(145deg, rgba(160,189,219,.10), rgba(8,8,19,.76));
    border: 1px solid rgba(160,189,219,.22);
}

.quickstart-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 18px;
    margin-top: 0;
}

    .quickstart-layout .step-list {
        gap: 8px;
    }

    .quickstart-layout .step {
        min-height: 104px;
        padding: 20px 18px;
        border-radius: 14px;
        border-color: rgba(160,189,219,.20);
        background: rgba(8,8,19,.38);
        color: #fff;
    }

        .quickstart-layout .step.active,
        .quickstart-layout .step:hover {
            background: var(--frozen);
            color: var(--black-iris);
            border-color: var(--frozen);
        }

            .quickstart-layout .step.active small,
            .quickstart-layout .step:hover small {
                color: rgba(8,8,19,.68);
            }

        .quickstart-layout .step > span {
            color: var(--frozen);
        }

        .quickstart-layout .step.active > span,
        .quickstart-layout .step:hover > span {
            color: var(--black-iris);
        }

.code-window {
    min-height: 330px;
    border-radius: 18px;
    border-color: rgba(160,189,219,.18);
    background: #05070b;
}

/* ---------- SECTION 03 / API REFERENCE ---------- */
.reference-section {
    position: relative;
    overflow: hidden;
    padding: 112px 70px 82px;
    border-radius: 28px;
    background: radial-gradient(circle at 82% 18%, rgba(160,189,219,.14), transparent 26%), linear-gradient(135deg, #080813 0%, #0d0e1d 62%, #1b1e2e 100%);
    color: #fff;
}

    .reference-section::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(rgba(160,189,219,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(160,189,219,.028) 1px, transparent 1px);
        background-size: 54px 54px;
    }

    .reference-section > * {
        position: relative;
        z-index: 1;
    }

    .reference-section .section-intro {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
        align-items: end;
        margin-bottom: 52px;
    }

    .reference-section .section-number {
        color: var(--frozen) !important;
    }

    .reference-section h2 {
        color: #fff !important;
        font-size: clamp(52px, 5.8vw, 86px);
    }

        .reference-section h2 em {
            color: var(--frozen) !important;
        }

    .reference-section .section-intro > p {
        color: rgba(255,255,255,.68) !important;
        font-size: 15px;
        line-height: 1.75;
    }

.reference-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 720px;
    border: 1px solid rgba(160,189,219,.24);
    border-radius: 22px;
    overflow: hidden;
    background: #f3f3f0;
    box-shadow: 0 25px 80px rgba(0,0,0,.28);
}

.reference-nav {
    padding: 26px 18px;
    background: #deded9;
    border-right: 1px solid #c9c9c3;
}

.ref-tab {
    min-height: 72px;
    padding: 17px 14px;
    border-bottom: 1px solid #c4c4bf;
    color: #0a0b0d;
}

    .ref-tab.active {
        background: #080813;
        color: #fff;
        border-radius: 11px;
        border-bottom-color: #080813;
    }

        .ref-tab.active span {
            color: var(--frozen);
        }

.reference-content {
    min-width: 0;
    padding: 56px 58px 64px;
    background: #f7f7f4;
    color: #0a0b0d;
}

.endpoint-row {
    margin-bottom: 32px;
}

    .endpoint-row code {
        color: #5f646b;
    }

.ref-panel h3 {
    color: #0a0b0d;
    font-size: clamp(42px, 4vw, 62px);
    line-height: .94;
    margin-bottom: 18px;
}

.ref-panel > p {
    color: #666a70 !important;
    max-width: 760px;
}

.info-grid {
    margin: 38px 0 42px;
    border-color: #d7d7d2;
}

    .info-grid > div {
        border-color: #d7d7d2;
    }

    .info-grid span,
    .ref-panel h4 {
        color: #73777d;
    }

    .info-grid strong {
        color: #0a0b0d;
    }

.ref-panel h4 {
    margin-top: 36px;
}

.small-code {
    border-radius: 16px;
    background: #080a0e;
    color: #e6eaf0;
    border: 1px solid #1d2430;
}

.tag-list span,
.format-row span {
    color: #50555c;
    border-color: #d1d1cc;
    background: #fff;
}

/* ---------- MOBILE: keep the editorial order intact ---------- */
@media (max-width: 900px) {
    .feature-section,
    .reference-section {
        width: min(calc(100% - 24px), var(--max));
        padding: 76px 22px 58px;
        border-radius: 20px;
    }

    .feature-heading {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "copy"
            "visual";
        gap: 24px;
        margin-bottom: 44px;
    }

        .feature-heading h2 {
            font-size: clamp(50px, 13vw, 78px);
        }

    .quickstart-copy > p {
        max-width: 650px;
    }

    .quickstart-visual {
        height: 280px;
    }

    .quickstart-layout {
        grid-template-columns: 1fr;
    }

    .reference-section .section-intro {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 38px;
    }

    .reference-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .reference-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid #c9c9c3;
    }

    .ref-tab {
        min-height: 58px;
        border-bottom: 0;
        border-radius: 10px;
        font-size: 11px;
    }

    .reference-content {
        padding: 34px 24px 42px;
    }

    .ref-panel h3 {
        font-size: 42px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .reference-nav {
        grid-template-columns: 1fr;
    }

    .ref-tab {
        grid-template-columns: 32px 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

        .info-grid > div,
        .info-grid > div:last-child {
            border-right: 0;
            border-bottom: 1px solid #d7d7d2;
            padding: 15px 0;
        }

            .info-grid > div:last-child {
                border-bottom: 0;
            }
}

/* ---------- SECTION 02 FINAL ORDER FIX ----------
   Keep the developer graphic on the left and place the editorial
   heading BEFORE its description on the right. This intentionally
   avoids display: contents/grid-area interactions from earlier rules. */
.feature-section .feature-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas: "visual copy" !important;
    gap: 92px !important;
    align-items: center !important;
    margin-bottom: 64px !important;
}

    .feature-section .feature-heading > .quickstart-visual {
        grid-area: visual !important;
        width: 100% !important;
        margin: 0 !important;
        align-self: center !important;
    }

.feature-heading-copy {
    grid-area: copy !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

    .feature-heading-copy .section-number {
        margin-bottom: 22px;
        color: var(--frozen) !important;
    }

    .feature-heading-copy h2 {
        margin: 0;
        color: #fff !important;
        font-size: clamp(56px, 6.2vw, 94px);
        line-height: .88;
        letter-spacing: -.065em;
        max-width: 650px;
    }

        .feature-heading-copy h2 em {
            color: var(--frozen) !important;
            font-style: normal;
        }

    .feature-heading-copy p {
        margin: 34px 0 0;
        max-width: 560px;
        color: rgba(255,255,255,.76) !important;
        font-size: 15px;
        line-height: 1.8;
    }

@media (max-width: 900px) {
    .feature-section .feature-heading {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "copy"
            "visual" !important;
        gap: 34px !important;
    }

    .feature-heading-copy h2 {
        font-size: clamp(50px, 13vw, 78px);
    }

    .feature-heading-copy p {
        margin-top: 24px;
    }
}




/* =========================================================
   SHIVI — PERSISTENT AI ASSISTANT
   ========================================================= */
#shivi-assistant-root {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 2147483000;
    font-family: "DM Sans",sans-serif;
    pointer-events: none;
}

#shivi-bubble {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(105,220,255,.42);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%,#ffffff 0 5%,#9befff 6% 13%,transparent 14%), radial-gradient(circle at 58% 58%,rgba(154,92,255,.7),rgba(6,13,23,.96) 62%);
    box-shadow: 0 0 0 6px rgba(105,220,255,.035), 0 0 34px rgba(105,220,255,.20), 0 12px 35px rgba(0,0,0,.45);
    cursor: pointer !important;
    pointer-events: auto;
    display: grid;
    place-items: center;
    transition: transform .25s ease,box-shadow .25s ease;
    animation: shiviBreath 3.2s ease-in-out infinite;
}

    #shivi-bubble:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 0 0 7px rgba(105,220,255,.05),0 0 42px rgba(154,92,255,.28),0 14px 38px rgba(0,0,0,.5);
    }

.shivi-face {
    position: relative;
    width: 44px;
    height: 40px;
    border-radius: 46% 46% 44% 44%;
    background: linear-gradient(145deg,#f4f7ff,#a9eaff 55%,#8d69ff);
    box-shadow: inset 0 -6px 10px rgba(70,70,180,.18);
}

    .shivi-face:before,
    .shivi-face:after {
        content: "";
        position: absolute;
        top: 14px;
        width: 5px;
        height: 7px;
        border-radius: 50%;
        background: #07101c;
    }

    .shivi-face:before {
        left: 11px
    }

    .shivi-face:after {
        right: 11px
    }

.shivi-mouth {
    position: absolute;
    left: 17px;
    bottom: 8px;
    width: 10px;
    height: 5px;
    border-bottom: 2px solid #07101c;
    border-radius: 0 0 10px 10px;
}

.shivi-wave {
    position: absolute;
    right: -3px;
    top: -10px;
    font-size: 22px;
    transform-origin: bottom left;
    animation: shiviWave 2.8s ease-in-out infinite;
}

.shivi-status-dot {
    position: absolute;
    right: 2px;
    bottom: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid #050911;
    border-radius: 50%;
    background: #39d4a5;
    box-shadow: 0 0 12px rgba(57,212,165,.65);
}

#shivi-teaser {
    position: absolute;
    right: 4px;
    bottom: 84px;
    width: 225px;
    padding: 11px 13px;
    border: 1px solid rgba(105,220,255,.22);
    border-radius: 12px 12px 4px 12px;
    background: rgba(6,12,20,.94);
    color: #dfe8f3;
    font-size: 11px;
    line-height: 1.5;
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(8px) scale(.96);
    pointer-events: none;
    transition: .3s ease;
}

    #shivi-teaser.show {
        opacity: 1;
        transform: none;
    }

    #shivi-teaser strong {
        color: #69dcff
    }

/* Chat */
#shivi-chat {
    position: absolute;
    right: 0;
    bottom: 88px;
    width: min(365px,calc(100vw - 32px));
    height: min(530px,calc(100vh - 120px));
    min-height: 420px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(105,220,255,.24);
    border-radius: 16px;
    background: radial-gradient(circle at 100% 0,rgba(154,92,255,.10),transparent 35%), linear-gradient(145deg,rgba(8,15,25,.98),rgba(4,8,14,.98));
    box-shadow: 0 28px 90px rgba(0,0,0,.65),0 0 35px rgba(105,220,255,.08);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.97);
    transform-origin: bottom right;
    transition: .25s ease;
    pointer-events: none;
}

    #shivi-chat.open {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

.shivi-chat-header {
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.shivi-mini {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,#bff4ff,#8c6aff);
    color: #07101c;
    font-size: 18px;
    box-shadow: 0 0 18px rgba(105,220,255,.16);
}

.shivi-chat-title {
    flex: 1
}

    .shivi-chat-title strong {
        display: block;
        font-size: 12px;
        color: #f3f6fb
    }

    .shivi-chat-title span {
        display: block;
        margin-top: 2px;
        color: #69788c;
        font-size: 7px;
        letter-spacing: .12em
    }

.shivi-close {
    border: 0;
    background: transparent;
    color: #78879a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer !important;
}

    .shivi-close:hover {
        color: #fff
    }

#shivi-chat-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px;
    scrollbar-width: thin;
}

.shivi-msg {
    max-width: 88%;
    padding: 10px 12px;
    margin: 0 0 10px;
    border-radius: 11px 11px 11px 3px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.07);
    color: #c9d3df;
    font-size: 10px;
    line-height: 1.55;
}

    .shivi-msg.user {
        margin-left: auto;
        border-radius: 11px 11px 3px 11px;
        background: rgba(105,220,255,.10);
        border-color: rgba(105,220,255,.13);
        color: #e8f8ff;
    }

#shivi-intake {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.shivi-field {
    display: block;
    margin-bottom: 9px
}

    .shivi-field span {
        display: block;
        margin-bottom: 5px;
        color: #78879a;
        font-size: 7px;
        letter-spacing: .13em;
        text-transform: uppercase;
    }

    .shivi-field input {
        width: 100%;
        height: 36px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 7px;
        background: #050a12;
        color: #f5f7fb;
        padding: 0 10px;
        outline: none;
        font-size: 10px;
    }

.shivi-phone {
    display: flex;
    gap: 6px
}

    .shivi-phone .code {
        width: 51px;
        flex: 0 0 51px;
        text-align: center;
        color: #69dcff;
    }

    .shivi-phone input:last-child {
        flex: 1
    }

#shivi-start {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(90deg,#69dcff,#9a5cff);
    color: #061019;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    cursor: pointer !important;
}

    #shivi-start:disabled {
        opacity: .55
    }

#shivi-conversation {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
}

    #shivi-conversation.active {
        display: flex
    }

#shivi-intake.hidden {
    display: none
}

#shivi-messages {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px;
    scrollbar-width: thin;
}

#shivi-composer {
    display: flex;
    gap: 7px;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,.07);
}

#shivi-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 7px;
    background: #050a12;
    color: #fff;
    padding: 0 10px;
    outline: none;
    font-size: 10px;
}

#shivi-send {
    width: 54px;
    border: 0;
    border-radius: 7px;
    background: #69dcff;
    color: #061019;
    font-weight: 900;
    cursor: pointer !important;
}

.shivi-typing {
    display: inline-flex;
    gap: 3px;
    padding: 11px 12px;
    background: rgba(255,255,255,.055);
    border-radius: 11px;
}

    .shivi-typing i {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #69dcff;
        animation: shiviDots 1s infinite ease-in-out;
    }

        .shivi-typing i:nth-child(2) {
            animation-delay: .15s
        }

        .shivi-typing i:nth-child(3) {
            animation-delay: .3s
        }

@keyframes shiviBreath {
    0%,100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-3px) scale(1.025)
    }
}

@keyframes shiviWave {
    0%,72%,100% {
        transform: rotate(0deg)
    }

    78% {
        transform: rotate(18deg)
    }

    84% {
        transform: rotate(-14deg)
    }

    90% {
        transform: rotate(13deg)
    }
}

@keyframes shiviDots {
    0%,100% {
        opacity: .25;
        transform: translateY(0)
    }

    50% {
        opacity: 1;
        transform: translateY(-2px)
    }
}

@media(max-width:600px) {
    #shivi-assistant-root {
        right: 14px;
        bottom: 14px
    }

    #shivi-bubble {
        width: 62px;
        height: 62px
    }

    #shivi-chat {
        right: -4px;
        bottom: 76px;
        width: calc(100vw - 28px);
        height: min(520px,calc(100vh - 100px))
    }

    #shivi-teaser {
        right: 0;
        bottom: 74px;
        width: 195px
    }
}

html, body, body * {
    cursor: auto !important;
}

a, button, [role="button"] {
    cursor: pointer !important
}

input, textarea, select {
    cursor: text !important
}

#shivi-assistant-root, #shivi-assistant-root * {
    cursor: auto !important
}

#shivi-bubble, #shivi-close, #shivi-start, #shivi-send {
    cursor: pointer !important
}

/* API page visibility for the copied Shivi launcher */
#shivi-assistant-root {
    display: block !important;
}

/* API reference text visibility */
.reference-section .ref-panel > p,
.reference-section .compact-copy {
    color: #666a70 !important;
}

.reference-section .section-intro > p {
    color: #626a73 !important;
}

.reference-section .info-grid span,
.reference-section .ref-panel h4 {
    color: #73777d !important;
}

.reference-section .info-grid strong {
    color: #0a0b0d !important;
}


/* API: isolated Shivi launcher */
body > #shiviWrap,
.shivi-wrap#shiviWrap {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 2147483000 !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

    .shivi-wrap#shiviWrap > .shivi-chat,
    .shivi-wrap#shiviWrap > .shivi-icon,
    .shivi-wrap#shiviWrap > .shivi-pop {
        pointer-events: auto;
    }

    .shivi-wrap#shiviWrap .shivi-icon {
        display: grid !important;
    }

@media (max-width: 600px) {
    body > #shiviWrap,
    .shivi-wrap#shiviWrap {
        right: 14px !important;
        bottom: 14px !important;
    }
}

/* =========================================================
   ARIA FOOTER — scoped styles for _Footer.cshtml
   ========================================================= */
.aria-footer {
    position: relative;
    margin: 0 auto;
    width: min(calc(100% - 32px), 1420px);
    padding: 72px 48px 28px;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
    background: radial-gradient(circle at 88% 8%, rgba(102,117,255,.18), transparent 32%), radial-gradient(circle at 60% 100%, rgba(89,217,255,.06), transparent 36%), linear-gradient(145deg, #0b0d16 0%, #111522 58%, #151b2d 100%);
    color: #e8edf5;
    isolation: isolate;
}

.aria-footer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 90% 40%, rgba(102,117,255,.12), transparent 28%), linear-gradient(180deg, transparent 0%, rgba(0,0,0,.14) 100%);
}

.aria-footer-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .85fr) minmax(260px, 1fr);
    gap: 64px;
    max-width: 100%;
}

.aria-footer-brand {
    min-width: 0;
}

.aria-footer-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 28px;
}

    .aria-footer-logo img {
        display: block;
        width: 145px;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

.aria-footer-description {
    max-width: 590px;
    margin: 0 0 22px;
    color: rgba(232,237,245,.70);
    font-size: 14px;
    line-height: 1.8;
}

.aria-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 30px;
}

    .aria-footer-links a {
        color: #f1f4fa;
        font-size: 14px;
        font-weight: 700;
        transition: opacity .2s ease, transform .2s ease;
    }

        .aria-footer-links a:hover {
            opacity: .72;
            transform: translateY(-1px);
        }

        .aria-footer-links a span,
        .aria-footer-column li i {
            color: #9bb6d8;
            font-style: normal;
            margin-left: 5px;
        }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        display: inline-grid;
        place-items: center;
        border: 1px solid rgba(155,182,216,.25);
        border-radius: 50%;
        color: #a9bdd7;
        background: rgba(255,255,255,.025);
        transition: .2s ease;
    }

        .social-links a:hover {
            color: #fff;
            border-color: rgba(155,182,216,.55);
            background: rgba(155,182,216,.08);
            transform: translateY(-2px);
        }

.aria-footer-column {
    min-width: 0;
}

.aria-footer-label {
    display: block;
    margin-bottom: 24px;
    color: #9db8da;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aria-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aria-footer-column li {
    margin: 0 0 17px;
}

    .aria-footer-column li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        color: rgba(239,243,249,.78);
        font-size: 14px;
        line-height: 1.45;
        transition: color .2s ease;
    }

        .aria-footer-column li a:hover {
            color: #fff;
        }

    .aria-footer-column li i {
        margin-left: auto;
        flex: 0 0 auto;
        font-size: 12px;
    }

.aria-footer-bottom {
    margin-top: 54px;
}

.aria-footer-line {
    width: 100%;
    height: 1px;
    background: rgba(155,182,216,.18);
}

.aria-footer-bottom-content {
    padding-top: 22px;
}

    .aria-footer-bottom-content p {
        margin: 0;
        color: rgba(232,237,245,.52);
        font-size: 12px;
    }

@media (max-width: 900px) {
    .aria-footer {
        width: min(calc(100% - 20px), 1420px);
        padding: 54px 28px 24px;
    }

    .aria-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 42px 32px;
    }

    .aria-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .aria-footer {
        width: calc(100% - 16px);
        padding: 44px 20px 22px;
        border-radius: 20px 20px 0 0;
    }

    .aria-footer-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .aria-footer-brand {
        grid-column: auto;
    }

    .aria-footer-logo img {
        width: 125px;
    }
}


/* =========================================================
   FINAL MOBILE RESPONSIVE SYSTEM
   API PAGE + MOBILE HEADER
   This block is intentionally placed at the end so it safely
   overrides earlier responsive rules in this stylesheet.
========================================================= */

/* Mobile hamburger - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 1px solid rgba(160, 189, 219, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
}

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: transform .22s ease, opacity .22s ease;
    }


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        -webkit-text-size-adjust: 100%;
    }

    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .site-header {
        position: sticky !important;
        top: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
        min-height: 62px !important;
        height: 62px !important;
        margin: 10px auto 0 !important;
        padding: 0 12px 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        grid-template-columns: none !important;
        border-radius: 18px !important;
        z-index: 5000 !important;
    }

        .site-header .brand {
            min-width: 0;
            flex: 1 1 auto;
            display: flex !important;
            align-items: center !important;
        }

            .site-header .brand img,
            .brand img {
                width: 94px !important;
                max-width: 100%;
                height: auto;
                display: block;
            }

        /* Keep desktop CTA out of the closed mobile header */
        .site-header > .header-cta {
            display: none !important;
        }

    /* Hamburger */
    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* -----------------------------------------
       MOBILE NAV PANEL
    ----------------------------------------- */

    .site-header .main-nav {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 90px) !important;
        margin: 0 !important;
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid rgba(160, 189, 219, .20) !important;
        border-radius: 18px !important;
        background: rgba(5, 7, 15, .98) !important;
        box-shadow: 0 25px 70px rgba(0, 0, 0, .55), 0 0 45px rgba(102, 117, 255, .10) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
        z-index: 5001 !important;
    }

    .site-header.menu-open .main-nav {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }


    /* -----------------------------------------
       NORMAL NAV LINKS
    ----------------------------------------- */

    .site-header .main-nav > a,
    .site-header .main-nav > .nav-link {
        display: flex !important;
        width: 100% !important;
        min-height: 46px !important;
        height: auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 11px 13px !important;
        margin: 0 !important;
        border-radius: 9px !important;
        color: rgba(244, 247, 252, .88) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        letter-spacing: .01em !important;
    }

        .site-header .main-nav > a:hover,
        .site-header .main-nav > .nav-link:hover {
            background: rgba(160, 189, 219, .08) !important;
            color: #ffffff !important;
        }


        /* Remove desktop underline animation in mobile menu */
        .site-header .main-nav > a::after,
        .site-header .main-nav .nav-dropdown-trigger::after {
            display: none !important;
        }


    /* -----------------------------------------
       DROPDOWN WRAPPERS
    ----------------------------------------- */

    .site-header .main-nav .nav-dropdown {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }

    .site-header .main-nav .nav-dropdown-trigger {
        display: flex !important;
        width: 100% !important;
        min-height: 46px !important;
        height: auto !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 11px 13px !important;
        margin: 0 !important;
        border-radius: 9px !important;
        color: rgba(244, 247, 252, .88) !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       DROPDOWN MENUS
    ----------------------------------------- */

    .site-header .main-nav .nav-dropdown-menu {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 5px 0 6px !important;
        padding: 8px !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        overflow: visible !important;
        border: 1px solid rgba(160, 189, 219, .16) !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, .025) !important;
        box-shadow: none !important;
    }

    /* JS adds .is-open */
    .site-header .main-nav .nav-dropdown.is-open > .nav-dropdown-menu {
        display: block !important;
    }


    /* -----------------------------------------
       PRODUCT MENU
    ----------------------------------------- */

    .site-header .main-nav .product-dropdown .product-menu {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: none !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin: 5px 0 6px !important;
        padding: 8px !important;
        position: static !important;
        transform: none !important;
    }

    .site-header .main-nav .product-dropdown.is-open .product-menu {
        display: grid !important;
    }

    .site-header .main-nav .product-menu-column {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 3px 0 8px !important;
        border: 0 !important;
    }

        .site-header .main-nav .product-menu-column + .product-menu-column {
            margin-top: 7px !important;
            padding-top: 12px !important;
            border-top: 1px solid rgba(160, 189, 219, .14) !important;
            border-left: 0 !important;
        }

    .site-header .main-nav .product-menu-title {
        margin: 3px 8px 8px !important;
        color: var(--frozen) !important;
        font-size: 8px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        letter-spacing: .16em !important;
    }

    .site-header .main-nav .product-menu a {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 9px 10px !important;
        margin: 1px 0 !important;
        border-radius: 8px !important;
        color: #eef2f7 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

        .site-header .main-nav .product-menu a strong {
            font-size: 12px !important;
            font-weight: 700 !important;
            line-height: 1.25 !important;
        }

        .site-header .main-nav .product-menu a small {
            margin-top: 2px !important;
            color: #7f8da4 !important;
            font-size: 9px !important;
            line-height: 1.3 !important;
        }

        .site-header .main-nav .product-menu a:hover {
            background: rgba(160, 189, 219, .08) !important;
            color: var(--frozen) !important;
        }


    /* -----------------------------------------
       LOGIN
    ----------------------------------------- */

    .site-header .main-nav .login-menu {
        width: 100% !important;
        min-width: 0 !important;
        padding: 7px !important;
    }

        .site-header .main-nav .login-menu a {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            width: 100% !important;
            padding: 10px 11px !important;
            margin: 0 !important;
            color: #f4f7fb !important;
            font-size: 12px !important;
            border-radius: 8px !important;
        }

            .site-header .main-nav .login-menu a + a {
                margin-top: 4px !important;
            }


    /* -----------------------------------------
       CTA INSIDE NAV
       Optional: if you move/duplicate header-cta
       into .main-nav later, it will automatically work.
    ----------------------------------------- */

    .site-header .main-nav .header-cta {
        display: flex !important;
        width: 100% !important;
        min-height: 46px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 6px 0 0 !important;
        padding: 11px 14px !important;
        border-radius: 999px !important;
    }


    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .hero {
        width: calc(100% - 20px) !important;
        max-width: none !important;
        min-height: auto !important;
        margin: 12px auto 0 !important;
        padding: 78px 24px 46px !important;
        grid-template-columns: 1fr !important;
        border-radius: 20px !important;
    }

    .hero-copy {
        width: 100%;
        min-width: 0;
    }

    .eyebrow {
        margin-bottom: 20px !important;
        font-size: 8px !important;
        line-height: 1.5 !important;
        letter-spacing: .13em !important;
    }

    .hero h1 {
        max-width: 100% !important;
        font-size: clamp(52px, 16vw, 82px) !important;
        line-height: .86 !important;
        letter-spacing: -.065em !important;
        overflow-wrap: anywhere;
    }

    .hero-lede {
        max-width: 100% !important;
        margin-top: 26px !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .hero-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-top: 25px !important;
    }

        .hero-actions .button {
            width: 100% !important;
            min-height: 48px !important;
            padding: 0 13px !important;
            gap: 9px !important;
            font-size: 10px !important;
        }

    .hero-meta {
        margin-top: 34px !important;
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        gap: 8px 12px !important;
        font-size: 8px !important;
        line-height: 1.3 !important;
    }

        .hero-meta strong {
            min-width: 0 !important;
            font-size: 10px !important;
            overflow-wrap: anywhere !important;
        }

            .hero-meta strong + span {
                margin-left: 0 !important;
            }


    /* -----------------------------------------
       HERO ART
    ----------------------------------------- */

    .hero-art {
        width: 100% !important;
        height: 330px !important;
        margin-top: 24px !important;
        overflow: hidden !important;
        transform: none !important;
    }

    .developer-scene {
        width: 520px !important;
        max-width: none !important;
        transform: scale(.72) !important;
        transform-origin: center center !important;
    }

    .orbit-one {
        width: 190px !important;
        height: 190px !important;
    }

    .orbit-two {
        width: 285px !important;
        height: 285px !important;
    }

    .orbit-three {
        width: 385px !important;
        height: 385px !important;
    }

    .core {
        width: 110px !important;
        height: 110px !important;
    }

        .core strong {
            font-size: 15px !important;
        }

    .floating-chip {
        padding: 8px 10px !important;
        font-size: 8px !important;
    }

    .chip-tts {
        right: 5% !important;
    }

    .chip-asr {
        left: 4% !important;
    }

    .chip-llm {
        right: -2% !important;
    }


    /* -----------------------------------------
       MARQUEE
    ----------------------------------------- */

    .marquee-strip {
        width: calc(100% - 20px) !important;
        margin: 12px auto 0 !important;
    }

    .marquee-track {
        gap: 20px !important;
        padding: 12px 0 !important;
        font-size: 8px !important;
        letter-spacing: .10em !important;
        animation-duration: 20s !important;
    }


    /* -----------------------------------------
       COMMON SECTIONS
    ----------------------------------------- */

    .section,
    .feature-section,
    .reference-section,
    .language-section,
    .usage-section,
    .developer-cta {
        width: calc(100% - 20px) !important;
        max-width: none !important;
    }

    .section {
        padding: 78px 0 72px !important;
    }

    .feature-section,
    .reference-section,
    .language-section,
    .usage-section {
        margin-top: 14px !important;
        padding: 76px 20px 58px !important;
        border-radius: 20px !important;
    }

        .section-intro,
        .feature-heading,
        .reference-section .section-intro {
            grid-template-columns: 1fr !important;
            grid-template-areas: none !important;
            gap: 22px !important;
            margin-bottom: 38px !important;
        }

    .section-number {
        margin-bottom: 13px !important;
        font-size: 9px !important;
    }

    .section h2,
    .feature-heading h2,
    .language-heading h2,
    .usage-section h2,
    .developer-cta h2,
    .reference-section h2 {
        font-size: clamp(42px, 12.5vw, 76px) !important;
        line-height: .9 !important;
        letter-spacing: -.06em !important;
    }

    .section-intro > p,
    .feature-heading > p,
    .language-heading p,
    .usage-section .section-intro p,
    .reference-section .section-intro > p {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
    }


    /* -----------------------------------------
       SECTION 01 API CARDS
    ----------------------------------------- */

    .api-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .api-card {
        min-height: 0 !important;
        padding: 22px !important;
        border-radius: 15px !important;
    }

    .api-symbol {
        width: 58px !important;
        height: 58px !important;
        margin: 34px 0 24px !important;
        border-radius: 14px !important;
    }

    .api-card h3 {
        font-size: 29px !important;
    }

    .api-card p {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .api-card > code {
        margin-top: 24px !important;
        padding: 11px 12px !important;
        font-size: 9px !important;
        overflow-x: auto !important;
        overflow-wrap: anywhere !important;
    }

    .text-link {
        margin-top: 16px !important;
        font-size: 11px !important;
    }


    /* -----------------------------------------
       SECTION 02 QUICK START
    ----------------------------------------- */

    .feature-heading {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "copy"
            "visual" !important;
        gap: 28px !important;
        align-items: start !important;
    }

        .feature-heading > div:first-child,
        .feature-heading-copy {
            grid-area: copy !important;
            grid-column: auto !important;
            grid-row: auto !important;
        }

        .feature-heading .quickstart-visual,
        .quickstart-visual {
            grid-area: visual !important;
            width: 100% !important;
            height: 250px !important;
            min-height: 250px !important;
            margin: 0 !important;
            transform: none !important;
        }

    .quickstart-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .step-list {
        gap: 7px !important;
    }

    .step,
    .quickstart-layout .step {
        min-height: 0 !important;
        padding: 15px !important;
        grid-template-columns: 32px 1fr !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

        .step > span {
            font-size: 9px !important;
        }

        .step strong {
            font-size: 12px !important;
        }

        .step small {
            font-size: 9px !important;
            line-height: 1.5 !important;
        }

    .code-window {
        width: 100% !important;
        min-height: 0 !important;
        border-radius: 15px !important;
    }

    .code-toolbar {
        min-height: 44px !important;
        padding: 0 12px !important;
    }

    .copy-button {
        padding: 5px 8px !important;
        font-size: 9px !important;
    }

    .code-window pre {
        padding: 20px !important;
        font-size: 10px !important;
        line-height: 1.65 !important;
        white-space: pre !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }


    /* -----------------------------------------
       SECTION 03 API REFERENCE
    ----------------------------------------- */

    .reference-shell {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
        border-radius: 16px !important;
    }

    .reference-nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        padding: 10px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #c9c9c3 !important;
    }

    .ref-tab {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 12px !important;
        grid-template-columns: 30px 1fr !important;
        gap: 9px !important;
        border: 0 !important;
        border-radius: 9px !important;
        font-size: 10px !important;
    }

    .reference-content {
        width: 100% !important;
        min-width: 0 !important;
        padding: 28px 18px 34px !important;
    }

    .endpoint-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

        .endpoint-row code {
            width: 100% !important;
            font-size: 10px !important;
            line-height: 1.5 !important;
            word-break: break-all !important;
            overflow-wrap: anywhere !important;
        }

    .ref-panel h3 {
        font-size: clamp(30px, 9vw, 48px) !important;
        line-height: .94 !important;
    }

    .ref-panel > p {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
        margin: 28px 0 32px !important;
    }

        .info-grid > div,
        .info-grid > div:last-child {
            border-right: 0 !important;
            border-bottom: 1px solid #d7d7d2 !important;
            padding: 14px 0 !important;
        }

            .info-grid > div:last-child {
                border-bottom: 0 !important;
            }

        .info-grid strong {
            font-size: 11px !important;
        }

    .ref-panel h4 {
        margin: 26px 0 10px !important;
        font-size: 10px !important;
    }

    .small-code {
        width: 100% !important;
        padding: 17px !important;
        border-radius: 12px !important;
        font-size: 10px !important;
        line-height: 1.6 !important;
        white-space: pre !important;
        overflow-x: auto !important;
    }

    .tag-list {
        gap: 5px !important;
    }

        .tag-list span,
        .format-row span {
            padding: 7px 9px !important;
            font-size: 9px !important;
        }

    .format-row {
        flex-wrap: wrap !important;
    }

    .parameter-list div,
    .role-grid div {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 12px !important;
    }

    .parameter-list b,
    .role-grid b {
        min-width: 0 !important;
        font-size: 11px !important;
    }

    .parameter-list span,
    .role-grid span {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }


    /* -----------------------------------------
       SECTION 04 LANGUAGE
    ----------------------------------------- */

    .language-section {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "number"
            "heading"
            "visual"
            "cloud" !important;
        row-gap: 28px !important;
        min-height: 0 !important;
    }

        .language-section > .section-number {
            grid-area: number !important;
            padding-top: 0 !important;
        }

    .language-heading {
        grid-area: heading !important;
        width: 100% !important;
        max-width: none !important;
    }

        .language-heading h2 {
            max-width: 100% !important;
        }

        .language-heading p {
            margin-top: 18px !important;
        }

    .language-visual {
        grid-area: visual !important;
        width: 100% !important;
        min-height: 280px !important;
        height: 280px !important;
        border-radius: 18px !important;
    }

    .language-core {
        width: 108px !important;
        height: 108px !important;
    }

        .language-core strong {
            font-size: 23px !important;
        }

    .language-ring-a {
        width: 175px !important;
        height: 175px !important;
    }

    .language-ring-b {
        width: 250px !important;
        height: 250px !important;
    }

    .lang-chip {
        padding: 6px 8px !important;
        font-size: 7px !important;
    }

    .lang-chip-1 {
        top: 7% !important;
        left: 4% !important;
    }

    .lang-chip-2 {
        top: 10% !important;
        right: 4% !important;
    }

    .lang-chip-3 {
        bottom: 8% !important;
        left: 4% !important;
    }

    .lang-chip-4 {
        bottom: 7% !important;
        right: 4% !important;
    }

    .lang-chip-5 {
        top: 45% !important;
        right: 1% !important;
    }

    .language-cloud {
        grid-area: cloud !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 15px !important;
        gap: 6px !important;
        border-radius: 15px !important;
    }

        .language-cloud span {
            padding: 8px 9px !important;
            font-size: 9px !important;
            line-height: 1.25 !important;
        }


    /* -----------------------------------------
       SECTION 05 USAGE
    ----------------------------------------- */

    .usage-section {
        padding-bottom: 52px !important;
    }

        .usage-section .section-intro {
            margin-bottom: 30px !important;
        }

    .usage-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

        .usage-grid article {
            min-height: 0 !important;
            padding: 18px !important;
            border-radius: 13px !important;
        }

            .usage-grid article > span {
                font-size: 8px !important;
            }

        .usage-grid h3 {
            margin-top: 28px !important;
            font-size: 24px !important;
        }

        .usage-grid p {
            margin-top: 4px !important;
            font-size: 11px !important;
            line-height: 1.45 !important;
        }

        .usage-grid small {
            margin-top: 22px !important;
            font-size: 8px !important;
            line-height: 1.4 !important;
        }


    /* -----------------------------------------
       SECTION 06 CTA
    ----------------------------------------- */

    .developer-cta {
        margin-top: 16px !important;
        margin-bottom: 60px !important;
        padding: 34px 22px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 22px !important;
        border-radius: 18px !important;
    }

        .developer-cta h2 {
            max-width: 100% !important;
        }

        .developer-cta p {
            max-width: 100% !important;
            margin-top: 14px !important;
            font-size: 13px !important;
            line-height: 1.6 !important;
        }

        .developer-cta .button.large {
            width: 100% !important;
            min-width: 0 !important;
        }


    /* -----------------------------------------
       FOOTER
    ----------------------------------------- */

    .aria-footer {
        width: calc(100% - 16px) !important;
        margin-top: 0 !important;
        padding: 44px 20px 22px !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .aria-footer-container {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 34px !important;
        padding: 0 !important;
    }

    .aria-footer-brand {
        grid-column: auto !important;
        max-width: none !important;
    }

    .aria-footer-logo img {
        width: 125px !important;
    }

    .aria-footer-description {
        max-width: none !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
    }

    .aria-footer-links {
        gap: 8px !important;
    }

        .aria-footer-links a {
            padding: 8px 11px !important;
            font-size: 10px !important;
        }

    .social-links {
        flex-wrap: wrap !important;
    }

    .aria-footer-label {
        margin-bottom: 17px !important;
        font-size: 9px !important;
    }

    .aria-footer-column li + li {
        margin-top: 11px !important;
    }

    .aria-footer-column li a {
        font-size: 11px !important;
    }

    .aria-footer-bottom {
        width: 100% !important;
        padding-bottom: 20px !important;
    }

    .aria-footer-bottom-content p {
        font-size: 9px !important;
        line-height: 1.5 !important;
    }


    /* -----------------------------------------
       SHIVI FLOATING ASSISTANT
    ----------------------------------------- */

    body > #shiviWrap,
    .shivi-wrap#shiviWrap {
        right: 12px !important;
        bottom: 12px !important;
    }

    #shivi-assistant-root {
        right: 12px !important;
        bottom: 12px !important;
    }

    #shivi-bubble {
        width: 60px !important;
        height: 60px !important;
    }

    #shivi-chat {
        right: -3px !important;
        bottom: 72px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        height: min(500px, calc(100vh - 95px)) !important;
        min-height: 360px !important;
        border-radius: 15px !important;
    }

    #shivi-teaser {
        right: 0 !important;
        bottom: 72px !important;
        width: min(195px, calc(100vw - 45px)) !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .site-header {
        width: calc(100% - 14px) !important;
        min-height: 60px !important;
        height: 60px !important;
        top: 7px !important;
        padding: 0 10px 0 14px !important;
        border-radius: 17px !important;
    }

        .site-header .brand img,
        .brand img {
            width: 86px !important;
        }

    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
        border-radius: 11px !important;
    }

    .site-header .main-nav {
        top: calc(100% + 7px) !important;
        max-height: calc(100vh - 80px) !important;
        padding: 10px !important;
        border-radius: 17px !important;
    }

    .hero {
        width: calc(100% - 14px) !important;
        padding: 68px 18px 38px !important;
        border-radius: 18px !important;
    }

        .hero h1 {
            font-size: clamp(48px, 16.5vw, 70px) !important;
        }

    .hero-lede {
        font-size: 14px !important;
    }

    .hero-actions {
        grid-template-columns: 1fr !important;
    }

        .hero-actions .button {
            min-height: 46px !important;
        }

    .hero-meta {
        margin-top: 28px !important;
    }

    .hero-art {
        height: 290px !important;
        margin-top: 20px !important;
    }

    .developer-scene {
        transform: scale(.62) !important;
    }

    .section {
        width: calc(100% - 14px) !important;
        padding: 66px 0 60px !important;
    }

    .feature-section,
    .reference-section,
    .language-section,
    .usage-section,
    .developer-cta {
        width: calc(100% - 14px) !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-radius: 17px !important;
    }

        .section h2,
        .feature-heading h2,
        .language-heading h2,
        .usage-section h2,
        .developer-cta h2,
        .reference-section h2 {
            font-size: clamp(38px, 12.8vw, 64px) !important;
        }

        .feature-heading,
        .section-intro,
        .reference-section .section-intro {
            gap: 18px !important;
        }

    .api-card {
        padding: 19px !important;
    }

        .api-card h3 {
            font-size: 27px !important;
        }

        .api-card p {
            font-size: 12px !important;
        }

    .quickstart-visual {
        height: 225px !important;
        min-height: 225px !important;
    }

    .reference-content {
        padding: 24px 15px 30px !important;
    }

    .ref-panel h3 {
        font-size: clamp(29px, 9.5vw, 44px) !important;
    }

    .language-visual {
        min-height: 250px !important;
        height: 250px !important;
    }

    .language-core {
        width: 98px !important;
        height: 98px !important;
    }

    .language-ring-a {
        width: 155px !important;
        height: 155px !important;
    }

    .language-ring-b {
        width: 220px !important;
        height: 220px !important;
    }

    .lang-chip {
        font-size: 6px !important;
        padding: 5px 7px !important;
    }

    .usage-grid {
        grid-template-columns: 1fr !important;
    }

        .usage-grid article {
            padding: 17px !important;
        }

        .usage-grid h3 {
            margin-top: 24px !important;
            font-size: 23px !important;
        }

    .developer-cta {
        padding: 30px 18px !important;
    }

    .aria-footer {
        width: calc(100% - 8px) !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #shivi-chat {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        height: min(480px, calc(100vh - 85px)) !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 48px !important;
    }

    .hero-art {
        height: 270px !important;
    }

    .developer-scene {
        transform: scale(.56) !important;
    }

    .hero-meta {
        grid-template-columns: 1fr !important;
    }

        .hero-meta strong {
            margin-bottom: 3px !important;
        }

    .usage-grid article {
        padding: 16px !important;
    }

    .ref-tab {
        min-height: 48px !important;
        font-size: 9px !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mobile-menu-toggle span,
    .site-header .main-nav,
    .orbit,
    .marquee-track,
    #shivi-bubble,
    #shivi-chat {
        transition: none !important;
        animation: none !important;
    }
}
