/* ============================================================
   conva — marketing site styles
   Mobile-first. Fluid type. Compositor-only animations.
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/michroma-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-var-latin.woff2") format("woff2");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* skip link */
.skip {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; padding: 10px 18px; border-radius: 0 0 10px 10px;
  background: var(--iris); color: var(--on-iris); font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cyan);
}
.section-head { max-width: 42ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head .eyebrow { margin-bottom: 0.9rem; display: block; }

/* fluid headings */
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; color: var(--text); text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, 8.5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.045em; }
.h2 { font-size: clamp(1.9rem, 5.2vw, 2.9rem); letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 2.1vw, 1.2rem); color: var(--text-2); text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.grad-text {
  background: var(--iris);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--font-mark);
  letter-spacing: 0.02em; color: var(--text); line-height: 1;
  -webkit-text-stroke: 0.6px currentColor; paint-order: stroke fill;
}
.wordmark .v { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.lockup { display: inline-flex; align-items: center; gap: 0.7em; }
.lockup .mark { width: 1.65em; height: 1.65em; color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 0.95rem; --pad-x: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--pad-y) var(--pad-x); border-radius: var(--r-11);
  font-weight: 700; font-size: 0.98rem; line-height: 1;
  min-height: 44px; text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn-iris {
  background: var(--iris); color: var(--on-iris);
  box-shadow: var(--shadow-iris);
}
.btn-iris:hover { box-shadow: 0 16px 46px rgba(123, 92, 255, 0.45); transform: translateY(-1px); }
.btn-glass {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-glass:hover { background: var(--glass-strong); border-color: var(--cyan-line); }
.btn-ghost {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan-line); font-weight: 600;
}
.btn-ghost:hover { background: var(--cyan-bg); }
.btn-lg { --pad-y: 1.1rem; --pad-x: 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* pill / badge */
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  border: 1px solid var(--cyan-line); background: var(--cyan-bg);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #9fe9f5;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan); flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: breathe 2.4s var(--ease) infinite; }
}

/* ---------- background motifs ---------- */
.starfield {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 14% 24%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 40% 66%, rgba(255,255,255,.32), transparent),
    radial-gradient(1.3px 1.3px at 68% 18%, rgba(255,255,255,.42), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 22% 82%, rgba(255,255,255,.28), transparent),
    radial-gradient(1.2px 1.2px at 78% 86%, rgba(255,255,255,.36), transparent);
}
.aurora {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 60% at 78% 40%, rgba(34,228,245,.14), transparent 72%),
    radial-gradient(60% 60% at 40% 116%, rgba(123,92,255,.22), transparent 70%),
    radial-gradient(36% 46% at 96% 84%, rgba(255,79,216,.12), transparent 70%);
}
:root[data-theme="light"] .starfield { opacity: 0; }
:root[data-theme="light"] .aurora { opacity: 0.5; }
.divider {
  height: 1px; border: 0; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,228,245,.35), rgba(255,79,216,.3), transparent);
}
.section > .wrap { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--void) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.nav .lockup { font-size: 1.05rem; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-2); font-size: 0.92rem; font-weight: 500; transition: color 0.15s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav .btn { --pad-y: 0.6rem; --pad-x: 1.15rem; font-size: 0.85rem; min-height: 40px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--glass);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.3rem, 3vw, 1.8rem); }
.hero-copy .lead { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-note { font-size: 0.82rem; color: var(--faint); font-weight: 500; }
.hero-note b { color: var(--muted); font-weight: 600; }

@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- listening core (sonar motif) ---------- */
.core-stage {
  position: relative; width: 100%;
  aspect-ratio: 1 / 1;
  max-width: min(88vw, 520px);
  margin-inline: auto;
  display: grid; place-items: center;
  isolation: isolate;
}
.core { position: relative; width: 62%; aspect-ratio: 1/1; display: grid; place-items: center; }
.core .ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--rim); inset: 0;
}
.core .ring.r1 { inset: -38%; border-color: rgba(255,255,255,.06); }
.core .ring.r2 { inset: -20%; border-color: rgba(34,228,245,.14); }
.core .ring.r3 { inset: 2%;   border-color: rgba(123,92,255,.2); }
.core .ring.r4 { inset: 20%;  border-color: rgba(255,79,216,.22); }
.core .glow {
  position: absolute; inset: -6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,92,255,.32), transparent 68%);
  filter: blur(22px); z-index: -1;
}
.core .sweep {
  position: absolute; inset: -20%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34,228,245,0) 0deg, rgba(34,228,245,.22) 26deg, rgba(34,228,245,0) 60deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 36%, #000 70%, transparent 72%);
          mask: radial-gradient(circle, transparent 34%, #000 36%, #000 70%, transparent 72%);
}
.core .orbit { position: absolute; inset: -20%; border-radius: 50%; }
.core .orbit .node {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 2px var(--cyan);
}
.core .iris {
  position: absolute; width: 33%; aspect-ratio: 1/1; border-radius: 50%;
  background: conic-gradient(from 200deg, #22e4f5, #7b5cff, #ff4fd8, #22e4f5);
  filter: blur(2px);
}
.core .disc {
  position: relative; width: 26%; aspect-ratio: 1/1; border-radius: 50%;
  background: var(--void); display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--border);
}
.core .disc .mark { width: 58%; height: 58%; color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .core .ring.r1 { animation: pulse 7s var(--ease) infinite; }
  .core .ring.r2 { animation: pulse 7s var(--ease) infinite 1.2s; }
  .core .sweep { animation: spin 8s linear infinite; }
  .core .orbit { animation: spin 14s linear infinite; }
  .core .iris { animation: breathe 4s var(--ease) infinite; }
}

