/* ==========================================================================
   Aeolune website
   Dark, fine-line, acid-green neon. No external fonts, images or scripts.
   ========================================================================== */

:root {
  --bg0: #08090b;
  --bg1: #0e1014;
  --bg2: #13161b;
  --bg3: #191d24;
  --line: #252a33;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #e8ebef;
  --dim: #8b94a3;
  --dimmer: #5d6573;
  --accent: #c2ff3d;
  --accent-soft: rgba(194, 255, 61, 0.12);
  --accent-glow: rgba(194, 255, 61, 0.45);
  --ink: #0a0c0f;

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1160px;

  --font: "Inter Var", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Inter Var", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono Var", "Cascadia Mono", ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- fonts (self-hosted, SIL OFL 1.1 - no third-party requests) ---------- */
@font-face {
  font-family: "Inter Var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono Var";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2-variations"), url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--ink); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7;
}
.h2 {
  font: 620 clamp(30px, 4.2vw, 48px)/1.1 var(--font-display);
  letter-spacing: -0.026em;
  margin-top: 16px;
  text-wrap: balance;
}
.lead {
  color: var(--dim);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 62ch;
  margin-top: 18px;
  text-wrap: pretty;
}
.section { padding: clamp(56px, 7vw, 92px) 0; position: relative; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 11px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(194,255,61,.6), 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), 0 10px 40px -6px rgba(194,255,61,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .btn-sub { font-weight: 500; opacity: .62; font-size: 13px; }
.btn-ghost {
  border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.015);
}
.btn-ghost:hover { border-color: #3a414d; background: rgba(255,255,255,.04); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(8, 9, 11, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark .mk { stroke: var(--accent); stroke-width: 11; filter: drop-shadow(0 0 5px rgba(194,255,61,.45)); }
.brand-word { width: 104px; height: auto; }
.brand-word path { stroke: var(--text); }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a:not(.btn) {
  color: var(--dim); font-size: 14.5px; font-weight: 500;
  transition: color .2s;
}
.nav-links > a:not(.btn):hover { color: var(--text); }

.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 8px; padding: 2px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em;
}
.lang a { padding: 6px 8px; border-radius: 6px; color: var(--dimmer); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--text); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  /* fine-line grid, fading out */
  content: ""; position: absolute; inset: -1px 0 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 40px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(194,255,61,.10), rgba(194,255,61,.035) 55%, transparent 100%);
  pointer-events: none;
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero-logo { position: relative; width: 132px; height: 132px; }
.hero-logo svg { width: 100%; height: 100%; overflow: visible; }
.hero-logo .bloom {
  position: absolute; inset: -70%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(194,255,61,.30), rgba(194,255,61,.08) 50%, transparent 72%);
  opacity: 0; pointer-events: none;
}
.mk-cres, .mk-str, .mk-ghost { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.mk-cres, .mk-str { stroke-width: 6.5; }
.mk-glow { filter: drop-shadow(0 0 3px rgba(194,255,61,.85)) drop-shadow(0 0 14px rgba(194,255,61,.45)); }
.mk-ghost { stroke-width: 1.2; opacity: 0; }
.mk-pen { fill: #f4ffd9; opacity: 0; filter: drop-shadow(0 0 6px #e6ff9e); }

.hero-word { width: 196px; margin-top: 26px; opacity: 1; }
.hero-word path { stroke: var(--text); }
.hero-tag {
  margin-top: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .5em; color: var(--dimmer);
  padding-left: .5em; text-transform: uppercase;
}

.replay {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--dim);
  font: 500 12px/1 var(--mono); letter-spacing: .04em;
  transition: color .2s, border-color .2s, opacity .4s;
}
.replay svg { width: 14px; height: 14px; }
.replay:hover { color: var(--text); border-color: #3a414d; }

.hero h1 {
  margin-top: clamp(34px, 5vw, 52px);
  font: 640 clamp(38px, 6.2vw, 74px)/1.04 var(--font-display);
  letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: balance;
}
.hero h1 .accent { text-shadow: 0 0 28px rgba(194,255,61,.35); }
.hero .lead { margin-inline: auto; text-align: center; margin-top: 22px; max-width: 60ch; }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  margin-top: 18px; font: 500 12.5px/1.4 var(--mono); color: var(--dimmer);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 18px; }
.hero-meta span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* animation states (set by JS) */
.js .hero-logo .mk-cres, .js .hero-logo .mk-str { opacity: 0; }
.js .hero-word, .js .hero-tag { opacity: 0; transition: opacity .9s var(--ease), letter-spacing 1.2s var(--ease), transform 1s var(--ease); }
.js .hero-word { transform: translateY(6px); }
.js .hero-word.in, .js .hero-tag.in { opacity: 1; transform: none; }

/* product shot */
.shot-wrap { position: relative; margin-top: clamp(56px, 8vw, 84px); perspective: 1800px; }
.shot {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid #2c323c;
  background: var(--bg1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6),
    0 40px 120px -30px rgba(0,0,0,.9),
    0 0 90px -30px rgba(194,255,61,.22);
}
.shot img { width: 100%; }
.shot::after {
  /* top hairline highlight */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,255,61,.55), transparent);
}
.shot-wrap::after {
  content: ""; position: absolute; left: -24px; right: -24px; bottom: -2px; height: 46%;
  background: linear-gradient(to bottom, rgba(8,9,11,0), rgba(8,9,11,.85) 55%, var(--bg0) 82%);
  pointer-events: none;
}
.usecases {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  margin-top: -64px; padding-bottom: 8px;
  font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dimmer);
}
.usecases li { display: inline-flex; align-items: center; gap: 26px; }
.usecases li + li::before { content: ""; width: 4px; height: 4px; border: 1px solid var(--accent); border-radius: 50%; opacity: .7; }

