/* Feature pages (/features/*) and the features index. Tokens match index.html.
   Layout language: a manual, not a landing page. Real screens, numbered pins on them with
   notes in the margin, short plain sentences, and a FAQ that answers what clubs ask us. */
:root {
  --ink: #1b1f1d;
  --ink-2: #333936;
  --stone: #59615d;
  --ground: #f3f4f2;
  --card: #ffffff;
  --line: #e0e3e0;
  --hair: #eceeec;
  --orange: #ef6a1a;
  --peel: #b5470c;
  --peel-dark: #8f380a;
  --peel-tint: #fbece3;
  --track: #e6e8e5;
  --bring: #1f6b52;
  --bring-fill: #3e9a75;
  --bring-tint: #e6f2ec;
  --on-accent: #ffffff;
  --band: #1b1f1d;
  --band-fg: #f3f4f2;
  --band-muted: #b9c0bc;
  --shot-shadow: 0 1px 2px rgba(27, 31, 29, .06), 0 18px 40px -28px rgba(27, 31, 29, .45);
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef0ee; --ink-2: #d5d9d6; --stone: #a6aea9; --ground: #151816; --card: #1e2220;
    --line: #2f3531; --hair: #282d2a; --peel: #f08a4b; --peel-dark: #f6a675; --peel-tint: #3a2417; --track: #343a36;
    --bring: #7fcfa9; --bring-tint: #18302a;
    --on-accent: #1b1f1d; --band: #0d0f0e; --band-fg: #eef0ee; --band-muted: #a6aea9;
    --shot-shadow: 0 18px 40px -28px rgba(0, 0, 0, .8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef0ee; --ink-2: #d5d9d6; --stone: #a6aea9; --ground: #151816; --card: #1e2220;
  --line: #2f3531; --hair: #282d2a; --peel: #f08a4b; --peel-dark: #f6a675; --peel-tint: #3a2417; --track: #343a36;
  --bring: #7fcfa9; --bring-tint: #18302a;
  --on-accent: #1b1f1d; --band: #0d0f0e; --band-fg: #eef0ee; --band-muted: #a6aea9;
  --shot-shadow: 0 18px 40px -28px rgba(0, 0, 0, .8); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
a { color: var(--peel); }
a:hover { color: var(--peel-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(40px, 5.6vw, 68px); }
h2 { font-size: clamp(30px, 3.8vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 31em; }
.muted { color: var(--stone); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--peel); color: var(--on-accent); }
.btn-primary:hover { background: var(--peel-dark); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 14px; color: var(--stone); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--stone); }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 72px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero.wide .wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.kicker { font-size: 15px; font-weight: 700; color: var(--peel); }
.hero h1 em { font-style: normal; color: var(--peel); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.facts li { display: grid; gap: 2px; min-width: 0; }
.facts b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14px; color: var(--stone); line-height: 1.35; }
.hero-art { min-width: 0; position: relative; }
/* Stacked hero for wide desktop screens: copy on top, the screen below running off the right edge */
.hero.stack .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.hero.stack .hero-copy { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 56px; align-items: end; }
.hero.stack .hero-copy > .kicker, .hero.stack .hero-copy > h1 { grid-column: 1; }
.hero.stack .hero-copy > .lede, .hero.stack .hero-copy > .ctas { grid-column: 2; }
.hero.stack .hero-copy > .lede { grid-row: 1 / span 2; align-self: end; }
.hero.stack .hero-copy > .ctas { grid-row: 3; }
.hero.stack .hero-copy > .reassure { grid-column: 2; grid-row: 4; margin-top: -10px; }
.hero.stack .hero-art { margin-right: calc(-1 * max(20px, (100vw - var(--wrap)) / 2 + 20px)); }
.hero.stack .shot { border-right: 0; border-radius: 14px 0 0 14px; max-height: 640px; }
.hero.stack .shot img { object-fit: cover; object-position: top left; }
@media (max-width: 920px) {
  .hero .wrap, .hero.wide .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero.stack .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero.stack .hero-copy > * { grid-column: 1 !important; grid-row: auto !important; }
  .hero.stack .hero-art { margin-right: -20px; }
}
@media (max-width: 420px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; } .facts b { font-size: 24px; } }

/* ---------- Screens ---------- */
.shot { margin: 0; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shot-shadow); overflow: hidden; }
.shot img { width: 100%; }
.phone { margin: 0; width: 100%; max-width: 300px; border: 7px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--card); box-shadow: var(--shot-shadow); position: relative; }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
figcaption { font-size: 14px; color: var(--stone); margin-top: 12px; }
.shot + figcaption, .cap { font-size: 14px; color: var(--stone); margin-top: 12px; }

