/* Telemetry Cup — draft proof site. Mirrors the Wix build spec v1.1 page-for-page. */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3rem, 1rem + 6.5vw, 7rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;

  --paper: #f4f3ef;
  --paper-2: #ebe9e3;
  --white: #ffffff;
  --ink: #121317;
  --ink-2: #3a3c44;
  --muted: #5d606b;
  --line: #d6d3cb;
  --board: #16171b;
  --board-2: #202227;

  --blue: #2340a8;
  --red: #c8102e;
  --yellow: #f2b632;
  --green: #1a9e62;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Draft banner (proofing only — not part of the Wix build) */




/* Stripe motif from the stickers */
.stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.stripe i:nth-child(1) { background: var(--blue); }
.stripe i:nth-child(2) { background: var(--red); }
.stripe i:nth-child(3) { background: var(--yellow); }
.stripe i:nth-child(4) { background: var(--green); }

/* Header */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.45rem; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.nav { display: flex; gap: var(--s1); }
.nav a {
  text-decoration: none; font-size: var(--text-sm); font-weight: 600; padding: var(--s2) var(--s3); border-radius: 4px; color: var(--ink-2);
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; padding: var(--s2) var(--s5) var(--s4); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: var(--s3) 0; font-size: var(--text-base); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--red); }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 6px; font: 700 var(--text-sm) var(--font-body); background: var(--ink); color: var(--white);
    border: 0; border-radius: 4px; padding: 8px 12px; cursor: pointer;
  }
}

/* Hero */
.hero-photo { position: relative; background: var(--board); }
.hero-photo img { width: 100%; height: clamp(220px, 42vw, 520px); object-fit: cover; object-position: 50% 55%; }
.hero-copy { padding-top: var(--s8); padding-bottom: var(--s10); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); }
.display {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: var(--text-hero); line-height: .9; letter-spacing: -.005em; margin: 0; text-wrap: balance;
}
.display .red { color: var(--red); }
.lede { font-size: var(--text-lg); max-width: 40ch; margin: var(--s5) 0 0; color: var(--ink-2); line-height: 1.4; }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); font-size: var(--text-sm); font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font: 700 var(--text-base) var(--font-body); padding: 14px 22px; border-radius: var(--radius); border: 2px solid var(--ink);
  background: var(--ink); color: var(--white); cursor: pointer; min-height: 52px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Sections */
section { padding: var(--s12) 0; }
.sec-title {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: var(--text-2xl); line-height: .95; margin: 0 0 var(--s2);
}
.sec-sub { color: var(--muted); margin: 0 0 var(--s6); max-width: 60ch; }

/* Leaderboard */
.board-sec { background: var(--board); color: var(--white); padding: var(--s12) 0 var(--s16); }
.board-sec .sec-sub { color: #b9bcc6; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #3a3d45; border-radius: 999px; padding: 6px 12px; color: #d9dbe1;
}
.live-pill .dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-pill .dot { animation: none; } html { scroll-behavior: auto; } }

