/* SpendWellFi marketing site — matches the app's design language:
   cream surfaces, sage accent, Plus Jakarta Sans, quiet borders. */

:root {
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --ink-mute: #a09a90;
  --accent: #5B8A72;
  --accent-deep: #2f5c42;
  --accent-light: #EEF5EE;
  --border: #e8e4df;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.025em; color: #2D5C42; text-decoration: none; }
.brand .dot { color: #7BC5A0; margin: 0 1px; font-weight: 800; }
.brand .wordmark .fi { color: #7BC5A0; font-weight: 700; font-style: italic; }
.brand .wordmark-group { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark { display: block; }
.brand .tagline { font-size: 9px; font-weight: 700; letter-spacing: 2.6px; color: #5B6B62; margin-top: 2px; }
.brand-mark { background: transparent; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent); color: #fff;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 22px; height: 22px;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--accent-deep); }
/* The nav-links text-link rule above out-specifies .btn-primary's color,
   washing the Buy button to muted gray. Force the button colors back. */
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-ghost { color: var(--accent-deep); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 11px; padding: 12px 24px; font-size: 15px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:focus-visible, a:focus-visible {
  outline: 3px solid rgba(91, 138, 114, 0.5); outline-offset: 2px;
}
.btn-primary {
  background: linear-gradient(160deg, #37684C 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 10px rgba(47, 92, 66, 0.30);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 18px rgba(47, 92, 66, 0.36);
}
.btn-ghost { color: var(--accent-deep); border: 1.5px solid var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 9px 18px; font-size: 13.5px; border-radius: 9px; }
.nav-cta { white-space: nowrap; }
.nav-cta-short { display: none; }
.btn-big { padding: 16px 40px; font-size: 17px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 85% -12%, rgba(123, 197, 160, 0.20), transparent 62%),
    radial-gradient(700px 420px at -10% 30%, rgba(91, 138, 114, 0.10), transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-light);
  border: 1px solid rgba(91, 138, 114, 0.25); border-radius: 99px; padding: 6px 16px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 56px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.07; margin: 22px 0 18px;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink-mute); margin-top: 20px; }

.trust-strip {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.trust-strip li {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  position: relative; padding-left: 20px;
}
.trust-strip li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* ── Hero product mock (illustrative, hand-built — not a screenshot) ── */
.hero-visual { position: relative; }
.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(28, 25, 23, 0.05),
    0 12px 28px rgba(47, 92, 66, 0.10),
    0 32px 64px -24px rgba(47, 92, 66, 0.22);
  overflow: hidden;
}
.app-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  background: #FBFAF8;
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; background: #E4E0DA; }
.tb-title {
  margin-left: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink-soft);
}
.tb-offline {
  margin-left: auto; font-size: 10.5px; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-light);
  border-radius: 99px; padding: 3px 10px; letter-spacing: 0.02em;
}
.app-body { display: grid; grid-template-columns: 44px 1fr; }
.app-side {
  border-right: 1px solid var(--border); padding: 14px 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: #FBFAF8;
}
.side-item {
  width: 18px; height: 18px; border-radius: 6px;
  background: #EBE7E1;
}
.side-active { background: var(--accent); box-shadow: 0 2px 6px rgba(91,138,114,0.35); }
.app-main { padding: 18px 20px 20px; display: grid; gap: 14px; }
.sts-card {
  background: linear-gradient(150deg, var(--accent-deep) 0%, #3A6B4F 100%);
  border-radius: 12px; padding: 16px 18px 15px; color: #fff;
}
.sts-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: #A9D8BF; margin-bottom: 4px;
}
.sts-amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sts-amount span { font-size: 18px; font-weight: 700; opacity: 0.85; }
.sts-sub { font-size: 11px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }
.budget-row { display: grid; gap: 6px; }
.budget-head {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 700; color: var(--ink);
}
.budget-head em { font-style: normal; font-weight: 600; color: var(--ink-mute); }
.budget-bar {
  position: relative; height: 8px; border-radius: 99px;
  background: #EFECE7; overflow: visible;
}
.budget-bar i {
  position: absolute; inset: 0 auto 0 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) 0%, #6FA98A 100%);
}
.budget-bar b {
  position: absolute; top: -3px; bottom: -3px; width: 2px;
  background: var(--accent-deep); border-radius: 2px; opacity: 0.55;
}
.nw-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 8px;
}
.nw-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.nw-delta { font-size: 11px; color: var(--accent-deep); }
.nw-card svg { width: 100%; height: 44px; display: block; }
.hero-badge {
  position: absolute; left: -18px; bottom: -16px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px 10px 12px;
  font-size: 12px; line-height: 1.35; color: var(--ink-soft);
  box-shadow: 0 10px 26px -8px rgba(28, 25, 23, 0.18);
}
.hero-badge strong { color: var(--ink); }
.hb-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-light); color: var(--accent-deep);
  font-weight: 800; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 8px; bottom: -14px; }
}

