/* Wealth Simulate — marketing site stylesheet
   Mobile-first. Two breakpoints: 640px (tablet), 960px (desktop). */

:root {
  --ink: #1c2a24;
  --paper: #fdfbf6;
  --bg: #f3efe6;
  --brand: #1c6b4f;
  --brand-dark: #154f3b;
  --brand-tint: #e7f0ea;
  --gold: #c98a3a;
  --gold-dark: #b87b2f;
  --muted: #5a6a60;
  --muted-2: #8a9a8f;
  --muted-3: #a9b3ac;
  --border: rgba(28, 42, 36, 0.1);
  --border-strong: rgba(28, 42, 36, 0.2);
  --dark: #1c2a24;
  --dark-card: #243830;
  --error: #c0503f;
  --font-serif: 'Newsreader', serif;
  --font-sans: 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; }

/* A `hidden` attribute toggled by JS must always win, even on elements
   that also carry an inline `style="display:..."` (e.g. the flex-column
   wrapper divs in the auth forms) — an inline style otherwise always
   beats a plain stylesheet rule, silently leaving the element visible.
   Real bug this fixed: forgot-password.php and reset-password.php's
   success view AND their form both stayed visible after submit, because
   the form wrapper's inline `display:flex` overrode `[hidden]`. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

button, input, textarea { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 999px;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary { background: var(--brand); color: var(--paper); }
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
}
.btn-outline:hover { background: var(--paper); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-white {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--ink);
}
.btn-white:hover { background: #f7f4ee; }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }

.link-accent {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}

.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-wealth { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 18px; color: var(--ink); }
.brand-simulate { font-family: var(--font-sans); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.brand img.brand-logo-img { height: 46px; width: auto; }

.footer .brand-wealth { color: var(--paper); }
.footer .brand-simulate { color: var(--gold); }

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

.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.nav-links a.active { color: var(--brand); font-weight: 600; }

.nav-actions {
  display: none;
  align-items: center;
  gap: 16px;
  flex: none;
}

.nav-actions a.link-login { text-decoration: none; font-size: 14.5px; color: var(--ink); font-weight: 500; }

.mobile-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex: none;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
}

.mobile-menu a { text-decoration: none; color: var(--ink); font-size: 15px; }
.mobile-menu .mobile-divider { height: 1px; background: var(--border); margin: 4px 0; }
.mobile-menu .btn { text-align: center; }
.mobile-menu[hidden] { display: none; }

@media (min-width: 820px) {
  .nav-links, .nav-actions { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: #e7e2d4;
  margin-top: auto;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-about { max-width: 320px; }
.footer-about p { font-size: 13.5px; line-height: 1.6; color: var(--muted-3); margin-top: 14px; }
.footer-parent-company { margin-top: 6px !important; font-size: 12.5px !important; color: var(--muted-2) !important; }

.footer-col-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #e7e2d4; text-decoration: none; font-size: 14px; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 32px;
  border-top: 1px solid rgba(231, 226, 212, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
}

@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Hero / sections ---------- */

main { display: block; }

.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-dark { background: var(--dark); padding: 56px 0; }
.section-paper { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.12;
  max-width: 820px;
}

.hero h1 em { font-style: italic; color: var(--brand); }

.hero-sub { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 600px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Decision panel (homepage hero visual) ----------
   A real, full-width, responsive HTML panel — not a fixed-aspect image
   shrunk inside an oversized decorative wrapper. It shows an actual
   Scenario Builder result (the exact "buy a flat" question from the
   cards below it), so the hero visual demonstrates the product instead
   of a generic screenshot. */

.decision-panel {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 28px auto 0;
  background: var(--paper);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 30px 70px -16px rgba(28, 42, 36, 0.22), 0 10px 26px rgba(28, 42, 36, 0.07);
  text-align: left;
}

.decision-question { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.25; margin: 12px 0 6px; }
.decision-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 2px; }
.decision-setup { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 22px; }

.decision-chart-wrap svg { width: 100%; height: auto; display: block; }

