/* ============================================================
   SPEND SPROUT — styles.css
   A friendly, green-forward landing page for first-time budgeters.
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;

  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utility ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.highlight { color: var(--green-600); }
.positive  { color: var(--green-600); font-weight: 600; }
.negative  { color: #ef4444;          font-weight: 600; }
.neutral   { color: var(--gray-600);  font-weight: 600; }
.muted     { opacity: .45; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .18s, color .18s, box-shadow .18s, transform .1s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-400);
}
.btn-outline:hover { background: var(--green-50); box-shadow: var(--shadow-sm); }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); }

.btn-lg  { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm  { padding: .4rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ── Section Shared ────────────────────────────────────────── */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .5rem; }
.section-header .section-sub { color: var(--gray-600); max-width: 520px; margin: .5rem auto 0; }
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  padding: .25rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.logo { 
  font-family: 'PT Sans', Arial, var(--font-sans);
  font-size: 1.2rem; 
  font-weight: 700; 
  color: var(--green-700); 
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links li a {
  font-size: .92rem;
  color: var(--gray-600);
  font-weight: 500;
  transition: color .15s;
}
.nav-links li a:hover { color: var(--green-700); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; color: var(--gray-700); font-weight: 500; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(to right,
    var(--green-700) 0%,
    var(--green-500) 28%,
    var(--green-200) 52%,
    var(--green-50)  70%,
    #fff             88%);
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.hero-visual {
  flex: 0 0 420px;
  animation: heroSlideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content {
  flex: 1;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: var(--radius-full);
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: heroSlideRight 0.65s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-headline {
  font-family: 'PT Sans', var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
  animation: heroSlideRight 0.7s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes sprout {
  0%   { opacity: 0; transform: scale(0) translateY(6px); }
  55%  { opacity: 1; transform: scale(1.35) translateY(-4px); }
  75%  { transform: scale(0.88) translateY(1px); }
  90%  { transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.sprout-emoji {
  display: inline-block;
  opacity: 0;
}
.reveal.visible .sprout-emoji {
  animation: sprout 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 0 2rem;
  animation: heroSlideRight 0.7s 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: heroSlideRight 0.7s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-reassure {
  font-size: .85rem;
  color: var(--gray-400);
  margin-top: .5rem;
  animation: heroSlideRight 0.65s 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── HERO LAPTOP MOCKUP ────────────────────────────────────── */
.hero-laptop {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,.28));
  animation: float 6s 0.85s ease-in-out infinite;
}
.laptop-screen {
  background: #252f3f;
  border-radius: 12px 12px 3px 3px;
  padding: 10px 10px 6px;
  border: 1px solid #1a2332;
}
.laptop-inner {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
}
.laptop-toolbar {
  background: var(--gray-100);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--gray-200);
}
.laptop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.laptop-dot:nth-child(1) { background: #f87171; }
.laptop-dot:nth-child(2) { background: #fbbf24; }
.laptop-dot:nth-child(3) { background: #4ade80; }
.laptop-url {
  flex: 1;
  text-align: center;
  font-size: 8px;
  color: var(--gray-500);
  background: var(--white);
  border-radius: 3px;
  padding: 2px 6px;
  border: 1px solid var(--gray-200);
  font-family: monospace;
}
.laptop-sheet {
  padding: 8px 10px 10px;
}
.sheet-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--green-400);
}
.sheet-logo {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -.01em;
}
.sheet-tab {
  font-size: 7px;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 3px;
}
.sheet-section {
  font-size: 6.5px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.sheet-header-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr 0.85fr;
  gap: 4px;
  padding: 4px 4px;
  background: var(--green-700);
  border-radius: 3px 3px 0 0;
  font-size: 6.5px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 0;
}
.sheet-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr 0.85fr;
  gap: 4px;
  padding: 4px 4px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 8px;
  color: var(--gray-700);
}
.sheet-cat--groceries  { background: #FFF0E0; }
.sheet-cat--eating-out { background: #FEFDE8; }
.sheet-cat--household  { background: #EDF7ED; }
.sheet-total {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.85fr 0.85fr;
  gap: 4px;
  padding: 5px 4px;
  background: var(--green-50);
  border-radius: 0 0 3px 3px;
  margin-top: 0;
  font-size: 8.5px;
  border-top: 1px solid var(--green-200);
}
.laptop-chin {
  background: linear-gradient(to bottom, #374151, #4b5563);
  height: 4px;
}
.laptop-base {
  background: linear-gradient(to bottom, #e5e7eb, #d1d5db);
  border-radius: 0 0 8px 8px;
  height: 18px;
  border: 1px solid #9ca3af;
  border-top: none;
  position: relative;
}
.laptop-base::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  background: #9ca3af;
  border-radius: 3px;
}

/* ── HERO ANIMATIONS ───────────────────────────────────────── */
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual, .hero-badge, .hero-headline,
  .hero-sub, .hero-actions, .hero-reassure, .hero-laptop {
    animation: none;
  }
  .sprout-emoji { opacity: 1; animation: none; }
}

@media (max-width: 860px) {
  .demo-cat--bill { display: none; }
}

@media (max-width: 480px) {
  .demo-cat--eating-out { display: none; }
  .dc-2x { display: none; }
  .demo-mock-row,
  .demo-mock-total,
  .demo-mock-header { grid-template-columns: 1.5fr 1.5fr 1fr 1.2fr 1.2fr; }
}

@media (max-width: 860px) {
  /* Flip gradient to top-to-bottom so stacked content (top) sits on white
     and the laptop visual (bottom) sits on the bold green — keeps all
     text, including .highlight, readable without any color overrides. */
  .hero {
    background: linear-gradient(to bottom,
      #fff             0%,
      var(--green-50)  30%,
      var(--green-200) 58%,
      var(--green-500) 80%,
      var(--green-700) 100%);
  }
  .hero-inner {
    flex-direction: column;
    gap: 3rem;
  }
  .hero-visual {
    order: 2;
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-content {
    order: 1;
    text-align: center;
  }
  .hero-sub    { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-laptop { animation: float 6s ease-in-out infinite; }
}

/* ── SOCIAL PROOF ──────────────────────────────────────────── */
.social-proof {
  background: var(--gray-50);
  padding: 4rem 0;
}
.social-label {
  text-align: center;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 2rem;
}
.social-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--green-600); }
.stat-label { font-size: .85rem; color: var(--gray-500); }
.stat-divider { width: 1px; height: 3rem; background: var(--gray-200); }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.testimonial-text {
  font-size: .97rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--green-200);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span  { font-size: .8rem; color: var(--gray-400); }


/* ── LANGUAGE HIGHLIGHTS ───────────────────────── */
.language-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}

.highlight-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: .45rem .9rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
}

/* ── TESTIMONIAL ENHANCEMENTS ─────────────────── */
.testimonial-context {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.avatar-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

/* ── FOUNDER STORY ───────────────────────────── */
.founder-story {
  max-width: 720px;
  margin: 3rem auto 0;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--green-100);
  border-left: 4px solid var(--green-500);
  text-align: left;
}

.founder-photo {
  width: 90px;
  height: 90px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--green-100);
  box-shadow: var(--shadow-sm);
}

.founder-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-quote {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
}

.founder-signoff {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.founder-signoff strong {
  font-size: .9rem;
  color: var(--gray-800);
}

.founder-signoff span {
  font-size: .8rem;
  color: var(--green-700);
  font-weight: 500;
}

@media (max-width: 520px) {
  .founder-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
}

/* ── SCROLL REVEAL ANIMATION ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  /* No transition here — prevents a flash when no-js is removed,
     which would otherwise animate opacity 1→0 on page load */
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  /* Transition lives here so it only fires on the 0→1 reveal */
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.how-it-works { background: var(--white); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  background: var(--green-50);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  position: relative;
  border: 1px solid var(--green-100);
}
.step-num {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  background: var(--green-600);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--gray-600); }
.step-arrow {
  font-size: 1.5rem;
  color: var(--green-400);
  align-self: center;
  flex-shrink: 0;
  margin-top: 1rem;
}

/* ── BENEFITS ──────────────────────────────────────────────── */
.benefits { background: var(--gray-50); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow .2s, transform .2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-icon { font-size: 2rem; margin-bottom: .75rem; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.benefit-card p  { font-size: .9rem; color: var(--gray-600); }

/* ── PRICING ───────────────────────────────────────────────── */
.pricing { background: var(--white); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card--popular {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.popular-badge {
  display: inline-block;
  background: var(--green-600);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: .25rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: .03em;
}
.tier-name  { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.tier-price { font-size: 2rem;   font-weight: 800; color: var(--gray-900); margin-bottom: .5rem; }
.tier-period { font-size: .8rem; color: var(--gray-400); font-weight: 400; }
.tier-desc  { font-size: .9rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.tier-features { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.5rem; }
.tier-features li { font-size: .9rem; color: var(--gray-700); }
.tier-note { font-size: .8rem; color: var(--gray-400); text-align: center; margin-top: .75rem; }
.founder-special {
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  margin-bottom: 1.25rem;
}
.founder-special-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.founder-special p {
  font-size: .85rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* ── DEMO SECTION ──────────────────────────────────────────── */
.demo { background: var(--green-50); }
.demo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.demo-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  border: 1px solid var(--gray-200);
}
.demo-mock-bar {
  background: var(--gray-100);
  padding: .6rem 1rem;
  display: flex;
  gap: .4rem;
}
.demo-mock-bar span {
  width: .7rem;
  height: .7rem;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  display: block;
}
.demo-mock-bar span:nth-child(1) { background: #f87171; }
.demo-mock-bar span:nth-child(2) { background: #fbbf24; }
.demo-mock-bar span:nth-child(3) { background: #4ade80; }

.demo-mock-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.demo-mock-brand {
  font-size: .95rem;
  font-weight: 800;
  color: var(--green-700);
}
.demo-mock-section-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.demo-mock-body { padding: 0 1rem 1rem; }
.demo-mock-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr 0.8fr 1fr 1fr;
  gap: .4rem;
  padding: .5rem .4rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: .82rem;
}
.demo-mock-header {
  font-weight: 700;
  background: var(--green-700);
  color: var(--white);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: .75rem -.4rem 0;
  padding-left: .8rem;
  padding-right: .8rem;
}
.demo-cat--groceries  { background: #FFF0E0; }
.demo-cat--eating-out { background: #FEFDE8; }
.demo-cat--household  { background: #EDF7ED; }
.demo-cat--car        { background: #E8F4FD; }
.demo-cat--bill       { background: #F3EFF9; }
.demo-mock-total {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr 0.8fr 1fr 1fr;
  gap: .4rem;
  padding: .6rem .4rem;
  background: var(--green-50);
  border-top: 1px solid var(--green-200);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .82rem;
}
.demo-caption { font-size: .85rem; color: var(--gray-600); text-align: center; margin-top: .75rem; }
.cell-editable {
  cursor: text;
  outline: none;
  border-radius: 2px;
  transition: background .12s, box-shadow .12s;
  min-width: 20px;
}
.cell-editable:empty::before {
  content: '—';
  color: var(--gray-300);
  pointer-events: none;
}
.cell-editable:hover  { background: rgba(255,255,255,.55); }
.cell-editable:focus  { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--green-400); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { background: var(--white); }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--gray-800);
  gap: 1rem;
  transition: background .15s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon { font-size: 1.3rem; flex-shrink: 0; color: var(--green-600); transition: transform .2s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1.5rem;
}
.faq-answer.open { max-height: 300px; padding: 0 1.5rem 1.2rem; }
.faq-answer p { font-size: .93rem; color: var(--gray-600); line-height: 1.7; }

/* ── EMAIL CAPTURE ─────────────────────────────────────────── */
.email-capture { background: var(--green-50); padding: 4rem 0; }
.email-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--green-100);
}
.email-inner h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .4rem; }
.email-inner p  { color: var(--gray-600); margin-bottom: 1.5rem; font-size: .95rem; }
.email-form {
  display: flex;
  gap: .75rem;
  max-width: 440px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.email-input {
  flex: 1;
  min-width: 200px;
  padding: .75rem 1.2rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: .95rem;
  outline: none;
  transition: border-color .15s;
}
.email-input:focus { border-color: var(--green-500); }
.email-note { font-size: .8rem; color: var(--gray-400); }

/* ── FINAL CTA ─────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.final-cta p  { font-size: 1.1rem; opacity: .85; max-width: 520px; margin: 0 auto 2rem; }
.final-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.final-cta .btn-primary { background: var(--white); color: var(--green-700); border-color: var(--white); }
.final-cta .btn-primary:hover { background: var(--green-50); border-color: var(--green-50); }
.final-cta .btn-ghost { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }
.final-reassure { font-size: .85rem; opacity: .65; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer .logo { color: var(--green-400); font-size: 1.1rem; }
.footer-brand p { font-size: .85rem; margin-top: .25rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .85rem; transition: color .15s; }
.footer-links a:hover { color: var(--green-400); }
.footer-copy { font-size: .8rem; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .step-arrow { display: none; }
  .steps { gap: 1.5rem; }
  .step { max-width: 100%; }
  .demo-cat--car { display: none; }
  .dc-annual { display: none; }
  .demo-mock-row,
  .demo-mock-total,
  .demo-mock-header { grid-template-columns: 1.4fr 1.4fr 0.85fr 0.85fr 1.1fr 1.1fr; font-size: .78rem; }
  .email-form { flex-direction: column; }
  .email-input { min-width: 100%; }
  .stat-divider { display: none; }
  .pricing-card--popular { transform: none; }
}