.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: stretch; background: var(--white); color: var(--ink);
  border-radius: 4px; overflow: hidden; min-height: 64px;
}
.pos {
  background: var(--board-2); color: var(--white); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.75rem;
}
.row.p1 .pos { background: var(--red); }
.who { padding: 10px 14px; min-width: 0; }
.driver { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.cond { font-size: var(--text-xs); color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.cond b { color: var(--ink-2); font-weight: 600; }
.time { padding: 10px 16px; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.lap { font-family: var(--font-mono); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gap { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.row.p1 .gap { color: var(--red); font-weight: 700; }
@media (max-width: 480px) {
  .row { grid-template-columns: 44px 1fr auto; }
  .driver { font-size: 1.3rem; }
  .lap { font-size: 1.15rem; }
  .time { padding: 10px 12px; }
}
.board-empty {
  border: 2px dashed #3a3d45; border-radius: 6px; padding: var(--s10) var(--s6); text-align: center; color: #c9ccd4;
}
.board-empty strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: var(--text-xl); color: var(--white); margin-bottom: var(--s2); }
.board-foot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); font-size: var(--text-xs); color: #9ea2ad; }


/* CTA band */
.cta-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: 180px 1.3fr 1fr; gap: var(--s8); align-items: center; }
.cta-inner .display { font-size: var(--text-2xl); line-height: .95; }
.cta-actions { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.cta-actions p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.cta-sticker { width: 180px; transform: rotate(-4deg); }
@media (max-width: 760px) { .cta-sticker { width: 140px; } .cta-inner { grid-template-columns: 1fr; gap: var(--s5); } .cta-actions .btn { width: 100%; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); position: relative; overflow: hidden; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; display: block; margin-bottom: var(--s3);
}
.step:nth-child(1)::before { color: var(--blue); }
.step:nth-child(2)::before { color: var(--red); }
.step:nth-child(3)::before { color: var(--green); }
.step h3 { font-size: var(--text-lg); margin: 0 0 var(--s2); line-height: 1.2; }
.step p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.teaser { margin-top: var(--s6); display: flex; gap: var(--s4); align-items: center; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: var(--s5) var(--s6); flex-wrap: wrap; }
.teaser .t-label { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: var(--text-xl); line-height: 1; }
.teaser p { margin: 0; color: #c9ccd4; font-size: var(--text-sm); flex: 1 1 260px; }

/* Secondary tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.tile {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s5); border-top: 5px solid var(--c, var(--ink)); transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.tile .k { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile .n { font-weight: 700; font-size: var(--text-base); line-height: 1.25; }
.tile .go { font-size: var(--text-sm); font-weight: 700; color: var(--c); margin-top: auto; padding-top: var(--s2); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Interior page layout */
.page-hero { padding-top: var(--s10); padding-bottom: var(--s6); }
.page-hero .display { font-size: var(--text-2xl); }
.page-hero .lede { font-size: var(--text-base); max-width: 58ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s6); } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.panel h2 { font-size: var(--text-lg); margin: 0 0 var(--s3); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.list li { display: grid; grid-template-columns: 10px 1fr; gap: var(--s3); align-items: start; }
.list li::before { content: ""; width: 10px; height: 10px; margin-top: .5em; background: var(--c, var(--red)); transform: skewX(-18deg); }
.list b { display: block; }
.list span { color: var(--muted); font-size: var(--text-sm); }


.cover {
  aspect-ratio: 2 / 3; max-width: 260px; background: var(--ink); color: var(--white); border-radius: 4px; padding: var(--s6);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 10px 10px 0 var(--paper-2);
}
.cover .t { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 2.4rem; line-height: .9; }
.cover small { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: #b9bcc6; }

/* Forms */
.form { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: var(--text-sm); }
.field .hint { font-weight: 500; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  font: 500 var(--text-base) var(--font-body); color: var(--ink); background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 50px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span {
  display: inline-block; padding: 10px 14px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--text-sm); background: var(--white); cursor: pointer;
}
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); align-items: start; font-size: var(--text-sm); color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }

.form-ok { display: none; background: #e7f6ee; border: 2px solid var(--green); border-radius: var(--radius); padding: var(--s5); }
.form-ok strong { display: block; font-size: var(--text-lg); margin-bottom: 4px; }
.form.sent .form-body { display: none; }
.form.sent .form-ok { display: block; }

/* Give */
.give-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: var(--s8); }
.give-card .display { font-size: var(--text-2xl); }
.give-card p { color: #d0d3da; }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.light:hover { background: var(--yellow); border-color: var(--yellow); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.fine { font-size: var(--text-xs); color: var(--muted); }

/* Footer */
/* Dated close-finish illustration: native labels stay readable on phones. */
.close-finish { background: var(--paper); scroll-margin-top: 90px; }
.finish-heading { display: flex; align-items: start; justify-content: space-between; gap: var(--s6); }
.finish-heading .sec-sub { margin-bottom: var(--s4); }
.finish-highlight { margin: 0; padding-left: var(--s5); border-left: 4px solid var(--red); flex-shrink: 0; }
.finish-highlight strong { display: block; color: var(--red); font: 700 var(--text-xl)/1.2 var(--font-mono); }
.finish-highlight span { display: block; margin-top: var(--s2); font-size: var(--text-sm); }
.finish-intro { max-width: 70ch; margin: 0 0 var(--s6); }
.finish-lanes { padding: var(--s4) var(--s6); margin: 0; list-style: none; background: #eaeade; border: 1px solid var(--line); }
.finish-lane { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s6); padding: var(--s4) 0; border-bottom: 1px dashed #b9b6aa; }
.finish-lane:last-child { border: 0; }
.finish-driver { display: flex; gap: var(--s4); align-items: baseline; }
.finish-position { color: var(--muted); font: 700 var(--text-sm) var(--font-mono); }
.finish-driver h3 { margin: 0 0 var(--s1); font-size: var(--text-lg); }
.finish-time { font: 500 var(--text-base) var(--font-mono); }
.finish-driver p { margin: var(--s2) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
.finish-lane:first-child h3, .finish-lane:first-child .finish-position { color: var(--red); }
.finish-track { position: relative; aspect-ratio: 20 / 6.57; margin-right: var(--s4); }
.finish-track::after { content: ""; position: absolute; inset: 0 -12px 0 auto; width: 12px; background: conic-gradient(var(--ink) 25%, var(--paper) 0 50%, var(--ink) 0 75%, var(--paper) 0) 0 0 / 12px 12px; }
.finish-track img { position: absolute; width: 75%; height: auto; right: var(--finish-gap); top: 0; }
.finish-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); margin-top: var(--s5); }
.finish-foot p { max-width: 74ch; margin: 0; }
.finish-foot .btn { flex-shrink: 0; }
.finish-progress { margin: var(--s6) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--text-sm); }
.finish-poster { margin: var(--s6) 0; }
.finish-poster img { width: 100%; height: auto; }
.finish-poster summary { cursor: pointer; padding: var(--s4); border: 1px solid var(--line); font-weight: 700; margin-top: var(--s4); }
.finish-zoom { overflow: auto; max-height: 85vh; border: 1px solid var(--line); }
.finish-zoom img { width: 1220px; max-width: none; }
@media (max-width: 760px) {
  .finish-heading, .finish-foot { flex-direction: column; }
  .finish-highlight { margin-bottom: var(--s5); }
  .finish-lanes { padding: var(--s3) var(--s4); }
  .finish-lane { grid-template-columns: 1fr; gap: var(--s3); }
  .finish-driver { gap: var(--s3); }
  .finish-track { width: min(100% - 16px, 340px); justify-self: end; }
}
.site-foot { background: var(--ink); color: #c9ccd4; padding: var(--s10) 0 var(--s8); font-size: var(--text-sm); }
.foot-grid { display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; align-items: flex-start; }
.site-foot .brand { color: var(--white); }
.site-foot nav { display: flex; gap: var(--s4); flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.foot-line { margin-top: var(--s6); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: #8f93a0; }

/* Licensed tag + Mario Andretti Milkman Award */
.lic { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: .7rem; letter-spacing: .1em;
  background: var(--ink); color: var(--white); padding: 3px 6px; border-radius: 3px; margin-left: 6px; position: relative; top: -2px; }
.award { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: center; background: var(--yellow); color: var(--ink);
  border-radius: 4px; padding: var(--s4) var(--s5); margin-bottom: var(--s4); }
.award-k { display: flex; flex-direction: column; }
.award-t { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.award-s { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.award-who { display: flex; align-items: baseline; justify-content: flex-end; gap: var(--s4); flex-wrap: wrap; text-align: right; }
.award .gap { color: var(--ink-2); }
.board-legend { display: flex; gap: var(--s5); flex-wrap: wrap; font-size: var(--text-xs); color: #b9bcc6; margin: 0 0 var(--s4); }
.board-legend .lic { top: 0; background: #2d3038; }
@media (max-width: 560px) { .award { grid-template-columns: 1fr; } .award-who { justify-content: flex-start; text-align: left; } }

.award-a { font-size: var(--text-xs); font-weight: 700; margin-top: 6px; color: var(--ink); }
.milk { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.milk-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s10); align-items: start; }
.milk .kicker { display: inline-block; background: var(--yellow); color: var(--ink); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; margin-bottom: var(--s4); }
.milk .sec-title { margin-bottom: var(--s4); }
.milk-idea { font-size: var(--text-lg); line-height: 1.45; margin: 0 0 var(--s4); border-left: 5px solid var(--yellow); padding-left: var(--s4); }
.milk p { max-width: 58ch; }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.rules li { background: var(--paper); border-radius: var(--radius); padding: var(--s4); font-size: var(--text-sm); }
.rules b { display: block; font-size: var(--text-base); margin-bottom: 2px; }
@media (max-width: 860px) { .milk-grid { grid-template-columns: 1fr; gap: var(--s6); } }

.bridge { background: var(--paper); border-radius: var(--radius); padding: var(--s4) var(--s5); font-size: var(--text-sm); border-left: 5px solid var(--green); }
.bridge b { display: block; font-size: var(--text-base); margin-bottom: 2px; }
.bridge a { font-weight: 700; }

.stats { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-family: var(--font-display); font-size: var(--text-2xl); font-style: italic; line-height: 1; }
.stats span { font-size: var(--text-xs); color: #5b606b; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.board.ghost .row { opacity: .55; border-style: dashed; }
.board.ghost .row.p1 { opacity: 1; }
.board.ghost .row.p1 .driver { color: var(--red); }
.award-open .driver { font-style: italic; }
.ghost-note { color: #c9ccd3; font-size: var(--text-sm); margin: var(--s4) 0 0; }
.ghost-note a { color: var(--white); font-weight: 700; }

/* v8 setup: disabled forms never imply a successful submission. */
.setup-notice { border-left: 4px solid var(--red); padding: var(--s4); background: var(--paper); font-size: var(--text-sm); }
.setup-notice p { margin: var(--s2) 0 0; }
.form input:disabled, .form select:disabled, .form textarea:disabled { background: var(--paper); cursor: not-allowed; }
.form button:disabled { opacity: .65; cursor: not-allowed; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; background: white; color: black; padding: 12px; }
.skip-link:focus { top: 8px; }
.who .driver { overflow-wrap: anywhere; }
.board.ghost .row { opacity: 1; background: #e2e2e2; }
.board.ghost .row.p1 { background: white; }
.ghost-note a, .board-foot a { color: white; }
/* Invitation connection: preserve v8 styling, accessible errors, nonvisual honeypot. */
.form-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.setup-notice.form-error { border-left:3px solid #b5102b; }

/* Next confirmed session: prominent without promising additional places. */
.interest-session { border-top: 5px solid var(--red); margin-bottom: 24px; }
.interest-session .eyebrow { margin-bottom: 8px; }
.interest-tentative { border-top-color: #e6b331; }
.tentative-session { background: #fff6df; color: var(--ink); border-bottom: 1px solid #e0d1a6; }
.tentative-session-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.tentative-session p { margin: 0; font-size: .875rem; line-height: 1.5; }
.tentative-session strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.tentative-session a { flex-shrink: 0; font-size: .875rem; font-weight: 700; text-decoration: underline; }
@media (max-width: 560px) {
  .tentative-session-inner { flex-direction: column; align-items: flex-start; gap: 9px; }
}
.interest-success { border-left-color: var(--green); background: #e7f6ee; }
.interest-reference { display: block; overflow-wrap: anywhere; margin-top: 8px; font-size: .75rem; }
.next-session-banner { background: var(--red); color: white; border-bottom: 5px solid var(--ink); }
.next-session-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.next-session-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.next-session-date { margin: 5px 0 3px; font: italic 800 clamp(2rem, 3.2vw, 3rem)/1.05 var(--font-display); text-transform: uppercase; }
.next-session-date span { display: inline-block; margin-left: 12px; font: 700 .95rem/1.3 var(--font-mono); vertical-align: middle; border: 1px solid #ffffff80; padding: 4px 7px; }
.next-session-detail { margin: 0; font-size: .95rem; }
.next-session-link { flex-shrink: 0; color: var(--ink); background: white; padding: 12px 18px; border-radius: 3px; font-weight: 700; text-decoration: none; }
.next-session-link:hover { text-decoration: underline; }
.next-session-link:focus-visible { outline: 3px solid white; outline-offset: 4px; }
@media (max-width: 560px) {
  .next-session-inner { align-items: flex-start; flex-direction: column; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .next-session-date span { display: block; width: fit-content; margin: 9px 0 7px; }
  .next-session-detail { font-size: .875rem; }
}
