/* Opener marketing site.
   Brand: the calibrated plate set. 20 kg blue leads, 10 kg green supports, 15 kg yellow means "on deck",
   25 kg red is only ever "no lift" and white is "good lift", as on referee lights.
   Chalk (light) sections are for reading; rubber (dark) sections show meet day. */

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2-variations"),
         url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --blue: #1F4E9E;
    --blue-dk: #6B9BEB;
    --blue-deep: #173B78;
    --green: #1F7A4D;
    --green-dk: #3FB27F;
    --yellow: #F2B705;
    --red: #D7263D;
    --white: #FFFFFF;
    --chalk: #F3F4F1;
    --chalk-2: #E6E8E3;
    --line: #D9DCD5;
    --iron: #16191D;
    --steel: #5C636B;
    --steel-dk: #9AA1A9;
    --rubber: #101215;
    --rubber-2: #1B1E23;
    --rubber-line: #2C3138;

    --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --ui: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

    --wrap: 1160px;
    --radius: 6px;
}

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

/* Layout rules below set display on some elements; the hidden attribute must still win */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
    font-family: var(--display);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .01em;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 900; }
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 800; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--steel);
}
.lede { font-size: 1.15rem; max-width: 60ch; color: var(--steel); }
.skip {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--yellow); color: var(--iron); padding: 8px 14px; border-radius: 4px; font-weight: 700;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px;
    border-radius: 4px; border: 2px solid transparent;
    font-family: var(--ui); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); color: inherit; }
.on-dark .btn-primary { background: var(--blue-dk); color: var(--rubber); }
.on-dark .btn-primary:hover { background: #8DB3F0; color: var(--rubber); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--iron); color: var(--chalk);
    border-bottom: 1px solid var(--rubber-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo {
    display: inline-flex; align-items: center; gap: .02em;
    font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1;
    text-transform: uppercase; letter-spacing: .01em; color: inherit; text-decoration: none;
}
.logo svg { width: .74em; height: .74em; color: var(--blue-dk); }
.logo:hover { color: inherit; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--chalk); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--blue-dk); }
.site-nav .btn { min-height: 40px; padding: 8px 16px; }
.menu-toggle { display: none; }
.header-cta { margin-left: auto; min-height: 40px; padding: 8px 16px; }

@media (max-width: 860px) {
    .site-header .wrap { flex-wrap: wrap; }
    .menu-toggle {
        display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
        background: none; border: 2px solid var(--rubber-line); border-radius: 4px;
        color: var(--chalk); font: 700 .95rem var(--ui); padding: 8px 12px; cursor: pointer;
    }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; margin: 0; }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 12px 0; border-top: 1px solid var(--rubber-line); }
    .site-nav .btn { margin-top: 12px; }
}

/* Plate strip */
.plates { display: flex; height: 10px; }
.plates span { flex: 1; }
.plates .r { background: var(--red); }
.plates .b { background: var(--blue); flex: 2.2; }
.plates .y { background: var(--yellow); }
.plates .g { background: var(--green); }
.plates .w { background: var(--white); flex: .4; }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.on-dark { background: var(--rubber); color: var(--chalk); }
.on-dark .eyebrow, .on-dark .lede { color: var(--steel-dk); }
.on-dark a { color: var(--blue-dk); }
.on-white { background: var(--white); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .accent { color: var(--blue-dk); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { font-size: .92rem; color: var(--steel-dk); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Scoreboard mock (meet-day screen) */
.scoreboard {
    background: var(--rubber-2); border: 1px solid var(--rubber-line); border-radius: 10px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    container-type: inline-size;
}
.sb-top {
    display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
    padding: 10px 16px; background: #15181C;
    font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-dk);
}
.sb-top .live { color: var(--yellow); }
.sb-main { padding: 18px 18px 4px; }
.sb-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 10cqi, 3rem); text-transform: uppercase; line-height: .95; }
.sb-sub { color: var(--steel-dk); font-size: .88rem; }
.sb-big { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 6px 18px 0; flex-wrap: wrap; }
.sb-weight { font-family: var(--display); font-weight: 900; font-size: clamp(4.5rem, 28cqi, 8.5rem); line-height: .82; font-variant-numeric: tabular-nums; }
.sb-weight small { font-size: .28em; font-weight: 700; color: var(--steel-dk); margin-left: .1em; }
.sb-side { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.sb-kv { display: flex; flex-direction: column; }
.sb-kv span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dk); }
.sb-kv b { font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.sb-lights { display: flex; justify-content: center; gap: clamp(14px, 6cqi, 30px); padding: 20px 16px; }
.light { width: clamp(46px, 16cqi, 84px); aspect-ratio: 1; border-radius: 50%; border: 3px solid #3A4048; }
.light.w { background: var(--white); border-color: var(--white); box-shadow: 0 0 26px rgba(255, 255, 255, .35); }
.light.r { background: var(--red); border-color: var(--red); box-shadow: 0 0 26px rgba(215, 38, 61, .45); }
.sb-deck { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rubber-line); }
.sb-deck div { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; }
.sb-deck div:first-child { box-shadow: inset 4px 0 0 var(--yellow); }
.sb-deck span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dk); }
.sb-deck div:first-child span { color: var(--yellow); }
.sb-deck b { font-family: var(--display); font-size: 1.2rem; font-weight: 800; }

