/* Hashfrost — "Spectral Frost" identity
   Base: MotionSites "Crypto Vault" (panels, keyplate, rings, video panes)
       + MotionSites "Cybersecurity Hero" (gradient arc, crosshatch grid, beam pipeline) */

:root {
  --bg: #020203;
  --panel: #08080a;
  --pane-top: #1e2026;
  --pane-bottom: #0e0f11;
  --card-top: #17181b;
  --card-bottom: #0e0f11;
  --surface-card: linear-gradient(0deg, var(--card-bottom) 0%, var(--card-top) 100%);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .78);
  --mute: rgba(255, 255, 255, .5);
  --faint: rgba(255, 255, 255, .32);
  --hairline: rgba(255, 255, 255, .1);
  --hairline-2: rgba(255, 255, 255, .16);
  --tag-fill: rgba(255, 255, 255, .05);
  --glass-fill: rgba(0, 0, 0, .12);
  --glass-line: rgba(255, 255, 255, .14);

  --q: #5b8cff;          /* spectral blue — the new primary */
  --q-deep: #2b4bd6;
  --ice: #b9c8ff;        /* inherited from the original brand */
  --alive: #8ef0b4;
  --alert: #ff5a5f;
  --warn: #ffc56b;

  --r-panel: 33px;
  --r-pane: 26px;
  --r-cta: 14px;
  --r-pill: 10px;
  --r-tag: 29px;

  --font-display: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 2.4vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .75); outline-offset: 3px; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.page { width: 100%; max-width: 1640px; margin: 0 auto; padding: 10px var(--gutter) 0; }

