/* ═══════════════════════════════════════════════════════════════
   LOCK COIN — vault-grade industrial styling
   palette: gunmetal + brushed steel + cobalt signal
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:        #06070a;
  --bg-2:      #0a0c11;
  --panel:     rgba(255, 255, 255, 0.028);
  --panel-2:   rgba(255, 255, 255, 0.055);
  --edge:      rgba(160, 180, 214, 0.10);
  --edge-hi:   rgba(160, 190, 255, 0.26);

  --ink:       #e9eef7;
  --ink-2:     #b3bdcd;
  --dim:       #7d8798;
  --faint:     #4d5665;

  --acc:       #4f8dff;
  --acc-hi:    #8fb8ff;
  --acc-deep:  #1f4fd6;
  --ok:        #35d68a;
  --warn:      #ff9a3c;

  --steel-1:   #cfd9e8;
  --steel-2:   #7f8b9e;
  --steel-3:   #39424f;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Sora", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--acc); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05060a; }
::-webkit-scrollbar-thumb { background: #232b36; border-radius: 6px; border: 2px solid #05060a; }
::-webkit-scrollbar-thumb:hover { background: var(--acc-deep); }

a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; color: #fff; }

/* ─────────────────────────── backdrop ─────────────────────────── */

.bd-grid {
  position: fixed; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 170, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 220, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 8%, transparent 72%);
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift { to { background-position: 68px 68px, 68px 68px; } }

.bd-glow {
  position: fixed; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(130px); opacity: .5;
  animation: glow-drift 26s ease-in-out infinite alternate;
}
.bd-glow-a {
  width: 62vw; height: 62vw; top: -26vw; right: -18vw;
  background: radial-gradient(circle, rgba(47, 109, 255, .34) 0%, transparent 66%);
}
.bd-glow-b {
  width: 54vw; height: 54vw; bottom: -22vw; left: -20vw;
  background: radial-gradient(circle, rgba(90, 130, 210, .18) 0%, transparent 66%);
  animation-delay: -13s;
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, 4vw, 0) scale(1.18); }
}

.bd-scan {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(180deg,
    transparent 0%, rgba(150, 185, 255, .045) 44%, rgba(150, 185, 255, .09) 50%,
    rgba(150, 185, 255, .045) 56%, transparent 100%);
  background-size: 100% 300%;
  animation: scan 11s linear infinite;
}
@keyframes scan { from { background-position: 0 -150%; } to { background-position: 0 250%; } }

.bd-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, transparent 40%, rgba(0,0,0,.72) 100%);
}

.bd-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ─────────────────────────── nav ─────────────────────────── */

/* floating island — detached from the top edge, contracts as you scroll */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 100;
  transform: translateX(-50%);
  width: calc(100% - 36px); max-width: var(--maxw);
  display: flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 18px;
  border-radius: 100px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(8, 10, 14, .60);
  border: 1px solid var(--edge);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 18px 40px -22px rgba(0,0,0,.95);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  transition: top .38s cubic-bezier(.2,.8,.2,1), max-width .38s cubic-bezier(.2,.8,.2,1),
              background .38s ease, border-color .38s ease, box-shadow .38s ease;
}
.nav.stuck {
  top: 10px;
  max-width: 1010px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022)),
    rgba(8, 10, 14, .88);
  border-color: var(--edge-hi);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 22px 50px -20px rgba(0,0,0,1),
    0 0 44px -20px rgba(79, 141, 255, .65);
}

/* scroll progress, inset so it clears the pill's rounded corners */
.nav-rail {
  position: absolute; left: 14%; right: 14%; bottom: 4px; height: 2px;
  border-radius: 2px; overflow: hidden;
  /* no track — at zero scroll the bar should read as absent, not as a divider */
  background: transparent;
}
.nav-rail-fill {
  height: 100%; width: 0%; border-radius: 2px;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc), var(--acc-hi));
  box-shadow: 0 0 14px rgba(79, 141, 255, .85);
}

