/* ─────────────────────────────────────────────
   SPROUT DIGITAL — Marketing Site

   Palette rationale:
   - Forest green (#166534) — growth, nature, trust.
     Not a startup green. A grounded, serious green.
   - Off-white (#fafaf9) — warm, not clinical. Feels
     like paper, not a screen.
   - Charcoal (#1c1917) — readable, not harsh black.
   - Mint accent (#4ade80) — energy for CTAs only.
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,700&display=swap');

/* ── Tokens ───────────────────────────────── */
:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-700: #44403c;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50:  #fafaf9;
  --white:     #ffffff;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);

  --max-width: 1120px;
  --nav-height: 68px;
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--stone-900);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Typography ───────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.15), inset 0 1px 0 rgb(255 255 255 / 0.1);
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(22 101 52 / 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--stone-700);
  border: 1.5px solid var(--stone-300);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--stone-400, #a8a29e);
  color: var(--stone-900);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

/* ── Nav ──────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(250 250 249 / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.nav-logo-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--stone-500);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--stone-900); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--space-2);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.nav-mobile-toggle:hover { background: var(--stone-100); }

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu panel ────────────────────── */
/* Hidden entirely on desktop — toggle is not shown there */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.nav-mobile-links {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--stone-100);
}

.nav-mobile-links li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--stone-700);
  border-radius: var(--radius-md);
  transition: background 0.12s, color 0.12s;
}

.nav-mobile-links li a:hover,
.nav-mobile-links li a:active {
  background: var(--stone-100);
  color: var(--stone-900);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) 0 var(--space-5);
}

.nav-mobile-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  padding-top: var(--space-24);
  padding-bottom: var(--space-20);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
  max-width: 800px;
  color: var(--stone-900);
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--stone-500);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--stone-500);
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--stone-50);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-left: -8px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-trust strong { color: var(--stone-700); }

/* ── Stats bar ────────────────────────────── */
.stats {
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  padding: var(--space-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-number span { color: var(--green-700); }

.stat-label {
  font-size: var(--text-sm);
  color: var(--stone-500);
}

/* ── Section base ─────────────────────────── */
section {
  padding: var(--space-24) 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  color: var(--stone-900);
  max-width: 580px;
  margin-bottom: var(--space-5);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--stone-500);
  max-width: 540px;
  line-height: 1.65;
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
}
.section-header.centered .section-title,
.section-header.centered .section-sub {
  margin-inline: auto;
}

/* ── Problem section ──────────────────────── */
.problem {
  background: var(--stone-900);
  color: var(--white);
}

.problem .section-eyebrow { color: var(--green-400); }
.problem .section-title { color: var(--white); }
.problem .section-sub { color: var(--stone-300); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
}

.problem-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.problem-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.problem-card p {
  font-size: var(--text-sm);
  color: var(--stone-300);
  line-height: 1.5;
}

/* ── How it works ─────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.step {
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -2rem;
  width: calc(100% - 48px - 24px);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--stone-300) 0,
    var(--stone-300) 5px,
    transparent 5px,
    transparent 12px
  );
}

.steps-grid .step:last-child::after { display: none; }

.step-number {
  width: 48px;
  height: 48px;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--stone-900);
}

.step p {
  color: var(--stone-500);
  line-height: 1.65;
}

/* ── Pricing ──────────────────────────────── */
.pricing {
  background: var(--stone-100);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px var(--green-50), var(--shadow-lg);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 0 4px var(--green-50), var(--shadow-xl);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-800);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.pricing-price {
  margin-bottom: var(--space-2);
}

.pricing-price-amount {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--stone-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-price-currency {
  font-size: var(--text-2xl);
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
  color: var(--stone-700);
}

.pricing-monthly {
  font-size: var(--text-sm);
  color: var(--stone-500);
  margin-bottom: var(--space-6);
}

.pricing-monthly strong {
  color: var(--green-700);
  font-weight: 600;
}

.pricing-divider {
  height: 1px;
  background: var(--stone-200);
  margin-bottom: var(--space-6);
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--stone-500);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--stone-700);
}

.pricing-feature-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pricing-feature-check svg {
  width: 10px;
  height: 10px;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
}

/* ── Why us ───────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-2xl);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-5);
}

.why-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.why-card p {
  color: var(--stone-500);
  line-height: 1.65;
}

/* ── FAQ ──────────────────────────────────── */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

details {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

details[open] {
  border-color: var(--green-200, #bbf7d0);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: var(--space-4);
}
summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  line-height: 1;
  transition: transform 0.2s, background 0.2s;
  color: var(--stone-500);
  font-weight: 400;
}

details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--green-100);
  color: var(--green-700);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--stone-500);
  line-height: 1.7;
  font-size: var(--text-base);
}

/* ── CTA banner ───────────────────────────── */
.cta-banner {
  background: var(--green-800);
  padding: var(--space-24) 0;
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner h2 {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  color: var(--white);
  margin-bottom: var(--space-5);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgb(255 255 255 / 0.75);
  margin-bottom: var(--space-10);
  line-height: 1.65;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--green-800);
}
.cta-banner .btn-primary:hover {
  background: var(--green-50);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
}

.cta-banner-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.55);
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--stone-950);
  color: var(--stone-300);
  padding: var(--space-16) 0 var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--stone-500);
  line-height: 1.65;
  margin-top: var(--space-4);
  max-width: 260px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--stone-500);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.06);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--stone-500);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: var(--text-sm);
  color: var(--stone-500);
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--white); }

.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.footer-logo-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Mobile menu: block by default (hidden via opacity/transform), open via .open */
  .nav-mobile-menu {
    display: block;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero { padding-top: var(--space-16); padding-bottom: var(--space-16); }

  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-5); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
