/* ================================================================== */
/*  Design tokens — NEW BRAND PALETTE: Amber → Rose → Purple          */
/* ================================================================== */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0b0d15;
  --bg-3: #10131d;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --surface-3: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.15);
  --border-3: rgba(255,255,255,.22);
  --text: #f3f4f8;
  --text-2: #a9afc0;
  --text-3: #6a7186;

  /* Brand */
  --brand-1: #f59e0b;   /* amber */
  --brand-2: #f43f5e;   /* rose */
  --brand-3: #a855f7;   /* purple */

  --accent: #fbbf24;
  --accent-2: #f43f5e;
  --accent-3: #a855f7;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --grad: linear-gradient(135deg, #f59e0b, #f43f5e 50%, #a855f7);
  --grad-2: linear-gradient(135deg, #fbbf24, #ec4899);
  --grad-3: linear-gradient(135deg, #fb923c, #c026d3);

  --glow: 0 0 60px rgba(244,63,94,.35);
  --glow-sm: 0 0 24px rgba(244,63,94,.4);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.5);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #fdfcfb;
  --bg-2: #f8f6f4;
  --bg-3: #f0ece8;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --surface-3: #f2efec;
  --border: rgba(30,20,40,.08);
  --border-2: rgba(30,20,40,.15);
  --border-3: rgba(30,20,40,.24);
  --text: #180c1a;
  --text-2: #514055;
  --text-3: #8b7f8e;

  --brand-1: #d97706;
  --brand-2: #e11d48;
  --brand-3: #9333ea;

  --accent: #d97706;
  --accent-2: #e11d48;
  --accent-3: #9333ea;
  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;

  --grad: linear-gradient(135deg, #d97706, #e11d48 50%, #9333ea);
  --grad-2: linear-gradient(135deg, #f59e0b, #db2777);
  --grad-3: linear-gradient(135deg, #ea580c, #a21caf);

  --glow: 0 0 60px rgba(225,29,72,.22);
  --glow-sm: 0 0 24px rgba(225,29,72,.25);

  --shadow-sm: 0 1px 2px rgba(24,12,26,.06);
  --shadow-md: 0 8px 24px rgba(24,12,26,.08);
  --shadow-lg: 0 24px 64px rgba(24,12,26,.14);
}

/* ================================================================== */
/*  Reset                                                              */
/* ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, canvas, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
code, kbd, pre { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace; font-size: .92em; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
::selection { background: rgba(244,63,94,.35); color: var(--text); }

/* ================================================================== */
/*  Overlays                                                           */
/* ================================================================== */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(244,63,94,.14), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
  mix-blend-mode: screen;
}
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(217,119,6,.1), transparent 60%);
  mix-blend-mode: multiply;
}
@media (hover: hover) { .cursor-glow { opacity: 1; } }
@media (max-width: 880px) { .cursor-glow { display: none; } }

/* ================================================================== */
/*  Nav                                                                */
/* ================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  box-shadow: var(--glow-sm);
  transition: transform .3s var(--ease-spring);
  flex-shrink: 0;
}
.nav-logo svg { width: 100%; height: 100%; display: block; border-radius: 9px; }
.nav-brand:hover .nav-logo { transform: rotate(-6deg) scale(1.06); }
.nav-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.theme-btn:hover { border-color: var(--border-2); background: var(--surface-2); }
.theme-icon { position: absolute; transition: transform .5s var(--ease-spring), opacity .3s ease; }
.theme-icon.sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.theme-icon.moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-icon.sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-icon.moon { opacity: 0; transform: rotate(90deg) scale(.6); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================================================================== */
/*  Buttons                                                            */
/* ================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform .15s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 13px; }
.btn-xl { padding: 18px 32px; font-size: 17px; border-radius: 15px; }

.btn-primary {
  background: var(--grad);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--glow-sm);
  animation: gradientShift 8s ease infinite;
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(244,63,94,.5); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.btn-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shine 4s ease infinite;
  pointer-events: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--accent); }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ================================================================== */
/*  Layout                                                             */
/* ================================================================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container-narrow { max-width: 780px; }
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--text-2); line-height: 1.65; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 8%, transparent);
}

/* ================================================================== */
/*  Hero                                                               */
/* ================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 24px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.hero-grid-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244,63,94,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,63,94,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  top: 5%; left: 50%;
  width: 900px; height: 700px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(244,63,94,.22), transparent 60%);
  filter: blur(60px);
  animation: breathe 6s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  margin-bottom: 80px;
  width: 100%;
}

/* ==================== NEW: Hero logo ============================== */
.hero-logo-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}
.hero-logo-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,.5), transparent 60%);
  filter: blur(40px);
  animation: breathe 4s ease-in-out infinite;
  pointer-events: none;
}
.hero-logo {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(244,63,94,.45),
    0 0 0 1px rgba(255,255,255,.08) inset;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.hero-logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 40px;
  border: 1px solid rgba(244,63,94,.35);
  animation: ringPulse 3s ease-out infinite;
  pointer-events: none;
}

