/* ═══════════════════════════════════════════════════════════════════
   QMate — marketing site stylesheet

   "Blueprint grammar inverted onto a dark ground."

   Ported by hand from the app's design tokens so the site and the app read
   as one system. The source of truth for every value below:

     mobile/src/theme/palette.ts   colour
     mobile/src/theme/tokens.ts    type scale, spacing, 34px grid
     mobile/src/ui/Blueprint.tsx   registration marks, hatch, panel

   This file shares no build step and no import with the app. If a token
   changes there, it must be changed here by hand — that is the price of the
   isolation, and it is the right trade for a site that must deploy as static
   files to any host.

   RULE ZERO: there is no border-radius in this design. Anywhere. The answer
   is 0. If you are reaching for one, you are drawing something else.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */

:root {
  /* Ground */
  --ground: #121417;
  --backdrop: #0d0e11;
  --field: #1d2d3d;

  /* Ink */
  --ink: #e7e7ea;
  --mute: #98989b;
  --ink-faint: rgba(231, 231, 234, 0.42);
  --ink-fainter: rgba(231, 231, 234, 0.34);
  --ink-ghost: rgba(231, 231, 234, 0.26);

  /* Accent — customer side runs mint. */
  --accent: #3edbb9;
  --accent-bright: #6ef0d2;
  --accent-line: rgba(62, 219, 185, 0.2);
  --accent-wash: rgba(62, 219, 185, 0.1);
  --accent-wash-soft: rgba(62, 219, 185, 0.05);
  --chip-fill: #14322c;
  --on-accent: #14161a;

  /* Steel — the hairline rule and the background ruling. */
  --steel: rgba(148, 188, 227, 0.14);
  --rule: rgba(148, 188, 227, 0.16);
  --grid-line: rgba(148, 188, 227, 0.045);

  --danger: #b8383c;
  --danger-text: #d1696d;

  /* Rhythm — the app's space scale. */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-base: 14px;
  --s-gutter: 18px;
  --s-lg: 20px;
  --s-xl: 26px;
  --s-xxl: 34px;

  /* The blueprint ruling. 34px, as in the app. */
  --grid-cell: 34px;

  --measure: 1180px;
  --header-h: 64px;

  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Gamer mode. The supply side runs violet so it is instantly
   distinguishable from the demand side — same rule as the app (§10).
   Set `data-side="gamer"` on <body> and every accent below follows. */
body[data-side="gamer"] {
  --accent: #b694f5;
  --accent-bright: #cfb3ff;
  --accent-line: rgba(182, 148, 245, 0.2);
  --accent-wash: rgba(182, 148, 245, 0.1);
  --accent-wash-soft: rgba(182, 148, 245, 0.05);
  --chip-fill: #2b2738;
  --field: #332e43;
}

/* ── Reset ──────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0; /* rule zero, enforced */
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.14s ease;
}
a:hover { color: var(--accent-bright); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Type scale ─────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--cond);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.display {
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 6.4vw, 62px);
  line-height: 0.98;
  letter-spacing: 0.005em;
}

h2 {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h3 {
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.08;
  letter-spacing: 0.012em;
}

h4 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

p { margin: 0 0 var(--s-base); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  color: var(--mute);
  max-width: 62ch;
}

.muted { color: var(--mute); }
.faint { color: var(--ink-faint); }

/* The signature label treatment: letter-spaced mono, uppercase, small.
   Used for eyebrows, tags, stat captions, table headers. */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s-base);
}

.eyebrow--mute { color: var(--ink-fainter); }

/* ── Layout ─────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.section {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.section--flush { border-top: 0; }
.section--tight { padding: clamp(40px, 6vw, 68px) 0; }
.section--backdrop { background: var(--backdrop); }

.section-head {
  max-width: 66ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.grid {
  display: grid;
  gap: var(--s-gutter);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Five, for the five launch titles — a fifth card stranded on its own row
   under a four-column grid reads as an afterthought rather than a set. */
.grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1080px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* ── The 34px background ruling ─────────────────────────────────── */

.ruled {
  position: relative;
  isolation: isolate;
}

.ruled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
}

/* ── Panel + registration marks ─────────────────────────────────── */

/* The square hairline box everything sits in. `data-marks` draws the
   L-shaped corner brackets — the design's signature. Drawn with two
   pseudo-elements carrying two borders each, sitting 1px outside the
   panel border exactly as RegMarks does with offset: -1. */

.panel {
  position: relative;
  border: 1px solid var(--rule);
  padding: var(--s-lg);
  background: transparent;
}

.panel--fill { background: var(--accent-wash-soft); }
.panel--field { background: var(--backdrop); }
.panel--flush { padding: 0; }

