/* ==========================================================================
   SudoRush design system
   Dark-first. One accent (indigo) carries every interactive affordance; the
   status colours (mint / amber / rose) are reserved for grid state so a player
   can read the board at a glance without a legend.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:            #0b0d13;
  --bg-raised:     #12151d;
  --bg-card:       #161a24;
  --bg-inset:      #0e1118;
  --line:          #232936;
  --line-soft:     #1b2029;

  --text:          #f2f5fa;
  --text-muted:    #99a2b8;
  --text-faint:    #6a7286;

  --accent:        #5b7cfa;
  --accent-hover:  #7290ff;
  --accent-soft:   rgba(91, 124, 250, 0.14);
  --accent-line:   rgba(91, 124, 250, 0.34);

  --mint:          #3ddc97;
  --mint-soft:     rgba(61, 220, 151, 0.13);
  --amber:         #f2b544;
  --amber-soft:    rgba(242, 181, 68, 0.14);
  --rose:          #ff6b81;
  --rose-soft:     rgba(255, 107, 129, 0.13);

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;

  --shadow:        0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg:     0 24px 60px -20px rgba(0,0,0,.75);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg:         #f6f7fb;
    --bg-raised:  #ffffff;
    --bg-card:    #ffffff;
    --bg-inset:   #eef1f7;
    --line:       #dfe4ee;
    --line-soft:  #e9edf4;
    --text:       #10131a;
    --text-muted: #5b6478;
    --text-faint: #858ea3;
    --accent-soft: rgba(91, 124, 250, 0.10);
    --shadow:     0 1px 2px rgba(16,19,26,.06), 0 12px 28px -14px rgba(16,19,26,.18);
    --shadow-lg:  0 28px 60px -24px rgba(16,19,26,.28);
  }
}
:root[data-theme='light'] {
  --bg:         #f6f7fb;
  --bg-raised:  #ffffff;
  --bg-card:    #ffffff;
  --bg-inset:   #eef1f7;
  --line:       #dfe4ee;
  --line-soft:  #e9edf4;
  --text:       #10131a;
  --text-muted: #5b6478;
  --text-faint: #858ea3;
  --accent-soft: rgba(91, 124, 250, 0.10);
  --shadow:     0 1px 2px rgba(16,19,26,.06), 0 12px 28px -14px rgba(16,19,26,.18);
  --shadow-lg:  0 28px 60px -24px rgba(16,19,26,.28);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
small { font-size: .82rem; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-inset); padding: .15em .4em; border-radius: 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 720px; }
.wrap--mid { max-width: 940px; }
.stack > * + * { margin-top: 1rem; }
.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.spacer { flex: 1; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.06rem; color: var(--text); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav a {
  color: var(--text-muted); padding: 7px 12px; border-radius: 8px;
  font-size: .93rem; font-weight: 500;
}
.nav a:hover { background: var(--bg-card); color: var(--text); text-decoration: none; }
.nav a.is-active { color: var(--text); background: var(--bg-card); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 7px 10px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-raised); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav .btn { width: 100%; justify-content: center; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .06s, opacity .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: var(--bg-card); color: var(--text); border-color: var(--accent-line); }
.btn--soft { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.btn--soft:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn--danger { background: var(--rose-soft); color: var(--rose); border-color: rgba(255,107,129,.3); }
.btn--danger:hover { background: var(--rose); color: #fff; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn--sm { padding: 7px 13px; font-size: .85rem; border-radius: 8px; }
.btn--block { display: flex; width: 100%; }

/* ── Cards & surfaces ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card--pad-lg { padding: 30px; }
.card--flush { padding: 0; overflow: hidden; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card__head h2, .card__head h3 { margin: 0; font-size: 1rem; }
.card__body { padding: 20px; }
.panel { background: var(--bg-inset); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 16px; }

.stat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); font-weight: 600; }
.stat__value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat__sub { font-size: .84rem; color: var(--text-muted); margin-top: 2px; }
.stat--accent .stat__value { color: var(--accent); }
.stat--mint .stat__value { color: var(--mint); }

/* ── Badges & pills ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--bg-inset); color: var(--text-muted); border: 1px solid var(--line);
}
.badge--live    { background: var(--mint-soft);   color: var(--mint);   border-color: transparent; }
.badge--soon    { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge--closed  { background: var(--bg-inset);    color: var(--text-faint); }
.badge--warn    { background: var(--amber-soft);  color: var(--amber);  border-color: transparent; }
.badge--danger  { background: var(--rose-soft);   color: var(--rose);   border-color: transparent; }
.badge--easy    { background: var(--mint-soft);   color: var(--mint);   border-color: transparent; }
.badge--medium  { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge--hard    { background: var(--amber-soft);  color: var(--amber);  border-color: transparent; }
.badge--expert  { background: rgba(255,138,76,.14); color: #ff8a4c; border-color: transparent; }
.badge--evil    { background: var(--rose-soft);   color: var(--rose);   border-color: transparent; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.pulse { animation: pulse 1.9s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field > label, .label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.hint { font-size: .82rem; color: var(--text-muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=url], input[type=date], input[type=datetime-local], input[type=search],
select, textarea {
  width: 100%; padding: 11px 13px;
  background: var(--bg-inset); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .93rem; border: 1px solid; margin-bottom: 18px; }
.alert--error   { background: var(--rose-soft);   border-color: rgba(255,107,129,.28); color: var(--rose); }
.alert--ok      { background: var(--mint-soft);   border-color: rgba(61,220,151,.28);  color: var(--mint); }
.alert--info    { background: var(--accent-soft); border-color: var(--accent-line);    color: var(--accent); }
.alert--warn    { background: var(--amber-soft);  border-color: rgba(242,181,68,.3);   color: var(--amber); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); font-weight: 700; background: var(--bg-inset); position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-inset); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(91,124,250,.20), transparent 70%),
              radial-gradient(50% 50% at 78% 10%, rgba(61,220,151,.12), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 48px; grid-template-columns: 1.05fr .95fr; align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero { padding: 56px 0 40px; } }
.hero h1 { margin-bottom: .35em; }
.hero__lede { font-size: 1.14rem; color: var(--text-muted); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 5px 13px; border-radius: 999px; font-size: .81rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}

/* ── Board map (the season grid of grids) ───────────────────────────────── */
.board-map {
  display: grid; gap: 7px;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
}
.tile {
  position: relative; aspect-ratio: 1; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; cursor: pointer; text-decoration: none; color: var(--text-muted);
  transition: transform .12s, border-color .12s, background .12s;
  font-variant-numeric: tabular-nums;
}
.tile:hover { text-decoration: none; }
.tile__no { font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.tile__pts { font-size: .62rem; color: var(--text-faint); }
.tile--available { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.tile--available:hover { transform: translateY(-2px) scale(1.04); border-color: var(--accent); }
.tile--reserved { border-color: rgba(242,181,68,.34); background: var(--amber-soft); color: var(--amber); cursor: not-allowed; }
.tile--solved { border-color: transparent; background: var(--mint-soft); color: var(--mint); cursor: default; }
.tile--mine { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 3px var(--accent-soft); }
.tile--void { opacity: .3; cursor: not-allowed; }
.tile__bar { position: absolute; left: 6px; right: 6px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; opacity: .45; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--text-muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }

/* ── Sudoku board ───────────────────────────────────────────────────────── */
.board {
  --cell: clamp(32px, 9.2vw, 56px);
  display: grid; grid-template-columns: repeat(9, var(--cell));
  background: var(--line); gap: 1px; padding: 3px;
  border: 2px solid var(--text-faint); border-radius: 8px;
  width: max-content; margin: 0 auto; user-select: none;
  touch-action: manipulation;
}
.cell {
  width: var(--cell); height: var(--cell);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); color: var(--accent);
  font-size: calc(var(--cell) * .52); font-weight: 600;
  font-variant-numeric: tabular-nums; cursor: pointer;
  position: relative; transition: background .1s;
}
.cell--given { color: var(--text); font-weight: 700; background: var(--bg-inset); cursor: default; }
/* A digit the server accepted. It stays put — there is nothing to undo. */
.cell--locked { cursor: default; }
.cell--sel { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.cell--peer { background: color-mix(in srgb, var(--accent-soft) 45%, var(--bg-card)); }
.cell--same { background: color-mix(in srgb, var(--accent-soft) 80%, var(--bg-card)); }
.cell--bad { color: var(--rose); background: var(--rose-soft); }
.cell--r2, .cell--r5 { border-bottom: 2px solid var(--text-faint); }
.cell--c2, .cell--c5 { border-right: 2px solid var(--text-faint); }
.cell__notes { position: absolute; inset: 2px; display: grid; grid-template-columns: repeat(3,1fr); font-size: calc(var(--cell) * .21); color: var(--text-faint); font-weight: 500; line-height: 1; align-items: center; justify-items: center; pointer-events: none; }
.board.is-locked { opacity: .55; pointer-events: none; }

.keypad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 420px; margin: 18px auto 0; }
.key {
  padding: 13px 0; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-card); color: var(--text); font-size: 1.15rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .12s, border-color .12s;
}
.key:hover { background: var(--bg-inset); border-color: var(--accent-line); }
.key--wide { grid-column: span 2; font-size: .88rem; }
.key.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.key[disabled] { opacity: .4; cursor: not-allowed; }
.keypad { grid-template-columns: repeat(9, 1fr); }
.keypad .key--wide { grid-column: span 3; }
.keypad #notesToggle { grid-column: span 3; }
@media (max-width: 560px) {
  .keypad { grid-template-columns: repeat(5, 1fr); }
  .keypad .key--wide, .keypad #notesToggle { grid-column: span 2; }
}

