/* ==========================================================================
   StadiumStub — product site

   This is a STANDALONE product site on its own domain. It is deliberately a
   different brand from anything else: dark stadium-night surfaces, a hot
   orange accent taken from the app itself, and consumer-facing energy.

   Do not turn this into a section of another company's website, do not add
   cross-links to a parent company's products, and do not serve it from a
   subdomain of one. See the README for why that matters.
   ========================================================================== */

:root {
    --bg:      #ffffff;
    --bg-alt:  #f7f9fc;
    --night:   #070b14;
    --night-2: #0e1524;

    --ink:   #0b1220;
    --body:  #48566b;   /* 7.6:1 on white */
    --muted: #66748a;   /* 4.9:1 on white — lightest that clears AA */

    --accent:      #c2410c;   /* 5.18:1 on white — text, links, buttons on light */
    --accent-brand:#f2570d;   /* the app's orange: fills and dark surfaces only, 3.42:1 */
    --accent-hot:  #ff7a3d;   /* dark surfaces only */
    --accent-warm: #ffa41b;
    --accent-cool: #22d3ee;
    --accent-soft: #fff1e9;

    --ok:      #0b7a51;
    --ok-soft: #e8f8f0;

    --border: #e5eaf1;
    --border-strong: #d3dbe6;
    --border-dark: rgba(255, 255, 255, 0.14);

    --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --display: "Inter Tight", var(--sans);

    --radius:    16px;
    --radius-sm: 11px;
    --pill:      999px;

    --shadow-sm: 0 2px 5px rgba(11, 18, 32, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow:    0 16px 36px rgba(11, 18, 32, 0.10), 0 5px 14px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 34px 64px rgba(11, 18, 32, 0.20), 0 12px 26px rgba(0, 0, 0, 0.10);

    --t-h1:   clamp(2.6rem, 5.4vw, 4.5rem);
    --t-h2:   clamp(2rem, 3.6vw, 3rem);
    --t-lead: clamp(1.075rem, 1.35vw, 1.3rem);

    --gutter: clamp(1.25rem, 5vw, 3rem);
    --maxw:   1180px;
    --band:   clamp(4.5rem, 9vw, 7.5rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
::selection { background: var(--accent-soft); color: var(--ink); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: 0.8rem 1.25rem;
    font-weight: 500; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------- typography -- */

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.024em;
    text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.03; font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.28rem;     line-height: 1.3;  font-weight: 600; }
h4 { font-size: 0.95rem;     line-height: 1.4;  font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lead { font-size: var(--t-lead); line-height: 1.56; }

strong { color: var(--ink); font-weight: 600; }
a { color: inherit; }

.eyebrow {
    display: inline-block;
    font-size: 0.9rem; font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.link {
    color: var(--accent); font-weight: 500; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.35rem;
}
.link::after { content: "→"; transition: transform 0.25s var(--ease); }
.link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------- layout -- */

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

.section { padding-block: var(--band); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 0; }

.section-head { max-width: 660px; margin: 0 auto clamp(2.75rem, 5vw, 4rem); text-align: center; }
.section-head p { margin-inline: auto; }

.grid-2, .grid-3 { display: grid; gap: clamp(1.5rem, 3vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------ dark bands -- */

.dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--night);
    color: rgba(255, 255, 255, 0.76);
}
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong { color: #fff; }
.dark .eyebrow { color: var(--accent-warm); }
.dark .container { position: relative; z-index: 1; }
.dark ::selection { background: var(--accent-hot); color: #fff; }

.glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
    pointer-events: none; z-index: 0;
    animation: drift 28s ease-in-out infinite;
    will-change: transform;
}
.glow--fire  { background: radial-gradient(circle, rgba(242, 87, 13, 0.55) 0%, rgba(242, 87, 13, 0) 70%); }
.glow--amber { background: radial-gradient(circle, rgba(255, 164, 27, 0.42) 0%, rgba(255, 164, 27, 0) 70%); animation-duration: 34s; animation-delay: -9s; }
.glow--cool  { background: radial-gradient(circle, rgba(34, 211, 238, 0.30) 0%, rgba(34, 211, 238, 0) 70%); animation-duration: 31s; animation-delay: -17s; }

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(4%, 4%, 0) scale(1.08); }
    66%      { transform: translate3d(-3%, 2%, 0) scale(0.94); }
}

/* Faint pitch lines, so the dark bands read as a stadium rather than a void. */
.dark::after {
    content: "";
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 100%);
}

/* ------------------------------------------------------------------ nav -- */

.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--border-dark);
}
/* No backdrop-filter below 900px: it makes .nav a containing block for fixed
   descendants, which collapses the full-screen menu to the header's height. */
@media (max-width: 899px) {
    .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
}

.nav-inner {
    max-width: var(--maxw); margin: 0 auto;
    padding: 0.85rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.logo {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--display); font-size: 1.24rem; font-weight: 700;
    letter-spacing: -0.03em; color: #fff; text-decoration: none; line-height: 1;
}
.logo__glyph {
    width: 26px; height: 26px; border-radius: 8px;
    background: linear-gradient(150deg, var(--accent-warm), var(--accent-brand));
    display: grid; place-items: center; flex: none;
}
.logo__glyph svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2.2; }

