/* ──────────────────────────────────────────────────────────────
   Mystic — landing v2
   Motif: one beam of capital through a crystal, refracted into
   isolated markets. Brand purple #8139B8 → orange #FF7B00.
   Performance rule: anything that animates touches only opacity or
   transform. No backdrop-filter, no animated filters or gradients.
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #09070d;
  --bg-2: #0e0b14;
  --bg-3: #141019;
  --text: #f3eff7;
  --text-2: #aaa2b6;
  --text-3: #6f6779;
  --line: rgba(243, 239, 247, 0.08);
  --line-2: rgba(243, 239, 247, 0.14);
  --purple: #8139b8;
  --orange: #ff7b00;
  --up: #8fdcb4;
  --spectrum: linear-gradient(90deg, #7b3ab8, #a54bb0 20%, #d2558f 40%, #f2665f 60%, #ff8a1f 80%, #ffb64d);

  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --display: var(--sans);

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.7, 0.12, 1);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid #c79cf0; outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 15px; height: 15px; flex: none; }
.spark { width: 11px; height: 11px; flex: none; color: var(--orange); }

/* ───────── Buttons & links ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--text); color: #120d18; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 40px -10px rgba(181, 123, 230, 0.55); }
.btn--light:hover { background: #fff; }
.btn--quiet { color: var(--text-2); padding: 0 14px; }
.btn--quiet:hover { color: var(--text); }
.btn .ico, .link .ico { transition: transform 0.3s var(--ease); }
.btn:hover .ico, .link:hover .ico { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--text);
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s;
}
.link:hover { border-color: #c79cf0; }

/* ───────── Nav ───────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s var(--ease), border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(9, 7, 13, 0.94); border-bottom-color: var(--line); }
.nav__in { height: 76px; display: flex; align-items: center; gap: 40px; }
.nav__brand img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 34px; margin: 0 auto; font-size: 14.5px; color: var(--text-2); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color 0.2s; }
.dd__btn:hover, .dd.is-open .dd__btn { color: var(--text); }
.dd__car { width: 10px; height: 6px; transition: transform 0.25s var(--ease); }
.dd.is-open .dd__car { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 18px); left: -14px; min-width: 260px; padding: 8px; display: grid; gap: 2px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; }
.dd__menu::before { content: ""; position: absolute; inset: -19px 0 auto; height: 19px; }
.dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd__menu a { display: grid; gap: 3px; padding: 11px 14px; border-radius: 9px; transition: background-color 0.2s; }
.dd__menu a:hover, .dd__menu a:focus-visible { background: var(--bg-3); }
.dd__menu b { font-size: 15px; font-weight: 600; color: var(--text); }
.dd__menu span { font-size: 13px; color: var(--text-3); }

/* ───────── Hero ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  padding: clamp(66px, 9vh, 76px) 0 clamp(14px, 2vh, 32px);
  background:
    radial-gradient(50% 40% at 50% 22%, rgba(129, 57, 184, 0.16), transparent 70%),
    radial-gradient(40% 30% at 85% 30%, rgba(255, 123, 0, 0.05), transparent 70%),
    var(--bg);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; will-change: opacity; }
.stars--a { opacity: 0.55; }
.stars--b { animation: twinkle 5.5s ease-in-out infinite alternate; }

.art { --h: clamp(130px, min(27vh, 24vw), 340px); position: relative; flex: none; height: var(--h); margin: 0 auto; width: 100%; }
/* Fixed-aspect stage, sized like "cover": SVG and HTML layers share one
   coordinate space (viewBox 1440 × 340 → percentages of the stage). */
.art__stage {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--h) * 1.3 * 1440 / 340); aspect-ratio: 1440 / 340;
  transform: translate(-50%, -50%);
}
/* Halo lives outside the SVG so it is never clipped by the art band. */
.art::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--h) * 2.4); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(129, 57, 184, 0.34), rgba(129, 57, 184, 0.1) 45%, transparent);
  pointer-events: none;
  will-change: transform, opacity;
  animation: halo 9s ease-in-out infinite;
}
.art__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* ── Motion. Every animated property below is transform or opacity. ── */

/* Cursor steering: JS sets --tin / --tout (degrees). The beam pivots on its
   entry point; the spectrum pivots on its exit point, against the beam. */
