/* ============ TOKENS ============ */
:root {
  --bg: #07070b;
  --bg-2: #0c0c14;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e8e8ee;
  --muted: #9b9bab;
  --muted-2: #6e6e7e;
  --primary: #a78bfa;
  --primary-2: #22d3ee;
  --warn: #fbbf24;
  --bad: #f87171;
  --ok: #34d399;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.6), 0 8px 30px -10px rgba(167,139,250,.15);
  --grad: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(167,139,250,.15), rgba(34,211,238,.15));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .9em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BACKGROUND MESH ============ */
.bg-mesh {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(167,139,250,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(34,211,238,.08), transparent 60%),
    var(--bg);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; left: -120px; top: -80px; background: #7c3aed; }
.blob-2 { width: 460px; height: 460px; right: -120px; top: 200px; background: #06b6d4; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; left: 30%; top: 60%; background: #ec4899; opacity: .25; animation-delay: -12s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 75%);
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7,7,11,.55);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  background: rgba(7,7,11,.78);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(167,139,250,.22), rgba(34,211,238,.22));
  border: 1px solid var(--line-strong);
}
.brand-name { font-family: 'Inter'; }
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name sup { font-size: 9px; color: var(--muted); margin-left: 2px; vertical-align: super; font-weight: 600; }

.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.ghost-link { font-size: 14px; color: var(--muted); }
.ghost-link:hover { color: var(--text); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #0a0a12;
  background: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 100%);
  box-shadow: 0 10px 30px -10px rgba(167,139,250,.6), inset 0 0 0 1px rgba(255,255,255,.4);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(167,139,250,.7); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--panel-strong); border-color: rgba(255,255,255,.22); }
.btn.full { width: 100%; }

