/* IPSC Quick Score — the site, built out of the app's own design tokens.
   No framework, no build step. Uploaded as-is and must keep working untouched.

   Every value below is either lifted from the app (Theme.swift), sampled from
   the app icon, or derived from one of those two. Nothing here is a default. */

/* ------------------------------------------------------------------ tokens */

:root {
    /* Ground and surfaces. The navy is the icon's, sampled from the shipped
       1024px asset. Cards lift off it the way the app's cards lift off
       systemGroupedBackground. */
    /* 4.0 (Nov 2026): the navy, cream and gold of the 4.0 reels and App Store
       images, so an ad, the store page and this site read as one thing. */
    --field:    #081D35;
    --field-2:  #0A2240;   /* recessed - footer, sunk bands */
    --card:     #0F2B4B;
    --card-2:   #163A61;   /* raised: hover, active tile */

    /* The figure colour out of the icon. Warm, not white - that warmth over
       cool navy is what gives the icon its quality, so the site keeps it. */
    --bone:       #F5F1E4;
    --bone-dim:   rgba(245, 241, 228, .72);
    --bone-faint: rgba(245, 241, 228, .56);

    /* "A hint rather than a border" - Theme.hairline, same intent. */
    --rule:      rgba(245, 241, 228, .10);
    --rule-firm: rgba(245, 241, 228, .20);

    /* The reels' gold: the second line of every headline, and nothing else
       that is not a mark of emphasis. */
    --brass: #E5C35A;

    /* The brass pushed brighter and more yellow, for the big calculator
       figures on the homepage cards only. */
    --brass-bright: #F5CD47;

    /* Theme.zoneColor, unchanged. Used ONLY where they mean that zone. */
    --alpha:   #33B86B;
    --charlie: #D9B326;
    --delta:   #E68026;
    --penalty: #D94040;

    /* The app's real accent: AccentColor.colorset is empty, so the app runs on
       iOS system blue. Lifted a step for legible text on navy. */
    --blue:      #4DA6FF;
    --blue-solid:#0A84FF;

    /* Theme.corner = 14, Theme.gap = 10. Literal, not "interpreted" - the
       tight rhythm is a characteristic of the app worth carrying over. */
    --r:   18px;
    --r-sm: 11px;
    --gap: 12px;

    /* Headlines: the system's own heavy grotesque, set tight like the reels.
       On an iPhone or a Mac that is SF Pro, so nothing is downloaded for it. */
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                    "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica,
                    Arial, sans-serif;

    /* One curve for everything that moves: quick out of the gate, long settle. */
    --ease: cubic-bezier(.2, .75, .15, 1);

    /* ui-rounded resolves to SF Rounded on Apple devices - which is every
       device that can run the app, so the figures are set in the app's own
       face for everyone who matters and nothing is fetched to do it. A webfont
       was loaded here for the Windows and Android desktop minority; it cost a
       render-blocking request to fonts.googleapis.com on every page load, on a
       site whose whole argument is that nothing phones home. Not worth it. */
    --font-figure: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display",
                   -apple-system, system-ui, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif;

    --measure: 66ch;
    --shadow: 0 1px 2px rgba(4, 12, 22, .5), 0 18px 40px -22px rgba(4, 12, 22, .9);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    background: var(--field);
    color: var(--bone);
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--bone); }

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

.u-wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.u-narrow { max-width: var(--measure); }

/* Small letterspaced label. The app sets its zone letters this way; reusing it
   for eyebrows keeps one voice rather than introducing a third typeface. */
.u-eyebrow {
    font-family: var(--font-figure);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--bone-faint);
    margin: 0;
}

/* ------------------------------------------------------------------ header */

.masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 36, 63, .86);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--rule);
}

.masthead__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
}

.masthead__mark {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
    color: var(--bone);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
}

/* The silhouette alone, not the app tile: the icon's navy ground is this
   bar's navy ground, so the tile has no edge to show and the figure reads as
   a mark anyway. */
.masthead__mark img { width: 27px; height: 24px; object-fit: contain; display: block; }

/* Pills rather than bare links. These three are the only way into the parts of
   the site that are not the homepage, and as plain text at 14.5px they read as
   fine print next to a 60px-tall bar. Given a shape, a hit area and a hover
   state, they read as things you press. */
.masthead__nav { display: flex; gap: 6px; font-size: 14.5px; }

.masthead__nav a {
    display: flex;
    align-items: center;
    /* Apple's minimum comfortable tap target. The bar is 60px tall, so a 44px
       pill sits inside it with room to spare. */
    min-height: 44px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid transparent;
    color: var(--bone-dim);
    text-decoration: none;
    font-family: var(--font-figure);
    font-weight: 700;
    letter-spacing: -.005em;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.masthead__nav a:hover {
    background: var(--card);
    border-color: var(--rule);
    color: var(--bone);
}

.masthead__nav a:active { background: var(--card-2); }

/* The page you are on, marked. Cheap orientation on a site where four of the
   nine pages are reached only from this bar or the footer. */
.masthead__nav a[aria-current="page"] {
    background: var(--card);
    border-color: var(--rule-firm);
    color: var(--bone);
}

/* Three pills at full size do not fit beside the mark on a small phone - they
   pushed the bar 15px wider than a 320px screen. Tighten the pills rather than
   dropping one: each is the only route to a section. The 44px height stays. */
@media (max-width: 470px) {
    .masthead__nav { gap: 4px; }
    .masthead__nav a { font-size: 13px; padding: 0 10px; }
}

@media (max-width: 340px) {
    .masthead__nav a { font-size: 12.5px; padding: 0 8px; }
}

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

.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 72px); }

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}

.hero__title {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: clamp(37px, 6.2vw, 60px);
    line-height: 1.04;
    letter-spacing: -.032em;
    margin: 14px 0 0;
    text-wrap: balance;
}

/* The one word the whole page turns on. */
.hero__title em {
    font-style: normal;
    color: var(--brass);
}

.hero__lead {
    color: var(--bone-dim);
    font-size: 18.5px;
    max-width: 46ch;
    margin: 18px 0 0;
}

.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }

.btn {
    display: inline-block;
    background: var(--blue-solid);
    color: #fff;
    font-family: var(--font-figure);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -.01em;
    padding: 13px 24px;
    border-radius: var(--r);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--shadow);
    transition: transform .16s ease, filter .16s ease;
}

.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.hero__meta { color: var(--bone-faint); font-size: 14px; margin: 0; }

/* ------------------------------------------------- signature: score card */
/* This is the app's Enter Score screen, rebuilt. Same running order - readout,
   power factor, zone grid - same two-column zone layout, same minus strip
   inside each tile, and the same four-decimal hit factor the sport uses. */