.decision-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.decision-chip { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.decision-chip-label { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.decision-chip-value { font-family: var(--font-serif); font-size: 19px; color: var(--ink); }

.decision-verdict {
  margin-top: 16px;
  background: var(--brand-tint);
  color: #154f3b;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 600;
}

.decision-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: 0 16px 30px rgba(28, 42, 36, 0.2);
}
.decision-badge .label { font-size: 10.5px; letter-spacing: 0.05em; color: #a9c9b3; }
.decision-badge .value { font-family: var(--font-serif); font-size: 18px; }

@media (min-width: 640px) {
  .decision-chips { grid-template-columns: 1fr 1fr; }
}

/* ================= Pricing hero card (pricing.php) =======================
   A compact dark banner above the two plan cards, echoing the launch
   video's pricing scene: strike-through "pay again next year" contrasted
   with the real ₹999-one-time number. */
.pricing-hero-card {
  max-width: 760px; margin: 0 auto 36px; background: var(--dark); color: #fff;
  border-radius: 20px; padding: 36px 28px; text-align: center;
  box-shadow: 0 30px 70px -16px rgba(28, 42, 36, 0.25);
}
.pricing-hero-strike { font-size: 14px; color: #a9c9b3; text-decoration: line-through; margin-bottom: 10px; }
.pricing-hero-amount { font-family: var(--font-serif); font-size: 56px; line-height: 1; margin-bottom: 10px; }
.pricing-hero-sub { font-size: 14.5px; color: var(--gold); font-weight: 600; }

/* ================= Live calculator (homepage "Try it live" section) =====
   A real, working calculator — plain range inputs recompute the output on
   every `input` event via js/main.js's initLiveCalc(). No backend call;
   this is illustrative math for a visitor who hasn't signed up yet, using
   the same formulas the Simulation Engine uses server-side for signed-in
   users. Reuses .decision-panel's card look. */
.live-calc-card {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 28px auto 0;
  background: var(--paper);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 30px 70px -16px rgba(28, 42, 36, 0.22), 0 10px 26px rgba(28, 42, 36, 0.07);
  text-align: left;
}
.live-calc-tabs { display: flex; gap: 6px; margin-bottom: 22px; background: var(--bg); border-radius: 12px; padding: 4px; }
.live-calc-tab {
  flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 10px 14px;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.live-calc-tab.active { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(28,42,36,.08); }
.live-calc-panel[hidden] { display: none; }
.live-calc-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 760px) { .live-calc-grid { grid-template-columns: 1fr 1fr; } }
.live-calc-row { margin-bottom: 18px; }
.live-calc-row:last-child { margin-bottom: 0; }
.live-calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.live-calc-label strong { font-family: var(--font-serif); font-size: 16px; color: var(--ink); font-weight: 500; }
.live-calc-row input[type="range"] {
  width: 100%; accent-color: var(--brand); height: 4px; cursor: pointer;
}
.live-calc-output { background: var(--bg); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.live-calc-output-headline-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.live-calc-output-headline-value { font-family: var(--font-serif); font-size: 38px; color: var(--brand); line-height: 1.1; }
.live-calc-output-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.live-calc-output-cell-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.live-calc-output-cell-value { font-family: var(--font-serif); font-size: 19px; color: var(--ink); }
.live-calc-bar-row { margin-bottom: 14px; }
.live-calc-bar-row:last-child { margin-bottom: 0; }
.live-calc-bar-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.live-calc-bar-track { height: 14px; border-radius: 999px; background: var(--border); overflow: hidden; }
.live-calc-bar-fill { height: 100%; border-radius: 999px; transition: width .25s ease; }
.live-calc-verdict { margin-top: 4px; background: var(--brand-tint); color: #154f3b; border-radius: 999px; padding: 12px 18px; font-size: 13.5px; font-weight: 600; text-align: center; }

@media (min-width: 820px) {
  .decision-panel { padding: 40px; }
  .decision-question { font-size: 27px; }
  .decision-badge { position: absolute; top: -20px; right: 32px; margin-bottom: 0; }
}

.image-placeholder {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #efe9dc, #efe9dc 10px, #e7e0d0 10px, #e7e0d0 20px);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

@media (min-width: 820px) {
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 18px; }
}

/* ---------- Page headers (interior pages) ---------- */

.page-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 20px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.page-header h1 { font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 1.14; }
.page-header p { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 560px; }

@media (min-width: 820px) {
  .page-header h1 { font-size: 46px; }
  .page-header p { font-size: 17px; }
}

/* ---------- Grids ---------- */

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 8px;
}

.card-title { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.card-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 0.15s ease; }
.card-link:hover { border-color: var(--brand); }

.card-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.card-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.card-list li { font-size: 14px; color: var(--ink); font-weight: 500; padding-left: 18px; position: relative; }
.card-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 600; }

/* ---------- Section heads ---------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2, .section-head-row h2 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; }
.section-head p, .section-head-row p { color: var(--muted); font-size: 15px; max-width: 460px; }

.section-head-center { text-align: center; align-items: center; }

@media (min-width: 820px) {
  .section-head h2, .section-head-row h2 { font-size: 32px; }
}

/* ---------- Timeline chart (illustrative SVG) ---------- */

.chart-block { max-width: 820px; margin: 0 auto 56px; padding: 0 20px; }
.chart-block h2 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; color: var(--paper); text-align: center; margin-bottom: 8px; }
.chart-block .chart-caption { text-align: center; color: var(--muted-3); font-size: 14px; margin-bottom: 24px; }
.chart-legend { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.chart-legend span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #d7ddd8; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-disclaimer { text-align: center; font-size: 12px; color: #6f8078; margin-top: 14px; }

@media (min-width: 820px) {
  .chart-block h2 { font-size: 30px; }
}

/* ---------- Steps ---------- */

.steps-wrap { max-width: 1180px; margin: 56px auto 0; padding: 0 20px; }
.steps-wrap h2 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; color: var(--paper); text-align: center; margin-bottom: 12px; }
.steps-wrap > p { text-align: center; color: var(--muted-3); font-size: 15px; max-width: 520px; margin: 0 auto 40px; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.step-num { font-family: var(--font-serif); font-style: italic; font-size: 30px; color: var(--gold); }
.step-title { font-size: 16px; font-weight: 600; color: var(--paper); margin: 10px 0 8px; }
.step-text { font-size: 13.5px; line-height: 1.6; color: var(--muted-3); }

@media (min-width: 960px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Numbered rows (How It Works page) */
.row-steps { display: flex; flex-direction: column; }
.row-step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.row-step:last-child { border-bottom: none; }
.row-step-num { font-family: var(--font-serif); font-style: italic; font-size: 32px; color: var(--gold); flex: none; width: 56px; }
.row-step-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.row-step-text { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 600px; }

@media (min-width: 640px) {
  .row-step-num { width: 70px; font-size: 40px; }
  .row-step-title { font-size: 19px; }
  .row-step-text { font-size: 14.5px; }
}

.worked-example { display: flex; flex-direction: column; gap: 16px; }
.worked-example .dark-card { background: var(--dark-card); border-radius: 12px; padding: 20px 22px; }
.worked-example .dark-card-label { font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.worked-example .dark-card-text { font-size: 14px; line-height: 1.6; color: #d7ddd8; }

/* ---------- Pricing ---------- */

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.price-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card--featured { background: var(--dark); border-color: var(--dark); color: var(--paper); }
.price-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.price-amount { font-family: var(--font-serif); font-size: 30px; margin-bottom: 4px; }
.price-amount span { font-size: 13px; color: var(--muted); font-weight: 400; }
.price-card--featured .price-amount span { color: var(--muted-3); }
.price-note { font-size: 12.5px; color: var(--muted-2); }
.price-card--featured .price-note { color: var(--muted-3); }
.price-card--featured .price-name { color: var(--gold); }
.badge-popular {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-features { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: #4a5850; border-top: 1px solid rgba(28, 42, 36, 0.08); padding-top: 16px; }
.price-card--featured .price-features { color: #d7ddd8; border-top-color: rgba(231, 226, 212, 0.12); }
.price-extras { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted-2); font-style: italic; border-top: 1px dashed rgba(28, 42, 36, 0.12); padding-top: 12px; }
.price-card--featured .price-extras { color: var(--muted-3); border-top-color: rgba(231, 226, 212, 0.18); }

/* Plan differentiator — what a tier newly unlocks over the one below it,
   computed in pricing.php from Plans::includedFeatures() so it's never
   out of sync with what's actually gated. Bold + brand-colored so it
   reads as the headline reason to upgrade, not buried in the full
   checklist below it (which two adjacent tiers otherwise share ~80% of). */
.price-unlocks { font-size: 12.5px; font-weight: 700; color: var(--brand); margin-top: 6px; line-height: 1.5; }
.price-card--featured .price-unlocks { color: var(--gold); }
.price-unlocks--note { font-weight: 400; font-style: italic; color: var(--muted-2); }
.price-card--featured .price-unlocks--note { color: var(--muted-3); }
.price-feature-new { font-weight: 700; color: var(--ink); }
.price-card--featured .price-feature-new { color: var(--paper); }

/* Full feature comparison table */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
.compare-table thead th { text-align: center; padding: 16px 12px; font-family: var(--font-serif); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--border); }
.compare-table thead th.compare-table-feature-col { text-align: left; }
.compare-table th.compare-table-featured, .compare-table td.compare-table-featured { background: var(--brand-tint); }
.compare-table .compare-table-feature-col { text-align: left; padding: 10px 16px; font-weight: 400; color: #2a3a32; white-space: nowrap; }
.compare-table td { text-align: center; padding: 10px 12px; border-bottom: 1px solid rgba(28, 42, 36, 0.06); }
.compare-table-group-row th { text-align: left; padding: 14px 16px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); border-bottom: none; }
.compare-table-yes { color: var(--brand); font-weight: 700; }
.compare-table-no { color: var(--muted-2); }

@media (min-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid--two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; max-width: 820px; margin: 0 auto; }
}

/* Home compact pricing preview */
.pricing-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pricing-preview-card { background: var(--bg); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.pricing-preview-card--featured { background: var(--dark); color: var(--paper); }
.pricing-preview-card--featured .price-name { color: var(--gold); }
.pricing-preview-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.pricing-preview-card--featured .pricing-preview-desc { color: var(--muted-3); }

@media (min-width: 960px) {
  .pricing-preview-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-preview-grid--two { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; max-width: 700px; margin: 0 auto; }
}

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}
.faq-question span:first-child { font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-sign { font-size: 20px; color: var(--brand); flex: none; line-height: 1; }
.faq-answer { margin: 0; padding: 0 20px 18px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.faq-answer[hidden] { display: none; }

/* ---------- CTA sections ---------- */

.cta-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-block h2 { font-family: var(--font-serif); font-weight: 500; font-size: 28px; }

@media (min-width: 820px) {
  .cta-block h2 { font-size: 32px; }
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-card-header { text-align: center; margin-bottom: 6px; }
.form-card-header h1 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.form-card-header p { font-size: 14px; color: var(--muted); }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-row { display: flex; justify-content: space-between; align-items: baseline; }
.form-group label { font-size: 13px; font-weight: 600; }
.form-group label .optional { color: var(--muted-2); font-weight: 400; }

.form-group input,
.form-group textarea {
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
}
.form-group textarea { resize: vertical; }

.form-error { font-size: 12.5px; color: var(--error); min-height: 16px; }

.divider { display: flex; align-items: center; gap: 12px; margin: 2px 0; }
.divider-line { flex: 1; height: 1px; background: var(--border-strong); }
.divider span { font-size: 12px; color: var(--muted-2); }

.form-footnote { text-align: center; font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.form-fineprint { text-align: center; font-size: 12px; color: var(--muted-2); margin: 4px 0 0; line-height: 1.5; }

.form-success { text-align: center; padding: 30px 8px; display: flex; flex-direction: column; gap: 10px; }
.form-success .check { font-size: 32px; }
.form-success .title { font-size: 16px; font-weight: 600; }
.form-success p { font-size: 13.5px; color: var(--muted); }
.form-success[hidden] { display: none; }

@media (min-width: 640px) {
  .form-card { padding: 36px; }
}

/* ---------- Contact split layout ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 72px; }
.contact-info h1 { font-family: var(--font-serif); font-weight: 500; font-size: 32px; margin-bottom: 16px; line-height: 1.15; }
.contact-info > p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 420px; margin-bottom: 28px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.contact-item .label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.contact-item .value { font-size: 15px; }

@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1fr; padding: 72px 20px 88px; }
  .contact-info h1 { font-size: 40px; }
}

/* ---------- Legal pages ---------- */

.legal-content { display: flex; flex-direction: column; gap: 24px; font-size: 14.5px; line-height: 1.75; color: #3f4b45; }
.legal-content h2 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--muted-2); margin-bottom: 32px; }
.legal-title { font-family: var(--font-serif); font-weight: 500; font-size: 32px; margin-bottom: 8px; }

/* ---------- Mission / About ---------- */

.mission-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
.mission-col .label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.mission-col p { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--paper); font-style: italic; }

@media (min-width: 820px) {
  .mission-grid { grid-template-columns: 1fr 1fr; }
}

.belief-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.belief-title { font-size: 15.5px; font-weight: 600; margin-bottom: 10px; }
.belief-text { font-size: 14px; line-height: 1.65; color: var(--muted); }

@media (min-width: 820px) {
  .belief-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Trust strip (hero) ---------- */

.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 2px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; stroke: var(--brand); fill: none; stroke-width: 1.7; flex: none; }

/* ---------- Icon badges (question cards, feature tags) ---------- */

.icon-badge {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex: none;
}
.icon-badge svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge-sm { width: 30px; height: 30px; border-radius: 8px; margin-bottom: 0; }
.icon-badge-sm svg { width: 15px; height: 15px; }

/* Colorful accent tiles — same palette as the app dashboard's "What would
   you like to explore?" cards (app/css/app.css .explore-icon), reused here
   so the marketing site's question/feature cards read as one family with
   the product instead of an all-green monochrome set. */
.icon-badge.tile-blue { background: #eaf1fb; }
.icon-badge.tile-blue svg { stroke: #3b6fa0; }
.icon-badge.tile-purple { background: #f1ecfa; }
.icon-badge.tile-purple svg { stroke: #6b4fa0; }
.icon-badge.tile-green { background: #e7f0ea; }
.icon-badge.tile-green svg { stroke: #1c6b4f; }
.icon-badge.tile-gold { background: #fdf3df; }
.icon-badge.tile-gold svg { stroke: #a9721f; }
.icon-badge.tile-teal { background: #e6f5f3; }
.icon-badge.tile-teal svg { stroke: #1f7a6c; }
.icon-badge.tile-rose { background: #fbeef0; }
.icon-badge.tile-rose svg { stroke: #a1425a; }
.icon-badge.tile-slate { background: #eef0ee; }
.icon-badge.tile-slate svg { stroke: #4a5a52; }

/* Same accent palette, as a small text pill for the feature-category tags
   (🏠 Major purchases, 💼 Career & income, etc.) so those cards pick up
   the same colorful family instead of uniform brand-green text. */
.card-tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
}
.card-tag.tag-blue { background: #eaf1fb; color: #3b6fa0; }
.card-tag.tag-purple { background: #f1ecfa; color: #6b4fa0; }
.card-tag.tag-gold { background: #fdf3df; color: #a9721f; }
.card-tag.tag-teal { background: #e6f5f3; color: #1f7a6c; }

/* ---------- Hero product-preview intro (leads into the existing
   buy-vs-rent decision panel mockup) ---------- */
.hero-preview-head { max-width: 560px; margin: 8px auto 0; text-align: center; }
.hero-preview-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin: 0 0 6px; }
.hero-preview-head p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- India-first term chips ---------- */
.term-chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 6px; }
.term-chip { font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- Trust / privacy points ---------- */
.trust-points { display: grid; grid-template-columns: 1fr; gap: 4px; max-width: 640px; margin: 0 auto; }
@media (min-width: 640px) { .trust-points { grid-template-columns: repeat(2, 1fr); } }
.trust-point { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 14.5px; color: var(--ink); }
.trust-point svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.trust-points-footer { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Sample simulation (static worked example, no live
   calculation — see project note on anonymous-engine-call scope) ---------- */
.sample-card { max-width: 680px; margin: 0 auto; background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 30px 28px; text-align: center; }
.sample-inputs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 22px; }
.sample-input-chip { font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.sample-scenario { font-family: var(--font-serif); font-style: italic; font-size: 19px; margin-bottom: 14px; }
.sample-result { display: inline-block; background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 12px; margin-bottom: 20px; }

/* ---------- Plan tagline (pricing cards + homepage pricing preview) ---------- */
.plan-tagline { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.price-card--featured .plan-tagline { color: var(--paper); }
.pricing-preview-card--featured .plan-tagline { color: var(--paper); }

/* ---------- "Guessing vs. simulating" comparison ---------- */

.compare-section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.compare-section-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.25; }

.compare-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 940px; margin: 0 auto; }
.compare-col { border-radius: 16px; padding: 26px 24px 8px; }
.compare-col-old { background: var(--bg); border: 1px solid var(--border); }
.compare-col-new { background: var(--dark); color: var(--paper); border: 1px solid var(--dark); }
.compare-col-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted-2); }
.compare-col-new .compare-col-label { color: var(--gold); }
.compare-col-heading { font-family: var(--font-serif); font-size: 19px; margin-bottom: 14px; }
.compare-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 14.5px; line-height: 1.5; }
.compare-row + .compare-row { border-top: 1px solid rgba(28, 42, 36, 0.08); }
.compare-col-new .compare-row + .compare-row { border-top-color: rgba(231, 226, 212, 0.12); }
.compare-row svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 1.8; fill: none; }
.compare-col-old .compare-row svg { stroke: var(--muted-2); }
.compare-col-new .compare-row svg { stroke: var(--gold); }
.compare-col-old .compare-row span { color: var(--muted); }
.compare-col-new .compare-row span { color: #e7e2d4; }

@media (min-width: 820px) {
  .compare-wrap { grid-template-columns: 1fr 1fr; }
  .compare-col-new { padding-top: 34px; }
}

/* ---------- Lever panel (homepage "what makes the decision work") ---------- */

.lever-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 30px 70px -16px rgba(28, 42, 36, 0.16), 0 10px 26px rgba(28, 42, 36, 0.06);
}

.lever-baseline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.lever-baseline-label { font-size: 14px; color: var(--muted); }
.lever-baseline-value { font-family: var(--font-serif); font-size: 26px; color: var(--error); }

.lever-list { display: flex; flex-direction: column; gap: 10px; }
.lever-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.lever-change { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1 1 auto; min-width: 160px; }
.lever-arrow { color: var(--muted-2); flex: none; }
.lever-result { font-family: var(--font-serif); font-size: 15px; color: var(--muted); flex: none; }

.lever-row--positive { background: var(--brand-tint); }
.lever-result--positive { color: var(--brand); font-weight: 600; }

.lever-tagline {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin-top: 22px;
}

.lever-positioning { font-size: 15px; color: var(--muted); max-width: 560px; margin: 24px auto 0; }
.lever-positioning strong { color: var(--ink); }

@media (min-width: 640px) {
  .lever-row { flex-wrap: nowrap; }
}

/* ---------- Feature collage (Features page hero) ---------- */

.feature-collage-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.feature-collage {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.feature-collage-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 14px 34px rgba(28, 42, 36, 0.07);
}
.feature-collage-title { font-size: 15px; font-weight: 600; margin-top: 2px; }
.feature-collage-text { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.feature-collage-visual { display: flex; justify-content: center; align-items: center; margin-top: 4px; }
.feature-collage-visual svg { width: 100%; max-width: 200px; height: auto; }

@media (min-width: 640px) {
  .feature-collage { grid-template-columns: 1fr 1fr; }
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.max-prose { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.max-prose p { font-size: 16px; line-height: 1.75; color: #3f4b45; margin-bottom: 18px; }
.max-prose p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ==========================================================================
   Motion system — scroll reveals, 3D tilt, chart draw-in, count-up numbers,
   floating decoration. Everything here is progressive enhancement:
   - No JS / JS fails: `.js-reveal` never gets added to <html>, so the
     `[data-reveal]` opacity/transform rules below never apply and content
     is simply visible. Nothing depends on animation to be readable.
   - prefers-reduced-motion: reduce: main.js checks this and skips adding
     `.js-reveal`, skips tilt listeners, and skips the count-up (numbers are
     set straight to their final value) — see initMotion() in main.js.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .js-reveal [data-reveal="scale"] { transform: translateY(14px) scale(0.96); }
  .js-reveal [data-reveal="scale"].is-visible { transform: translateY(0) scale(1); }
  .js-reveal [data-reveal="left"] { transform: translateX(-26px); }
  .js-reveal [data-reveal="left"].is-visible { transform: translateX(0); }
  .js-reveal [data-reveal="right"] { transform: translateX(26px); }
  .js-reveal [data-reveal="right"].is-visible { transform: translateX(0); }
}

/* Hero entrance — plays once on load, not scroll-gated, so the first
   thing a visitor sees already feels alive. Skipped entirely under
   reduced-motion (main.js doesn't add .js-hero-anim in that case). */
@media (prefers-reduced-motion: no-preference) {
  .js-hero-anim .hero > .eyebrow,
  .js-hero-anim .hero > h1,
  .js-hero-anim .hero > .hero-sub,
  .js-hero-anim .hero > .hero-actions,
  .js-hero-anim .hero > .trust-strip,
  .js-hero-anim .hero > .hero-preview-head,
  .js-hero-anim .hero > .decision-panel {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .js-hero-anim .hero > .eyebrow { animation-delay: 0.05s; }
  .js-hero-anim .hero > h1 { animation-delay: 0.15s; }
  .js-hero-anim .hero > .hero-sub { animation-delay: 0.25s; }
  .js-hero-anim .hero > .hero-actions { animation-delay: 0.35s; }
  .js-hero-anim .hero > .trust-strip { animation-delay: 0.45s; }
  .js-hero-anim .hero > .hero-preview-head { animation-delay: 0.55s; }
  .js-hero-anim .hero > .decision-panel { animation-delay: 0.68s; }
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* 3D tilt — mousemove sets --tilt-x/--tilt-y (degrees) via JS;
   perspective lives on the element itself so each card tilts around its
   own center. Only attached by JS on fine-pointer/hover-capable devices. */
[data-tilt] {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-shine: 50% 50%;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  isolation: isolate;
}
[data-tilt].is-tilting {
  transition: transform 0.08s linear, box-shadow 0.4s ease;
}
[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--tilt-shine), rgba(255,255,255,0.32), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
[data-tilt].is-tilting::after { opacity: 0.8; }
.card[data-tilt]:hover,
.pricing-preview-card[data-tilt]:hover,
.price-card[data-tilt]:hover,
.feature-collage-card[data-tilt]:hover {
  box-shadow: 0 26px 50px -18px rgba(28, 42, 36, 0.28), 0 8px 18px rgba(28, 42, 36, 0.08);
}
.decision-panel[data-tilt]:hover,
.lever-panel[data-tilt]:hover {
  box-shadow: 0 40px 90px -18px rgba(28, 42, 36, 0.3), 0 14px 32px rgba(28, 42, 36, 0.1);
}

/* Chart draw-in — JS measures each polyline's length and sets
   stroke-dasharray/--dash-offset-start; the transition below animates
   stroke-dashoffset to 0 once the chart scrolls into view. Circles pop in
   right after, staggered by --pop-delay (set inline by JS per element). */
svg[data-chart-draw] polyline {
  stroke-dasharray: var(--dash-len, 0);
  stroke-dashoffset: var(--dash-len, 0);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
svg[data-chart-draw].is-drawn polyline {
  stroke-dashoffset: 0;
}
svg[data-chart-draw] circle {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--pop-delay, 0s);
}
svg[data-chart-draw].is-drawn circle {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  svg[data-chart-draw] polyline { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  svg[data-chart-draw] circle { opacity: 1; transform: none; transition: none; }
}

/* Count-up numbers — JS animates textContent; this just keeps the swap
   from feeling like a jump-cut. */
[data-counter] { display: inline-block; font-variant-numeric: tabular-nums; }

/* Nav bar — small lift once the page scrolls, so it reads as a live
   surface rather than a static bar painted on the page. */
.navbar { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.navbar--scrolled { box-shadow: 0 8px 24px rgba(28, 42, 36, 0.08); }

/* Buttons — a touch of lift + glow on hover, on top of the existing
   background-color transition. */
.btn { transition: background-color 0.15s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(28, 107, 79, 0.45); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(201, 138, 58, 0.4); }
.btn-outline:hover, .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(28, 42, 36, 0.25); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* Cards without the 3D tilt treatment still get a gentle lift. Excludes
   [data-tilt] cards — otherwise this rule's higher specificity would
   stomp the tilt transform JS is animating via --tilt-x/--tilt-y. */
.card { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.card:not([data-tilt]):hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card-link:not([data-tilt]):hover { transform: translateY(-4px); }

/* Lever rows — the arrow gives a subtle pulse to draw the eye left-to-right
   along "change this -> here's the new gap", reinforcing the "turn a knob,
   watch the number move" idea the section is making. */
@media (prefers-reduced-motion: no-preference) {
  .lever-row { transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .lever-row:hover { transform: translateX(4px); box-shadow: 0 10px 24px -12px rgba(28, 42, 36, 0.18); }
  .lever-arrow { display: inline-block; animation: lever-pulse 1.8s ease-in-out infinite; }
  .js-reveal .lever-row:not(.is-visible) .lever-arrow { animation-play-state: paused; }
}
@keyframes lever-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.65; }
  50% { transform: translateX(4px); opacity: 1; }
}

/* Term chips — small hover bounce, staggered fade-in handled by
   [data-reveal-group] below. */
.term-chip { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease; }
.term-chip:hover { transform: translateY(-3px) scale(1.05); background: var(--brand); color: #fff; }

/* Trust points / compare rows — tick icons draw a small check-pulse when
   revealed. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .trust-point[data-reveal] svg,
  .js-reveal .compare-row[data-reveal] svg {
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
    transition-delay: var(--reveal-delay, 0s);
  }
  .js-reveal .trust-point[data-reveal].is-visible svg,
  .js-reveal .compare-row[data-reveal].is-visible svg {
    transform: scale(1);
    opacity: 1;
  }
}

/* Decision / lever panels breathe slightly on load to feel like a live
   computed surface rather than a static screenshot. */
.decision-badge { animation: badge-float 4.5s ease-in-out infinite; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (min-width: 820px) {
  .decision-badge { animation-name: badge-float-abs; }
  @keyframes badge-float-abs {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .decision-badge { animation: none; }
}

/* ---------- Floating background decoration ---------- */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  animation: blob-drift 22s ease-in-out infinite;
}
.bg-blob-1 { width: 360px; height: 360px; background: radial-gradient(circle, #9fc9b1, transparent 70%); top: -80px; left: -60px; animation-duration: 26s; }
.bg-blob-2 { width: 300px; height: 300px; background: radial-gradient(circle, #e3c48a, transparent 70%); top: 60px; right: -60px; animation-duration: 20s; animation-delay: -6s; }
.bg-blob-3 { width: 260px; height: 260px; background: radial-gradient(circle, #7fa895, transparent 70%); bottom: -100px; left: 30%; animation-duration: 24s; animation-delay: -12s; }
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.08); }
  66% { transform: translate(-18px, 14px) scale(0.95); }
}
.hero { position: relative; z-index: 1; }
.section-dark { position: relative; overflow: hidden; }
.section-dark .bg-blob { opacity: 0.14; }
.section-dark .chart-block, .section-dark .steps-wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .bg-blob { animation: none; }
}
@media (max-width: 640px) {
  .bg-blobs { display: none; }
}