.panel[data-marks]::before,
.panel[data-marks]::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}

/* top-left + bottom-right */
.panel[data-marks]::before {
  top: -1px;
  left: -1px;
  border-top-width: 1px;
  border-left-width: 1px;
}
.panel[data-marks]::after {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* All four corners: an inner span carries the other two. */
.panel[data-marks="4"] > .marks {
  position: absolute;
  inset: -1px;
  pointer-events: none;
}
.panel[data-marks="4"] > .marks::before,
.panel[data-marks="4"] > .marks::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.panel[data-marks="4"] > .marks::before {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
.panel[data-marks="4"] > .marks::after {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.panel-link {
  display: block;
  color: inherit;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.panel-link:hover {
  border-color: var(--accent-line);
  background: var(--accent-wash-soft);
  color: inherit;
}

/* ── Hatch ──────────────────────────────────────────────────────── */

/* The diagonal placeholder fill. Stands in for every image not yet shot.
   Drop a real <img> in its place and the layout is unchanged. */

.hatch {
  position: relative;
  background-color: var(--backdrop);
  background-image: repeating-linear-gradient(
    45deg,
    var(--steel) 0,
    var(--steel) 5px,
    transparent 5px,
    transparent 11px
  );
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--rule);
}

.hatch__caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  background: var(--ground);
  padding: var(--s-xs) var(--s-sm);
}

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px var(--s-xl);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
  text-align: center;
}

.btn:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--on-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover {
  background: var(--accent-wash);
  border-color: var(--accent-line);
  color: var(--ink);
}

.btn--sm { padding: 11px var(--s-lg); font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  align-items: center;
}

/* ── App Store badge ────────────────────────────────────────────── */

/* Apple's badge is a supplied asset with its own clear-space rules; until we
   have it, this is a square-cornered stand-in built from the same grammar so
   the layout does not shift when the real badge drops in. Swap the <a> for
   Apple's <img> and nothing around it moves. */

.store {
  display: inline-flex;
  align-items: center;
  gap: var(--s-md);
  padding: 12px var(--s-lg);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  min-width: 208px;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.store:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--on-accent); }

.store__glyph { width: 24px; height: 28px; flex: none; }
.store__glyph path { fill: var(--on-accent); }

.store__text { display: flex; flex-direction: column; line-height: 1.1; }
.store__small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.store__big {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.store--pending { opacity: 0.96; }

.store-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: var(--s-md);
}

/* Inside a button row it is a caption under the buttons, not a third button. */
.btn-row > .store-note {
  flex-basis: 100%;
  margin-top: var(--s-xs);
}

/* ── Header ─────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }

.brand__glyph { width: 26px; height: 26px; }

.brand__word {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
}

.nav a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding: var(--s-sm) 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header__cta { flex: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav,
  .header__cta { display: none; }
  .nav-toggle { display: block; }

  .header[data-open="true"] .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: var(--s-lg);
    border-top: 1px solid var(--rule);
  }
  .header[data-open="true"] .nav a {
    padding: var(--s-base) 0;
    border-bottom: 1px solid var(--rule);
    font-size: 12px;
  }
  .header[data-open="true"] .header__cta {
    display: block;
    padding-bottom: var(--s-lg);
  }
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(56px, 10vw, 116px) 0 clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__copy { max-width: 56ch; }

.hero .display { margin-bottom: var(--s-lg); }

.hero__lede { margin-bottom: var(--s-xl); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--rule);
}

.hero__meta span {
  padding-left: var(--s-md);
  border-left: 1px solid var(--accent-line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Phone frame — square, because everything here is square. */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  border: 1px solid var(--accent-line);
  background: var(--backdrop);
  padding: 10px;
}

.phone .hatch { height: 100%; min-height: 0; }

/* ── Steps ──────────────────────────────────────────────────────── */

.step {
  position: relative;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-lg);
}

.step__n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s-md);
}

.step h3 { margin-bottom: var(--s-sm); }
.step p { color: var(--mute); font-size: 14px; }

/* ── Feature / stat cells ───────────────────────────────────────── */

.cell h3 { margin-bottom: var(--s-sm); }
.cell p { color: var(--mute); font-size: 14px; }

.stat {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: var(--s-sm);
}

.stat--accent { color: var(--accent); }

/* ── Game cards ─────────────────────────────────────────────────── */

.game { display: block; color: inherit; }
.game:hover { color: inherit; }

.game__art {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--backdrop);
  transition: border-color 0.16s ease;
}
.game:hover .game__art { border-color: var(--accent-line); }

