/* ────────────────────────────────────────────────
   Xentra — Apple-style dark emerald, glassy & animated
   ──────────────────────────────────────────────── */
:root {
  --bg: #030705;
  --bg-alt: #050b08;
  --ink: #f5f7f6;
  --ink-2: #a3aca7;
  --ink-3: #6f7873;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --accent: #2dd47c;
  --accent-2: #6ee7a8;
  --grad: linear-gradient(135deg, #047857 0%, #10b981 45%, #2dd4bf 100%);
  --grad-text: linear-gradient(120deg, #86efac 0%, #34d399 40%, #5eead4 80%, #86efac 100%);
  --green: #30d158;
  --red: #ff453a;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-lift: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.025) 40%, transparent 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "New York", ui-serif, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font);
  background: transparent; /* the fixed .bg layer paints the page background */
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: rgba(45, 212, 124, 0.35); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* ───────── Ambient background ───────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, 0.16), transparent 65%),
    var(--bg);
}
/* slow-panning grid, faded toward the edges */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 231, 168, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 168, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, black 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, black 0%, transparent 78%);
  animation: grid-pan 46s linear infinite;
  pointer-events: none;
}
@keyframes grid-pan {
  to { background-position: 54px 54px; }
}
/* film grain on top of everything in the background stack */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}
#bgParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* soft glow that trails the cursor */
#bgSpot {
  position: absolute;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.09) 0%, rgba(94, 234, 212, 0.04) 40%, transparent 70%);
  will-change: transform;
  pointer-events: none;
}
/* occasional shooting-star streaks */
.shoot {
  position: absolute;
  width: 190px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(134, 239, 172, 0.85) 55%, transparent 100%);
  border-radius: 2px;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(110, 231, 168, 0.6));
  pointer-events: none;
}
.shoot-1 { top: 14%; left: 68%; animation: shoot 9s linear 2s infinite; }
.shoot-2 { top: 42%; left: 18%; animation: shoot 12s linear 6.5s infinite; }
.shoot-3 { top: 68%; left: 58%; animation: shoot 14s linear 10s infinite; }
@keyframes shoot {
  0%, 91% { opacity: 0; transform: rotate(-32deg) translateX(0); }
  93% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-32deg) translateX(-360px); }
}
.orbs {
  position: absolute;
  inset: 0;
  will-change: transform; /* parallax offset applied by bg.js */
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.75;
  will-change: transform;
}
.orb-1 {
  width: 640px; height: 640px;
  top: -18%; right: -8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.32) 0%, transparent 68%);
  animation: drift-1 44s ease-in-out infinite alternate;
}
.orb-2 {
  width: 560px; height: 560px;
  top: 32%; left: -14%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, transparent 68%);
  animation: drift-2 56s ease-in-out infinite alternate;
}
.orb-3 {
  width: 520px; height: 520px;
  bottom: -16%; right: 12%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22) 0%, transparent 68%);
  animation: drift-3 50s ease-in-out infinite alternate;
}
@keyframes drift-1 { to { transform: translate(-120px, 140px) scale(1.12); } }
@keyframes drift-2 { to { transform: translate(160px, -110px) scale(1.08); } }
@keyframes drift-3 { to { transform: translate(-140px, -120px) scale(1.15); } }
/* organic drifting smoke (SVG fractal noise tinted emerald) */
.smoke {
  position: absolute;
  inset: -22%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0028 0.0046' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.52  0 0 0 0 0.40  0 0 0 0.75 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.16;
  filter: blur(22px) saturate(130%);
  will-change: transform;
  pointer-events: none;
}
.smoke-1 { animation: smoke-1 70s ease-in-out infinite alternate; }
.smoke-2 {
  opacity: 0.1;
  transform: scaleX(-1);
  animation: smoke-2 95s ease-in-out infinite alternate;
}
@keyframes smoke-1 {
  to { transform: translate(-3.5%, -2.5%) scale(1.09) rotate(1.5deg); }
}
@keyframes smoke-2 {
  from { transform: scaleX(-1); }
  to { transform: scaleX(-1) translate(3.5%, 2.5%) scale(1.1); }
}