.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a {
    font-size: 0.96rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.74); text-decoration: none;
    padding: 0.5rem 0.8rem; border-radius: var(--radius-sm);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-links a[aria-current="page"] { color: var(--accent-warm); }
.nav-links .btn { margin-left: 0.5rem; }

.nav-toggle {
    display: none; background: none;
    border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
    color: #fff; font-family: inherit; font-size: 0.9rem; font-weight: 500;
    padding: 0.5rem 0.85rem; cursor: pointer;
}

@media (max-width: 899px) {
    .nav-toggle { display: block; position: relative; z-index: 2; }
    .logo { position: relative; z-index: 2; }
    .nav-links {
        position: fixed; inset: 0;
        flex-direction: column; justify-content: center; align-items: stretch;
        gap: 0.3rem; padding: 0 var(--gutter);
        background: var(--night);
        transform: translateY(-100%);
        transition: transform 0.42s var(--ease);
    }
    .nav-links[data-open="true"] { transform: translateY(0); }
    .nav-links a { font-size: 1.2rem; padding: 0.85rem 0; }
    .nav-links .btn { margin: 0.75rem 0 0; justify-content: center; }
}

/* --------------------------------------------------------------- button -- */

.btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-family: inherit; font-size: 0.98rem; font-weight: 600;
    text-decoration: none; padding: 0.72rem 1.3rem;
    border-radius: var(--pill); border: 1px solid transparent;
    /* Both stops clear 4.5:1 against the white label: #d0470c is 4.58, #ab3809
       is 6.3. A brighter first stop looks better and fails the label. */
    background: linear-gradient(140deg, #d0470c, #ab3809);
    color: #fff; white-space: nowrap;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
                background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(194, 65, 12, 0.34); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }

.btn--outline { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--border-dark); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.13); box-shadow: none; }

.btn--lg { padding: 0.88rem 1.7rem; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 2rem; }

.app-badge { display: inline-block; }
.app-badge img { width: 156px; height: 52px; }

/* ----------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero .glow--fire  { width: 680px; height: 680px; top: -220px; left: -170px; opacity: 0.85; }
.hero .glow--amber { width: 560px; height: 560px; top: -130px; right: -140px; opacity: 0.7; }
.hero .glow--cool  { width: 460px; height: 460px; bottom: -240px; left: 32%; opacity: 0.55; }

.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); } }

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { max-width: 34rem; color: rgba(255, 255, 255, 0.8); }

.hero--page { text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.hero--page .lead { margin-inline: auto; color: rgba(255, 255, 255, 0.8); }
.hero--page .btn-row { justify-content: center; }

/* Composed art: a lead device with a second set behind it. Both are real app
   screens — never composite a fabricated screen in here. */
/* position:relative is load-bearing: without it the absolutely-placed back
   device anchors to .visual instead and floats above the lead phone. */
.hero-art { position: relative; display: grid; place-items: center; min-height: 500px; }
.hero-art .device {
    width: 258px; transform: rotate(-2.5deg);
    animation: float 9s ease-in-out infinite;
}
.hero-art .device--back {
    position: absolute; right: -1%; bottom: 5%;
    width: 182px; transform: rotate(7deg);
    animation: float 11s ease-in-out infinite; animation-delay: -3.5s;
    z-index: 0;
}
.hero-art .device--lead { position: relative; z-index: 1; }

