/* ScanSkillIssue — design system v3.
   Same palette and terminal voice, better craft: self-hosted display face,
   motion tokens (strong ease-out everywhere), themed browser surfaces
   (scrollbars, caret, focus rings), AA contrast on dim text. Verdict colors
   stay the only loud thing on the page. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-var.woff2") format("woff2");
}

:root {
  --bg: #0A0B0F;
  --bg2: #0D0F15;
  --panel: #11131B;
  --panel2: #161927;
  --line: #232735;
  --line2: #2E3347;
  --txt: #EDEFF7;
  --mut: #8B93A7;
  --dim: #767E94;
  --green: #00FF88;
  --amber: #FFB800;
  --red: #FF3B5C;
  --blue: #4D7CFE;
  --violet: #9D6BFF;
  --cyan: #5EE0D2;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: Inter, -apple-system, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --r: 12px;
  --r-sm: 8px;
  --nav: 62px;
  --shadow: 0 10px 40px rgba(0,0,0,.5);
  /* motion — strong curves (never built-in ease-in) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: .14s;
  --t-med: .22s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 520px at 75% -120px, rgba(77,124,254,.075), transparent 70%),
    radial-gradient(900px 480px at 12% 8%, rgba(0,255,136,.035), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--txt);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
  caret-color: var(--green);
}
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(77,124,254,.35); }

/* browser surfaces carry the design too: scrollbars, focus rings */
* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--mut); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn:focus-visible, .chip:focus-visible { outline-color: var(--green); outline-offset: 1px; }
input:focus-visible, select:focus-visible { outline: none; }

/* numbers, addresses, tables — always mono, like a terminal should stand */
.mono, td, th, .stat-v, .addr, .term, input, .badge, .chip { font-family: var(--mono); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(40px, 5.6vw, 78px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.2; }
.muted { color: var(--mut); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.xs { font-size: 11.5px; }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- section system (landing) ---------- */
.section { padding: 110px 0; border-top: 1px solid var(--line); }
section.section:nth-of-type(even) { background: linear-gradient(180deg, #0E1017, var(--bg) 85%); }
.section-title { margin-bottom: 14px; max-width: 860px; }
.section-sub { color: var(--mut); font-size: 17px; margin-bottom: 44px; max-width: 620px; }

/* mono micro-label — used only inside the hero deck statements */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mut);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line2); }

/* arrow link — quiet mono CTA */
.alink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--txt);
}
.alink::after { content: "→"; transition: transform var(--t-med) var(--ease-out); }
.alink:hover { text-decoration: none; color: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .alink:hover::after { transform: translateX(5px); }
}

/* marquee — engine methods ticker */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 15px 0; overflow: hidden; user-select: none;
}
.marquee-track { display: flex; width: max-content; animation: marq 56s linear infinite; }
.marquee .mq {
  display: flex; white-space: nowrap;
  font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.marquee .mq span { display: inline-flex; align-items: center; }
.marquee .mq span::after { content: "▰"; color: var(--green); opacity: .45; font-size: 9px; margin: 0 28px; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- panels ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel2), var(--panel) 55%);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px;
}
.panel.pad-lg { padding: 30px; }
.panel-title {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mut); margin-bottom: 16px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--txt);
  border: 1px solid var(--line2); border-radius: 10px;
  padding: 11px 20px; font: 600 14px var(--sans); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out), transform .1s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { border-color: var(--mut); background: var(--panel); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn.primary {
  background: var(--green); border-color: var(--green); color: #06231a;
  font-family: var(--display); font-weight: 700;
  box-shadow: 0 10px 28px -10px rgba(0,255,136,.45);
}
.btn.primary:hover { filter: brightness(1.08); background: var(--green); box-shadow: 0 12px 32px -10px rgba(0,255,136,.55); }
.btn.danger { border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: rgba(255,59,92,.08); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { border-color: var(--line2); }
.btn.sm { padding: 7px 13px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- inputs ---------- */
input[type="text"], input[type="email"], input[type="number"], input:not([type]), select {
  background: var(--bg2); color: var(--txt);
  border: 1px solid var(--line2); border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 14px; outline: none; width: 100%;
  transition: border-color var(--t-fast) var(--ease-out);
}
input:focus, select:focus { border-color: var(--blue); }
input::placeholder { color: var(--dim); }

.scan-input {
  display: flex; gap: 10px; background: var(--panel);
  border: 1px solid var(--line2); border-radius: 14px; padding: 9px;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.scan-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,255,136,.1); }
.scan-input input { border: none; background: transparent; font-size: 15px; }
.scan-input input:focus { border: none; }

/* the hero scan bar is THE call to action — let it read like one */
.hero-grid .scan-input { padding: 12px; border-radius: 16px; max-width: 560px; }
.hero-grid .scan-input input { font-size: 16px; }
.hero-grid .scan-input .btn { padding: 13px 26px; font-size: 15px; }

/* terminal cursor after the hero headline — the one blinking thing on the page */
.hero-grid h1 .caret-blink { color: var(--green); animation: blink 1.1s steps(1) infinite; font-weight: 500; }

/* range sliders */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--line2); outline: none; padding: 0; }
input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 2px solid #fff2; cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: none; cursor: pointer; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line2); border-radius: 999px;
  padding: 4px 12px; font-size: 12px; color: var(--mut); background: var(--bg2);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out),
    transform .1s var(--ease-out);
}
.chip:active { transform: scale(.96); }
.chip:hover { border-color: var(--blue); color: var(--txt); }
.chip.on { border-color: var(--blue); color: var(--txt); background: rgba(77,124,254,.12); }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.badge.copy { background: rgba(0,255,136,.12); color: var(--green); border: 1px solid rgba(0,255,136,.4); }
.badge.risky { background: rgba(255,184,0,.12); color: var(--amber); border: 1px solid rgba(255,184,0,.4); }
.badge.avoid { background: rgba(255,59,92,.12); color: var(--red); border: 1px solid rgba(255,59,92,.4); }
.badge.nodata { background: rgba(139,147,167,.12); color: var(--mut); border: 1px solid rgba(139,147,167,.4); }

