/* ============================================================
   Bullpen marketing site
   Design tokens lifted from the app's BullpenDesignSystem.swift:
   light canvas, white cards, purple accent, mono numbers.
   ============================================================ */

:root {
  /* surfaces */
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --inset: #F1F3F7;
  --border: #E7EAF0;
  --border-soft: #DEDBFB;
  --ink: #0E1524;

  /* text */
  --text: #0E1524;
  --text-2: #5B6478;
  --muted: #8A93A6;
  --dim: #97A0B2;

  /* brand */
  --accent: #6157F5;
  --accent-bright: #8B7BFF;
  --accent-deep: #5348E8;
  --accent-soft: #ECEBFE;
  --accent-tint: #F3F2FE;

  /* meaning */
  --gain: #12B76A;
  --gain-deep: #0A7D4C;
  --gain-soft: #E1F6EC;
  --loss: #F0384B;
  --coin: #E4A017;
  --coin-soft: #FBEED0;
  --streak: #FB7A3C;
  --streak-soft: #FCE4D6;
  --terms: #2FA9C9;

  /* geometry (app radius scale) */
  --r-chip: 10px;
  --r-control: 14px;
  --r-card: 18px;
  --r-modal: 24px;
  --r-sheet: 28px;

  --shadow-card: 0 4px 12px rgba(20, 30, 60, 0.08);
  --shadow-pop: 0 12px 32px rgba(20, 30, 60, 0.14);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--accent-soft); color: var(--accent-deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(42px, 6.4vw, 74px); }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.015em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }

p { color: var(--text-2); }

.lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 34em;
}

/* Mono section label, straight from BullpenSectionLabel */
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.label--accent { color: var(--accent-deep); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Ticker chip, like the app's $KENJI account chip */
.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-chip);
  padding: 5px 12px;
  background: var(--card);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--card);
  color: var(--accent-deep);
  padding: 10px 16px;
  border-radius: var(--r-chip);
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.btn) {
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-pop);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; font-size: 17px; }
  .site-nav .btn { margin-top: 10px; justify-content: center; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-control);
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(97, 87, 245, 0.35);
}
.btn--primary:hover { background: var(--accent-deep); }

.btn--ghost {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover { background: #1a2440; }

.btn--small { padding: 9px 18px; font-size: 14.5px; }

:is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

/* graph-paper dots, from the Learn tab's Ascent chart backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #C4CAD6 1.3px, transparent 1.3px);
  background-size: 34px 34px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 940px) {
  .hero { padding-top: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero__copy .ticker-chip { margin-bottom: 22px; }

.hero__copy h1 { margin-bottom: 20px; max-width: 10.5em; }
.hero__copy h1 em {
  font-style: normal;
  color: var(--accent);
}

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

.hero__note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hero__note strong { color: var(--gain-deep); font-weight: 600; }

/* hero waitlist form */
.mini-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 460px;
}
.mini-form input[type="email"] {
  flex: 1 1 220px;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-control);
  background: var(--card);
  color: var(--text);
}
.mini-form input[type="email"]:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- phone ---------- */

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0 22px;
}

/* the ascent line drawn behind the phone */
.hero__ascent {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 78%;
  pointer-events: none;
}
.hero__ascent path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  opacity: 0.9;
}
.hero__ascent .ascent-fill {
  fill: url(#ascentFade);
  stroke: none;
  opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__ascent .ascent-line {
    stroke-dasharray: 1300;
    stroke-dashoffset: 1300;
    animation: draw 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.3s forwards;
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

.phone {
  position: relative;
  width: 320px;
  border-radius: 52px;
  background: var(--ink);
  padding: 11px;
  box-shadow: 0 24px 60px rgba(20, 30, 60, 0.28);
}

.phone__screen {
  border-radius: 42px;
  overflow: hidden;
  background: var(--bg);
}

.phone--small { width: 252px; border-radius: 44px; padding: 9px; }
.phone--small .phone__screen { border-radius: 36px; }

/* floating chips on the hero phone */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 12px 16px;
  box-shadow: var(--shadow-pop);
}

.float-card--streak { top: 13%; left: max(0px, calc(50% - 320px)); }
.float-card--xp { bottom: 20%; right: max(0px, calc(50% - 320px)); flex-direction: column; align-items: flex-start; gap: 2px; }

@media (max-width: 480px) {
  .float-card--streak { left: -6px; }
  .float-card--xp { right: -6px; }
}

.float-card__flame {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--streak-soft);
  color: var(--streak);
}
.float-card__flame svg { width: 22px; height: 22px; }

.float-card__streak-num { font-weight: 800; font-size: 15px; font-family: var(--font-display); }
.float-card__streak-label { font-size: 12.5px; color: var(--muted); }

.float-card__xp {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--gain-deep);
}
.float-card__xp-label { font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 5s ease-in-out infinite; }
  .float-card--xp { animation-delay: 2.2s; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }
}

/* ---------- ticker marquee ---------- */

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  padding: 13px 0;
}

.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 36s linear infinite; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.ticker__item .up { color: var(--gain-deep); }
.ticker__item .coin { color: var(--coin); }
.ticker__item .flame { color: var(--streak); }
.ticker__item .acc { color: var(--accent-deep); }

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

.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head .label { display: block; margin-bottom: 14px; }
.section__head h2 { margin-bottom: 16px; }
.section__head p { font-size: 17.5px; }

/* ---------- cards & grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

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

.card h3 { margin: 18px 0 10px; }
.card p { font-size: 15.5px; }

.step-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 7px;
  padding: 4px 10px;
  margin-bottom: 18px;
}
.step-label--coin { color: #8a5f10; background: var(--coin-soft); }
.step-label--gain { color: var(--gain-deep); background: var(--gain-soft); }

.icon-chip {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon-chip svg { width: 24px; height: 24px; }
.icon-chip--coin { background: var(--coin-soft); color: var(--coin); }
.icon-chip--gain { background: var(--gain-soft); color: var(--gain); }
.icon-chip--streak { background: var(--streak-soft); color: var(--streak); }
.icon-chip--terms { background: #DFF3F8; color: var(--terms); }

/* stat band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-modal);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
}
@media (max-width: 720px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

.stat__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat__num .unit { color: var(--accent); }
.stat__label {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- screens strip ---------- */

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px 24px;
  justify-items: center;
  align-items: start;
}

.screens__item { max-width: 270px; }
.screens__item--raised { transform: translateY(-18px); }
@media (max-width: 720px) { .screens__item--raised { transform: none; } }

.screens__item figcaption {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
  padding: 0 6px;
}
.screens__item figcaption .cap-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 6px;
}

/* ---------- pills ---------- */

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
}
.pill--on { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-tint); }

/* ---------- games ---------- */

.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 860px) { .games-grid { grid-template-columns: 1fr; } }

.game-card {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-modal);
  box-shadow: var(--shadow-card);
  padding: 28px 0 28px 28px;
}
@media (max-width: 480px) { .game-card { grid-template-columns: 1fr; padding: 24px; } }

.game-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  border-radius: 7px;
  padding: 4px 9px;
  margin-bottom: 12px;
}

.game-card h3 { font-size: 24px; margin-bottom: 8px; }
.game-card p { font-size: 15px; max-width: 30em; }

.game-card__shot {
  align-self: stretch;
  position: relative;
  min-height: 210px;
}
.game-card__shot img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: var(--r-card) 0 0 0;
  border: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
  box-shadow: var(--shadow-pop);
}
@media (max-width: 480px) {
  .game-card__shot { display: none; }
}

/* ---------- units ---------- */

.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 940px) { .unit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .unit-grid { grid-template-columns: 1fr; } }

