:root {
    color-scheme: dark;
    --bg: #111213;
    --surface: #181c20;
    --surface-strong: #20262b;
    --border: #313941;
    --text: #f3f7f8;
    --muted: #a8b5bd;
    --teal: #42d7a4;
    --blue: #3aa7ff;
    --amber: #ffc75f;
    --danger: #ff727a;
    --shadow: rgba(0, 0, 0, 0.32);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28rem);
}

a {
    color: var(--teal);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 42px;
}

.topbar,
.footer,
.nav,
.actions,
.status-row,
.split {
    display: flex;
    align-items: center;
}

.topbar {
    justify-content: space-between;
    gap: 22px;
    min-height: 44px;
    margin-bottom: 52px;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--text);
    font-weight: 750;
}

.brand-mark {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 48px;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    min-width: 0;
    color: var(--muted);
    font-size: 14px;
}

.nav a,
.brand span {
    overflow-wrap: anywhere;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.language-switcher a,
.language-switcher span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    font-size: 13px;
}

.language-switcher [aria-current="page"] {
    border-color: rgba(66, 215, 164, 0.5);
    color: var(--text);
}

/* Customer help and legal pages */
.customer-doc-hero {
    padding-bottom: 42px;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.help-section {
    margin-top: 34px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, var(--surface), var(--surface-strong));
}

.section-heading-block {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading-block h2,
.section-heading-block p {
    margin: 0;
}

.help-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.help-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.help-step > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent);
    color: #04120f;
    font-weight: 900;
}

.help-step h3,
.help-step p,
.help-task h3,
.help-task p {
    margin: 0;
}

.help-step p,
.help-task p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.65;
}

.help-task-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.help-task {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.help-task a {
    margin-top: auto;
    padding-top: 20px;
    color: var(--accent-strong);
    font-weight: 750;
    text-decoration: none;
}

.help-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 22px;
    align-items: start;
}

.help-troubleshooting {
    display: grid;
    gap: 10px;
}

.help-troubleshooting details {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.help-troubleshooting summary {
    cursor: pointer;
    font-weight: 750;
}

.help-troubleshooting p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.help-manual-callout {
    position: sticky;
    top: 22px;
    margin-top: 34px;
    padding: 28px;
    border: 1px solid rgba(85, 218, 183, 0.34);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(85, 218, 183, 0.13), rgba(35, 106, 164, 0.1));
    line-height: 1.65;
}