/* ==================== END hero logo =============================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 100%;
}
.hero-badge span:not(.hero-badge-dot) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 12px var(--ok);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero-line { display: block; }
.gradient-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.7vw, 20px);
  color: var(--text-2);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.65;
  padding: 0 4px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--ok); flex-shrink: 0; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); display: inline-block; }

.hero-preview { position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: 0 auto; }
.hero-window {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03);
  z-index: 2;
}
[data-theme="light"] .hero-window { box-shadow: 0 40px 100px rgba(24,12,26,.14); }
.hero-window-bar {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-dot.red { background: #ff5f56; }
.win-dot.yellow { background: #ffbd2e; }
.win-dot.green { background: #27c93f; }
.win-url {
  margin-left: 16px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--surface);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.hero-window-body { display: grid; grid-template-columns: 260px 1fr; min-height: 380px; }
.hero-sidebar { padding: 20px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .3s var(--ease);
}
.hero-step.active {
  border-color: color-mix(in srgb, var(--accent-2) 40%, transparent);
  background: color-mix(in srgb, var(--accent-2) 8%, transparent);
}
.hero-step.done { border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.step-icon { font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.hero-step strong { display: block; font-size: 13px; margin-bottom: 2px; }
.hero-step small { color: var(--text-3); font-size: 11.5px; }
.hero-main { padding: 20px; overflow: hidden; }
.hero-dataset { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg); }
.hero-dataset-head {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}
.pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-dataset-rows { padding: 6px 0; }
.hero-row {
  padding: 8px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
.hero-row:last-child { border-bottom: none; }
.hero-row span:first-child { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-window-glow {
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle at center, rgba(244,63,94,.25), transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}

/* ================================================================== */
/*  Trust                                                              */
/* ================================================================== */
.trust { padding: 60px 0; position: relative; z-index: 2; }
.trust-label {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 0 12px;
}
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; }
.trust-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-3);
  opacity: .55;
  transition: opacity .3s ease, color .3s ease, transform .3s var(--ease);
}
.trust-logo:hover { opacity: 1; color: var(--text); transform: translateY(-2px); }

/* ================================================================== */
/*  Feature grid                                                       */
/* ================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.feature-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: all .4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.feature-card-glow {
  position: absolute;
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,.22), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform .4s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.08); }
.gradient-1 { background: linear-gradient(135deg, #f59e0b, #f43f5e); }
.gradient-2 { background: linear-gradient(135deg, #f43f5e, #a855f7); }
.gradient-3 { background: linear-gradient(135deg, #fb923c, #ef4444); }
.gradient-4 { background: linear-gradient(135deg, #a855f7, #f43f5e); }
.gradient-5 { background: linear-gradient(135deg, #fbbf24, #a855f7); }
.gradient-6 { background: linear-gradient(135deg, #ec4899, #f59e0b); }

.feature-card h3 { font-size: clamp(17px, 2vw, 20px); margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.feature-list svg { color: var(--ok); flex-shrink: 0; }

/* ================================================================== */
/*  Steps                                                              */
/* ================================================================== */
.steps-row { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.step-card {
  flex: 1 1 260px;
  max-width: 320px;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all .4s var(--ease);
}
.step-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.step-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--text-2); font-size: 14.5px; }
.step-arrow { align-self: center; font-size: 24px; color: var(--text-3); opacity: .5; }

/* ================================================================== */
/*  Use case                                                           */
/* ================================================================== */
.usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.usecase-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all .4s var(--ease);
}
.usecase-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.usecase-icon { font-size: 32px; margin-bottom: 14px; transition: transform .4s var(--ease-spring); }
.usecase-card:hover .usecase-icon { transform: scale(1.15) rotate(-8deg); }
.usecase-card h3 { font-size: 18px; margin-bottom: 8px; }
.usecase-desc { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.usecase-code {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--accent-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================================================================== */
/*  Privacy                                                            */
/* ================================================================== */
.section-accent { padding: 80px 0; }
.privacy-card {
  padding: 60px 48px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 8%, transparent), color-mix(in srgb, var(--accent-3) 8%, transparent));
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.privacy-icon-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--accent-2);
  animation: float 4s ease-in-out infinite;
}
.privacy-card h2 { font-size: clamp(22px, 3vw, 36px); margin-bottom: 16px; }
.privacy-card > p { color: var(--text-2); font-size: 15px; margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; }
.privacy-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.privacy-stat { text-align: center; min-width: 90px; }
.privacy-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.privacy-stat span { color: var(--text-3); font-size: 13px; }

