.volume-section {
    --text: #161b1d;
    --muted: #545e61;
    --primary: #145e6b;
    --focus: #145e6b;
    display: block;
    min-height: 0;
    color: var(--text);
    background: #eff2f1;
    text-align: center;
    border: 0;
    padding-top: 0;
    color-scheme: light;
}
.volume-teaser {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(320px, 1.5fr) minmax(150px, .8fr);
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #cbd2d1;
    color: var(--muted);
    font-size: .6875rem;
    text-align: left;
}
.volume-teaser strong {
    color: var(--text);
    font-size: .875rem;
    font-weight: 550;
    text-align: center;
}
.volume-teaser-signal {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--primary);
    font-weight: 550;
}
.volume-teaser-signal svg { width: 16px; height: 16px; }
.volume-inner { padding-block: 76px 60px; }
.volume-section .rolling-counter { color: var(--text); margin-bottom: 22px; }
.volume-label { font-size: 1.5rem; color: var(--muted); }
.volume-message { margin: 30px auto 12px; line-height: 1.7; color: var(--muted); }
.volume-message strong { color: var(--text); }
.volume-section .chapter-link { border-color: #788e92; }
.volume-note { color: var(--muted); font-size: .75rem; margin: 24px 0 0; }
.game-contact-sheet {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-top: 1px solid #cbd2d1;
}
.game-contact-sheet img { width: 100%; height: auto; aspect-ratio: 1; display: block; }

.product-section {
    --text: #171c1e;
    --muted: #535d61;
    --primary: #145e6b;
    --focus: #145e6b;
    color: var(--text);
    background: #fafbfa;
    color-scheme: light;
    padding-block: 100px 80px;
    scroll-margin-top: 88px;
}
.product-section .story-kicker, .audience-section .story-kicker { color: var(--muted); }
.product-heading, .audience-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}
.product-heading h2, .welcome .audience-heading h2 {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.14;
    margin: 0;
    text-wrap: balance;
}
.product-heading > p, .audience-heading .chapter-summary {
    max-width: 420px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 2px auto;
}
.product-tabs:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #cbd2d1;
    margin-bottom: 32px;
}
.product-tabs [role="tab"] {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--muted);
    min-height: 64px;
    padding: 14px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color 160ms ease, background-color 160ms ease;
}
.product-tabs [role="tab"][aria-selected="true"] { color: var(--text); border-color: var(--primary); background: #eaf0ef; }
.product-tabs [role="tab"]:hover { color: var(--text); background: #eef2f1; }
.product-tabs svg { width: 20px; height: 20px; flex: 0 0 20px; }
.product-example[hidden] { display: none; }
.product-example + .product-example { margin-top: 64px; }
.product-tabs:not([hidden]) ~ .product-example { margin-top: 0; }
.example-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    min-height: 112px;
    padding-bottom: 28px;
}
.example-intro > div { max-width: 700px; }
.example-intro h3 { font-size: 1.25rem; font-weight: 550; line-height: 1.4; margin: 0 0 10px; }
.example-intro p { font-size: .9375rem; color: var(--muted); line-height: 1.65; margin: 0; }
.example-intro .chapter-link { flex-shrink: 0; border-color: #788e92; }
.product-capture { margin: 0; }
.capture-image {
    display: block;
    position: relative;
    background: #f5f7f8;
    border: 1px solid #c4ccce;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}
.capture-image picture { display: grid; place-items: center; aspect-ratio: 1414 / 931; }
.capture-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#demo-alert .capture-image img { max-width: 800px; }
.capture-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #fafbfa;
    border: 1px solid #b8c3c6;
    border-radius: 4px;
    color: #171c1e;
}
.capture-zoom svg { width: 18px; height: 18px; }
.product-capture figcaption { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; color: var(--muted); font-size: .75rem; line-height: 1.6; padding-top: 14px; }
.capture-dialog {
    width: min(1600px, calc(100% - 40px));
    max-width: none;
    max-height: calc(100svh - 40px);
    padding: 0;
    background: #f5f7f8;
    color: #171c1e;
    border: 1px solid #b8c3c6;
    border-radius: 6px;
    overflow: auto;
}
.capture-dialog::backdrop { background: #090a0ce8; }
.capture-dialog-heading {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 18px;
    background: #f5f7f8;
    border-bottom: 1px solid #c4ccce;
    z-index: 1;
}
.capture-dialog-heading h2 { font-size: 1rem; margin: 0; font-weight: 550; }
.capture-dialog .icon-button { background: transparent; color: #171c1e; border-color: #87989d; }
.capture-dialog-content { overflow: auto; }
.capture-dialog-content img { display: block; width: 100%; min-width: 960px; height: auto; }
html:has(.capture-dialog[open]) { overflow: hidden; }

.welcome #analyser { --primary: #70eeef; --muted: #aebabc; background: #111517; border-color: #2d3538; min-height: 0; }
.welcome #analyser .chapter-inner { display: block; padding-block: 88px; }
.welcome #analyser .platform-stats { padding: 28px 0 0; border: 0; border-top: 1px solid #414c50; border-radius: 0; background: transparent; }
.welcome #analyser .platform-plot { height: 300px; margin-block: 28px; }
.welcome #analyser .platform-heading h3 { font-size: 1.625rem; }
.welcome #analyser .platform-ranges button { min-width: 44px; min-height: 44px; }
.welcome #decider { --primary: #70eeef; min-height: 580px; }
.welcome #decider .scene-stage { opacity: .65; }
.welcome #decider h2 { font-size: 3rem; }
.welcome #decider .chapter-link { border-color: #70eeef80; }
.welcome #decider .chapter-summary { max-width: 410px; }
.welcome-footer { background: #0c1012; }

@media (max-width: 1000px) {
    .product-heading, .audience-heading { gap: 32px; }
    .product-heading h2, .welcome .audience-heading h2 { font-size: 2.25rem; }
    .example-intro { align-items: start; }
    .example-intro > div { max-width: 58%; }
}
@media (max-width: 700px) {
    .volume-section { padding-top: 0; min-height: 0; }
    .volume-teaser {
        min-height: 58px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    .volume-teaser > span:first-child { display: none; }
    .volume-teaser strong { font-size: .75rem; text-align: left; }
    .volume-teaser-signal { font-size: .625rem; white-space: nowrap; }
    .volume-teaser-signal svg { width: 14px; height: 14px; }
    .volume-inner { padding-block: 68px 44px; }
    .volume-section .rolling-counter { margin-bottom: 20px; }
    .volume-label { font-size: 1.1875rem; }
    .volume-message { font-size: 1rem; margin-top: 28px; }
    .volume-note { margin-top: 20px; font-size: .6875rem; }
    .game-contact-sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
    .product-section { padding-block: 64px 56px; scroll-margin-top: 76px; }
    .product-heading, .audience-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 32px; }
    .product-heading > p, .audience-heading .chapter-summary { margin: 0; max-width: 100%; }
    .product-heading h2, .welcome .audience-heading h2 { font-size: 2rem; }
    .product-tabs [role="tab"] { flex-direction: column; gap: 8px; font-size: .75rem; padding: 12px 6px; min-height: 104px; }
    .example-intro { display: block; min-height: 230px; padding-bottom: 24px; }
    .example-intro > div { max-width: none; }
    .example-intro .chapter-link { margin-top: 12px; font-size: .875rem; }
    .capture-image picture { aspect-ratio: 390 / 600; }
    .capture-dialog { width: calc(100% - 20px); max-height: calc(100svh - 24px); }
    .capture-dialog-heading { padding: 8px 12px; }
    .welcome #analyser .chapter-inner { padding-block: 64px; }
    .welcome #analyser .platform-heading h3 { font-size: 1.25rem; }
    .welcome #analyser .platform-plot { height: 240px; }
    .welcome #decider { min-height: 520px; }
    .welcome #decider h2 { font-size: 2.25rem; }
}
@media (max-width: 380px) {
    .volume-label { font-size: 1.0625rem; }
    .product-heading h2 { font-size: 1.75rem; }
    .product-tabs [role="tab"] { font-size: .6875rem; }
    .example-intro { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-tabs [role="tab"] { transition: none; }
}
