/* The Entity Effect
   Type: Orbitron for display, Outfit for reading, JetBrains Mono only for machine output.
   Color: status colors carry meaning in the Page Check (green pass, gold warn, pink fail). */

/* Self-hosted typefaces (SIL Open Font License, see LICENSE-fonts.txt). */
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/orbitron-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/orbitron-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --void: #020209;
  --panel: #0c0c1a;
  --panel-raised: #12122a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f2eeff;
  --ink-soft: #c0bedc;
  --ink-muted: #8f8db0;
  --cyan: #00d4ff;
  --violet: #7b2fff;
  --lavender: #c4aaff;
  --pink: #ff2d78;
  --gold: #ffb830;
  --green: #00ffb3;

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --nav-h: 68px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1160px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 9000; padding: 10px 16px;
  background: var(--cyan); color: #000; font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* Background starfield */
.starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.site { position: relative; z-index: 1; }

/* ---------- Intro ---------- */
.intro, .intro-execute, .intro-matrix, .intro-logo { display: none; }
.intro-pending .site, .intro-pending .site-header, .intro-pending .site-footer, .intro-pending .skip-link { visibility: hidden; }
.intro-pending body { overflow: hidden; }
.intro-pending .intro { display: block; }
.intro-pending .intro-execute, .intro-pending .intro-logo { display: flex; }