.rarity-Legendary { color: #D9C8FF; }
.rarity-Epic { color: var(--violet); }
.rarity-Rare { color: var(--blue); }
.rarity-Common { color: var(--mut); }
.rarity-Cursed { color: var(--red); }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
th {
  text-align: left; color: var(--mut); font-weight: 600; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 10px; border-bottom: 1px solid var(--line2);
  position: sticky; top: 0; background: var(--panel); z-index: 1;
}
td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:nth-child(odd) td { background: rgba(255,255,255,.015); }
tbody tr:hover td { background: rgba(77,124,254,.06); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--green); } .neg { color: var(--red); } .warn { color: var(--amber); }
.table-scroll { overflow: auto; max-height: 480px; border: 1px solid var(--line); border-radius: var(--r-sm); }

/* ---------- stats ---------- */
.stat { display: flex; flex-direction: column; gap: 3px; min-width: 110px; }
.stat-l { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-family: var(--mono); }
.stat-v { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-v.big { font-size: 42px; }
.stat-sub { font-size: 12px; color: var(--dim); }

/* helius-style stat band: hairline-divided row */
.stat-band { display: flex; flex-wrap: wrap; }
.stat-band .stat { padding: 2px 32px; border-left: 1px solid var(--line2); }
.stat-band .stat:first-child { padding-left: 0; border-left: none; }

/* score bars */
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--blue); transition: width .8s cubic-bezier(.2,.9,.2,1); }

