/* ============================================================
   COAST — Design System
   Palette: paper / ink / pine / sage / amber
   Type: Fraunces (display) · DM Sans (body) · DM Mono (numbers)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --paper:      #F5F2EA;
  --paper-warm: #EDE9DF;
  --ink:        #16130E;
  --muted:      #7A7261;
  --pine:       #2E5A4C;
  --pine-deep:  #1C3A30;
  --sage:       #79AE94;
  --sage-light: #C5DDD4;
  --amber:      #C58A2E;
  --amber-hi:   #D99A38;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --max-w:       1100px;
  --pad-section: 120px;
  --pad-page:    clamp(24px, 5vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }


/* ── NAV ───────────────────────────────────────────────────── */

#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  padding: 0 var(--pad-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  background: rgba(245, 242, 234, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(22, 19, 14, 0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--paper);
  transition: color 0.35s ease;
}
#main-nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn-download) {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(245, 242, 234, 0.6);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn-download):hover { color: var(--paper); }
#main-nav.scrolled .nav-links a:not(.btn-download) { color: var(--muted); }
#main-nav.scrolled .nav-links a:not(.btn-download):hover { color: var(--ink); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-download:hover { background: var(--amber-hi); transform: translateY(-1px); }


/* ── HERO ──────────────────────────────────────────────────── */

.hero {
  background: var(--pine);
  min-height: 100vh;
  padding: 140px var(--pad-page) 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-eyebrow span { width: 28px; height: 1px; background: var(--sage); opacity: 0.5; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.35s forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--sage);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(245, 242, 234, 0.58);
  max-width: 480px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 72px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px rgba(197, 138, 46, 0.38);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197, 138, 46, 0.48);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(245, 242, 234, 0.8);
  border: 1px solid rgba(245, 242, 234, 0.22);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-outline-light:hover {
  background: rgba(245, 242, 234, 0.07);
  border-color: rgba(245, 242, 234, 0.4);
  color: var(--paper);
}

.btn-ghost-light {
  font-size: 14px;
  color: rgba(245, 242, 234, 0.42);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.btn-ghost-light:hover { color: rgba(245, 242, 234, 0.75); }

/* ── Hero demo ── */
.hero-demo {
  max-width: 580px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s ease 0.82s forwards;
}

.demo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.demo-percent-display {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.04em;
  line-height: 1;
}
.demo-percent-display sup {
  font-size: 0.38em;
  font-weight: 500;
  vertical-align: 0.55em;
  margin-left: 2px;
  color: var(--sage);
}

.demo-label-group {
  text-align: right;
  padding-bottom: 6px;
}
.demo-label-top {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.35);
  margin-bottom: 2px;
}
.demo-label-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
}

.demo-bar-track {
  height: 8px;
  background: rgba(245, 242, 234, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}
.demo-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage) 0%, #9AC9B0 100%);
  border-radius: 2px;
  transition: width 2.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 242, 234, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.demo-metric {
  padding: 14px 16px;
  background: rgba(245, 242, 234, 0.04);
  text-align: left;
}
.demo-metric:first-child { border-radius: 8px 0 0 8px; }
.demo-metric:last-child  { border-radius: 0 8px 8px 0; }
.demo-metric-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 242, 234, 0.82);
  margin-bottom: 3px;
}
.demo-metric-lbl {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.3);
}

/* scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 0.8s ease 2.2s forwards;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(245,242,234,0.25), transparent);
  animation: scrollBob 2.2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.08); }
}


/* ── SECTION BASE ──────────────────────────────────────────── */

.section {
  padding: var(--pad-section) var(--pad-page);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 500;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}

.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.section-header-center {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.section-header-center .section-body { margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}


/* ── MENU BAR SECTION ──────────────────────────────────────── */

.section-menubar { background: var(--paper); }
.section-menubar .section-body { margin-bottom: 32px; }

/* macOS-style mockup */
.menubar-mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(22,19,14,0.1),
    0 24px 64px rgba(22,19,14,0.18),
    0 4px 12px rgba(22,19,14,0.08);
  background: #1C1C1E;
}