.nav-logo { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.nav-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(150deg, #1a2130, #0b0e14);
  border: 1px solid var(--edge-hi);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 22px -6px rgba(79,141,255,.6);
}
.nav-mark svg { width: 21px; height: 21px; fill: none; stroke: var(--acc-hi); stroke-width: 1.9; stroke-linecap: round; }
.nav-mark .nm-body { fill: rgba(79,141,255,.14); }
.nav-mark .nm-pin { fill: var(--acc-hi); stroke: none; }
.nav-logo:hover .nav-mark { border-color: var(--acc); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 26px -4px rgba(79,141,255,.9); }

.nav-name {
  font-weight: 700; font-size: 16px; letter-spacing: .16em;
  background: linear-gradient(180deg, #fff, #93a2b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* own solid fill — `opacity` here would create a stacking context and drop
   out of the parent's background-clip:text gradient entirely */
.nav-name-dim { color: #66738a; -webkit-text-fill-color: #66738a; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 13.5px; color: var(--dim); letter-spacing: .01em;
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--acc); transition: width .28s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 1.6px; background: var(--ink-2); margin: 4px 0; transition: .25s; }

/* ─────────────────────────── buttons ─────────────────────────── */

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent; overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4f8dff 0%, #2f6dff 52%, #1a4fd0 100%);
  border-color: rgba(160, 195, 255, .38);
  box-shadow: 0 10px 26px -10px rgba(47, 109, 255, .85), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.42) 46%, transparent 68%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47,109,255,1), inset 0 1px 0 rgba(255,255,255,.34); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-steel {
  color: var(--ink);
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  border-color: var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-steel:hover { transform: translateY(-2px); border-color: var(--edge-hi); background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-arrow { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-lock { font-size: 13px; }

/* ─────────────────────────── hero ─────────────────────────── */

.hero { position: relative; z-index: 2; padding: 150px 24px 70px; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
/* grid items default to min-width:auto, which lets an unwrappable child widen
   the whole column past the viewport on narrow screens */
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--dim);
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--edge); background: var(--panel);
  margin-bottom: 26px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(53, 214, 138, .7); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(53, 214, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 214, 138, 0); }
}

.hero-title {
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: .92; font-weight: 800; letter-spacing: -.035em;
  margin-bottom: 26px;
}
.hero-title .line { display: block; }

.chrome {
  background: linear-gradient(178deg, #ffffff 4%, #cbd6e6 32%, #78849a 54%, #e4ecf8 70%, #6d7889 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.6));
}
.accent-line {
  background: linear-gradient(100deg, var(--acc-hi), var(--acc) 48%, #2a5fe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(79, 141, 255, .35));
}

.hero-sub { font-size: 16.5px; color: var(--ink-2); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-ca {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 10px 9px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--edge);
  font-family: var(--mono); font-size: 12.5px; max-width: 100%;
}
/* [hidden] alone loses to display:inline-flex above */
.hero-ca[hidden] { display: none; }
.ca-label { color: var(--faint); letter-spacing: .16em; font-size: 10px; }
.hero-ca code { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 8px; border: 1px solid var(--edge); background: rgba(255,255,255,.04);
  cursor: pointer; transition: .2s;
}
.copy-btn svg { width: 14px; height: 14px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { border-color: var(--acc); background: rgba(79,141,255,.14); }
.copy-btn:hover svg { stroke: var(--acc-hi); }
.copy-btn.done { border-color: var(--ok); background: rgba(53,214,138,.16); }
.copy-btn.done svg { stroke: var(--ok); }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--dim);
}
.hero-trust i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
}

/* ─────────────────────────── vault visual ─────────────────────────── */

.vault-wrap {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%;
  perspective: 1000px;
}
.vault {
  width: 100%; height: 100%; position: relative; z-index: 3;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.75));
  animation: vault-float 9s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes vault-float {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50%      { transform: translateY(-14px) rotateX(3deg) rotateY(-3deg); }
}
.vault-shadow {
  position: absolute; width: 62%; height: 34px; bottom: 2%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.72) 0%, transparent 70%);
  filter: blur(12px); animation: shadow-breathe 9s ease-in-out infinite;
}
@keyframes shadow-breathe { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(.86); opacity: .55; } }

