:root {
    /* Light theme defaults */
    --bg: #ffffff;
    --ink: #0b0e14;
    --muted: #5a6676;
    --brand: #eeeeee;
    --brand-ink: #0b3a66;
    --card: #eeeeee;
    --edge: rgba(0, 0, 0, .08);
    --glass: rgba(0, 0, 0, .04);
    --ok: #1f8e4d;
    --warn: #a86800;
    --danger: #b62a2a;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0e14;
        --ink: #e7eaf0;
        --muted: #aeb6c2;
        --brand: #4aa3ff;
        --brand-ink: #0b3a66;
        --card: #121723;
        --edge: rgba(255, 255, 255, .08);
        --glass: rgba(255, 255, 255, .06);
        --ok: #42d782;
        --warn: #ffba4a;
        --danger: #ff6b6b;
        --radius: 16px;
        --shadow: 0 6px 24px rgba(0, 0, 0, .28);
    }
}


html,
body {
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif
}

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

a:hover {
    text-decoration: underline
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-left: 2%;
}

.stack {
    display: grid;
    gap: 24px
}

.grid-2 {
    display: grid;
    gap: 24px
}

@media(min-width:992px) {
    .grid-2 {
        grid-template-columns: 1.2fr .8fr;
    }
}

.grid-3 {
    display: grid;
    gap: 18px
}

@media(min-width:992px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr 1fr
    }
}

.section {
    padding: 56px 0;
    border-top: 1px solid var(--edge)
}

.eyebrow {
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-size: .76rem
}

.h1 {
    font-size: clamp(1.9rem, 2vw + 1.1rem, 2.6rem);
    line-height: 1.25;
    margin: .25rem 0 .75rem;
}

@media(min-width:992px) {
    .h1 {
        font-size: 3rem
    }
}

h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 0 0 .5rem
}

h3 {
    font-size: 1.1rem;
    margin: .25rem 0
}

p {
    color: var(--ink);
    opacity: .92;
    font-size: clamp(1rem, 0.6vw + 0.8rem, 1.125rem);
    /* ~16–18px range */
    line-height: 1.6;
    /* ~1.5+ for comfortable reading */
}

.btn {
    display: inline-block;
    border: 1px solid var(--edge);
    padding: .65rem 1rem;
    border-radius: 9999px
}

.btn--primary {
    background: var(--brand);
    color: #001c34;
    border-color: transparent;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .12);
}

/* Accessibility: clear link focus */
:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--brand) 60%, black);
    outline-offset: 2px;
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .55rem;
    border-radius: 9999px;
    background: var(--glass);
    border: 1px solid var(--edge);
    font-size: .78rem;
    color: var(--muted)
}

.hero {
    padding: 56px 28px 14px;
border-radius: 25px;
    /* tighten bottom padding */
    background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 8%, transparent), transparent 45%);
}

.hero-media .ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    /* keep vertical */
    max-width: 360px;
    /* don’t let it stretch too wide */
    max-height: 640px;
    margin-inline: auto;
    border-radius: 25px;
    /* softer look */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

@media(min-width: 992px) {
    .hero-media .ratio {
        max-width: 400px;
        max-height: 720px;
    }
}

.hero-media .ratio {
    border: 1px solid var(--edge);
}

@media(min-width:1200px) {

    /* On very large screens, hold them a bit shorter */
    .hero-media .ratio {
        max-height: clamp(360px, 42vh, 520px);
    }
}

.hero-media .ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16
}

.hero-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.statbar {
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    justify-content: flex-start
}

.stat {
    background: var(--glass);
    border: 1px solid var(--edge);
    padding: .75rem 1rem;
    border-radius: 12px;
    text-align: center
}

.stat strong {
    font-size: 1.2rem
}

.card {
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    padding: 18px
}

.card--headline {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.pill {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: 9999px;
    padding: .25rem .6rem;
    font-size: .82rem;
    color: var(--muted)
}

.divider {
    height: 1px;
    background: var(--edge);
    margin: 12px 0
}

.media {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.media img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--edge)
}

.list {
    display: grid;
    gap: 10px
}

.list li {
    list-style: none;
    display: flex;
    gap: .6rem;
    align-items: flex-start
}

