/* ============================================================
   HYPERION — Sound Becomes Form
   Void black · platinum geometry · ice accent · living cymatics
   Fraunces (display) · Space Grotesk (body) · JetBrains Mono (labels)
   ============================================================ */

:root {
  --void: #040506;
  --void-2: #080a0e;
  --void-3: #0c0f15;
  --panel: rgba(10, 13, 18, 0.6);
  --platinum: #f3f6fa;
  --platinum-dim: #a7b0bc;
  --ash: #69727e;
  --ash-2: #363c45;
  --ice: #7fdcff;
  --ice-2: #bfeeff;
  --ice-deep: #2aa6d8;
  --iris: #9bb0ff;
  --line: rgba(243, 246, 250, 0.09);
  --line-2: rgba(243, 246, 250, 0.16);
  --display: "Fraunces", Georgia, serif;
  --sans: "Space Grotesk", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", monospace;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--platinum);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) so the body never becomes a scroll container — keeps native vertical scroll buttery */
  overflow-x: clip;
}
::selection { background: var(--ice); color: #042430; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong, b { font-weight: 500; }

/* ---------- global grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 16% { transform: translate(-3%, 2%); }
  33% { transform: translate(2%, -3%); } 50% { transform: translate(-2%, 3%); }
  66% { transform: translate(3%, 1%); } 83% { transform: translate(-2%, -2%); } 100% { transform: translate(0, 0); }
}

/* ---------- shared ---------- */
.kicker {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ice); margin-bottom: 1.3rem;
}
.knum { color: var(--ash); margin-right: 0.6em; }
.sect { padding: clamp(4.5rem, 11vh, 8rem) var(--pad); max-width: 84rem; margin: 0 auto; }
.sect-narrow { max-width: 52rem; }
.sect-head { margin-bottom: clamp(2.4rem, 6vh, 4rem); }
.sect-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.018em;
  color: var(--platinum); max-width: 24ch;
}
.sect-title em { font-style: italic; font-weight: 300; color: var(--ice-2); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.revealed[data-reveal], .no-motion [data-reveal] { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0.03em;
  padding: 0.95rem 1.7rem; border-radius: 2px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--ice); color: #042430; font-weight: 500; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(127, 220, 255, 0.42); }
.btn-ghost { background: transparent; color: var(--platinum); border-color: var(--ash-2); }
.btn-ghost:hover { border-color: var(--ice); color: var(--ice-2); transform: translateY(-2px); }
.btn-s { padding: 0.62rem 1.2rem; font-size: 0.78rem; }
.btn-l { padding: 1.1rem 2.1rem; font-size: 0.92rem; }
.btn-w { width: 100%; }
.btn .tri { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2.4rem;
  padding: 1.1rem var(--pad);
  background: rgba(4, 5, 6, 0.66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); padding-top: 0.8rem; padding-bottom: 0.8rem; }
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-brand .mark { width: 1.15em; height: 1.15em; flex: none; }
.nav-brand .mark .pulse { transform-origin: center; animation: markPulse 3.6s ease-in-out infinite; }
@keyframes markPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: lowercase;
  color: var(--platinum-dim); text-decoration: none; position: relative; transition: color 0.3s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ice); transition: right 0.35s var(--ease); opacity: 0.8; }
.nav-links a:hover { color: var(--platinum); }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.lang { display: flex; gap: 0.1rem; font-family: var(--mono); font-size: 0.72rem; }
.lang-a { padding: 0.3rem 0.42rem; text-decoration: none; color: var(--ash); border-radius: 3px; transition: color 0.25s; }
.lang-a:hover { color: var(--platinum); }
.lang-a.is-active { color: var(--ice); }
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--platinum); transition: transform 0.3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(4, 5, 6, 0.98);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1.6rem; padding: var(--pad);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--display); font-size: 2rem; font-weight: 300; text-decoration: none; color: var(--platinum); }
.mobile-menu a:hover { color: var(--ice-2); }