.card-shell { display: grid; gap: 10px; }

.scorecard {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 15px;
    box-shadow: var(--shadow);
}

.scorecard__eyebrow { margin-bottom: 12px; }

/* Hits | Hit factor | Time | Pts - the app's header row. */
.readout {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "hits hf time pts";
    align-items: baseline;
    gap: 10px;
    background: var(--field-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    padding: 13px 14px;
}

.readout__cell--hits { grid-area: hits; }
.readout__cell--hf   { grid-area: hf; }
.readout__cell--time { grid-area: time; }
.readout__cell--pts  { grid-area: pts; }

.readout__cell { display: grid; gap: 2px; justify-items: center; min-width: 0; }

.readout__hf {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(27px, 4.6vw, 34px);
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--bone);
    white-space: nowrap;
}

.readout__hf.is-zero { color: var(--bone-faint); }

.readout__n {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
    line-height: 1;
    color: var(--bone-dim);
}

.readout__l {
    font-family: var(--font-figure);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bone-faint);
    white-space: nowrap;
}

/* Time is the one figure on this card the reader supplies, so it is a field
   rather than a readout - but it is sized and set like its neighbours. */
.readout__time {
    width: 4.4ch;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed var(--rule-firm);
    color: var(--bone);
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(21px, 3.4vw, 26px);
    line-height: 1;
    letter-spacing: -.03em;
    text-align: center;
    padding: 0 0 2px;
}

.readout__time:focus { outline: none; border-bottom-color: var(--blue); }

.segmented {
    display: flex;
    background: var(--field-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    padding: 3px;
    gap: 3px;
    margin: var(--gap) 0;
}

.segmented button {
    flex: 1;
    border: 0;
    background: transparent;
    color: var(--bone-faint);
    font-family: var(--font-figure);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 7px 13px;
    border-radius: 6px;
    cursor: pointer;
}

.segmented button[aria-pressed="true"] { background: var(--card-2); color: var(--bone); }

/* Scoring zones down the left, penalties down the right - Theme.zoneDisplayOrder.
   That is how a score is read aloud and how the target is marked, not an
   arbitrary grid. */
.zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

/* The tile and its minus are siblings sharing one rounded shell, which is how
   the app draws them - and keeps them two real buttons rather than a button
   nested inside a button. */
.zone-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--zone-edge, var(--rule));
    border-radius: var(--r-sm);
    background: var(--zone-fill, rgba(246, 242, 232, .05));
    overflow: hidden;
    transition: background .14s ease, border-color .14s ease;
}

.zone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 11px 12px;
    border: 0;
    background: transparent;
    color: var(--bone);
    font-family: var(--font-figure);
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.zone:hover { background: rgba(246, 242, 232, .05); }

.zone__letter {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--zone-ink, var(--bone-dim));
}

.zone__count {
    font-size: 21px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--bone-faint);
}

.zone-wrap.is-live .zone__count { color: var(--bone); }

/* Disabled rather than hidden: the strip is part of the tile's shape in the
   app, and a control that appears and disappears makes the grid jump. */
.zone__minus {
    flex: none;
    width: 42px;
    border: 0;
    border-left: 1px solid var(--rule);
    background: rgba(4, 12, 22, .22);
    color: var(--bone-faint);
    font-family: var(--font-figure);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.zone__minus:disabled { opacity: .35; cursor: default; }
.zone__minus:not(:disabled):hover { background: var(--penalty); color: #fff; }

.scorecard__hint {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--bone-faint);
}

/* ---------------------------------------------------------------- sections */

.band { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }

.band__head { margin-bottom: 26px; }

.band__title {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: clamp(25px, 3.4vw, 33px);
    letter-spacing: -.026em;
    line-height: 1.12;
    margin: 10px 0 0;
    text-wrap: balance;
}

.band__sub { color: var(--bone-dim); margin: 12px 0 0; max-width: 54ch; }

/* The app's card rhythm: 14px radius, 10px gap. Deliberately tighter than a
   website would normally sit - that density is a characteristic of the app. */
.deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: var(--gap);
    list-style: none;
    padding: 0;
    margin: 0;
}

.deck__item {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 20px;
}

.deck__mark {
    font-family: var(--font-figure);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mark, var(--bone-faint));
    display: block;
    margin-bottom: 10px;
}

.deck__title {
    font-family: var(--font-figure);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
    margin: 0 0 6px;
}

.deck__body { color: var(--bone-dim); font-size: 15px; margin: 0; }

/* The homepage's four cards: four across on a desktop rather than three and
   an orphan, two by two on a tablet, stacked on a phone. */
.deck--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) { .deck--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .deck--four { grid-template-columns: minmax(0, 1fr); } }

/* What did not earn a card, in one line under the deck. */
.deck__also { margin: 18px 0 0; font-size: 14.5px; color: var(--bone-faint); }

/* Screenshots */
/* The app itself, one real screen per step, in the order a shooter meets it:
   score the stage, keep the run, read the season. Numbered because it is a
   sequence. Three across on a desktop; stacked on a phone, with the screens
   shrunk so each step still fits on one screen with its words. */

.showcase__head { text-align: center; }

.showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 34px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.showcase__step { text-align: center; min-width: 0; }

.showcase__step img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto 20px;
    /* Roughly the screen's own corner at this size, so the capture reads as a
       phone rather than a rectangle. */
    border-radius: 30px;
    border: 1px solid var(--rule-firm);
    box-shadow: var(--shadow);
}

.showcase__n {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-family: var(--font-figure);
    font-size: 13px;
    font-weight: 800;
    color: var(--brass);
    background: rgba(225, 194, 111, .1);
    border: 1px solid rgba(225, 194, 111, .28);
}

.showcase__title {
    font-family: var(--font-figure);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.015em;
    margin: 10px 0 4px;
}

.showcase__body { color: var(--bone-dim); font-size: 15px; margin: 0 auto; max-width: 28ch; }

@media (max-width: 700px) {
    .showcase { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .showcase__step img { max-width: 210px; }
}

/* Callout */

.note {
    background: var(--card);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--brass);
    border-radius: var(--r);
    padding: 20px 22px;
    font-size: 15.5px;
}

.note > :first-child { margin-top: 0; }
.note > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- long-form */

.doc { max-width: var(--measure); padding: clamp(38px, 6vw, 64px) 0 20px; }

.doc__title {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: clamp(31px, 5vw, 42px);
    letter-spacing: -.03em;
    line-height: 1.06;
    margin: 12px 0 0;
}

.doc__stamp { color: var(--bone-faint); font-size: 14.5px; margin: 10px 0 34px; }