.play-shell { display: grid; gap: 26px; grid-template-columns: minmax(0,1fr) 300px; align-items: start; }
@media (max-width: 980px) { .play-shell { grid-template-columns: 1fr; } }
.play-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 18px; }
.timer { font-family: var(--mono); font-size: 1.28rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.timer--warn { color: var(--amber); }
.timer--out { color: var(--rose); }

/* ── Ads ────────────────────────────────────────────────────────────────────
   Every placement reserves its own height whether or not it fills, so an ad
   arriving late never shifts the page under a player mid-puzzle. Nothing here
   sits over the board or over a control. */
.ad-slot { display: block; width: 100%; }
.ad-slot--leaderboard { min-height: 116px; }
.ad-slot--banner { min-height: 116px; }
.ad-slot--tower { min-height: 260px; }
.ad-slot--inline { min-height: 84px; }

.ad {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 20px 0; text-align: center; background: var(--bg-inset);
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 18px 12px 12px; overflow: hidden;
}
.ad__label {
  position: absolute; top: 5px; left: 10px; font-size: .6rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-faint); font-weight: 600;
}
.ad__link { display: block; max-width: 100%; }
.ad--leaderboard { min-height: 96px; }
.ad--banner { min-height: 96px; }
.ad--tower { min-height: 240px; }
.ad--inline { min-height: 64px; }
.ad--interstitial { min-height: 280px; }
.ad--empty { border-style: dashed; }
.ad__text { display: block; padding: 22px 12px; color: var(--text-faint); font-weight: 600; font-size: .88rem; }

