/* =========================================================
   BRAINMUSK — $BRAINMUSK
   A synapse-blue / deep-space palette pulled directly from
   the source portrait: near-black ground, ionized ice-blue,
   cyan sparks, cold white highlights.
========================================================= */

:root{
  --bg: #04060b;
  --bg-1: #070b14;
  --bg-2: #0a1428;
  --panel: #0b1120cc;
  --line: #1b2a45;
  --ice: #a9d4ff;
  --ice-2: #7fb8f2;
  --cyan: #8be6ff;
  --white: #eef6ff;
  --dim: #8ea3c4;
  --dim-2: #5c7093;
  --danger: #ff6b6b;
  --glow: 0 0 24px rgba(140, 205, 255, .35);
  --glow-strong: 0 0 40px rgba(140, 205, 255, .55);
  --radius: 18px;
  --radius-sm: 12px;
  --ff-display: "Rajdhani", "Poppins", sans-serif;
  --ff-body: "Space Grotesk", "Poppins", sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  background: var(--bg);
}
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lock{ overflow: hidden; height: 100vh; }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
::selection{ background: rgba(140,205,255,.35); color: #fff; }

.container{
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* Reveal-on-scroll base state */
.reveal{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-scale{ opacity:0; transform: scale(.88); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-scale.in{ opacity:1; transform: scale(1); }
.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* =========================================================
   Background system — layered particle canvas + photographic
   nebula field derived from the source portrait.
========================================================= */
#bg-canvas{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.vignette{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(2,4,9,.55) 100%);
}

/* =========================================================
   Loading screen
========================================================= */
#loader{
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #030509 url("../images/hero-portrait.webp") center 30% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity .9s ease, visibility .9s ease;
}
#loader::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,5,9,.55) 0%, rgba(3,5,9,.35) 35%, rgba(3,5,9,.92) 100%);
}
#loader.hidden{ opacity: 0; visibility: hidden; }
.loader-inner{
  position: relative;
  z-index: 2;
  width: min(460px, 86vw);
  padding-bottom: 9vh;
  text-align: center;
}
.loader-word{
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: clamp(28px, 6vw, 44px);
  color: var(--white);
  text-shadow: var(--glow);
  margin: 0 0 14px;
}
.loader-word span{ color: var(--cyan); }
.loader-bar{
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.loader-bar i{
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--ice-2), var(--cyan));
  box-shadow: var(--glow);
  animation: loadfill 1.6s var(--ease) forwards;
}
@keyframes loadfill{ to{ inset: 0 0 0 0; } }
.loader-pct{
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--dim);
  text-transform: uppercase;
}

/* =========================================================
   Header
========================================================= */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled{
  background: rgba(4,6,11,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
}
.brand img{
  width: 38px; height: 38px; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line), var(--glow);
}
.brand small{
  display:block; font-family: var(--ff-body); font-weight: 500;
  font-size: 10px; letter-spacing: .2em; color: var(--cyan); margin-top: -2px;
}
.nav-links{
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dim);
}
.nav-links a{ position: relative; padding: 4px 0; transition: color .25s ease; }
.nav-links a:hover{ color: var(--white); }
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--cyan); transition: right .3s var(--ease);
}
.nav-links a:hover::after{ right: 0; }

.nav-actions{ display: flex; align-items: center; gap: 10px; }
.icon-btn{
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--ice);
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.icon-btn:hover{ transform: translateY(-3px); border-color: var(--cyan); color: var(--white); box-shadow: var(--glow); }
.icon-btn svg{ width: 17px; height: 17px; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s ease, filter .3s ease, background .3s ease;
}
.btn:active{ transform: translateY(1px) scale(.98); }
.btn-primary{
  background: linear-gradient(135deg, #bfe6ff, var(--cyan) 45%, var(--ice-2));
  color: #04121f;
  box-shadow: 0 8px 26px -8px rgba(140,205,255,.65);
}
.btn-primary:hover{ filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(140,205,255,.8); }
.btn-ghost{
  background: rgba(255,255,255,.03);
  border-color: var(--line);
  color: var(--white);
}
.btn-ghost:hover{ border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-outline-cyan{
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-outline-cyan:hover{ background: rgba(140,230,255,.1); transform: translateY(-2px); box-shadow: var(--glow); }
.btn svg{ width: 16px; height: 16px; }
.btn-sm{ padding: 8px 16px; font-size: 12px; }

.burger{
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--white);
  place-items: center;
}

/* =========================================================
   Hero
========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: clip;
  background-image:
    linear-gradient(180deg, rgba(4,6,11,.15) 0%, rgba(4,6,11,.55) 60%, var(--bg) 100%),
    url("../images/bg-hero.webp");
  background-size: cover;
  background-position: center top;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(140,230,255,.35);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(140,230,255,.06);
  margin-bottom: 22px;
}
.eyebrow .dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ opacity: 1; transform: scale(1);} 50%{ opacity:.4; transform: scale(1.4);} }

.hero h1{
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  text-shadow: 0 0 60px rgba(140,205,255,.25);
}
.hero h1 .grad{
  background: linear-gradient(120deg, var(--white), var(--cyan) 55%, var(--ice-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede{
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--dim);
  max-width: 46ch;
  margin: 0 0 34px;
  line-height: 1.6;
}
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.ca-box{
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  background: rgba(10,20,40,.55);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.ca-box .ca-label{
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--dim-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.ca-box code{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Space Grotesk", monospace;
  font-size: 13px;
  color: var(--ice);
}
.copy-btn{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(140,230,255,.12);
  border: 1px solid rgba(140,230,255,.4);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .25s ease, transform .2s ease;
}
.copy-btn:hover{ background: rgba(140,230,255,.22); }
.copy-btn.copied{ background: var(--cyan); color: #04121f; }
.copy-btn svg{ width: 14px; height: 14px; }

.hero-stats{
  display: flex;
  gap: 30px;
  margin-top: 8px;
}
.hero-stats div b{
  display: block;
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--white);
}
.hero-stats div span{
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.hero-art{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.hero-art-inner{
  position: relative;
  width: min(560px, 92%);
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.hero-art-inner img{
  position: relative;
  z-index: 3;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.65));
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform: translateY(0px) translateZ(40px); }
  50%{ transform: translateY(-18px) translateZ(40px); }
}
.ring{
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(140,205,255,.25);
  z-index: 1;
  animation: spin 26s linear infinite;
}
.ring.r2{ inset: -4%; border-color: rgba(140,205,255,.12); animation-duration: 40s; animation-direction: reverse; }
.ring.r3{ inset: 16%; border-style: dashed; border-color: rgba(140,205,255,.18); animation-duration: 60s; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.hero-glow{
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(140,205,255,.35), transparent 62%);
  filter: blur(10px);
}
.orbit-chip{
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6,12,24,.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: var(--ice);
  animation: floatchip 5s ease-in-out infinite;
}
.orbit-chip svg{ width: 14px; height: 14px; color: var(--cyan); }
.orbit-chip.c1{ top: 6%; left: -6%; animation-delay: .2s; }
.orbit-chip.c2{ bottom: 10%; right: -8%; animation-delay: 1.1s; }
.orbit-chip.c3{ top: 46%; right: -12%; animation-delay: .6s; }
@keyframes floatchip{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

.scroll-cue{
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--dim-2);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-cue .mouse{
  width: 22px; height: 34px; border-radius: 12px; border: 1px solid var(--line);
  position: relative;
}
.scroll-cue .mouse i{
  position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 2px;
  background: var(--cyan); transform: translateX(-50%);
  animation: wheel 1.8s ease infinite;
}
@keyframes wheel{ 0%{opacity:1; top:6px;} 70%{opacity:0; top:18px;} 100%{opacity:0; top:6px;} }

/* =========================================================
   Marquee ticker
========================================================= */
.ticker{
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(140,205,255,.05), rgba(140,205,255,.02));
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track{
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.ticker-track span{
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 15px;
  color: var(--ice-2);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.ticker-track span i{ color: var(--cyan); font-style: normal; }
@keyframes marquee{ to{ transform: translateX(-50%); } }

/* =========================================================
   Section shell
========================================================= */
section{ position: relative; z-index: 2; padding: 120px 0; }
#lore, #how-to-buy{
  background-image:
    linear-gradient(180deg, var(--bg) 0%, rgba(4,6,11,.65) 30%, rgba(4,6,11,.65) 70%, var(--bg) 100%),
    url("../images/bg-section.webp");
  background-size: cover;
  background-position: center;
}
#roadmap, .final-cta{
  background-image:
    linear-gradient(180deg, var(--bg) 0%, rgba(4,6,11,.55) 25%, rgba(4,6,11,.55) 75%, var(--bg) 100%),
    url("../images/bg-tall.webp");
  background-size: cover;
  background-position: center;
}
@media (min-width: 981px) and (pointer: fine){
  #lore, #how-to-buy, #roadmap, .final-cta{ background-attachment: fixed; }
}
.section-head{ max-width: 640px; margin: 0 auto 60px; text-align: center; }
.kicker{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.kicker::before, .kicker::after{ content:""; width: 22px; height: 1px; background: var(--cyan); opacity: .6; }
.section-head h2{
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 48px);
  margin: 0 0 14px;
  line-height: 1.1;
}
.section-head p{ color: var(--dim); font-size: 16px; line-height: 1.7; margin: 0; }

/* =========================================================
   Lore
========================================================= */
.lore{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.lore-art{ position: relative; }
.lore-art .frame{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lore-art .frame img{ width: 100%; }
.lore-art .frame::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3,5,9,.9));
}
.lore-art .tag{
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-family: var(--ff-display); font-weight: 700; letter-spacing: .1em;
  font-size: 13px; color: var(--cyan);
  text-transform: uppercase;
}
.lore-text h3{
  font-family: var(--ff-display);
  font-size: clamp(22px,3vw,30px);
  margin: 0 0 14px;
  color: var(--white);
}
.lore-text p{
  color: var(--dim);
  line-height: 1.85;
  margin: 0 0 18px;
  font-size: 15.5px;
}
.lore-text p strong{ color: var(--ice); font-weight: 600; }
.stat-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.stat-card{
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
}
.stat-card b{ display:block; font-family: var(--ff-display); font-size: 20px; color: var(--white); }
.stat-card span{ font-size: 11px; color: var(--dim-2); letter-spacing: .06em; }

/* =========================================================
   How to buy
========================================================= */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card{
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.step-card:hover{ transform: translateY(-8px); border-color: rgba(140,205,255,.4); box-shadow: 0 24px 50px -24px rgba(140,205,255,.35); }
.step-num{
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  color: #04121f;
  background: linear-gradient(135deg, var(--cyan), var(--ice-2));
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  box-shadow: var(--glow);
}
.step-card h4{
  font-family: var(--ff-display);
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--white);
}
.step-card p{ font-size: 13.5px; color: var(--dim); line-height: 1.7; margin: 0 0 16px; }
.step-card a.step-link{
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 6px;
}
.step-card a.step-link svg{ width: 12px; height: 12px; transition: transform .25s ease; }
.step-card a.step-link:hover svg{ transform: translate(3px,-3px); }
.step-card .step-icon{
  position: absolute; top: 24px; right: 24px; width: 22px; height: 22px; color: var(--ice-2); opacity: .8;
}

/* =========================================================
   Chart
========================================================= */
.chart-panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #060a13;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.85);
}
.chart-topbar{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px; flex-wrap: wrap;
}
.chart-topbar .live{
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
.chart-topbar .live b{
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
.chart-frame{ position: relative; width: 100%; aspect-ratio: 16/9; background: #05080f; }
.chart-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-fallback{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 30px;
  color: var(--dim);
}
.chart-fallback svg{ width: 40px; height: 40px; color: var(--cyan); }

/* =========================================================
   Roadmap
========================================================= */
.roadmap{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.roadmap::before{
  content: "";
  position: absolute;
  top: 34px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
  z-index: 0;
}
.phase{
  position: relative;
  z-index: 1;
  padding: 30px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8,14,26,.6);
  backdrop-filter: blur(4px);
}
.phase .ph-dot{
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(140,205,255,.4);
  background: radial-gradient(circle, rgba(140,205,255,.18), transparent 70%);
  font-family: var(--ff-display); font-weight: 700; font-size: 13px; color: var(--cyan);
  margin-bottom: 22px;
  letter-spacing: .05em;
}
.phase h4{ font-family: var(--ff-display); font-size: 19px; margin: 0 0 12px; color: var(--white); }
.phase ul{ display: flex; flex-direction: column; gap: 10px; }
.phase li{
  font-size: 13.5px; color: var(--dim); line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.phase li svg{ width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; color: var(--cyan); }
.phase.active{ border-color: rgba(140,230,255,.5); box-shadow: 0 30px 70px -35px rgba(140,205,255,.5); }
.phase.active .ph-dot{ background: linear-gradient(135deg, var(--cyan), var(--ice-2)); color: #04121f; box-shadow: var(--glow-strong); }

/* =========================================================
   Final CTA / link grid footer
========================================================= */
.final-cta{
  text-align: center;
  padding-bottom: 60px;
}
.final-cta h2{
  font-family: var(--ff-display);
  font-size: clamp(32px, 5.4vw, 60px);
  margin: 0 0 18px;
}
.final-cta p{ color: var(--dim); max-width: 50ch; margin: 0 auto 34px; }
.final-cta .hero-cta{ justify-content: center; }

.link-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 50px;
}
.link-card{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 22px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--dim);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-align: center;
  transition: transform .3s var(--ease), color .3s ease, border-color .3s ease, background .3s ease;
}
.link-card svg{ width: 22px; height: 22px; color: var(--ice-2); transition: color .3s ease, transform .3s ease; }
.link-card:hover{ transform: translateY(-6px); color: var(--white); border-color: var(--cyan); background: rgba(140,230,255,.06); }
.link-card:hover svg{ color: var(--cyan); transform: scale(1.12); }

footer{
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
}
.footer-row{
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand{ display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 700; }
.footer-brand img{ width: 30px; height: 30px; border-radius: 8px; }
.footer-social{ display: flex; gap: 10px; }
.disclaimer{
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim-2);
}

.back-to-top{
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8,14,26,.8);
  border: 1px solid var(--line);
  color: var(--ice);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, border-color .3s ease;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ border-color: var(--cyan); color: var(--cyan); }
.back-to-top svg{ width: 18px; height: 18px; }

/* =========================================================
   Mobile nav drawer
========================================================= */
.mobile-drawer{
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(3,5,9,.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px;
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.mobile-drawer.open{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-drawer a{ font-family: var(--ff-display); font-size: 26px; font-weight: 700; }
.mobile-drawer .close-drawer{
  position: absolute; top: 22px; right: 22px;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--white);
  background: rgba(255,255,255,.04);
}
.mobile-drawer .drawer-social{ display: flex; gap: 14px; margin-top: 10px; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; text-align: center; }
  .hero p.lede{ margin-inline: auto; }
  .hero-cta{ justify-content: center; }
  .ca-box{ margin-inline: auto; }
  .hero-stats{ justify-content: center; }
  .hero-art{ margin-top: 40px; order: -1; }
  .lore{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .roadmap{ grid-template-columns: 1fr; }
  .roadmap::before{ display: none; }
  .link-grid{ grid-template-columns: repeat(3, 1fr); }
  .nav-links{ display: none; }
  .burger{ display: grid; }
  .nav-actions .icon-btn,
  .nav-actions .btn-primary{ display: none; }
}
@media (max-width: 560px){
  .brand small{ display: none; }
  section{ padding: 84px 0; }
  .steps{ grid-template-columns: 1fr; }
  .stat-row{ grid-template-columns: 1fr; }
  .link-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-stats{ gap: 20px; }
  .orbit-chip{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
