:root {
  --bg: #FAF7F2;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #E86A17;
  --accent-dark: #C45510;
  --sage: #5C8A7E;
  --sage-light: #EBF1EF;
  --border: #E2DAD0;
  --card-bg: #FFFFFF;
  --highlight-bg: #FFF8F2;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 80px 40px 60px;
  background: var(--bg);
}
.hero-inner { max-width: 780px; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.leak-amount {
  color: var(--accent);
  display: inline-block;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 48px;
  max-width: 640px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* INDEX */
.index-section {
  background: var(--fg);
  color: var(--bg);
  padding: 40px 40px;
}
.index-inner { max-width: 780px; }
.index-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250,247,242,0.5);
  margin-bottom: 8px;
}
.index-number {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 8px;
}
.index-sub {
  font-size: 14px;
  color: rgba(250,247,242,0.55);
}

/* LEAK */
.leak-section {
  padding: 80px 40px;
  background: var(--bg);
}
.leak-inner { max-width: 680px; }
.leak-callout {
  background: var(--highlight-bg);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.leak-headline {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.leak-comparison {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
}
.leak-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.leak-row:last-child { border-bottom: none; }
.leak-row-label { font-size: 14px; color: var(--fg-muted); }
.leak-row-val { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--fg); }
.leak-row-highlight { background: var(--highlight-bg); }
.leak-row-highlight .leak-row-val { color: var(--accent); }
.leak-upside {
  background: var(--sage-light);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.upside-label { font-size: 14px; color: var(--sage); font-weight: 500; }
.upside-value { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--sage); }

/* FEATURES */
.features-section { padding: 80px 40px; background: var(--bg); }
.features-inner { max-width: 1000px; }
.features-header { margin-bottom: 56px; }
.features-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
}
.features-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(232,106,23,0.08);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--highlight-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ECONOMICS */
.economics-section {
  padding: 80px 40px;
  background: var(--fg);
  color: var(--bg);
}
.economics-inner { max-width: 600px; }
.economics-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 32px;
}
.economics-grid {
  border: 1px solid rgba(250,247,242,0.15);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}
.econ-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.econ-row:last-child { border-bottom: none; }
.econ-label { font-size: 14px; color: rgba(250,247,242,0.6); }
.econ-val { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.econ-plus { color: #7ECF9F; }
.econ-minus { color: rgba(250,247,242,0.4); }
.econ-total { background: rgba(250,247,242,0.05); }
.econ-result { color: var(--accent); font-size: 22px; }
.economics-cta { text-align: center; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); }

/* MODULES */
.modules-section { padding: 80px 40px; background: var(--bg); }
.modules-inner { max-width: 1000px; }
.modules-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
}
.modules-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.module-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.module-card-feature {
  border-color: var(--accent);
  background: var(--highlight-bg);
}
.module-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.module-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}
.module-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.5; margin-bottom: 16px; }
.module-price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.module-price-note {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* CLOSING */
.closing-section {
  padding: 80px 40px;
  background: var(--sage-light);
}
.closing-inner { max-width: 800px; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 48px;
}
.closing-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.closing-path {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.path-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.closing-path h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.closing-path p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin-bottom: 20px; }
.btn-secondary {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 0.85; }
.closing-note {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 800px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(250,247,242,0.5);
  max-width: 280px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(250,247,242,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--bg); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 48px 20px 40px; }
  .hero-stats { gap: 28px; }
  .closing-paths { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-inner { flex-direction: column; }
  .leak-upside { flex-direction: column; gap: 8px; align-items: flex-start; }
}