/* Support has no date stamp under its title, and the stamp is what normally
   supplies the gap before the first block. Only fires when a note follows the
   title directly, so the dated pages are untouched. */
.doc__title + .note { margin-top: 30px; }

.doc h2 {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: 19.5px;
    letter-spacing: -.015em;
    margin: 36px 0 10px;
}

.doc h3 { font-family: var(--font-figure); font-size: 17px; font-weight: 800; margin: 26px 0 6px; }
.doc p { color: var(--bone-dim); }
.doc ul,
.doc ol { padding-left: 20px; color: var(--bone-dim); }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--bone); }
.doc code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .88em;
    background: var(--field-2);
    border: 1px solid var(--rule);
    border-radius: 5px;
    padding: 1px 5px;
}

/* ------------------------------------------------------- Q&A disclosure */

.qa { display: grid; gap: var(--gap); margin: 0; }

.qa__item {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    overflow: hidden;
}

.qa__item[open] { border-color: var(--rule-firm); }

.qa__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-figure);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -.012em;
    color: var(--bone);
}

.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { background: var(--card-2); }

/* Chevron drawn in CSS - one element, no icon font, rotates on open. */
.qa__q::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--bone-faint);
    border-bottom: 2px solid var(--bone-faint);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .2s ease;
}

.qa__item[open] .qa__q::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.qa__a { padding: 0 18px 17px; border-top: 1px solid var(--rule); }
.qa__a > p { margin: 14px 0 0; color: var(--bone-dim); font-size: 15.5px; }

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

.foot {
    border-top: 1px solid var(--rule);
    background: var(--field-2);
    padding: 34px 0 56px;
    font-size: 14.5px;
    color: var(--bone-faint);
}

.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.foot__nav a { color: var(--bone-dim); text-decoration: none; }
.foot__nav a:hover { color: var(--bone); }
.foot p { margin: 5px 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 860px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__card { max-width: 420px; }
}

/* Four columns stop fitting well before the phone does. Rather than shrink
   the hit factor to make room, give it the row it deserves and let the three
   supporting figures share the one beneath. */
@media (max-width: 520px) {
    .readout {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "hf   hf   hf"
            "hits time pts";
        row-gap: 14px;
    }
    .readout__hf { font-size: clamp(34px, 11vw, 46px); }
    .readout__time { font-size: 20px; }
}

@media (max-width: 430px) {
    body { font-size: 16px; }
    .u-wrap { padding: 0 16px; }
    .masthead__mark span { display: none; }
    .deck__item { padding: 17px; }
}

/* ------------------------------------------------------------ closing CTA */
/* The hero button has scrolled well out of sight by the time someone reaches
   the end of the page, and the end of the page is where a reader who is still
   reading has decided. Ask there rather than making them scroll back. */

.closer { border-top: 1px solid var(--rule); }
.closer__inner { text-align: center; }
.closer .band__sub { margin-left: auto; margin-right: auto; }
.closer__cta { justify-content: center; margin-top: 26px; }

/* ------------------------------------------------------------- mobile dock */
/* Phones are the overwhelming majority of traffic and the only device the app
   runs on, so on a phone the download stays on screen the whole way down.
   Desktop keeps the hero and the closer and is left alone - a bar pinned over
   a wide window reads as an ad. */

.dock {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(10, 30, 53, .92);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid var(--rule);
    /* Clear of the home indicator on a modern iPhone. */
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.dock__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1060px;
    margin: 0 auto;
    padding: 10px 16px;
}

.dock__line {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--font-figure);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bone-dim);
}

.btn--sm {
    flex: none;
    display: flex;
    align-items: center;
    /* 44px exactly: this is the thumb target on the bar that follows the
       reader down every page, and it was landing one pixel short. */
    min-height: 44px;
    font-size: 14.5px;
    padding: 0 18px;
    border-radius: var(--r-sm);
}

@media (max-width: 860px) {
    .dock { display: block; }
    /* The bar is fixed, so the footer needs somewhere to end that is not
       underneath it. Roughly the bar's own height plus the inset. */
    body:has(.dock) .foot { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0) + 34px); }
}

/* The second clause of the offer is the part that can go when there is no room
   for it; the seven days is the part that has to survive. */
@media (max-width: 420px) {
    .dock__line span { display: none; }
}

/* ---------------------------------------------------------- redeem a code */
/* A club code arrives in a forwarded email and gets opened on a phone, in a
   bay, by someone who has been told "there's an app". Everything about this
   block assumes the reader wants one tap and no reading. */

.redeem {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 20px 22px 18px;
    margin: 30px 0 8px;
}

.redeem__label {
    display: block;
    font-family: var(--font-figure);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--bone-faint);
    margin-bottom: 11px;
}

.redeem__row { display: flex; gap: var(--gap); align-items: stretch; }

/* Set like the app's own figures, and uppercase, because that is how the code
   is printed in the email it was copied out of. */
.redeem__input {
    flex: 1;
    min-width: 0;
    background: var(--field-2);
    border: 1px solid var(--rule-firm);
    border-radius: var(--r-sm);
    color: var(--bone);
    font-family: var(--font-figure);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 14px;
}

.redeem__input::placeholder { color: var(--bone-faint); letter-spacing: .08em; }
.redeem__input:focus { outline: none; border-color: var(--blue); }

.redeem__go { flex: none; align-content: center; padding: 13px 22px; }

/* Dimmed rather than removed: a control that appears once the field is long
   enough makes the row jump under the reader's thumb. */
.redeem__go[aria-disabled="true"] {
    opacity: .42;
    box-shadow: none;
    cursor: default;
}

.redeem__go[aria-disabled="true"]:hover { filter: none; transform: none; }

.redeem__hint {
    margin: 12px 0 0;
    font-size: 13.5px;
    color: var(--bone-faint);
}

@media (max-width: 430px) {
    .redeem { padding: 17px 17px 15px; }
    .redeem__row { flex-direction: column; }
    .redeem__go { text-align: center; }
}

/* ------------------------------------------------- calculator / long-form */
/* The tool page puts the calculator inside the reading column rather than
   beside it: the reader came for the calculator, so it goes where their eye
   already is and the explanation follows it. */

.tool { margin: 30px 0 10px; }

.formula {
    font-family: var(--font-figure);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--bone);
    background: var(--field-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    padding: 15px 18px;
    text-align: center;
}

/* Wide content scrolls inside its own box rather than pushing the page
   sideways - the six-row zone table is the only thing on the site that cannot
   simply reflow. */
.table-wrap { overflow-x: auto; margin-top: 16px; margin-bottom: 6px; }

