:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --fg: #111111;
  --fg-muted: #6b6560;
  --accent: #c97d2a;
  --accent-light: #f5e6d3;
  --border: #e0dbd4;
  --chat-bg: #f0ece6;
  --chat-bot-bg: #ffffff;
  --chat-user-bg: #c97d2a;
  --chat-user-fg: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 42ch;
}

/* Chat window */
.chat-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.chat-header {
  background: var(--fg);
  color: #fff;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
}
.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.chat-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.chat-msg {
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--chat-bg);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--chat-user-bg);
  color: var(--chat-user-fg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.last {
  margin-top: 0.25rem;
}

/* Insight card */
.insight-card {
  background: var(--fg);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-top: 1.25rem;
}
.insight-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.insight-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
}

/* Proof stats */
.proof {
  background: var(--fg);
  color: #fff;
  padding: 3rem 2.5rem;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.proof-stat {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}
.proof-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-stat .stat-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
}

/* How it works */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  background: var(--surface);
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}
.feature {
  padding: 0;
}
.feature-icon {
  color: var(--fg);
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
  text-align: center;
}
.closing-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 55ch;
  margin: 0 auto 1.5rem;
}
.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.footer-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.footer-links {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2.5rem;
  }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { max-width: 100%; }

  .proof-inner { flex-direction: column; gap: 1.5rem; }
  .proof-divider { display: none; }
  .proof-stat { padding: 0; }

  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .how { padding: 3rem 1.5rem; }

  .features-inner { grid-template-columns: 1fr; }
  .features { padding: 3rem 1.5rem; }

  .closing { padding: 3rem 1.5rem; }

  .site-header { padding: 1rem 1.5rem; }
  .site-footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .chat-msg { max-width: 90%; }
  .insight-card { padding: 1rem; }
}