/* ============================================================
   HERO — cymatics field
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background:
    radial-gradient(120% 92% at 50% 40%, rgba(127, 220, 255, 0.045), transparent 58%),
    radial-gradient(90% 80% at 50% 118%, rgba(155, 176, 255, 0.04), transparent 60%),
    var(--void);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(46% 52% at 16% 84%, rgba(4, 5, 6, 0.86), transparent 70%),
    radial-gradient(40% 48% at 86% 82%, rgba(4, 5, 6, 0.72), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: radial-gradient(135% 120% at 50% 42%, transparent 50%, rgba(2, 3, 4, 0.7) 100%);
}
#cymatics { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); z-index: 2; animation: fieldIn 1.8s var(--ease) both; }
@keyframes fieldIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.88); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.halo {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); z-index: 1;
  width: 680px; height: 680px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 200px 30px rgba(5, 6, 8, 0.92) inset;
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.012); } }

.hero-eyebrow {
  position: absolute; top: 7.2rem; left: 50%; transform: translateX(-50%); z-index: 9;
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ice-2);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(127, 220, 255, 0.6); animation: live 2.6s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(127, 220, 255, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(127, 220, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 220, 255, 0); } }

.hero-headline { position: absolute; left: var(--pad); bottom: 6.5rem; z-index: 9; max-width: 30rem; }
.hero-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: 0.98; letter-spacing: -0.018em;
  color: var(--platinum);
}
.hero-title .it { font-style: italic; font-weight: 300; color: var(--ice-2); }
.hero-title .ln { display: block; overflow: hidden; }
.hero-title .ln i { display: block; font-style: inherit; transform: translateY(112%); opacity: 0; will-change: transform; }
.no-motion .hero-title .ln i { transform: none; opacity: 1; }
.hero-sub { margin-top: 1.4rem; font-size: 0.97rem; line-height: 1.62; color: var(--platinum-dim); max-width: 26rem; }
.hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-note { font-family: var(--mono); font-size: 0.7rem; color: var(--ash); }

/* instrument readout */
.readout { position: absolute; right: var(--pad); bottom: 6.5rem; z-index: 9; width: 17rem; }
.readout .rhdr {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash);
  padding-bottom: 0.8rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line);
}
.readout .rhdr .on { display: flex; align-items: center; gap: 0.45rem; color: var(--ice-2); }
.readout .rhdr .on i { width: 5px; height: 5px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.rrow { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.7rem; font-family: var(--mono); font-size: 0.76rem; color: var(--platinum-dim); }
.rrow .v { color: var(--platinum); font-weight: 500; font-variant-numeric: tabular-nums; }
.rrow .v b { color: var(--ice-2); }
.rbars { display: flex; align-items: flex-end; gap: 3px; height: 1.9rem; margin-top: 0.9rem; }
.rbars i { flex: 1; background: linear-gradient(180deg, var(--ice), rgba(127, 220, 255, 0.18)); border-radius: 1px; height: 30%; }

.hero-proof { position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; }
.hero-proof .item { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--platinum-dim); padding: 0 1.5rem; display: flex; align-items: center; gap: 0.5rem; position: relative; }
.hero-proof .item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: var(--ash-2); }
.hero-proof .item b { color: var(--platinum); }
.hero-proof .item .k { color: var(--ice); font-weight: 500; }

.tick { position: absolute; z-index: 8; width: 40px; height: 40px; opacity: 0.4; }
.tick::before, .tick::after { content: ""; position: absolute; background: var(--ash-2); }
.tick::before { width: 40px; height: 1px; } .tick::after { width: 1px; height: 40px; }
.tl { left: 28px; top: 6rem; } .tl::before { left: 0; top: 0; } .tl::after { left: 0; top: 0; }
.tr { right: 28px; top: 6rem; } .tr::before { right: 0; top: 0; } .tr::after { right: 0; top: 0; }