/* ---------- topbar / nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,11,15,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 22px; height: var(--nav); }
.logo { font-family: var(--mono); font-weight: 800; font-size: 16px; letter-spacing: -.02em; color: var(--txt); }
.logo b { color: var(--green); }
.topbar .nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-link {
  padding: 7px 13px; border-radius: 8px; color: var(--mut);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  transition: color .15s;
}
.nav-link:hover { color: var(--txt); text-decoration: none; }
.nav-link.active { color: var(--txt); }
.nav-link.active::after { content: ""; display: block; height: 1px; background: var(--green); margin-top: 2px; margin-bottom: -3px; }
.omni { flex: 1; max-width: 420px; min-width: 0; margin-left: auto; position: relative; }
.omni input { padding: 8px 74px 8px 12px; font-size: 13px; background: var(--panel); border-radius: 8px; }
.omni .kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.kbd {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px;
}

/* ---------- terminal scan log ---------- */
.term {
  background: #07080C; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; font-size: 13px; line-height: 1.8; min-height: 180px;
  max-height: 340px; overflow-y: auto;
}
.term-line { display: flex; gap: 10px; opacity: 0; animation: termIn .3s ease forwards; }
.term-line .t { color: var(--dim); min-width: 52px; text-align: right; }
.term-line .s { color: var(--blue); min-width: 76px; }
.term-line.stage-clean .s { color: var(--cyan); }
.term-line.stage-classify .s { color: var(--violet); }
.term-line.stage-skill .s { color: var(--amber); }
.term-line.stage-simulate .s { color: var(--green); }
.term-line.stage-verdict .s { color: var(--red); }
.term-caret { display: inline-block; width: 8px; height: 15px; background: var(--green); animation: blink 1s steps(1) infinite; vertical-align: text-bottom; }
@keyframes termIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- verdict moment (fullscreen) ---------- */
.verdict-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: rgba(10,11,15,.96); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.verdict-overlay.show { opacity: 1; pointer-events: auto; }
.verdict-word {
  font-family: var(--mono); font-weight: 800; letter-spacing: .06em;
  font-size: clamp(52px, 12vw, 136px);
  animation: verdictPop .55s cubic-bezier(.2,1.4,.3,1) both;
}
.verdict-overlay.avoid .verdict-word { animation: verdictPop .55s cubic-bezier(.2,1.4,.3,1) both, glitch 2.2s steps(2) .6s 3; }
@keyframes verdictPop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes glitch {
  0%, 100% { text-shadow: none; transform: none; }
  20% { text-shadow: -3px 0 var(--red), 3px 0 var(--blue); transform: translateX(2px); }
  40% { text-shadow: 3px 0 var(--red), -3px 0 var(--cyan); transform: translateX(-2px); }
  60% { text-shadow: -2px 0 var(--violet), 2px 0 var(--green); }
}
.verdict-reason {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 16px; border: 1px solid currentColor; border-radius: 999px;
  animation: termIn .5s .2s ease both;
}
.verdict-sub { color: var(--mut); font-size: 16px; max-width: 620px; text-align: center; animation: termIn .5s .3s ease both; padding: 0 20px; }
.verdict-overlay .row { animation: termIn .5s .5s ease both; }

/* confetti canvas sits above everything during the moment */
#fx { position: fixed; inset: 0; z-index: 101; pointer-events: none; }

/* ---------- modal (auth) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120; display: flex;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10,11,15,.85); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 400px; animation: modalIn .22s var(--ease-out) both; }
@keyframes modalIn { from { opacity: 0; transform: scale(.965) translateY(6px); } to { opacity: 1; transform: none; } }

/* auth modal */
.auth-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.auth-head h3 { font-size: 19px; letter-spacing: -.01em; }
.auth-sub { color: var(--mut); font-size: 13px; line-height: 1.55; margin: 6px 0 20px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.auth-field label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mut);
}
.auth-modal input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,255,136,.08); }
.auth-code {
  letter-spacing: .45em; text-align: center; text-indent: .45em;
  font: 600 22px var(--mono); padding: 12px 14px;
}
.auth-sent { font-size: 13px; color: var(--mut); line-height: 1.5; margin-bottom: 14px; }
.auth-sent b { color: var(--txt); }
.auth-err { color: var(--red); font-size: 12px; margin: 10px 0 0; min-height: 15px; }
.auth-foot { margin-top: 14px; text-align: center; }
.auth-foot .xs { color: var(--dim); }

/* ---------- holo card (3D tilt + holographic sheen) ---------- */
.holo-scene { perspective: 1000px; }
.holo-card {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line2);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .18s ease-out;
  box-shadow: var(--shadow);
}
.holo-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(180,140,255,.25) 36%,
    rgba(94,224,210,.28) 44%, rgba(77,124,254,.22) 52%, rgba(240,160,255,.25) 60%, transparent 76%);
  background-size: 250% 250%;
  background-position: var(--hx, 50%) var(--hy, 50%);
  mix-blend-mode: screen; opacity: var(--holo-o, .5);
}
.holo-card.rarity-Legendary { border: 2px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(120deg, #B48CFF, #5EE0D2, #4D7CFE, #F0A0FF) border-box; }
.holo-card.rarity-Epic { border-color: var(--violet); }
.holo-card.rarity-Rare { border-color: var(--blue); }
.holo-card.rarity-Cursed { border-color: var(--red); }
.holo-card.rarity-Cursed::before {
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(255,59,92,.08) 6px 8px);
  mix-blend-mode: normal;
}
.holo-card img, .holo-card svg { display: block; width: 100%; height: auto; }

/* ---------- accordions ---------- */
details.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: clip; }
details.acc + details.acc { margin-top: 12px; }
details.acc > summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; user-select: none;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "+"; margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 18px; transition: transform .2s; }
details.acc[open] > summary::after { transform: rotate(45deg); }
details.acc > .acc-body { padding: 4px 20px 20px; border-top: 1px solid var(--line); }

