/* Spooky: a live readout of two entangled blockchains. Near-black, mono labels, neon accents.
   Solana = purple, Robinhood Chain = lime, entanglement = cyan, Einstein's limit = magenta. */
:root {
  --bg: #05060a;
  --bg2: #0a0d16;
  --fg: #e8f0ff;
  --muted: #8a95ad;
  --dim: #4a556b;
  --line: rgba(120, 140, 180, 0.14);
  --line-2: rgba(120, 140, 180, 0.3);
  --card: rgba(140, 160, 200, 0.045);
  --cyan: #18e0ff;
  --sol: #9945ff;
  --sol-2: #14f195;
  --rh: #ccff00;
  --magenta: #ff2fb0;
  --amber: #ffb020;
  --gold: #d9aa52;
  --grid: rgba(255, 255, 255, 0.05);
  --maxw: 1180px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --disp: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--disp); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
code, .mono { font-family: var(--mono); }
::selection { background: var(--cyan); color: #021014; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.sol { color: var(--sol); } .rh { color: var(--rh); } .cy { color: var(--cyan); } .mg { color: var(--magenta); } .am { color: var(--amber); }
.muted { color: var(--muted); }
.link { color: var(--cyan); border-bottom: 1px solid rgba(24, 224, 255, 0.3); }
.link:hover { border-color: var(--cyan); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; padding: 11px 17px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(120deg, var(--sol-2), var(--cyan)); color: #021410; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 30px rgba(24, 224, 255, 0.25); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 8px 40px rgba(24, 224, 255, 0.4); }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-ghost:hover { border-color: rgba(120, 140, 180, 0.42); }
.btn-sm { padding: 8px 13px; font-size: 13.5px; }
.btn.is-off, .btn:disabled { opacity: 0.55; cursor: default; pointer-events: none; box-shadow: none; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(5, 6, 10, 0.6); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.02em; }
.brand .mark { width: 22px; height: 22px; color: var(--cyan); filter: drop-shadow(0 0 6px rgba(24, 224, 255, 0.5)); }
.brand small { font: 500 11px var(--mono); letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav .btn { padding: 8px 14px; }

/* ---------------------------------------------------------------- the mark */
.mark { display: inline-block; width: 26px; height: 26px; flex: none; }
.mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mark[data-ket] { width: 42px; }
.mark-lg { width: 64px; height: 64px; color: var(--cyan); filter: drop-shadow(0 0 14px rgba(24, 224, 255, 0.45)); }
.mark-lg[data-ket] { width: 104px; }

/* ---------------------------------------------------------------- eyebrows and section heads */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(24, 224, 255, 0.25); border-radius: 999px; padding: 6px 12px; background: rgba(24, 224, 255, 0.05); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(24, 224, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(24, 224, 255, 0); } }
section { padding: 96px 0; border-bottom: 1px solid var(--line); position: relative; }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 40px; }
.sec-head .eyebrow { justify-self: start; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 640px; }
h2 em, h1 em { font-style: normal; background: linear-gradient(120deg, var(--sol), var(--cyan) 55%, var(--rh)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 140px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 78% 40%, rgba(24, 224, 255, 0.07), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(153, 69, 255, 0.08), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.hero-copy, .hero-side { min-width: 0; }
.hero h1 { font-size: clamp(40px, 4.9vw, 64px); margin: 18px 0 0; }
.hero .lede { color: #b6c1d6; font-size: clamp(16px, 1.45vw, 18.5px); margin-top: 20px; max-width: 34em; }
.hero .actions { margin-top: 26px; }
.socials { margin-top: 10px; }
.cabox { margin-top: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--card); font: 400 13px var(--mono); min-width: 0; }
.cabox b { color: var(--sol-2); font-weight: 500; }
.cabox .addr { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.cabox button { border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); border-radius: 8px; padding: 4px 10px; font: 500 12px var(--mono); cursor: pointer; }
.cabox button:disabled { opacity: 0.4; cursor: default; }
.cabox.is-copied button { color: var(--cyan); border-color: var(--cyan); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 30px; }
.stats dt { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 6px 0 0; font: 500 22px var(--mono); }

/* the readout console */
.console { position: relative; background: linear-gradient(180deg, rgba(10, 13, 22, 0.86), rgba(6, 8, 14, 0.9)); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); }
.console-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 400 12px var(--mono); color: var(--muted); min-width: 0; }
.console-top .dots { display: flex; gap: 6px; flex: none; }
.console-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a3242; display: block; }
.console-top .ttl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-top .ttl b { color: var(--cyan); font-weight: 400; }
.verdict { display: flex; align-items: baseline; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); }
.verdict .lbl { font: 500 11px var(--mono); letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.verdict .act { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--cyan); text-shadow: 0 0 22px rgba(24, 224, 255, 0.45); }
.verdict .act.is-held { color: var(--amber); text-shadow: none; }
.verdict .conf { margin-left: auto; font: 400 12.5px var(--mono); color: var(--muted); }
.verdict .conf b { color: var(--fg); font-weight: 500; }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.meter { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.meter .k { font: 500 10px var(--mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter .bar { position: relative; height: 6px; border-radius: 4px; background: #141a26; margin-top: 7px; overflow: visible; }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.meter .bar .mark75 { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--magenta); left: 75%; box-shadow: 0 0 8px var(--magenta); }
.meter .v { font: 500 13px var(--mono); margin-top: 6px; }
.meter .v small { color: var(--muted); font-weight: 400; }
.meter.a .bar i { background: var(--sol); box-shadow: 0 0 10px rgba(153, 69, 255, 0.5); }
.meter.b .bar i { background: var(--rh); box-shadow: 0 0 10px rgba(204, 255, 0, 0.4); }
.meter.t .bar i { background: var(--cyan); box-shadow: 0 0 10px rgba(24, 224, 255, 0.5); }
.feed { margin: 10px 0 0; padding: 8px 0 0; list-style: none; border-top: 1px solid var(--line); font: 400 11.5px/1.6 var(--mono); color: #9fb0c8; }
.feed li { display: flex; gap: 8px; min-width: 0; }
.feed li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .t { color: var(--dim); flex: none; }
.feed .s { flex: none; font-weight: 500; }
.feed .s.sol { color: var(--sol); } .feed .s.rh { color: var(--rh); } .feed .s.ibm { color: var(--cyan); } .feed .s.both { color: var(--magenta); }
.statline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font: 400 11px var(--mono); color: var(--muted); }
.statline b { color: var(--fg); font-weight: 500; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font: 400 12px var(--mono); color: #9fb0c8; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------------------------------------------------------------- the two halves */
.halves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.half { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.half-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.half-top b { font-weight: 500; }
.half.a .half-top b { color: var(--sol); } .half.b .half-top b { color: var(--rh); } .half.t .half-top b { color: var(--cyan); }
.half.t { border-color: rgba(24, 224, 255, 0.35); box-shadow: 0 0 0 1px rgba(24, 224, 255, 0.08), 0 20px 60px rgba(24, 224, 255, 0.07); }
.bits { display: block; width: 100%; border-radius: 6px; }
.half .cap { font: 400 12.5px var(--mono); color: var(--muted); }
.half .cap b { color: var(--fg); font-weight: 500; }
.half.t .cap b { color: var(--cyan); }
.mosaic-wrap { position: relative; }
.tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: none; white-space: nowrap; background: rgba(10, 13, 22, 0.96); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; font: 400 12px var(--mono); z-index: 4; }
.tip b { font-weight: 500; color: var(--muted); }
.tip b.ok { color: var(--cyan); }
.equation { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 0; font: 500 13px var(--mono); color: var(--muted); }
.check-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; font-size: 14px; }
.verify { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; font: 400 13px var(--mono); background: rgba(0, 0, 0, 0.3); }
.verify p { display: flex; gap: 10px; }
.verify .ok { color: var(--sol-2); }
.verify .bad { color: var(--magenta); }
.verify .sum { margin-top: 4px; font-weight: 500; }
details.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary, .faq summary { cursor: pointer; list-style: none; }
details.more summary { font: 500 12.5px var(--mono); letter-spacing: 0.06em; color: var(--muted); display: inline-flex; gap: 8px; }
details.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; color: var(--cyan); width: 12px; }
details.more[open] summary::before { content: "–"; }
.tech { margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; }
.tech .wide { grid-column: 1 / -1; }
.tech dt { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.tech dd { margin: 0; font: 400 12.5px/1.45 var(--mono); overflow-wrap: anywhere; }
.list { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.list li + li { border-top: 1px solid var(--line); }
.list button { width: 100%; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; padding: 11px 16px; background: var(--card); border: 0; text-align: left; cursor: pointer; }
.list button:hover, .list button.is-on { background: rgba(140, 160, 200, 0.09); }
.list .n { font: 500 15px var(--mono); }
.list .l { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .res { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.list .res.is-held { color: var(--amber); }

/* ---------------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { border: 1px solid var(--line); border-left: 3px solid var(--c, var(--cyan)); border-radius: 14px; padding: 20px; background: var(--card); display: grid; gap: 10px; align-content: start; transition: transform 0.2s ease; }
.step:hover { transform: translateY(-3px); }
.step .n { font: 500 11px var(--mono); letter-spacing: 0.16em; color: var(--c, var(--cyan)); }
.step h3 { font-size: 20px; color: var(--c, var(--cyan)); }
.step p { color: var(--muted); font-size: 14.5px; }
.step.sol { --c: var(--sol); } .step.rh { --c: var(--rh); } .step.ibm { --c: var(--cyan); } .step.both { --c: var(--magenta); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; margin-top: 56px; }
.split .copy { display: grid; gap: 14px; }
.split h3 { font-size: 26px; }
.split p { color: var(--muted); }
.duo { margin: 0; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: linear-gradient(180deg, rgba(10, 13, 22, 0.8), rgba(6, 8, 14, 0.85)); display: grid; gap: 14px; }
.duo-row { display: grid; grid-template-columns: 1fr minmax(80px, 1.2fr) 1fr; align-items: center; gap: 8px; }
.wcard { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; background: rgba(0, 0, 0, 0.35); min-width: 0; }
.wcard .who { font: 600 12px var(--mono); letter-spacing: 0.06em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.js-wa .who { color: var(--sol); } .js-wb .who { color: var(--rh); }
.wcard .line { font: 400 12px var(--mono); color: var(--muted); }
.wcard b { display: inline-block; min-width: 1ch; font-weight: 600; color: var(--fg); font-size: 15px; }
.duo .link-svg { width: 100%; height: auto; color: var(--cyan); overflow: visible; }
.wave { fill: none; stroke: var(--cyan); stroke-width: 1.6; opacity: 0.5; }
.wave-2 { opacity: 0.22; }
.duo.is-pulse .wave { opacity: 1; filter: drop-shadow(0 0 6px rgba(24, 224, 255, 0.7)); }
.ghost { color: var(--cyan); }
.duo .verdict-line { text-align: center; font: 400 13px var(--mono); color: var(--muted); min-height: 1.4em; }
.duo .verdict-line b { font-weight: 600; }
.duo .verdict-line.is-won b { color: var(--cyan); }
.duo .verdict-line.is-lost b { color: var(--amber); }
.duo-cap { font-size: 12px; color: var(--dim); text-align: center; }

/* ---------------------------------------------------------------- Einstein */
.timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.timeline li { list-style: none; padding: 20px; border-right: 1px solid var(--line); background: var(--card); display: grid; gap: 8px; align-content: start; }
.timeline li:last-child { border-right: 0; background: rgba(24, 224, 255, 0.06); }
.timeline .y { font: 700 26px var(--disp); }
.timeline li:last-child .y { color: var(--cyan); }
.timeline p { color: var(--muted); font-size: 14px; }
.timeline ol { margin: 0; padding: 0; }
.quote { margin-top: 28px; font: 500 clamp(20px, 2.4vw, 28px)/1.3 var(--disp); max-width: 30em; }
.quote cite { display: block; margin-top: 8px; font: 400 13px var(--mono); color: var(--muted); font-style: normal; }

/* ---------------------------------------------------------------- verify */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.way { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--card); display: grid; gap: 12px; align-content: start; }
.way .n { font: 500 11px var(--mono); letter-spacing: 0.16em; color: var(--cyan); }
.way h3 { font-size: 19px; }
.way p { color: var(--muted); font-size: 14.5px; }
.way .btn { justify-self: start; }
.cmd { margin: 0; padding: 11px 13px; border-radius: 10px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); font: 400 12.5px/1.45 var(--mono); color: var(--sol-2); overflow-x: auto; white-space: pre; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 18px; transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(24, 224, 255, 0.3); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; font-weight: 600; font-size: 16.5px; }
.faq summary::after { content: "+"; margin-left: auto; font: 400 20px var(--mono); color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 18px; color: #b6c1d6; font-size: 15px; display: grid; gap: 10px; max-width: 760px; }
.faq .a b { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- buy + footer */
.buy { text-align: center; }
.buy .wrap { display: grid; justify-items: center; gap: 22px; }
.buy h2 { font-size: clamp(34px, 5vw, 60px); }
.buy .cabox { max-width: 560px; width: 100%; margin: 0; }
footer { padding: 54px 0 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.legal { margin-top: 22px; color: var(--dim); font: 400 12px/1.6 var(--mono); max-width: 70em; }

/* ---------------------------------------------------------------- the simpler, louder page */
.score-box { margin-top: 10px; border: 1px solid rgba(24, 224, 255, 0.28); border-radius: 12px; padding: 14px 14px 12px; background: rgba(24, 224, 255, 0.04); }
.score-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.score-head span { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.score-head b { font: 700 40px/1 var(--disp); color: var(--cyan); text-shadow: 0 0 24px rgba(24, 224, 255, 0.45); }
.score-bar { position: relative; height: 10px; border-radius: 6px; background: #141a26; margin: 12px 0 26px; }
.score-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sol), var(--cyan)); box-shadow: 0 0 14px rgba(24, 224, 255, 0.5); transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.score-bar .max { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.score-bar .max em { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 10.5px var(--mono); font-style: normal; color: var(--magenta); }
.meters { grid-template-columns: repeat(2, 1fr); }
.steps3 { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--card); display: grid; gap: 10px; align-content: start; }
.why-card .y { font: 700 30px var(--disp); color: var(--muted); }
.why-card h3 { font-size: 20px; }
.why-card p { color: var(--muted); font-size: 14.5px; }
.why-card.now { border-color: rgba(24, 224, 255, 0.4); background: rgba(24, 224, 255, 0.05); }
.why-card.now .y { color: var(--cyan); }
.faq-more { margin-top: 18px; color: var(--muted); }
.buy-sub { color: #b6c1d6; font-size: 18px; max-width: 34em; }
.small { font-size: 13px; margin-top: 12px; }
.nb { white-space: nowrap; }

/* the diagram: IBM → two chains → compare */
.diagram { position: relative; display: grid; gap: 70px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(60% 50% at 50% 0%, rgba(24, 224, 255, 0.07), transparent 70%), var(--bg2); overflow: hidden; }
.dg-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.dg-row > * { min-width: 0; }
.dg-node { position: relative; z-index: 1; min-width: 0; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; background: rgba(5, 6, 10, 0.88); display: grid; gap: 6px; justify-items: center; text-align: center; }
.dg-node .k { font: 600 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.dg-node b { font-size: 16px; font-weight: 600; }
.dg-node small { font: 400 12px var(--mono); color: var(--muted); }
.dg-ibm { justify-self: center; min-width: min(320px, 100%); border-color: rgba(24, 224, 255, 0.5); box-shadow: 0 0 40px rgba(24, 224, 255, 0.12); }
.dg-ibm .k { color: var(--cyan); }
.dg-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 14%, 160px); }
.dg-sol { border-color: rgba(153, 69, 255, 0.55); }
.dg-sol .k { color: var(--sol); }
.dg-rh { border-color: rgba(204, 255, 0, 0.45); }
.dg-rh .k { color: var(--rh); }
.dg-bits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; width: 100%; max-width: 240px; margin-top: 4px; }
.dg-bits i { aspect-ratio: 1; border-radius: 2px; background: #151923; transition: background 0.25s; }
.dg-sol .dg-bits i.on { background: var(--sol); box-shadow: 0 0 6px rgba(153, 69, 255, 0.6); }
.dg-rh .dg-bits i.on { background: var(--rh); box-shadow: 0 0 6px rgba(204, 255, 0, 0.5); }
.dg-cmp { justify-self: center; min-width: min(360px, 100%); border-color: rgba(255, 47, 176, 0.45); }
.dg-cmp .k { color: var(--magenta); }
.dg-cmp b { font: 700 34px/1.1 var(--disp); color: var(--cyan); text-shadow: 0 0 20px rgba(24, 224, 255, 0.4); }
.dg-tick { font: 500 12px var(--mono); min-height: 1.5em; color: var(--muted); }
.dg-tick .r { color: var(--cyan); }
.dg-tick .r.miss { color: var(--muted); }
.dg-tick.pop { animation: dgpop 0.5s ease-out; }
@keyframes dgpop { from { opacity: 0.2; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* reveals (set by app.js only when motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); }

/* ---------------------------------------------------------------- the lab page */
.lab-hero { padding: 128px 0 72px; }
.lab-hero h1 { font-size: clamp(40px, 6vw, 68px); margin-top: 18px; }
.lab-hero .lede { color: #b6c1d6; font-size: 18px; margin-top: 18px; max-width: 36em; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.flow li { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 18px 20px; display: grid; grid-template-columns: 44px 220px 1fr; gap: 6px 18px; align-items: baseline; }
.flow li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 12px var(--mono); color: var(--cyan); }
.flow b { font-weight: 600; }
.flow span { color: var(--muted); }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.files button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 14px; text-align: left; cursor: pointer; display: grid; gap: 4px; }
.files button b { font: 500 13px var(--mono); }
.files button span { font-size: 12px; color: var(--muted); }
.files button .decides { font: 500 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); font-style: normal; }
.files button.is-on { border-color: rgba(24, 224, 255, 0.45); background: rgba(24, 224, 255, 0.06); }
.viewer { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, 0.4); }
.viewer-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted); }
.viewer-head .js-file-hash b { color: var(--sol-2); font-weight: 400; }
.viewer-head a { margin-left: auto; color: var(--cyan); }
.code { margin: 0; max-height: 640px; overflow: auto; padding: 14px 0; font: 400 12.5px/1.65 var(--mono); color: #cfd8e8; tab-size: 4; }
.code code { display: block; white-space: pre; padding-right: 20px; }
.code .ln { display: inline-block; width: 52px; padding-right: 16px; text-align: right; color: var(--dim); user-select: none; }

/* ---------------------------------------------------------------- small screens */

/* ------------------------------------------------------------ live: both chains, read by the visitor's browser */
.telemetry { border-top: 1px solid var(--line); background: rgba(3, 4, 8, 0.55); }
.telemetry .wrap { display: flex; align-items: center; gap: 24px; height: 30px; font: 400 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.tm { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.tm b { font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.tm .n { color: var(--fg); font-variant-numeric: tabular-nums; }
.tm code { font: inherit; color: var(--dim); }
.tm.sol b { color: var(--sol); } .tm.rh b { color: var(--rh); } .tm.q b { color: var(--cyan); } .tm.nx b { color: var(--magenta); }
.tm.q .muted { color: var(--dim); }
.tm.nx { margin-left: auto; }
.tm.nx span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; }
.tm i, .dg-live i, .cp .k i { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
.tm.sol i, .dg-sol .dg-live i, .cp.sol .k i { background: var(--sol); --glow: rgba(153, 69, 255, 0.9); }
.tm.rh i, .dg-rh .dg-live i, .cp.rh .k i { background: var(--rh); --glow: rgba(204, 255, 0, 0.85); }
i.t { animation: blip 0.4s ease-out; }
@keyframes blip { from { box-shadow: 0 0 0 0 var(--glow); transform: scale(1.7); } to { box-shadow: 0 0 0 6px transparent; transform: none; } }
.lv-sol-off .tm.sol i, .lv-sol-off .dg-sol .dg-live i, .lv-rh-off .tm.rh i, .lv-rh-off .dg-rh .dg-live i { background: var(--dim); }
.dg-live { display: inline-flex; align-items: center; gap: 6px; font: 400 11px var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
.dg-live span { color: var(--muted); }

/* the console: where today's result sits on-chain; the feed types itself in */
.onchain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font: 400 11.5px var(--mono); }
.onchain .lbl { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10.5px; }
.onchain a:first-of-type { color: var(--sol); } .onchain a:last-of-type { color: var(--rh); }
.onchain a:hover { text-decoration: underline; }
.js .feed li { animation: feedIn 0.45s both; animation-delay: calc(var(--i, 0) * 0.26s + 0.35s); }
@keyframes feedIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.console::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px); }

/* straight from the chains */
.chainproof { margin-top: 26px; }
.cp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cp-head b { font-size: 19px; font-weight: 600; }
.cp-head span { color: var(--muted); font-size: 15px; }
.cp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.cp { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #04060b; display: grid; gap: 10px; align-content: start; transition: border-color 0.6s; }
.cp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp .k { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.cp.sol .k { color: var(--sol); } .cp.rh .k { color: var(--rh); }
.cp-top .link { font: 400 12px var(--mono); }
.cp-line { margin: 0; font: 400 13.5px/1.6 var(--mono); color: var(--fg); min-height: 4.8em; overflow-wrap: anywhere; }
.cp-line::before { content: "> "; color: var(--dim); }
.cp-meta { font: 400 11.5px var(--mono); color: var(--dim); }
.cp-match { margin-top: 12px; font: 500 13.5px var(--mono); min-height: 1.6em; }
.chainproof.is-match .cp { border-color: rgba(24, 224, 255, 0.35); }
.chainproof.is-match .cp-match { color: var(--cyan); text-shadow: 0 0 18px rgba(24, 224, 255, 0.35); }

/* the hero: a faint lab grid behind everything */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(120, 140, 180, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 140, 180, 0.055) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 60% 35%, #000, transparent 78%); mask-image: radial-gradient(70% 70% at 60% 35%, #000, transparent 78%); animation: gridDrift 40s linear infinite; }
@keyframes gridDrift { to { background-position: 0 44px, 44px 0; } }
.hero-grid { z-index: 1; }


/* the daily run, live: the console follows each step */
.console.is-live { border-color: rgba(255, 47, 176, 0.45); box-shadow: 0 0 0 1px rgba(255, 47, 176, 0.12), 0 30px 90px rgba(0, 0, 0, 0.5); }
.verdict .act.is-live { color: var(--magenta); text-shadow: 0 0 22px rgba(255, 47, 176, 0.5); animation: liveBlink 1.6s ease-in-out infinite; }
@keyframes liveBlink { 50% { opacity: 0.5; } }
.score-bar.is-waiting i { position: absolute; left: 0; width: 25% !important; transition: none; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: sweep 1.4s ease-in-out infinite alternate; }
@keyframes sweep { from { left: 0; } to { left: 75%; } }
.feed.is-live li { animation: none; }
.feed li.is-next { opacity: 0.4; }
.feed li.is-now span:not(.t) { color: var(--fg); }
.feed li.is-now .t { color: var(--magenta); }
.feed li.is-done .s::before { content: "✓ "; }
.feed li.is-now .s::before { content: "● "; animation: liveBlink 1s infinite; }
.feed .lk { flex: none; margin-left: auto; overflow: visible; }
.feed .lk a { color: var(--cyan); padding-left: 4px; }
html.is-live .tm.nx b, html.is-live .tm.nx span:last-child { color: var(--magenta); }
html.is-live .tm.nx span:last-child { animation: liveBlink 1.6s ease-in-out infinite; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .brand small { display: none; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps3, .whys { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); }
  .ways { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 34px 1fr; }
  .flow span { grid-column: 2; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding-top: 120px; }
  .telemetry .wrap { gap: 16px; font-size: 11px; }
  .tm code, .tm.q, .tm.nx, .tm .w { display: none; }
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-line { min-height: 0; font-size: 12.5px; }
  .halves { grid-template-columns: 1fr 1fr; }
  .half.t { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .meters { grid-template-columns: 1fr 1fr; }
  .diagram { gap: 54px; padding: 16px; }
  .dg-node { padding: 12px 10px; }
  .dg-node b { font-size: 14px; }
  .dg-cmp b { font-size: 30px; }
  .dg-bits { gap: 2px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  .dg-node .k { font-size: 11px; letter-spacing: 0.08em; }
  .score-head b { font-size: 34px; }
  .stats { grid-template-columns: repeat(3, auto); gap: 10px 22px; }
  .stats dd { font-size: 18px; }
  .tech { grid-template-columns: 1fr 1fr; }
  .verdict .act { font-size: 24px; }
  .verdict { flex-wrap: wrap; row-gap: 4px; }
  .verdict .conf { margin-left: 0; flex-basis: 100%; }
  .half-top span { display: none; }
  .half-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wcard .who { font-size: 11px; letter-spacing: 0; }
  .hero .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