/* ================================================================== */
/*  CTA                                                                */
/* ================================================================== */
.cta-section { padding: 80px 0 120px; }
.cta-card {
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  width: 700px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(244,63,94,.28), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite;
}
.cta-card h2 { font-size: clamp(26px, 4vw, 46px); margin-bottom: 16px; position: relative; }
.cta-card > p { color: var(--text-2); font-size: 16px; max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }

/* ================================================================== */
/*  Footer                                                             */
/* ================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 72px 0 32px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-2); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ================================================================== */
/*  Page hero                                                          */
/* ================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  overflow: hidden;
}
.page-hero-sm { padding-bottom: 60px; }
.page-hero .hero-glow { position: absolute; top: -20%; width: 800px; height: 600px; }
.page-title { font-size: clamp(32px, 5.5vw, 68px); letter-spacing: -0.04em; margin-bottom: 20px; position: relative; z-index: 2; padding: 0 12px; }
.page-sub { font-size: clamp(15px, 1.5vw, 18px); color: var(--text-2); max-width: 620px; margin: 0 auto; position: relative; z-index: 2; padding: 0 12px; }

/* ================================================================== */
/*  Download                                                           */
/* ================================================================== */
.download-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  overflow: hidden;
}
.download-hero .hero-glow { position: absolute; top: -20%; width: 800px; height: 600px; }
.download-card {
  margin-top: 48px;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  background: var(--surface);
  backdrop-filter: blur(12px);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.download-icon-wrap {
  position: relative;
  width: 160px; height: 160px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}
.download-icon {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(244,63,94,.45);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.download-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,.5), transparent 60%);
  filter: blur(30px);
  animation: breathe 4s ease-in-out infinite;
}
.download-icon-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(244,63,94,.35);
  animation: ringPulse 3s ease-out infinite;
}
.download-name { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; letter-spacing: -0.02em; }
.download-desc { color: var(--text-2); font-size: 14.5px; max-width: 440px; margin: 0 auto 36px; padding: 0 4px; }
.download-btn {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 24px;
  justify-content: flex-start;
  text-align: left;
}
.download-btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
.download-btn-text strong { font-size: 15px; font-weight: 700; }
.download-btn-text small { font-size: 12px; opacity: .75; font-weight: 400; }
.download-meta { display: flex; justify-content: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.dm-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.dm-item svg { color: var(--ok); flex-shrink: 0; }
.download-alt { text-align: center; margin-top: 32px; }

/* ================================================================== */
/*  Install steps                                                      */
/* ================================================================== */
.install-steps { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin: 0 auto; }
.install-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all .3s var(--ease);
}
.install-step:hover { border-color: var(--border-2); transform: translateX(4px); }
.step-marker {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  box-shadow: var(--glow-sm);
}
.step-body h3 { font-size: 17px; margin-bottom: 4px; }
.step-body p { color: var(--text-2); font-size: 14px; }
.step-body code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 12.5px;
  color: var(--accent-2);
  word-break: break-word;
}

/* ================================================================== */
/*  Requirements / try                                                 */
/* ================================================================== */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.req-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  transition: all .3s var(--ease);
}
.req-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.req-card > svg { color: var(--accent-2); margin: 0 auto 16px; }
.req-card h3 { font-size: 18px; margin-bottom: 6px; }
.req-card p { color: var(--text-2); font-size: 14px; }

.try-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.try-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: all .3s var(--ease);
}
.try-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); }
.try-goal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--accent-2);
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  word-break: break-word;
}
.try-explain { font-size: 13px; color: var(--text-2); }