/* ───────── NAV ───────── */
.topbar {
  position: sticky; top: 10px; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 64px; padding: 0 10px 0 14px; margin-bottom: 10px;
  border: 1px solid var(--hairline); border-radius: 18px;
  background: rgba(2, 2, 3, .72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.04em; }
.brand svg { width: 30px; height: 30px; }
.brand sup { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--ice); border: 1px solid var(--hairline-2); border-radius: 6px; padding: 2px 5px; margin-left: 2px; }
.navlinks { display: flex; gap: 4px; }
.pill {
  display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink-2);
  transition: background-color .18s ease, color .18s ease;
}
.pill:hover, .pill.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
.pill .new { font-family: var(--font-mono); font-size: 9px; color: var(--q); margin-left: 6px; letter-spacing: .06em; }
.nav-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.ca-chip {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: var(--r-pill); background: var(--tag-fill);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); background-clip: padding-box;
}
.ca-chip b { color: #fff; font-weight: 500; }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--r-pill); background: #fff; color: #000;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: opacity .18s ease, transform .18s ease;
}
.btn-white:hover { opacity: .9; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--hairline-2); border-radius: var(--r-pill); background: rgba(255, 255, 255, .04);
  font-family: var(--font-display); font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background-color .18s ease;
}
.btn-outline:hover { background: rgba(255, 255, 255, .1); }
.navburger { display: none; width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: transparent; align-items: center; justify-content: center; }
.navburger span, .navburger span::before, .navburger span::after { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform .22s ease, background .22s ease; }
.navburger span::before, .navburger span::after { content: ''; position: absolute; left: 0; }
.navburger span::before { top: -5.5px; } .navburger span::after { top: 5.5px; }
.navburger[aria-expanded="true"] span { background: transparent; }
.navburger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.navburger[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ───────── HERO (two panes) ───────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
  min-height: min(calc(100dvh - 94px), 980px);
  padding: 10px; border-radius: var(--r-panel); background: var(--panel);
}
.hero__pane { position: relative; border-radius: var(--r-pane); overflow: hidden; }
.hero__pane--left {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(0deg, var(--pane-bottom) 0%, var(--pane-top) 100%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--alive); box-shadow: 0 0 0 0 rgba(142, 240, 180, .6); animation: live 2s infinite; }
.dot-live.dead { background: var(--alert); box-shadow: none; animation: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(142, 240, 180, .55); } 70% { box-shadow: 0 0 0 9px rgba(142, 240, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(142, 240, 180, 0); } }
.hero__title {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(54px, 7.6vw, 128px); line-height: .9; letter-spacing: -.055em;
}
.hero__line { display: block; }
.hero__line--spectral {
  background: linear-gradient(90deg, #fff 0%, var(--ice) 45%, var(--q) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lede { max-width: 440px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.38; color: var(--ink-2); margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta { position: relative; display: inline-flex; height: 60px; }
.cta__label { display: flex; align-items: center; height: 60px; padding: 0 26px; border-radius: var(--r-cta); background: #fff; color: #000; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.cta__arrow { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-left: -6px; border-radius: var(--r-cta); background: #fff; color: #000; transition: transform .25s var(--ease-out); }
.cta:hover .cta__arrow { transform: translateX(4px); }
.cta--outline .cta__label, .cta--outline .cta__arrow { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid var(--hairline-2); }
.cta--outline .cta__arrow { margin-left: 6px; }
.hero__stats { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-top: 1px solid var(--hairline); padding-top: 22px; gap: 16px; }
.stat b { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.04em; }
.stat span { font-size: 13px; color: var(--mute); }

/* right pane: video + spectral arc + beam pipeline */
.showcase { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 32px; text-align: center; background: #050508; isolation: isolate; }
.showcase__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -3; filter: saturate(.2) hue-rotate(190deg); }
.showcase::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 50% -70%, transparent 60%,
      rgba(43, 75, 214, .03) 63%, rgba(43, 75, 214, .08) 65%, rgba(43, 75, 214, .16) 67%,
      rgba(43, 75, 214, .28) 69%, rgba(43, 75, 214, .4) 71%, rgba(60, 100, 240, .52) 73%,
      rgba(70, 115, 250, .64) 75%, rgba(80, 130, 255, .74) 77%, rgba(91, 140, 255, .82) 79%,
      rgba(120, 160, 255, .92) 85%, rgba(160, 190, 255, .88) 87%, rgba(205, 220, 255, .92) 91%,
      rgba(240, 245, 255, .98) 93%, #ffffff 95%),
    radial-gradient(circle at 50% 35%, rgba(60, 90, 220, .1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(5, 5, 8, .9) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% -70%, transparent 60%, black 78%);
  mask-image: radial-gradient(circle at 50% -70%, transparent 60%, black 78%);
}
.showcase__eyebrow { position: absolute; left: 32px; top: 30px; font-size: 14px; opacity: .55; }
.showcase__chain { position: absolute; right: 32px; top: 28px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); display: flex; gap: 8px; align-items: center; }

.icon-pipeline { position: relative; display: flex; align-items: center; justify-content: center; z-index: 1; margin: auto 0 36px; }
.beam-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; pointer-events: none; }
.pipeline-line { width: clamp(60px, 9vw, 150px); height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .07)); }
.pipeline-line.right { background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .15)); }
.icon-node, .icon-node-center { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 50%; z-index: 3; }
.icon-node {
  width: 50px; height: 50px; background: #16171d;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, .4), -4px -4px 10px rgba(255, 255, 255, .03), inset 1px 1px 1px rgba(255, 255, 255, .05), inset 4px 4px 8px rgba(0, 0, 0, .4);
}
.icon-node::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px dotted rgba(255, 255, 255, .14); }
.icon-node svg { width: 20px; height: 20px; stroke: rgba(255, 255, 255, .75); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-node-center {
  width: 72px; height: 72px; background: #1b1d26;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, .5), -6px -6px 14px rgba(255, 255, 255, .04), inset 1px 1px 2px rgba(255, 255, 255, .06), inset 6px 6px 12px rgba(0, 0, 0, .5);
}
.icon-node-center svg { width: 32px; height: 32px; }
.node-label { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; color: rgba(255, 255, 255, .85); white-space: nowrap; letter-spacing: .04em; }
.node-light-right::before, .node-light-left::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; opacity: 0; transition: opacity .3s; z-index: 4; pointer-events: none; }
.node-light-right::before { background: radial-gradient(circle at right, rgba(255, 120, 120, .5) 0%, transparent 70%); }
.node-light-left::before { background: radial-gradient(circle at left, rgba(120, 160, 255, .6) 0%, transparent 70%); }
.node-light-right.active::before, .node-light-left.active::before { opacity: 1; }
.splash { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 160, 255, .7) 0%, transparent 70%); opacity: 0; transform: scale(.4); z-index: 2; pointer-events: none; }
.splash.animate { animation: splash-anim .8s ease-out forwards; }
@keyframes splash-anim { 0% { transform: scale(.4); opacity: .8; } 40% { opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

.qday { position: relative; z-index: 1; width: min(100%, 520px); }
.qday__label { font-size: 14px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 40, .6); margin-bottom: 12px; }
.qday__clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qday__cell { border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(4, 6, 14, .78); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 14px 6px 10px; }
.qday__cell b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.qday__cell span { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.qday__foot { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: rgba(10, 14, 40, .7); }

/* hero entrance (from Crypto Vault) */
@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: hero-line-enter 520ms var(--ease-out) both; }
  .hero__line:nth-child(1) { animation-delay: 260ms; } .hero__line:nth-child(2) { animation-delay: 360ms; } .hero__line:nth-child(3) { animation-delay: 460ms; }
  .hero__lede { animation: hero-detail-enter 420ms 680ms var(--ease-out) both; }
  .cta-row { animation: hero-detail-enter 380ms 800ms var(--ease-out) both; }
  .hero__stats { animation: hero-detail-enter 380ms 900ms var(--ease-out) both; }
  .showcase .icon-pipeline, .showcase .qday { animation: hero-detail-enter 520ms 500ms var(--ease-out) both; }
  .reveal { opacity: 0; filter: blur(10px); transform: translateY(14px); transition: opacity .7s var(--ease-out), filter .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.in { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes hero-line-enter { from { opacity: 0; filter: blur(16px); } to { opacity: 1; filter: blur(0); } }
@keyframes hero-detail-enter { from { opacity: 0; filter: blur(10px); transform: translateY(8px); } to { opacity: 1; filter: blur(0); transform: none; } }

/* ───────── TICKER ───────── */
.ticker { margin: 10px 0; border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; background: var(--panel); }
.ticker__track { display: flex; gap: 44px; width: max-content; padding: 14px 0; animation: marquee 48s linear infinite; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.ticker__track span { display: inline-flex; gap: 8px; white-space: nowrap; }
.ticker__track em { font-style: normal; color: var(--mute); }
.up { color: var(--alive); } .down { color: var(--alert); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ───────── SECTIONS ───────── */
.section { margin-top: 10px; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 64px); border-radius: var(--r-panel); background: var(--panel); position: relative; overflow: hidden; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.kicker { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: var(--r-tag); background: var(--tag-fill); font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.kicker--q { color: var(--ice); border-color: rgba(91, 140, 255, .35); background: rgba(91, 140, 255, .08); }
.h2 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 6vw, 96px); line-height: .9; letter-spacing: -.05em; }
.h2 .soft { color: var(--faint); }
.section__sub { max-width: 440px; font-size: 18px; line-height: 1.4; color: var(--ink-2); }

/* story: every address is a public key */
.story { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.story__step { position: relative; padding: 26px; min-height: 300px; border-radius: var(--r-pane); background: var(--surface-card); border: 1px solid rgba(255, 255, 255, .04); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.story__n { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.story__step h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; margin-bottom: 12px; }
.story__step p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.story__step--q { background: radial-gradient(420px 300px at 50% -20%, rgba(91, 140, 255, .35), transparent 70%), var(--surface-card); border-color: rgba(91, 140, 255, .25); }
.story__glyph { height: 64px; display: flex; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--mute); }

/* tech cards (Crypto Vault lcards) */
.lgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lcard { position: relative; border-radius: var(--r-pane); background: var(--surface-card); overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 0 28px 40px; }
.lcard--glow { background: radial-gradient(368px 368px at 50% -26px, rgba(102, 102, 102, .5) 0%, rgba(102, 102, 102, 0) 100%), var(--surface-card); }
.lcard__art { position: absolute; left: 0; right: 0; top: 0; height: 64%; display: flex; align-items: center; justify-content: center; }
.lcard__title { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; position: relative; }
.lcard__desc { margin-top: 16px; max-width: 330px; font-size: 16px; line-height: 1.42; color: var(--ink-2); position: relative; }
.lring { position: absolute; pointer-events: none; }
.ltag { position: absolute; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: var(--r-tag); background: var(--tag-fill); font-size: 13px; color: rgba(255, 255, 255, .8); white-space: nowrap; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.keyplate { position: relative; width: 170px; height: 170px; border: 1px solid transparent; border-radius: 40px;
  background-image: conic-gradient(from 180deg at 50% 50%, #8b8b8c 133deg, #171818 314deg), linear-gradient(180deg, #000 0%, #666 100%);
  background-origin: border-box; background-clip: padding-box, border-box; display: flex; align-items: center; justify-content: center; }
.keyplate__well { width: 138px; height: 138px; border: 9px solid transparent; border-radius: 30px;
  background-image: radial-gradient(250px 260px at 8px -8px, rgba(237, 237, 237, .2) 24%, rgba(0, 0, 0, 0) 100%), linear-gradient(rgba(0, 0, 0, .77), rgba(0, 0, 0, .77)), linear-gradient(180deg, rgba(87, 87, 87, .9) -78%, rgba(12, 12, 12, .9) 165%);
  background-origin: border-box; background-clip: padding-box, padding-box, border-box; display: flex; align-items: center; justify-content: center; }
.keyplate__well svg { width: 56px; height: 56px; opacity: .85; }
.wots { position: absolute; display: grid; grid-template-columns: repeat(17, 6px); gap: 4px; bottom: 6%; opacity: .7; }
.wots i { width: 6px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .12); transition: background .3s; }
.wots i.on { background: var(--q); box-shadow: 0 0 8px rgba(91, 140, 255, .8); }
.merkle { width: 82%; max-width: 360px; }
.merkle line { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.merkle circle { fill: #1b1d24; stroke: rgba(255, 255, 255, .3); stroke-width: 1; transition: fill .3s, stroke .3s; }
.merkle circle.hot { fill: var(--q); stroke: #fff; }
.merkle circle.root { fill: #fff; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .9; }
.globe-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 26, 26, 0) 20%, #111213 72%); }
.canary-orb { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass-fill); -webkit-backdrop-filter: blur(27px); backdrop-filter: blur(27px); box-shadow: 0 32px 43px -13px rgba(0, 0, 0, .48); display: flex; align-items: center; justify-content: center; }
.canary-orb::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid var(--glass-line); }
.canary-orb svg { width: 36px; height: 36px; }

/* ───────── ALPHA (new features) ───────── */
.alpha-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; border-radius: var(--r-pane); background: var(--surface-card); border: 1px solid rgba(255, 255, 255, .04); padding: clamp(22px, 2.4vw, 32px); overflow: hidden; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card--q { background: radial-gradient(520px 320px at 100% -10%, rgba(91, 140, 255, .22), transparent 70%), var(--surface-card); }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card__tag { font-family: var(--font-mono); font-size: 11px; color: var(--ice); letter-spacing: .06em; text-transform: uppercase; }
.card__badge { font-family: var(--font-mono); font-size: 10px; color: var(--mute); border: 1px solid var(--hairline); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
.card__badge--live { color: var(--alive); border-color: rgba(142, 240, 180, .3); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.card p.lead { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 520px; }

/* scanner */
.scan-form { display: flex; gap: 8px; }
.input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--hairline-2); border-radius: var(--r-cta); background: rgba(0, 0, 0, .4); color: #fff; font-family: var(--font-mono); font-size: 13px; outline: none; transition: border-color .18s; }
.input:focus { border-color: rgba(91, 140, 255, .7); }
.scan-form .btn-white { height: 52px; border-radius: var(--r-cta); padding: 0 22px; }
.scan-hint { font-size: 12px; color: var(--mute); }
.scan-result { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--hairline); border-radius: 20px; background: rgba(0, 0, 0, .3); }
.scan-result[hidden] { display: none; }
.gauge { position: relative; width: 170px; height: 170px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .track { stroke: rgba(255, 255, 255, .08); }
.gauge .val { stroke: var(--alert); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease-out), stroke .4s; }
.gauge__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__num b { font-family: var(--font-display); font-weight: 500; font-size: 52px; letter-spacing: -.05em; line-height: 1; }
.gauge__num span { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--mute); } .kv dd { margin: 0; font-family: var(--font-mono); font-size: 13px; text-align: right; }
.verdict { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.share-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }

/* markets */
.market { display: flex; flex-direction: column; gap: 8px; }
.mrow { display: grid; grid-template-columns: 110px 1fr 64px 120px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(0, 0, 0, .25); }
.mrow__label { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -.03em; }
.mrow__bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mrow__bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--q-deep), var(--q), var(--ice)); transition: width .8s var(--ease-out); }
.mrow__pct { font-family: var(--font-mono); font-size: 14px; text-align: right; }
.mrow__btns { display: flex; gap: 6px; }
.yes, .no { flex: 1; height: 32px; border-radius: 8px; border: 1px solid; font-family: var(--font-mono); font-size: 12px; background: transparent; }
.yes { color: var(--alive); border-color: rgba(142, 240, 180, .3); background: rgba(142, 240, 180, .06); }
.no { color: var(--alert); border-color: rgba(255, 90, 95, .3); background: rgba(255, 90, 95, .06); }
.yes:hover { background: rgba(142, 240, 180, .14); } .no:hover { background: rgba(255, 90, 95, .14); }
.market__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); }

/* bounty */
.bounty-pot { font-family: var(--font-display); font-weight: 500; font-size: clamp(54px, 6vw, 96px); letter-spacing: -.06em; line-height: .9; }
.bounty-pot small { font-size: .35em; color: var(--mute); letter-spacing: -.02em; margin-left: 6px; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--alive), #d6ffe6); transition: width 1s var(--ease-out); }
.rows { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 12px; }
.rows div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.rows div span:first-child { color: var(--mute); }

/* season */
.season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.quests { display: flex; flex-direction: column; gap: 6px; }
.quest { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(0, 0, 0, .25); text-align: left; width: 100%; transition: border-color .2s, background .2s; }
.quest:hover { border-color: rgba(91, 140, 255, .45); }
.quest.done { border-color: rgba(142, 240, 180, .3); background: rgba(142, 240, 180, .05); }
.quest__ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .05); font-family: var(--font-mono); font-size: 14px; }
.quest b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.quest small { color: var(--mute); font-size: 12px; }
.quest__pts { font-family: var(--font-mono); font-size: 13px; color: var(--ice); }
.quest.done .quest__pts { color: var(--alive); }
.my-points { display: flex; align-items: baseline; gap: 10px; }
.my-points b { font-family: var(--font-display); font-weight: 500; font-size: 64px; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.my-points span { color: var(--mute); font-size: 14px; }
.board { width: 100%; border-collapse: collapse; font-size: 13px; }
.board th { text-align: left; font-weight: 400; color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 0 8px 8px; }
.board td { padding: 9px 8px; border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 12px; }
.board td:last-child, .board th:last-child { text-align: right; }
.board tr.me td { color: var(--q); }
.tier { font-size: 10px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--hairline-2); color: var(--ink-2); }

