/* Teams Hours-Saved Calculator — Less Busywork, More You
   Brand (locked): Outer Space #193236 · Vitality #D9F270 · Clarity #ACE3DF
   Fonts: Archivo (headings) / Space Grotesk (eyebrows/labels). Self-hosted below
   as variable woff2 (CSP font-src 'self' clean). System fallbacks remain for the
   swap window. */

/* ---------- Brand fonts (self-hosted, variable, CSP-clean) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/archivo-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/spacegrotesk-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/figtree-var-latin.woff2") format("woff2");
}

:root {
  --outer-space: #193236;
  --vitality: #D9F270;
  --clarity: #ACE3DF;

  --bg: var(--outer-space);
  --bg-panel: #1f3d42;
  --bg-panel-2: #245057;
  --ink: #eaf5f3;          /* body text on dark — AA on Outer Space */
  --ink-dim: #b7d0cd;
  --line: #335b60;

  --accent: var(--vitality);
  --support: var(--clarity);

  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --track-empty: var(--bg-panel-2);
  --vitality-glow: rgba(217, 242, 112, 0.55);

  --radius: 14px;
  --maxw: 980px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-attachment: fixed;
  background-image:
    radial-gradient(900px 520px at 82% -12%, rgba(172,227,223,0.12), transparent 60%),
    radial-gradient(760px 480px at -12% 2%, rgba(217,242,112,0.07), transparent 55%),
    radial-gradient(620px 620px at 50% 118%, rgba(172,227,223,0.05), transparent 60%);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--outer-space);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700; z-index: 10;
}
.skip-link:focus { left: 0; }

.page { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px 64px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 4px 8px; }
.brand-lockup {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 26px; flex-wrap: wrap;
}
.brand-logo { height: 30px; width: auto; display: block; }
.brand-tagline {
  font-family: var(--font-label);
  color: var(--support);
  letter-spacing: .04em;
  font-size: .82rem;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--accent);
  margin: 0 0 10px;
}
h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.04;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.subhead { color: var(--ink-dim); margin: 0 0 18px; font-family: var(--font-body); max-width: 60ch; }
.pitch {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--ink);
  max-width: 44ch; margin: 0;
}

/* ---------- Panels ---------- */
.app { display: grid; gap: 20px; margin-top: 26px; }
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 16px;
}

/* ---------- Inputs ---------- */
.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 6px; }
.field > label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-label);
  font-size: .95rem; margin-bottom: 10px; color: var(--ink);
}
.field-val { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.control { display: flex; align-items: center; gap: 14px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  --fill: 0%;
  flex: 1; height: 6px; border-radius: 99px;
  background: var(--track-empty);
  outline-offset: 4px;
}
/* filled portion in Vitality — webkit paints via the inherited --fill stop */
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--track-empty) var(--fill));
  border: 1px solid var(--line); /* perceptible boundary — WCAG 1.4.11 */
}
input[type="range"]::-moz-range-progress { background: var(--accent); height: 6px; border-radius: 99px; }
input[type="range"]::-moz-range-track { background: var(--track-empty); height: 6px; border-radius: 99px; border: 1px solid var(--line); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -8px;
  border-radius: 50%; background: var(--accent);
  border: 3px solid var(--outer-space);
  cursor: pointer; box-shadow: 0 0 0 1px var(--accent);
  transition: transform .14s ease, box-shadow .18s ease;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--outer-space); cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease;
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--accent), 0 0 0 7px rgba(217,242,112,0.14); }
input[type="range"]:hover::-moz-range-thumb { box-shadow: 0 0 0 7px rgba(217,242,112,0.14); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 1px var(--accent), 0 0 18px var(--vitality-glow); }
input[type="range"]:active::-moz-range-thumb { transform: scale(1.12); box-shadow: 0 0 18px var(--vitality-glow); }
input[type="range"]:focus-visible { outline: 2px solid var(--support); }

input[type="number"] {
  width: 84px; padding: 9px 10px;
  background: var(--outer-space);
  color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--font-label); font-size: 1rem; text-align: right;
}
input[type="number"]:focus-visible { outline: 2px solid var(--support); outline-offset: 1px; border-color: var(--support); }