.v-ring-slow { transform-origin: 220px 220px; animation: spin 46s linear infinite; }
.v-spokes    { transform-origin: 220px 220px; animation: spin 70s linear infinite reverse; }
.v-handle    { transform-origin: 220px 220px; animation: handle-turn 12s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes handle-turn {
  0%, 58%  { transform: rotate(0deg); }
  74%      { transform: rotate(-104deg); }
  88%      { transform: rotate(-96deg); }
  100%     { transform: rotate(0deg); }
}

.v-sheen { animation: sheen 7s ease-in-out infinite; transform-origin: 220px 220px; }
@keyframes sheen { 0%,100% { opacity: .55; } 50% { opacity: .95; } }

.v-arc {
  stroke-dasharray: 942; stroke-dashoffset: 942;
  filter: drop-shadow(0 0 8px rgba(79,141,255,.9));
  transition: stroke-dashoffset .9s linear;
}
.v-core { animation: core-glow 3.4s ease-in-out infinite; transform-origin: 220px 220px; }
@keyframes core-glow { 0%,100% { opacity: .82; } 50% { opacity: 1; } }
.v-shackle { animation: shackle-click 12s cubic-bezier(.7,0,.3,1) infinite; transform-origin: 220px 216px; }
@keyframes shackle-click {
  0%, 54%  { transform: translateY(-4px); }
  70%, 96% { transform: translateY(0); }
  100%     { transform: translateY(-4px); }
}

.vault-pulse {
  position: absolute; border-radius: 50%; z-index: 1;
  border: 1px solid rgba(79, 141, 255, .35);
  width: 74%; height: 74%;
  animation: ripple 4.2s cubic-bezier(.2,.7,.4,1) infinite;
}
.vault-pulse.p2 { animation-delay: 1.4s; }
.vault-pulse.p3 { animation-delay: 2.8s; }
@keyframes ripple {
  0%   { transform: scale(.86); opacity: .0; }
  18%  { opacity: .75; }
  100% { transform: scale(1.42); opacity: 0; }
}

.vault-chip {
  position: absolute; z-index: 4;
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10, 13, 19, .82);
  border: 1px solid var(--edge-hi);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: chip-float 7s ease-in-out infinite;
}
.vault-chip b { font-family: var(--mono); font-size: 16px; color: var(--acc-hi); font-weight: 700; line-height: 1.2; }
.vault-chip span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.chip-1 { top: 6%;  left: -4%; }
.chip-2 { bottom: 16%; left: -8%; animation-delay: -2.3s; }
.chip-3 { top: 30%; right: -6%; animation-delay: -4.6s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint {
  display: block; width: 24px; height: 40px; margin: 56px auto 0;
  border: 1.5px solid var(--edge); border-radius: 14px; position: relative;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 7px; border-radius: 2px;
  background: var(--acc); transform: translateX(-50%);
  animation: scroll-dot 1.9s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } }

/* ─────────────────────────── ticker ─────────────────────────── */

.ticker {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.5);
  padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick {
  display: inline-flex; align-items: center; gap: 14px; padding: 0 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  color: var(--ink-2); white-space: nowrap; text-transform: uppercase;
}
.tick em { color: var(--acc); font-style: normal; }
.tick::after { content: "◆"; color: var(--faint); font-size: 8px; letter-spacing: 0; }

/* ─────────────────────────── layout / sections ─────────────────────────── */

.section { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 108px 24px; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--acc);
  text-transform: uppercase; margin-bottom: 16px;
}
.sec-title {
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.03em;
  line-height: 1.06; margin-bottom: 18px;
}
.sec-sub { color: var(--ink-2); font-size: 16px; }

.panel {
  position: relative; border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.014)),
    rgba(10, 12, 17, .55);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow);
  backdrop-filter: blur(6px);
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(79,141,255,.14), transparent 62%);
  opacity: 0; transition: opacity .35s ease;
}
.panel:hover::before { opacity: 1; }

.panel-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  color: var(--faint); text-transform: uppercase;
}

.tilt { transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .3s ease; transform-style: preserve-3d; will-change: transform; }
.tilt:hover { border-color: var(--edge-hi); }

/* ─────────────────────────── live section ─────────────────────────── */

.live { padding-top: 84px; }
.live-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; }

