:root {
  --bg: #faf8f4;
  --bg-alt: #f0ede6;
  --fg: #1a1714;
  --fg-muted: #6b6359;
  --accent: #c97d2a;
  --accent-dark: #9e5e1a;
  --surface: #ffffff;
  --border: #e2ddd6;
  --crisis: #b8390e;
}

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

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

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

/* ── Navigation ── */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-user {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,125,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-grain {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.hero-stat {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ── Proof ── */
.proof {
  padding: 4rem 2rem;
  background: var(--fg);
  color: var(--bg);
}
.proof-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.proof-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--bg);
}
.proof-attr {
  font-size: 0.85rem;
  color: rgba(250,248,244,0.5);
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.proof-platform {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(250,248,244,0.2);
  border-radius: 2px;
  color: rgba(250,248,244,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Demo Widget ── */
.demo {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}
.demo-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.demo-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}
.demo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.demo-source {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
}
.demo-stars {
  font-size: 1rem;
  color: var(--crisis);
  letter-spacing: 0.1em;
}
.demo-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.demo-review-text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}
.demo-review-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.demo-response-text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.demo-response-meta {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}
.demo-caption {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 1.5rem;
}

/* ── Features ── */
.features {
  padding: 5rem 2rem;
}
.features-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.features-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-card {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(4),
.feature-card:nth-child(5),
.feature-card:nth-child(6) { border-bottom: none; }
.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Process ── */
.process {
  padding: 5rem 2rem;
  background: var(--fg);
  color: var(--bg);
}
.process-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.process-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--bg);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}
.process-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.1rem;
}
.process-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 0.35rem;
}
.process-desc {
  font-size: 0.82rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.55;
}
.process-arrow {
  flex-shrink: 0;
  color: rgba(250,248,244,0.2);
  padding: 0 1rem;
  margin-top: 0.5rem;
}

/* ── Pricing ── */
.pricing {
  padding: 5rem 2rem;
}
.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.pricing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.pricing-card--featured {
  border-color: var(--accent);
  border-width: 2px;
  background: var(--surface);
  position: relative;
}
.pricing-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-per {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--fg);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 1.5rem;
  text-align: center;
}

/* ── Closing ── */
.closing {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.closing-rep {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.65;
  font-weight: 500;
}

/* ── Footer ── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  flex: 1;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(107,99,89,0.5);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { order: -1; }
  .proof-inner { grid-template-columns: 1fr; gap: 2rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none; }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card:nth-child(6) { border-bottom: 1px solid var(--border); }
  .feature-card:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: flex-start; }
  .process-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .footer-inner { flex-direction: column; gap: 0.5rem; }
}