/* hero load stagger */
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-title.lit, .hero-sub.lit, .hero-cta.lit, .readout.lit, .hero-proof.lit, .hero-eyebrow.lit { animation: fadeUp 1.1s var(--ease) backwards; }
.hero-eyebrow.lit, .hero-proof.lit { animation-name: fadeUpX; }
@keyframes fadeUpX { from { opacity: 0; transform: translateX(-50%) translateY(16px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.no-motion .hero-sub, .no-motion .hero-cta, .no-motion .readout, .no-motion .hero-proof, .no-motion .hero-eyebrow { opacity: 1; }

/* ---------- language marquee ---------- */
.langband {
  border-block: 1px solid var(--line);
  padding: 1rem 0; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.langband-track {
  display: inline-flex; gap: 2.6rem; font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); animation: marquee 40s linear infinite;
}
.langband-track > span { display: inline-flex; gap: 2.6rem; }
.langband-track b { color: var(--platinum-dim); font-weight: 400; }
.langband-track .k { color: var(--ice); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- feature trio ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.feat { padding: 3rem var(--pad); border-right: 1px solid var(--line); }
.feat:last-child { border-right: 0; }
.feat .n { font-family: var(--mono); font-size: 0.72rem; color: var(--ice); }
.feat h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin: 1rem 0 0.6rem; }
.feat p { font-size: 0.94rem; color: var(--platinum-dim); }

/* ---------- how / steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 2.6rem 2.2rem 2.6rem 0; border-bottom: 1px solid var(--line); }
.step + .step { padding-left: 2.2rem; border-left: 1px solid var(--line); }
.step-n {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--ice-deep); display: block; margin-bottom: 1.2rem;
}
.step h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.7rem; }
.step p { color: var(--platinum-dim); font-size: 0.95rem; }

/* ---------- capabilities ---------- */
.caps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.cap { position: relative; padding: 2rem 1.7rem 2.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.4s; }
.cap::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--ice); transition: width 0.45s var(--ease); }
.cap:hover { background: rgba(127, 220, 255, 0.035); }
.cap:hover::after { width: 100%; }
.cap h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.55rem; }
.cap p { font-size: 0.88rem; color: var(--platinum-dim); }

/* ---------- use cases ---------- */
.ucs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.uc {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 2.2rem 1.9rem 1.9rem;
  background: linear-gradient(170deg, var(--void-2), var(--void));
  transition: border-color 0.4s, transform 0.45s var(--ease);
}
.uc:hover { border-color: rgba(127, 220, 255, 0.4); transform: translateY(-4px); }
.uc-g {
  position: absolute; right: -0.4rem; top: -1.6rem;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 6.5rem; line-height: 1; color: rgba(127, 220, 255, 0.07); pointer-events: none; transition: color 0.4s;
}
.uc:hover .uc-g { color: rgba(127, 220, 255, 0.14); }
.uc h3 { font-family: var(--display); font-size: 1.32rem; font-weight: 400; margin-bottom: 0.55rem; }
.uc p { font-size: 0.92rem; color: var(--platinum-dim); max-width: 30ch; }

/* ---------- ROI ---------- */
.roi {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--line); border-radius: 8px; padding: clamp(2rem, 4.5vw, 3.6rem);
  background: radial-gradient(42rem 26rem at 110% -20%, rgba(127, 220, 255, 0.06), transparent 60%), linear-gradient(170deg, var(--void-2), var(--void));
}
.roi-note { color: var(--platinum-dim); max-width: 38ch; }
.roi-row { margin-bottom: 1.8rem; }
.roi-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.9rem; color: var(--platinum-dim); margin-bottom: 0.65rem; }
.roi-row output { font-family: var(--mono); font-size: 0.92rem; color: var(--ice-2); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-2); border-radius: 99px; outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ice); border: 3px solid var(--void); box-shadow: 0 0 0 1px var(--ice), 0 4px 14px rgba(127, 220, 255, 0.4); cursor: grab; transition: transform 0.2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ice); border: 3px solid var(--void); box-shadow: 0 0 0 1px var(--ice); cursor: grab; }
.roi-out { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.roi-out-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); }
.roi-out-num { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; color: var(--ice-2); font-variant-numeric: tabular-nums; }

/* ---------- pricing ---------- */
.price-sub { margin-top: 1rem; font-size: 0.97rem; color: var(--platinum-dim); max-width: 44ch; }
.plan-price2 { margin: -0.9rem 0 1.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--platinum-dim); }
.plan-price2 b { color: var(--ice-2); font-weight: 500; }
.plan-note { margin: -0.8rem 0 1.6rem; font-size: 0.8rem; line-height: 1.55; color: var(--ash); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: start; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 2.2rem 1.9rem; background: linear-gradient(175deg, var(--void-2), var(--void)); }
.plan-hi {
  border-color: rgba(127, 220, 255, 0.4);
  background: radial-gradient(30rem 18rem at 50% -30%, rgba(127, 220, 255, 0.1), transparent 65%), linear-gradient(175deg, var(--void-3), var(--void-2));
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); transform: translateY(-1rem);
}
.plan-tag { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; background: var(--ice); color: #042430; padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.plan-for { font-size: 0.86rem; color: var(--ash); margin: 0.5rem 0 1.6rem; min-height: 2.6em; }
.plan-price { margin-bottom: 1.7rem; }
.price-num { font-family: var(--display); font-size: 2.9rem; font-weight: 300; color: var(--platinum); }
.plan-per { font-family: var(--mono); font-size: 0.82rem; color: var(--ash); margin-left: 0.35rem; }
.plan ul { list-style: none; margin-bottom: 2rem; }
.plan li { padding: 0.55rem 0 0.55rem 1.5rem; font-size: 0.9rem; color: var(--platinum-dim); border-bottom: 1px solid var(--line); position: relative; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--ice); }
.plans-fine { font-family: var(--mono); font-size: 0.74rem; color: var(--ash); margin-top: 2rem; text-align: center; }

