/* Coin Cubby — site styles. Tokens are the game's own (lib/ui/theme.dart):
   warm charcoal on hue 60, warm white text, one accent (annealed copper) for the
   primary key, drop-target brackets and the wordmark cursor. The twelve coin
   colours are the only saturated field. */

@font-face { font-family: "Martian Mono"; src: url("fonts/MartianMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("fonts/MartianMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("fonts/MartianMono-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "MartianMonoCondensed"; src: url("fonts/MartianMonoCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: block; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #151210;
  --panel: #1F1B18;
  --panel-top: #211D1A;
  --key: #2A2622;
  --key-hi: #342F2B;
  --rim: #3C3733;
  --hair: #514C47;
  --edge: #2F2A27;
  --muted: #A9A49D;
  --text: #F3EEE6;
  --ink: #1A1511;
  --amber: #F9A041;
  --amber-2: #ED7A2D;
  --amber-3: #A44C1D;
  --key-shadow: #090705;
  --key-edge: #0D0B09;
  --tray-top: #26221E;
  --tray-bottom: #1C1916;
  --well-0: #080605;
  --well-1: #100D0A;
  --well-2: #1A1614;
  --lip-0: #322D29;
  --lip-1: #24201C;
  --tick-off: #181513;

  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (min-width: 880px) { html { scroll-padding-top: 76px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 500 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--hair); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
b, strong { font-weight: 700; }
h1, h2, h3 { margin: 0; font-family: var(--mono); font-weight: 800; text-wrap: balance; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--text); color: var(--ink); font: 700 14px var(--mono); border-radius: 8px; }
.skip:focus { top: 12px; }

.frame { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

.label {
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }

/* ---------- wordmark ---------- */
.brand {
  font: 800 19px/1 var(--mono);
  letter-spacing: -.03em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-end;
  white-space: nowrap;
}
a.brand { padding-block: 13px; } /* 45px hit area without moving the wordmark */
.cursor {
  display: inline-block;
  width: .55em;
  height: .82em;
  margin-left: .12em;
  background: linear-gradient(var(--amber), var(--amber-2));
  box-shadow: 0 0 14px rgba(249, 160, 65, .45);
  animation: blink 1.1s steps(1) 4;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

/* ---------- keys (the game's hardware buttons) ---------- */
.key {
  --face: var(--key);
  --face-2: var(--key);
  --lip: var(--key-edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(var(--face), var(--face-2));
  color: var(--text);
  font: 700 15px/1 var(--mono);
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 4px 0 var(--lip), 0 6px 14px rgba(0, 0, 0, .45);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.key:hover { filter: brightness(1.08); }
.key:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 0 var(--lip), 0 2px 6px rgba(0, 0, 0, .45); }
.key--sm { min-height: 44px; padding: 11px 14px; font-size: 14px; }
.key--amber {
  --face: var(--amber);
  --face-2: var(--amber-2);
  --lip: var(--amber-3);
  color: var(--ink);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 0 var(--lip), 0 14px 32px -10px rgba(249, 160, 65, .55);
}
.key--amber:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 var(--lip), 0 6px 18px -8px rgba(249, 160, 65, .55); }
.key[disabled] {
  --face: var(--key);
  --face-2: var(--key);
  --lip: var(--key-edge);
  color: #6E6862;
  cursor: not-allowed;
  filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 4px 0 var(--lip);
}
.key[disabled]:active { transform: none; }
.arw { font-family: var(--mono); }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21, 18, 16, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #25211E;
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
/* Below 880px the nav drops to a second row that scrolls sideways (never hidden:
   phones are the audience). The right-edge fade says "there is more". */
.top-in { flex-wrap: wrap; column-gap: 12px; row-gap: 0; min-height: 0; padding-top: 10px; }
.nav {
  display: flex;
  order: 3;
  flex: 1 0 100%;
  gap: 22px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 10px;
  border-top: 1px solid #25211E;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; flex: none; font: 500 13px var(--mono); color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.top .key { margin-left: auto; }
@media (min-width: 880px) {
  .top-in { flex-wrap: nowrap; min-height: 64px; padding-top: 0; }
  .nav { order: 0; flex: 0 1 auto; gap: 26px; margin: 0 0 0 auto; padding-inline: 0; overflow: visible; border-top: 0; -webkit-mask-image: none; mask-image: none; }
  .top .key { margin-left: 8px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: 40px 72px;
  background:
    radial-gradient(circle at 1px 1px, #2A2521 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 18, 16, 0) 40%, var(--ground) 100%), radial-gradient(ellipse at 20% 0%, rgba(21, 18, 16, 0) 0%, rgba(21, 18, 16, .75) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding-block: 72px 112px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "copy demo" "spec demo"; gap: 0 56px; }
  .hero-copy { grid-area: copy; align-self: end; }
  .demo { grid-area: demo; }
  .hero-grid > .spec { grid-area: spec; align-self: start; }
}
.kicker { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; }
.kicker { flex-direction: column; }
@media (min-width: 520px) {
  .kicker { flex-direction: row; }
  .kicker span + span::before { content: "/"; margin-right: 18px; color: var(--hair); }
}
h1 { line-height: 1; }
.h1-a { display: block; font-size: clamp(19px, 2.3vw, 26px); font-weight: 700; color: var(--muted); letter-spacing: -.02em; margin-bottom: 14px; }
.h1-b { display: block; font-size: clamp(40px, 6.6vw, 76px); letter-spacing: -.045em; line-height: 1.02; }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: #DCD6CD; }
.lede b { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono); color: #DCD6CD; }
.led { width: 9px; height: 9px; border-radius: 50%; background: #3F3A35; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6), 0 0 0 2px #1F1B18; flex: none; }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: #2A2622; border: 1px solid #2A2622; border-radius: 14px; overflow: hidden; max-width: 560px; }
@media (min-width: 520px) { .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .spec { margin-top: 40px; } }
.spec div { background: var(--panel); padding: 12px 14px 13px; }
.spec dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 4px 0 0; font: 700 16px/1.25 var(--mono); letter-spacing: -.02em; }

/* ---------- the tray demo ---------- */
.demo {
  margin: 0;
  width: 100%;
  max-width: 500px;
  justify-self: center;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(var(--tray-top), var(--tray-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 0 0 1px #0E0C0A, 0 40px 80px -40px #000, 0 20px 40px -24px rgba(0, 0, 0, .8);
}
@media (min-width: 480px) { .demo { padding: 18px; } }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.readout { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; background: var(--well-1); border-radius: 999px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .05); }
.readout .label { font-weight: 700; color: var(--text); letter-spacing: .14em; }
.coin-sm { width: 28px; height: 28px; }

.tray { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 480px) { .tray { gap: 10px; } }
.demo-nojs { grid-column: 1 / -1; padding: 16px; color: var(--muted); font-size: 15px; }

.pocket {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 2.15;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(var(--well-2), var(--well-1) 30%, var(--well-0));
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 10px 18px rgba(0, 0, 0, .55);
  cursor: pointer;
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}
.pocket:focus-visible { outline-offset: 2px; }
.pocket.empty { box-shadow: inset 0 0 0 1px #7A746D, inset 0 10px 18px rgba(0, 0, 0, .55); }
.pocket.sel { box-shadow: inset 0 0 0 1px var(--edge), inset 0 10px 18px rgba(0, 0, 0, .55), 0 0 0 2px var(--text); }

/* drop target: amber corner brackets */
.pocket.tgt::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 6px;
  pointer-events: none;
  --c: var(--amber);
  --l: 22%;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) top left / 3px 12%,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) top right / 3px 12%,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) bottom left / 3px 12%,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) bottom right / 3px 12%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 6px rgba(249, 160, 65, .5));
}
.pocket.tgt { background: linear-gradient(rgba(249, 160, 65, .06), rgba(249, 160, 65, 0) 70%), linear-gradient(var(--well-2), var(--well-1) 30%, var(--well-0)); }
.landing {
  position: absolute;
  left: 50%;
  bottom: calc(18cqw + 6cqw);
  width: 70cqw;
  aspect-ratio: 1;
  translate: -50% 0;
  border: 2px dashed rgba(249, 160, 65, .75);
  border-radius: 50%;
  display: none;
  place-items: center;
  color: var(--amber);
}
.landing svg { width: 34%; }
.pocket.tgt.empty .landing { display: grid; }

.coin {
  position: absolute;
  left: 9cqw;
  width: 82cqw;
  height: 82cqw;
  bottom: calc(19cqw + var(--k) * 11cqw);
  filter: drop-shadow(0 2cqw 1.6cqw rgba(0, 0, 0, .55));
  transition: translate .16s ease;
}
.coin.lift { translate: 0 -7cqw; }
.coin.in { animation: drop .32s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--d, 0) * 34ms); }
@keyframes drop { from { translate: 0 -70cqw; opacity: 0; } 60% { opacity: 1; } to { translate: 0 0; opacity: 1; } }
.coin.pop { animation: pop .42s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--d, 0) * 50ms); }
@keyframes pop { from { scale: .2; opacity: 0; } to { scale: 1; opacity: 1; } }
.pocket.flash::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 70%, var(--flash, #fff) 0%, transparent 70%);
  opacity: 0;
  animation: flash .6s ease-out;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes flash { 20% { opacity: .85; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pocket.flash::after { animation: none; } }

.rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15cqw;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 0 8cqw;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(var(--lip-0), var(--lip-1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  z-index: 2;
}
.rail i { flex: 1; height: 4.2cqw; min-height: 3px; border-radius: 2px; background: var(--tick-off); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); }
.rail i[style] { box-shadow: 0 0 5px -1px var(--seg); background: var(--seg); }

.console {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-height: 52px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--well-1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .05);
  font: 700 13px/1.5 var(--mono);
  letter-spacing: -.01em;
}
.prompt { color: var(--muted); }
.demo-keys { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 14px; }
.key--deal { font-size: 19px; }
.key--deal svg { width: 20px; height: 20px; }

/* ---------- sections ---------- */
.sec { padding-block: 72px; border-top: 1px solid #221E1B; }
@media (min-width: 980px) { .sec { padding-block: 112px; } }
.sec-k { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-k .n { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--key); color: var(--text); font-weight: 700; letter-spacing: .04em; box-shadow: 0 2px 0 var(--key-edge); }
h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.04em; max-width: 18em; }
h3 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.body { margin-top: 20px; max-width: 36em; font-size: 17.5px; color: #DCD6CD; }
.body.muted { color: var(--muted); }
.split { display: grid; gap: 48px; margin-top: 8px; }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); margin-top: 40px; }
  .split--dial { align-items: center; }
}
.split--wide { margin-top: 32px; }

/* steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #25211E; }
.steps li:last-child { border-bottom: 0; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--key); font: 800 16px var(--mono); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 3px 0 var(--key-edge); }
.steps p { margin-top: 4px; color: var(--muted); font-size: 16.5px; }

/* phones */
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (min-width: 980px) { .phones { gap: 24px; } .phones .phone:nth-child(2) { margin-top: 56px; } }
.phone { margin: 0; }
.phone img {
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 3vw, 34px);
  background: var(--ground);
  box-shadow: 0 0 0 1px #2E2925, 0 0 0 7px #0E0C0A, 0 0 0 8px #2A2622, 0 30px 60px -30px #000;
}
.phone figcaption { margin-top: 20px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.phone figcaption .label { display: block; margin-bottom: 4px; }
.phone--solo { max-width: 320px; justify-self: center; width: 100%; }

/* the dial */
.dial { margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.dial-in {
  container-type: inline-size;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 25.5cqw, #2A2622 25.5cqw 25.8cqw, transparent 25.8cqw),
    radial-gradient(circle, var(--panel) 0 49.6cqw, transparent 49.8cqw);
  box-shadow: inset 0 0 0 1px #2A2622;
}
.dial-in li {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17.5cqw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(calc(var(--v) * 30deg)) translateY(-38cqw) rotate(calc(var(--v) * -30deg));
}
.dial-in li svg { width: 100%; height: 100%; filter: drop-shadow(0 1.4cqw 1.2cqw rgba(0, 0, 0, .55)); }
.dial { position: relative; }
.dial-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; pointer-events: none; aspect-ratio: 1; height: auto; }
.dial-f { font: 800 clamp(18px, 3.4vw, 26px) var(--mono); letter-spacing: -.03em; }
.dial-c .label { font-size: 10px; max-width: 14em; margin: 0 auto; }

.rail-demo { display: grid; gap: 12px; margin-top: 28px; max-width: 420px; }
.rail-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.meter { display: flex; gap: 4px; height: 22px; align-items: center; padding: 0 10px; border-radius: 6px; background: linear-gradient(var(--lip-0), var(--lip-1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.meter i { flex: 1; height: 7px; border-radius: 2px; background: var(--seg, var(--tick-off)); box-shadow: 0 0 6px -1px var(--seg, transparent); }

/* twists */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { padding: 20px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px #2A2622, inset 0 1px 0 rgba(255, 255, 255, .04); }
.card--wide { grid-column: 1 / -1; }
.card-i { width: 52px; height: 52px; margin-bottom: 16px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
.card p:not(.mission) { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.from { display: inline-block; margin-left: 6px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); vertical-align: 2px; }
.mission { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; background: var(--well-1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .7); font: 700 13px/1.4 var(--mono); }
.mission-n { margin-left: auto; color: var(--muted); }

/* boosters */
.ledger { width: 100%; max-width: 36em; margin-top: 28px; border-collapse: collapse; }
.ledger caption { text-align: left; padding-bottom: 10px; }
.ledger th, .ledger td { padding: 13px 0; border-top: 1px solid #2A2622; vertical-align: baseline; }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 1px solid #2A2622; }
.ledger th { text-align: left; font-weight: 500; color: #DCD6CD; padding-right: 16px; }
.ledger td { text-align: right; font: 700 14px var(--mono); white-space: nowrap; }
/* comparison: same ledger, three columns; values may wrap on phones */
.ledger--vs { margin-top: 24px; }
.ledger--vs thead th { font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; border-top: 0; text-align: left; }
.ledger--vs thead td { border-top: 0; padding: 0; }
.ledger--vs td { text-align: left; white-space: normal; padding-right: 16px; font-weight: 500; color: var(--muted); }
.ledger--vs td:last-child { font-weight: 700; color: var(--text); padding-right: 0; }
@media (max-width: 519px) { .ledger--vs td { font: 500 15px/1.4 var(--sans); } .ledger--vs td:last-child { font-weight: 700; } .ledger--vs th[scope="row"] { padding-right: 12px; } }

/* get it */
.sec--get { background: radial-gradient(ellipse at 50% 120%, rgba(147, 220, 255, .07), transparent 60%); }
.get { display: grid; gap: 28px; align-items: center; margin-top: 8px; }
@media (min-width: 720px) { .get { grid-template-columns: 168px 1fr; gap: 48px; } }
.get-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 0 0 1px #2E2925, 0 24px 48px -20px #000; }
@media (min-width: 720px) { .get-icon { width: 168px; height: 168px; border-radius: 38px; } }
.status--big { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: var(--well-1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .7); color: #DCD6CD; line-height: 1.5; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid #221E1B; padding-block: 40px 48px; }
.foot-in { display: grid; gap: 22px; }
@media (min-width: 720px) { .foot-in { grid-template-columns: auto 1fr; align-items: center; } .foot-meta { grid-column: 1 / -1; } }
.brand--foot { font-size: 24px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 720px) { .foot-links { justify-content: flex-end; } }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px var(--mono); color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 20px; border-top: 1px solid #221E1B; }

/* ---------- document pages (privacy, support, 404) ---------- */
.doc { padding-block: 48px 88px; }
@media (min-width: 980px) { .doc { padding-block: 80px 112px; } }
.doc-in { max-width: 720px; }
.doc h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.05; }
.doc .meta { margin-top: 16px; }
.doc .lede { margin-top: 22px; }
.doc h2 { font-size: clamp(21px, 2.6vw, 26px); letter-spacing: -.03em; margin-top: 48px; }
.doc h3 { margin-top: 26px; }
.doc p, .doc li { color: #DCD6CD; font-size: 17px; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--hair); }
.doc .muted { color: var(--muted); }
.doc p.label { font-size: 11.5px; color: var(--muted); }
.doc-in > p.label:first-child { margin: 0 0 16px; }
.doc .toc { padding: 0; }
.doc .toc li { margin: 0; }
.doc .key { margin-top: 20px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 9px; background: var(--key); font: 500 13px var(--mono); color: var(--text); text-decoration: none; box-shadow: 0 2px 0 var(--key-edge); }
.toc a:hover { background: var(--key-hi); }
.faq { margin-top: 12px; }
.faq details { border-top: 1px solid #2A2622; }
.faq details:last-child { border-bottom: 1px solid #2A2622; }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font: 700 15.5px/1.4 var(--mono); letter-spacing: -.02em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 700 20px var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > ul { margin: 0 0 18px; }
.faq details > p + p { margin-top: 10px; }
.mail { font: 700 clamp(16px, 2.2vw, 20px) var(--mono); letter-spacing: -.02em; overflow-wrap: anywhere; }
