/* ──────────────────────────────────────────────────────────────
   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);

  --serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --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; }
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;
}
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); }

/* ───────── Hero ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 84px 0 clamp(64px, 8vw, 104px);
  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(200px, 21vw, 420px); position: relative; height: var(--h); margin: 0 auto; }
/* 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: max(100%, calc(var(--h) * 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: min(760px, 120vw); 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); margin-bottom: 20px; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.018em;
  text-wrap: balance;
}
.nb { white-space: nowrap; }
.hero__lede { max-width: 560px; margin-top: 24px; font-size: 18px; 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: 32px; }

/* ───────── Proof (live numbers) ───────── */
.proof { position: relative; padding: 0 0 clamp(24px, 3vw, 40px); }
.proof__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r);
  background: 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);
}
.proof__grid::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: var(--spectrum); opacity: 0.8;
}
.proof__item { display: flex; flex-direction: column; gap: 8px; padding: 34px 32px 30px; }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.proof__v { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.proof__k { font-size: 14px; color: var(--text-2); }
.proof__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--up); position: relative; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--up); will-change: transform, opacity; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }

/* ───────── 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(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.01em; }
.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(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: 0; }
.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__bar--hf i { background: linear-gradient(90deg, #f2665f, #ffb64d 40%, var(--up) 85%); }
.meter__legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }

.lev { margin: 14px 0 10px; }
.lev__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.lev__row output { font-family: var(--serif); font-size: 34px; color: var(--text); line-height: 1; }
.lev__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 4px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; --p: 28.57%; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #a54bb0, #ff8a1f) 0 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, 0.08);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #a54bb0, #ff8a1f); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%;
  background: var(--text); box-shadow: 0 0 0 4px rgba(243, 239, 247, 0.12), 0 4px 12px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px rgba(243, 239, 247, 0.12); }

.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(--serif); font-size: 22px; color: #c79cf0; margin-bottom: 44px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; margin-bottom: 12px; }
.pillar p { font-size: 15px; color: var(--text-2); font-weight: 300; }

/* ───────── Networks ───────── */
.nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.net {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 250px; padding: 26px; border-radius: var(--r);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease);
}
.net::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--spectrum);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.net::after {
  content: ""; position: absolute; inset: -40% -20% auto; height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(129, 57, 184, 0.22), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none;
}
.net:hover { transform: translateY(-4px); }
.net--live:hover::before, .net--live:hover::after { opacity: 1; }
.net__st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.net__st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; }
.net--live .net__st { color: var(--up); }
.net--live .net__st::before { background: currentColor; }
.net h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.01em; }
.net p { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.net__p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.net__p li { font-size: 12px; color: var(--text-2); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.net:not(.net--live) h3 { color: var(--text-2); }

.callout {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 20px; padding: 26px 30px; border-radius: var(--r);
  background: linear-gradient(90deg, rgba(129, 57, 184, 0.14), rgba(255, 123, 0, 0.06)), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.3s;
}
.callout span { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }
.callout b { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.callout:hover { box-shadow: inset 0 0 0 1px rgba(199, 156, 240, 0.4); }
.callout:hover .ico { transform: translateX(3px); }
.callout .ico { transition: transform 0.3s var(--ease); }

/* ───────── 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(110px, 13vw, 180px) 0; background: radial-gradient(60% 70% at 50% 100%, rgba(129, 57, 184, 0.18), transparent 70%), var(--bg); }
.octa__band { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; height: 6px; max-width: 440px; margin-bottom: 44px; }
.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: 1040px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance;
}
.octa__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.octa__foot p { max-width: 520px; color: var(--text-2); font-weight: 300; font-size: 16px; }

/* ───────── 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(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -0.02em; 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; }
.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, .live::after, .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; }
  .nets { 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; }
  .hero__lede { font-size: 16px; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item { padding: 24px 20px; }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .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; }
  .nets { grid-template-columns: 1fr 1fr; gap: 12px; }
  .net { min-height: 180px; padding: 18px; }
  .net h3 { font-size: 30px; }
  .callout { padding: 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; gap: 8px; }
}