/* voice bubbles floating around the core */
.bubble {
  position: absolute; z-index: 3;
  padding: 0.75rem 0.95rem; border-radius: 14px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  max-width: min(64vw, 260px);
  box-shadow: 0 10px 30px rgba(2,4,12,.35);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.bubble .who { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; }
.bubble .said { font-size: 0.86rem; line-height: 1.4; }
.bubble.them {
  left: -1%; top: 4%; border-radius: 14px 14px 14px 4px;
  max-width: min(60vw, 234px);
  background: var(--cyan-bg); border: 1px solid var(--cyan-line);
}
.bubble.them .who { color: var(--cyan); }
.bubble.them .said { color: #dff7fb; }
.bubble.you {
  right: -1%; top: 60%; text-align: right; border-radius: 14px 14px 4px 14px;
  max-width: min(52vw, 192px);
  background: var(--violet-bg); border: 1px solid var(--violet-line);
}
.bubble.you .who { color: #a48dff; }
.bubble.you .said { color: #e6e0ff; }
.bubble.ai {
  left: 3%; bottom: -1%; flex-direction: row; align-items: flex-start; gap: 0.6rem;
  background: var(--gold-bg); border: 1px solid var(--gold-line); border-radius: 14px;
  max-width: min(70vw, 296px);
}
.bubble.ai .who { color: var(--gold); flex: none; padding-top: 1px; }
.bubble.ai .said { color: #f7e7c6; }
:root[data-theme="light"] .bubble.them .said { color: #063b45; }
:root[data-theme="light"] .bubble.you .said { color: #2a1c66; }
:root[data-theme="light"] .bubble.ai .said { color: #5a3d00; }
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: float 6s ease-in-out infinite; }
  .bubble.you { animation-delay: -2s; }
  .bubble.ai { animation-delay: -4s; }
}

/* ---------- feature grid ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-18); padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--glass-strong); }
.card .ficon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.card .ficon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.icon-cyan { color: var(--cyan); }
.icon-violet { color: var(--violet); }
.icon-gold { color: var(--gold); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--r-18); overflow: hidden;
  display: flex; flex-direction: column;
}
.step-visual { position: relative; padding: 1.6rem 1.5rem; min-height: 172px; display: flex; align-items: center; }
.step-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--hairline); }
.step-num {
  counter-increment: step; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--cyan);
}
.step-num::before { content: "0" counter(step) " · "; color: var(--faint); }
.step-body p { color: var(--muted); font-size: 0.94rem; }

/* dual waveform */
.wavepair { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.waverow { display: flex; align-items: center; gap: 0.8rem; }
.waverow .lbl { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; width: 42px; flex: none; }
.bars { flex: 1; display: flex; align-items: center; gap: 3px; height: 46px; }
.bars span { flex: 1; border-radius: 2px; }
.waverow.them .lbl { color: var(--cyan); }
.waverow.them .bars span { background: var(--cyan); }
.waverow.you .lbl { color: var(--violet); }
.waverow.you .bars span { background: var(--violet); }

/* transcript lines */
.transcript { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.tline { display: flex; gap: 0.7rem; align-items: flex-start; }
.tline .ts { font-family: var(--font-mono); font-size: 0.62rem; color: var(--faint); flex: none; padding-top: 2px; }
.tline .bar { width: 3px; align-self: stretch; border-radius: 2px; flex: none; }
.tline.them .bar { background: var(--cyan); } .tline.them .txt { color: #cfeff6; }
.tline.you .bar { background: var(--violet); } .tline.you .txt { color: #dad2ff; }
.tline .txt { font-size: 0.84rem; line-height: 1.45; }
:root[data-theme="light"] .tline.them .txt { color: #0a4650; }
:root[data-theme="light"] .tline.you .txt { color: #2a1c66; }

/* AI say-this card */
.saythis {
  width: 100%; display: flex; flex-direction: column; gap: 0.7rem;
}
.saythis .quote {
  align-self: flex-start; max-width: 88%; padding: 0.6rem 0.8rem;
  border-radius: 12px 12px 12px 4px; background: var(--cyan-bg); border: 1px solid var(--cyan-line);
  font-size: 0.8rem; color: #cfeff6; line-height: 1.4;
}
:root[data-theme="light"] .saythis .quote { color: #0a4650; }
.saythis .ai {
  display: flex; gap: 0.6rem; padding: 0.85rem; border-radius: 12px;
  background: var(--gold-bg); border: 1px solid var(--gold-line);
}
.saythis .ai .badge {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffc24b, #ff9e3d); color: #2a1b00; font-size: 0.62rem; font-weight: 700;
}
.saythis .ai .k { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.saythis .ai .v { font-size: 0.82rem; color: #f7e7c6; line-height: 1.45; }
:root[data-theme="light"] .saythis .ai .v { color: #5a3d00; }
.source {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  font-size: 0.66rem; color: var(--cyan); font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: var(--r-pill);
  background: var(--cyan-bg); border: 1px solid var(--cyan-line);
}
.source svg { width: 13px; height: 13px; }

/* ---------- privacy callout ---------- */
.callout { position: relative; overflow: hidden; background: var(--panel); border-block: 1px solid var(--border); }
.callout .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .callout .wrap { grid-template-columns: 1fr 0.9fr; } }
.privacy-core {
  position: relative; width: min(78vw, 320px); aspect-ratio: 1/1; margin-inline: auto;
  display: grid; place-items: center;
}
.privacy-core .r { position: absolute; border-radius: 50%; }
.privacy-core .r1 { inset: 0; border: 1px dashed rgba(34,228,245,.24); }
.privacy-core .r2 { inset: 16%; border: 1px solid rgba(139,107,255,.28); }
.privacy-core .r2::before { content:""; position:absolute; inset:0; border-radius:50%; background: radial-gradient(circle, rgba(123,92,255,.28), transparent 70%); filter: blur(14px); }
.privacy-core .chip-core {
  position: relative; width: 34%; aspect-ratio: 1/1; border-radius: 24px;
  background: var(--void); border: 1px solid var(--border); display: grid; place-items: center;
}
.privacy-core .chip-core .mark { width: 60%; height: 60%; color: var(--text); }
.tag {
  position: absolute; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em;
  padding: 0.4rem 0.7rem; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.tag.on { top: 4%; right: 2%; color: #9fe9f5; background: var(--cyan-bg); border: 1px solid var(--cyan-line); }
.tag.no { bottom: 6%; left: 0; color: var(--muted); background: var(--glass); border: 1px solid var(--border-strong); }
@media (prefers-reduced-motion: no-preference) {
  .privacy-core .r1 { animation: spin 22s linear infinite; }
}
.checklist { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-2); font-size: 0.96rem; }
.checklist svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }

/* ---------- mobile companion ---------- */
.mobile-sec .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .mobile-sec .wrap { grid-template-columns: 0.9fr 1.1fr; } }
.phone {
  position: relative; width: min(72vw, 280px); aspect-ratio: 9 / 18.5; margin-inline: auto;
  border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #1a2340, #0a0e1e);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: var(--void);
  display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem 0.85rem 0.85rem;
}
.phone-screen::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 20px; border-radius: 0 0 12px 12px; background: #05060e;
}
.phone-screen .aurora { z-index: 0; opacity: 0.8; }
.phone-msg {
  position: relative; z-index: 1; max-width: 86%; padding: 0.55rem 0.7rem; border-radius: 12px;
  font-size: 0.72rem; line-height: 1.4;
}
.phone-msg .who { font-size: 0.54rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 0.2rem; }
.phone-msg.them { align-self: flex-start; border-radius: 12px 12px 12px 3px; background: var(--cyan-bg); border: 1px solid var(--cyan-line); color: #dff7fb; }
.phone-msg.them .who { color: var(--cyan); }
.phone-msg.you { align-self: flex-end; text-align: right; border-radius: 12px 12px 3px 12px; background: var(--violet-bg); border: 1px solid var(--violet-line); color: #e6e0ff; }
.phone-msg.you .who { color: #a48dff; }
.phone-msg.ai { align-self: stretch; background: var(--gold-bg); border: 1px solid var(--gold-line); color: #f7e7c6; }
.phone-msg.ai .who { color: var(--gold); }
:root[data-theme="light"] .phone-msg.them { color:#0a4650; }
:root[data-theme="light"] .phone-msg.you { color:#2a1c66; }
:root[data-theme="light"] .phone-msg.ai { color:#5a3d00; }
.mini-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 0.4rem;
  margin-top: 0.2rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--violet);
  padding: 0.35rem 0.7rem; border-radius: var(--r-pill);
  background: var(--violet-bg); border: 1px solid var(--violet-line);
}

/* ---------- pricing ---------- */
.pricing .wrap { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
@media (min-width: 900px) { .pricing .wrap { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative; border-radius: 20px; padding: 2px;
  background: linear-gradient(150deg, rgba(34,228,245,.55), rgba(123,92,255,.5) 55%, rgba(255,79,216,.45));
  box-shadow: var(--shadow-card); max-width: 420px; width: 100%; margin-inline: auto;
}
.price-inner {
  position: relative; overflow: hidden; border-radius: 18px;
  background: color-mix(in srgb, var(--void) 92%, #101838);
  padding: clamp(1.6rem, 4vw, 2.25rem); display: flex; flex-direction: column; gap: 1.4rem;
}
:root[data-theme="light"] .price-inner { background: #fff; }
.price-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 50% -10%, rgba(123,92,255,.18), transparent 70%);
}
.price-inner > * { position: relative; }
.price-head { display: flex; align-items: center; justify-content: space-between; }
.price-tier { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #9fe9f5; }
.price-badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; color: #ffd98a;
  padding: 0.4rem 0.7rem; border-radius: var(--r-pill);
  background: var(--gold-bg); border: 1px solid var(--gold-line);
}
.price-amount { display: flex; align-items: baseline; gap: 0.5rem; }
.price-amount .n { font-size: clamp(2.6rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amount .per { color: var(--faint); font-weight: 500; }
.price-list { display: flex; flex-direction: column; gap: 0.8rem; }
.price-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); }
.price-list svg { width: 17px; height: 17px; color: var(--cyan); flex: none; margin-top: 3px; }
.price-aside { display: flex; flex-direction: column; gap: 1.1rem; }
.beta-note {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--success); padding: 0.4rem 0.8rem; border-radius: var(--r-pill);
  background: rgba(88,224,176,.08); border: 1px solid rgba(88,224,176,.3);
}

/* ---------- final CTA + waitlist ---------- */
.final { position: relative; overflow: hidden; text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.final .mark-lg { width: 54px; height: 54px; color: var(--text); }
.final .h2 { max-width: 18ch; }
.final .lead { max-width: 52ch; }
.waitlist { width: 100%; max-width: 460px; margin-top: 0.6rem; }
.waitlist form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.waitlist .field { flex: 1 1 220px; display: flex; align-items: center; }
.waitlist input[type="email"] {
  width: 100%; min-height: 48px; padding: 0.85rem 1.1rem; border-radius: var(--r-11);
  background: var(--glass); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus-visible { border-color: var(--cyan-line); box-shadow: var(--focus-ring); }
.waitlist .btn { flex: 0 0 auto; }
.waitlist .msg { margin-top: 0.8rem; font-size: 0.88rem; min-height: 1.2em; }
.waitlist .msg.ok { color: var(--success); }
.waitlist .msg.err { color: var(--danger); }
.waitlist .fineprint { margin-top: 0.6rem; font-size: 0.76rem; color: var(--faint); }

/* ---------- footer ---------- */
.footer { background: var(--void); border-top: 1px solid var(--border); }
.footer .wrap { padding-block: clamp(2rem, 5vw, 3rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer .lockup { font-size: 0.85rem; opacity: 0.85; }
.footer .copy { font-size: 0.78rem; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { transform: scale(0.86); opacity: 0.9; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- misc pages (privacy/terms) ---------- */
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 0.5rem; }
.doc .updated { color: var(--faint); font-size: 0.85rem; margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.3rem; margin: 2.2rem 0 0.7rem; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); margin-bottom: 0.8rem; }
.doc ul { list-style: disc; padding-left: 1.3rem; }
.doc a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.back-link:hover { color: var(--text); }