@keyframes float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
}

@media (max-width: 560px) {
    .hero-art { min-height: 0; }
    .hero-art .device--back { display: none; }
}

/* --------------------------------------------------------------- device -- */

.device {
    position: relative;
    width: min(268px, 74%); margin-inline: auto;
    border-radius: 2.3rem; padding: 0.45rem;
    background: linear-gradient(160deg, #333c4f, #0b0f18 65%);
    box-shadow: var(--shadow-lg);
}
.device__screen { border-radius: 1.95rem; overflow: hidden; background: #000; aspect-ratio: 600 / 1303; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; }

.visual { position: relative; }
.visual-glow {
    position: absolute; inset: 10% 8%; border-radius: 50%;
    background: linear-gradient(135deg, #ffd8a8, #ffb37a 45%, #a5f3fc);
    filter: blur(60px); opacity: 0.5; z-index: 0;
}
.dark .visual-glow { opacity: 0.28; }
/* Direct children only. A descendant selector here has the same specificity as
   `.hero-art .device--back` but comes later, so it would reset that device to
   position:relative and drop it out of place. */
.visual > .device, .visual > .panel, .visual > .gauge { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- badges -- */

.badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.83rem; font-weight: 600;
    padding: 0.3rem 0.75rem; border-radius: var(--pill);
    background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border);
}
.badge--free { background: var(--ok-soft); color: var(--ok); border-color: #c7ecd9; }
.badge--pro  { background: var(--accent-soft); color: #b8410a; border-color: #ffd9c4; }
.dark .badge { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.82); border-color: var(--border-dark); }
.dark .badge--free { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border-color: rgba(110, 231, 183, 0.3); }
.dark .badge--live::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent-hot);
    box-shadow: 0 0 0 0 rgba(255, 122, 61, 0.7);
    animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
    0%   { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0.65); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 122, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0); }
}

/* ----------------------------------------------------------------- card -- */

.card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 1.9rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
/* Flex children stretch by default, which pulls a pill badge across the whole
   card width. */
.card > .badge { align-self: flex-start; }
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 1rem; }
.card__icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

.dark .card { background: rgba(255, 255, 255, 0.045); border-color: var(--border-dark); box-shadow: none; }
.dark .card:hover { background: rgba(255, 255, 255, 0.075); border-color: rgba(255, 255, 255, 0.24); }
.dark .card p { color: rgba(255, 255, 255, 0.74); }
.dark .card__icon { background: rgba(242, 87, 13, 0.16); }
.dark .card__icon svg { stroke: var(--accent-hot); }

/* --------------------------------------------------------------- threat -- */
/* The Delay Risk / Threat Matrix band. The one place amber alert styling is
   allowed — it is the app's flagship feature and should feel like a warning. */

.threat { background: var(--night-2); }
.threat .glow--fire  { width: 620px; height: 620px; top: -180px; right: -160px; opacity: 0.7; }
.threat .glow--amber { width: 520px; height: 520px; bottom: -260px; left: -120px; opacity: 0.62; }

.gauge {
    position: relative; z-index: 1;
    border: 1px solid rgba(255, 164, 27, 0.32);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 164, 27, 0.13), rgba(242, 87, 13, 0.07));
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.gauge__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.gauge__label {
    font-family: var(--display); font-weight: 700; font-size: 1.1rem;
    color: #fff; letter-spacing: -0.02em;
}
.gauge__value { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--accent-warm); }

.gauge__track {
    height: 12px; border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.1); overflow: hidden;
}
.gauge__fill {
    height: 100%; width: 72%;
    border-radius: var(--pill);
    background: linear-gradient(90deg, #22d3ee, var(--accent-warm) 55%, var(--accent-brand));
    transform-origin: left;
    animation: fill 2.4s var(--ease) both;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.gauge__scale {
    display: flex; justify-content: space-between;
    margin-top: 0.7rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
}

.gauge__rows { margin-top: 1.75rem; display: grid; gap: 0.6rem; }
.gauge__row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.75rem 1rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-dark);
    font-size: 0.95rem;
}
.gauge__row span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------- steps --- */

.steps { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 34px; height: 34px; border-radius: var(--pill);
    /* Both stops clear 4.5:1 against the white label: #d0470c is 4.58, #ab3809
       is 6.3. A brighter first stop looks better and fails the label. */
    background: linear-gradient(140deg, #d0470c, #ab3809);
    color: #fff; font-family: var(--display); font-weight: 700; font-size: 0.95rem;
    display: grid; place-items: center;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.98rem; }

/* --------------------------------------------------------------- plans --- */

.plans { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, 1fr); } }

.plan {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
}
.plan--pro {
    border-color: rgba(242, 87, 13, 0.35);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 26%);
}
.plan h3 { font-size: 1.5rem; margin: 0.75rem 0 0.35rem; }
.plan__price { font-size: 0.97rem; color: var(--muted); margin-bottom: 1.4rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.plan li { position: relative; padding-left: 1.75rem; font-size: 0.99rem; }
.plan li::before {
    content: ""; position: absolute; left: 0; top: 0.45em;
    width: 13px; height: 7px; border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent); transform: rotate(-45deg); border-radius: 1px;
}
.plan .btn-row { margin-top: 1.75rem; }

/* Subscription options. Apple requires the term and price to be legible wherever
   a subscription is marketed, so these are real values, not "from" pricing. */
.tiers {
    display: grid; gap: 0.6rem; margin: 1.25rem 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tier {
    position: relative;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 0.85rem 0.95rem; background: #fff;
}
.tier--best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier__term {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.tier__price {
    display: block; font-family: var(--display); font-weight: 700;
    font-size: 1.35rem; color: var(--ink); line-height: 1.2; margin-top: 0.2rem;
    letter-spacing: -0.02em;
}
.tier__note { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }
.tier__flag {
    position: absolute; top: -9px; right: 10px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--accent); color: #fff; padding: 0.12rem 0.45rem; border-radius: var(--pill);
}
.plan__legal { font-size: 0.85rem; color: var(--muted); margin-top: 1.25rem; }
.plan__legal a { color: var(--accent); }

/* -------------------------------------------------------------- leagues -- */

.leagues { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.league {
    font-size: 0.94rem; font-weight: 600; color: var(--ink);
    padding: 0.5rem 1rem; border-radius: var(--pill);
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.league--soon { color: var(--muted); font-weight: 500; background: var(--bg-alt); box-shadow: none; }

/* ----------------------------------------------------------------- shots -- */

.shots { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shot { margin: 0; }
.shot .device { width: 100%; }
.shot figcaption { margin-top: 0.9rem; font-size: 0.93rem; color: var(--muted); text-align: center; }
.shot figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.dark .shot figcaption { color: rgba(255, 255, 255, 0.66); }
.dark .shot figcaption strong { color: #fff; }

/* -------------------------------------------------------------- feature -- */

.feature { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature--flip .visual { order: -1; }
}
.feature + .feature { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.feature h2 { margin: 0.7rem 0 1rem; }
.feature ul { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 1.75rem; margin-bottom: 0.65rem; max-width: 34rem; }
.feature li::before {
    content: ""; position: absolute; left: 0; top: 0.45em;
    width: 13px; height: 7px; border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent); transform: rotate(-45deg); border-radius: 1px;
}
.dark .feature li::before { border-color: var(--accent-hot); }

/* --------------------------------------------------------- prose (docs) -- */

.doc h2 { font-size: 1.45rem; margin: 2.4rem 0 0.85rem; }
.doc h3 { font-size: 1.08rem; margin: 1.7rem 0 0.55rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.55rem; max-width: 62ch; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); }
.doc .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }

/* --------------------------------------------------------------- footer -- */

.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.66); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }

.footer-grid h4 { color: #fff; margin-bottom: 0.9rem; font-size: 0.92rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer-grid a:hover { color: var(--accent-warm); }
.footer-blurb { font-size: 0.97rem; max-width: 32ch; margin-top: 0.9rem; }

.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
    border-top: 1px solid var(--border-dark);
    display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
    font-size: 0.9rem; color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------- motion -- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .btn, .card, .link::after { transition: none !important; }
    .btn:hover, .card:hover { transform: none; }
    /* Ambient loops off entirely — they run forever, so leaving any on defeats
       the point of the preference. */
    .glow, .hero-art .device, .gauge__fill, .badge--live::before { animation: none !important; }
    .hero-art .device { translate: none; }
    .gauge__fill { transform: none; }
}