/* Numbered pins over a screen, with notes beside it */
.pinned { position: relative; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--ink); color: var(--ground); font-size: 15px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 55%, transparent); pointer-events: none; }
.notes { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 18px; }
.notes li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.notes li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--ground); font-size: 15px; font-weight: 800; display: grid; place-items: center; }
.notes b { display: block; font-size: 17px; }
.notes span { display: block; color: var(--ink-2); font-size: 16px; }
@media (max-width: 560px) { .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 13px; } }

/* ---------- Sections ---------- */
.sec { padding-block: 84px; }
.sec + .sec { padding-top: 0; }
.sec.paper { background: var(--card); border-block: 1px solid var(--line); }
.sec.paper + .sec { padding-top: 84px; }
.sec-head { display: grid; gap: 14px; max-width: 40em; margin-bottom: 40px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* Screen on one side, notes on the other */
.annotated { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); gap: 44px; align-items: start; }
.annotated.flip { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); }
.annotated.flip > :first-child { order: 2; }
.annotated .side { display: grid; gap: 22px; min-width: 0; position: sticky; top: 96px; }
/* Wide screen across the page, notes in a row underneath */
.annotated.under { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.annotated.under .side { position: static; }
.annotated.under .notes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 32px; }
@media (max-width: 920px) {
  .annotated, .annotated.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .annotated.flip > :first-child { order: 0; }
  .annotated .side { position: static; }
}

/* Copy beside a narrow screen (a phone, a tall card) */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pair.flip > :first-child { order: 2; }
.pair .copy { display: grid; gap: 18px; min-width: 0; }
.pair .copy > p { color: var(--ink-2); }
.pair .art { display: grid; justify-items: center; min-width: 0; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); gap: 36px; } .pair.flip > :first-child { order: 0; } }

/* Plain list with a short rule before each item */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 12px; height: 2px; margin-top: 13px; background: var(--orange); }
.ticks b { color: var(--ink); }

/* Three phones as a sequence */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.flow li { display: grid; gap: 16px; justify-items: center; min-width: 0; }
.flow .step { justify-self: stretch; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; }
.flow .step b { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--peel); font-variant-numeric: tabular-nums; }
.flow .step span { font-weight: 700; font-size: 17px; line-height: 1.3; }
.flow .step small { display: block; font-weight: 500; color: var(--stone); font-size: 15px; margin-top: 2px; }
@media (max-width: 860px) {
  .flow { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: -20px; padding-right: 20px; }
  .flow li { scroll-snap-align: start; }
}

/* Things a volunteer never has to do, struck out */
.nope { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.nope li { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--stone); text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }

/* Before and after, as a two-column table */
.versus { width: 100%; border-collapse: collapse; font-size: 16px; }
.versus th, .versus td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); }
.versus thead th { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); padding-bottom: 8px; }
.versus tbody th { font-weight: 700; width: 24%; }
.versus td:first-of-type { color: var(--stone); }
.versus td:last-child { color: var(--ink); }
@media (max-width: 640px) {
  .versus thead { display: none; }
  .versus tr { display: grid; gap: 4px; border-top: 1px solid var(--line); padding: 14px 0; }
  .versus th, .versus td, .versus tbody th { border: 0; padding: 0; width: auto; }
  .versus td::before { content: attr(data-label) ": "; font-weight: 700; }
  .versus td:last-child::before { color: var(--peel); }
}