.tilt { position: absolute; inset: 0; will-change: transform; }
.tilt--in { transform-origin: 45.97% 50%; transform: rotate(calc(var(--tin, 0) * 1deg)); }
.tilt--out { transform-origin: 53.89% 50%; transform: rotate(calc(var(--tout, 0) * 1deg)); }
.sway { position: absolute; inset: 0; transform-origin: 53.89% 50%; will-change: transform; animation: sway 11s ease-in-out infinite; }

.art__shimmer { opacity: 0.3; will-change: opacity; animation: shimmer 7s ease-in-out infinite; }

/* Dust in the light: each mote is a rotated track (along a ray) carrying a
   runner that crosses it while the dot fades in and out. Built in main.js. */
.motes { position: absolute; inset: 0; }
.mote { position: absolute; height: 0; transform-origin: 0 0; }
.mote b { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; animation: run var(--dur) linear var(--delay) infinite; }
.mote i {
  position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; background: var(--c); box-shadow: 0 0 calc(var(--s) * 3) var(--c);
  opacity: 0; will-change: opacity; animation: glimmer var(--dur) ease-in-out var(--delay) infinite;
}

/* Lens flare through the crystal centre. */
.flare { position: absolute; left: 50%; top: 50%; pointer-events: none; will-change: transform, opacity; }
.flare--h {
  width: 62%; height: 2px; margin: -1px 0 0 -31%;
  background: linear-gradient(90deg, transparent, rgba(181, 123, 230, 0.35) 30%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 170, 90, 0.35) 70%, transparent);
  animation: flareH 9s ease-in-out infinite;
}
.flare--v {
  width: 1.5px; height: 120%; margin: -60% 0 0 -0.75px; top: 50%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 50%, transparent);
  animation: flareV 9s ease-in-out infinite;
}

/* A band of light sweeping across the facets, clipped to the logo sparkle. */
.sheen {
  position: absolute; left: 45.56%; top: 26.47%; width: 8.89%; height: 47.06%; overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-80 -100 160 200'%3E%3Cpath d='M0 -100Q16 -20 80 0Q16 20 0 100Q-16 20 -80 0Q-16 -20 0 -100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-80 -100 160 200'%3E%3Cpath d='M0 -100Q16 -20 80 0Q16 20 0 100Q-16 20 -80 0Q-16 -20 0 -100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sheen i {
  position: absolute; top: -20%; left: 0; width: 70%; height: 140%;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.7) 50%, transparent 75%);
  transform: translateX(-120%); will-change: transform;
  animation: sheen 6s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}
.art__glint { opacity: 0; will-change: opacity; animation: glint 6s ease-out infinite; }

@keyframes sway { 0%, 100% { transform: rotate(-1.1deg) scaleY(0.97); } 50% { transform: rotate(1.1deg) scaleY(1.03); } }
@keyframes shimmer { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes glimmer { 0% { opacity: 0; } 18% { opacity: var(--o); } 60% { opacity: calc(var(--o) * 0.7); } 100% { opacity: 0; } }
@keyframes flareH { 0%, 100% { transform: scaleX(0.75); opacity: 0.35; } 50% { transform: scaleX(1.05); opacity: 0.8; } }
@keyframes flareV { 0%, 100% { transform: scaleY(0.6); opacity: 0.25; } 50% { transform: scaleY(1); opacity: 0.6; } }
@keyframes sheen { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(170%); } }
@keyframes glint { 0%, 66% { opacity: 0; } 74% { opacity: 0.7; } 92%, 100% { opacity: 0; } }
@keyframes halo {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.07); opacity: 1; }
}

/* Nothing in the hero animates while it is off screen. */
.hero.is-off .art *, .hero.is-off .art::before, .hero.is-off .stars--b { animation-play-state: paused; }

@keyframes twinkle { from { opacity: 0.15; } to { opacity: 0.9; } }
@keyframes breathe { to { opacity: 1; } }