.list li::before {
    content: '✓';
    color: var(--ok);
    margin-top: .1rem
}

.cta-band {
    background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 12%, transparent), color-mix(in oklab, var(--brand) 3%, transparent));
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.kpis {
    display: grid;
    gap: 16px
}

@media(min-width:992px) {
    .kpis {
        grid-template-columns: repeat(4, 1fr)
    }
}

.kpi {
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: 12px;
    padding: 16px;
    text-align: center
}

.kpi small {
    color: var(--muted)
}

.quote {
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    padding: 16px
}

/* FAQ layout: stable grid (no column reflow jump) */
.cols {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    /* mobile */
    align-items: start;
}

@media(min-width:992px) {
    .cols {
        grid-template-columns: 1fr 1fr;
        /* two columns on desktop */
    }
}

/* FAQ details styling */
details {
    background: var(--card);
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    padding: 12px 14px;
}

/* clickable question */
details>summary {
    list-style: none;
    /* remove default marker */
    cursor: pointer;
    font-weight: 600;
    outline: none;
}

/* hide default marker in WebKit */
details>summary::-webkit-details-marker {
    display: none;
}

/* custom caret */
details>summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 8px;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

details[open]>summary::before {
    transform: rotate(90deg) translateY(0);
}

/* answer text */
details>p {
    margin-top: 10px;
    font-size: 1rem;
    /* keep body size (no giant jump) */
    line-height: 1.6;
}

/* subtle open state background */
details[open] {
    background: var(--glass);
}

/* Sticky bottom CTA (appears after scroll) */
.sticky-cta {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    z-index: 1000;
    background: var(--card);
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
    border-radius: 9999px;
    padding: 8px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease
}

.sticky-cta.show {
    opacity: 1;
    pointer-events: auto
}

/* Accessibility utilities */
.vh {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden
}

/* Shorts: phone-like vertical container */
/* Shorts: phone-like vertical container */
.shorts .ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    /* vertical */
    max-width: 400px;
    max-height: 720px;
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
    /* enables safe crop */
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    border: 1px solid var(--edge);
}

/* Fill & slight overscan to hide player gutters */
.shorts .ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform: scale(var(--shorts-zoom, 1.14));
    /* bump if you still see bars */
    transform-origin: center;
}

@media (min-width: 768px) {
    .shorts .ratio {
        max-width: 420px;
        max-height: 740px;
    }

    .shorts .ratio iframe {
        --shorts-zoom: 1.16;
    }
}

@media (min-width: 1200px) {
    .shorts .ratio {
        max-width: 440px;
        max-height: 760px;
    }

    .shorts .ratio iframe {
        --shorts-zoom: 1.18;
    }
}

/* Reduce top padding on the first section after hero */
.section:first-of-type {
    padding-top: 32px;
}

/* Accelerator Program callout */
.callout {
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin: 12px 0;
    font-size: 0.95rem;
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

/* Prose defaults for long-form content */
.prose {
    max-width: 68ch !important;
    /* beautiful line length */
    line-height: 1.7 !important;
    font-size: 1.05rem !important;
    /* optional slight bump for readability */
    margin-inline: auto !important; 
}

/* Paragraph rhythm */
.prose p {
    margin: 0 0 1.05em !important;
    line-height: 1.7 !important; /* ensure prose line-height wins over global p rule */
}

/* Headings: more space above than below so they "own" the next block */
.prose h1,
.prose h2,
.prose h3 {
    line-height: 1.2;
    margin: 1.6em 0 0.6em;
}

/* Lists: airy items, tighter bullets */
.prose ul,
.prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.2em;
}

.prose li {
    margin: 0.4em 0;
}

/* Images: use figure for captions, give breathing room */
.prose figure {
    margin: clamp(12px, 3vw, 28px) 0;
}

.prose img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.prose figcaption {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 6px;
    text-align: center;
}

/* Pull-quotes (optional) */
.prose blockquote {
    margin: 1.2em 0;
    padding: 0.6em 1em;
    border-left: 3px solid color-mix(in oklab, var(--brand) 40%, black);
    background: var(--glass);
    border-radius: 10px;
}

/* Section spacing tuned for long reads (scoped to prose only) */
.prose .section {
    padding: clamp(12px, 3vw, 22px) 0;
}