/* ---------- FAQ ---------- */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; font-family: var(--display); font-size: 1.3rem; font-weight: 400; padding: 1.5rem 0; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--ice); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ice-2); }
.faq p { color: var(--platinum-dim); padding: 0 0 1.6rem; max-width: 60ch; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: clamp(6rem, 16vh, 10rem) var(--pad); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(44rem 26rem at 50% 120%, rgba(127, 220, 255, 0.12), transparent 65%); }
.cta-title { position: relative; font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1.3rem; }
.cta-title em { font-style: italic; font-weight: 300; color: var(--ice-2); }
.cta-sub { position: relative; color: var(--platinum-dim); font-size: 1.05rem; margin-bottom: 2.4rem; }
.cta .btn { position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.8rem var(--pad) 2.2rem; max-width: 84rem; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.4rem; margin-bottom: 3.2rem; }
.footer-word { font-family: var(--display); font-size: 1.9rem; font-weight: 400; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.55rem; }
.footer-word .mark { width: 0.95em; height: 0.95em; }
.footer-tag { color: var(--ash); font-size: 0.9rem; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.footer-col h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice); margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.9rem; color: var(--platinum-dim); text-decoration: none; transition: color 0.25s; }
.footer-col a:hover { color: var(--platinum); }
.lang-foot { margin-top: 0.4rem; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.footer-legal p { font-family: var(--mono); font-size: 0.68rem; line-height: 1.8; color: var(--ash); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; }
.modal[hidden] { display: none; }
.modal-veil { position: absolute; inset: 0; background: rgba(2, 3, 4, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: veilIn 0.4s; }
@keyframes veilIn { from { opacity: 0; } }
.modal-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(33rem, 100%); background: linear-gradient(170deg, var(--void-3), var(--void-2)); border-left: 1px solid var(--line-2); padding: clamp(2rem, 5vh, 3.2rem) clamp(1.5rem, 4vw, 2.8rem); overflow-y: auto; animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { transform: translateX(60px); opacity: 0; } }
.modal-x { position: absolute; top: 1.1rem; right: 1.3rem; font-size: 1.6rem; font-weight: 300; color: var(--ash); width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); transition: color 0.25s, border-color 0.25s, transform 0.3s; }
.modal-x:hover { color: var(--ice-2); border-color: var(--ice); transform: rotate(90deg); }
.modal-title { font-family: var(--display); font-size: 1.8rem; font-weight: 300; line-height: 1.15; margin-bottom: 1.8rem; }
.modal-title em { font-style: italic; color: var(--ice-2); }
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.42rem; }
.field input, .field textarea { width: 100%; background: rgba(243, 246, 250, 0.04); border: 1px solid var(--line-2); border-radius: 3px; color: var(--platinum); font: inherit; font-size: 0.95rem; padding: 0.7rem 0.85rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(127, 220, 255, 0.16); }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 246, 250, 0.24); }
.field textarea { resize: vertical; }
#lead-form .btn { margin-top: 0.6rem; }
.form-note { font-family: var(--mono); font-size: 0.72rem; color: var(--ash); margin-top: 0.95rem; }
.form-state { font-size: 0.85rem; color: #ff7b6b; margin-top: 0.8rem; min-height: 1.2em; }
.form-state.ok { color: var(--ice-2); }
.form-done { text-align: center; padding: 4rem 0; }
.form-done-mark { width: 4rem; height: 4rem; margin: 0 auto 1.4rem; display: grid; place-items: center; border: 1px solid var(--ice); border-radius: 50%; color: var(--ice-2); font-size: 1.5rem; }
.form-done h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.5rem; }
.form-done p { color: var(--platinum-dim); }
body.modal-open { overflow: hidden; }

