:root {
  --bg: #F8F6F0;
  --bg-alt: #EEE9E0;
  --fg: #1A1A18;
  --fg-muted: #6B6860;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --accent-warm: #D97706;
  --white: #FFFFFF;
  --border: #D4CEC4;
  --tag-new: #1B4332;
  --tag-responded: #2D6A4F;
  --tag-collected: #D97706;
  --tag-onboarded: #1E4D8C;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-light); }

/* Hero */
.hero {
  padding: 140px 24px 80px;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-meta span {
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 500;
}
.hero-meta span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* Inbox Widget */
.hero-visual {
  position: relative;
}
.inbox-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.inbox-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inbox-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
}
.inbox-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.inbox-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.inbox-item:last-child { border-bottom: none; }
.inbox-item--new {
  background: rgba(27, 67, 50, 0.04);
}
.inbox-sender {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg);
  margin-bottom: 2px;
}
.inbox-subject {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 3px;
}
.inbox-preview {
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.inbox-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.ai-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.ai-tag--responded { background: rgba(45,106,79,0.12); color: var(--tag-responded); }
.ai-tag--collected { background: rgba(217,119,6,0.12); color: var(--tag-collected); }
.ai-tag--onboarded { background: rgba(30,77,140,0.1); color: var(--tag-onboarded); }
.inbox-time {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

/* Stats Row */
.stats-row {
  background: var(--accent);
  color: var(--white);
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 0 40px;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.stat-label {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--fg);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-alt);
  margin-bottom: 16px;
}
.step-icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Features */
.features {
  padding: 100px 24px;
  background: var(--bg-alt);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.feature {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Pricing */
.pricing {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.pricing-card--featured {
  border-color: var(--accent);
  position: relative;
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}
.pricing-card-inner {
  padding: 36px 32px;
}
.pricing-tier {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  display: block;
}
.pricing-badge {
  display: inline-block;
  background: var(--accent-warm);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.pricing-price {
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
}
.pricing-period {
  font-size: 1rem;
  color: var(--fg-muted);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}

/* Testimonials */
.testimonials {
  padding: 100px 24px;
  background: var(--accent);
  color: var(--white);
}
.testimonials .section-eyebrow { color: rgba(255,255,255,0.6); }
.testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.testimonial {
  padding: 32px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  opacity: 0.95;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
}
.testimonial-role {
  font-size: 0.78rem;
  opacity: 0.65;
  display: block;
}

/* Closing */
.closing {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--fg);
  color: var(--white);
  padding: 60px 24px 40px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.6;
  max-width: 240px;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.4;
}

/* Hero CTA */
.hero-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}
.hero-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Pricing CTA */
.pricing-cta {
  display: block;
  margin-top: 28px;
  padding: 12px 24px;
  background: var(--fg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}
.pricing-cta:hover { background: var(--accent); transform: translateY(-1px); }
.pricing-cta--primary {
  background: var(--accent);
}
.pricing-cta--primary:hover { background: var(--accent-light); }

/* Closing CTA */
.closing-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.closing-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, transform 0.1s;
}
.closing-cta:hover { background: var(--accent-light); transform: translateY(-1px); }
.closing-cta--secondary {
  background: transparent;
  color: var(--fg-muted);
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  padding: 14px 28px;
}
.closing-cta--secondary:hover { color: var(--fg); border-color: var(--fg-muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .stat-divider { display: none; }
  .stats-row { gap: 24px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 100px; }
  .hero-headline { font-size: 1.8rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-links { gap: 32px; }
}