/* tooltips (science, explained on fingers) */
.tip { position: relative; border-bottom: 1px dotted var(--dim); cursor: help; }
.tip:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 8px;
  padding: 10px 12px; width: 280px; font-size: 12.5px; line-height: 1.5; color: var(--txt);
  font-family: var(--sans); font-weight: 400; white-space: normal;
  box-shadow: var(--shadow);
}

/* ---------- toast ---------- */
#toasts { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px;
  padding: 12px 16px; font-size: 13.5px; box-shadow: var(--shadow);
  animation: termIn .25s ease; max-width: 360px;
}
.toast.ok { border-color: rgba(0,255,136,.5); }
.toast.err { border-color: rgba(255,59,92,.5); }

/* ---------- landing specifics ---------- */
#bgfx { position: fixed; inset: 0; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-grid h1 { font-size: clamp(38px, 4.5vw, 62px); }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); color: var(--green); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px;
  border: 1px solid rgba(0,255,136,.25); border-radius: 999px; padding: 6px 14px;
  background: rgba(0,255,136,.05);
}
.count-live { font-variant-numeric: tabular-nums; }
.hero-grid .chip { font-size: 13px; padding: 6px 14px; }
.case-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.price-card .price { font-size: 56px; font-weight: 800; font-family: var(--mono); letter-spacing: -0.03em; }
.price-card .price small { font-size: 15px; color: var(--mut); font-weight: 400; letter-spacing: 0; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; color: var(--mut); font-size: 14px; }
.price-card ul li::before { content: "▸ "; color: var(--green); }
.price-card.featured { border-color: var(--green); box-shadow: 0 18px 50px -18px rgba(0,255,136,.22), 0 10px 40px rgba(0,0,0,.45); }
.ribbon {
  position: absolute; top: -12px; right: 16px; background: var(--green); color: #06231a;
  font: 800 11px var(--mono); letter-spacing: .1em; padding: 4px 10px; border-radius: 6px;
}

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 20px 4px; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 18px; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--mut); padding-top: 12px; font-size: 14px; max-width: 640px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mut);
}
.foot-links a:hover { color: var(--txt); text-decoration: none; }
.foot-word {
  font-family: var(--mono); font-weight: 800; text-align: center;
  font-size: clamp(44px, 10.5vw, 150px); letter-spacing: -0.05em; line-height: .85;
  color: var(--panel2); user-select: none; white-space: nowrap;
}
.foot-word b { color: rgba(0,255,136,.14); }
.foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- app shell ---------- */
.app-shell { display: grid; grid-template-columns: 210px 1fr; min-height: calc(100vh - var(--nav)); }
.side {
  border-right: 1px solid var(--line); padding: 18px 12px;
  display: flex; flex-direction: column; gap: 4px; position: sticky; top: var(--nav); height: calc(100vh - var(--nav));
}
.side .nav-link { display: flex; gap: 10px; align-items: center; }
.side .nav-link.active { background: var(--panel2); border-radius: 8px; }
.side .nav-link.active::after { display: none; }
.main { padding: 28px; min-width: 0; }
.main h2 { font-size: 24px; letter-spacing: -0.02em; }

/* sticky verdict header inside report */
.report-head {
  position: sticky; top: var(--nav); z-index: 30;
  background: rgba(10,11,15,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0; margin-bottom: 18px;
}

/* charts */
.chart-box { position: relative; }
.chart-box canvas { width: 100%; display: block; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--mut); font-family: var(--mono); margin-top: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

/* empty states */
.empty { text-align: center; padding: 50px 20px; color: var(--mut); }
.empty .icon { font-size: 36px; margin-bottom: 12px; }
.empty .icon svg { width: 36px; height: 36px; stroke: var(--dim); }

/* inline stroke icons (vendored Tabler paths) */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }

/* wall of fame/shame cards */
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