.grid {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    font-size: 15.5px;
}

.grid th,
.grid td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--rule);
    color: var(--bone-dim);
}

.grid thead th {
    font-family: var(--font-figure);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bone-faint);
}

.grid td:first-child { color: var(--bone); font-weight: 600; }

.grid td:not(:first-child) {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--bone);
    width: 22%;
}

.grid tbody tr:last-child td { border-bottom: 0; }

/* The zone's own colour, carried over from the app so the table and the
   calculator above it agree at a glance. */
.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dot, var(--bone-faint));
    margin-right: 9px;
    vertical-align: baseline;
}

/* ------------------------------------------------------------- page pitch */
/* The ask at the bottom of a reference page. It is a card rather than a band
   because these pages are one narrow column all the way down, and a full-width
   band under a 66ch measure looks like the page broke. */

.pitch {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 26px 26px 24px;
    margin: 40px 0 34px;
}

.pitch__title {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.02em;
    line-height: 1.16;
    margin: 10px 0 0;
    color: var(--bone);
    text-wrap: balance;
}

.pitch__body { color: var(--bone-dim); font-size: 15.5px; margin: 11px 0 0; }
.pitch__cta { margin-top: 20px; }

@media (max-width: 430px) {
    .pitch { padding: 20px 18px 18px; }
}

/* --------------------------------------------- classification calculator */
/* Two figures in, one figure out. The output is deliberately the largest thing
   on the page: the percentage is what the reader came for, and the letter is
   what they will repeat to someone else. */

.calc {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 20px 22px;
    margin: 30px 0 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}

.calc__inputs { display: grid; gap: 14px; min-width: 0; }
.calc__field { min-width: 0; }
.calc__num { width: 100%; text-align: left; letter-spacing: 0; }

.calc__out {
    text-align: center;
    padding-left: 22px;
    border-left: 1px solid var(--rule);
    min-width: 172px;
}

.calc__pct {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(34px, 7vw, 44px);
    letter-spacing: -.035em;
    line-height: 1;
    color: var(--bone);
    margin: 0;
    white-space: nowrap;
}

.calc__pct span { font-size: .5em; color: var(--bone-faint); margin-left: 2px; }

.calc__badge {
    font-family: var(--font-figure);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 10px 0 0;
}

/* The band the reader is in, marked in the table so the answer has a context
   rather than being a number on its own. */
.grid tr.is-band td {
    background: rgba(225, 194, 111, .09);
    color: var(--bone);
}

.grid tr.is-band td:first-child { box-shadow: inset 3px 0 0 var(--brass); }

@media (max-width: 560px) {
    .calc { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .calc__out {
        padding: 16px 0 0;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--rule);
        min-width: 0;
    }
}

/* ========================================================================
   MARKETING PAGES
   ------------------------------------------------------------------------
   .doc is the legal treatment: one 66ch column, small headings, everything
   dimmed. Correct for terms of use, wrong for a page whose job is to be read
   by someone deciding whether to bother. These pages use the homepage's
   rhythm instead - full-width bands on a hairline, a narrow reading column
   inside them, and headings at a size you can see.
   ======================================================================== */

/* The top of a tool page: the same two-column hero the homepage uses, so the
   site reads as one site. Text left, the thing itself right. */
.lede {
    color: var(--bone-dim);
    font-size: 18.5px;
    max-width: 44ch;
    margin: 18px 0 0;
}

.lede strong { color: var(--bone); font-weight: 600; }

/* A reading column inside a full-width band. Narrower than the band, so the
   band's own edges do the structural work and the text still sets at a
   sensible measure. */
.copy { max-width: 62ch; }

.copy > :first-child { margin-top: 0; }

.copy h2 {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: clamp(23px, 3vw, 28px);
    letter-spacing: -.024em;
    line-height: 1.14;
    margin: 0 0 14px;
    color: var(--bone);
    text-wrap: balance;
}

.copy h3 {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: 17.5px;
    letter-spacing: -.015em;
    margin: 30px 0 8px;
    color: var(--bone);
}

.copy p { color: var(--bone-dim); margin: 0 0 15px; }
.copy p:last-child { margin-bottom: 0; }
.copy strong { color: var(--bone); }
.copy em { color: var(--bone); font-style: italic; }

.copy ul { padding-left: 20px; color: var(--bone-dim); margin: 0 0 15px; }
.copy li { margin-bottom: 7px; }

.copy code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .88em;
    background: var(--field-2);
    border: 1px solid var(--rule);
    border-radius: 5px;
    padding: 1px 5px;
}

/* A band that carries a heading and a column of prose. Tighter than the
   homepage's marketing bands - these pages are read, not skimmed. */
.slab { padding: clamp(38px, 5.5vw, 62px) 0; border-top: 1px solid var(--rule); }
.slab--sunk { background: var(--field-2); }

/* ------------------------------------------------------------ score sheet */
/* The signature of these pages.
   
   A worked example written as prose is a paragraph about arithmetic. Written
   as a score sheet it is the thing itself - the artifact every one of these
   readers has held at the end of a stage, with the zone letters in the same
   colours the app and the calculator above use, penalties subtracting, and the
   number falling out under a rule at the bottom. */

.sheet {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    overflow: hidden;
    margin: 0 0 20px;
    box-shadow: var(--shadow);
}

.sheet__cap {
    font-family: var(--font-figure);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--bone-faint);
    background: var(--field-2);
    border-bottom: 1px solid var(--rule);
    padding: 11px 16px;
    margin: 0;
}

.sheet__row {
    display: grid;
    grid-template-columns: 1fr auto minmax(64px, auto);
    align-items: baseline;
    gap: 14px;
    padding: 9px 16px;
    font-family: var(--font-figure);
    font-size: 15px;
}

.sheet__zone { font-weight: 700; color: var(--bone); }

/* The zone's own colour, as a letter rather than a swatch: a shooter reads
   "A" and "C" as colours already. */
.sheet__key {
    display: inline-block;
    min-width: 1.6em;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--zone, var(--bone-dim));
}

.sheet__work {
    font-variant-numeric: tabular-nums;
    color: var(--bone-faint);
    font-size: 13.5px;
    white-space: nowrap;
}

.sheet__val {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--bone);
}

.sheet__row--minus .sheet__val { color: var(--penalty); }

.sheet__rule { height: 1px; background: var(--rule); margin: 5px 0; }

.sheet__row--sum { padding-top: 6px; padding-bottom: 6px; }
.sheet__row--sum .sheet__zone { color: var(--bone-dim); font-weight: 600; }

/* The payoff. Everything above it is working; this is the answer, and it is
   set at the size the app sets it. */