/* Advanced disclosure */
.advanced { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 14px; }
.advanced summary {
  cursor: pointer; font-family: var(--font-label);
  color: var(--support); font-size: .92rem; user-select: none;
}
.advanced summary:focus-visible { outline: 2px solid var(--support); outline-offset: 3px; }
.advanced-note { font-size: .85rem; color: var(--ink-dim); margin: 12px 0 14px; }
.cap-field { margin-bottom: 14px; }
.cap-field > label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .85rem; margin-bottom: 6px; font-family: var(--font-label);
}
.cap-field .field-val { font-size: .95rem; }
.link-btn {
  background: none; border: none; color: var(--support);
  text-decoration: underline; cursor: pointer; font-size: .85rem;
  display: inline-block; padding: 11px 0; min-height: 44px; /* touch target */
  font-family: var(--font-label);
}
.link-btn:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }

/* ---------- Result cards ---------- */
.results {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(172,227,223,0.4);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.6);
}
.card-lead {
  grid-column: 1 / -1;
  overflow: hidden;
  background: linear-gradient(160deg, #1f3d42, #234c52);
  border-color: rgba(217,242,112,0.4);
  box-shadow: inset 0 1px 0 rgba(217,242,112,0.08);
}
/* atmospheric Vitality glow behind the headline payoff */
.card-lead::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(217,242,112,0.16), transparent 70%);
  pointer-events: none;
}
.card-lead > * { position: relative; }
.card-label {
  font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .7rem; color: var(--ink-dim); margin: 0 0 8px;
}
.card-value {
  font-family: var(--font-head); font-weight: 800;
  color: var(--accent);
  font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1; margin: 0;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.card-lead .card-value {
  font-size: clamp(2.6rem, 10vw, 4rem);
  text-shadow: 0 0 38px rgba(217,242,112,0.25);
}
.card-foot { margin: 12px 0 0; color: var(--support); font-size: .9rem; font-family: var(--font-label); }

/* ---------- Breakdown table ---------- */
.table-wrap { overflow-x: auto; }
.breakdown { width: 100%; border-collapse: collapse; font-size: .95rem; }
.breakdown th, .breakdown td { padding: 12px 10px; text-align: left; }
.breakdown thead th {
  font-family: var(--font-label); font-weight: 600;
  color: var(--ink-dim); font-size: .8rem; vertical-align: bottom;
  border-bottom: 1px solid var(--line);
}
.th-sub { font-weight: 400; font-size: .72rem; opacity: .8; }
.breakdown td.num, .breakdown th.num { text-align: right; white-space: nowrap; }
.breakdown tbody tr { border-bottom: 1px solid rgba(51,91,96,0.5); }
.breakdown tbody .concept { font-weight: 600; color: var(--ink); }
.breakdown tbody .mech { color: var(--ink-dim); font-size: .82rem; margin-top: 2px; }
.breakdown tfoot th { font-family: var(--font-head); font-weight: 700; padding-top: 16px; }
.breakdown tfoot .total { font-family: var(--font-head); font-weight: 800; color: var(--support); font-size: 1.2rem; padding-top: 16px; }

/* ---------- Sources & method (de-emphasized, collapsible, bottom) ---------- */
.sources { margin-top: 2px; }
.sources-details {
  background: rgba(31,61,66,0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}
.sources-details summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 28px 18px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.sources-details summary::-webkit-details-marker { display: none; }
.sources-details summary::after {
  content: "›";
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%) rotate(0deg);
  color: var(--ink-dim); font-size: 1.5rem; line-height: 1;
  transition: transform .2s ease;
}
.sources-details[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.sources-details summary:focus-visible { outline: 2px solid var(--support); outline-offset: 3px; border-radius: 6px; }
.sources-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.sources-hint { font-family: var(--font-label); font-size: .82rem; color: var(--ink-dim); }

.refs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .refs { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.refs li { padding-left: 16px; position: relative; font-size: .85rem; color: var(--ink-dim); line-height: 1.45; }
.refs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--support); }
.refs a {
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(172,227,223,0.45);
}
.refs a:hover { color: var(--accent); border-color: var(--accent); }
.refs a:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }
.ref-detail { color: var(--ink-dim); }
.caveat {
  margin: 20px 0 18px; padding: 14px 16px;
  background: var(--outer-space); border-left: 3px solid var(--accent);
  border-radius: 0 9px 9px 0; font-size: .85rem; color: var(--ink-dim);
}

/* ---------- "Leave with" agenda ---------- */
.leave-with-intro {
  font-family: var(--font-label);
  color: var(--ink);
  font-size: .95rem;
  margin: 18px 0 12px;
}
.leave-with { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.leave-with li {
  position: relative; padding-left: 28px;
  color: var(--ink); font-size: .95rem; line-height: 1.45;
}
.leave-with li::before {
  content: "✓";
  position: absolute; left: 2px; top: 0;
  color: var(--accent); font-weight: 700;
  font-family: var(--font-label);
}
/* "Bring your team" — a designed band, not a footnote (the send-your-people lever) */
.team-band {
  margin: 24px 0 0; padding: 20px 22px;
  background: rgba(217,242,112,0.06);
  border-top: 1px solid rgba(217,242,112,0.35);
  border-bottom: 1px solid rgba(217,242,112,0.35);
}
.team-band-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  margin: 0 0 8px; color: var(--ink);
}
.team-band-body { margin: 0 0 16px; color: var(--ink-dim); font-size: .95rem; }
.team-roles { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.team-role {
  font-family: var(--font-label); font-size: .8rem; font-weight: 600;
  color: var(--outer-space); background: var(--support);
  padding: 5px 13px; border-radius: 99px;
}
.team-role-join { width: 16px; height: 1px; background: var(--line); }
.team-invite {
  font-family: var(--font-label); font-size: .9rem; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(217,242,112,0.4);
  display: inline-block; padding: 8px 0; /* larger touch target */
}
.team-invite:hover { border-color: var(--accent); }
.team-invite:focus-visible { outline: 2px solid var(--support); outline-offset: 3px; }

/* ---------- Callout & CTA ---------- */
.callout a { color: var(--support); text-decoration: underline; }
.callout a:hover { color: var(--accent); }
.callout a:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }
/* the .cta-btn inside the host callout must keep its dark-on-Vitality button styling,
   not inherit the body-link color/underline above */
.callout a.cta-btn { color: var(--outer-space); text-decoration: none; }
.callout a.cta-btn:hover { color: var(--outer-space); }

.cta { background: linear-gradient(160deg, #1f3d42, #234c52); text-align: center; }
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin: 0 0 18px; }
.cta-btn {
  display: inline-block; background: var(--accent); color: var(--outer-space);
  font-family: var(--font-label); font-weight: 700;
  padding: 14px 30px; border-radius: 99px; text-decoration: none;
  transition: transform .12s ease;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn:focus-visible { outline: 3px solid var(--support); outline-offset: 3px; }

/* Mid-page CTA — placed at the dollar moment so intent isn't held across 3 screens */
.midcta {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, #1f3d42, #234c52);
  border: 1px solid rgba(217,242,112,0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 14px 24px;
}
.midcta-text {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  margin: 0; color: var(--ink); flex: 1 1 260px; line-height: 1.25;
}
.midcta-text strong { color: var(--accent); font-weight: 700; }
.midcta .cta-btn { flex: 0 0 auto; }
.midcta-meta {
  flex-basis: 100%; margin: 0;
  font-family: var(--font-label); font-size: .82rem; color: var(--ink-dim);
  letter-spacing: .02em;
}

/* Event details — scannable meta row instead of a run-on sentence */
.cta-meta {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.cta-meta li {
  display: flex; flex-direction: column; gap: 3px; align-items: center;
  background: rgba(25,50,54,0.5); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 18px; min-width: 116px;
}
.host-cta { text-align: center; margin-top: 22px; }
.cta-meta-k {
  font-family: var(--font-label); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-dim);
}
.cta-meta-v { font-family: var(--font-label); font-size: .92rem; color: var(--ink); }
.callout .cta-meta { margin-top: 22px; }

/* ============================================================
   Restructured flow: hero hook → peak → science → reprise
   Two-tone numeric language: $ = Vitality (the decision unit),
   hours = Clarity (the supporting science).
   ============================================================ */

/* Hero cost hook (illustrative; routes to the calculator) — kept visibly
   secondary so the calculator's personalized output stays the climax */
.hero-hook { margin: 26px 0 18px; }
.hook-figure {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.5rem); color: var(--accent);
  margin: 0; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hook-unit { font-size: .42em; color: var(--ink-dim); font-weight: 700; margin-left: 3px; letter-spacing: 0; }
.hook-cap { font-family: var(--font-body); color: var(--ink-dim); font-size: .95rem; margin: 8px 0 0; max-width: 48ch; }
.hook-cap strong { color: var(--ink); font-weight: 600; }
.hook-cap a, .proof-strip a, .peak-subline a {
  color: var(--support); text-decoration: none;
  border-bottom: 1px solid rgba(172,227,223,0.4);
  display: inline-block; padding: 5px 0; /* larger touch target */
}
.hook-cap a:hover, .proof-strip a:hover, .peak-subline a:hover { color: var(--accent); border-color: var(--accent); }
.hook-cap a:focus-visible, .proof-strip a:focus-visible, .peak-subline a:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }

/* Proof strip — the biggest conversion lever, above the fold */
.proof-strip {
  display: inline-block; margin: 0; max-width: 100%;
  font-family: var(--font-label); font-size: .9rem; color: var(--ink);
  padding: 12px 18px; line-height: 1.5;
  background: rgba(217,242,112,0.06);
  border: 1px solid rgba(217,242,112,0.3);
  border-radius: 12px;
}
.proof-strip strong { color: var(--ink); font-weight: 700; }

/* Dollar peak — the headline output (cost), the emotional climax */
.card-peak {
  grid-column: 1 / -1;
  position: relative; overflow: hidden; text-align: left;
  background: linear-gradient(160deg, #1f3d42, #234c52);
  border-color: rgba(217,242,112,0.45);
  box-shadow: inset 0 1px 0 rgba(217,242,112,0.08);
  padding: 28px 24px;
}
.card-peak::before {
  content: ""; position: absolute; top: -40%; right: -8%;
  width: 55%; height: 180%;
  background: radial-gradient(closest-side, rgba(217,242,112,0.16), transparent 70%);
  pointer-events: none;
}
.card-peak > * { position: relative; }
.card-peak .card-value {
  color: var(--accent);
  font-size: clamp(2.8rem, 11vw, 4.4rem);
  text-shadow: 0 0 40px rgba(217,242,112,0.25);
}
.card-peak .card-foot { margin: 14px 0 0; color: var(--support); font-size: .95rem; max-width: 48ch; }
.peak-subline {
  margin: 18px 0 0; padding-top: 16px;
  border-top: 1px solid rgba(172,227,223,0.18);
  font-family: var(--font-label); font-size: .9rem; color: var(--ink-dim);
}
.peak-subline strong { color: var(--support); font-weight: 600; }

/* THE SCIENCE section */
.science-intro { color: var(--ink-dim); margin: 0 0 6px; max-width: 64ch; }
.science-sub {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  margin: 26px 0 6px; color: var(--ink);
}
.science-note { color: var(--ink-dim); font-size: .9rem; margin: 0 0 14px; max-width: 64ch; }
.science-stats { list-style: none; margin: 8px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.science-stats li {
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(25,50,54,0.5); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 22px; min-width: 150px;
}
.science-stat-v {
  font-family: var(--font-head); font-weight: 800; color: var(--support);
  font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.science-stat-k { font-family: var(--font-label); font-size: .78rem; color: var(--ink-dim); }
.science .sources-details { margin-top: 22px; }

/* Social proof — a designed band before the team ask (two-tone aware) */
.testimonial {
  margin: 0;
  background: rgba(25,50,54,0.5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--support);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
}
.testimonial-quote {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.4;
  color: var(--ink); margin: 0 0 14px;
}
.testimonial-by { font-family: var(--font-label); font-size: .85rem; color: var(--ink-dim); margin: 0; }

/* Team CTA — keep the band readable inside the centered .cta panel */
.team-cta .team-band { text-align: left; }

/* Final reprise */
.reprise { text-align: center; padding: 28px 22px; }
.reprise-text { font-family: var(--font-label); color: var(--ink); font-size: 1rem; margin: 0 0 16px; }
.reprise-text strong { color: var(--accent); font-weight: 600; }

/* Mobile persistent CTA — keeps the date + ask one tap away on the long page */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(25, 50, 54, 0.96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 26px -14px rgba(0, 0, 0, 0.65);
    text-decoration: none;
    transform: translateY(110%); transition: transform .28s ease;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta-meta { font-family: var(--font-label); font-size: .8rem; color: var(--ink); }
  .sticky-cta-btn {
    font-family: var(--font-label); font-weight: 700; font-size: .92rem;
    background: var(--accent); color: var(--outer-space);
    padding: 11px 20px; border-radius: 99px; white-space: nowrap;
  }
  .sticky-cta:focus-visible { outline: 3px solid var(--support); outline-offset: -3px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
/* Presenter lockup — establishes credibility before the ask */
.presenter {
  display: flex; align-items: center; gap: 18px;
  max-width: 540px; margin: 0 auto 26px;
  text-align: left;
  background: rgba(25,50,54,0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.presenter-photo {
  width: 76px; height: 76px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: center top;
  border: 2px solid var(--support);
  background: #f1faf9;
}
.presenter-text { min-width: 0; }
.presenter-name {
  font-family: var(--font-label);
  font-size: 1rem; margin: 0 0 5px; color: var(--ink);
}
.presenter-name strong { font-weight: 600; }
.presenter-cred {
  display: inline-block;
  font-family: var(--font-label); font-size: .68rem;
  color: var(--outer-space); background: var(--accent);
  padding: 2px 9px; border-radius: 99px; margin-left: 6px;
  letter-spacing: .03em; vertical-align: middle;
}
.presenter-blurb {
  font-family: var(--font-body);
  font-size: .88rem; color: var(--ink-dim); margin: 0; line-height: 1.45;
}
.presenter-blurb a { color: var(--support); text-decoration: none; border-bottom: 1px solid rgba(172,227,223,0.45); }
.presenter-blurb a:hover { color: var(--accent); border-color: var(--accent); }
.presenter-blurb a:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }
.presenter-link { margin: 10px 0 0; }
.presenter-link a {
  font-family: var(--font-label); font-size: .85rem; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(217,242,112,0.4);
  display: inline-block; padding: 6px 0;
}
.presenter-link a:hover { border-color: var(--accent); }
.presenter-link a:focus-visible { outline: 2px solid var(--support); outline-offset: 2px; }
@media (max-width: 520px) {
  .presenter { flex-direction: column; text-align: center; gap: 12px; }
}
.cta-support {
  font-family: var(--font-label);
  color: var(--ink-dim);
  font-size: .85rem;
  letter-spacing: .02em;
  margin: 14px 0 0;
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.5;
}

/* Annual-$ card — full-width "bottom line" bar; bookends the per-person lead card */
.card-money {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: linear-gradient(160deg, #1f3d42, #234c52);
  border-color: rgba(217,242,112,0.4);
  box-shadow: inset 0 1px 0 rgba(217,242,112,0.08);
}
.money-figure { min-width: 0; }
.card-money .card-value {
  color: var(--accent);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  text-shadow: 0 0 30px rgba(217,242,112,0.2);
}
.card-money .card-foot {
  margin: 0; color: var(--support);
  max-width: 34ch; text-align: right; flex: 1 1 260px;
  font-size: .92rem;
}
@media (max-width: 620px) {
  .card-money { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-money .card-foot { text-align: left; max-width: none; }
}

/* ---------- Footer ---------- */
.foot { margin-top: 36px; text-align: center; color: var(--ink-dim); font-size: .85rem; font-family: var(--font-label); }
.foot p { margin: 4px 0; }
.foot-meta { opacity: .75; }

/* ---------- Config error ---------- */
.config-error {
  margin-top: 24px; padding: 18px 20px;
  background: #3a2a1f; border: 1px solid #6b4a2e; border-radius: var(--radius);
  color: #f3e3d3;
}
.config-error strong { color: var(--accent); }

.noscript-note {
  max-width: var(--maxw); margin: 24px auto; padding: 18px 20px;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-family: var(--font-body); line-height: 1.5;
}

/* ---------- Load reveal (motion-safe only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  .hero > *, .app > * {
    opacity: 0;
    animation: reveal-up .62s cubic-bezier(.22, .61, .36, 1) both;
  }
  .hero > *:nth-child(1) { animation-delay: .02s; }
  .hero > *:nth-child(2) { animation-delay: .08s; }
  .hero > *:nth-child(3) { animation-delay: .14s; }
  .hero > *:nth-child(4) { animation-delay: .20s; }
  .hero > *:nth-child(5) { animation-delay: .26s; }
  .hero > *:nth-child(6) { animation-delay: .32s; }
  .app > *:nth-child(1) { animation-delay: .10s; }
  .app > *:nth-child(2) { animation-delay: .20s; }
  .app > *:nth-child(3) { animation-delay: .30s; }
  .app > *:nth-child(4) { animation-delay: .40s; }
  .app > *:nth-child(5) { animation-delay: .50s; }
  .app > *:nth-child(6) { animation-delay: .60s; }
  .app > *:nth-child(7) { animation-delay: .70s; }
  .app > *:nth-child(8) { animation-delay: .80s; }
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .results { grid-template-columns: repeat(2, 1fr); }
  .card-lead { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 520px) {
  .results { grid-template-columns: 1fr; }
  .control { gap: 10px; }
  .panel { padding: 18px; }
  /* drop the vertical divider when the lockup wraps to two lines */
  .brand-tagline { border-left: none; padding-left: 0; }
  /* connectors look broken when role chips wrap; rely on the gap instead */
  .team-role-join { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