.game__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: filter 0.2s ease, transform 0.3s ease;
}
.game:hover .game__art img { filter: saturate(1) contrast(1.04); }

.game__title {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: var(--s-md);
}

.game__meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: var(--s-xs);
}

/* ── Price table ────────────────────────────────────────────────── */

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule);
}

.table th,
.table td {
  text-align: left;
  padding: var(--s-base) var(--s-lg);
  border-bottom: 1px solid var(--rule);
}

.table th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fainter);
  background: var(--backdrop);
}

.table td {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.table td.num { font-variant-numeric: tabular-nums; }
.table td.accent { color: var(--accent); }
.table tr:last-child td { border-bottom: 0; }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Breakdown (the money surface from the app) ─────────────────── */

.breakdown { border: 1px solid var(--rule); }

.breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-md) var(--s-lg);
  border-bottom: 1px solid var(--rule);
}
.breakdown__row:last-child { border-bottom: 0; }

.breakdown__row--total {
  background: var(--accent-wash-soft);
  border-top: 1px solid var(--accent-line);
}

.breakdown__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.breakdown__value {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.breakdown__row--total .breakdown__value { color: var(--accent); }

/* ── FAQ ────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--rule); }

.faq__item { border-bottom: 1px solid var(--rule); }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-lg);
  padding: var(--s-lg) 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--accent); }

.faq__sign {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  flex: none;
  transition: transform 0.18s ease;
}
.faq__item[data-open="true"] .faq__sign { transform: rotate(45deg); }

.faq__a {
  display: none;
  padding: 0 0 var(--s-lg);
  max-width: 72ch;
  color: var(--mute);
}
.faq__item[data-open="true"] .faq__a { display: block; }

/* ── Forms ──────────────────────────────────────────────────────── */

.field { margin-bottom: var(--s-lg); }

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: var(--s-sm);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--backdrop);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px var(--s-base);
  transition: border-color 0.14s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { min-height: 148px; resize: vertical; }

.field__hint {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--s-sm);
}

/* ── Legal / prose pages ────────────────────────────────────────── */

.prose { max-width: 74ch; }

.prose h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: var(--s-xxl) 0 var(--s-md);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.prose h3 { margin: var(--s-xl) 0 var(--s-sm); }

.prose p,
.prose li { color: var(--mute); font-size: 15px; }

.prose ul, .prose ol { padding-left: var(--s-lg); margin: 0 0 var(--s-base); }
.prose li { margin-bottom: var(--s-sm); }

.prose strong { color: var(--ink); font-weight: 600; }

/* A visible flag on unreviewed placeholder legal text. Delete the element
   when the real copy lands — do not just restyle it. */
.placeholder-flag {
  border: 1px solid var(--danger);
  background: rgba(184, 56, 60, 0.1);
  padding: var(--s-base) var(--s-lg);
  margin-bottom: var(--s-xl);
}
.placeholder-flag p {
  color: var(--danger-text);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.7;
}

/* ── Page head (interior pages) ─────────────────────────────────── */

.pagehead {
  padding: clamp(44px, 7vw, 84px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
}

.pagehead h1 { margin-bottom: var(--s-base); }

/* ── Callout band ───────────────────────────────────────────────── */

.band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--backdrop);
  padding: clamp(44px, 7vw, 76px) 0;
  text-align: center;
}

.band h2 { margin-bottom: var(--s-base); }
.band .lede { margin: 0 auto var(--s-xl); }
.band .btn-row { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────── */

.footer {
  background: var(--backdrop);
  border-top: 1px solid var(--rule);
  padding: clamp(44px, 6vw, 72px) 0 var(--s-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-xl);
  padding-bottom: var(--s-xl);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-fainter);
  text-transform: uppercase;
  margin-bottom: var(--s-base);
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--s-sm); }

.footer li a {
  color: var(--mute);
  font-size: 14px;
}
.footer li a:hover { color: var(--ink); }

.footer__tag {
  color: var(--mute);
  font-size: 14px;
  max-width: 34ch;
  margin-top: var(--s-md);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-md);
  padding-top: var(--s-lg);
}

.footer__base p {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}

/* ── Utilities ──────────────────────────────────────────────────── */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--s-md) var(--s-lg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.skip:focus { left: var(--s-lg); top: var(--s-sm); }

.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;
}

.center { text-align: center; }
.mt-lg { margin-top: var(--s-lg); }
.mt-xl { margin-top: var(--s-xl); }
.mt-xxl { margin-top: var(--s-xxl); }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--chip-fill);
  border: 1px solid var(--accent-line);
  padding: 5px var(--s-md);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: var(--s-xxl) 0; }