/* ---------- hero slide deck (boilerlab-style, sticky-driven — no scroll hijack) ---------- */
.deck { height: 300vh; position: relative; }
.deck-pin { position: sticky; top: 0; height: 100dvh; overflow: hidden; }
.deck-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding-top: var(--nav); visibility: hidden; pointer-events: none;
  backface-visibility: hidden; will-change: transform, opacity;
}
.deck-slide.present { visibility: visible; pointer-events: auto; z-index: 2; }
.deck-slide.sl-out-t, .deck-slide.sl-out-b { visibility: visible; z-index: 1; }
.deck-slide.sl-in-b  { animation: slInB  .75s cubic-bezier(.19,1,.22,1) both; }
.deck-slide.sl-in-t  { animation: slInT  .75s cubic-bezier(.19,1,.22,1) both; }
.deck-slide.sl-out-t { animation: slOutT .55s cubic-bezier(.45,0,.2,1) both; }
.deck-slide.sl-out-b { animation: slOutB .55s cubic-bezier(.45,0,.2,1) both; }
@keyframes slInB  { from { transform: translateY(52vh); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slInT  { from { transform: translateY(-52vh); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slOutT { from { transform: none; opacity: 1; } to { transform: translateY(-46vh); opacity: 0; } }
@keyframes slOutB { from { transform: none; opacity: 1; } to { transform: translateY(46vh); opacity: 0; } }

.deck-statement { text-align: left; max-width: 900px; }
.deck-h { font-family: var(--display); font-size: clamp(38px, 6.2vw, 86px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.deck-sub { color: var(--mut); font-size: 18px; line-height: 1.65; max-width: 580px; margin-top: 26px; }

.deck-dots {
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
.deck-dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line2);
  cursor: pointer; transition: background .25s, transform .25s;
}
.deck-dots i.on { background: var(--green); transform: scale(1.35); }

/* deck off on small screens & reduced motion — plain flow */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .deck { height: auto; }
  .deck-pin { position: static; height: auto; overflow: visible; }
  .deck-slide { position: static; visibility: visible; pointer-events: auto; padding: 56px 0; animation: none !important; transform: none; opacity: 1; display: block; }
  .deck-dots { display: none; }
}

/* ---------- trader-pass deck (cloudstudio staff-pass, dark edition) ---------- */
.cast-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; }
.pass-deck { position: relative; height: 430px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.pass-card {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--panel2), var(--panel));
  border: 1px solid var(--line2); border-radius: 18px; padding: 20px 24px;
  display: flex; flex-direction: column;
  transition: transform .5s cubic-bezier(.19,1,.22,1), opacity .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.pass-card.top { box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.pass-card.fly { transform: translateX(70%) rotate(9deg) !important; opacity: 0; }
.pass-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 16px;
}
.pass-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.pass-id { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.pass-avatar { width: 84px; height: 84px; flex: none; }
.pass-avatar svg { width: 100%; height: 100%; display: block; }
.pass-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.pass-tagline { color: var(--mut); font-size: 13px; font-style: italic; margin-top: 4px; }
.pass-rows { display: flex; flex-direction: column; gap: 0; flex: 1; }
.pass-rows > div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.pass-rows span:first-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.pass-rows b { font-weight: 600; color: var(--txt); text-align: right; }
.pass-foot {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.pass-hint { margin-top: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.pass-hint b { color: var(--green); font-weight: 600; }

/* ---------- scroll reveal (cloudstudio-style) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; z-index: 60;
    flex-direction: row; justify-content: space-around; border-top: 1px solid var(--line);
    border-right: none; background: rgba(10,11,15,.95); backdrop-filter: blur(10px); padding: 8px;
  }
  .side .nav-link span.txt { display: none; }
  .main { padding: 18px 14px 90px; }
  .topbar .nav-links { display: none; }
  .topbar-in { gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-grid { grid-template-columns: 1fr; }
  .cast-grid { grid-template-columns: 1fr; gap: 40px; }
  .pass-deck { max-width: 400px; margin: 0 auto; width: 100%; }
  .section { padding: 64px 0; }
  .stat-band .stat { padding: 2px 18px; }
  .foot-word { white-space: normal; }
}

@media (max-width: 640px) {
  .omni { display: none; }
}

/* ---------- motion hygiene ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .holo-card { transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- legal pages ---------- */
.legal-doc { max-width: 760px; padding-top: 44px; padding-bottom: 90px; }
.legal-doc h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 6px; }
.legal-doc h2 { font-size: 17px; margin: 28px 0 10px; }
.legal-doc p { color: var(--mut); line-height: 1.65; margin: 10px 0; font-size: 14.5px; }
.legal-doc p b { color: var(--txt); }
.legal-doc a { color: var(--green); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13.5px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: top; }
.legal-doc th { color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- cookie notice ---------- */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  margin: 0 auto; max-width: 620px; display: flex; align-items: center; gap: 14px;
  background: #14161d; border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.cookie-note p { font-size: 13px; color: var(--mut); margin: 0; flex: 1; line-height: 1.5; }
.cookie-note a { color: var(--green); }
.legal-doc td { white-space: normal; font-family: var(--sans); color: var(--mut); }
.legal-doc td.mono { font-family: var(--mono); }
