/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --bg:        #080b14;
  --bg-2:      #0d1120;
  --bg-3:      #111828;
  --bg-4:      #16203a;

  --text:      #f0f2f8;
  --text-2:    #d4d9ea;
  --muted:     #8892aa;
  --muted-2:   #5f6a82;

  --brand:     #6366f1;
  --brand-lt:  #818cf8;
  --brand-dim: rgba(99, 102, 241, 0.12);
  --brand-rim: rgba(99, 102, 241, 0.28);

  --ok:        #34d399;
  --ok-dim:    rgba(52, 211, 153, 0.12);
  --err:       #f87171;
  --err-dim:   rgba(248, 113, 113, 0.12);

  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;

  --sh-sm:  0 2px 8px rgba(0,0,0,0.4);
  --sh-md:  0 8px 32px rgba(0,0,0,0.5);
  --sh-lg:  0 20px 60px rgba(0,0,0,0.6);

  --focus: 0 0 0 3px rgba(99,102,241,0.35);

  --nav-h: 64px;
  --shell: min(1100px, calc(100% - 32px));

  color-scheme: dark;
}

[data-theme="light"] {
  --bg:        #f4f5f9;
  --bg-2:      #ffffff;
  --bg-3:      #f0f1f8;
  --bg-4:      #e8eaf5;

  --text:      #0d1020;
  --text-2:    #1a2038;
  --muted:     #5a6278;
  --muted-2:   #8892a8;

  --brand:     #4f46e5;
  --brand-lt:  #6366f1;
  --brand-dim: rgba(79,70,229,0.08);
  --brand-rim: rgba(79,70,229,0.22);

  --ok:        #059669;
  --ok-dim:    rgba(5,150,105,0.1);
  --err:       #dc2626;
  --err-dim:   rgba(220,38,38,0.1);

  --line:      rgba(0,0,0,0.07);
  --line-2:    rgba(0,0,0,0.13);

  --sh-sm:  0 2px 8px rgba(0,0,0,0.08);
  --sh-md:  0 8px 32px rgba(0,0,0,0.1);
  --sh-lg:  0 20px 60px rgba(0,0,0,0.14);

  color-scheme: light;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
input { font-size: max(16px, 1em); }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ── SHELL ───────────────────────────────────────────────────── */
.container {
  width: var(--shell);
  margin-inline: auto;
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: var(--shell);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--text);
}

.logo-icon {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: #fff;
  flex-shrink: 0;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  flex: 1;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 140ms, background 140ms;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--line);
}

.nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color 140ms, background 140ms;
}

.theme-btn:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  color: var(--text);
}

.theme-btn:focus-visible { outline: none; box-shadow: var(--focus); }

.btn-nav {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 1px var(--brand-rim), var(--sh-sm);
  transition: transform 120ms, opacity 120ms;
  white-space: nowrap;
}

.btn-nav:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-nav:active { transform: translateY(0); }
.btn-nav:focus-visible { outline: none; box-shadow: var(--focus); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.hero-glow-a {
  position: absolute;
  top: -120px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-b {
  position: absolute;
  top: -80px; right: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: var(--shell);
  margin-inline: auto;
  padding-bottom: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--brand-dim);
  color: var(--brand-lt);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--brand-lt);
  box-shadow: 0 0 8px var(--brand);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-title-em {
  background: linear-gradient(135deg, var(--brand-lt) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.55;
}

.br-lg { display: none; }

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px var(--brand-rim), 0 4px 20px rgba(99,102,241,0.4);
  transition: transform 130ms, box-shadow 130ms;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--brand-rim), 0 8px 28px rgba(99,102,241,0.5);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: none; box-shadow: var(--focus); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
  transition: transform 130ms, background 130ms, border-color 130ms;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--bg-3);
  border-color: var(--line-2);
}

.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: none; box-shadow: var(--focus); }

.hero-hint {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ── HERO MOCKUP ─────────────────────────────────────────────── */
.hero-mockup {
  position: relative;
  z-index: 1;
  width: min(880px, var(--shell));
  margin-inline: auto;
  margin-top: 48px;
}

.mockup-frame {
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border: 1px solid var(--line-2);
  border-bottom: none;
  background: var(--bg-2);
  box-shadow: var(--sh-lg), 0 0 0 1px var(--line);
  overflow: hidden;
  position: relative;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.mbar-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--line-2);
}