.unit-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.unit-card__num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: var(--r-chip);
  padding: 6px 9px;
}

.unit-card__title { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.unit-card__desc { font-size: 14px; color: var(--text-2); margin-top: 3px; }

.unit-card--locked { background: #F6EEDC; border-color: #ECDCBE; }
.unit-card--locked .unit-card__num { color: #8A6A2E; background: rgba(192, 124, 28, 0.14); }
.unit-card--locked .unit-card__title { color: #8A6A2E; }
.unit-card--locked .unit-card__desc { color: #B79A5E; }

/* curriculum page long list */
.unit-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: baseline;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 620px) {
  .unit-row { grid-template-columns: 52px 1fr; }
  .unit-row .unit-row__meta { grid-column: 2; }
}

.unit-row__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-deep);
}
.unit-row__title { font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
.unit-row__desc { font-size: 14.5px; color: var(--text-2); margin-top: 4px; }
.unit-row__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- parents / trust ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 940px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.trust-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 10px;
}

.trust-item__check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--gain-soft);
  color: var(--gain-deep);
  margin-top: -1px;
}
.trust-item__check svg { width: 16px; height: 16px; }

.trust-item p { font-size: 14.5px; }

/* ---------- poster / CTA panels ---------- */

.poster {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  border-radius: var(--r-sheet);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(97, 87, 245, 0.35);
}

.poster--ink { background: var(--ink); box-shadow: 0 20px 50px rgba(14, 21, 36, 0.4); }

.poster .label { color: rgba(255, 255, 255, 0.75); }
.poster h2 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); margin: 14px 0 16px; }
.poster p { color: rgba(255, 255, 255, 0.85); max-width: 34em; font-size: 17px; }

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1.3px, transparent 1.3px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 90%);
  mask-image: linear-gradient(115deg, transparent 45%, #000 90%);
  pointer-events: none;
}

.waitlist-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  max-width: 620px;
}

.waitlist-form input[type="email"],
.waitlist-form select {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 15px 16px;
  border: none;
  border-radius: var(--r-control);
  background: #fff;
  color: var(--text);
}
.waitlist-form input[type="email"] { flex: 1 1 240px; }
.waitlist-form select { flex: 0 1 180px; cursor: pointer; }

.poster .btn--primary {
  background: var(--ink);
  box-shadow: none;
}
.poster--ink .btn--primary { background: var(--accent); }

.form-note {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 16.5px;
  padding: 20px 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__body { padding: 0 24px 20px; }
.faq-item__body p { font-size: 15px; }
.faq-item__body p + p { margin-top: 10px; }

/* ---------- prose pages (privacy, terms, support) ---------- */

.page-head { padding: 72px 0 20px; }
.page-head .label { display: block; margin-bottom: 12px; }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.page-head p { max-width: 40em; font-size: 17px; }

.page-head--narrow .container { max-width: 760px; }

.prose { max-width: 760px; padding-bottom: 96px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 15.5px; color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }

.updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.notice {
  background: var(--accent-tint);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--text-2);
  margin: 18px 0;
}

/* support form */
.support-form { display: grid; gap: 14px; max-width: 560px; }
.support-form label { font-weight: 600; font-size: 14.5px; }
.support-form input, .support-form textarea, .support-form select {
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-control);
  background: var(--card);
  color: var(--text);
}
.support-form input:focus, .support-form textarea:focus, .support-form select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-blurb { margin-top: 14px; font-size: 14.5px; max-width: 30em; }

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer ul a { color: var(--text-2); font-size: 15px; }
.site-footer ul a:hover { color: var(--text); }

.footer-disclaimer {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 22px;
  max-width: 62em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- reveal on scroll ---------- */

/* hidden state only applies when JS is running (html.js set in site.js) */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */

.error-wrap { text-align: center; padding: 120px 0; }
.error-wrap .mono-big {
  font-family: var(--font-mono);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 600;
  color: var(--accent);
}
