/* ============================================================
   CARTOGRAPH — retro-games collector's archive
   Art direction: dark walnut archive, warm amber accents,
   tactile cartridge plastics, mono data labels.
   ============================================================ */

:root {
  --bg: #0d0a07;
  --bg-2: #15100b;
  --surface: #1c150e;
  --surface-2: #241b12;
  --line: #34281a;
  --line-soft: #2a2013;
  --ink: #f4ecda;
  --ink-dim: #c9b797;
  --ink-faint: #93815f;
  --amber: #ffb03a;
  --amber-deep: #e8923a;
  --teal: #57d0bd;
  --rust: #e0603a;
  --plastic-gray: #9b9a92;
  --plastic-dark: #3a3a3c;
  --wood: #4a3320;
  --wood-dark: #2c1e10;
  --radius: 14px;
  --font: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

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

main a:not(.btn):not(.brand) { color: var(--teal); }

::selection { background: var(--amber); color: #1a1206; }

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 99;
  background: var(--amber); color: #1a1206; font-weight: 700;
  padding: 10px 16px; border-radius: 8px; transition: top .15s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-h2 { font-size: 1.9rem; margin: 0 0 22px; letter-spacing: -0.02em; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 10, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; color: var(--amber); }
.mark-label { fill: #14100a; }
.px.a { fill: var(--teal); } .px.b { fill: var(--rust); } .px.c { fill: var(--amber); }
.brand-word { font-family: var(--mono); font-weight: 700; letter-spacing: 0.22em; font-size: 15px; }
.site-nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-size: 14px;
  font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #191104; background: linear-gradient(180deg, #ffc05c, var(--amber) 55%, var(--amber-deep));
  border: 1px solid #8a5a14; border-radius: 10px;
  padding: 14px 22px;
  box-shadow: 0 2px 0 #7a4d10, 0 10px 26px rgba(255, 176, 58, 0.16);
  transition: transform .12s ease, box-shadow .12s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 #7a4d10, 0 14px 30px rgba(255,176,58,.22); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #7a4d10; }
.btn-ghost {
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { color: var(--amber); border-color: var(--amber); box-shadow: none; }
.btn-small { padding: 10px 16px; font-size: 12px; }

/* ---------- kicker / section heads ---------- */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  color: var(--amber); margin: 0 0 14px;
}
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
.accent { color: var(--amber); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-sub { color: var(--ink-dim); margin: 0; }
.lede { font-size: 1.18rem; color: var(--ink-dim); max-width: 56ch; margin: 0 0 30px; }
.fineprint { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); margin-top: 26px; }

section { padding: 96px 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(closest-side at 22% 40%, rgba(255, 176, 58, 0.10), transparent 70%),
    radial-gradient(closest-side at 78% 30%, rgba(87, 208, 189, 0.07), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-device { text-align: center; }

/* CSS phone mockup */
.device {
  position: relative; display: inline-block;
  width: 300px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #2e2e32, #141416 60%);
  border: 1px solid #44464d;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  transform: rotate(-2deg);
}
.device-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 0 0 14px 14px; background: #0a0a0b; z-index: 2;
}
.device-screen {
  border-radius: 34px; overflow: hidden; background: #0a0f10;
  border: 1px solid #1d2126; text-align: left;
  padding: 34px 14px 14px;
}
.app-bar {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--teal);
  padding-bottom: 10px;
}
.app-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.viewfinder { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #111; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; }
.vf-corner {
  position: absolute; width: 22px; height: 22px; border: 3px solid var(--teal);
}
.vf-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.vf-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  box-shadow: 0 0 18px var(--teal);
  animation: scan 2.6s ease-in-out infinite;
}
.vf-scanline.big { height: 4px; }
@keyframes scan { 0% { top: 4%; } 50% { top: 92%; } 100% { top: 4%; } }
.scan-card {
  margin-top: 12px; background: #101a1a; border: 1px solid #1e3532;
  border-radius: 14px; padding: 14px;
}
.scan-card-head { display: flex; justify-content: space-between; align-items: center; }
.conf { font-family: var(--mono); font-size: 11px; color: var(--teal); }
.scan-title { margin: 8px 0 0; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.scan-sub { margin: 2px 0 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); }
.scan-rows { display: grid; gap: 5px; }
.scan-rows div {
  display: flex; justify-content: space-between; font-family: var(--mono);
  font-size: 10.5px; color: var(--ink-dim);
  border-top: 1px dashed #23423d; padding-top: 5px;
}
.scan-rows b { color: var(--amber); font-weight: 700; }
.scan-foot { margin: 10px 0 0; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); }
.device-caption { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-top: 18px; }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden; padding: 13px 0; background: var(--bg-2);
}
.ticker-track {
  display: flex; gap: 34px; width: max-content;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--ink-faint);
  animation: tick 32s linear infinite;
}
.ticker-track i { color: var(--amber); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- shelf ---------- */
.shelf-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.shelf-frame { position: relative; }
.shelf {
  display: flex; align-items: flex-end; gap: 9px;
  padding: 34px 18px 0; min-height: 240px;
  overflow-x: auto; scrollbar-width: thin;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), transparent 30%),
    linear-gradient(180deg, #20170e, #191008);
  border: 1px solid var(--line-soft);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.shelf-plank {
  height: 26px; border-radius: 0 0 var(--radius) var(--radius);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 3px, transparent 3px 110px),
    linear-gradient(180deg, #5a3f24, var(--wood) 30%, var(--wood-dark));
  border: 1px solid #1d130a; border-top: 1px solid #6b4c2a;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

/* cartridge / case spines */
.spine {
  flex: 0 0 auto; position: relative;
  width: 56px; height: 198px; padding: 0;
  border: none; border-radius: 5px 5px 3px 3px;
  cursor: pointer; color: var(--ink);
  transform: rotate(var(--tilt, 0deg));
  transform-origin: bottom center;
  transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: inset -3px 0 6px rgba(0,0,0,.45), inset 2px 0 3px rgba(255,255,255,.10), 0 -2px 8px rgba(0,0,0,.3);
}
.spine:hover, .spine[aria-expanded="true"] {
  transform: rotate(var(--tilt, 0deg)) translateY(-14px);
  box-shadow: inset -3px 0 6px rgba(0,0,0,.45), inset 2px 0 3px rgba(255,255,255,.12), 0 -6px 24px rgba(255,176,58,.28);
}
.spine .spine-art {
  position: absolute; top: 8px; left: 7px; right: 7px; height: 62px;
  border-radius: 3px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4);
}
.spine .spine-art svg { width: 100%; height: 100%; display: block; }
.spine .spine-title {
  position: absolute; top: 80px; bottom: 26px; left: 0; right: 0;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 4px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.spine .spine-tag {
  position: absolute; bottom: 7px; left: 0; right: 0;
  font-family: var(--mono); font-size: 8px; letter-spacing: .12em;
  color: rgba(0,0,0,.65); text-align: center;
}
.spine.is-jewel { width: 40px; height: 190px; border-radius: 2px; }
.spine.is-jewel .spine-title { font-size: 9px; }
.spine.is-handheld { width: 46px; height: 168px; }
.spine.new { outline: 2px solid var(--teal); outline-offset: 2px; }

/* console plastics */
.c-nes { background: linear-gradient(90deg, #7e7d75, #9b9a92 30%, #83827b); color: #232120; }
.c-snes { background: linear-gradient(90deg, #8d8a9e, #b4b0c4 30%, #9793a8); color: #2a2634; }
.c-n64 { background: linear-gradient(90deg, #333336, #4b4b50 30%, #3a3a3e); color: #efe9da; }
.c-gb { background: linear-gradient(90deg, #8f8f88, #b0afa6 30%, #98978f); color: #2a2925; }
.c-gen { background: linear-gradient(90deg, #151517, #2a2a2e 30%, #1b1b1e); color: #efe9da; }
.c-ps1 { background: linear-gradient(90deg, #101318, #1f2733 40%, #141922); color: #dfe9f2; }
.spine .spine-tag { color: currentColor; opacity: .55; }

/* ---------- drawer ---------- */
.drawer { margin-top: 26px; }
.drawer-inner {
  position: relative; display: grid; grid-template-columns: 140px 1fr 260px; gap: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
  animation: drawer-in .22s ease;
}
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } }
.drawer-swatch { border-radius: 10px; overflow: hidden; align-self: start; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.drawer-swatch svg, .drawer-swatch img { width: 100%; height: auto; display: block; }
.drawer-title { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.drawer-sub { margin: 4px 0 16px; font-family: var(--mono); font-size: 12px; color: var(--teal); }
.drawer-rows { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 26px; margin: 0; }
.drawer-rows div { border-top: 1px dashed var(--line); padding-top: 8px; }
.drawer-rows dt { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--ink-faint); text-transform: uppercase; }
.drawer-rows dd { margin: 3px 0 0; font-weight: 600; }
.drawer-note { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); margin: 16px 0 0; }
.drawer-trend { border-left: 1px solid var(--line); padding-left: 26px; }
.trend-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-faint); margin: 0 0 8px; text-transform: uppercase; }
#trend-dir { color: var(--teal); }
#trend-svg, .estimate-trend { width: 100%; height: auto; }
.drawer-close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  border-radius: 8px; border: 1px solid var(--line); background: transparent;
  color: var(--ink-dim); font-size: 20px; cursor: pointer; line-height: 1;
}
.drawer-close:hover { color: var(--amber); border-color: var(--amber); }
.wanted-on { color: var(--rust) !important; border-color: var(--rust) !important; }

/* ---------- scan simulator ---------- */
.scan-section { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sim {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px;
}
.sim-steps {
  display: flex; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; flex-wrap: wrap;
}
.sim-steps li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-soft); border-radius: 999px;
}
.sim-steps li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--line-soft); color: var(--ink-dim); font-size: 10px;
}
.sim-steps li.on { color: var(--amber); border-color: var(--amber); }
.sim-steps li.on span { background: var(--amber); color: #1a1206; }
.sim-steps li.done { color: var(--teal); border-color: var(--line); }
.sim-steps li.done span { background: var(--teal); color: #06251f; }

.sim-pane { border: none; margin: 0; padding: 0; }
.sim-pane legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; padding: 0; }

.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.pick {
  position: relative; display: block; cursor: pointer; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--line); background: var(--bg);
  transition: border-color .15s, transform .15s;
}
.pick:hover { transform: translateY(-3px); border-color: var(--ink-faint); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pick span {
  display: block; padding: 9px 10px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim);
  border-top: 1px solid var(--line-soft);
}
.pick:has(input:checked) { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,176,58,.18); }
.pick:has(input:checked) span { color: var(--amber); }
.pick:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 3px; }

.match-stage { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.match-img-wrap { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.match-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.match-log {
  font-family: var(--mono); font-size: 13px; color: var(--teal);
  display: grid; gap: 9px; align-content: start; min-height: 180px;
}
.match-log p { margin: 0; opacity: 0; animation: log-in .3s forwards; }
.match-log p::before { content: "▸ "; color: var(--amber); }
.match-log p.ok { color: var(--ink-dim); }
.match-log p.ok::before { content: "✓ "; color: var(--teal); }
@keyframes log-in { to { opacity: 1; } }

.identified {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 22px;
}
.identified img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; }
.identified .id-title { font-weight: 800; font-size: 1.25rem; margin: 0; }
.identified .id-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); margin: 3px 0 0; }
.tag {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em;
  border: 1px solid var(--line); color: var(--ink-dim); border-radius: 999px;
  padding: 4px 10px; text-transform: uppercase;
}
.tag-found { color: var(--teal); border-color: #2a524b; }
.tag-live { color: var(--amber); border-color: #7a5a1c; }

.chip-rows { display: grid; gap: 20px; margin-bottom: 20px; }
.chip-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 9px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 12.5px; cursor: pointer;
  background: var(--bg); color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 15px;
  transition: all .12s;
}
.chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: rgba(255,176,58,.14); border-color: var(--amber); color: var(--amber); font-weight: 700;
}
.hint { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); margin: 0 0 20px; }
.condition-notes { margin: 0 0 22px; padding-left: 20px; color: var(--ink-dim); font-size: 14px; display: grid; gap: 6px; }

.estimate-card {
  max-width: 620px; background: linear-gradient(160deg, #221a10, #171008);
  border: 1px solid #4a3a20; border-radius: 16px; padding: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.estimate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.estimate-title { font-weight: 800; font-size: 1.2rem; margin: 0; }
.estimate-value { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--amber); margin: 14px 0 6px; }
.estimate-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); margin: 0 0 14px; }
.estimate-trend { margin-bottom: 20px; }
.estimate-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.sim-toast { min-height: 26px; font-family: var(--mono); font-size: 13px; color: var(--teal); margin: 18px 4px 0; }
.sim-toast.warn { color: var(--rust); }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.how-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 20px; position: relative;
}
.how-num { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .2em; display: block; margin-bottom: 34px; }
.how-card p { color: var(--ink-dim); font-size: 14.5px; margin: 0; }

/* ---------- photo break ---------- */
.photo-break { margin: 0; position: relative; }
.photo-break img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.photo-break figcaption {
  padding-top: 16px; padding-bottom: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-faint);
}

/* ---------- coverage ---------- */
.cov-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.cov-col { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.cov-col h3 { margin-bottom: 16px; }
.cov-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cov-list li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line-soft); padding-bottom: 11px; font-size: 14.5px; }
.cov-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cov-list b { font-weight: 700; }
.cov-list span { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-align: right; }
.cov-list.dim b { color: var(--ink-dim); }

/* ---------- pilot ---------- */
.pilot { background: linear-gradient(160deg, #1b1409, #0d0a07 65%); }
.pilot-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: start; }
.pilot-points { margin: 22px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.pilot-points li { padding-left: 26px; position: relative; color: var(--ink-dim); }
.pilot-points li::before { content: "◆"; position: absolute; left: 0; color: var(--amber); font-size: 11px; top: 4px; }
.pilot-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.pilot-card-title { font-weight: 800; margin: 0 0 14px; }
.pilot-card ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-dim); font-size: 15px; }

/* ---------- faq ---------- */
.faq { padding-top: 60px; }
.faq details {
  border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface);
  margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 700; font-size: 15.5px;
  list-style: none; position: relative;
}
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--amber); font-size: 18px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-dim); font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); background: #0a0805; padding: 60px 0 50px; }
.foot-inner { display: grid; grid-template-columns: 1fr 0.6fr 1.4fr; gap: 40px; }
.foot-head { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-faint); text-transform: uppercase; margin: 0 0 12px; }
.foot-col a { display: block; color: var(--ink-dim); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.foot-col a:hover { color: var(--amber); }
.foot-note { color: var(--ink-faint); font-size: 13px; max-width: 62ch; }
.foot-note a { color: var(--teal); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-device { order: -1; }
  .device { transform: rotate(0); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .cov-grid { grid-template-columns: 1fr; }
  .pilot-grid { grid-template-columns: 1fr; gap: 30px; }
  .drawer-inner { grid-template-columns: 1fr; }
  .drawer-trend { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .drawer-swatch { max-width: 180px; }
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .match-stage { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .estimate-value { font-size: 2rem; }
  .sim { padding: 20px; }
  .spine { width: 48px; height: 176px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .vf-scanline { display: none; }
}