.mbar-dot:first-child { background: #ff5f57; }
.mbar-dot:nth-child(2) { background: #febc2e; }
.mbar-dot:nth-child(3) { background: #28c840; }

.mbar-title {
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mockup-body {
  display: flex;
  min-height: 340px;
}

/* Chat col */
.chat-col {
  flex: 1.1;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.chat-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.chat-status {
  font-size: 0.5rem;
  color: #34d399;
  margin-left: auto;
}

.chat-messages {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.msg {
  max-width: 90%;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.msg-user {
  align-self: flex-end;
  background: var(--bg-3);
  color: var(--text-2);
  border-color: var(--line-2);
}

.msg-ai {
  align-self: flex-start;
  background: var(--brand-dim);
  border-color: var(--brand-rim);
  color: var(--text-2);
}

.msg.small { font-size: 0.72rem; }

.msg-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.msg-btn {
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: default;
}

.msg-btn-ok {
  background: var(--brand-dim);
  border-color: var(--brand-rim);
  color: var(--brand-lt);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--bg-3);
}

.chat-input-fake {
  flex: 1;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.chat-send-btn {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

/* Divider */
.mockup-divider {
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
}

/* Tasks col */
.tasks-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tasks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.tasks-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.tasks-count {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-rim);
  color: var(--brand-lt);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.tasks-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.task-item.active {
  border-color: var(--brand-rim);
  background: var(--brand-dim);
}

.task-item.done { opacity: 0.55; }

.task-cb {
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 1.5px solid var(--muted-2);
  flex-shrink: 0;
  margin-top: 1px;
  background: transparent;
  position: relative;
}

.task-cb.checked {
  background: var(--brand);
  border-color: var(--brand);
}

.task-cb.checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.task-info { min-width: 0; }

.task-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.task-item.done .task-name {
  text-decoration: line-through;
  color: var(--muted);
}

.task-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

.tag-ai {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-lt);
}

.tag-routine {
  font-style: normal;
  font-weight: 700;
  color: #60a5fa;
}

/* Confirm overlay */
.confirm-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

.confirm-box {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 16px;
  width: 220px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.confirm-label {
  margin: 0 0 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-lt);
}

.confirm-title {
  margin: 0 0 5px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}

.confirm-desc {
  margin: 0 0 12px;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

.confirm-btns {
  display: flex;
  gap: 6px;
}

.cbtn {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--muted);
}

.cbtn-ok {
  background: var(--brand-dim);
  border-color: var(--brand-rim);
  color: var(--brand-lt);
}

/* ── PROOF STRIP ─────────────────────────────────────────────── */
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--bg-2);
}

.proof-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.proof-item { display: grid; gap: 4px; }

.proof-key {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.proof-val {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.proof-sep { display: none; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 80px 0; }

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-lt);
  margin-bottom: 12px;
}

.section-label-dim { color: var(--muted); }

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 56ch;
  line-height: 1.6;
}

/* ── PROBLEM ─────────────────────────────────────────────────── */
.problem-section { background: var(--bg); }

.problem-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.problem-card {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  gap: 10px;
  transition: border-color 200ms;
}

.problem-card:hover { border-color: var(--line-2); }

.pcard-num {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-lt);
}

.problem-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.how-section { background: var(--bg-2); }

.how-steps {
  margin-top: 40px;
  display: grid;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.how-step:last-child { border-bottom: none; }

.step-num {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-rim);
  color: var(--brand-lt);
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body { flex: 1; }

.step-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-example {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  font-size: 0.84rem;
  color: var(--text-2);
  font-style: italic;
}

/* ── BENEFITS ────────────────────────────────────────────────── */
.benefits-section { background: var(--bg); }

.benefits-grid {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
}

.benefit {
  padding: 24px;
  background: var(--bg-2);
  transition: background 200ms;
}

.benefit:hover { background: var(--bg-3); }

.benefit h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── DIFFERENTIATORS ─────────────────────────────────────────── */
.diff-section { background: var(--bg-2); }

.diff-layout {
  display: grid;
  gap: 48px;
}

.diff-left .section-sub { margin-top: 0; }

.diff-right {
  display: grid;
  gap: 0;
}

.diff-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.diff-item:last-child { border-bottom: none; }

.diff-marker {
  color: var(--brand-lt);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
}

.diff-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.diff-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ── CONTROL ─────────────────────────────────────────────────── */
.control-section { background: var(--bg); }

.control-title, .control-sub { max-width: none; }

.control-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.control-card {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.control-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), #3b82f6);
  opacity: 0.5;
}

.control-n {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-lt);
  margin-bottom: 10px;
}

.control-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.control-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section { background: var(--bg-2); }

.faq-layout {
  display: grid;
  gap: 40px;
}

.faq-intro .section-sub { margin-top: 0; }

.faq-list { display: grid; gap: 8px; }

.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-3);
  overflow: clip;
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: background 140ms;
}