/* Problem list */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .pains { grid-template-columns: minmax(0, 1fr); } }
.pain {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--steel-dk);
}
.pain b { font-family: var(--display); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.pain p { color: var(--steel); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
    background: var(--chalk); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px;
    border-left: 8px solid var(--blue);
}
.step:nth-child(2) { border-left-color: var(--yellow); }
.step:nth-child(3) { border-left-color: var(--green); }
.step-num { font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.step ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Screens (meet day) */
.screens-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .screens-grid { grid-template-columns: minmax(0, 1fr); } }
.screen-list { display: flex; flex-direction: column; gap: 14px; }
.screen-item {
    background: var(--rubber-2); border: 1px solid var(--rubber-line); border-radius: var(--radius);
    padding: 18px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px;
}
.screen-item .dot { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 8px solid var(--blue-dk); }
.screen-item:nth-child(2) .dot { border-color: var(--yellow); }
.screen-item:nth-child(3) .dot { border-color: var(--green-dk); }
.screen-item:nth-child(4) .dot { border-color: var(--white); }
.screen-item:nth-child(5) .dot { border-color: var(--red); }
.screen-item b { font-family: var(--display); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.screen-item p { color: var(--steel-dk); font-size: .96rem; }
.callout {
    margin-top: 28px; padding: 18px 20px; border-radius: var(--radius);
    border: 1px solid var(--rubber-line); border-left: 6px solid var(--yellow); color: var(--steel-dk);
}
.callout b { color: var(--chalk); }

/* Referee phone mock */
.ref { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .ref { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.phone { width: 260px; max-width: 100%; background: #000; border-radius: 34px; padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.phone-in { background: var(--rubber); color: var(--chalk); border-radius: 26px; height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.ph-top { padding: 18px 18px 6px; display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dk); }
.ph-lifter { padding: 0 18px 12px; }
.ph-lifter div { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.ph-lifter span { font-size: .8rem; color: var(--steel-dk); }
.ph-btns { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 16px; }
.ph-btn { flex: 1; border-radius: 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 2.4rem; text-transform: uppercase; }
.ph-good { background: var(--white); color: var(--iron); }
.ph-no { background: var(--red); color: var(--white); }
.ref-copy { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
    background: var(--green); box-shadow: inset 0 0 0 4px var(--white), 0 0 0 2px var(--green);
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 1.45rem; }
.feature p { color: var(--steel); font-size: .98rem; }
.tag {
    align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    background: var(--chalk-2); color: var(--iron); padding: 3px 8px; border-radius: 3px;
}
.tag.new { background: var(--yellow); }

/* Formula table */
.formulas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .formulas { grid-template-columns: minmax(0, 1fr); } }
.standings { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-variant-numeric: tabular-nums; }
.standings-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.standings-head b { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; }
.toggle { font-size: .82rem; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; color: var(--steel); }
.toggle i { width: 34px; height: 20px; border-radius: 10px; background: var(--blue); position: relative; }
.toggle i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
.standings table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.standings th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); padding: 10px 18px; background: #FAFAF8; }
.standings td { padding: 11px 18px; border-top: 1px solid #EEF0EC; }
.standings td.n, .standings th.n { text-align: right; }
.standings td.n { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.pos { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--chalk-2); font-weight: 700; font-size: .85rem; }
.pos.p1 { background: var(--blue); color: var(--white); }
.pos.p2, .pos.p3 { background: var(--green); color: var(--white); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .pricing { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
.price-card { border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.price-card.main { background: var(--white); border: 2px solid var(--blue); }
.price-card.soon { background: var(--chalk-2); border: 1px solid var(--line); }
.price-card.pass { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--yellow); }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.price-card ul ul { margin-top: 6px; padding-left: 18px; list-style: circle; gap: 4px; }
.price-note { color: var(--steel); font-size: .9rem; margin-top: auto; }
.tag.pass { background: var(--yellow); color: var(--iron); }
.screen-item .tag { font-family: var(--ui); vertical-align: middle; margin-left: 6px; }
.price { font-family: var(--display); font-weight: 900; font-size: clamp(3.4rem, 8vw, 5rem); line-height: .9; }
.price small { font-size: .32em; font-weight: 700; color: var(--steel); letter-spacing: .02em; }
.price-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
    font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--blue);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 20px; color: var(--steel); display: flex; flex-direction: column; gap: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-links a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 18px 20px; border: 1px solid var(--rubber-line); border-radius: var(--radius);
    background: var(--rubber-2); color: var(--chalk); text-decoration: none; font-weight: 700; overflow-wrap: anywhere;
}
.contact-links a:hover { border-color: var(--blue-dk); color: var(--chalk); }
.contact-links a span { color: var(--steel-dk); font-weight: 400; font-size: .9rem; }

/* Footer */
.site-footer { background: var(--iron); color: var(--steel-dk); padding: 40px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .logo { color: var(--chalk); font-size: 1.6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--chalk); }

/* Long-form pages (privacy) */
.doc { padding: clamp(48px, 7vw, 88px) 0; }
.doc .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.doc h2 { font-size: 1.9rem; margin-top: 22px; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .updated { color: var(--steel); font-size: .95rem; }

/* Public meet entry (enter/) */
.entry-page { padding: clamp(32px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.entry-page .wrap { max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
.entry-head { display: flex; flex-direction: column; gap: 10px; }
.entry-head h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); }
.meet-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meet-meta li { background: var(--chalk-2); border-radius: 3px; padding: 4px 10px; font-weight: 700; font-size: .9rem; }
.entry-card {
    background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--blue);
    border-radius: var(--radius); padding: clamp(20px, 5vw, 32px); display: flex; flex-direction: column; gap: 14px;
}
.entry-card form { display: flex; flex-direction: column; gap: 20px; }
.entry-card h2 { font-size: 2rem; margin-bottom: 8px; }
.entry-card [data-state] > p + p, .entry-card [data-state] > p + .btn { margin-top: 12px; }
.entry-status { display: flex; align-items: center; gap: 12px; color: var(--steel); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--chalk-2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.closes { background: #FCEFC2; color: #5E4600; border-radius: 4px; padding: 8px 12px; font-weight: 700; font-size: .92rem; align-self: flex-start; }

.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; padding: 0; margin-bottom: 2px; }
.field .hint { color: var(--steel); font-size: .9rem; }
.field input[type=text], .field input[type=date], .field select {
    font: inherit; color: var(--iron); background: var(--white);
    border: 2px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 50px; width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 78, 158, .2); }

.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.choices.choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    border: 2px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 52px; font-weight: 700;
}
.choice input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--blue); background: #E3EAF6; }
.choice:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--steel); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.btn-block { width: 100%; min-height: 54px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-errors { border: 2px solid var(--red); border-radius: 4px; padding: 12px 16px; background: #FCEBED; }
.form-errors:focus { outline: none; }
.form-errors b { color: #8E1426; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }

.done-mark svg { width: 56px; height: 56px; color: var(--green); margin-bottom: 8px; }
.entry-info { background: var(--chalk); border-left: 6px solid var(--yellow); border-radius: 4px; padding: 14px 16px; margin: 6px 0 4px; }
.entry-info p { white-space: pre-line; margin-top: 4px; }
.entry-foot { color: var(--steel); font-size: .9rem; text-align: center; }

/* Public meet results (results/). Top three follow the standings on the home page: blue leads, green supports. */
.results-page { padding: clamp(32px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.results-page .wrap { max-width: 1040px; display: flex; flex-direction: column; gap: 22px; }
.results-page .entry-card { max-width: 640px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 28px; }
.results-head .entry-head { min-width: 0; flex: 1 1 320px; }
.published { color: var(--steel); font-size: .92rem; }
.results-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.results-actions .btn { min-height: 44px; padding: 8px 18px; }
.share-status { color: var(--steel); font-size: .85rem; min-height: 1.2em; }
.results-tables { display: flex; flex-direction: column; gap: 32px; }
.results-empty { color: var(--steel); }
.results-table { padding: 0; }
.results-table h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin-bottom: 12px; }

.table-scroll {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.table-scroll:focus-visible { outline-offset: 3px; }
.results-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.results-table th, .results-table td { padding: 10px 14px; border-top: 1px solid #EEF0EC; text-align: left; white-space: nowrap; vertical-align: middle; }
.results-table thead th {
    border-top: 0; background: #FAFAF8; color: var(--steel);
    font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.results-table .n { text-align: right; }
.results-table td.n { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.results-table td.total { font-weight: 900; }
.results-table th.total { color: var(--iron); }

/* Place and lifter stay put while the lifts scroll */
.results-table .place, .results-table .lifter { position: sticky; background: var(--white); z-index: 1; }
.results-table thead .place, .results-table thead .lifter { background: #FAFAF8; z-index: 2; }
.results-table .place { left: 0; width: 56px; min-width: 56px; padding-right: 6px; }
.results-table .lifter { left: 56px; font-weight: 400; box-shadow: 1px 0 0 var(--line); white-space: normal; min-width: 150px; max-width: 240px; }
.lifter-name { display: block; font-weight: 700; }
.lifter-sub { display: block; color: var(--steel); font-size: .82rem; }
.results-table tr.p1 .place { box-shadow: inset 4px 0 0 var(--blue); }
.results-table tr.p2 .place, .results-table tr.p3 .place { box-shadow: inset 4px 0 0 var(--green); }

@media (max-width: 540px) {
    .results-head { align-items: flex-start; }
    .results-actions { align-items: flex-start; }
    .results-table th, .results-table td { padding: 9px 10px; }
    .results-table .place { width: 48px; min-width: 48px; }
    .results-table .lifter { left: 48px; min-width: 128px; max-width: 170px; }
}

/* Cookie choice */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--iron); color: var(--chalk);
    border-top: 4px solid var(--blue-dk);
    padding: 16px 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}
.cookie-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cookie-banner p { margin: 0; flex: 1 1 420px; font-size: .95rem; }
.cookie-banner a { color: var(--blue-dk); }
.cookie-banner a:hover { color: #8DB3F0; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn-ghost { background: transparent; }
.cookie-banner .btn-ghost:hover { background: rgba(127, 127, 127, .2); }
.cookie-banner .btn-primary { background: var(--blue-dk); color: var(--rubber); }
.cookie-banner .btn-primary:hover { background: #8DB3F0; color: var(--rubber); }
@media (max-width: 540px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

.link-button {
    padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; color: var(--chalk); text-decoration: underline; text-underline-offset: 3px;
}

@media print {
    .cookie-banner, .skip, .site-header, .plates, .site-footer, .results-actions, .results-page .entry-foot { display: none !important; }
    body { background: var(--white); font-size: 11pt; }
    .results-page { padding: 0; }
    .results-page .wrap { max-width: none; padding: 0; }
    .results-head { margin-bottom: 12px; }
    .results-head h1 { font-size: 28pt; }
    .meet-meta li { background: none; padding: 0 8px 0 0; }
    .results-table { break-inside: auto; }
    .results-table h2 { break-after: avoid; }
    .results-table tr { break-inside: avoid; }
    .table-scroll { overflow: visible; border: 0; }
    .results-table .place, .results-table .lifter { position: static; box-shadow: none; }
    .results-table th, .results-table td { padding: 5px 8px; border-top-color: #CCC; }
    .pos { background: none !important; color: inherit !important; width: auto; height: auto; }
}

/* Meet Pass tags inside lists */
.step li .tag, .price-card li .tag { display: inline-block; vertical-align: middle; margin-left: 4px; }