/* yield */
.range { width: 100%; accent-color: var(--q); }
.yield-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.yield-out div { padding: 14px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(0, 0, 0, .25); }
.yield-out b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.04em; }
.yield-out span { font-size: 11px; color: var(--mute); }
.field-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); }
.field-row b { color: #fff; font-family: var(--font-mono); font-weight: 400; }

/* frost pass */
.pass { position: relative; aspect-ratio: 1.586; width: 100%; max-width: 440px; margin: 0 auto; border-radius: 22px; padding: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 90% at 0% 0%, rgba(185, 200, 255, .38), transparent 55%), radial-gradient(100% 80% at 100% 100%, rgba(43, 75, 214, .55), transparent 60%), linear-gradient(135deg, #1a1c24, #07070a);
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform-style: preserve-3d; transition: transform .2s ease-out; }
.pass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); background-size: 250% 100%; background-position: var(--shine, 100%) 0; pointer-events: none; }
.pass__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pass__top svg { width: 34px; height: 34px; }
.pass__sbt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 3px 7px; }
.pass__root { font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, .85); word-break: break-all; line-height: 1.5; }
.pass__bottom { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--font-mono); font-size: 11px; color: rgba(255, 255, 255, .65); }
.pass__name { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: #fff; letter-spacing: -.04em; text-transform: uppercase; }
.leaves { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; }
.leaves i { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.leaves i.used { background: rgba(255, 255, 255, .7); }

/* coins / rug radar */
.coin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.coin-table th { text-align: left; font-weight: 400; color: var(--mute); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 0 10px 10px; white-space: nowrap; }
.coin-table td { padding: 14px 10px; border-top: 1px solid var(--hairline); white-space: nowrap; }
.coin-cell { display: flex; align-items: center; gap: 10px; }
.coin-ava { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #000; }
.coin-cell b { display: block; font-family: var(--font-display); font-weight: 500; }
.coin-cell small { color: var(--mute); font-family: var(--font-mono); font-size: 11px; }
.qbar { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.qbar .meter { flex: 1; }
.qbar .meter i { background: linear-gradient(90deg, var(--q-deep), var(--ice)); }
.qbar b { font-family: var(--font-mono); font-weight: 400; font-size: 13px; width: 28px; text-align: right; }
.flag { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid; }
.flag--ok { color: var(--alive); border-color: rgba(142, 240, 180, .3); }
.flag--bad { color: var(--alert); border-color: rgba(255, 90, 95, .3); }
.flag--mid { color: var(--warn); border-color: rgba(255, 197, 107, .3); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(0, 0, 0, .3); flex-wrap: wrap; }
.tab { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-family: var(--font-display); font-size: 14px; }
.tab.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.table-wrap { overflow-x: auto; }

/* watchtower terminal */
.term { border: 1px solid var(--hairline); border-radius: 20px; background: #050506; overflow: hidden; }
.term__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.term__body { height: 340px; overflow: hidden; padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.log-line { display: grid; grid-template-columns: 66px 52px 1fr; gap: 10px; color: var(--ink-2); animation: hero-detail-enter .4s var(--ease-out) both; }
.log-line time { color: var(--faint); }
.k-NEWS { color: var(--ice); } .k-ALRT { color: var(--alert); } .k-VAULT { color: var(--alive); } .k-LNCH { color: var(--warn); } .k-MKT { color: #d7b4ff; } .k-MOVE { color: #fff; font-weight: 500; } .k-JOIN { color: var(--alive); }

/* timeline */
.timeline { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.timeline.dragging { cursor: grabbing; scroll-snap-type: none; }
.tl { flex: 0 0 280px; scroll-snap-align: start; padding: 22px; border-radius: 22px; background: var(--surface-card); border: 1px solid rgba(255, 255, 255, .04); display: flex; flex-direction: column; gap: 14px; min-height: 250px; user-select: none; }
.tl__year { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -.05em; line-height: 1; }
.tl h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -.03em; }
.tl p { font-size: 14px; line-height: 1.45; color: var(--ink-2); flex: 1; }
.tl__kind { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--hairline-2); color: var(--mute); }
.tl__kind.defense { color: var(--alive); border-color: rgba(142, 240, 180, .3); }
.tl__kind.ai { color: #d7b4ff; border-color: rgba(215, 180, 255, .3); }
.tl--now { background: radial-gradient(300px 200px at 50% 0%, rgba(91, 140, 255, .3), transparent 70%), var(--surface-card); border-color: rgba(91, 140, 255, .3); }
.tl--q { background: #fff; color: #000; }
.tl--q p { color: rgba(0, 0, 0, .7); } .tl--q .tl__kind { color: #000; border-color: rgba(0, 0, 0, .2); }

/* final cta */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 170%, transparent 60%, rgba(43, 75, 214, .2) 66%, rgba(91, 140, 255, .55) 74%, rgba(185, 200, 255, .8) 80%, #fff 86%); }
.final .h2 { font-size: clamp(48px, 8vw, 140px); }
.final p { max-width: 520px; font-size: 18px; line-height: 1.45; color: var(--ink-2); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 28px 10px 40px; font-size: 13px; color: var(--mute); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a:hover { color: #fff; }
.disclaimer { max-width: 560px; line-height: 1.5; }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border: 1px solid var(--hairline-2); border-radius: 14px; background: rgba(10, 10, 14, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: 14px; transition: opacity .25s, transform .25s var(--ease-out); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-note { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: .04em; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1199.98px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .navburger { display: flex; }
  .navmenu { position: absolute; right: 10px; top: calc(100% + 10px); width: min(320px, calc(100vw - 2 * var(--gutter) - 20px)); padding: 12px; border: 1px solid var(--hairline); border-radius: var(--r-pane); background: #0c0d10; box-shadow: 0 32px 43px -13px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 100% 0; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
  .navmenu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
  .navmenu .navlinks { flex-direction: column; }
  .nav-actions .ca-chip { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .showcase { min-height: 620px; }
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgrid { grid-template-columns: 1fr; }
  .lcard { min-height: 520px; }
  .span-7, .span-5, .span-6, .span-4, .span-8 { grid-column: span 12; }
}
@media (min-width: 1200px) { .navmenu { display: contents; } .navmenu .navlinks { justify-self: center; } }
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr; }
  .story__step { min-height: 0; }
  .season { grid-template-columns: 1fr; }
  .scan-result { grid-template-columns: 1fr; justify-items: center; }
  .kv { width: 100%; }
  .mrow { grid-template-columns: 1fr 54px; }
  .mrow__bar { grid-column: 1 / -1; grid-row: 2; }
  .mrow__btns { grid-column: 1 / -1; }
  .yield-out { grid-template-columns: 1fr; }
  .scan-form { flex-direction: column; }
  .icon-node { width: 40px; height: 40px; } .icon-node-center { width: 58px; height: 58px; }
  .pipeline-line { width: 44px; }
  .showcase { padding: 24px 16px; }
  .showcase__eyebrow { left: 20px; } .showcase__chain { right: 20px; }
  .log-line { grid-template-columns: 52px 1fr; } .log-line time { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ───────── VAULT CONSOLE (vault.html) ───────── */
.vx-head .section__sub { margin-top: 18px; }
.vx-banner { margin-top: 24px; padding: 12px 16px; border: 1px solid rgba(91, 140, 255, .35); border-radius: 14px; background: rgba(91, 140, 255, .08); font-size: 14px; color: var(--ink-2); max-width: 760px; }
.vx-banner--warn { border-color: rgba(255, 197, 107, .4); background: rgba(255, 197, 107, .07); }
.vx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vx-row[hidden], .vx-form[hidden], [hidden].vx-pending, [hidden].scan-form, [hidden].btn-outline, [hidden].btn-white { display: none; }
.vx-seed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.vx-seed span { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; border: 1px solid var(--hairline-2); border-radius: 10px; background: rgba(0, 0, 0, .4); font-size: 15px; letter-spacing: .04em; }
.vx-seed small { color: var(--faint); font-size: 10px; }
.vx-link { background: none; border: 0; padding: 0; color: var(--ice); font-size: 12px; cursor: pointer; }
.vx-bal td, .vx-bal th { font-family: var(--font-mono); }
.vx-forms { display: flex; flex-direction: column; gap: 16px; }
.vx-form { display: flex; flex-direction: column; gap: 8px; }
.vx-line { display: flex; gap: 8px; }
.vx-line .btn-white, .vx-line .btn-outline, .vx-form > .btn-white { height: 52px; border-radius: var(--r-cta); }
.vx-select { flex: 0 0 120px; appearance: none; cursor: pointer; }
.vx-text { height: 110px; padding: 14px 16px; resize: vertical; font-family: var(--font-body); font-size: 15px; line-height: 1.4; }
.vx-pending { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid rgba(255, 197, 107, .4); border-radius: 14px; background: rgba(255, 197, 107, .07); font-size: 14px; color: var(--ink-2); }
.vx-pending b { color: var(--warn); font-weight: 500; }
.vx-pending--soft { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; border-color: var(--hairline-2); background: rgba(0, 0, 0, .25); margin-bottom: 6px; }
.vx-warn { font-size: 13px; color: var(--warn); line-height: 1.4; }
.vx-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-check { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--hairline-2); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; cursor: pointer; }
.vx-check:has(input:checked) { border-color: rgba(91, 140, 255, .7); background: rgba(91, 140, 255, .12); }
.vx-check input { accent-color: var(--q); }
.vx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.vx-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.log-line a { color: var(--ice); }
.vx-form > .input { flex: none; }
.vx-form .field-row { flex-wrap: wrap; gap: 4px 12px; }
.vx-activity { height: 220px; overflow-y: auto; justify-content: flex-start; -webkit-mask-image: none; mask-image: none; }
.vx-activity .log-line { grid-template-columns: 66px 1fr; }
.vx-activity:empty::before { content: 'Deposits, withdrawals and posts show up here.'; color: var(--faint); }
button:disabled { opacity: .55; cursor: progress; }
@media (max-width: 760px) {
  .vx-seed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-split { grid-template-columns: minmax(0, 1fr); }
  .vx-line { flex-wrap: wrap; }
  .vx-select { flex: 1 1 100%; }
  .vx-activity .log-line { grid-template-columns: 1fr; }
  .nav-actions .ca-chip#netChip { display: none; }
}