.countdown-card { padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cd-wrap { position: relative; width: 218px; height: 218px; display: grid; place-items: center; }
.cd-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cd-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 8; }
.cd-prog {
  fill: none; stroke: var(--acc); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 540; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(79,141,255,.75));
  transition: stroke-dashoffset .95s linear, stroke .3s ease;
}
.cd-face { position: relative; z-index: 2; }
.cd-time {
  font-family: var(--mono); font-size: 46px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff, #9fb2cc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-unit { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.cd-sub { font-size: 13px; color: var(--dim); }
.cd-mode { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.cd-burst {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--acc); opacity: 0;
}
.cd-burst.go { animation: burst .95s cubic-bezier(.2,.7,.4,1); }
@keyframes burst {
  0%   { opacity: .9; transform: scale(.72); }
  100% { opacity: 0;  transform: scale(1.55); }
}

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stat { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.stat-val {
  font-family: var(--mono); font-size: clamp(30px, 3.6vw, 42px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #fff 20%, #8fa2bd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-val i.sol-unit { font-style: normal; font-size: .5em; margin-left: 5px; vertical-align: .22em; }

/* ── Solana mark ──
   viewBox is 397.7 × 311.7, so height is width ÷ 1.276. Sized in em so it
   tracks whatever text it sits beside. */
.sol {
  width: 1em; height: .784em;
  fill: currentColor;
  vertical-align: -.01em;
  margin-left: .08em;
  flex: none;
}
/* the gradient reaches the paths because they declare no fill of their own */
.sol--brand { fill: url(#solGrad); }
.stat-name { font-size: 12.5px; color: var(--dim); letter-spacing: .02em; }
.stat-bar { height: 4px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 10px; }
.stat-bar-fill {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc-hi));
  box-shadow: 0 0 12px rgba(79,141,255,.7);
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}

/* ─────────────────────────── steps ─────────────────────────── */

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-rail {
  position: absolute; top: 74px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--edge) 0 8px, transparent 8px 16px);
}
.steps-rail-fill {
  height: 1px; width: 0%;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc-hi));
  box-shadow: 0 0 12px rgba(79,141,255,.8);
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
}

.step { padding: 30px 26px 32px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num {
  font-family: var(--mono); font-size: 30px; font-weight: 700; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(160, 190, 255, .38);
}
.step-chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; color: var(--acc-hi);
  background: rgba(79,141,255,.10); border: 1px solid rgba(79,141,255,.24);
}
.step-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(79,141,255,.16), rgba(79,141,255,.03));
  border: 1px solid rgba(79,141,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  margin-bottom: 18px;
}
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--acc-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .si-flow { fill: rgba(79,141,255,.14); }
.step:hover .step-icon { animation: icon-nudge .6s ease; }
@keyframes icon-nudge { 30% { transform: translateY(-5px) rotate(-4deg); } 60% { transform: translateY(0) rotate(2deg); } }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

.ilink { color: var(--acc-hi); border-bottom: 1px solid rgba(143,184,255,.35); transition: .2s; }
.ilink:hover { color: #fff; border-bottom-color: #fff; }

/* ─────────────────────────── math ─────────────────────────── */

.math-grid { display: grid; grid-template-columns: 1fr 420px; gap: 34px; align-items: start; }

.formula {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 30px 28px; border-radius: var(--r);
  background: rgba(10, 12, 17, .5); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  margin-bottom: 24px;
}
.f-row { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.f-top, .f-bot { font-family: var(--mono); font-size: 14px; color: var(--ink); white-space: nowrap; }
.f-bot { color: var(--dim); }
.f-bar { width: 100%; height: 1.5px; background: linear-gradient(90deg, var(--acc-deep), var(--acc-hi)); border-radius: 2px; }
.f-eq { font-size: 26px; color: var(--faint); }
.f-out {
  font-family: var(--mono); font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 10px;
  color: var(--acc-hi); background: rgba(79,141,255,.10); border: 1px solid rgba(79,141,255,.26);
}
.math-note { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.math-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.math-facts div {
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--panel); border: 1px solid var(--edge);
}
.math-facts b { display: block; font-family: var(--mono); font-size: 24px; color: #fff; letter-spacing: -.03em; }
.math-facts span { font-size: 11.5px; color: var(--dim); }

.calc { padding: 26px; }
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.calc-badge {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ok); padding: 3px 9px; border-radius: 100px;
  background: rgba(53,214,138,.10); border: 1px solid rgba(53,214,138,.28);
}
.calc-label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.calc-label b { font-family: var(--mono); color: var(--acc-hi); font-weight: 700; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 3px;
  background: rgba(255,255,255,.09); outline: none; margin-bottom: 22px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(160deg, #dbe6f8, #7f8b9e);
  border: 2px solid var(--acc);
  box-shadow: 0 0 0 4px rgba(79,141,255,.16), 0 4px 12px rgba(0,0,0,.6);
  cursor: grab; transition: transform .15s ease, box-shadow .2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); box-shadow: 0 0 0 7px rgba(79,141,255,.2), 0 4px 12px rgba(0,0,0,.6); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #dbe6f8;
  border: 2px solid var(--acc); cursor: grab;
}

.calc-share-bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; margin: 4px 0 22px; }
.csb-fill {
  height: 100%; width: 5%; border-radius: 5px;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc-hi));
  box-shadow: 0 0 14px rgba(79,141,255,.6);
  transition: width .25s cubic-bezier(.2,.8,.2,1);
}