.faq-q:hover { background: var(--line); }
.faq-q:focus-visible { outline: none; box-shadow: inset var(--focus); }

.faq-icon {
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-4);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: background 180ms, border-color 180ms, transform 180ms;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
  transition: transform 180ms, opacity 180ms;
}

.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-item.is-open .faq-icon {
  background: var(--brand-dim);
  border-color: var(--brand-rim);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--brand-lt); }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  border-top: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-a-inner {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-a-inner a {
  color: var(--brand-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── WAITLIST ─────────────────────────────────────────────────── */
.waitlist-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}

.wl-glow-a {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 65%);
  pointer-events: none;
}

.wl-glow-b {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 65%);
  pointer-events: none;
}

.wl-box {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: var(--sh-lg);
  padding: 40px 32px;
  display: grid;
  gap: 32px;
}

.wl-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.wl-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44ch;
}

.wl-points {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.wl-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.wl-points li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--brand-lt);
  box-shadow: 0 0 0 3px var(--brand-dim);
  flex-shrink: 0;
}

.wl-form {
  display: grid;
  gap: 10px;
}

.wl-form-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wl-form-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--text);
  transition: border-color 140ms, box-shadow 140ms;
}

.field-input::placeholder { color: var(--muted-2); }
.field-input:hover { border-color: var(--line-2); }
.field-input:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus);
}

.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px var(--brand-rim), 0 4px 20px rgba(99,102,241,0.35);
  cursor: pointer;
  transition: transform 130ms, box-shadow 130ms, opacity 130ms;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--brand-rim), 0 8px 28px rgba(99,102,241,0.5);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-submit:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-submit span { pointer-events: none; }

.field-note {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.field-status {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  min-height: 1.2em;
}

.field-status.success { color: var(--ok); }
.field-status.error   { color: var(--err); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { color: var(--muted); font-size: 0.82rem; }

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a { color: var(--muted); font-size: 0.82rem; transition: color 140ms; }
.footer-links a:hover { color: var(--text); }
.footer-links a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

/* ── REVEAL ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .proof-list {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
  .proof-sep {
    display: block;
    width: 1px;
    height: 32px;
    background: var(--line-2);
  }

  .problem-grid { grid-template-columns: repeat(2, 1fr); }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .br-lg { display: initial; }

  .nav-links { display: flex; }

  .hero { padding-top: 100px; }

  .problem-grid { grid-template-columns: repeat(3, 1fr); }

  .benefits-grid { grid-template-columns: repeat(3, 1fr); }

  .diff-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
  }

  .control-grid { grid-template-columns: repeat(3, 1fr); }

  .faq-layout {
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }

  .wl-box {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 52px 48px;
  }

  .mockup-body { min-height: 380px; }
}

@media (min-width: 1100px) {
  :root { --shell: min(1080px, calc(100% - 64px)); }
}

@media (max-width: 639px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .mockup-body { flex-direction: column; min-height: auto; }
  .mockup-divider { width: 100%; height: 1px; }
  .chat-col { border-right: none; border-bottom: 1px solid var(--line); }

  .confirm-overlay { position: static; margin: 0 12px 12px; }
  .confirm-box { width: 100%; }

  .wl-box { padding: 28px 20px; }
}

@media (max-width: 400px) {
  :root { --shell: calc(100% - 24px); }
  .nav-inner { --shell: calc(100% - 24px); }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .badge-dot { animation: none; }
}