/* ============ HERO ============ */
.hero { padding: 88px 0 80px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 13px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.eyebrow-pill .arrow { color: var(--primary); }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.display {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 18px 0 18px;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.03em;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 14px;
}
.lede { color: var(--muted); font-size: 18px; max-width: 540px; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.hero-ctas { display: flex; gap: 12px; margin: 28px 0 22px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 12px; color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; }
.hero-meta b { color: var(--text); font-weight: 700; }

/* hero mock */
.hero-mock { position: relative; }
.mock-card {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(20,20,28,.85), rgba(12,12,18,.85));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.mock-glow {
  position: absolute; inset: -30px; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(167,139,250,.35), transparent 70%);
  filter: blur(40px);
}
.mock-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.dotrow { display: inline-flex; gap: 6px; }
.dotrow i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a36; }
.dotrow i:nth-child(1) { background: #f87171; }
.dotrow i:nth-child(2) { background: #fbbf24; }
.dotrow i:nth-child(3) { background: #34d399; }
.mock-title { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); margin-left: 4px; }
.mock-tag {
  margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.25);
}
.mock-body { padding: 20px; display: grid; gap: 18px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mock-stat {
  background: var(--panel); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px;
}
.mock-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.mock-value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 2px; }
.mock-value small { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.trend { font-size: 12px; }
.trend.up { color: var(--ok); }
.mock-chart { width: 100%; height: 110px; }
.mock-feed { display: grid; gap: 8px; }
.feed-row {
  font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted);
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  word-break: break-word;
}
.pill {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 2px 8px; border-radius: 999px;
}
.pill.warn { color: #fde68a; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25); }
.pill.bad  { color: #fca5a5; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); }
.pill.ok   { color: #6ee7b7; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); }

/* ============ LOGOS ============ */
.logos { padding: 30px 0 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.logos-row {
  display: flex; flex-wrap: wrap; gap: 36px 56px; justify-content: center; align-items: center;
  color: var(--muted); font-weight: 700; font-size: 18px; letter-spacing: -.02em;
  opacity: .85;
}
.logos-row li { transition: color .2s, transform .2s; }
.logos-row li:hover { color: var(--text); transform: translateY(-2px); }

/* ============ CEO ============ */
.ceo { padding: 110px 0; }
.ceo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.ceo-photo { position: relative; display: grid; place-items: center; }
.photo-ring {
  width: min(380px, 100%); aspect-ratio: 1/1;
  border-radius: 50%; padding: 4px;
  background: conic-gradient(from 90deg, #a78bfa, #22d3ee, #ec4899, #a78bfa);
  box-shadow: 0 30px 80px -20px rgba(167,139,250,.5);
  animation: spin 14s linear infinite;
}
.photo-ring img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  background: var(--bg-2); animation: spin 14s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.badge-float {
  position: absolute; padding: 8px 12px; border-radius: 999px;
  background: rgba(20,20,28,.85); border: 1px solid var(--line-strong);
  font-size: 12.5px; color: var(--text); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.badge-1 { top: 8%; left: -10px; }
.badge-2 { bottom: 8%; right: -10px; color: #fca5a5; }

.body { color: var(--muted); font-size: 17px; max-width: 560px; }
.body b { color: var(--text); font-weight: 700; }
.body.muted { color: var(--muted-2); font-style: italic; }
.ceo-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.ceo-stats .num { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ceo-stats .lbl { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.footnote { color: var(--muted-2); font-size: 12px; margin-top: 10px; }

/* ============ FEATURES ============ */
.features { padding: 100px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.feature-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(167,139,250,.12), transparent 40%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--panel-strong); }
.card:hover::before { opacity: 1; }
.ico {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; font-size: 20px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  margin-bottom: 14px;
}
.card h3 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 6px; font-weight: 700; }
.card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ============ METRICS ============ */
.metrics { padding: 70px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(167,139,250,.03), transparent); }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.metric-num {
  font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.metric-num small { font-size: .55em; -webkit-text-fill-color: initial; color: var(--muted); margin-left: 2px; }
.metric-lbl { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 110px 0; }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.t-card {
  background: var(--panel); border: 1px solid var(--line);
  padding: 28px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .25s, border-color .25s;
}
.t-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.t-card.highlight {
  background: linear-gradient(180deg, rgba(167,139,250,.08), rgba(34,211,238,.04));
  border-color: rgba(167,139,250,.35);
  box-shadow: 0 30px 80px -30px rgba(167,139,250,.4);
}
.t-card blockquote {
  margin: 0; font-size: 17px; line-height: 1.55; color: var(--text); letter-spacing: -.005em;
}
.t-card figcaption {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  color: #0a0a12;
}
.avatar.a1 { background: linear-gradient(135deg,#fca5a5,#fbbf24); }
.avatar.a2 { background: linear-gradient(135deg,#a78bfa,#22d3ee); }
.avatar.a3 { background: linear-gradient(135deg,#34d399,#a78bfa); }
.who { font-weight: 700; font-size: 14.5px; }
.role { color: var(--muted); font-size: 13px; }

/* ============ PRICING ============ */
.pricing { padding: 100px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .25s, border-color .25s, background .25s;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.price-card h3 { margin: 0 0 6px; font-size: 18px; }
.price-card .muted { color: var(--muted); font-size: 14px; margin: 0; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 16px; }
.amt { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.per { color: var(--muted); font-size: 14px; }
.check { display: grid; gap: 10px; color: var(--muted); font-size: 14.5px; }
.check li { position: relative; padding-left: 24px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
  color: #0a0a12; background: linear-gradient(135deg,#c4b5fd,#67e8f9);
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(167,139,250,.10), rgba(34,211,238,.05));
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 40px 100px -30px rgba(167,139,250,.45);
}
.price-card.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #0a0a12;
}

/* ============ CHANGELOG ============ */
.changelog { padding: 100px 0; }
.changelog-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.timeline { display: grid; gap: 18px; position: relative; }
.timeline li {
  position: relative; padding: 22px 22px 22px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.timeline li::before {
  content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px;
  background: var(--grad);
}
.ver {
  font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 2px 7px; border-radius: 999px;
  text-transform: uppercase;
}
.tag.new { background: var(--grad); color: #0a0a12; }
.timeline h4 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -.01em; }
.timeline p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============ CTA BAND ============ */
.cta-band { padding: 90px 0 110px; }
.cta-inner {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(167,139,250,.10), rgba(34,211,238,.04));
  border: 1px solid var(--line-strong); border-radius: 24px;
  padding: 56px 32px;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; inset: -80px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(167,139,250,.18), transparent 70%) 20% 0/60% 60% no-repeat,
    radial-gradient(closest-side, rgba(34,211,238,.18), transparent 70%) 80% 100%/60% 60% no-repeat;
  filter: blur(20px);
}
.cta-form {
  display: flex; gap: 10px; justify-content: center; margin: 24px auto 8px; max-width: 520px;
  position: relative;
}
.cta-form input {
  flex: 1; min-width: 0;
  background: rgba(0,0,0,.4); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 12px 18px; font-size: 14.5px; font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.cta-form input::placeholder { color: var(--muted-2); }
.cta-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(167,139,250,.15); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px;
}
.footer h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--text); font-size: 14px; opacity: .8; transition: opacity .15s; }
.footer ul a:hover { opacity: 1; }
.footer .small { font-size: 13px; }
.footer .muted { color: var(--muted); }
.footer .brand { margin-bottom: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 30px; margin-top: 50px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
  background: rgba(20,20,28,.95); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 18px; font-size: 14px;
  box-shadow: var(--shadow-lg); z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ SUBPAGE ============ */
.page-hero {
  padding: 80px 0 44px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  letter-spacing: -.03em; line-height: 1.05;
  margin: 0 0 14px; font-weight: 800;
}
.page-hero p.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }

.page-body { padding: 56px 0 100px; }
.page-body > .container { max-width: 820px; }
.prose h2 {
  font-size: 26px; letter-spacing: -.02em; line-height: 1.15;
  margin: 48px 0 14px; font-weight: 800;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 34px 0 10px; font-weight: 700; letter-spacing: -.01em; }
.prose p { color: var(--muted); margin: 0 0 16px; font-size: 16px; line-height: 1.65; }
.prose p.center { text-align: center; }
.prose ul, .prose ol { display: grid; gap: 10px; margin: 16px 0 20px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.prose ul li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 700;
}
.prose ol { counter-reset: step; padding-left: 0; }
.prose ol li {
  position: relative; padding-left: 34px; color: var(--muted); line-height: 1.6;
  counter-increment: step;
}
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #0a0a12;
  background: linear-gradient(135deg,#c4b5fd,#67e8f9);
}
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(167,139,250,.4); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.prose a:hover { text-decoration-color: var(--primary); }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { color: var(--text); font-style: italic; }
.prose code {
  background: var(--panel); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 6px; font-size: .88em; color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.prose pre {
  background: rgba(10,10,18,.7); border: 1px solid var(--line-strong);
  padding: 18px 20px; border-radius: 12px; overflow-x: auto;
  font-size: 13px; line-height: 1.6; color: #e8e8ee;
  margin: 18px 0 22px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.prose pre code { background: none; border: none; padding: 0; font-size: inherit; }
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 10px 18px; margin: 22px 0;
  color: var(--text); background: var(--panel); border-radius: 0 10px 10px 0;
  font-style: italic;
}
.prose blockquote strong { font-style: normal; }
.prose hr {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 40px 0;
}

.tile-grid {
  display: grid; gap: 16px; margin: 28px 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tile {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 22px 20px;
  transition: transform .25s, border-color .25s, background .25s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--panel-strong); }
.tile h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 13px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  transition: color .15s, border-color .15s, background .15s;
  margin-bottom: 24px;
}
.back-link:hover { color: var(--text); border-color: var(--line-strong); background: var(--panel-strong); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3);
  color: #6ee7b7;
}
.status-pill.warn { background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.3); color: #fde68a; }
.status-pill.bad { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.3); color: #fca5a5; }

.auth-card {
  max-width: 440px; margin: 30px auto 10px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 30px;
  box-shadow: var(--shadow-lg);
}
.auth-card form { display: grid; gap: 12px; }
.auth-card input {
  background: rgba(0,0,0,.4); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; font-size: 14.5px; font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.auth-card input::placeholder { color: var(--muted-2); }
.auth-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(167,139,250,.15); }
.auth-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, rgba(20,20,28,.85), rgba(12,12,18,.85));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid; place-items: center;
  margin: 20px 0 30px;
  box-shadow: var(--shadow-lg);
}
.video-frame .play {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #0a0a12;
  font-size: 26px; padding-left: 6px;
  box-shadow: 0 20px 60px -10px rgba(167,139,250,.5);
  transition: transform .25s;
}
.video-frame:hover .play { transform: scale(1.06); }
.video-frame .caption { position: absolute; bottom: 18px; color: var(--muted); font-size: 13px; }

/* timeline (used on changelog subpage) — reset .prose ol counter styling */
.prose ol.timeline,
.prose ul.timeline {
  padding: 0;
  counter-reset: none;
  display: grid;
  gap: 18px;
  margin: 24px 0;
  list-style: none;
}
.prose ol.timeline li,
.prose ul.timeline li {
  padding: 22px 22px 22px 26px;
  counter-increment: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  color: var(--muted);
  line-height: 1.55;
}
.prose ol.timeline li::before,
.prose ul.timeline li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22px;
  right: auto;
  bottom: 22px;
  width: 3px;
  height: auto;
  border-radius: 3px;
  background: var(--grad);
  display: block;
  padding: 0;
  counter-increment: none;
  color: transparent;
  font-size: 0;
}
.prose .timeline h4 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -.01em; color: var(--text); font-weight: 700; }
.prose .timeline p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.prose .timeline .ver { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }

@media (max-width: 620px) {
  .page-hero { padding: 56px 0 32px; }
  .page-hero h1 { font-size: 32px; line-height: 1.1; }
  .page-hero p.lede { font-size: 16px; }
  .page-body { padding: 40px 0 72px; }
  .prose h2 { font-size: 22px; margin: 36px 0 10px; }
  .prose h3 { font-size: 17px; margin: 28px 0 8px; }
  .prose p { font-size: 15.5px; }
  .prose pre { padding: 14px 16px; font-size: 12.5px; border-radius: 10px; }
  .prose blockquote { padding: 10px 14px; margin: 18px 0; }
  .auth-card { padding: 24px; }
  .tile-grid { gap: 12px; }
  .tile { padding: 18px 18px 16px; }
  .video-frame { border-radius: 16px; }
  .video-frame .play { width: 60px; height: 60px; font-size: 22px; }
}

@media (max-width: 420px) {
  .page-hero { padding: 44px 0 26px; }
  .page-hero h1 { font-size: 28px; }
  .page-body { padding: 32px 0 60px; }
  .prose h2 { font-size: 20px; }
  .prose pre { padding: 12px 14px; font-size: 12px; }
  .tile-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 20px; border-radius: 14px; }
  .prose ol.timeline li,
  .prose ul.timeline li { padding: 18px 18px 18px 22px; }
}

/* ============ MENU BUTTON ============ */
.menu-btn {
  display: none;
  width: 40px; height: 40px; padding: 0;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:hover { background: var(--panel-strong); }
.menu-bars { display: grid; gap: 4px; width: 18px; }
.menu-bars i {
  display: block; height: 2px; background: var(--text); border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(7,7,11,.96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu-inner { padding: 10px 24px 18px; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu a {
  display: block; padding: 14px 14px;
  color: var(--text); font-size: 16px; font-weight: 500;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.mobile-menu a:hover, .mobile-menu a:focus-visible { background: var(--panel); }
.mobile-menu a.muted-link { color: var(--muted); font-size: 14px; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 16px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid, .ceo-grid, .changelog-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .t-grid, .price-grid, .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { gap: 26px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta .ghost-link { display: none; }
  .menu-btn { display: inline-flex; }
  .ceo-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .feature-grid, .t-grid, .price-grid, .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-form { flex-direction: column; border-radius: 14px; }
  .cta-form input, .cta-form .btn { width: 100%; }
  .display { font-size: 40px; }
  .ceo { padding: 80px 0; }
  .ceo-stats { grid-template-columns: 1fr 1fr; }
  .badge-1 { left: 0; top: 4%; }
  .badge-2 { right: 0; bottom: 4%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-cta .btn-sm { padding: 10px 14px; }
  .features, .testimonials, .pricing, .changelog { padding: 80px 0; }
}
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .display { font-size: 34px; letter-spacing: -.028em; }
  .h2 { font-size: 28px; }
  .lede { font-size: 16px; }
  .hero { padding: 44px 0 32px; }
  .hero-ctas { gap: 10px; margin: 24px 0 20px; }
  .hero-ctas .btn { width: 100%; }
  .mock-body { padding: 16px; gap: 14px; }
  .mock-row { gap: 10px; }
  .mock-stat { padding: 12px; }
  .mock-value { font-size: 24px; }
  .mock-value small { font-size: 12px; }
  .ceo { padding: 64px 0; }
  .ceo-stats .num { font-size: 28px; }
  .features, .testimonials, .pricing, .changelog { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .cta-band { padding: 64px 0 80px; }
  .cta-inner { padding: 40px 22px; border-radius: 20px; }
  .amt { font-size: 34px; }
  .badge-float { font-size: 11.5px; padding: 6px 10px; }
  .nav-inner { gap: 12px; }
  .brand-name { font-size: 17px; }
  .nav-cta { gap: 8px; }
  .footer { padding: 56px 0 24px; }
  .footer-grid { gap: 28px 20px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .blob, .photo-ring, .photo-ring img { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