.mock-chrome {
  height: 28px;
  background: #2C2C2E;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot.r { background: #FF5F57; }
.mock-dot.y { background: #FFBD2E; }
.mock-dot.g { background: #28C840; }

.mock-menubar {
  height: 26px;
  background: rgba(28,28,30,0.98);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mock-mb-item {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  user-select: none;
}
.mock-mb-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.mock-coast-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 7px 2px 6px;
  border-radius: 5px;
  background: rgba(121,174,148,0.12);
  border: 1px solid rgba(121,174,148,0.18);
  min-width: 0;
  transition: all 0.4s ease;
}

.mock-gauge {
  width: 38px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.mock-gauge-fill {
  width: 67%;
  height: 100%;
  background: var(--sage);
  border-radius: 2px;
}

.mock-coast-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sage);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}
.mock-coast-text.show {
  max-width: 80px;
  opacity: 1;
}

.mock-body {
  overflow: hidden;
  background: #161618;
  line-height: 0;
}

.mock-video {
  display: block;
  width: 100%;
  height: auto;
}

/* Display mode chips */
.mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(22,19,14,0.1);
  background: rgba(22,19,14,0.02);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  user-select: none;
}
.mode-chip:hover {
  border-color: rgba(46,90,76,0.3);
  color: var(--pine);
}
.mode-chip.active {
  border-color: var(--pine);
  color: var(--pine);
  background: rgba(46,90,76,0.06);
}
.chip-preview {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
  opacity: 0.8;
}

/* feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 8px;
}


/* ── FIRE TARGETS ──────────────────────────────────────────── */

.section-targets {
  background: var(--paper-warm);
  border-top: 1px solid rgba(22,19,14,0.06);
  border-bottom: 1px solid rgba(22,19,14,0.06);
}

.targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.target-card {
  background: var(--paper);
  border: 1px solid rgba(22,19,14,0.07);
  border-radius: 12px;
  padding: 28px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(22,19,14,0.09);
}
.target-card.featured {
  border-color: rgba(46,90,76,0.3);
  background: rgba(46,90,76,0.025);
}

.target-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 500;
  margin-bottom: 14px;
}

.target-number {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 4px;
}
.target-number sup {
  font-size: 18px;
  font-weight: 500;
  vertical-align: 0.55em;
}
.target-number .unit {
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}

.target-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 10px;
  margin-bottom: 20px;
}

.target-bar-track {
  height: 4px;
  background: rgba(22,19,14,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.target-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--sage);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ── PRIVACY ───────────────────────────────────────────────── */

.section-privacy {
  background: var(--pine-deep);
  position: relative;
  overflow: hidden;
}
.section-privacy::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(121,174,148,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section-privacy .eyebrow { color: var(--sage); }
.section-privacy .section-title { color: var(--paper); }
.section-privacy .section-body { color: rgba(245,242,234,0.52); }

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.privacy-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: background 0.22s ease;
}
.privacy-card:hover { background: rgba(255,255,255,0.07); }

.privacy-icon {
  width: 44px;
  height: 44px;
  background: rgba(121,174,148,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.privacy-icon svg { width: 22px; height: 22px; stroke: var(--sage); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.privacy-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.022em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.privacy-card p {
  font-size: 15px;
  color: rgba(245,242,234,0.5);
  line-height: 1.65;
}


/* ── CALCULATOR ────────────────────────────────────────────── */

.section-calculator { background: var(--paper); }

.calc-tabs {
  display: inline-flex;
  gap: 3px;
  background: rgba(22,19,14,0.07);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 40px;
}
.calc-tab {
  padding: 8px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.calc-tab.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(22,19,14,0.12), 0 0 0 1px rgba(22,19,14,0.06);
}

.calc-content { display: none; }
.calc-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.calc-mockup {
  background: var(--paper);
  border: 1px solid rgba(22,19,14,0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(22,19,14,0.1), 0 4px 12px rgba(22,19,14,0.05);
}
.calc-mock-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(22,19,14,0.08);
  background: rgba(22,19,14,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-mock-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.calc-mock-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(121,174,148,0.15);
  color: var(--pine);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-mock-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  background: rgba(22,19,14,0.025);
  border: 1px solid rgba(22,19,14,0.06);
  border-radius: 9px;
}
.cfield-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.cfield-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.cfield-value.dim {
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-body);
  font-size: 13px;
}

.calc-mock-result {
  margin: 4px 20px 20px;
  padding: 16px 18px;
  background: rgba(46,90,76,0.05);
  border: 1px solid rgba(46,90,76,0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-label {
  font-size: 13px;
  color: var(--pine);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.result-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pine);
  letter-spacing: -0.025em;
}

.calc-copy {
  padding-top: 8px;
}
.calc-copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.calc-copy p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.calc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.calc-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 8px;
}


/* ── WHAT-IF ───────────────────────────────────────────────── */

.section-whatif {
  background: var(--paper-warm);
  border-top: 1px solid rgba(22,19,14,0.06);
}

.whatif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.whatif-card {
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid rgba(22,19,14,0.07);
  border-radius: 12px;
}
.whatif-scenario {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.whatif-change {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.wc-before {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(122,114,97,0.5);
}
.wc-arrow { color: var(--pine); font-size: 16px; line-height: 1; }
.wc-after {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--pine);
}
.wc-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
  background: rgba(121,174,148,0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 2px;
}
.whatif-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}


/* ── DOWNLOAD CTA ──────────────────────────────────────────── */

.section-cta {
  background: var(--pine);
  padding: 120px var(--pad-page);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(121,174,148,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin-bottom: 20px;
}
.cta-headline em { font-style: italic; color: var(--sage); }

.cta-sub {
  font-size: 17px;
  color: rgba(245,242,234,0.5);
  line-height: 1.65;
  margin-bottom: 40px;
}

.cta-req {
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(245,242,234,0.28);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ── FOOTER ────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  padding: 52px var(--pad-page);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {}
.footer-logo-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.025em;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(245,242,234,0.3);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,242,234,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.footer-links a:hover { color: var(--paper); }

.footer-copy {
  font-size: 12px;
  color: rgba(245,242,234,0.22);
  letter-spacing: 0.02em;
}


/* ── ANIMATIONS ────────────────────────────────────────────── */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ── INNER PAGES (support / privacy) ──────────────────────── */

.inner-hero {
  background: var(--pine);
  padding: 120px var(--pad-page) 72px;
}
.inner-hero .eyebrow { color: var(--sage); margin-bottom: 14px; }
.inner-hero .section-title { color: var(--paper); margin-bottom: 0; }

.inner-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px var(--pad-page);
}

.inner-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.022em;
  margin-top: 52px;
  margin-bottom: 14px;
}
.inner-body h2:first-child { margin-top: 0; }

.inner-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.inner-body p strong { color: var(--ink); font-weight: 600; }

.inner-body ul {
  list-style: none;
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inner-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.inner-body ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 9px;
}

.inner-body .contact-block {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--paper-warm);
  border: 1px solid rgba(22,19,14,0.08);
  border-radius: 12px;
}
.contact-block p { margin-bottom: 4px; }
.contact-block a {
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
}
.contact-block a:hover { text-decoration: underline; }

.divider-line {
  height: 1px;
  background: rgba(22,19,14,0.07);
  margin: 48px 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(22,19,14,0.07);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid rgba(22,19,14,0.07); }
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0 !important;
}


/* ── NAV LOGO WITH ICON ────────────────────────────────── */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--paper);
  transition: color 0.35s ease;
}
nav.scrolled .nav-logo { color: var(--ink); }

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(22,19,14,0.18);
}


/* ── PRICING SECTION ───────────────────────────────────── */

.section-pricing {
  background: var(--paper-warm);
  border-top: 1px solid rgba(22,19,14,0.06);
  padding: var(--pad-section) var(--pad-page);
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing-copy {}
.pricing-copy .section-body { max-width: 42ch; }

.pricing-card {
  background: var(--paper);
  border: 1.5px solid rgba(46,90,76,0.22);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 20px 56px rgba(22,19,14,0.08), 0 4px 12px rgba(22,19,14,0.04);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount sup {
  font-size: 28px;
  font-weight: 500;
  vertical-align: 0.55em;
  color: var(--muted);
  margin-right: 2px;
}

.price-note {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  padding-top: 4px;
  border-top: 1px solid rgba(22,19,14,0.07);
  padding-top: 24px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.price-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(121,174,148,0.18);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232E5A4C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(197,138,46,0.32);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-bottom: 14px;
}
.price-btn:hover {
  background: var(--amber-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197,138,46,0.42);
}

.price-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  color: var(--pine);
  border: 1.5px solid rgba(46, 90, 76, 0.3);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  margin-bottom: 14px;
}
.price-btn-secondary:hover {
  background: rgba(46, 90, 76, 0.06);
  border-color: rgba(46, 90, 76, 0.55);
  transform: translateY(-2px);
}

.price-sub {
  text-align: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ── RESPONSIVE ────────────────────────────────────────── */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  :root { --pad-section: 88px; }

  .targets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-wrap {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .pricing-copy .section-body { max-width: none; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root {
    --pad-section: 64px;
    --pad-page: 20px;
  }

  /* Nav: hide middle links on mobile */
  .nav-links a:not(.btn-download) { display: none; }
  .nav-links { gap: 12px; }

  /* Hero */
  .hero { padding: 100px 20px 72px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 14px; }
  .demo-metrics { grid-template-columns: repeat(3, 1fr); }
  .demo-metric { padding: 11px 10px; }
  .demo-metric-val { font-size: 11px; }

  /* Two-col layouts → single col */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }

  /* Targets → 2 col */
  .targets-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .target-number { font-size: 36px; }

  /* Privacy → 1 col */
  .privacy-cards { grid-template-columns: 1fr; gap: 14px; }

  /* Calculator */
  .calc-content.active { grid-template-columns: 1fr; gap: 32px; }
  .calc-tabs { width: 100%; }
  .calc-tab { flex: 1; text-align: center; }

  /* What-if → 1 col */
  .whatif-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-wrap { gap: 32px; }
  .pricing-card { padding: 36px 24px; }
  .price-amount { font-size: 58px; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }
  .footer-links { justify-content: center; }

  /* Inner pages */
  .inner-body { padding: 48px 20px; }
}

/* Narrow mobile — 480px */
@media (max-width: 480px) {
  .targets-grid { grid-template-columns: 1fr; }
  .demo-metrics { grid-template-columns: 1fr; }
  .demo-metric { border-radius: 0; }
  .demo-metrics { border-radius: 8px; overflow: hidden; }

  .hero-headline { letter-spacing: -0.025em; }
  .section-title { font-size: clamp(28px, 7vw, 36px); }
  .cta-headline { font-size: clamp(34px, 8vw, 48px); }

  .mode-chips { gap: 6px; }
  .mode-chip { font-size: 12px; padding: 7px 10px; }
}