/* ───────── Animated gradient text ───────── */
.grad, .feature .num {
  background: var(--grad-text);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-move 8s ease-in-out infinite;
}
@keyframes grad-move {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ───────── Nav (floating island) ───────── */
.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 16px 0;
  background: transparent;
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
  padding: 0 12px 0 20px;
  background: rgba(7, 13, 10, 0.6);
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  backdrop-filter: saturate(170%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 980px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
.nav-shell.scrolled .nav { background: rgba(7, 13, 10, 0.85); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 7px rgba(46, 224, 138, 0.55));
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 14px;
}
.nav-ticker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.up { color: var(--green); }
.down { color: var(--red); }
.x-link {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.x-link:hover {
  color: var(--ink);
  border-color: rgba(110, 231, 168, 0.4);
  background: rgba(16, 185, 129, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

/* ───────── Buttons (glossy + sheen sweep) ───────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  padding: 13px 26px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s, opacity 0.2s;
  cursor: pointer;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #04150c;
  background: #46e2a4;
  box-shadow: 0 6px 24px rgba(18, 183, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  background: #5cf0b4;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(18, 183, 106, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-dim {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-dim:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.btn-ghost { color: var(--accent); padding: 13px 10px; overflow: visible; }
.btn-ghost::after { display: none; }
.btn-ghost:hover { text-decoration: underline; }
.btn-small { font-size: 13px; padding: 7px 16px; }
.btn-dark {
  color: #04150c;
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-dark:hover {
  background: #eafff3;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}
.btn-light {
  color: #04150c;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -30%; right: -15%;
  width: 900px; height: 900px;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.17) 0%, rgba(45, 212, 191, 0.09) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 30px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18);
  animation: pulse 2s infinite;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.015em;
}
h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}
.lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 24px 0 34px;
  max-width: 46ch;
  letter-spacing: -0.01em;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-badges li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-badges li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ───────── Glass chain card (floats) ───────── */
.glass-card {
  position: relative;
  background: rgba(14, 24, 19, 0.5);
  -webkit-backdrop-filter: saturate(160%) blur(32px);
  backdrop-filter: saturate(160%) blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gloss);
  pointer-events: none;
}
.chain-card { animation: float 7s ease-in-out infinite alternate; }
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
/* mouse-follow glare on the tilting hero card (vars set on .hero-card-wrap) */
.hero-card-wrap { transform-style: preserve-3d; }
.chain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 35%), rgba(134, 239, 172, 0.14), transparent 65%);
  opacity: var(--glare, 0);
  transition: opacity 0.35s;
  pointer-events: none;
}
.chain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 14px;
}
.chain-head .sym { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.chain-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.chain-head .px { text-align: right; font-family: var(--mono); }
.chain-head .px strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.chain-head .px span { display: block; font-size: 12px; font-weight: 600; margin-top: 2px; }

.chain-table { width: 100%; border-collapse: collapse; }
.chain-table th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 10px 24px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.chain-table th:first-child, .chain-table td:first-child { text-align: left; }
.chain-table th:last-child, .chain-table td:last-child { text-align: right; }
.chain-table th:nth-child(2), .chain-table td:nth-child(2) { text-align: center; }
.chain-table td {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  padding: 11px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}
.chain-table tr:hover td { background: rgba(45, 212, 124, 0.08); }
.chain-table tr.atm td { background: rgba(45, 212, 124, 0.09); }
.chain-table tr.atm .strike { color: var(--accent-2); font-weight: 700; }
.chain-table .strike { font-weight: 600; color: var(--ink-2); }
.chain-table .call { color: var(--green); font-weight: 500; }
.chain-table .put { color: var(--red); font-weight: 500; }
.chain-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.chain-foot .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chain-foot .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(48, 209, 88, 0); }
}
.chain-foot a { position: relative; color: var(--accent); font-weight: 500; }
.chain-foot a:hover { text-decoration: underline; }