.calc-out { border-top: 1px solid var(--edge); padding-top: 8px; }
.calc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13.5px; color: var(--ink-2);
}
.calc-row:last-child { border-bottom: 0; }
.calc-row b { font-family: var(--mono); font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.calc-row.dim { color: var(--faint); }
.calc-row.dim b { color: var(--dim); font-size: 13px; }

/* ─────────────────────────── board ─────────────────────────── */

.board-wrap { overflow-x: auto; padding: 6px; margin-bottom: 22px; }
.board { width: 100%; border-collapse: collapse; min-width: 660px; }
.board th {
  text-align: left; padding: 14px 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; border-bottom: 1px solid var(--edge);
}
.board td {
  padding: 15px 18px; font-size: 13.5px; color: var(--ink-2);
  border-bottom: 1px solid rgba(255,255,255,.035);
}
.board tbody tr { transition: background .2s ease; }
.board tbody tr:hover { background: rgba(79,141,255,.055); }
.board tbody tr:last-child td { border-bottom: 0; }
.b-rank { font-family: var(--mono); color: var(--faint); width: 52px; }
.b-rank.top { color: var(--acc-hi); font-weight: 700; }
.b-wallet { font-family: var(--mono); color: var(--ink); }
.b-num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: #fff; }
.b-cut { font-family: var(--mono); color: var(--acc-hi); font-weight: 700; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 100px;
}
.pill-live { color: var(--ok); background: rgba(53,214,138,.10); border: 1px solid rgba(53,214,138,.26); }
.pill-warm { color: var(--warn); background: rgba(255,154,60,.10); border: 1px solid rgba(255,154,60,.26); }

.feed-wrap { padding: 20px 22px; margin-bottom: 22px; }
.feed-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--dim);
}
.feed { display: flex; flex-direction: column; gap: 2px; max-height: 236px; overflow: hidden; }
.feed-row {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center;
  padding: 9px 12px; border-radius: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--dim);
  animation: feed-in .45s cubic-bezier(.2,.8,.2,1);
}
.feed-row:nth-child(odd) { background: rgba(255,255,255,.018); }
.feed-row .fr-w { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.feed-row .fr-a { color: var(--ok); font-weight: 700; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.manage { padding: 26px; }
.manage-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.manage-sub { font-size: 13px; color: var(--dim); margin-top: 4px; max-width: 460px; }
.manage-actions { display: flex; gap: 10px; }
.manage-actions input {
  flex: 1; padding: 12px 16px; border-radius: 11px;
  background: rgba(0,0,0,.36); border: 1px solid var(--edge); color: var(--ink);
  font-family: var(--mono); font-size: 13px; outline: none; transition: .2s;
}
.manage-actions input::placeholder { color: var(--faint); }
.manage-actions input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(79,141,255,.14); }
.manage-msg { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.manage-msg.err { color: var(--warn); }
.manage-body { margin-top: 20px; }
.manage-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.manage-stats div { padding: 14px 16px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--edge); }
.m-label { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.manage-stats b { font-family: var(--mono); font-size: 17px; color: #fff; }
.m-ok { color: var(--ok) !important; }
.contract-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

/* ─────────────────────────── faq ─────────────────────────── */

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-item {
  border-radius: var(--r); border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.01));
  overflow: hidden; transition: border-color .25s ease, background .25s ease;
}
.faq-item:hover { border-color: var(--edge-hi); }
.faq-item[open] { border-color: rgba(79,141,255,.30); background: linear-gradient(180deg, rgba(79,141,255,.07), rgba(255,255,255,.012)); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: relative; width: 16px; height: 16px; flex: none;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; background: var(--acc-hi); border-radius: 2px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.faq-item summary i::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-item summary i::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] summary i::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 22px 20px; }
.faq-body p { font-size: 14.5px; color: var(--ink-2); max-width: 72ch; }
.faq-item[open] .faq-body { animation: faq-open .35s cubic-bezier(.2,.8,.2,1); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ─────────────────────────── cta ─────────────────────────── */

.cta-sec { padding-top: 40px; }
.cta { padding: 64px 40px; text-align: center; overflow: hidden; }
.cta-glow {
  position: absolute; inset: -40% -10% auto; height: 90%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,141,255,.28), transparent 62%);
}
.cta h2 { position: relative; font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 14px; }
.cta p { position: relative; color: var(--ink-2); margin-bottom: 30px; }
.cta .hero-cta { position: relative; justify-content: center; margin-bottom: 0; }