/* ---------- intro · sound becomes form (waveform folds into the field) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--void);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  /* safety: dissolve even if JS never lifts it */
  animation: introSafety 1.2s var(--ease) 4.2s forwards;
}
@keyframes introSafety { to { opacity: 0; visibility: hidden; } }
body.intro-lock { overflow: hidden; }
.intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 47%, rgba(127, 220, 255, 0.05), transparent 62%);
  opacity: 0; animation: irisGlow 3.4s ease-out forwards;
}
@keyframes irisGlow { 0% { opacity: 0; } 45% { opacity: 0.5; } 100% { opacity: 0; } }
#strand { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.intro-cap {
  position: absolute; left: 50%; top: calc(47% + 22vh); transform: translateX(-50%);
  text-align: center; opacity: 0; animation: capIn 1.1s var(--ease) forwards 0.35s, capOut 0.8s var(--ease) forwards 2.0s;
}
.intro-cap .nm { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--platinum); text-indent: 0.5em; }
.intro-cap .tg { display: block; margin-top: 0.7rem; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 0.95rem; color: var(--ice-2); }
@keyframes capIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 0.92; transform: translateX(-50%) translateY(0); } }
@keyframes capOut { to { opacity: 0; } }
.intro.exit { animation: introExit 1.15s var(--ease) forwards; }
@keyframes introExit { 0% { opacity: 1; transform: scale(1); filter: blur(0); } 100% { opacity: 0; transform: scale(1.03); filter: blur(3px); visibility: hidden; } }

/* hero headline — kinetic word-by-word reveal (only transform+opacity animate → no jitter) */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: baseline; margin: 0 0.07em 0 0; padding: 0 0.03em; }
.hero-title .w > span { display: inline-block; transform: translateZ(0); backface-visibility: hidden; }
.hero-title .w.go > span { animation: wordRise 1s cubic-bezier(0.16, 0.84, 0.24, 1) backwards; }
@keyframes wordRise { 0% { transform: translateY(110%) translateZ(0); opacity: 0; } 55% { opacity: 1; } 100% { transform: translateY(0) translateZ(0); opacity: 1; } }
.no-motion .hero-title .w { overflow: visible; }

/* ---------- cursor + scroll bar ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 210; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; background: #fff; transition: opacity 0.3s; }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.8); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, opacity 0.3s; }
.cursor-ring.hot { width: 54px; height: 54px; background: rgba(255, 255, 255, 0.1); border-color: transparent; }
.cursor-dot.hide, .cursor-ring.hide { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 55; background: var(--ice); box-shadow: 0 0 12px rgba(127, 220, 255, 0.6); transition: width 0.1s linear; }

/* ---------- sound toggle ---------- */
.sound { position: fixed; right: var(--pad); bottom: clamp(1.25rem, 4vw, 2.2rem); z-index: 55; display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); background: rgba(8, 10, 14, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.85rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color 0.25s, border-color 0.25s, transform 0.25s; }
.sound:hover { color: var(--platinum); border-color: var(--line-2); transform: translateY(-2px); }
.sound-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound-eq i { width: 2px; height: 30%; background: var(--ice); border-radius: 2px; }
.sound.on .sound-eq i { animation: sndEq 0.9s ease-in-out infinite; }
.sound.on .sound-eq i:nth-child(2) { animation-delay: 0.15s; }
.sound.on .sound-eq i:nth-child(3) { animation-delay: 0.3s; }
.sound.on .sound-eq i:nth-child(4) { animation-delay: 0.1s; }
@keyframes sndEq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- secondary pages ---------- */
.page { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; padding: 9rem var(--pad) 5rem; }
.page-title { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 4.8vw, 3.4rem); line-height: 1.08; margin-bottom: 0.8rem; }
.page-title em { font-style: italic; color: var(--ice-2); }
.page-updated { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 2.6rem; }
.page h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin: 2.4rem 0 0.7rem; }
.page p, .page li { color: var(--platinum-dim); font-size: 0.96rem; }
.page ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.page a { color: var(--ice-2); }
.page .legal-block { border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem 1.7rem; margin: 1.4rem 0; background: linear-gradient(170deg, var(--void-2), var(--void)); }
.page .legal-block p { margin: 0.25rem 0; color: var(--platinum); }
.page .legal-block .lbl { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); display: block; margin-top: 1rem; }
.page .legal-block .lbl:first-child { margin-top: 0; }