.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; margin-top: clamp(4px, 1vw, 16px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); padding: 7px 14px 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: color 0.25s, box-shadow 0.25s; margin-bottom: clamp(10px, 2vh, 18px); }
.hero__title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(34px, min(5.2vw, 7.6vh), 82px); line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__kicker:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(199, 156, 240, 0.45); }
.hero__kicker .ico { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.hero__kicker:hover .ico { transform: translateX(3px); }
.nb { white-space: nowrap; }
.hero__lede { max-width: 520px; margin-top: clamp(12px, 2.2vh, 22px); font-size: 17px; line-height: 1.6; color: var(--text-2); font-weight: 300; }
.hero__cta { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: clamp(18px, 3.2vh, 30px); }

/* ───────── Hero numbers ───────── */
.stats { margin-top: auto; padding-top: clamp(16px, 3vh, 44px); }
.stats__row {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; max-width: 900px; margin-inline: auto;
  border-top: 1px solid var(--line);
}
.stats__row::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 40%; height: 1px; transform: translateX(-50%);
  background: var(--spectrum); opacity: 0.8; mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.stats__row > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(14px, 2.2vh, 22px) 24px 0; text-align: center; }
.stats__row > div + div { border-left: 1px solid var(--line); }
.stats__row dt { font-size: 13px; color: var(--text-2); }
.stat__v { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(26px, min(2.8vw, 4.6vh), 44px); line-height: 1; letter-spacing: -0.01em; }

/* ───────── Section scaffolding ───────── */
.sec { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.sec--deep { background: linear-gradient(180deg, var(--bg), var(--bg-2) 22%, var(--bg-2) 70%, var(--bg)); }
.head { margin-bottom: clamp(44px, 5vw, 72px); }
.head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: #c79cf0;
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--spectrum); }
.h2 { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.032em; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text-2); font-weight: 300; max-width: 480px; }