.help-manual-callout hr {
    margin: 26px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.legal-layout {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.legal-index {
    position: sticky;
    top: 22px;
    display: grid;
    align-content: start;
    gap: 8px;
    height: max-content;
}

.legal-index span {
    display: grid;
    place-items: center;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--accent-strong);
    font: 750 12px/1 monospace;
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-section {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.legal-section h2 {
    margin: 0 0 16px;
}

.legal-section p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-section p + p {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .help-steps,
    .help-task-grid {
        grid-template-columns: 1fr 1fr;
    }

    .help-split {
        grid-template-columns: 1fr;
    }

    .help-manual-callout {
        position: static;
        margin-top: 0;
    }
}

@media (max-width: 620px) {
    .help-steps,
    .help-task-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-index {
        position: static;
        display: flex;
        flex-wrap: wrap;
    }

    .legal-index span {
        width: 42px;
    }
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 42px;
    align-items: center;
    min-height: 58vh;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(40px, 4.6rem, 74px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.16;
    letter-spacing: 0;
}

.lede {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.68;
}

.actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(66, 215, 164, 0.45);
    border-radius: 8px;
    color: #04110d;
    background: var(--teal);
    font-weight: 750;
}

.button-secondary {
    border-color: var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.button-secondary:hover {
    text-decoration: none;
    filter: brightness(1.07);
}

.visual {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 80px var(--shadow);
}

.visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.visual-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 199, 95, 0.48);
    border-radius: 8px;
    background: rgba(17, 18, 19, 0.86);
    color: var(--amber);
    font-size: 13px;
    font-weight: 800;
}

.status-row {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.status-pill strong {
    color: var(--amber);
    font-weight: 800;
}

.band {
    margin-top: 48px;
    padding: 28px 0 0;
    border-top: 1px solid var(--border);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tile,
.notice {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(24, 28, 32, 0.78);
}

.tile {
    padding: 20px;
}

.tile p,
.notice p {
    color: var(--muted);
    line-height: 1.58;
}

.tile a {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 750;
}

.notice {
    margin-top: 26px;
    padding: 18px 20px;
}

.notice strong {
    color: var(--amber);
}

.split {
    gap: 34px;
    align-items: flex-start;
}

.split > * {
    flex: 1 1 0;
    min-width: 0;
}

.footer {
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

.compact-page .hero {
    grid-template-columns: 1fr;
    max-width: 780px;
    min-height: 48vh;
}

.compact-page h1 {
    max-width: 760px;
}

.status-home,
.doc-page,
.compact-page {
    color-scheme: light;
    --bg: #f6f2ea;
    --surface: #fffdf8;
    --surface-strong: #eef6f3;
    --border: #ddd5cb;
    --text: #171b1d;
    --muted: #5d6867;
    --teal: #048263;
    --blue: #0f89c9;
    --amber: #9a6300;
    --shadow: rgba(47, 39, 30, 0.13);
    background: var(--bg);
}

.status-home::before,
.doc-page::before,
.compact-page::before {
    display: none;
}

.status-home .shell,
.doc-page .shell,
.compact-page .shell {
    width: min(1120px, calc(100% - 32px));
}

.status-home .topbar {
    margin-bottom: 32px;
}

.campaign-page .shell {
    width: min(1200px, calc(100% - 32px));
}

.campaign-header {
    display: grid;
    gap: 18px;
    max-width: 940px;
    margin: 0 auto 28px;
    text-align: center;
}

.campaign-header h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(48px, 6rem, 92px);
    line-height: 0.95;
}

.campaign-lede {
    max-width: 860px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.campaign-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.campaign-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fffdf8;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.campaign-header .language-switcher {
    justify-content: center;
    margin-top: 0;
}

.campaign-hero-art,
.campaign-feature figure,
.campaign-wide,
.source-preview {
    margin: 0;
}

.campaign-hero-art {
    overflow: hidden;
    border: 1px solid rgba(17, 24, 28, 0.15);
    border-radius: 8px;
    background: #071014;
    box-shadow: 0 28px 70px rgba(47, 39, 30, 0.16);
}

.campaign-hero-art img,
.campaign-feature img,
.campaign-wide > img,
.source-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.campaign-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--border);
}

.campaign-proof-strip article {
    min-width: 0;
    padding: 22px;
    background: #fffdf8;
}

.campaign-proof-strip span,
.campaign-problem article span,
.info-labels span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.campaign-proof-strip h2 {
    margin: 9px 0 8px;
    font-size: 22px;
}

.campaign-proof-strip p,
.campaign-problem p,
.campaign-feature p,
.campaign-wide-copy p,
.campaign-current p,
.source-preview figcaption {
    color: var(--muted);
    line-height: 1.58;
}

.campaign-problem,
.campaign-feature,
.campaign-language,
.campaign-current {
    margin-top: 28px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fffdf8;
}

.campaign-problem {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: 26px;
}

.campaign-problem h2,
.campaign-feature h2,
.campaign-wide-copy h2,
.campaign-current h2,
.campaign-language h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 3rem, 48px);
    line-height: 1.08;
}

.campaign-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.campaign-problem article {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f7f5ef;
}

.campaign-problem article:last-child {
    border-color: rgba(4, 130, 99, 0.28);
    background: #e7f6f0;
}

.campaign-problem h3 {
    margin: 12px 0 9px;
    font-size: 24px;
    line-height: 1.16;
}

.campaign-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.62fr);
    gap: 28px;
    align-items: center;
}

.campaign-feature.reverse {
    grid-template-columns: minmax(320px, 0.62fr) minmax(0, 1.05fr);
}

.campaign-feature.reverse figure {
    grid-column: 2;
}

.campaign-feature.reverse > div {
    grid-column: 1;
    grid-row: 1;
}

.campaign-feature figure,
.campaign-wide {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f7f5ef;
    box-shadow: 0 18px 44px var(--shadow);
}

.info-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.info-labels span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(4, 130, 99, 0.24);
    border-radius: 8px;
    background: #e7f6f0;
}

.campaign-wide {
    position: relative;
    margin-top: 28px;
    background: #071014;
}