.sheet__out {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--field-2);
    border-top: 1px solid var(--rule);
}

.sheet__out dt {
    font-family: var(--font-figure);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--bone-faint);
    margin: 0;
}

.sheet__out dd {
    margin: 0;
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(27px, 5vw, 33px);
    letter-spacing: -.035em;
    line-height: 1;
    color: var(--bone);
}

/* Two alternatives to the sheet above, side by side: change one thing, watch
   the number move. This is the argument the whole app rests on. */
.swap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap);
}

.swap__item {
    background: var(--card);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--swap, var(--rule-firm));
    border-radius: var(--r-sm);
    padding: 14px 16px;
}

.swap__what {
    margin: 0;
    font-size: 14px;
    color: var(--bone-dim);
}

.swap__hf {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 24px;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--bone);
    margin: 9px 0 0;
}

.swap__hf span {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--swap, var(--bone-faint));
    margin-left: 7px;
}

/* ------------------------------------------------- single-purpose hero */
/* The redeem page has one job and one control. It gets a centred column
   rather than the two-column hero: there is nothing to put beside the code
   box that would not be competing with it. */

.hero--tight { padding-bottom: clamp(30px, 4vw, 48px); }

.center { text-align: center; }
.center .u-eyebrow { margin-bottom: 2px; }
.center__lede { margin-left: auto; margin-right: auto; }
.center .redeem { text-align: left; }

/* ------------------------------------------------------------------ steps */
/* Numbered because this genuinely is a sequence - step three does not work
   before step two. The numerals are set in the app's face and carry the
   brass, so the list reads as instructions rather than as a bulleted list
   that happens to have digits. */

.steps { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: none; }

.steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--bone-dim);
}

.steps li:last-child { border-bottom: 0; }

.steps__n {
    font-family: var(--font-figure);
    font-size: 12.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--brass);
    background: rgba(225, 194, 111, .1);
    border: 1px solid rgba(225, 194, 111, .28);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex: none;
}

.steps strong { color: var(--bone); }

/* ------------------------------------------------------------ facts panel */
/* The club page's hero card. A club officer is deciding whether this is worth
   ninety seconds, and the five things they actually want to know are all
   answers to "what is the catch". So: the answers, as a table, above the fold,
   rather than three paragraphs that get to the same place. */

.facts {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 6px 18px;
    box-shadow: var(--shadow);
}

.facts__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
}

.facts__row:last-child { border-bottom: 0; }

.facts__k { color: var(--bone-dim); font-size: 14.5px; }

.facts__v {
    font-family: var(--font-figure);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -.015em;
    color: var(--bone);
    text-align: right;
    white-space: nowrap;
}

/* The one row that is a deadline rather than a reassurance. */
.facts__v--warn { color: var(--brass); }

/* The closer inherits .band's top rule from the homepage; on these pages the
   preceding .slab already drew one, so suppress the double hairline. */
.slab + .slab.closer { border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------- page shell */
/* A short page - /redeem/ is deliberately short - used to leave the footer
   floating halfway up a tall window with bare navy underneath it. The footer
   goes to the bottom whether the content reaches it or not. */

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body > main { flex: 1 0 auto; }
body > .foot { flex: none; }

/* A two-column table gave 78% of the width to the label and wrapped
   "95% and above" onto two lines. Values size to their content. */
.grid td:not(:first-child),
.grid th:not(:first-child) { white-space: nowrap; width: 1%; }

/* Prose that follows a full-width deck lines up with the deck, rather than
   centring itself against it. */
.copy--flush { margin-left: 0; margin-right: 0; }

/* ------------------------------------------------------------- tool cards */
/* The way into the calculators from the homepage.
   
   The hook is the figure, not the label. A shooter recognises 6.0674 and
   75.02% instantly - they are the two numbers this whole sport runs on - so
   the number is the largest thing on the card and the words explain it
   afterwards. */

.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap);
}

.tool-card {
    display: grid;
    align-content: start;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 22px 22px 20px;
    text-decoration: none;
    color: var(--bone);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.tool-card:hover {
    background: var(--card-2);
    border-color: var(--rule-firm);
    color: var(--bone);
    transform: translateY(-2px);
}

.tool-card:active { transform: translateY(0); }

.tool-card__fig {
    font-family: var(--font-figure);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(38px, 6vw, 48px);
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--brass-bright);
}

.tool-card__fig i { font-style: normal; font-size: .5em; margin-left: 1px; }

.tool-card__name {
    font-family: var(--font-figure);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
    margin-top: 14px;
}

.tool-card__body { color: var(--bone-dim); font-size: 15px; margin-top: 7px; }

.tool-card__go {
    font-family: var(--font-figure);
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin-top: 16px;
}

.tool-card:hover .tool-card__go { color: var(--bone); }

/* The hint under the hero card carries the same invitation, for the reader
   who is already tapping zones and does not need persuading. */
.scorecard__hint a { white-space: nowrap; }

/* --------------------------------------------------------- tool switcher */
/* The masthead's "Calculators" points at one page, but there are two, so the
   two announce each other. Built on the scorecard's own segmented control -
   the reader has already seen that shape a few centimetres below, choosing
   Minor or Major, so it needs no explaining.

   Sized up from the scorecard's version deliberately. That control sits inside
   a card the reader is already looking at; this one has to be noticed from
   cold, and at the scorecard's 12.5px it read as a caption. The inactive tab
   is the one that matters - it is the only signal that a second calculator
   exists at all - so it carries real contrast rather than being dimmed out of
   the way. */

.toolnav {
    display: inline-flex;
    background: var(--field-2);
    border: 1px solid var(--rule-firm);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: clamp(26px, 3vw, 36px);
    max-width: 100%;
    box-shadow: var(--shadow);
}