/* ── "A look inside" tour ─────────────────────────────────── */
.tour-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: start;
}
.tour-item { margin: 0; }
.tour-item figcaption {
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
  margin-top: 14px; text-align: center; padding: 0 4px;
}
/* Compact window variant — single column, no side rail. */
.app-window-sm .app-main { padding: 14px 15px 15px; gap: 11px; min-height: 216px; }
.mini-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2px;
}

/* Net worth + retirement shared header */
.nw2-top { display: flex; justify-content: space-between; align-items: flex-start; }
.nw2-amount { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.nw2-delta, .ret-ok {
  font-size: 11px; font-weight: 700; color: var(--accent-deep);
  background: var(--accent-light); border-radius: 99px; padding: 4px 10px;
  white-space: nowrap;
}
.nw2-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 9px; }
.nw2-tag { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.nw2-bar { height: 8px; border-radius: 99px; background: #EFECE7; overflow: hidden; }
.nw2-bar i { display: block; height: 100%; border-radius: 99px; }
.nw2-assets i { background: linear-gradient(90deg, var(--accent), #6FA98A); }
.nw2-debts i { background: #D8A24A; }
.nw2-val { font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.nw2-spark { width: 100%; height: 52px; display: block; margin-top: auto; }

/* Subscriptions list */
.sub-row {
  display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--border);
}
.sub-row:last-of-type { border-bottom: none; }
.sub-dot { width: 8px; height: 8px; border-radius: 50%; }
.sub-name { font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sub-hike { font-style: normal; font-size: 10px; font-weight: 700; color: #B4531A; background: #FCEBDD; border-radius: 99px; padding: 2px 7px; }
.sub-flag { font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink-mute); background: #F0EEEA; border-radius: 99px; padding: 2px 7px; }
.sub-amt { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sub-stale .sub-name { color: var(--ink-mute); }
.sub-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 6px; padding-top: 10px; border-top: 1.5px solid var(--border);
  font-size: 12px; color: var(--ink-soft);
}
.sub-total strong { font-size: 15px; color: var(--accent-deep); letter-spacing: -0.01em; }

/* Retirement chart */
.ret-chart { width: 100%; height: 92px; display: block; margin: 4px 0; }
.ret-legend { font-size: 10.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 7px; }
.ret-swatch { width: 22px; height: 8px; border-radius: 3px; background: rgba(91,138,114,0.25); flex-shrink: 0; }

@media (max-width: 860px) {
  .tour-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 30px; }
}

/* ── Bands & sections ────────────────────────────────── */
.band { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 14px; }
.band p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

.band-accent { background: var(--accent-deep); color: #fff; border: none; }
.band-accent h2 { color: #fff; }
.promise { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.promise li { padding-left: 28px; position: relative; color: rgba(255,255,255,0.88); font-size: 16px; }
.promise li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #9fd4b8; }
.promise strong { color: #fff; }

.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); }
.section-title { text-align: center; font-size: 32px; letter-spacing: -0.025em; margin: 0 0 48px; }
/* When a lede paragraph follows the title, tighten the gap to it. */
.section-title:has(+ .section-lede) { margin-bottom: 14px; }
.section-lede {
  text-align: center; max-width: 620px; margin: 0 auto 44px;
  font-size: 15px; color: var(--ink-soft);
}

/* ── Pricing ─────────────────────────────────────────── */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1.5px solid var(--accent);
  border-radius: 20px; padding: 44px 40px;
  box-shadow: 0 8px 32px rgba(91, 138, 114, 0.12);
}
.price-amount { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; color: var(--accent-deep); }
.price-sub { font-size: 14px; color: var(--ink-mute); margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; text-align: left; }
.price-card li { padding-left: 26px; position: relative; font-size: 14.5px; color: var(--ink-soft); }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.price-note { font-size: 12px; color: var(--ink-mute); margin: 14px 0 0; }

/* ── FAQ ─────────────────────────────────────────────── */
details {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 10px;
}
details summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px;
  list-style: none; position: relative; padding-right: 28px;
}
details summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 20px; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 2px; }

/* ── Footer ──────────────────────────────────────────── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer p { font-size: 13px; color: var(--ink-mute); margin: 10px 0 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 13.5px; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--accent-deep); }

/* ── Legal pages & download page ─────────────────────── */
.page { max-width: 720px; margin: 0 auto; padding: 72px 24px; }
.page h1 { font-size: 34px; letter-spacing: -0.025em; }
.page h2 { font-size: 20px; margin-top: 36px; }
.page p, .page li { color: var(--ink-soft); font-size: 15px; }
.page .updated { font-size: 13px; color: var(--ink-mute); }

.download-box {
  background: var(--surface); border: 1.5px solid var(--accent);
  border-radius: 16px; padding: 32px; text-align: center; margin: 28px 0;
}
.download-box .btn { margin: 6px; }
.note-box {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px;
  padding: 14px 18px; font-size: 14px; color: #92400e; margin-top: 20px;
}

/* ── How it works ────────────────────────────────────────── */
.why-block h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 18px; }
.why-block > p {
  font-size: 17px; color: var(--ink); line-height: 1.7;
  margin: 0 0 32px;
}
.howit { display: grid; gap: 18px; margin: 0 0 24px; }
/* Flexbox with an explicit .howit-body wrapper — immune to the grid
   auto-placement bug that dropped the paragraph into the number column. */
.howit-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 26px;
  display: flex; gap: 16px; align-items: flex-start;
}
.howit-num {
  flex: 0 0 auto; width: 44px;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--accent); font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.howit-body { flex: 1 1 auto; min-width: 0; }
.howit-step h3 {
  font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em;
  color: var(--ink);
}
.howit-step p {
  font-size: 14.5px !important; color: var(--ink-soft) !important;
  margin: 0 !important; line-height: 1.6;
}
.howit-note {
  font-size: 13.5px !important; color: var(--ink-mute) !important;
  margin: 24px 0 0 !important; text-align: center; line-height: 1.6;
}
@media (max-width: 560px) {
  .howit-step { padding: 18px 20px; gap: 12px; }
  .howit-num { width: 30px; font-size: 18px; }
}

/* ── Spotlights ──────────────────────────────────────────── */
.spotlight {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 40px; margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
}
.spotlight-alt {
  background: var(--accent-light); border-color: rgba(91, 138, 114, 0.2);
}
.spotlight-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 12px;
}
.spotlight h3 {
  font-size: 24px; letter-spacing: -0.02em; line-height: 1.25;
  margin: 0 0 14px; color: var(--ink);
}
.spotlight p {
  font-size: 16px; color: var(--ink-soft); line-height: 1.7;
  margin: 0; max-width: 640px;
}

/* ── And-also chip list ──────────────────────────────────── */
.and-also {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
  margin: 56px 0 18px; text-align: center;
}
.chip-list {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.chip-list li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 16px;
  font-size: 13.5px; color: var(--ink-soft);
}

/* ── Three-column promise row ────────────────────────────── */
.promise-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 28px;
}
.promise-item h3 {
  font-size: 18px; color: #fff; margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.promise-item p {
  font-size: 14.5px; color: rgba(255, 255, 255, 0.78);
  line-height: 1.65; margin: 0;
}
.promise-num {
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
  color: #9fd4b8; opacity: 0.85;
}

/* ── Final buy band ──────────────────────────────────────── */
.final-buy {
  text-align: center; padding: 88px 24px;
  background:
    radial-gradient(760px 380px at 50% 120%, rgba(123, 197, 160, 0.28), transparent 65%),
    var(--accent-deep);
  color: #fff;
}
.final-buy h2 {
  font-size: 36px; letter-spacing: -0.03em; margin: 0 0 10px; color: #fff;
}
.final-buy p {
  font-size: 17px; color: rgba(255, 255, 255, 0.82); margin: 0 0 28px;
}
.final-buy .btn-primary {
  background: #fff; color: var(--accent-deep);
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.35);
}
.final-buy .btn-primary:hover { background: #F2F7F2; }

/* Three 14.5px-text columns get cramped well before 760px — stack the
   promises earlier so tablet widths read comfortably. */
@media (max-width: 880px) {
  .promise-row { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .spotlight { padding: 28px 24px; }
  .spotlight h3 { font-size: 20px; }
  .final-buy h2 { font-size: 28px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 0; }
  .nav-inner { gap: 12px; }
  .brand { font-size: 16px; }
  .brand-mark svg { width: 30px; height: 30px; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .nav-cta { padding: 8px 15px; }
  .hero { padding: 40px 0 56px; }
}

/* ============================================================
   Dark mode — follows the OS setting (prefers-color-scheme).
   Append-only: light mode above is untouched. Same warm/sage
   language, inverted. The product mockups deliberately stay
   LIGHT (bright "screenshots" floating on a dark page).
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #15140F;          /* warm near-black page */
    --surface: #1E1C15;     /* cards, nav, sections */
    --ink: #F4F0E8;         /* warm off-white */
    --ink-soft: #C6C0B3;
    --ink-mute: #8E887A;
    --accent: #7FBE9B;      /* brighter sage for bars, marks, checks */
    --accent-deep: #2f5c42; /* kept: green fills/bands still read as green */
    --accent-light: #1D2A21;/* dark green tint: pills + alt cards */
    --border: #322E24;
  }

  /* Deep-green TEXT that sat on light surfaces must go light-green on dark. */
  .eyebrow, .spotlight-tag, .price-amount, .btn-ghost,
  .nav-links a:hover, .nav-links a.btn-ghost,
  .footer-links a:hover, .hero h1 em { color: #8ECBA9; }

  /* Translucent, blurred nav over the dark page. */
  .nav { background: rgba(21, 20, 15, 0.82); }

  /* Wordmark: light text, but keep the green ·Fi accent popping. */
  .brand { color: #ECE7DD; }
  .brand .tagline { color: #8F9A90; }

  /* SmartScreen / warning note box, re-toned for dark. */
  .note-box {
    background: rgba(253, 230, 138, 0.08);
    border-color: rgba(253, 230, 138, 0.26);
    color: #E7C97A;
  }

  /* Keep the hero + tour mockups (and the floating badge) fully LIGHT by
     re-scoping the design tokens inside them — every child that reads a
     var() snaps back to its light value, so the mock renders identically
     to light mode as a bright screenshot on the dark canvas. */
  .app-window, .hero-badge {
    --bg: #F7F5F2; --surface: #FFFFFF;
    --ink: #1c1917; --ink-soft: #57534e; --ink-mute: #a09a90;
    --accent: #5B8A72; --accent-deep: #2f5c42; --accent-light: #EEF5EE;
    --border: #e8e4df;
  }
}

/* ============================================================
   Micro-interactions & scroll reveal.
   CSS-only hover lifts; reveal is progressive — the hidden
   start state applies ONLY when JS adds .js-anim to <html>,
   so no-JS visitors always see everything.
   ============================================================ */

/* Hover lift on interactive cards */
.spotlight, .howit-step, .price-card, .download-box,
.tour-item .app-window, .chip-list li, .details {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.spotlight:hover, .howit-step:hover, .download-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -20px rgba(47, 92, 66, .38);
  border-color: rgba(91, 138, 114, .34);
}
.tour-item .app-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(28, 25, 23, .06), 0 20px 44px -20px rgba(47, 92, 66, .30);
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(91, 138, 114, .22); }
.chip-list li:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.details:hover { border-color: rgba(91, 138, 114, .30); }

/* Below-the-fold blocks fade + rise into view */
.js-anim .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .7, .24, 1);
  will-change: opacity, transform;
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* Hero copy staggers in on load (animation, not reveal — never leaves
   the hero hidden even if the observer is slow). */
.js-anim .hero-copy > * { animation: swf-rise .6s cubic-bezier(.22, .7, .24, 1) both; }
.js-anim .hero-copy > *:nth-child(1) { animation-delay: .02s; }
.js-anim .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js-anim .hero-copy > *:nth-child(3) { animation-delay: .14s; }
.js-anim .hero-copy > *:nth-child(4) { animation-delay: .20s; }
.js-anim .hero-copy > *:nth-child(5) { animation-delay: .26s; }
.js-anim .hero-visual { animation: swf-rise .7s cubic-bezier(.22, .7, .24, 1) .10s both; }
@keyframes swf-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Mockup progress bars grow from the left when their window enters. */
.budget-bar i, .nw2-bar i { transform-origin: left center; }
.js-anim .app-window .budget-bar i,
.js-anim .app-window .nw2-bar i { transform: scaleX(0); }
.js-anim .app-window.is-in .budget-bar i,
.js-anim .app-window.is-in .nw2-bar i {
  transform: scaleX(1);
  transition: transform .9s cubic-bezier(.22, .7, .24, 1) .15s;
}

/* Anyone who asked for less motion gets none of it. */
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal,
  .js-anim .hero-copy > *, .js-anim .hero-visual,
  .js-anim .app-window .budget-bar i, .js-anim .app-window .nw2-bar i {
    opacity: 1 !important; transform: none !important;
    transition: none !important; animation: none !important;
  }
  .spotlight, .howit-step, .price-card, .download-box,
  .tour-item .app-window, .chip-list li, .details { transition: none; }
  .spotlight:hover, .howit-step:hover, .price-card:hover,
  .download-box:hover, .tour-item .app-window:hover { transform: none; }
}
