/* Landing page styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #16a34a;
  --green-light: #dcfce7;
  --bg: #ffffff;
  --surface: #f9fafb;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --red: #dc2626;
  --red-light: #fee2e2;
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a:focus-visible, button:focus-visible { outline: 2px solid #16a34a; outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--green); color: #fff; padding: 8px 16px; border-radius: 4px; font-weight: 600; font-size: 0.85rem; z-index: 100; text-decoration: none; }
.skip-link:focus { left: 16px; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; max-width: 960px; margin: 0 auto; background: transparent; }
.logo { font-weight: 700; font-size: 1.05rem; color: #f1f5f9; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; display: inline-block; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link { color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-link:hover { color: #f1f5f9; }
.nav-cta { background: var(--green); color: #fff; padding: 10px 22px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: opacity 0.15s; }
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero-wrapper { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); }
.hero { text-align: center; padding: 80px 24px 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(22,163,74,.15); color: #4ade80; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; margin-bottom: 32px; }
.hero h1 { font-size: clamp(2rem, 8vw, 4.2rem); font-weight: 600; line-height: 1.1; color: #f1f5f9; margin-bottom: 24px; letter-spacing: -1px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero h1 strong { font-weight: 800; color: #4ade80; }
.hero-sub { font-size: 1.15rem; color: #94a3b8; max-width: 540px; margin: 0 auto 44px; font-weight: 400; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary { background: var(--green); color: #fff; padding: 15px 34px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: opacity 0.15s; display: inline-block; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { background: transparent; color: #e2e8f0; padding: 15px 28px; border-radius: 99px; text-decoration: none; font-weight: 500; font-size: 1rem; border: 1.5px solid #334155; transition: border-color 0.15s; display: inline-block; }
.btn-ghost:hover { border-color: #64748b; }
.hero-note { font-size: 0.82rem; color: #64748b; }

/* Stats bar */
.stats-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 24px 36px; }
.stats-inner { max-width: 800px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--green); letter-spacing: -2px; line-height: 1; transition: opacity 0.3s ease; }
.stat-num.loading { background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; color: transparent; min-width: 60px; display: inline-block; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; font-weight: 500; }
.stats-footer { text-align: center; margin-top: 24px; font-size: 0.82rem; color: var(--muted); }
.stats-footer a { color: var(--green); text-decoration: none; font-weight: 600; }

/* Sections */
.section { max-width: 960px; margin: 0 auto; padding: 80px 32px; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; letter-spacing: -0.5px; color: var(--text); margin-bottom: 16px; }
h2 strong { font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 560px; margin-bottom: 48px; }

/* Problem cards */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.problem-card { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 32px 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.problem-card .big { font-size: 2.6rem; font-weight: 800; color: var(--red); letter-spacing: -1px; margin-bottom: 8px; line-height: 1; }
.problem-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.problem-card cite { font-size: 0.75rem; color: #4b5563; font-style: normal; display: block; margin-top: 8px; }

/* Alternating background */
.bg-tint { background: #f9fafb; }

/* Meet Carol */
.carol-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 640px) { .carol-wrap { grid-template-columns: 1fr; } }
.carol-bio { padding: 36px; background: #fff; border: 1.5px solid var(--border); border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.carol-bio p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.carol-bio p:last-child { margin-bottom: 0; }
.carol-tag { display: inline-block; background: var(--green-light); color: var(--green); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.transcript { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.transcript-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 20px; }
.msg { margin-bottom: 16px; font-size: 0.88rem; line-height: 1.6; }
.msg .who { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.msg.scammer .who { color: var(--red); }
.msg.carol .who { color: var(--green); }
.msg.scammer .bubble { background: var(--red-light); color: #7f1d1d; border-radius: 0 14px 14px 14px; }
.msg.carol .bubble { background: var(--green-light); color: #14532d; border-radius: 14px 14px 14px 0; }
.bubble { padding: 11px 16px; display: inline-block; max-width: 88%; }
.transcript-footer { font-size: 0.78rem; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 6px; }
.carol-audio-label { font-size: 0.8rem; color: var(--muted); margin-top: 16px; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.carol-audio { width: 100%; height: 36px; accent-color: var(--green); display: block; }
.carol-footnote { font-size: 0.75rem; color: #4b5563; margin-top: 8px; }
.nowrap { white-space: nowrap; }

/* Hear Carol */
.samples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sample-card { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 24px 24px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.sample-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.sample-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.sample-card audio { width: 100%; height: 36px; accent-color: var(--green); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 28px 24px 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--green-light); color: var(--green); font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* Bottom CTA */
.cta-section { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); border-top: 1px solid #1e293b; }
.cta-inner h2 { color: #f1f5f9; }
.cta-inner h2 strong { color: #4ade80; }
.cta-inner { max-width: 960px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.cta-inner h2 { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 20px; }
.cta-inner .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 40px; }

/* Footer */
footer { background: #f9fafb; border-top: 1px solid var(--border); padding: 40px 32px; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 700; font-size: 0.9rem; color: var(--text); display: flex; align-items: center; gap: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; text-align: center; color: #4b5563; font-size: 0.78rem; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-link { display: none; }
  .hero { padding: 48px 20px 48px; }
  .hero-sub { font-size: 1rem; }
  .section { padding: 56px 20px; }
  .stats-inner { flex-direction: column; align-items: center; gap: 20px; }
  .stat-num { font-size: 2.6rem; }
  .cta-inner { padding: 64px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { text-align: left; }
}