/* ─────────────────────────── footer ─────────────────────────── */

.footer {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: 54px 24px 70px; border-top: 1px solid var(--edge);
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 42px; height: 42px; border-radius: 12px; }
.footer-mark svg { width: 25px; height: 25px; }
.footer-title { font-size: 17px; font-weight: 700; letter-spacing: .14em; }
.footer-tag { font-size: 13px; color: var(--dim); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--dim); transition: color .2s ease; }
.footer-links a:hover { color: var(--acc-hi); }
.footer-disclaimer { font-size: 11.5px; line-height: 1.75; color: var(--faint); max-width: 780px; }

/* ─────────────────────────── reveal ─────────────────────────── */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  z-index: 300; padding: 12px 20px; border-radius: 12px;
  background: rgba(10,13,19,.94); border: 1px solid var(--edge-hi);
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─────────────────────────── responsive ─────────────────────────── */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .vault-wrap { max-width: 400px; order: -1; }
  .hero { padding-top: 124px; }
  .live-grid { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps-rail { display: none; }
}

@media (max-width: 720px) {
  .nav { width: calc(100% - 24px); padding: 8px 10px 8px 14px; gap: 12px; }
  .nav-rail { left: 20%; right: 20%; bottom: 3px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  /* dropdown floats as its own card below the pill, not welded to it */
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    padding: 10px 18px 14px; border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
      rgba(7, 9, 13, .985);
    border: 1px solid var(--edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 50px -24px rgba(0,0,0,1);
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    animation: nav-drop .28s cubic-bezier(.2,.8,.2,1);
  }
  .nav.open .nav-links a { padding: 11px 0; font-size: 15px; }
  @keyframes nav-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .section { padding: 76px 20px; }
  .hero { padding: 112px 20px 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .math-facts { grid-template-columns: 1fr; }
  .manage-stats { grid-template-columns: 1fr; }
  .eyebrow { font-size: 9.5px; letter-spacing: .13em; gap: 8px; padding: 7px 12px; }
  .hero-cta .btn { flex: 1 1 220px; justify-content: center; }
  .hero-ca { width: 100%; }
  .hero-ca code { min-width: 0; }
  .vault-chip { padding: 8px 11px; }
  .vault-chip b { font-size: 14px; }
  .chip-1 { top: 2%; left: 0; }
  .chip-2 { bottom: 4%; left: 0; }
  .chip-3 { top: auto; bottom: 4%; right: 0; }
  .formula { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta { padding: 44px 22px; }
  .feed-row { grid-template-columns: 58px 1fr auto; gap: 8px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  /* `animation: none` rather than a tiny duration — a 0s animation still
     paints its 0% keyframe in some engines, which hides opacity-in effects */
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { transform: none; }
}