/* ───────── Tabs + showcase ───────── */
.tabs {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; border-radius: 999px; background: var(--bg-3); box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 28px;
}
.tabs button {
  position: relative; z-index: 1; height: 42px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-2); transition: color 0.25s;
}
.tabs button[aria-selected="true"] { color: #120d18; }
.tabs button:hover:not([aria-selected="true"]) { color: var(--text); }
.tabs__ink {
  position: absolute; z-index: 0; top: 5px; left: 5px; height: 42px; width: var(--w, 100px);
  border-radius: 999px; background: var(--text);
  transform: translateX(var(--x, 0)); transition: transform 0.45s var(--ease), width 0.45s var(--ease);
  will-change: transform;
}

.show {
  position: relative; border-radius: 28px; padding: clamp(24px, 4vw, 56px);
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(129, 57, 184, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px var(--line);
}
.pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pane[hidden] { display: none; }
.pane.is-on .pane__copy, .pane.is-on .win { animation: paneIn 0.6s var(--ease) both; }
.pane.is-on .win { animation-delay: 0.05s; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pane__copy p { margin-top: 20px; color: var(--text-2); font-weight: 300; font-size: 17px; max-width: 460px; }
.ticks { margin: 28px 0 34px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.ticks li::before { content: ""; width: 16px; height: 1px; background: var(--spectrum); flex: none; }

/* Product window */
.win {
  position: relative; border-radius: var(--r); padding: 22px;
  background: linear-gradient(180deg, #19141f, #120e17);
  box-shadow: 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 30px 120px -40px rgba(129, 57, 184, 0.45);
}
.win__head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.win__head b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.win__head span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.tag { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-3); padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2); }
.win__fine { margin-top: 14px; font-size: 12px; color: var(--text-3); }

.kv { display: grid; gap: 1px; margin: 14px 0; }
.kv--3 { grid-template-columns: repeat(3, 1fr); }
.kv--2 { grid-template-columns: repeat(2, 1fr); }
.kv > div { padding: 12px 0; }
.kv span { display: block; font-size: 12.5px; color: var(--text-3); }
.kv b { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kv b.big { font-family: var(--display); font-weight: 300; font-size: 32px; line-height: 1.05; letter-spacing: -0.03em; }
.kv--grid { background: var(--line); border-radius: 12px; overflow: hidden; }
.kv--grid > div { background: #151119; padding: 14px 16px; }
.up { color: var(--up); }

.field {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px;
  padding: 14px 16px; margin: 10px 0; border-radius: 12px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line);
}
.field span { font-size: 12.5px; color: var(--text-3); }
.field b { grid-row: 2; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.field b small { font-size: 13px; color: var(--text-2); font-weight: 500; margin-left: 4px; }
.field em { grid-row: 2; grid-column: 2; align-self: center; font-style: normal; font-size: 13px; color: var(--text-2); }

.alloc { margin: 4px 0 8px; }
.alloc__bar { display: flex; gap: 3px; height: 8px; }
.alloc__bar i { width: var(--w); background: var(--c); border-radius: 2px; }
.alloc__list { margin-top: 14px; display: grid; gap: 2px; }
.alloc__list li { display: grid; grid-template-columns: 10px 1fr 48px 48px; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.alloc__list li i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.alloc__list span { text-align: right; font-variant-numeric: tabular-nums; }
.alloc__list b { text-align: right; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

.meter { margin: 16px 0 6px; }
.meter__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-3); }
.meter__row b, .meter__row output { font-size: 18px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.meter__bar { position: relative; height: 6px; margin: 12px 0 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.meter__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: var(--spectrum); transition: width 0.35s var(--ease); }
.meter__bar u { position: absolute; top: -4px; bottom: -4px; left: var(--x); width: 2px; background: var(--text); border-radius: 2px; }
.meter__legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }


.exits { display: grid; gap: 8px; margin: 14px 0 4px; }
.exits li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line);
}
.exits b { font-size: 14.5px; font-weight: 500; }
.exits span { grid-row: 2; font-size: 12.5px; color: var(--text-3); }
.exits em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.kv b.big + b, .kv b { overflow-wrap: anywhere; }

.route { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 18px 0 6px; padding: 22px 0; }
.route svg { width: 100%; height: 70px; }
.route path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.route__end { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.route__a, .route__b { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--text-2); }
.route__a { top: 0; }
.route__b { bottom: 0; }

/* ───────── Refraction diagram ───────── */
.refract { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center; }
.refract__art { width: 100%; height: 400px; }
.refract__lbl { font-family: var(--sans); font-size: 13px; fill: var(--text-2); }
.mkts { display: grid; gap: 20px; }
.mkts li {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  height: 80px; padding: 0 22px; border-radius: 14px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%), var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mkts li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--c); }
.mkts b { font-weight: 600; font-size: 15.5px; }
.mkts span { grid-row: 2; font-size: 13px; color: var(--text-3); }
.mkts em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(64px, 8vw, 110px); }
.pillar { padding: 32px 30px 34px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.numeral { display: block; font-family: var(--display); font-weight: 300; font-size: 20px; color: #c79cf0; margin-bottom: 44px; }
.pillar h3 { font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.pillar p { font-size: 15px; color: var(--text-2); font-weight: 300; }

/* ───────── Liquid staking ───────── */
.lst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.lst__copy .lead { margin-top: 24px; }
.lst__points { display: grid; margin: 34px 0 36px; border-top: 1px solid var(--line); }
.lst__points li { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lst__points b { font-weight: 500; font-size: 15.5px; }
.lst__points span { font-size: 15px; color: var(--text-2); font-weight: 300; }

/* The token: a static face inside a conic ring that turns (transform only). */
.coin { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; }
.coin__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #7b3ab8, #d2558f, #ff8a1f, #ffd79a, #a54bb0, #7b3ab8);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: 0.8; will-change: transform; animation: spin 24s linear infinite;
}
.coin::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(129, 57, 184, 0.35), transparent);
}
.coin__face {
  position: absolute; inset: 9%; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(120% 120% at 30% 20%, #1d1626, #0e0b14 70%);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 120px -40px rgba(129, 57, 184, 0.6);
}
.coin__token { width: 40%; height: auto; margin-bottom: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 138, 31, 0.3), 0 24px 70px -12px rgba(255, 123, 0, 0.45); }
.coin__face b { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.coin__face span { font-size: 13.5px; color: var(--text-3); }
.coin__chip {
  position: absolute; font-size: 12.5px; color: var(--text-2); padding: 7px 13px; border-radius: 999px;
  background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2);
}
.coin__chip--a { left: -2%; top: 22%; }
.coin__chip--b { right: -4%; top: 46%; }
.coin__chip--c { left: 8%; bottom: 10%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────── Canton ───────── */
.cfeat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cfeat article { padding: 28px 26px 30px; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.cfeat h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.cfeat p { font-size: 14.5px; color: var(--text-2); font-weight: 300; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.steps li { position: relative; padding: 22px 16px 0 0; border-top: 1px solid var(--line-2); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--text-3);
}
.steps li.is-done { border-top-color: rgba(143, 220, 180, 0.5); }
.steps li.is-done::before { background: var(--up); box-shadow: none; }
.steps li.is-next::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.18); }
.steps b { display: block; font-size: 15px; font-weight: 500; }
.steps span { font-size: 13px; color: var(--text-3); }
.steps .is-done span { color: var(--up); }
.steps .is-next span { color: #ffb46b; }

/* ───────── Networks ───────── */
.head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.chains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chain {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3.4vw, 40px); border-radius: 22px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
}
.chain--next {
  background: radial-gradient(80% 90% at 100% 0%, rgba(255, 123, 0, 0.1), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(129, 57, 184, 0.16), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px rgba(255, 170, 90, 0.28);
}
.chain__k { font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.chain--next .chain__k { color: #ffb46b; }
.chain__t { margin-top: 14px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -0.025em; }
.chain__d { margin-top: 10px; font-size: 15.5px; font-weight: 300; color: var(--text-2); max-width: 460px; }
.chain__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chain__tags li { font-size: 12.5px; color: var(--text-2); padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.chain__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 32px; }
.chain__st {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #ffb46b;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 123, 0, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 170, 90, 0.3);
}
.chain__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.chain__st--live { color: var(--up); background: rgba(143, 220, 180, 0.07); box-shadow: inset 0 0 0 1px rgba(143, 220, 180, 0.28); }
.chain__st--live::before { background: currentColor; box-shadow: none; }
.ico--down { transform: rotate(90deg); }
.link:hover .ico--down { transform: rotate(90deg) translateX(3px); }

/* ───────── Monitoring ───────── */
.mon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.mon__copy .lead { margin: 26px 0 36px; }
.feed { display: grid; gap: 12px; }
.note {
  padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(180deg, #1a1520, #141019);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 14.5px; color: var(--text-2);
}
.note b { color: var(--text); font-weight: 600; }
.note__top { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; color: var(--text-3); }
.note__src { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.note--warn { box-shadow: inset 0 0 0 1px rgba(255, 138, 31, 0.35), 0 24px 60px -24px rgba(255, 123, 0, 0.35); }
.note:nth-child(2) { transform: scale(0.97); opacity: 0.7; }
.note:nth-child(3) { transform: scale(0.94); opacity: 0.4; }

/* ───────── Octarine ───────── */
.octa { padding: clamp(100px, 12vw, 160px) 0; background: radial-gradient(60% 70% at 50% 100%, rgba(129, 57, 184, 0.18), transparent 70%), var(--bg); }
.octa__card {
  position: relative; display: block; padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(13, 96, 73, 0.22), transparent 60%), linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.octa__card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(111, 227, 193, 0.35), 0 30px 80px -40px rgba(13, 96, 73, 0.6); }
.octa__card:hover .link { border-color: #6fe3c1; }
.octa__card:hover .link .ico { transform: translateX(3px); }
.octa__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.octa__logo { height: clamp(36px, 4vw, 52px); width: auto; }
.octa__band { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; height: 5px; width: min(280px, 100%); }
.octa__band i { border-radius: 6px; background: var(--c); }
.octa__eighth { position: relative; background: linear-gradient(90deg, #6fe3c1, #c79cf0) !important; overflow: hidden; }
.octa__eighth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #c79cf0, #e7ff8a); will-change: opacity; animation: breathe 3.5s ease-in-out infinite alternate; opacity: 0; }
.octa__q {
  max-width: 1000px; font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 3.8vw, 54px); line-height: 1.14; letter-spacing: -0.03em; text-wrap: balance;
}
.octa__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 44px; }
.octa__foot p { max-width: 520px; color: var(--text-2); font-weight: 300; font-size: 16px; }

/* ───────── Trusted by (marquee) ───────── */
.trust { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust__k { text-align: center; font-size: 13px; color: var(--text-3); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 76s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.marquee__set img { height: clamp(22px, 2.2vw, 30px); width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.3s; }
.marquee__set img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Close ───────── */
.close { padding: clamp(110px, 13vw, 180px) 0; text-align: center; border-top: 1px solid var(--line); }
.close__in { display: flex; flex-direction: column; align-items: center; }
.close__gem { width: 48px; height: 60px; margin-bottom: 40px; filter: drop-shadow(0 0 26px rgba(255, 138, 31, 0.35)) drop-shadow(0 0 18px rgba(181, 123, 230, 0.45)); }
.close__t { font-family: var(--display); font-weight: 300; font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.close__s { margin-top: 26px; color: var(--text-2); font-size: 18px; font-weight: 300; }

/* ───────── Footer ───────── */
.foot { padding: 72px 0 36px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand img { height: 26px; width: auto; }
.foot__brand p { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-2); }
.foot__col span { font-size: 13px; color: var(--text-3); margin-bottom: 4px; }
.foot__col a:hover { color: var(--text); }
.foot__base { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* ───────── Reveal ───────── */
.rise { animation: rise 1s var(--ease) both; }
.hero__copy .rise:nth-child(2) { animation-delay: 0.08s; }
.hero__copy .rise:nth-child(3) { animation-delay: 0.16s; }
.hero__copy .rise:nth-child(4) { animation-delay: 0.24s; }
.stats.rise { animation-delay: 0.32s; }
.art { animation: fade 1.6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rise, .art, .art::before, .art *, .stars--b, .marquee__track, .coin__ring, .octa__eighth::after { animation: none; }
  .art__shimmer { opacity: 0.6; }
  .motes, .sheen { display: none; }
  .pane.is-on .pane__copy, .pane.is-on .win { animation: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1060px) {
  .nav__links { gap: 24px; }
  .head--split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pane { grid-template-columns: minmax(0, 1fr); }
  .refract { grid-template-columns: minmax(0, 1fr); }
  .refract__art { display: none; }
  .mkts { grid-template-columns: 1fr 1fr; }
  .lst { grid-template-columns: minmax(0, 1fr); }
  .cfeat { grid-template-columns: repeat(2, 1fr); }
  .mon { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__in { justify-content: space-between; height: 64px; }
  .hero { padding-top: 72px; min-height: 0; }
  .stats { margin-top: 0; padding-top: 40px; }
  .sec { padding: 64px 0; }
  .head { margin-bottom: 32px; }
  .kicker { margin-bottom: 14px; }
  .trust { padding: 28px 0; }
  .trust__k { margin-bottom: 18px; }
  .octa { padding: 64px 0; }
  .octa__card { border-radius: 22px; }
  .octa__top { margin-bottom: 28px; }
  .octa__foot { margin-top: 28px; gap: 20px; }
  .close { padding: 80px 0; }
  .close__gem { margin-bottom: 28px; }
  .close__s { margin: 18px 0 0; font-size: 16px; }
  .foot { padding: 48px 0 28px; }
  .foot__base { margin-top: 40px; }
  .pillars { margin-top: 40px; gap: 12px; }
  .pillar { padding: 24px 22px; }
  .numeral { margin-bottom: 16px; }
  .cfeat { gap: 12px; }
  .cfeat article { padding: 22px; }
  .steps { margin-top: 32px; }
  .mkts { gap: 12px; }
  .lst__points { margin: 24px 0 28px; }
  .coin { width: min(84%, 320px); margin-top: 8px; }
  .chain { padding: 24px 22px; }
  .chain__foot { padding-top: 24px; }
  .ticks { margin: 20px 0 24px; }
  .pane { gap: 28px; }
  .mon__copy .lead { margin: 18px 0 26px; }
  .hero__lede { font-size: 16px; }
  .stats__row > div { padding: 14px 6px 0; }
  .stats__row dt { font-size: 12px; }
  .tabs { display: grid; width: 100%; }
  .tabs button { padding: 0 8px; font-size: 14px; }
  .show { border-radius: 22px; padding: 20px 16px; }
  .win { padding: 16px; }
  .kv--3 { grid-template-columns: 1fr 1fr; }
  .kv--3 > div:first-child { grid-column: 1 / -1; }
  .mkts { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .numeral { margin-bottom: 20px; }
  .cfeat { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .lst__points li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .coin__chip { display: none; }
  .chains { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; gap: 8px; }
}