.toolnav a {
    font-family: var(--font-figure);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.005em;
    color: var(--bone-dim);
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

.toolnav a:hover {
    background: var(--card);
    color: var(--bone);
}

/* The same inset top highlight the download button carries, so the selected
   tab reads as raised rather than merely filled. */
.toolnav a[aria-current="page"] {
    background: var(--card-2);
    color: var(--bone);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.toolnav a[aria-current="page"]:hover { background: var(--card-2); }

@media (max-width: 420px) {
    .toolnav { width: 100%; }
    .toolnav a { flex: 1; text-align: center; padding: 11px 12px; font-size: 14px; }
}

/* ------------------------------------------------- touch targets on phones */
/* The score card copies the app's tight rhythm, which is right on a desktop
   with a mouse and a pixel too mean under a thumb. Raise only the things you
   press, and only where the pointer is actually a finger, so the card keeps
   its density on a laptop. */

.zone { min-height: 44px; }

@media (pointer: coarse) {
    .segmented button { min-height: 44px; }
    .qa__q { min-height: 44px; }
}

/* ========================================================================
   4.0 LOOK (Nov 2026)
   ------------------------------------------------------------------------
   The reels and the App Store images set a voice: big questions in a heavy
   grotesque, the second line in gold, navy and cream, real screens. This
   layer carries that voice onto every page. It sits last so it wins, and it
   leaves the calculators, the redeem box and the score card's mechanics
   exactly as they were.
   ======================================================================== */

.u-wrap { max-width: 1200px; padding: 0 clamp(16px, 5vw, 56px); }
a { color: var(--brass); }
a:hover { color: var(--bone); }

.u-eyebrow {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--bone-faint);
}

/* -------------------------------------------------------------- top bar */

.masthead {
    background: var(--field);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.masthead__bar { height: 72px; gap: clamp(14px, 3vw, 30px); }
.masthead__mark { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.masthead__mark img { width: 28px; height: 25px; }

.masthead__nav { gap: clamp(14px, 2.6vw, 30px); }

.masthead__nav a {
    position: relative;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--bone-dim);
}

.masthead__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 1.5px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.masthead__nav a:hover,
.masthead__nav a:active,
.masthead__nav a[aria-current="page"] { background: none; border: 0; color: var(--bone); }
.masthead__nav a:hover::after,
.masthead__nav a[aria-current="page"]::after { transform: scaleX(1); }

.masthead__cta {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--brass);
    color: var(--field);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--ease), background-color .25s;
}

.masthead__cta:hover { color: var(--field); background: #F0D27A; transform: translateY(-1px); }

/* The bar on a phone: the mark, three links, and the dock at the bottom does
   the selling, so the gold button steps aside rather than crowding the links. */
@media (max-width: 640px) {
    .masthead__cta { display: none; }
}

@media (max-width: 470px) {
    .masthead__nav a { font-size: 14px; padding: 0 1px; }
}

/* -------------------------------------------------------------- buttons */

.btn {
    background: var(--bone);
    color: var(--field);
    border-radius: 999px;
    padding: 16px 28px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    box-shadow: none;
    transition: transform .25s var(--ease), background-color .25s;
}

.btn:hover { color: var(--field); background: #FFFFFF; filter: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--sm {
    background: var(--brass);
    border-radius: 999px;
    padding: 0 18px;
    font-size: 15px;
}

.btn--sm:hover { background: #F0D27A; }

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

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 9vw, 112px) 0 clamp(52px, 8vw, 100px);
    background: linear-gradient(180deg, #0B2747 0%, var(--field) 100%);
}

/* The IPSC target's outline, three zones deep, barely there. The one piece of
   decoration on the site, and it is the sport's own shape. */
.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -90px;
    width: min(860px, 120vw);
    aspect-ratio: 460 / 580;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 580' fill='none' stroke='%23F5F1E4' stroke-opacity='.06' stroke-width='2'%3E%3Cpath d='M150 0H310V70H400L460 160V460L340 580H120L0 460V160L60 70H150Z'/%3E%3Cpath d='M165 60H295V115H365L410 185V430L320 520H140L50 430V185L95 115H165Z'/%3E%3Cpath d='M185 150H275V190H320L345 235V395L290 450H170L115 395V235L140 190H185Z'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}

.hero > * { position: relative; }

.hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: clamp(32px, 6vw, 80px);
}

.hero__title,
.doc__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .96;
    letter-spacing: -.045em;
    margin: 16px 0 0;
}

.hero__title em,
.band__title em,
.doc__title em { font-style: normal; color: var(--brass); }

.lede,
.hero__lead {
    font-size: clamp(18px, 1.7vw, 20px);
    line-height: 1.5;
    color: var(--bone-dim);
    max-width: 34em;
    margin-top: 22px;
}

.hero__meta { font-size: 15px; color: var(--bone-faint); }
.hero__cta { margin-top: 32px; gap: 20px; }

/* The opening. The page arrives in the order it is read: title, the line
   under it, the button, then the thing on the right. Pure CSS, so it runs
   with or without the scripts and never leaves anything hidden. */
@keyframes qs-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

.hero .u-eyebrow, .doc > .u-eyebrow { animation: qs-up .8s var(--ease) both; }
.hero__title, .doc__title { animation: qs-up .95s var(--ease) .06s both; }
.hero .lede, .hero__lead, .doc__stamp, .center__lede { animation: qs-up .95s var(--ease) .16s both; }
.hero__cta, .hero .redeem, .doc__title + .note, .doc__stamp + .note { animation: qs-up .95s var(--ease) .26s both; }
.hero__card { animation: qs-up 1.1s var(--ease) .34s both; }
.toolnav { animation: qs-up .8s var(--ease) both; }

/* ---------------------------------------------------- bands and columns */

.band, .slab { padding: clamp(64px, 9vw, 120px) 0; border-top: 0; }
.band + .band, .slab + .slab { border-top: 1px solid var(--rule); }
.slab--sunk, .slab--sunk + .slab, .slab + .slab--sunk { border-top: 0; }
.slab--sunk { background: var(--field-2); }

.band__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.2vw, 64px);
    line-height: .98;
    letter-spacing: -.04em;
}

.band__sub { font-size: 18px; max-width: 34em; margin-top: 16px; }
.band__head { margin-bottom: clamp(28px, 4vw, 48px); }

.copy { max-width: 68ch; }

.copy h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.035em;
    margin-bottom: 22px;
}

.copy h3 { font-family: var(--font-display); font-size: 19px; letter-spacing: -.015em; }
.copy p, .copy li { font-size: 17px; }

.deck { gap: var(--gap); }
.deck__item { padding: 24px; border-radius: var(--r); transition: transform .3s var(--ease), border-color .3s; }
.deck__item:hover { transform: translateY(-3px); border-color: var(--rule-firm); }
.deck__title { font-family: var(--font-display); font-size: 19px; }

.note {
    background: rgba(229, 195, 90, .06);
    border: 1px solid rgba(229, 195, 90, .32);
    border-radius: var(--r);
    padding: 22px 24px;
    font-size: 16.5px;
}

.qa__item { border-radius: var(--r); transition: border-color .25s; }
.qa__q { font-family: var(--font-display); font-size: 17.5px; padding: 18px 20px; transition: background-color .2s; }
.qa__a { padding: 0 20px 20px; }
.qa__a > p { font-size: 16.5px; }
.qa__item[open] .qa__a { animation: qs-up .45s var(--ease) both; }