/* ── Hints and mistakes ─────────────────────────────────────────────────────
   The two numbers a competitive player must always be able to see. */
.hud { display: flex; gap: 10px; }
.hud__item {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 6px 14px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--line); min-width: 84px;
}
.hud__label { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); font-weight: 700; }
.hud__value { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hud__value--danger { color: var(--rose); }

/* ── Admin ──────────────────────────────────────────────────────────────── */
.admin-shell { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 30px; align-items: start; padding: 28px 0 60px; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { padding: 9px 12px; border-radius: 9px; color: var(--text-muted); font-size: .92rem; font-weight: 500; }
.admin-nav a:hover { background: var(--bg-card); color: var(--text); text-decoration: none; }
.admin-nav a.is-active { background: var(--accent-soft); color: var(--accent); }
.admin-nav__group { font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); font-weight: 700; margin: 16px 0 5px 12px; }

/* ── Prose (legal pages) ────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.2em; font-size: 1.3rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; color: var(--text-muted); }
.prose li { margin-bottom: .45em; }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose__meta { font-size: .87rem; color: var(--text-faint); border-left: 2px solid var(--line); padding-left: 14px; margin-bottom: 2rem; }

/* ── Steps / features ───────────────────────────────────────────────────── */
.step { position: relative; padding-left: 52px; }
.step__n {
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.feature__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-faint); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: '\2212'; }
.faq__body { padding-bottom: 18px; color: var(--text-muted); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-raised); padding: 48px 0 34px; margin-top: 72px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.6fr repeat(3, 1fr); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--text-muted); font-size: .9rem; padding: 3px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: .82rem; color: var(--text-faint); display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }

/* ── Utility ────────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 26px; }
.progress { height: 7px; background: var(--bg-inset); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.progress--mint > i { background: var(--mint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
