:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EFE9;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #1A3A2A;
  --accent-warm: #F59E0B;
  --border: #E2E0DA;
  --green-light: #E8F5E9;
  --amber-light: #FEF3C7;
  --blue-light: #DBEAFE;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ——— HEADER ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
header nav a:hover { color: var(--fg); }

/* ——— HERO ——— */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 96px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 24px; }
.pill {
  display: inline-block;
  background: var(--green-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #C6E6C6;
}
.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.meta-stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--fg-muted); margin-top: 4px; max-width: 130px; line-height: 1.3; }
.meta-divider { width: 1px; height: 40px; background: var(--border); }

/* ——— PHONE MOCKUP ——— */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.phone-screen {
  background: #0E0E0E;
  border-radius: 26px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}
.chat-bubble { border-radius: 16px; padding: 10px 13px; }
.chat-bubble.incoming { background: #1C1C1C; align-self: flex-start; max-width: 85%; }
.chat-bubble.outgoing { background: var(--accent); align-self: flex-end; max-width: 90%; }
.chat-bubble.system { background: #141414; border: 1px solid #2A2A2A; }
.msg-time { font-size: 10px; color: #555; margin-bottom: 4px; }
.msg-text { font-size: 12.5px; color: #E8E8E8; line-height: 1.5; }
.outgoing .msg-text { color: #F5F5F0; }
.msg-label { font-size: 10px; color: #F59E0B; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 8px; }
.msg-summary { display: flex; flex-direction: column; gap: 7px; }
.msg-summary-item { font-size: 11.5px; color: #BBB; display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.tag-green { background: rgba(52,211,153,0.2); color: #34D399; }
.tag-amber { background: rgba(251,191,36,0.2); color: #FBBF24; }
.tag-blue { background: rgba(96,165,250,0.2); color: #60A5FA; }

/* ——— SECTION SHARED ——— */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.label-rule { flex: 1; height: 1px; background: var(--border); max-width: 60px; }
.label-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 48px;
}

/* ——— HOW IT WORKS ——— */
.how-it-works {
  background: var(--bg-alt);
  padding: 80px 32px;
}
.how-it-works .section-headline,
.how-it-works .section-label { max-width: 1100px; margin-left: auto; margin-right: auto; }
.how-it-works .section-headline { margin-bottom: 48px; }
.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.step-card {
  background: var(--bg);
  padding: 36px 32px;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--border);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-card p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; }

/* ——— FEATURES ——— */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
}
.features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.feature-main h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
}
.feature-main p { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 16px; }
.features-list { display: flex; flex-direction: column; gap: 28px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.feature-item p { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; }

/* ——— TESTIMONIAL ——— */
.testimonial {
  background: var(--accent);
  padding: 80px 32px;
}
.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark { margin-bottom: 32px; }
.quote-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  font-style: italic;
  color: #F5F5F0;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.attribution-name { font-size: 15px; font-weight: 500; color: #C8C8BC; margin-bottom: 6px; }
.attribution-context { font-size: 13px; color: rgba(200,200,188,0.6); }

/* ——— MANIFESTO ——— */
.manifesto {
  padding: 96px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-top: 16px;
}
.manifesto-body p { font-size: 16px; color: var(--fg-muted); line-height: 1.75; margin-bottom: 20px; }

/* ——— CLOSING ——— */
.closing {
  border-top: 1px solid var(--border);
  padding: 96px 32px;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ——— FOOTER ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-tagline { font-size: 13px; color: var(--fg-muted); }

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px 72px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .meta-divider { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 36px; letter-spacing: -1px; }
  .section-headline { font-size: 28px; }
  .how-it-works, .features, .manifesto, .closing { padding: 64px 24px; }
}