.formula { font-family: var(--font-display); font-size: 22px; border-radius: var(--r); border-color: rgba(229, 195, 90, .45); }

.scorecard, .calc, .redeem, .sheet, .facts, .pitch { border-radius: 22px; }
.scorecard { padding: 18px; }
.pitch__title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; line-height: 1.05; }

.tool-card { border-radius: 22px; transition: transform .3s var(--ease), border-color .3s; }
.tool-card:hover { transform: translateY(-3px); }

.closer { border-top: 0; background: linear-gradient(180deg, var(--field) 0%, #0B2747 100%); }

/* ----------------------------------------------------------- long-form */

.doc { padding-top: clamp(56px, 8vw, 104px); padding-bottom: 40px; max-width: 72ch; }
.doc__title { font-size: clamp(40px, 6vw, 72px); }
.doc__stamp { font-size: 15px; margin-top: 16px; }

.doc h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -.025em;
    line-height: 1.12;
    margin: 52px 0 14px;
}

.doc p, .doc li { font-size: 17px; }

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

.foot { background: var(--field-2); padding-top: 44px; }
.foot__nav a { color: var(--bone-dim); }

.dock { background: rgba(10, 34, 64, .97); }

/* ------------------------------------------------------- scroll reveals */
/* motion.js tags blocks below the fold with .rv and adds .is-in as each one
   is reached. .js-rv is only ever set by that script, so without it (or with
   reduced motion) everything simply stays visible. */

.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-rv .rv:not(.is-in) { opacity: 0; transform: translateY(32px); }

/* ============================================================ HOMEPAGE */

.home .hero { padding-bottom: 0; }

.h-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.h-hero__text { padding-bottom: clamp(56px, 8vw, 112px); min-width: 0; }
.home .hero__title { font-size: clamp(48px, 6.4vw, 92px); animation: none; margin: 0; }
.home .hero__lead { animation: qs-up .95s var(--ease) .45s both; }
.home .hero__cta { animation: qs-up .95s var(--ease) .58s both; }

/* Each line rises out of its own slot, a beat behind the one above it. */
.h-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-line > span { display: block; animation: qs-rise 1s var(--ease) both; }
.h-line:nth-child(2) > span { animation-delay: .1s; }
.h-line:nth-child(3) > span { animation-delay: .2s; color: var(--brass); }

@keyframes qs-rise { from { transform: translateY(108%); } to { transform: none; } }

.h-phones { position: relative; height: 560px; min-width: 0; }

.h-phone {
    position: absolute;
    border-radius: 46px;
    border: 9px solid #0E1C2E;
    background: #0E1C2E;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1.5px rgba(255, 255, 255, .1);
}

.h-phone img { display: block; width: 100%; height: auto; }

/* Cut off at the bottom and faded, the way the reels show a phone. */
.h-crop {
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
    border-bottom: 0;
    border-radius: 46px 46px 0 0;
}

.h-phone--c { width: 290px; left: calc(50% - 145px); top: 0; z-index: 2; animation: qs-phone 1.2s var(--ease) .3s both; }
.h-phone--l { width: 214px; left: 0; top: 120px; opacity: .92; transform: rotate(-7deg); animation: qs-phone-l 1.3s var(--ease) .55s both; }
.h-phone--r { width: 214px; right: 0; top: 120px; opacity: .92; transform: rotate(7deg); animation: qs-phone-r 1.3s var(--ease) .65s both; }

@keyframes qs-phone   { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes qs-phone-l { from { opacity: 0; transform: translateY(140px) rotate(0); } to { opacity: .92; transform: rotate(-7deg); } }
@keyframes qs-phone-r { from { opacity: 0; transform: translateY(140px) rotate(0); } to { opacity: .92; transform: rotate(7deg); } }

/* What the app is, in four facts, under the fold line. */
.h-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 28px;
    padding-bottom: 28px;
    margin: 0 auto;
    list-style: none;
}

.h-facts__band { background: var(--field-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.h-facts li { display: grid; gap: 4px; padding: 4px 20px; border-left: 1px solid var(--rule-firm); }
.h-facts strong { font-family: var(--font-display); font-size: 17px; }
.h-facts span { font-size: 14.5px; color: var(--bone-faint); line-height: 1.4; }

.h-sec { padding: clamp(80px, 11vw, 140px) 0 clamp(40px, 6vw, 80px); }
.h-sec--sunk { background: var(--field-2); padding-bottom: clamp(80px, 11vw, 140px); }

.h-head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 56px); }

.h-cap { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--bone-faint); }

.h-q {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(44px, 6.6vw, 96px);
    line-height: .95;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.h-q em { font-style: normal; color: var(--brass); }

.h-sub { margin: 0; font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; color: var(--bone-dim); max-width: 31em; }
.h-small { margin: 0; font-size: 15px; color: var(--bone-faint); }

.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 72px); align-items: start; }
.h-split--mid { align-items: center; }
.h-col { display: grid; gap: 22px; min-width: 0; align-content: start; }
.h-show { display: flex; justify-content: center; min-width: 0; }
.h-show .h-phone { position: relative; width: 320px; height: 610px; }

/* The big figure: a hit factor or a distance, set like the reels set it. */
.h-big {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(64px, 8vw, 112px);
    line-height: .9;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.h-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; }
.h-figure__l { font-size: 16px; line-height: 1.4; color: var(--bone-faint); }

/* What if: each mistake is a switch. */
.h-toggles { display: grid; gap: 10px; max-width: 480px; }

.h-tg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1.5px solid var(--rule-firm);
    background: var(--card);
    color: var(--bone);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .3s, border-color .3s, transform .2s;
    -webkit-tap-highlight-color: transparent;
}

.h-tg:hover { border-color: rgba(245, 241, 228, .35); }
.h-tg:active { transform: scale(.985); }
.h-tg[aria-pressed="true"] { background: rgba(46, 158, 98, .16); border-color: #2E9E62; }

.h-tg__t { display: grid; gap: 2px; }
.h-tg__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.h-tg__hint { font-size: 13.5px; color: var(--bone-faint); }
.h-tg__v { font-family: var(--font-display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--v, var(--bone)); }
.h-tg[aria-pressed="true"] .h-tg__v { color: #5DD08E; }

.h-says { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.3; max-width: 22em; }

@keyframes qs-swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.is-swap { animation: qs-swap .5s var(--ease) both; }

/* The stage chart: every bar a stage, every bar a button. */
.h-wide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: end; }

.h-chart { min-width: 0; display: grid; gap: 12px; }
.h-chart__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
.h-chart__y { position: relative; height: 320px; font-size: 12px; color: var(--bone-faint); font-variant-numeric: tabular-nums; }
.h-chart__y span { position: absolute; right: 0; transform: translateY(50%); }

.h-chart__plot {
    position: relative;
    height: 320px;
    display: flex;
    align-items: flex-end;
    gap: clamp(6px, 1.4vw, 16px);
    border-bottom: 1px solid rgba(245, 241, 228, .3);
    background: linear-gradient(rgba(245, 241, 228, .07) 1px, transparent 1px) 0 0 / 100% 25%;
}

.h-bar {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(245, 241, 228, .82);
    cursor: pointer;
    transform-origin: bottom;
    transition: transform 1.1s var(--ease), background-color .35s, filter .2s;
    position: relative;
    z-index: 1;
}

.h-bar:hover { filter: brightness(1.1); }
.h-bar.is-weak { background: #F0A35E; }
.h-bar[aria-pressed="true"] { background: var(--brass); }

.h-chart__avg {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 2px dashed var(--brass);
    z-index: 2;
    pointer-events: none;
    transform-origin: left;
    transition: transform 1.2s var(--ease) .5s;
}

.h-chart__avg span {
    position: absolute;
    right: 0;
    bottom: 6px;
    padding-left: 8px;
    background: var(--field);
    font-size: 13px;
    font-weight: 700;
    color: var(--brass);
}

.h-chart__x { display: flex; gap: clamp(6px, 1.4vw, 16px); margin-left: 54px; }
.h-chart__x span { flex: 1; text-align: center; font-size: 15px; font-weight: 600; color: var(--bone-faint); transition: color .3s; }
.h-chart__x span.is-sel { color: var(--brass); font-weight: 800; }

.js-rv .h-chart.rv:not(.is-in) .h-bar { transform: scaleY(0); }
.js-rv .h-chart.rv:not(.is-in) .h-chart__avg { transform: scaleX(0); }
.js-rv .h-chart.rv:not(.is-in) { opacity: 1; transform: none; }

.h-detail { display: grid; gap: 10px; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--rule); min-width: 0; }
.h-detail__cap { margin: 0; font-size: 15px; font-weight: 700; color: var(--bone-faint); }
.h-detail__line { margin: 0; font-size: 17px; font-weight: 600; }
.h-detail__hf { margin: 0; font-size: 15px; color: var(--bone-faint); font-variant-numeric: tabular-nums; }
.h-detail__note { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--note, var(--bone)); }

/* The class slider. */
.h-level { display: grid; gap: 14px; }
.h-level label { font-size: 16px; color: var(--bone-dim); }
.h-level label strong { color: var(--bone); font-variant-numeric: tabular-nums; }
.h-dist { color: var(--brass); }

.h-range { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; }
.h-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brass) var(--fill, 43%), rgba(245, 241, 228, .16) var(--fill, 43%)); }
.h-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(245, 241, 228, .16); }
.h-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--brass); }
.h-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--brass); border: 4px solid var(--field); box-shadow: 0 0 0 2px var(--brass); }
.h-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--brass); border: 4px solid var(--field); box-shadow: 0 0 0 2px var(--brass); }
.h-range:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; border-radius: 6px; }

.h-ticks { position: relative; height: 22px; margin: 0 15px; font-size: 13px; font-weight: 700; color: var(--bone-faint); }
.h-ticks span { position: absolute; top: 0; transform: translateX(-50%); transition: color .3s; }
.h-ticks span.is-here { color: var(--brass); }

/* Themes: the new one spreads up from the bottom of the phone. */
.h-theme { position: relative; display: flex; justify-content: center; min-width: 0; height: 610px; }

.h-theme__disc {
    position: absolute;
    left: 50%;
    top: 60px;
    width: min(520px, 110%);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--disc, #1B4F8C);
    opacity: .5;
    transition: background-color .8s var(--ease);
}

.h-theme .h-phone { position: relative; width: 300px; height: 610px; }
.h-theme .h-phone img { position: absolute; left: 0; top: 0; clip-path: circle(0% at 50% 100%); z-index: 1; }
.h-theme .h-phone img.is-prev { clip-path: circle(160% at 50% 100%); z-index: 2; }
.h-theme .h-phone img.is-shown { clip-path: circle(160% at 50% 100%); z-index: 3; transition: clip-path .9s cubic-bezier(.6, 0, .2, 1); }

.h-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(245, 241, 228, .07); justify-self: start; }

.h-seg button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bone-dim);
    font: inherit;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}

.h-seg button[aria-pressed="true"] { background: var(--bone); color: var(--field); }

/* Try it first. */
.tool-card__go { color: var(--brass); }
.h-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.h-tools .tool-card { padding: 32px; }
.h-tools .tool-card__fig { font-family: var(--font-display); font-size: clamp(52px, 6vw, 80px); letter-spacing: -.04em; color: var(--brass); }

/* Your data: the one cream band, for the one promise that is about trust. */
.h-cream { background: var(--bone); color: #0A2340; padding: clamp(80px, 10vw, 120px) 0; }
.h-cream .h-q em { color: #8A6D10; }
.h-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 0 40px; padding: 0; list-style: none; }
.h-three li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid #0A2340; }
.h-three strong { font-family: var(--font-display); font-size: 21px; }
.h-three p, .h-cream__fine { margin: 0; font-size: 17px; line-height: 1.55; color: #3E4F64; }
.h-cream__fine { font-size: 16px; max-width: 46em; }
.h-cream a { color: #0A2340; }

.h-icon { display: block; width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.home .closer .band__title { font-size: clamp(44px, 6.6vw, 96px); }

@media (max-width: 900px) {
    .h-hero, .h-split, .h-wide { grid-template-columns: minmax(0, 1fr); }
    .h-hero__text { padding-bottom: 8px; }
    .h-phones { height: 470px; }
    .h-phone--l, .h-phone--r { display: none; }
    .h-phone--c { width: 270px; left: calc(50% - 135px); }
    .h-flip { order: 2; }
    .h-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .h-three, .h-tools { grid-template-columns: minmax(0, 1fr); }
    .h-show .h-phone, .h-theme .h-phone { width: 280px; height: 540px; }
    .h-theme { height: 540px; }
    .h-chart__y, .h-chart__plot { height: 260px; }
}

@media (max-width: 430px) {
    .h-facts li { padding: 2px 12px; }
    .h-chart__body { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
    .h-chart__x { margin-left: 44px; }
    .h-detail { padding: 22px; }
    .h-tg { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .js-rv .rv:not(.is-in) { opacity: 1; transform: none; }
    .js-rv .h-chart.rv:not(.is-in) .h-bar,
    .js-rv .h-chart.rv:not(.is-in) .h-chart__avg { transform: none; }
}