.campaign-wide-copy {
    position: absolute;
    right: 28px;
    bottom: 28px;
    max-width: 520px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(8, 14, 18, 0.86);
    color: #ffffff;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.campaign-wide-copy h2 {
    color: #ffffff;
    font-size: clamp(26px, 2.2rem, 36px);
}

.campaign-wide-copy p {
    color: #d8e2e6;
}

.campaign-wide.lan-watch-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.72fr);
    align-items: stretch;
    background: #071014;
}

.campaign-wide.lan-watch-panel > img {
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: left center;
}

.campaign-wide.lan-watch-panel .campaign-wide-copy {
    position: static;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.campaign-wide.lan-watch-panel .campaign-wide-copy h2 {
    max-width: 520px;
    font-size: clamp(26px, 2.15rem, 35px);
}

.campaign-wide.lan-watch-panel .campaign-wide-copy p {
    max-width: 540px;
}

.campaign-wide.lan-watch-panel .info-labels {
    max-width: 540px;
}

.campaign-wide.lan-watch-panel .info-labels span {
    background: rgba(222, 251, 239, 0.94);
}

@media (max-width: 640px) {
    .campaign-wide.lan-watch-panel::before {
        content: "";
        display: block;
        height: 136px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        background-image: url("/assets/campaign-live-lan.png?v=real-player-20260629");
        background-position: center bottom;
        background-size: cover;
    }

    .campaign-wide.lan-watch-panel > img {
        display: none;
    }

    .campaign-wide.lan-watch-panel .campaign-wide-copy h2 {
        overflow-wrap: anywhere;
    }
}

.campaign-language,
.campaign-current {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.campaign-current {
    background: #101820;
    color: #ffffff;
}

.campaign-current h2 {
    color: #ffffff;
}

.campaign-current p {
    color: #d8e2e6;
}

.source-preview {
    display: none;
}

.campaign-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 30px;
    align-items: center;
    padding: 34px;
    border: 1px solid #d7dedb;
    border-radius: 8px;
    background: #fdfbf6;
    box-shadow: 0 20px 48px rgba(47, 39, 30, 0.11);
}

.campaign-copy {
    min-width: 0;
}

.campaign-copy h1 {
    max-width: 720px;
    color: var(--text);
    font-size: clamp(42px, 4.8rem, 76px);
    line-height: 0.98;
}

.campaign-copy .lede {
    color: var(--muted);
}

.hero-proof-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.hero-proof-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.hero-proof-list b {
    display: inline-grid;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    font-size: 12px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.release-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.release-chip.strong {
    border-color: rgba(4, 130, 99, 0.32);
    color: #075f49;
    background: #e7f6f0;
}

.hero-product-panel {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.hero-product-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid #202a31;
    border-radius: 8px;
    background: #0e1418;
    box-shadow: 0 18px 38px rgba(20, 24, 26, 0.24);
}

.hero-product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hero-product-image figcaption {
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd6da;
    font-size: 13px;
    line-height: 1.45;
}

.hero-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-signal-grid article {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
}

.hero-signal-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.hero-signal-grid strong {
    display: block;
    color: var(--text);
    font-size: 16px;
    line-height: 1.2;
}

.hero-signal-grid p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.mode-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--border);
}

.mode-strip article {
    min-width: 0;
    padding: 20px;
    background: #fbfcfb;
}

.mode-strip span,
.card-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.mode-strip h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.mode-strip p {
    color: var(--muted);
    line-height: 1.54;
}

.story-duo,
.assistant-flow,
.language-demo,
.platform-showcase {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.story-duo {
    display: grid;
    grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
    gap: 24px;
}

.before-after,
.flow-steps {
    display: grid;
    gap: 14px;
}

.before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card,
.solution-card,
.flow-steps article {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.problem-card {
    background: #f4f4f2;
}

.solution-card {
    border-color: rgba(4, 130, 99, 0.28);
    background: #e2f5ef;
}

.problem-card h3,
.solution-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.16;
}

.problem-card ul,
.solution-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.62;
}

.assistant-flow {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    background:
        linear-gradient(135deg, rgba(4, 130, 99, 0.1), transparent 50%),
        var(--surface);
}

.flow-copy p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
}

.flow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-steps article {
    background: #fbfcfb;
}

.flow-steps span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 8px;
    background: var(--teal);
    color: #ffffff;
    font-weight: 850;
}

.flow-steps h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.flow-steps p,
.language-demo p,
.platform-showcase p {
    color: var(--muted);
    line-height: 1.56;
}

.language-demo,
.platform-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.language-cloud,
.platform-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-cloud span,
.platform-matrix span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfb;
    color: var(--text);
    font-weight: 800;
}

.language-cloud span:nth-child(3n),
.platform-matrix span.active {
    border-color: rgba(4, 130, 99, 0.3);
    background: #e2f5ef;
    color: #075f49;
}

.language-cloud span:nth-child(4n) {
    border-color: rgba(58, 167, 255, 0.28);
    background: #e7f3fb;
    color: #0d5f90;
}

.platform-showcase {
    background:
        linear-gradient(135deg, #101820, #17252c);
    color: #ffffff;
}

.platform-showcase h2 {
    color: #ffffff;
}

.platform-showcase p {
    color: #d8e2e6;
}

.platform-showcase .platform-matrix span {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.platform-showcase .platform-matrix span.active {
    border-color: rgba(66, 215, 164, 0.4);
    background: rgba(66, 215, 164, 0.14);
    color: #aaf0d8;
}

.status-home .hero {
    display: block;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
}

.status-home h1 {
    max-width: 820px;
    margin-bottom: 14px;
    font-size: clamp(36px, 3.85rem, 62px);
    line-height: 1.06;
}

.status-home .lede {
    max-width: 760px;
    font-size: 17px;
}

.story-intro {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.story-intro .release-line,
.story-intro .language-switcher {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(278px, 0.38fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 34px;
}

.product-hero-grid > * {
    min-width: 0;
}

.product-stage {
    position: relative;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0d1114;
    box-shadow: 0 20px 54px var(--shadow);
}

.product-stage img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.caption-demo {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    gap: 6px;
    max-width: 620px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(5, 8, 10, 0.82);
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.caption-demo span {
    color: #8fe7c8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.caption-demo strong {
    font-size: 18px;
    line-height: 1.35;
}

.language-card {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 8px;
    align-items: center;
    min-width: 172px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(9, 13, 15, 0.78);
    color: #ffffff;
}

.language-card span {
    display: inline-grid;
    min-height: 28px;
    min-width: 36px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    font-weight: 850;
}

.language-card b {
    color: #9fb0b4;
    font-size: 12px;
    font-weight: 700;
}

.language-card em {
    grid-column: 1 / -1;
    color: #8fe7c8;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.launch-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-top: 5px solid var(--teal);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 44px var(--shadow);
}

.panel-label {
    color: var(--teal);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.launch-panel h2 {
    margin: 0;
    font-size: 34px;
}

.launch-panel p {
    color: var(--muted);
    line-height: 1.55;
}

.launch-facts {
    display: grid;
    gap: 10px;
    margin: 0;
}

.launch-facts div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.launch-facts dt {
    color: var(--muted);
    font-size: 13px;
}

.launch-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    text-align: right;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--border);
}

.proof-strip article {
    min-width: 0;
    padding: 22px;
    background: var(--surface);
}

.proof-strip span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
}

.proof-strip h2 {
    margin: 10px 0 8px;
    font-size: 22px;
}

.proof-strip p {
    color: var(--muted);
    line-height: 1.56;
}

.comparison-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.comparison-panel h2 {
    font-size: clamp(26px, 2.55rem, 42px);
    line-height: 1.08;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.way-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.way-card span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    font-weight: 850;
}

.way-card h3 {
    margin: 16px 0 8px;
    font-size: 20px;
}

.way-card p {
    color: var(--muted);
    line-height: 1.55;
}

.muted-card {
    background: #edf0ef;
}

.muted-card span {
    background: #667476;
    color: #ffffff;
}

.active-card {
    border-color: rgba(4, 130, 99, 0.28);
    background: #dff4ed;
}

.active-card span {
    background: var(--teal);
    color: #ffffff;
}

.story-status {
    display: block;
}

.status-roadmap-band {
    margin-top: 28px;
}

.status-roadmap-head {
    display: grid;
    gap: 8px;
    max-width: 780px;
    margin-bottom: 18px;
}

.status-roadmap-head h2 {
    margin: 0;
    font-size: clamp(28px, 2.35rem, 38px);
    line-height: 1.12;
}

.status-roadmap-head p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.55;
}

.status-roadmap-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.76fr);
    gap: 22px;
    align-items: stretch;
}

.status-roadmap-content > * {
    min-width: 0;
}

.status-roadmap-band .platform-roadmap,
.status-roadmap-band .story-status {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.status-roadmap-band .status-board {
    flex: 1;
    height: 100%;
    border: 1px solid var(--border);
    background: #fbf8f1;
}

.panel-heading {
    margin-bottom: 14px;
}

.panel-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    line-height: 1.16;
}

.panel-heading p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.status-roadmap-band .platform-grid {
    margin-top: 0;
}

.status-roadmap-band .platform-grid h3 {
    padding: 16px 18px 12px;
    font-size: 24px;
}

.roadmap-preview {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    margin: 16px 0 0;
    overflow: hidden;
    min-height: 300px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f4f0e8;
}

.roadmap-preview img {
    display: block;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.roadmap-preview figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 1;
    padding: 9px 11px;
    border: 1px solid rgba(4, 130, 99, 0.18);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 12px 26px rgba(24, 20, 16, 0.1);
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
}

.status-roadmap-band .status-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    min-height: 0;
    padding: 13px 16px;
}

.status-roadmap-band .status-item h2,
.status-roadmap-band .status-item p {
    grid-column: 1;
}

.status-roadmap-band .status-item h2 {
    font-size: 16px;
}

.status-roadmap-band .status-item p {
    font-size: 14px;
    line-height: 1.42;
}

.status-roadmap-band .status-item .state {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 92px;
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    font-size: clamp(28px, 2.4rem, 40px);
    line-height: 1.12;
}

.feature-wall,
.hardware-panel,
.platform-roadmap {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.feature-grid article {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbf8f1;
}

.feature-grid h3,
.hardware-grid h3,
.platform-grid h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 18px;
}

.feature-grid p,
.hardware-grid p,
.benefit-grid p {
    color: var(--muted);
    line-height: 1.55;
}

.benefit-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.benefit-column {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.benefit-head {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: #edf7f3;
}

.cloud-column .benefit-head {
    background: #f4f0e6;
}

.benefit-head h2 {
    margin: 4px 0 8px;
    color: var(--text);
    font-size: clamp(24px, 2rem, 32px);
    line-height: 1.12;
}

.benefit-head p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.55;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
}

.benefit-grid div {
    min-width: 0;
    padding: 20px 18px;
    background: #fbf8f1;
}

.benefit-icon {
    display: inline-grid;
    min-width: 42px;
    min-height: 34px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(4, 130, 99, 0.28);
    border-radius: 8px;
    background: rgba(4, 130, 99, 0.1);
    color: var(--teal);
    font-size: 12px;
    font-weight: 850;
}

.cloud-column .benefit-icon {
    border-color: rgba(164, 103, 0, 0.24);
    background: rgba(255, 199, 95, 0.13);
    color: #9b6500;
}

.benefit-grid h3 {
    margin: 0 0 7px;
    color: var(--text);
    font-size: 17px;
}

.hardware-panel {
    padding: 0;
    overflow: hidden;
}

.hardware-head {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: #edf7f3;
    color: var(--text);
}

.hardware-head h2 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: clamp(26px, 2.1rem, 34px);
}

.hardware-head p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.55;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--border);
}

.hardware-grid article {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 26px 18px;
    text-align: center;
    border-right: 1px solid var(--border);
    background: #fbf8f1;
}

.hardware-grid article:last-child {
    border-right: 0;
}

.hardware-icon {
    display: inline-grid;
    min-height: 48px;
    min-width: 72px;
    place-items: center;
    justify-self: center;
    border-radius: 8px;
    background: rgba(4, 130, 99, 0.1);
    border: 1px solid rgba(4, 130, 99, 0.28);
    color: var(--teal);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.requirements-table {
    display: grid;
}

.requirements-row {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--border);
}

.requirements-row:last-child {
    border-bottom: 0;
}

.requirements-row span {
    min-width: 0;
    padding: 13px 18px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.requirements-row span:first-child {
    border-right: 1px solid var(--border);
    color: var(--text);
    font-weight: 850;
}

.requirements-header {
    background: #edf7f3;
}

.requirements-header span {
    color: var(--teal);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--border);
}

.platform-grid article {
    min-width: 0;
    background: #fbf8f1;
}

.platform-grid h3 {
    padding: 20px 20px 14px;
    font-size: 28px;
}

.platform-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
}

.platform-item span {
    display: inline-grid;
    min-height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
}

.platform-item b {
    color: var(--text);
    font-size: 18px;
}

.platform-item em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

.platform-item.active span {
    background: var(--teal);
}

.platform-item.future span {
    background: #778180;
}

.release-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.release-line strong {
    color: var(--text);
}

.release-line strong,
.release-line span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.release-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--amber);
    box-shadow: 0 0 0 5px rgba(255, 199, 95, 0.12);
}

.status-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}

.status-dashboard > * {
    min-width: 0;
}

.status-board,
.release-card,
.plain-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(24, 28, 32, 0.72);
}

.status-home .status-board,
.status-home .plain-panel {
    background: var(--surface);
}

.status-board {
    display: grid;
    min-width: 0;
}

.status-item {
    display: grid;
    grid-template-columns: minmax(126px, 0.55fr) minmax(0, 1fr) minmax(88px, auto);
    gap: 14px;
    align-items: center;
    min-height: 68px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.status-item > * {
    min-width: 0;
}

.status-item:last-child {
    border-bottom: 0;
}

.status-item h2 {
    margin: 0;
    font-size: 17px;
}

.status-item p {
    color: var(--muted);
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.status-home .status-item h2,
.status-home .plain-panel strong {
    color: var(--text);
}

.status-home .status-item p,
.status-home .plain-panel p {
    color: #465351;
}

.state {
    min-width: 104px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.state.active {
    border-color: rgba(4, 130, 99, 0.48);
    color: var(--teal);
    background: rgba(4, 130, 99, 0.08);
}

.state.pending {
    border-color: rgba(154, 99, 0, 0.42);
    color: var(--amber);
    background: rgba(154, 99, 0, 0.08);
}

.release-card {
    min-width: 0;
    overflow: hidden;
}

.release-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.release-card-body {
    padding: 18px;
}

.release-card-body h2 {
    font-size: 20px;
}

.release-card-body p {
    color: var(--muted);
    line-height: 1.56;
}

.link-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.link-list a {
    min-width: 0;
    min-height: 54px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    font-weight: 750;
}

.link-list a span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.link-list a:hover {
    border-color: rgba(66, 215, 164, 0.42);
    text-decoration: none;
}

.plain-panel {
    margin-top: 22px;
    padding: 18px;
}

.plain-panel p {
    color: var(--muted);
    line-height: 1.6;
}

.plain-panel strong {
    color: var(--text);
}

.doc-page .hero {
    display: block;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.doc-page h1 {
    font-size: 46px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.compact-page .hero {
    min-height: auto;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.doc-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.doc-panel {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbf8f1;
}

.compact-page .notice {
    background: #fbf8f1;
}

.doc-panel h2 {
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.doc-panel h3 {
    margin: 18px 0 8px;
    font-size: 18px;
    letter-spacing: 0;
}

.doc-panel p,
.doc-panel li {
    color: var(--muted);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.doc-panel p + p {
    margin-top: 10px;
}

.doc-panel ul,
.doc-panel ol {
    margin: 12px 0 0;
    padding-left: 20px;
}

.doc-panel li + li {
    margin-top: 8px;
}

.doc-panel strong {
    color: var(--text);
}

.manual-shell {
    width: min(1180px, calc(100% - 32px));
}

.manual-page .topbar {
    margin-bottom: 30px;
}

.manual-hero {
    margin-bottom: 24px;
}

.manual-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.manual-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(4, 130, 99, 0.28);
    border-radius: 999px;
    background: rgba(4, 130, 99, 0.08);
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
}

.manual-back-to-toc {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(4, 130, 99, 0.32);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 12px 32px rgba(47, 39, 30, 0.16);
    color: var(--teal);
    font-size: 14px;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.manual-back-to-toc:hover,
.manual-back-to-toc:focus-visible {
    border-color: rgba(4, 130, 99, 0.55);
    background: #ffffff;
    text-decoration: none;
}

.manual-toc {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: 26px;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.manual-toc h2 {
    margin: 0;
    font-size: clamp(24px, 2rem, 32px);
    line-height: 1.12;
}

.manual-toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.manual-toc-list a {
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.manual-content {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.manual-section {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbf8f1;
}

.manual-section h2 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: clamp(24px, 2rem, 34px);
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.manual-section h3 {
    margin: 22px 0 9px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.2;
}

.manual-section p,
.manual-section li {
    color: var(--muted);
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.manual-section p + p,
.manual-section p + ul,
.manual-section p + ol,
.manual-section ul + p,
.manual-section ol + p,
.manual-section pre + p {
    margin-top: 12px;
}

.manual-section ul,
.manual-section ol {
    margin: 12px 0 0;
    padding-left: 22px;
}

.manual-section li + li {
    margin-top: 7px;
}

.manual-toc,
.manual-section {
    scroll-margin-top: 18px;
}

.manual-section code {
    padding: 2px 5px;
    border: 1px solid rgba(4, 130, 99, 0.18);
    border-radius: 6px;
    background: rgba(4, 130, 99, 0.08);
    color: #075f49;
    font-size: 0.94em;
}

.manual-section pre {
    overflow-x: auto;
    margin: 14px 0 0;
    padding: 14px;
    border-radius: 8px;
    background: #111820;
}

.manual-section pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: #eaf2ff;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fine-print {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 880px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 38px;
    }

    .hero,
    .campaign-hero,
    .split {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .status-dashboard,
    .link-list,
    .campaign-proof-strip,
    .campaign-problem,
    .campaign-problem-grid,
    .campaign-feature,
    .campaign-feature.reverse,
    .campaign-language,
    .campaign-current,
    .product-hero-grid,
    .proof-strip,
    .comparison-panel,
    .comparison-grid,
    .story-duo,
    .before-after,
    .assistant-flow,
    .language-demo,
    .platform-showcase,
    .hero-signal-grid,
    .benefit-board,
    .feature-grid,
    .hardware-grid,
    .platform-grid,
    .doc-layout,
    .manual-toc,
    .manual-toc-list,
    .status-roadmap-content {
        grid-template-columns: 1fr;
    }

    .campaign-feature.reverse figure,
    .campaign-feature.reverse > div {
        grid-column: auto;
        grid-row: auto;
    }

    .campaign-wide-copy {
        position: static;
        max-width: none;
        margin: 0;
        border-width: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0;
        box-shadow: none;
    }

    .campaign-wide.lan-watch-panel {
        display: block;
    }

    .campaign-wide.lan-watch-panel > img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .campaign-wide.lan-watch-panel .campaign-wide-copy {
        padding: 22px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .status-roadmap-band .status-item,
    .status-item {
        grid-template-columns: 1fr;
    }

    .status-roadmap-band .status-item h2,
    .status-roadmap-band .status-item p,
    .status-roadmap-band .status-item .state {
        grid-column: auto;
        grid-row: auto;
    }

    .status-roadmap-band .status-item .state {
        justify-self: start;
    }

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

    .mode-strip,
    .flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campaign-hero {
        padding: 24px;
    }

    .campaign-header {
        text-align: left;
    }

    .campaign-header .language-switcher,
    .campaign-actions {
        justify-content: flex-start;
    }

    .product-stage img {
        min-height: 300px;
    }

    .launch-panel {
        box-shadow: none;
    }

    .comparison-panel {
        padding: 22px;
    }

    .hardware-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .hardware-grid article:last-child {
        border-bottom: 0;
    }

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

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

@media (max-width: 520px) {
    .shell {
        width: min(100% - 24px, 1120px);
        padding-top: 24px;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    .button-secondary {
        width: 100%;
    }

    .status-home h1 {
        font-size: 36px;
    }

    .campaign-header h1 {
        font-size: 48px;
    }

    .campaign-lede {
        font-size: 17px;
    }

    .campaign-copy h1 {
        font-size: 42px;
    }

    .doc-page h1 {
        font-size: 32px;
    }

    .story-intro {
        text-align: left;
    }

    .story-intro .release-line,
    .story-intro .language-switcher {
        justify-content: flex-start;
    }

    .campaign-hero {
        padding: 18px;
    }

    .campaign-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .campaign-actions .button,
    .campaign-actions span {
        justify-content: center;
        width: 100%;
    }

    .campaign-problem,
    .campaign-feature,
    .campaign-language,
    .campaign-current,
    .campaign-wide-copy {
        padding: 18px;
    }

    .campaign-proof-strip article {
        padding: 18px;
    }

    .campaign-problem h2,
    .campaign-feature h2,
    .campaign-current h2,
    .campaign-language h2 {
        font-size: 30px;
    }

    .hero-proof-list,
    .hero-signal-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .release-chip {
        justify-content: center;
        width: 100%;
    }

    .hero-product-image img {
        min-height: 190px;
    }

    .mode-strip,
    .flow-steps {
        grid-template-columns: 1fr;
    }

    .product-stage img {
        min-height: 236px;
    }

    .caption-demo,
    .language-card {
        position: static;
        margin: 12px;
    }

    .roadmap-preview {
        min-height: 220px;
    }

    .roadmap-preview figcaption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        background: rgba(255, 253, 248, 0.92);
        font-size: 12px;
    }

    .caption-demo {
        max-width: none;
    }

    .language-card {
        width: calc(100% - 24px);
    }

    .proof-strip article,
    .mode-strip article,
    .launch-panel,
    .way-card,
    .story-duo,
    .assistant-flow,
    .language-demo,
    .platform-showcase,
    .feature-wall,
    .benefit-head,
    .platform-roadmap,
    .manual-section,
    .manual-toc {
        padding: 18px;
    }

    .manual-back-to-toc {
        right: 12px;
        bottom: 12px;
        min-height: 38px;
        padding: 0 12px;
    }

    .hardware-head {
        padding: 20px 18px;
    }

    .requirements-row {
        grid-template-columns: 1fr;
    }

    .requirements-row span:first-child {
        border-right: 0;
        padding-bottom: 2px;
    }

    .requirements-row span:last-child {
        padding-top: 4px;
    }

    .platform-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .platform-item em {
        grid-column: 2;
        text-align: left;
    }
}

/* FAQ accordion */
.faq-layout {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.faq-group {
    display: grid;
    grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.faq-group-heading {
    position: sticky;
    top: 18px;
    min-width: 0;
}

.faq-group-heading h2 {
    margin: 0;
    font-size: clamp(22px, 2rem, 30px);
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.faq-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbf8f1;
}

.faq-item[open] {
    border-color: rgba(4, 130, 99, 0.38);
    box-shadow: 0 8px 24px rgba(47, 39, 30, 0.08);
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 16px;
    align-items: center;
    min-height: 62px;
    padding: 15px 18px;
    color: var(--text);
    font-size: 17px;
    font-weight: 780;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(4, 130, 99, 0.3);
    border-radius: 999px;
    background: rgba(4, 130, 99, 0.08);
    color: var(--teal);
    content: "+";
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    background: rgba(4, 130, 99, 0.045);
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(58, 167, 255, 0.45);
    outline-offset: -3px;
}

.faq-answer {
    padding: 0 18px 18px;
    border-top: 1px solid var(--border);
}

.faq-answer p,
.faq-answer li {
    color: var(--muted);
    line-height: 1.68;
    overflow-wrap: anywhere;
}

.faq-answer p {
    margin-top: 14px;
}

.faq-answer ul,
.faq-answer ol {
    margin: 14px 0 0;
    padding-left: 22px;
}

.faq-answer li + li {
    margin-top: 8px;
}

.faq-answer strong {
    color: var(--text);
}

.faq-answer code {
    padding: 2px 5px;
    border: 1px solid rgba(4, 130, 99, 0.18);
    border-radius: 6px;
    background: rgba(4, 130, 99, 0.08);
    color: #075f49;
    font-size: 0.94em;
}

.music-note {
    color: var(--teal);
    font-size: 1.12em;
    font-weight: 850;
}

@media (max-width: 880px) {
    .faq-group {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .faq-group-heading {
        position: static;
    }
}

@media (max-width: 520px) {
    .faq-group {
        padding: 16px;
    }

    .faq-item summary {
        min-height: 56px;
        padding: 13px 14px;
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 14px 15px;
    }
}