/* ---------- features ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-soft);
  gap: 1px;
}
.feature {
  background: var(--bg0);
  padding: 30px 28px 32px;
  position: relative;
  transition: background-color .3s;
}
.feature:hover { background: #0b0d10; }
.feature::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 0; height: 1px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
  transition: width .45s var(--ease);
}
.feature:hover::before { width: 44px; }
.icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: linear-gradient(180deg, #12151a, #0c0e12);
  color: var(--accent);
}
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 20px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; color: var(--dim); font-size: 15px; line-height: 1.6; }

/* ---------- clean-up spotlight ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.checks svg { width: 18px; height: 18px; margin-top: 3px; flex: none; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg1), #0b0d10);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}
.wave-panel { padding: 18px 18px 20px; }
.wave-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; }
.wave-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: 8px; border: 1px solid rgba(194,255,61,.35); background: var(--accent-soft);
  color: var(--accent); font-size: 13px; font-weight: 600;
}
.chip svg { width: 14px; height: 14px; fill: currentColor; }
.wave-label {
  position: absolute; top: 10px; z-index: 2;
  font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.wave-label.after { left: 12px; color: var(--accent); }
.wave-label.before { right: 12px; color: var(--dimmer); }

.wave {
  position: relative; border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(to bottom, transparent calc(50% - .5px), rgba(255,255,255,.06) calc(50% - .5px), rgba(255,255,255,.06) calc(50% + .5px), transparent calc(50% + .5px)),
    repeating-linear-gradient(to right, rgba(255,255,255,.028) 0 1px, transparent 1px 66px),
    #090b0e;
  border: 1px solid var(--line-soft);
  aspect-ratio: 660 / 150;
}
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave path { fill: none; stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wave .noisy path { stroke: #6d7684; }
.wave .clean path { stroke: var(--accent); filter: drop-shadow(0 0 3px rgba(194,255,61,.5)); }
.wave .clean { clip-path: inset(0 50% 0 0); animation: wipe 7s var(--ease) infinite; }
.wave .noisy { clip-path: inset(0 0 0 50%); animation: wipe-rest 7s var(--ease) infinite; }
.wave .scan {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--accent);
  box-shadow: 0 0 12px 1px var(--accent-glow);
  animation: scan 7s var(--ease) infinite;
}
@keyframes wipe      { 0%, 8% { clip-path: inset(0 100% 0 0); } 55%, 88% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes wipe-rest { 0%, 8% { clip-path: inset(0 0 0 0); }    55%, 88% { clip-path: inset(0 0 0 100%); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes scan      { 0%, 8% { left: 0; opacity: 0; } 12% { opacity: 1; } 52% { opacity: 1; } 55%, 88% { left: 100%; opacity: 0; } 100% { left: 0; opacity: 0; } }

.wave-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; background: rgba(255,255,255,.012); }
.stat dt { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dimmer); }
.stat dd { margin: 8px 0 0; font: 500 14.5px/1.2 var(--mono); color: var(--text); white-space: nowrap; }
.stat dd .accent { color: var(--accent); }

/* ---------- effects ---------- */
.fx-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.fx-group { padding: 22px 20px 10px; }
.fx-group h3 {
  display: flex; align-items: center; justify-content: space-between;
  font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.fx-group h3 span { color: var(--dimmer); }
.fx-list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.fx-list li:last-child { border-bottom: 0; }
.fx-list strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
.fx-list span { display: block; margin-top: 3px; color: var(--dim); font-size: 14px; line-height: 1.5; }

.chains { margin-top: 18px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.chains .panel { padding: 26px 26px 28px; }
.chains h3 { font-size: 17px; font-weight: 600; }
.chains p { margin-top: 6px; color: var(--dim); font-size: 15px; }
.chain-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chain-list li {
  padding: 7px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.chain-list li:hover { border-color: rgba(194,255,61,.5); color: var(--accent); box-shadow: 0 0 18px -6px var(--accent-glow); }
.vst { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; overflow: hidden; }
.vst-badge {
  align-self: flex-start;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--ink); background: var(--accent);
  padding: 6px 9px; border-radius: 6px;
}
.chains .vst-hosts { font: 500 12px/1.7 var(--mono); color: var(--dimmer); letter-spacing: .04em; }

/* ---------- open source band ---------- */
.open {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(194,255,61,.08), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}
.open-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.open .h2 { max-width: 16ch; }
.open-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.open-facts div { background: rgba(10,12,15,.92); padding: 18px 18px 20px; }
.open-facts b { display: block; font: 600 22px/1.1 var(--font-display); letter-spacing: -0.02em; }
.open-facts span { display: block; margin-top: 6px; color: var(--dim); font-size: 13.5px; }
.open-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.open-mark {
  position: absolute; right: -110px; top: -120px; width: 380px; height: 380px; opacity: .05; pointer-events: none;
}
.open-mark path { fill: none; stroke: var(--accent); stroke-width: 2; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--dim); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 4px 24px; color: var(--dim); max-width: 68ch; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--text); border-bottom: 1px solid rgba(194,255,61,.5); }
.faq .answer a:hover { color: var(--accent); }
.faq code { font: 500 13.5px var(--mono); color: var(--text); background: var(--bg2); border: 1px solid var(--line-soft); padding: 1px 6px; border-radius: 5px; }