/* 404 */
.err { position: relative; z-index: 1; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad); }
.err-code { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ice-deep); }
.err h1 { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 400; margin: 0.8rem 0 0.7rem; }
.err p { color: var(--platinum-dim); margin-bottom: 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .readout { display: none; }
  .hero::before { background: radial-gradient(58% 54% at 28% 84%, rgba(4,5,6,0.88), transparent 72%); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
  .step { padding-left: 0; }
  .ucs { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr; }
  .feat { border-right: 0; border-bottom: 1px solid var(--line); }
  .feat:last-child { border-bottom: 0; }
  .roi { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .plan-hi { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav .lang, .nav .btn { display: none; }
  .nav-burger { display: flex; }
  .hero-headline { left: var(--pad); right: var(--pad); bottom: 5rem; max-width: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .caps { grid-template-columns: 1fr; }
  .ucs { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-proof .item { padding: 0 0.9rem; font-size: 0.66rem; }
}

/* ---------- reduced motion ---------- */
@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; }
  .grain, .langband-track { animation: none; }
  .intro { display: none; } body.intro-lock { overflow: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-sub, .hero-cta, .hero-proof, .hero-eyebrow, .readout { opacity: 1; }
}

/* ============================================================
   ENTERPRISE / SELF-HOSTED · consent · mobile hero fixes
   ============================================================ */
.ent {
  border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(2rem, 4.5vw, 3.4rem);
  background:
    radial-gradient(46rem 24rem at 0% -10%, rgba(127, 220, 255, 0.05), transparent 60%),
    linear-gradient(170deg, var(--void-2), var(--void));
}
.ent-head { max-width: 60rem; }
.ent-lead { margin-top: 1.2rem; color: var(--platinum-dim); max-width: 62ch; font-size: 1.02rem; line-height: 1.6; }
.ent-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.6rem; border-top: 1px solid var(--line); }
.ent-card { padding: 1.8rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.ent-card + .ent-card { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.ent-n { font-family: var(--mono); font-size: 0.72rem; color: var(--ice); }
.ent-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.18rem; margin: 0.8rem 0 0.5rem; }
.ent-card p { font-size: 0.9rem; color: var(--platinum-dim); }
.ent-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.ent-proof { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--ice-2); max-width: 54ch; }
.ent-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(127, 220, 255, 0.6); animation: live 2.6s ease-out infinite; }

/* KVKK consent checkbox on the demo form */
.consent { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.3rem 0 1rem; font-size: 0.82rem; line-height: 1.5; color: var(--platinum-dim); cursor: pointer; }
.consent input { flex: none; width: 15px; height: 15px; margin-top: 0.15rem; accent-color: var(--ice); cursor: pointer; }
.consent a { color: var(--ice-2); }

/* desktop hero: breathing room between the ghost CTA and the "no signup" note */
.hero-note { margin-left: 0.55rem; }

@media (max-width: 1080px) {
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-card { padding-left: 0; border-left: 0; }
  .ent-card:nth-child(2), .ent-card:nth-child(4) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ent-grid { grid-template-columns: 1fr; }
  .ent-card, .ent-card:nth-child(2), .ent-card:nth-child(4) { padding: 1.5rem 0; border-left: 0; }
  .ent-foot .btn { width: 100%; }
}

/* mobile hero — flow layout so nothing overlaps (fixes 375/320 collisions) */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem var(--pad) 2.6rem; }
  #cymatics, .halo { top: 40%; }
  .hero-eyebrow { position: static; transform: none; margin: 0 0 auto; }
  .hero-headline { position: static; left: auto; right: auto; bottom: auto; max-width: none; }
  .hero-proof { position: static; transform: none; justify-content: flex-start; flex-wrap: wrap; row-gap: 0.35rem; margin-top: 1.5rem; }
  .hero-proof .item:first-child { padding-left: 0; }
  .sound { display: none; }  /* niche on mobile; removes the SES-KAPALI collision with the proof row */
}
@media (max-width: 360px) {
  .hero-title { font-size: clamp(1.9rem, 9.5vw, 2.35rem); }
  .hero-cta { gap: 0.6rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-note { margin-left: 0; }
}