.intro { position: fixed; inset: 0; z-index: 8000; background: #000; padding: clamp(16px, 3.5vw, 40px); overflow: hidden; }
.intro-term { max-width: min(640px, 92vw); font-family: var(--font-mono); font-size: clamp(11px, 1.25vw, 13px); line-height: 1.85; }
.term-line { white-space: pre-wrap; word-break: break-word; color: #4a4a6a; min-height: 1.85em; }
.term-line.is-cmd { color: var(--cyan); }
.term-line.is-ok { color: var(--green); }
.term-line.is-exec { color: var(--gold); font-weight: 700; }
.term-cursor { display: inline-block; width: 7px; height: 12px; margin-left: 2px; background: var(--cyan); vertical-align: middle; animation: blink 0.85s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.intro-skip {
  position: fixed; right: 20px; bottom: 20px; z-index: 8100; padding: 8px 12px;
  background: none; border: 1px solid var(--line); color: var(--ink-muted);
  font-size: 13px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.intro-skip:hover { color: var(--ink); border-color: var(--line-strong); }

.intro-execute {
  position: fixed; inset: 0; z-index: 8010; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.intro-execute.is-visible { opacity: 1; pointer-events: auto; }
.intro-execute button {
  font-family: var(--font-mono); font-size: clamp(12px, 1.7vw, 15px); font-weight: 700; letter-spacing: 0.12em;
  color: var(--pink); background: #000; border: 1px solid rgba(255, 45, 120, 0.4);
  padding: clamp(12px, 1.5vw, 16px) clamp(18px, 2.5vw, 30px); cursor: pointer;
  animation: execPulse 2s ease-in-out infinite;
}
.intro-execute button:hover { color: #fff; background: rgba(255, 45, 120, 0.1); }
@keyframes execPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 45, 120, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 45, 120, 0.75), 0 0 48px rgba(255, 45, 120, 0.2); }
}

.intro-matrix { position: fixed; inset: 0; z-index: 8020; pointer-events: none; }

.intro-logo {
  position: fixed; inset: 0; z-index: 8030; background: #000; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none;
}
.intro-logo.is-visible { opacity: 1; pointer-events: auto; }
.intro-logo img { width: clamp(110px, 18vw, 190px); opacity: 0; filter: invert(1) sepia(1) saturate(4) hue-rotate(240deg) brightness(0.85) contrast(1.1); }
.intro-name {
  display: flex; flex-wrap: wrap; justify-content: center; min-height: 44px;
  margin-top: clamp(12px, 1.8vw, 22px);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(16px, 2.8vw, 30px);
  letter-spacing: clamp(2px, 0.6vw, 9px);
}
.intro-letter {
  display: inline-block; opacity: 0; transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease, text-shadow 0.45s;
  background: linear-gradient(180deg, #fff 0%, #a78bfa 52%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.intro-letter.is-lit { opacity: 1; transform: none; }
.intro-enter {
  margin-top: clamp(20px, 2.8vw, 34px); padding: 13px 48px; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: #000; background: linear-gradient(135deg, var(--cyan), var(--violet));
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  opacity: 0; transform: translateY(8px); transition: opacity 0.45s, transform 0.45s, box-shadow 0.3s;
}
.intro-enter.is-visible { opacity: 1; transform: none; }
.intro-enter:hover { box-shadow: 0 0 28px rgba(0, 212, 255, 0.5); }

.intro-wipe { position: fixed; inset: 0; z-index: 9999; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.intro-wipe.is-on { opacity: 1; pointer-events: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--nav-h);
  background: rgba(2, 2, 9, 0.86); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 32px; filter: drop-shadow(0 0 10px rgba(123, 47, 255, 0.55)); }
.brand span { font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.brand em { font-style: normal; color: var(--cyan); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 18px; background: var(--cyan); color: #000; font-weight: 600; font-size: 15px;
  text-decoration: none; border-radius: var(--radius); transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.nav-cta:hover { box-shadow: 0 0 24px rgba(0, 212, 255, 0.45); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    /* The header's backdrop blur makes it the containing block, so size from it. */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--nav-h)); flex-direction: column;
    align-items: center; justify-content: center; gap: 28px; background: var(--void);
    transform: translateX(100%); transition: transform 0.35s var(--ease); visibility: hidden;
  }
  .nav-links.is-open { transform: none; visibility: visible; }
  .nav-links a { font-size: 20px; }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: inline-block; color: #000; }
}
.nav-cta-mobile { display: none; }

/* ---------- Shared section rhythm ---------- */
.section { padding: clamp(80px, 11vw, 136px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05; letter-spacing: -0.01em;
}
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 24px; border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  font-weight: 600; font-size: 16px; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s;
}
.btn-primary { color: #000; background: linear-gradient(135deg, var(--cyan), #6b8cff 60%, var(--violet)); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 212, 255, 0.28); }
.btn-gold { color: #000; background: var(--gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 184, 48, 0.25); }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-muted); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-title {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.3vw, 62px);
  line-height: 1.04; letter-spacing: -0.01em; text-transform: uppercase;
}
.hero-title span { display: block; white-space: nowrap; }
.hero-title .t-dim {
  background: linear-gradient(180deg, rgba(242, 238, 255, 0.45), rgba(0, 212, 255, 0.12));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .t-glow {
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: sweep 5s ease-in-out infinite alternate;
}
@keyframes sweep { to { background-position: 100% 0; } }
.hero-lede { margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.hero-lede strong { color: var(--ink); font-weight: 500; }

/* The console: the one loud element on the page */
.console {
  position: relative; border: 1px solid rgba(0, 212, 255, 0.28); border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 12, 26, 0.94), rgba(6, 6, 16, 0.94));
  box-shadow: 0 0 0 1px rgba(123, 47, 255, 0.12), 0 40px 120px -30px rgba(0, 212, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted);
}
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.console-bar i:first-child { background: rgba(255, 45, 120, 0.6); }
.console-bar i:nth-child(2) { background: rgba(255, 184, 48, 0.6); }
.console-bar i:nth-child(3) { background: rgba(0, 255, 179, 0.6); }
.console-bar b { margin-left: auto; font-weight: 400; }
.console-body { padding: clamp(22px, 3vw, 32px); }
.console-body h2 { font-weight: 600; font-size: 23px; line-height: 1.25; }
.console-body > p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

.check-form { margin-top: 22px; }
.check-field {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.check-field:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12); }
.check-field .prompt { font-family: var(--font-mono); color: var(--cyan); }
.check-field input {
  flex: 1; min-width: 0; padding: 12px 0; border: 0; background: none; outline: none;
  font-family: var(--font-mono); font-size: 15px;
}
.check-field input::placeholder { color: #5d5b7c; }
.check-field .btn { flex: none; }
.check-note { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.check-error { margin-top: 12px; font-size: 15px; color: var(--pink); }
.check-error:empty { display: none; }

/* Fixed height so the hero does not jump as lines arrive. */
.scan-log {
  height: calc(1.9em * 6); margin-top: 22px; overflow-y: auto; overscroll-behavior: contain;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--ink-muted);
  scrollbar-width: thin;
}
.scan-log:empty { display: none; }
.scan-log .is-done { color: var(--green); }
.scan-log .is-fail { color: var(--pink); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}
@media (max-width: 520px) {
  .check-field { flex-wrap: wrap; padding: 6px; }
  .check-field .prompt { padding-left: 10px; }
  .check-field .btn { width: 100%; }
}

/* ---------- Try chips and scanning ---------- */
.try-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-muted); }
.try-row span { margin-right: 4px; }
.try-chip {
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: transparent;
  font-size: 14px; color: var(--ink-soft); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.try-chip:hover { border-color: var(--cyan); color: var(--ink); background: rgba(0, 212, 255, 0.06); }
.console::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.14) 60%, rgba(0, 212, 255, 0.5) 99%, transparent);
}
.console.is-scanning::after { opacity: 1; animation: scanline 1.6s linear infinite; }
@keyframes scanline { from { transform: translateY(-120px); } to { transform: translateY(520px); } }

/* ---------- Report ---------- */
.report { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.report[hidden] { display: none; }
.report-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 36px); align-items: center;
}
.capsule-frame { width: 231px; margin: 0; }
.capsule-frame img { width: 231px; height: 87px; object-fit: cover; border-radius: 2px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.capsule-frame figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-muted); }
.report-title h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; }
.report-title p { margin-top: 8px; color: var(--ink-soft); }
.report-title a { color: var(--cyan); text-underline-offset: 3px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

.score { position: relative; width: 132px; height: 132px; flex: none; }
/* overflow visible lets the glow spread past the ring instead of being
   clipped into a square at the edge of the SVG. */
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.score circle { fill: none; stroke-width: 8; }
.score .track { stroke: var(--line); }
.score .meter { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset 1.3s var(--ease), stroke 0.3s; filter: drop-shadow(0 0 6px rgba(0, 255, 179, 0.55)); }
.score.is-mid .meter { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(255, 184, 48, 0.55)); }
.score.is-low .meter { stroke: var(--pink); filter: drop-shadow(0 0 6px rgba(255, 45, 120, 0.55)); }
.score-value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-value b { font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: 1; }
.score-value span { margin-top: 6px; font-size: 12px; color: var(--ink-muted); }