/* ================================================================== */
/*  Feature details                                                    */
/* ================================================================== */
.feature-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.fd-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  position: relative;
  transition: all .4s var(--ease);
}
.fd-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.fd-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text-3);
  opacity: .15;
  letter-spacing: -0.04em;
}
.fd-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.fd-card h3 { font-size: 20px; margin-bottom: 10px; }
.fd-card > p { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }
.fd-card code { background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; font-size: 12.5px; color: var(--accent-2); }
.fd-list { display: flex; flex-direction: column; gap: 8px; }
.fd-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.fd-list svg { color: var(--ok); flex-shrink: 0; }
.fd-list code { font-size: 12px; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tech-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: all .3s var(--ease); }
.tech-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tech-card strong { display: block; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.tech-card span { font-size: 13px; color: var(--text-3); }

/* ================================================================== */
/*  Docs                                                               */
/* ================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 120px;
  position: relative;
  z-index: 2;
}
.docs-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); height: fit-content; }
.docs-nav { display: flex; flex-direction: column; gap: 2px; }
.docs-nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: all .2s ease;
  border-left: 2px solid transparent;
}
.docs-nav-link:hover { color: var(--text); background: var(--surface); }
.docs-nav-link.active {
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 8%, transparent);
  border-left-color: var(--accent-2);
  padding-left: 18px;
}
.docs-main { max-width: 720px; min-width: 0; }
.docs-section { margin-bottom: 80px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.docs-section h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; margin-bottom: 20px; }
.docs-section h3 { font-size: 20px; margin: 32px 0 12px; }
.docs-section p { color: var(--text-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
.docs-section code { background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 5px; font-size: 13px; color: var(--accent-2); word-break: break-word; }

.code-block { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 20px 0; overflow-x: auto; font-size: 13.5px; line-height: 1.7; }
.code-block code { background: none; border: none; padding: 0; color: var(--text-2); }

.docs-table { width: 100%; border-collapse: collapse; margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.docs-table th, .docs-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.docs-table th { background: var(--surface-2); font-weight: 600; color: var(--text-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.docs-table td { color: var(--text-2); }
.docs-table tr:last-child td { border-bottom: none; }
.docs-table td code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; color: var(--accent-2); }

.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 20px 0; }
.action-card { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.action-card code { display: block; font-size: 13px; color: var(--accent-2); margin-bottom: 6px; background: none; border: none; padding: 0; }
.action-card p { font-size: 12.5px; color: var(--text-3); margin: 0; }

.kbd-row { display: flex; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; flex-wrap: wrap; }
.kbd-row:last-child { border-bottom: none; }
kbd { padding: 3px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-2); border-bottom-width: 2px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text); }
.kbd-desc { color: var(--text-3); font-size: 13px; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; background: var(--surface); transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--text-3); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

/* ================================================================== */
/*  About                                                              */
/* ================================================================== */
.prose h2 { font-size: clamp(22px, 2.8vw, 28px); letter-spacing: -0.02em; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; }
.principle-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 40px; }
.principle-list li { padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-2); font-size: 15px; line-height: 1.65; }
.principle-list strong { color: var(--text); }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 20px 0 40px; }
.stack-item { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stack-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.stack-item span { color: var(--text-3); font-size: 13px; }

/* ================================================================== */
/*  Changelog                                                          */
/* ================================================================== */
.timeline { display: flex; flex-direction: column; gap: 32px; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent); }
.timeline-item { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: all .3s var(--ease); }
.timeline-item:hover { border-color: var(--border-2); transform: translateX(4px); }
.timeline-dot { position: absolute; left: -40px; top: 32px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); border: 4px solid var(--bg); box-shadow: 0 0 20px rgba(244,63,94,.5); }
.timeline-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.version { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--accent-2); }
.timeline-meta time { color: var(--text-3); font-size: 13px; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tag-new { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.timeline-body h3 { font-size: 20px; margin-bottom: 14px; }
.timeline-body ul { display: flex; flex-direction: column; gap: 8px; }
.timeline-body li { padding-left: 20px; position: relative; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.timeline-body li::before { content: '→'; position: absolute; left: 0; color: var(--accent-2); }
.timeline-body strong { color: var(--text); }

/* ================================================================== */
/*  404                                                                */
/* ================================================================== */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; position: relative; overflow: hidden; }
.error-glow { position: absolute; width: 800px; height: 600px; background: radial-gradient(circle, rgba(244,63,94,.22), transparent 60%); filter: blur(60px); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.error-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 20vw, 200px);
  font-weight: 700;
  letter-spacing: -0.06em;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.error-title { font-size: clamp(20px, 3.5vw, 40px); margin: 24px 0 12px; letter-spacing: -0.03em; position: relative; z-index: 2; padding: 0 8px; }
.error-sub { color: var(--text-2); font-size: 16px; margin-bottom: 40px; max-width: 480px; position: relative; z-index: 2; padding: 0 8px; }
.error-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }