:root {
  color-scheme: light dark;
  /* base — light theme defaults
   * 2026-05-16 — Andaaa rebrand: cream paper + coral red accent.
   * Tokens mirror website/andaaa-rebrand/brand-assets/README.md.
   */
  --bg: #fbfaf7;
  --bg-2: #f3f0e9;
  --bg-3: #ede9e0;
  --ink: #0a0a0a;
  --ink-2: #1c1b22;
  --muted: #6b6970;
  --muted-2: #9c98a0;
  --line: #e8e4db;
  --line-2: #ddd8cc;

  /* accent: Andaaa coral red (replaces v1 warm violet).
   * Hue 30 in oklch ≈ #ef5435 — the L9 logomark front-letter colour.
   * v-* aliases retained so existing classes keep compiling without rename. */
  --v-50:  oklch(0.97 0.02 30);
  --v-100: oklch(0.93 0.05 30);
  --v-200: oklch(0.85 0.10 30);
  --v-400: oklch(0.72 0.16 30);
  --v-500: oklch(0.65 0.20 30);   /* primary coral — #ef5435 anchor */
  --v-600: oklch(0.55 0.20 30);
  --v-700: oklch(0.45 0.18 30);
  --v-ink: oklch(0.30 0.10 30);

  /* explicit accent tokens — preferred for new code */
  --accent:        #ef5435;
  --accent-2:      #ffa28c;
  --accent-light:  #fdece6;
  --accent-ink:    #6b1f0d;

  /* font */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --display: "Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  /* timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 220ms;
  --t-med: 480ms;
  --t-slow: 720ms;

  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(15,14,20,0.04);
  --shadow-md: 0 10px 30px rgba(15,14,20,0.06);
  --shadow-lg: 0 30px 70px rgba(15,14,20,0.10);
  /* shadow-violet kept as-is name to avoid 30+ class renames; now coral */
  --shadow-violet: 0 20px 60px oklch(0.65 0.20 30 / 0.18);
}

/* 2026-05-15 — Dark theme.
   Two trigger paths:
     1. <html data-theme="dark"> — explicit user opt-in (toggle button)
     2. prefers-color-scheme: dark (system default) WHEN no explicit
        choice has been made — gated via <html data-theme="auto"> set by
        the early-mount inline script in index.html.
   Both paths swap base tokens; the violet accent palette stays the same
   because oklch keeps perceptual lightness consistent. */
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #0d0d10;
    --bg-2: #15151a;
    --bg-3: #1d1d23;
    --ink: #f4f2ee;
    --ink-2: #d8d6d2;
    --muted: #9b9aa0;
    --muted-2: #74737a;
    --line: #2a2a31;
    --line-2: #383841;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.40);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.45);
    --shadow-lg: 0 30px 70px rgba(0,0,0,0.55);
    --shadow-violet: 0 20px 60px oklch(0.65 0.22 30 / 0.40);
  }
}
html[data-theme="dark"] {
  --bg: #0d0d10;
  --bg-2: #15151a;
  --bg-3: #1d1d23;
  --ink: #f4f2ee;
  --ink-2: #d8d6d2;
  --muted: #9b9aa0;
  --muted-2: #74737a;
  --line: #2a2a31;
  --line-2: #383841;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.40);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.55);
  --shadow-violet: 0 20px 60px oklch(0.55 0.17 285 / 0.40);
}

/* Theme-toggle button — pill with sun/moon glyphs that flip via CSS
   based on the active theme. Tiny, sits in nav-right. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
  padding: 0;
}
.theme-toggle:hover { background: var(--bg-2); border-color: var(--ink-2); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .theme-toggle .sun { display: none; }
  html[data-theme="auto"] .theme-toggle .moon { display: block; }
}

/* Smooth tween between modes — limit transitions to colour-affecting
   props so layout/animation don't jank during the swap. */
html { transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out); }
body, .nav, .footer, .card, .btn, .chip-float, .pill, .tag {
  transition: background-color 240ms var(--ease-out),
              color 240ms var(--ease-out),
              border-color 240ms var(--ease-out);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { font-size: 17px; line-height: 1.55; letter-spacing: -0.005em; text-rendering: optimizeLegibility; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ============================= TYPE ============================= */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v-600);
  font-weight: 500;
}

.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: balance;
}
.h0 { font-size: clamp(56px, 9vw, 124px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; }
.h1 { font-size: clamp(44px, 6.5vw, 88px); letter-spacing: -0.04em; line-height: 1.0; font-weight: 600; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }

.sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============================= BUTTONS ============================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out), background 180ms ease, border-color 180ms, color 180ms, box-shadow 280ms ease;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.985); }
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, var(--shadow-md);
}
.btn-primary:hover { background: #25232c; box-shadow: var(--shadow-lg); }
.btn-violet {
  background: var(--v-500); color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn-violet:hover { background: var(--v-600); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: rgba(15,14,20,0.04); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 14px; height: 40px; }
.btn-ghost:hover { background: rgba(15,14,20,0.05); }

.btn .arr { display: inline-block; transition: transform 220ms var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ============================= NAV ============================= */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(250,249,246,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--ink-2); padding: 8px 14px; border-radius: 8px;
  transition: background 160ms ease;
}
.nav-links a:hover { background: rgba(15,14,20,0.05); }
.nav-right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* 2026-05-15 — match canonical brand mark from logo.svg.
   The v2 design originally shipped a 22px purple-gradient diamond which
   diverged from our SVG logomark (small black diamond + "andaaa"
   wordmark). Restored to the original treatment so the favicon, social
   preview, and inline header all read as the same brand. */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: -0.025em; font-size: 18px; color: var(--ink);
}
.logo .mark {
  width: 14px; height: 14px;
  background: var(--ink);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: none;
}
.logo .mark::after { content: none; }

/* ============================= REVEAL ============================= */
/* Content is always visible. The `.in` class layers a tiny entrance animation. */
.reveal { opacity: 1; transform: none; transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }
.reveal-anim { animation: fadeUp 720ms var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-1 { transition-delay: 80ms; }
.reveal-2 { transition-delay: 160ms; }
.reveal-3 { transition-delay: 240ms; }
.reveal-4 { transition-delay: 320ms; }
.reveal-5 { transition-delay: 400ms; }
.reveal-6 { transition-delay: 480ms; }
.reveal-7 { transition-delay: 560ms; }
.reveal-8 { transition-delay: 640ms; }

/* ============================= SECTION ============================= */
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section-narrow { padding: clamp(72px, 9vw, 120px) 0; }
.divider { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head .sub { margin-top: 24px; }

/* ============================= HERO ============================= */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 180px) 0 clamp(96px, 12vw, 160px);
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin: 0; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--v-500); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero .sub { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); }
.hero-actions { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.02em; }

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 85% 20%, oklch(0.85 0.08 285 / 0.32) 0%, transparent 60%),
    radial-gradient(40% 40% at 10% 95%, oklch(0.90 0.06 70 / 0.25) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.float-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.chip-float {
  position: absolute;
  padding: 10px 16px 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: floatY 6s var(--ease-in-out) infinite;
}
.chip-float .t { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chip-float .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--v-500); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 1100px) {
  .chip-float { display: none; }
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--muted) 0%, transparent 100%);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================= PROBLEM ============================= */
.problem {
  background: var(--bg);
  padding: clamp(120px, 15vw, 220px) 0;
  position: relative;
  overflow: hidden;
}
.problem-stage {
  position: relative;
  margin: 100px auto 0;
  height: clamp(480px, 56vw, 620px);
  max-width: 1000px;
}
.brain {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 22vw, 220px);
  height: clamp(160px, 22vw, 220px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, oklch(0.97 0.02 285) 0%, oklch(0.85 0.07 285) 70%, oklch(0.65 0.14 285) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    var(--shadow-violet);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  animation: brainPulse 4s ease-in-out infinite;
}
.brain .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v-ink);
  font-weight: 500;
}
@keyframes brainPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.6) inset, var(--shadow-violet), 0 0 0 0 oklch(0.55 0.17 285 / 0); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.6) inset, var(--shadow-violet), 0 0 0 28px oklch(0.55 0.17 285 / 0.08); }
}

.thought {
  position: absolute;
  left: 50%; top: 50%;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 1;
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  z-index: 2;
  white-space: nowrap;
}
.thought .ti { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.thought .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--v-500); }
@media (max-width: 760px) {
  .thought { font-size: 12px; padding: 8px 12px; }
  .thought .ti { font-size: 10px; }
}

/* ============================= SOLUTION (sticky scroll) ============================= */
.solution { background: var(--bg); padding: clamp(96px, 12vw, 160px) 0; }
.sol-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.sol-track > div { height: 100%; }
.sol-text { position: sticky; top: 120px; padding: clamp(48px, 8vw, 80px) 0; min-height: 60vh; }
.sol-visual {
  position: relative;
  height: 540px;
  display: flex; align-items: center; justify-content: center;
}
.sol-steps { display: flex; flex-direction: column; gap: clamp(180px, 24vw, 280px); }

.sol-step .num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--v-600);
  text-transform: uppercase; font-weight: 500; margin-bottom: 16px; display: block;
}
.sol-step h3 { margin: 0; }
.sol-step p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 36ch; }

.sticky-stage {
  position: sticky; top: 100px;
  height: min(calc(100vh - 140px), 680px);
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.stage-card {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(0.96);
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  display: flex; align-items: center; justify-content: center;
}
.stage-card.active { opacity: 1; transform: scale(1); }

@media (max-width: 880px) {
  .sol-track { grid-template-columns: 1fr; gap: 24px; }
  .sol-text { position: static; }
  .sol-steps { gap: 80px; }
  .sticky-stage { position: relative; top: auto; height: 460px; margin: 32px 0; }
}

/* Phone shared */
.phone {
  width: 280px; height: 540px;
  background: #0a0a0a;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
  flex-shrink: 0;
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 16px; background: #0a0a0a; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}
.phone-screen-inner { padding: 50px 18px 18px; height: 100%; display: flex; flex-direction: column; }

/* Step 1: typing message */
.step1-msg {
  margin-top: auto;
  margin-bottom: 8px;
  background: var(--v-500);
  color: #fff;
  border-radius: 18px 18px 6px 18px;
  padding: 11px 14px;
  font-size: 13px;
  align-self: flex-end;
  max-width: 84%;
  box-shadow: 0 4px 12px oklch(0.55 0.17 285 / 0.18);
  animation: msgPop 600ms var(--ease-out);
}
.step1-typing {
  align-self: flex-end;
  background: var(--bg-2);
  border-radius: 18px;
  padding: 10px 14px;
  display: inline-flex; gap: 4px;
  margin-bottom: 8px;
}
.step1-typing span {
  width: 6px; height: 6px; border-radius: 999px; background: var(--muted);
  animation: typeBlink 1.2s ease-in-out infinite;
}
.step1-typing span:nth-child(2) { animation-delay: 0.15s; }
.step1-typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typeBlink {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes msgPop {
  from { transform: translateY(8px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}
.phone-input {
  height: 38px;
  background: var(--bg-2);
  border-radius: 14px;
  display: flex; align-items: center;
  padding: 0 14px;
  font-size: 12px; color: var(--muted);
  font-family: var(--mono);
  margin-top: 12px;
}
.phone-input .caret {
  margin-left: 4px;
  width: 1.5px; height: 14px; background: var(--ink); animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Step 2: memory graph */
.memory-graph {
  position: relative;
  width: 100%; height: 100%;
}
.memory-graph svg { width: 100%; height: 100%; overflow: visible; }
.mg-node {
  fill: var(--bg);
  stroke: var(--line-2);
  stroke-width: 1.5;
}
.mg-node.center { fill: var(--v-500); stroke: var(--v-500); }
.mg-link { stroke: var(--v-200); stroke-width: 1.5; stroke-dasharray: 4 4; }
.mg-link.active { stroke: var(--v-500); stroke-dasharray: 0; }

/* Step 3: notification */
.notif-stage {
  width: 280px; height: 540px;
  background: linear-gradient(160deg, oklch(0.35 0.08 285), oklch(0.20 0.05 285));
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.notif-stage::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 16px; background: #0a0a0a; z-index: 3;
}
.notif-screen { width: 100%; height: 100%; border-radius: 36px; padding: 70px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.notif-time { color: #fff; font-size: 48px; font-weight: 300; text-align: center; letter-spacing: -0.04em; margin-bottom: 8px; line-height: 1; }
.notif-date { color: rgba(255,255,255,0.6); text-align: center; font-size: 13px; margin-top: -6px; margin-bottom: 18px; font-weight: 500; }
.notif {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 14px 16px;
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  animation: notifSlide 600ms var(--ease-out);
}
.notif .ico {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--v-400), var(--v-600));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px oklch(0.55 0.17 285 / 0.3);
}
.notif .ico::after {
  content: ""; width: 12px; height: 12px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.notif .name { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; text-transform: uppercase; }
.notif .body { font-size: 13px; color: var(--ink); line-height: 1.35; margin-top: 2px; }
.notif .when { font-family: var(--mono); font-size: 11px; color: var(--muted); }
@keyframes notifSlide {
  from { transform: translateY(-12px); }
  to { transform: translateY(0); }
}

/* Step 4: calm */
.calm-stage {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.calm-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid oklch(0.55 0.17 285 / 0.20);
  animation: calmRing 4s ease-out infinite;
}
.calm-ring.r1 { width: 200px; height: 200px; animation-delay: 0s; }
.calm-ring.r2 { width: 200px; height: 200px; animation-delay: 1.3s; }
.calm-ring.r3 { width: 200px; height: 200px; animation-delay: 2.6s; }
@keyframes calmRing {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.calm-core {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(0.97 0.02 285), oklch(0.65 0.16 285));
  box-shadow: var(--shadow-violet);
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.calm-core::after {
  content: "ᠪ"; font-size: 64px; color: rgba(255,255,255,0.5); font-weight: 300;
}

/* ============================= CHAT DEMO ============================= */
.chat { background: var(--bg-2); padding: clamp(96px, 12vw, 160px) 0; }
.chat-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center;
}
@media (max-width: 940px) { .chat-grid { grid-template-columns: 1fr; gap: 48px; } }

.messenger {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
}
.messenger-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.messenger-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--v-400), var(--v-600));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px oklch(0.55 0.17 285 / 0.25);
}
.messenger-avatar::after {
  content: ""; width: 14px; height: 14px; background: #fff; border-radius: 3px; transform: rotate(45deg);
}
.messenger-head .name { font-size: 15px; font-weight: 600; }
.messenger-head .status { font-size: 12px; color: var(--muted); font-family: var(--mono); display: flex; align-items: center; gap: 6px; }
.messenger-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #2ec27e; }

.bubbles { padding: 24px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 360px; background: var(--bg); }
.bubble {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.45;
  white-space: pre-line;
  animation: bubbleIn 380ms var(--ease-out) both;
}
@keyframes bubbleIn {
  from { transform: translateY(6px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}
.bubble.ai { background: var(--bg-2); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.you {
  background: var(--v-500); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 6px;
  box-shadow: 0 6px 18px oklch(0.55 0.17 285 / 0.20);
}
.bubble.typing {
  background: var(--bg-2);
  align-self: flex-start;
  display: inline-flex; gap: 4px; padding: 14px 16px;
  border-bottom-left-radius: 6px;
}
.bubble.typing span {
  width: 6px; height: 6px; border-radius: 999px; background: var(--muted);
  animation: typeBlink 1.2s ease-in-out infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.30s; }

.messenger-input {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
}
.messenger-input .field {
  flex: 1; background: var(--bg-2); border-radius: 999px; height: 38px;
  display: flex; align-items: center; padding: 0 14px; font-family: var(--mono); font-size: 12px; color: var(--muted-2);
}

.chat-replay {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--v-600);
  background: transparent;
  border: 1px solid var(--v-200);
  padding: 8px 14px; border-radius: 999px;
  margin-top: 24px;
  transition: background 160ms;
}
.chat-replay:hover { background: var(--v-50); }

/* ============================= PRICING ============================= */
.pricing { padding: clamp(96px, 12vw, 160px) 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 64px;
  align-items: stretch;
}
.pricing-grid > * { display: flex; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex; flex-direction: column; gap: 18px;
  width: 100%;
  transition: transform 280ms var(--ease-out), box-shadow 280ms;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: linear-gradient(180deg, var(--ink) 0%, #1a1822 100%);
  color: #fff;
  border-color: var(--ink);
}
.price-card.max {
  background: linear-gradient(180deg, var(--v-700) 0%, var(--v-ink) 100%);
  color: #fff;
  border-color: var(--v-700);
  box-shadow: var(--shadow-violet);
}
.price-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--v-500); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 6px 16px oklch(0.55 0.17 285 / 0.35);
}
.price-card .badge.dark { background: var(--bg); color: var(--ink); }
.price-tier { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.price-card.featured .price-tier, .price-card.max .price-tier { opacity: 0.7; }
.price-num { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-num .num { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-num .unit { font-size: 14px; opacity: 0.7; }
.price-blurb { font-size: 14px; opacity: 0.75; line-height: 1.5; }
.price-card.featured .price-blurb, .price-card.max .price-blurb { opacity: 0.65; }

.price-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.price-points li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; }
.price-points li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--v-50);
  background-image: linear-gradient(135deg, transparent 30%, var(--v-500) 30%, var(--v-500) 70%, transparent 70%);
  background-repeat: no-repeat;
  background-size: 8px 1.5px;
  background-position: 4px 8px;
}
.price-card.featured .price-points li::before { background-color: rgba(255,255,255,0.12); }
.price-card.max .price-points li::before { background-color: rgba(255,255,255,0.15); }
/* simpler tick */
.price-points li::before {
  content: "✓"; background: transparent;
  font-size: 13px; color: var(--v-500); font-weight: 600;
  padding-left: 2px;
}
.price-card.featured .price-points li::before { color: var(--v-200); }
.price-card.max .price-points li::before { color: var(--v-100); }
.price-points li.muted { opacity: 0.45; text-decoration: line-through; }
.price-points li.muted::before { color: var(--muted-2); }

.price-card .cta { margin-top: auto; }

/* ============================= AGENTS ============================= */
.agents { padding: clamp(96px, 12vw, 160px) 0; background: var(--bg-2); }
.agents-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 64px;
}
.agents-grid > * { display: flex; }
@media (max-width: 880px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .agents-grid { grid-template-columns: 1fr; } }

.agent-card {
  position: relative;
  padding: 24px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
  min-height: 200px;
  transition: transform 280ms var(--ease-out), box-shadow 280ms, border-color 280ms;
  overflow: hidden;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--v-200); }
.agent-card .glyph {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--v-600);
  transition: background 280ms;
}
.agent-card:hover .glyph { background: var(--v-50); }
.agent-card .name { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.agent-card .desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.agent-card .pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  align-self: flex-start; margin-top: auto;
}
.agent-card.live .pill { color: var(--v-600); border-color: var(--v-200); background: var(--v-50); }
.agent-card.live .pill::before { content: "● "; }

/* ============================= FOUNDER ============================= */
.founder { padding: clamp(96px, 12vw, 160px) 0; }
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
@media (max-width: 880px) { .founder-grid { grid-template-columns: 1fr; gap: 40px; } }
.founder-photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(15,14,20,0.05) 12px 13px),
    var(--bg-2);
  border-radius: 20px;
  display: flex; align-items: flex-end; padding: 24px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.founder-photo::after {
  content: ""; position: absolute; top: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--v-400), var(--v-600));
  box-shadow: 0 8px 20px oklch(0.55 0.17 285 / 0.25);
}
.founder-text h2 { margin: 0; }
.founder-text p { margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 50ch; }
.founder-text .lead { font-size: 22px; line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; max-width: 28ch; }
.bilig-etym {
  margin-top: 32px; padding: 24px; border-radius: 14px;
  background: var(--bg-2);
  border-left: 3px solid var(--v-500);
  font-size: 15px; color: var(--ink-2); line-height: 1.6;
  max-width: 56ch;
}
.bilig-etym strong { color: var(--v-600); }

/* ============================= FINAL CTA / FOOTER ============================= */
.final-cta {
  padding: clamp(120px, 16vw, 200px) 0;
  background:
    radial-gradient(60% 60% at 50% 0%, oklch(0.55 0.17 285 / 0.10) 0%, transparent 70%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
}
.final-cta h2 { margin: 0 auto; max-width: 18ch; }
.final-cta .sub { margin: 28px auto 0; }
.final-cta-actions { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.footer { padding: 80px 0 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h5 { font-size: 11px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; color: var(--ink-2); transition: color 160ms; }
.footer ul a:hover { color: var(--v-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; margin-top: 48px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }

/* utility */
.gradient-text {
  background: linear-gradient(120deg, var(--v-500), oklch(0.55 0.14 250));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