.section-scores { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 22px; margin-top: 36px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ss-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.ss-head b { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.ss-bar { height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ss-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green); transition: width 1.1s var(--ease); }
.section-scores .is-mid .ss-bar span { background: var(--gold); }
.section-scores .is-low .ss-bar span { background: var(--pink); }
@media (max-width: 960px) { .section-scores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .section-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fix-first {
  margin-top: 32px; padding: 26px 28px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), rgba(123, 47, 255, 0.09));
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.fix-first[hidden] { display: none; }
.fix-first h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }
.fix-first ol { display: grid; gap: 14px; margin-top: 18px; counter-reset: fix; }
.fix-first li { display: grid; grid-template-columns: 32px auto minmax(0, 1fr); gap: 12px; align-items: baseline; }
.fix-first li::before { counter-increment: fix; content: counter(fix); font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--cyan); }
.fix-first li p { color: var(--ink); }
@media (max-width: 640px) { .fix-first li { grid-template-columns: 28px minmax(0, 1fr); } .fix-first li p { grid-column: 2; } }

/* Shelf view */
.shelf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; margin-top: 48px; }
.shelf[hidden] { display: none; }
.shelf h3 { font-size: 20px; font-weight: 500; }
.shelf-note { margin-top: 6px; font-size: 15px; color: var(--ink-muted); }
.shelf-list { margin-top: 16px; border-radius: 8px; overflow: hidden; background: #111a26; border: 1px solid rgba(255, 255, 255, 0.06); }
.shelf-row {
  position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 8px 12px 8px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.35); background: rgba(255, 255, 255, 0.02);
}
.shelf-row:nth-child(even) { background: rgba(255, 255, 255, 0.04); }
.shelf-capsule { width: 120px; height: 45px; object-fit: cover; display: block; background: #0b121b; }
.shelf-capsule.is-missing { visibility: hidden; }
span.is-missing { display: block; flex: none; }
.shelf-info { display: grid; min-width: 0; }
.shelf-name { font-size: 15px; color: #e6edf5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-sub { font-size: 12px; color: #7e8fa3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-price { font-size: 13px; color: #c9d6e3; }
.shelf-row.is-yours { grid-template-columns: 120px minmax(0, 1fr) auto auto; background: rgba(0, 212, 255, 0.1); box-shadow: inset 3px 0 0 var(--cyan); }
.shelf-row.is-yours .shelf-sub { color: #93a3b5; }
.shelf-badge { padding: 2px 8px; border-radius: 99px; background: var(--cyan); color: #000; font-size: 11px; font-weight: 600; white-space: nowrap; }
.report.is-revealed .shelf-row.is-yours { animation: slideIn 0.7s var(--ease) both 0.4s; }
@keyframes slideIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

.hover-card { margin-top: 16px; padding: 14px; border-radius: 8px; background: #111a26; border: 1px solid rgba(255, 255, 255, 0.06); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.hover-card h4 { font-size: 17px; font-weight: 500; color: #e6edf5; }
.hover-release, .hover-reviews { margin-top: 2px; font-size: 13px; color: #7e8fa3; }
.hover-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.hover-shot { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 2px; background: #0b121b; }
.hover-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.hover-tags span { padding: 2px 8px; border-radius: 2px; background: rgba(103, 193, 245, 0.15); color: #67c1f5; font-size: 12px; }
@media (max-width: 860px) { .shelf { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .shelf-row, .shelf-row.is-yours { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .shelf-capsule { width: 96px; height: 36px; }
  .shelf-price { display: none; }
}

.shelf-compare {
  padding: 5px 12px; border-radius: 4px; border: 1px solid rgba(103, 193, 245, 0.35); background: transparent;
  color: #67c1f5; font: 500 12px var(--font-body); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.shelf-compare:hover, .shelf-compare.is-active { background: #67c1f5; color: #0b121b; border-color: #67c1f5; }
.shelf-compare:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.shelf-row:has(.shelf-compare) { grid-template-columns: 120px minmax(0, 1fr) auto auto; }


/* Road to launch */
.plan { margin-top: 48px; padding: 28px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.plan[hidden] { display: none; }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.plan h3 { font-size: 20px; font-weight: 500; }
.plan-count { display: grid; justify-items: end; flex: none; }
.plan-count[hidden] { display: none; }
.plan-count b { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 5vw, 56px); line-height: 1; color: var(--cyan); text-shadow: 0 0 30px rgba(0, 212, 255, 0.35); }
.plan-count span { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.plan-list { position: relative; display: grid; gap: 4px; margin-top: 24px; }
.plan-list::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); opacity: 0.35; }
.plan-step { position: relative; display: grid; grid-template-columns: 16px 150px minmax(0, 1fr); gap: 18px; padding: 14px 0; }
.plan-dot { width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--void); border: 2px solid var(--ink-muted); z-index: 1; }
.plan-step.is-done .plan-dot { background: var(--green); border-color: var(--green); }
.plan-step.is-now .plan-dot { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 45, 120, 0.18); }
.plan-step.is-next .plan-dot { border-color: var(--cyan); }
.plan-step.is-key .plan-dot { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 212, 255, 0.6); }
.plan-when { display: grid; align-content: start; gap: 4px; }
.plan-date { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.plan-state { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.plan-step.is-now .plan-state { color: var(--pink); }
.plan-step.is-done .plan-state { color: var(--green); }
.plan-step.is-next .plan-state { color: var(--cyan); }
.plan-body h4 { font-size: 17px; font-weight: 500; line-height: 1.35; }
.plan-body p { margin-top: 4px; max-width: 68ch; font-size: 15px; color: var(--ink-soft); }
.plan-step.is-key .plan-body h4 { color: var(--cyan); }
.report.is-revealed .plan-step { animation: rise 0.5s var(--ease) both; }
.report.is-revealed .plan-step:nth-child(2) { animation-delay: 0.05s; }
.report.is-revealed .plan-step:nth-child(3) { animation-delay: 0.1s; }
.report.is-revealed .plan-step:nth-child(4) { animation-delay: 0.15s; }
.report.is-revealed .plan-step:nth-child(n+5) { animation-delay: 0.2s; }
@media (max-width: 640px) {
  .plan { padding: 22px 18px; }
  .plan-head { flex-direction: column; gap: 12px; }
  .plan-count { justify-items: start; }
  .plan-step { grid-template-columns: 16px minmax(0, 1fr); gap: 6px 14px; }
  .plan-when { grid-column: 2; display: flex; gap: 10px; align-items: baseline; }
  .plan-body { grid-column: 2; }
}

/* Head to head */
.h2h { margin-top: 32px; padding: 28px; border-radius: 12px; background: #0d1520; border: 1px solid rgba(103, 193, 245, 0.25); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.h2h[hidden] { display: none; }
.h2h:focus { outline: none; }
.h2h:not([hidden]) { animation: rise 0.5s var(--ease) both; }
.h2h-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.h2h h3 { font-size: 20px; font-weight: 500; }
.h2h-loading { margin-top: 18px; font-family: var(--font-mono); font-size: 14px; color: var(--cyan); }
.h2h-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 22px; }
.h2h-side { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.h2h-side.is-ours { border-color: rgba(0, 212, 255, 0.4); }
.h2h-capsule { width: 116px; height: 44px; object-fit: cover; display: block; border-radius: 2px; background: #0b121b; }
.h2h-side div { display: grid; min-width: 0; }
.h2h-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h-score { font-family: var(--font-display); font-weight: 900; font-size: 22px; }
.h2h-score.is-good { color: var(--green); }
.h2h-score.is-mid { color: var(--gold); }
.h2h-score.is-low { color: var(--pink); }
.h2h-vs { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--ink-muted); }
.h2h-scroll { margin-top: 22px; overflow-x: auto; }
.h2h-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.h2h-table th, .h2h-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.h2h-table thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.h2h-table tbody th { font-weight: 400; color: var(--ink-muted); width: 34%; }
.h2h-table td { color: var(--ink-soft); width: 33%; }
.h2h-table td.is-win { color: var(--green); font-weight: 500; }
.h2h-table td.is-win::after { content: " \2713"; }
.h2h-table td.is-lose { color: var(--pink); }
.h2h-table tr.is-earned td { color: var(--ink-muted); font-style: italic; white-space: normal; }
.h2h-leads { margin-top: 26px; }
.h2h-leads h4 { font-size: 17px; font-weight: 500; }
.h2h-leads ol { display: grid; gap: 16px; margin-top: 14px; }
.h2h-leads li { padding: 14px 16px; border-radius: 8px; background: rgba(255, 45, 120, 0.05); border-left: 2px solid var(--pink); }
.h2h-leads .area { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.h2h-leads p { margin-top: 4px; color: var(--ink); }
.h2h-leads .h2h-them { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 640px) {
  .h2h { padding: 22px 16px; }
  .h2h-board { grid-template-columns: 1fr; gap: 8px; }
  .h2h-vs { justify-self: center; }
  .h2h-table tbody th { width: auto; }
}

/* Across Steam */
.across { margin-top: 56px; }
.across[hidden] { display: none; }
.across-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.across h3 { font-size: 20px; font-weight: 500; }
.squint[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); }
.across-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 260px; grid-auto-flow: dense; gap: 22px; margin-top: 22px; }
.surface { display: grid; align-content: start; gap: 10px; margin: 0; }
.surface.is-main { grid-column: 1 / span 2; }
.surface.is-phone { grid-column: 3; grid-row: 1 / span 2; }
.surface figcaption { display: grid; gap: 2px; font-size: 13px; color: var(--ink-muted); }
.surface figcaption b { font-weight: 500; color: var(--ink); font-size: 14px; }
.surface-frame { padding: 12px; border-radius: 8px; background: #1b2838; border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; }
.across-grid.is-squint .surface-frame { filter: blur(2.2px) saturate(1.1); }
.surface-frame { transition: filter 0.4s var(--ease); }
.surface-main, .surface-header { display: block; width: 100%; height: auto; border-radius: 2px; background: #0b121b; }
.surface-main { aspect-ratio: 616 / 353; object-fit: cover; }
.surface-header { aspect-ratio: 460 / 215; object-fit: cover; }
.surface-strip { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; color: #e6edf5; }
.surface-strip span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.surface-price { color: #beee11; font-size: 13px; white-space: nowrap; }
.surface-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.surface-tags span { padding: 1px 7px; border-radius: 2px; background: rgba(103, 193, 245, 0.15); color: #67c1f5; font-size: 11px; }
.surface-lists { display: grid; gap: 6px; }
.surface-mini-label { font-family: var(--font-mono); font-size: 11px; color: #7e8fa3; }
.surface-mini-label:not(:first-child) { margin-top: 8px; }
.surface-row { display: flex; align-items: center; gap: 12px; padding: 6px; background: rgba(0, 0, 0, 0.22); }
.surface-row > div { display: grid; min-width: 0; flex: 1; }
.surface-row-name { font-size: 14px; color: #e6edf5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.surface-row-sub { font-size: 11px; color: #7e8fa3; }
.surface-small { width: 120px; height: 45px; flex: none; object-fit: cover; }
.surface-tiny { width: 184px; height: 69px; flex: none; object-fit: cover; }
.surface-small.is-missing, .surface-tiny.is-missing { visibility: hidden; }
.phone { padding: 10px; border-radius: 28px; background: #05070b; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.surface.is-phone .surface-frame { padding: 16px; background: radial-gradient(circle at 50% 0, rgba(0, 212, 255, 0.12), transparent 60%), #0c121b; }
.phone-screen { min-height: 420px; padding: 0 0 14px; border-radius: 20px; background: #1b2838; overflow: hidden; }
.phone-art { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: #0b121b; }
.phone-title { margin: 10px 12px 0; font-size: 16px; color: #fff; }
.phone-desc { margin: 6px 12px 0; font-size: 12px; line-height: 1.45; color: #acb2b8; }
.phone-screen .surface-tags { margin: 8px 12px 0; }
.phone-buy { display: block; margin: 14px 12px 0; padding: 9px; border-radius: 2px; text-align: center; font-size: 13px; color: #d2efa9; background: linear-gradient(90deg, #5c7e10, #75b022); }
@media (max-width: 960px) {
  .across-grid { grid-template-columns: minmax(0, 1fr) 240px; }
  .surface.is-main { grid-column: 1; }
  .surface.is-phone { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 640px) {
  .across-head { flex-direction: column; }
  .across-grid { grid-template-columns: 1fr; }
  .surface.is-main, .surface.is-phone { grid-column: auto; grid-row: auto; }
  .phone { max-width: 280px; margin: 0 auto; }
  .surface-row:has(.surface-tiny) { flex-wrap: wrap; }
}

/* Trailer, watched */
.trailer-caption { margin-top: 16px; font-size: 13px; color: var(--ink-muted); }
.trailer-stills { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; max-width: 900px; }
.trailer-still, .trailer-tile { margin: 0; display: grid; gap: 4px; }
.trailer-still canvas, .trailer-tile canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 3px; background: #0b121b; }
.trailer-still figcaption, .trailer-tile figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.trailer-still.is-dead canvas { opacity: 0.35; outline: 1px solid rgba(255, 45, 120, 0.6); outline-offset: -1px; }
.trailer-still.is-dead figcaption { color: var(--pink); }
.trailer-reel { display: flex; gap: 6px; margin-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
.trailer-reel:focus-visible { outline-offset: 4px; }
.trailer-tile { flex: none; width: 112px; }
.sound-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; max-width: 520px; margin-top: 14px; padding: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.sound-bars span { flex: 1; min-width: 3px; border-radius: 2px 2px 0 0; background: var(--cyan); }
.sound-bars span.is-silent { background: rgba(255, 255, 255, 0.16); }
@media (max-width: 640px) {
  .trailer-stills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trailer-tile { width: 96px; }
}

/* Evidence, benchmarks, next move */
.evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 18px; margin: 14px 0 0; max-width: 820px; }
.evidence div { min-width: 0; padding: 8px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.evidence dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.evidence dd { margin: 2px 0 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.bench { margin-top: 14px; padding: 14px 16px; max-width: 820px; border-radius: 8px; background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 255, 0.06)); border: 1px solid rgba(0, 212, 255, 0.18); }
.bench-title { font-size: 12px; color: var(--ink-muted); }
.bench-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 10px; }
.bench-label { font-size: 14px; color: var(--ink-soft); }
.bench-bars { display: grid; gap: 5px; }
.bench-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) 70px; gap: 10px; align-items: center; font-size: 12px; }
.bench-who { color: var(--ink-muted); }
.bench-track { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bench-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--lavender); transition: width 0.9s var(--ease); }
.bench-line.is-you .bench-fill { background: var(--cyan); }
.bench-row.is-behind .bench-line.is-you .bench-fill { background: var(--pink); }
.bench-val { text-align: right; font-family: var(--font-mono); font-weight: 400; color: var(--ink); }
.bench-text { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.bench-text b { font-weight: 500; color: var(--ink); text-align: right; }
.next-move { display: flex; gap: 10px; align-items: baseline; margin-top: 14px !important; padding: 10px 14px; max-width: 820px; border-radius: 6px; border-left: 2px solid var(--green); background: rgba(0, 255, 179, 0.04); color: var(--ink) !important; font-size: 15px; }
.next-move b { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.about-map { display: flex; align-items: stretch; gap: 2px; height: 28px; max-width: 820px; margin-top: 8px; padding: 3px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.am { display: block; flex: 0 0 auto; min-width: 6px; border-radius: 2px; }
.am-t { flex-grow: 1; flex-basis: 0; background: rgba(255, 255, 255, 0.18); }
.am-h { width: 6px; background: var(--gold); }
.am-i { width: 14px; background: var(--lavender); }
.am-g, .am-v { width: 14px; background: var(--cyan); }
.am-l { width: 10px; background: rgba(0, 255, 179, 0.6); }
.am-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12px; color: var(--ink-muted); }
.am-legend span { display: inline-flex; align-items: center; gap: 6px; }
.am-legend i { width: 12px; height: 10px; flex-grow: 0 !important; }
@media (max-width: 640px) {
  .bench-row { grid-template-columns: 1fr; gap: 6px; }
  .bench-line { grid-template-columns: 74px minmax(0, 1fr) 56px; }
  .next-move { flex-direction: column; gap: 4px; }
}

/* Section blocks */
.report-section { margin-top: 56px; }
.report-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.report-section-head h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); }
.section-score { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.section-score.is-good { color: var(--green); }
.section-score.is-mid { color: var(--gold); }
.section-score.is-low { color: var(--pink); }

.report-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.report-num { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1.2; color: var(--ink-muted); }
.report-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.report-item .area { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.report-item h4 { width: 100%; font-size: 20px; font-weight: 500; line-height: 1.3; }
.report-item p { max-width: 70ch; color: var(--ink-soft); margin-top: 8px; }
.report-item blockquote {
  margin: 14px 0 0; padding: 12px 16px; border-left: 2px solid var(--line-strong);
  color: var(--ink); font-size: 15px; background: rgba(255, 255, 255, 0.02); max-width: 70ch;
}
@media (max-width: 760px) {
  .report-head { grid-template-columns: 1fr; }
  .score { order: -1; }
  .report-item { grid-template-columns: 1fr; gap: 6px; }
  .report-num { font-size: 18px; }
}

.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pass { color: var(--green); background: rgba(0, 255, 179, 0.08); }
.status-warn { color: var(--gold); background: rgba(255, 184, 48, 0.1); }
.status-fail { color: var(--pink); background: rgba(255, 45, 120, 0.1); }
.status-look { color: var(--lavender); background: rgba(196, 170, 255, 0.1); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-list li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; color: var(--ink-soft); }
.tag-list li.is-top { border-color: rgba(0, 212, 255, 0.4); color: var(--ink); }
.tag-list li.is-broad { border-color: rgba(255, 184, 48, 0.5); color: var(--gold); }
.tag-legend { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }

.pools { display: grid; gap: 8px; margin-top: 16px; max-width: 720px; }
.pool-row { display: grid; grid-template-columns: 22px minmax(0, 180px) minmax(0, 1fr) 72px; gap: 12px; align-items: center; font-size: 14px; }
.pool-rank { color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; }
.pool-name { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.pool-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--cyan); transition: width 1s var(--ease); }
.pool-row.is-crowded .pool-bar span { background: var(--pink); }
.pool-row.is-roomy .pool-bar span { background: var(--green); }
.pool-count { text-align: right; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
@media (max-width: 520px) { .pool-row { grid-template-columns: 18px minmax(0, 1fr) 64px; } .pool-bar { grid-column: 2 / -1; grid-row: 2; } }

.report-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
}
.report-cta h3 { font-size: 22px; font-weight: 500; }
.report-cta p { margin-top: 6px; color: var(--ink-soft); }
@media (max-width: 760px) { .report-cta { grid-template-columns: 1fr; } }

.report.is-revealed .report-head, .report.is-revealed .section-scores, .report.is-revealed .fix-first { animation: rise 0.6s var(--ease) both; }
.report.is-revealed .section-scores { animation-delay: 0.08s; }
.report.is-revealed .fix-first { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Why free ---------- */
.why-free { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.why-free h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4vw, 46px); line-height: 1.05; }
.why-free-body { display: grid; gap: 18px; max-width: 62ch; }
.why-free-body p { color: var(--ink-soft); font-size: 18px; }
.why-free-body p:first-child { color: var(--ink); font-size: 21px; line-height: 1.5; }
@media (max-width: 860px) { .why-free { grid-template-columns: 1fr; } }

/* ---------- Fixes (comparison) ---------- */
.fixes-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.currency { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); }
.currency select {
  padding: 8px 34px 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--panel) url("../img/caret.svg") no-repeat right 12px center / 10px 6px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.currency select option { background: var(--panel); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { vertical-align: top; padding-top: 28px; padding-bottom: 26px; background: var(--panel); }
.compare thead th:first-child { width: 40%; }
.compare tbody th { font-weight: 400; color: var(--ink-soft); }
.compare td { width: 30%; }
.compare td.yes { color: var(--green); }
.compare td.no { color: var(--ink-muted); }
.compare .col-overhaul { background: rgba(255, 184, 48, 0.035); }
.compare thead .col-overhaul { background: linear-gradient(180deg, rgba(255, 184, 48, 0.12), rgba(255, 184, 48, 0.035)); }
.plan-name { font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.plan-time { margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.plan-price { margin: 14px 0 18px; font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1; }
.plan-price small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--ink-muted); margin-left: 6px; }
.fixes-note { margin-top: 16px; font-size: 14px; color: var(--ink-muted); }

.campaign-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 36px; padding: 26px 28px; border: 1px dashed var(--line-strong); border-radius: 10px;
}
.campaign-strip p { max-width: 60ch; color: var(--ink-soft); }
.campaign-strip strong { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { padding: 2px 0; border: 0; }
  .compare td::before { content: attr(data-plan) ": "; color: var(--ink-muted); }
  .compare .col-overhaul { background: none; }
  .plan-cards { display: grid; gap: 14px; margin-bottom: 18px; }
}
.plan-cards { display: none; }
@media (max-width: 760px) {
  .plan-cards { display: grid; }
  .plan-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
  .plan-card.is-overhaul { border-color: rgba(255, 184, 48, 0.35); }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-content: center; width: 44px; height: 44px; margin-bottom: 22px;
  border: 1px solid rgba(0, 212, 255, 0.4); border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; color: var(--cyan);
}
.step::after { content: ""; position: absolute; top: 22px; left: 56px; right: 12px; height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; font-weight: 500; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step::after { display: none; }
}

/* ---------- Terms ---------- */
.terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); }
.terms-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.terms-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.terms-list h3 { font-size: 18px; font-weight: 500; }
.terms-list p { margin-top: 6px; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer;
  font-size: 19px; font-weight: 500; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 68ch; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; }
.field { display: grid; gap: 8px; }
.field.is-wide { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--ink-soft); }
.field label span { color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { -webkit-appearance: none; appearance: none; background: rgba(0, 0, 0, 0.35) url("../img/caret.svg") no-repeat right 14px center / 10px 6px; padding-right: 36px; }
.field select option { background: var(--panel); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--pink); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { font-size: 15px; color: var(--ink-soft); }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--pink); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Zenathix ---------- */
.zenathix { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 0; padding-bottom: 0; }
.zenathix p { max-width: 60ch; color: var(--ink-soft); }
.zenathix strong { color: var(--lavender); font-weight: 500; }
.zenathix .pill { padding: 8px 14px; border: 1px solid rgba(123, 47, 255, 0.4); border-radius: 99px; font-size: 14px; color: var(--lavender); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; padding: 40px 0 48px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a, .site-footer small { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Simple pages (intake, privacy, 404) ---------- */
.page { padding: calc(var(--nav-h) + 64px) 0 96px; min-height: 80vh; }
.page h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.05; }
.page .lede { margin-top: 16px; max-width: 60ch; color: var(--ink-soft); font-size: 18px; }
.page .prose { max-width: 70ch; margin-top: 40px; }
.page .prose h2 { margin: 36px 0 10px; font-size: 22px; font-weight: 500; }
.page .prose p, .page .prose li { color: var(--ink-soft); }
.page .prose ul { list-style: disc; padding-left: 22px; }
.page .prose li { margin: 6px 0; }
.page form { margin-top: 40px; }
.order-summary { display: inline-flex; gap: 14px; align-items: baseline; margin-top: 24px; padding: 14px 18px; border: 1px solid rgba(255, 184, 48, 0.35); border-radius: var(--radius); }
.order-summary b { font-family: var(--font-display); }
.order-summary span { color: var(--ink-soft); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.fix-first li .status { justify-self: start; }

/* Small buttons never wrap their label. */
.btn-sm { white-space: nowrap; flex: none; }
.scan-log:focus-visible { outline-offset: 6px; }

@media (max-width: 480px) {
  .shelf-row, .shelf-row.is-yours, .shelf-row:has(.shelf-compare) { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; padding-right: 8px; }
  .shelf-capsule { width: 80px; height: 30px; }
  .shelf-compare { padding: 4px 9px; font-size: 11px; }
  .shelf-badge { font-size: 10px; padding: 2px 7px; }
  .h2h-table th, .h2h-table td { padding: 8px 6px; font-size: 13px; }
}
.report-body { min-width: 0; }
.vs-line { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.vs-line[hidden] { display: none; }
.vs-line b { font-family: var(--font-display); font-weight: 900; color: var(--cyan); margin-right: 4px; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.platforms li { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.platforms .pill { justify-self: start; padding: 4px 12px; border: 1px solid rgba(0, 212, 255, 0.35); border-radius: 99px; font-size: 13px; color: var(--cyan); letter-spacing: 0.04em; }
.platforms h3 { font-size: 20px; font-weight: 600; }
.platforms p { color: var(--ink-soft); font-size: 16px; }
.platforms .lever { color: var(--ink); font-size: 15px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .platforms { grid-template-columns: 1fr; } }

.platform-picks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.platform-picks legend { width: 100%; margin-bottom: 8px; padding: 0; }
.platform-picks legend span { color: var(--ink-soft); }
.platform-picks label { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.platform-picks input { width: 18px; height: 18px; accent-color: var(--cyan); }