/* Quotes of what a coordinator might type */
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.asks li { background: var(--card); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 14px 18px; font-size: 17px; max-width: 34em; }
.asks li:nth-child(even) { justify-self: end; }

/* Small details grid: short headed paragraphs, no icons */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
.details > div { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.details p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .details { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .details { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- FAQ ---------- */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--peel); text-align: center; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 38px 20px 0; color: var(--ink-2); display: grid; gap: 10px; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Keep going ---------- */
.next ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.next a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); padding-top: 14px; border-top: 2px solid var(--ink); }
.next a b { font-size: 19px; letter-spacing: -0.015em; }
.next a span { color: var(--stone); font-size: 15px; }
.next a:hover b { color: var(--peel); }
.next a b::after { content: " →"; color: var(--peel); }
@media (max-width: 760px) { .next ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Features index: a table of contents ---------- */
.toc { display: grid; gap: 56px; }
.toc h2 { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 220px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.toc .no { font-size: 15px; font-weight: 700; color: var(--stone); font-variant-numeric: tabular-nums; }
.toc .t { display: grid; gap: 4px; }
.toc .t b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.toc .t span { color: var(--ink-2); max-width: 36em; }
.toc .thumb { height: 120px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.toc .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.toc li a:hover b { color: var(--peel); }
@media (max-width: 760px) {
  .toc li a { grid-template-columns: 32px minmax(0, 1fr); }
  .toc .thumb { grid-column: 2; height: 150px; }
}

/* ---------- Closing CTA ---------- */
.closing { background: var(--band); color: var(--band-fg); padding-block: 80px; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.closing h2 { color: var(--band-fg); }
.closing p { color: var(--band-muted); margin-top: 16px; max-width: 32em; }
.closing .signup { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.closing .btn-primary { background: var(--orange); color: #1b1f1d; min-height: 56px; padding: 0 30px; font-size: 18px; }
.closing .btn-primary:hover { background: #f58a4a; color: #1b1f1d; }
.closing .fine { font-size: 14px; color: var(--band-muted); margin: 0; }
.closing .fine a { color: var(--band-fg); }
@media (max-width: 880px) { .closing .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- A shift's emails, on a line ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 6px; align-content: start; padding: 34px 18px 0 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 3px solid var(--orange); }
.timeline li.done::before { background: var(--orange); }
.timeline b { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.timeline strong { font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; }
.timeline span { color: var(--ink-2); font-size: 15px; }
.sec.paper .timeline li::before { background: var(--card); }
.sec.paper .timeline li.done::before { background: var(--orange); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 34px; }
}

/* A desktop screen with a phone resting on its corner */
.combo { display: grid; }
.combo .shot { width: 92%; justify-self: end; }
.combo .phone { width: 31%; max-width: 230px; margin-top: -24%; border-width: 6px; border-radius: 30px; position: relative; }
@media (max-width: 560px) { .combo .shot { width: 100%; } .combo .phone { width: 52%; margin-top: -18%; } }

.narrow-shot { max-width: 420px; justify-self: center; width: 100%; }

/* A tall screen cut off at the bottom, fading out */
.shot.clip { max-height: 600px; }
.shot.clip::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.shot.fade::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }

.reassure { font-size: 14px; color: var(--stone); margin-top: -8px; }

/* A real email, framed like a mail app: who it's from and the subject, then the message */
.mail { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shot-shadow); }
.mail-head { display: grid; gap: 2px; margin: 0; padding: 14px 18px; background: #f6f7f5; border-bottom: 1px solid #e0e3e0; color: #1b1f1d; font-size: 14px; }
.mail-head b { font-size: 15px; }
.mail-head span { color: #59615d; }
.mail img { width: 100%; }