/* ───────── Scrolling ticker band ───────── */
.ticker-band {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 44px;
  white-space: nowrap;
  padding-right: 44px;
  will-change: transform;
  animation: marquee 60s linear infinite;
}
.ticker-band:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.tick { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tick b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.tick i { font-style: normal; font-weight: 600; margin-left: 6px; }
.tick i.up { color: var(--green); }
.tick i.down { color: var(--red); }

/* ───────── Stats band ───────── */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.stats-grid .stat + .stat { border-left: 1px solid var(--line); }

/* ───────── Sections ───────── */
.section-pad { padding: 120px 0; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.section-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 18px;
  letter-spacing: -0.01em;
}

/* ───────── Tiles (How it works) ───────── */
.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative;
  background: var(--card);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, background 0.35s, border-color 0.35s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gloss);
  pointer-events: none;
}
.tile:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
  border-color: rgba(110, 231, 168, 0.25);
  box-shadow: var(--shadow-lift);
}
.tile-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--grad);
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile:hover .tile-icon { transform: scale(1.08) rotate(-4deg); }
.tile h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.tile p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.ticks li::before {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* ───────── Features panel (Why on-chain) ───────── */
.section-pad.dark {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(16, 185, 129, 0.13), transparent 70%),
    #071009;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 40px;
  margin: 0 16px;
  overflow: hidden;
}
.section-pad.dark .kicker { color: var(--accent-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, background 0.35s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 168, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}
.feature .num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.feature h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.feature p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* ───────── Markets ───────── */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.market-card {
  position: relative;
  background: var(--card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  display: block;
}
.market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gloss);
  pointer-events: none;
}
.market-card:hover {
  transform: translateY(-4px) scale(1.015);
  background: var(--card-hover);
  border-color: rgba(110, 231, 168, 0.3);
  box-shadow: var(--shadow-lift);
}
.market-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.market-top .sym { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.market-top .chg { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.market-name {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-price {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 14px;
}
.market-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.market-foot .trade {
  color: var(--accent);
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.market-card:hover .trade { opacity: 1; transform: translateX(0); }

/* ───────── CTA band (animated gradient) ───────── */
.cta-band {
  margin: 40px 16px 0;
  border-radius: 40px;
  background: linear-gradient(120deg, #047857, #10b981, #0d9488, #047857);
  background-size: 260% 260%;
  animation: cta-shift 14s ease-in-out infinite;
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(16, 185, 129, 0.22);
}
@keyframes cta-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p {
  font-size: 19px;
  margin: 18px auto 36px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.85);
}

/* ───────── FAQ ───────── */
.faq-list { margin-top: 48px; display: grid; gap: 12px; }
.faq-item {
  position: relative;
  background: var(--card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gloss);
  pointer-events: none;
}
.faq-item.open, .faq-item:hover {
  background: var(--card-hover);
  border-color: rgba(110, 231, 168, 0.25);
}
.faq-q {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-a p {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ───────── Footer ───────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 64px 0 40px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 12px 0 16px;
}
.token-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #04150c;
  background: #fff;
  border-radius: 980px;
  padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 90ch;
}
.legal p + p { margin-top: 12px; }

/* ───────── Cursor spotlight on cards ───────── */
.tile::after, .market-card::after, .faq-item::after, .feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 231, 168, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.tile:hover::after, .market-card:hover::after, .faq-item:hover::after, .feature:hover::after {
  opacity: 1;
}
.feature { position: relative; overflow: hidden; }

/* ───────── Live price flash ───────── */
@keyframes flash-up {
  0% { color: #b7ffd9; text-shadow: 0 0 14px rgba(48, 209, 88, 0.9); }
  100% { color: inherit; text-shadow: none; }
}
@keyframes flash-down {
  0% { color: #ffb4ae; text-shadow: 0 0 14px rgba(255, 69, 58, 0.9); }
  100% { color: inherit; text-shadow: none; }
}
.flash-up { animation: flash-up 1.4s ease-out; }
.flash-down { animation: flash-down 1.4s ease-out; }

/* ───────── Reveal animation ───────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .chain-card, .cta-band, .ticker-track, .grad, .feature .num, .bg::before, .shoot, .smoke { animation: none; }
  .btn::after { display: none; }
  .shoot, #bgSpot, #bgParticles { display: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .card-grid.three { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stats-grid .stat + .stat { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .nav-ticker { display: none; }
  .section-pad { padding: 80px 0; }
  .section-pad.dark, .cta-band { margin-left: 8px; margin-right: 8px; border-radius: 28px; }
  .orb { filter: blur(70px); }
}