/* ---------- final CTA ---------- */
.final { text-align: center; padding-bottom: clamp(96px, 12vw, 150px); }
.final .final-mark { width: 64px; height: 64px; margin: 0 auto 26px; }
.final .final-mark .mk { stroke: var(--accent); stroke-width: 8; filter: drop-shadow(0 0 3px rgba(194,255,61,.8)) drop-shadow(0 0 16px rgba(194,255,61,.4)); }
.final .h2 { margin-top: 0; }
.final .lead { margin-inline: auto; }
.final .hero-cta { margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0 40px; color: var(--dim); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.foot-brand p { margin-top: 14px; max-width: 42ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--accent); }
.foot-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--dimmer); font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }
.notfound .code { font: 500 13px/1 var(--mono); letter-spacing: .3em; color: var(--accent); }
.notfound h1 { margin-top: 18px; font: 600 clamp(30px, 5vw, 44px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.notfound p { margin-top: 12px; color: var(--dim); }
.notfound .hero-cta { margin-top: 28px; }
.notfound svg { width: 88px; height: 88px; margin: 0 auto 28px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 760px) { .br-wide { display: none; } }
@media (max-width: 1020px) {
  .fx-groups { grid-template-columns: repeat(2, 1fr); }
  .open-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .chains { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: rgba(8, 9, 11, 0.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open .site-header { background: rgba(8, 9, 11, 0.97); }
  .nav-links > a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav-links .lang { align-self: flex-start; margin-top: 18px; }
  .nav-links .btn { margin-top: 14px; --h: 46px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .features-grid { grid-template-columns: 1fr; }
  .fx-groups { grid-template-columns: 1fr; }
  .open-facts { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .wave-foot { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 10px; }
  .stat dd { font-size: 13px; }
  .usecases { margin-top: 18px; gap: 8px 16px; font-size: 11.5px; }
  .shot-wrap::after { height: 30%; }
  .hero-meta { gap: 4px 14px; }
  .hero-meta span + span::before { display: none; }
  .hero-logo { width: 108px; height: 108px; }
  .wave { aspect-ratio: 660 / 230; }
  .wave path { stroke-width: 1.3; }
  .usecases li { gap: 16px; }
  .brand-word { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .wave .clean { animation: none; clip-path: inset(0 50% 0 0); }
  .wave .noisy { animation: none; clip-path: inset(0 0 0 50%); }
  .wave .scan  { animation: none; left: 50%; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

.vst h3 { margin-top: 16px; }
