/* Retirement Tax Radar: kitchen-table chrome (deep navy / warm paper / brass) */
:root {
  color-scheme: light;
  --bg: #E8DCC8;
  --bg-2: #F3E9D4;
  --surface: #F7F0E4;
  --surface-2: #EDE3D0;
  --ink: #1A140C;
  --ink-2: #4A4033;
  --muted: #6E6254;
  --navy: #0A1C30;
  --navy-dark: #0A1C30;
  --navy-ink: #071422;
  --gold: #C4A35A;
  --gold-soft: #F3E6C4;
  --gold-line: #D4BC7A;
  --line: #D9CBB0;
  --line-soft: #E4D6BC;
  --cream: #FBF4E6;
  --good: #1E7B34;
  --good-soft: #E8F4EA;
  --warn: #B54708;
  --warn-soft: #FBEEE3;
  --bad: #B42318;
  --bad-soft: #FBEAE8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(26,20,12,.06), 0 10px 28px rgba(26,20,12,.08);
  --shadow-lg: 0 2px 6px rgba(10,28,48,.08), 0 22px 48px rgba(10,28,48,.16);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 12% -8%, rgba(196,163,90,.16), transparent 42%),
    radial-gradient(ellipse at 92% 110%, rgba(10,28,48,.07), transparent 46%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(90,70,40,.018) 3px, rgba(90,70,40,.018) 4px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); }
.wrap, .wrap-narrow {
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1080px; }
.wrap-narrow { max-width: 760px; }

/* ---------- Sticky nav: logo | links | Sign in. Mobile: logo | Sign in | hamburger ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-dark);
  color: var(--cream);
  border-bottom: 1px solid rgba(196,163,90,.32);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--cream);
  font-weight: 800;
  letter-spacing: .01em;
  font-size: 17px;
  white-space: nowrap;
}
.brand .mark {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy-dark);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brand-compact { display: none; }
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
@media (min-width: 900px) {
  .brand { order: 1; }
  .nav-menu { order: 2; }
  .nav-end { order: 3; margin-left: 0; }
}
.nav-primary {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 5.6rem;
  padding: 10px 16px !important;
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  border-radius: 10px;
  font-size: 15px !important;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-primary:hover { background: #D4B56A !important; }
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  place-items: center;
  background: transparent;
  border: 1.5px solid rgba(251,244,230,.35);
  border-radius: 10px;
  cursor: pointer;
  color: var(--cream);
  padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav.is-open .nav-toggle-bars { background: transparent; }
.nav.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-menu { display: flex; flex: 1; align-items: center; min-width: 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: 8px; }
.nav-links a {
  color: #E8DCC8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 10px;
}
.nav-account a {
  color: #E8DCC8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-signout {
  background: transparent;
  border: 1.5px solid rgba(251,244,230,.35);
  color: var(--cream);
  border-radius: 10px;
  min-height: 44px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.nav-signout:hover { border-color: var(--gold); color: var(--gold-soft); }
[hidden] { display: none !important; }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  padding: 15px 28px;
  min-height: 48px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--navy-dark); }
.btn:active { transform: scale(.99); }
.btn.gold { background: var(--gold); color: var(--navy-dark); }
.btn.gold:hover { background: #D4B56A; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 600; }
.btn.ghost:hover { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn.sm { padding: 10px 18px; font-size: 15px; border-radius: 10px; min-height: 44px; }
.btn.xl { padding: 18px 36px; font-size: 19px; }

@media (max-width: 899px) {
  .nav { position: sticky; }
  .nav-in { flex-wrap: nowrap; }
  .nav-toggle { display: grid; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    border-bottom: 1px solid rgba(196,163,90,.32);
    padding: 10px 0 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open { display: block; }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0 max(16px, env(safe-area-inset-left, 0px)) 8px max(16px, env(safe-area-inset-right, 0px));
  }
  .nav-links a {
    display: flex;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(251,244,230,.08);
  }
  .nav-account {
    margin: 8px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    padding: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .brand-full { display: none; }
  .brand-compact { display: inline; }
  .nav-in { gap: 6px; min-height: 56px; }
  .nav-primary { min-width: 4.8rem; padding: 10px 12px !important; font-size: 14px !important; }
  .hero-table { padding-top: 20px; }
  .hero-table h1 { font-size: 28px; overflow-wrap: anywhere; }
  .hero-table .lede { font-size: 16px; }
  .hero-check .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .hero-check select,
  .hero-check input[type=number] { min-height: 48px; font-size: 16px; }
  .hero-object { display: none; }
  .who-for { padding: 12px 14px; margin-bottom: 14px; }
  .who-for li { font-size: 14px; }
}

/* ---------- Kitchen-table hero ---------- */
.hero-table {
  position: relative;
  background:
    radial-gradient(ellipse at 78% -20%, rgba(196,163,90,.28), transparent 48%),
    radial-gradient(ellipse at 8% 80%, rgba(7,20,34,.45), transparent 50%),
    linear-gradient(180deg, #0A1C30 0%, #10253D 58%, #163044 100%);
  color: var(--cream);
  padding: 40px 0 0;
}
.hero-table::after {
  content: "";
  display: block;
  height: 10px;
  margin-top: 44px;
  background: linear-gradient(90deg, #6E5314, #C4A35A 38%, #F3E6C4 50%, #C4A35A 62%, #6E5314);
}
.hero-table h1 { color: #FBF4E6; }
.hero-table .lede { color: #D8CCB4; }
.hero-table .eyebrow { color: var(--gold); }
.hero-table .eyebrow::before { background: var(--gold); }
.hero-stage { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: start; padding-bottom: 8px; }
.hero-object, .how-still { margin: 0; }
.hero-object img, .how-still img { width: 100%; height: auto; display: block; border-radius: 2px; }
.hero-object figcaption, .how-still figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; gap: 22px; }
}
.hero-copy { margin-bottom: 18px; max-width: 820px; }
.hero-table .why-strip { margin-top: 2px; }
.hero-check {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--gold-line);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.hero-check label { color: var(--ink-2); }
.hero-check .btn { width: 100%; margin-top: 16px; min-height: 52px; }
.hero-extra { margin-top: 14px; }
.hero-extra .opt { font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 13px; }
.hero-out {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 16.5px;
}
.hero-fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-fine a { color: var(--navy); font-weight: 700; }
.hero-trust { margin: 22px 0 10px; color: #C9BFA8; }
.hero-trust span::before { color: var(--gold); }
.hero-compare { font-size: 14.5px; color: #B7AB94; margin: 0 0 8px; max-width: 640px; }
.meaning { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.meaning summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.meaning summary::-webkit-details-marker { display: none; }
.meaning summary::after { content: " ▾"; color: var(--gold); font-weight: 400; }
.meaning[open] summary::after { content: " ▴"; }
.meaning p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.hero-table .meaning summary { color: var(--gold-soft); }
.hero-table .meaning p { color: #D8CCB4; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Type ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(34px, 6vw, 58px); }
h2 { font-size: clamp(30px, 4.4vw, 42px); }
h3 { font-size: 22px; line-height: 1.25; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--ink-2); line-height: 1.55; }
.center { text-align: center; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16.5px; }
.card-paid {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, #FBF4E6, #F3E6C4);
  position: relative;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Stat tiles ---------- */
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px; text-align: center; }
.stat-tile .v { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; color: var(--navy); line-height: 1.05; }
.stat-tile .k { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ---------- Sample plan / mock ---------- */
.mock { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px 26px 20px; }
.mock .mt { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 6px; font-weight: 800; font-size: 16px; }
.mock .ok { color: var(--good); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.mock .mr { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-2); }
.mock .mr b { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock .mnote { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- Checklist / feature list ---------- */
.feat { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; color: var(--ink-2); align-items: flex-start; }
.feat:last-child { border-bottom: 0; }
.feat .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.feat b { color: var(--ink); }

/* ---------- Forms ---------- */
input[type=email], input[type=text], input[type=number], select {
  width: 100%;
  background: #FFFaf3;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 18px;
  padding: 15px 16px;
  min-height: 52px;
  font-family: inherit;
  appearance: none;
}
input:focus, select:focus { outline: 3px solid rgba(15,42,68,.25); border-color: var(--navy); }
label { display: block; font-size: 15px; font-weight: 700; color: var(--ink-2); margin: 16px 0 7px; }

/* ---------- FAQ ---------- */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 12px 0; box-shadow: var(--shadow); }
details.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 34px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--gold); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { font-size: 16.5px; color: var(--ink-2); margin-top: 12px; }
details.faq a { color: var(--navy); }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; margin: 18px 0; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.tbl th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: 13px 16px; font-size: 14.5px; letter-spacing: .02em; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.hl td { background: var(--gold-soft); color: var(--ink); font-weight: 700; }

/* ---------- Founding banner ---------- */
.founding { background: linear-gradient(135deg, var(--navy-ink) 0%, var(--navy) 70%, #1E4A78 100%); color: #fff; border-radius: 24px; padding: 56px 48px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.founding::after { content: ""; position: absolute; top: -80px; right: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,163,90,.28), transparent); pointer-events: none; }
.founding h2 { color: #fff; }
.founding p { color: #C9D5E3; }
.founding .pill { display: inline-block; background: rgba(196,163,90,.16); border: 1px solid rgba(196,163,90,.45); color: #E9CF8E; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 99px; padding: 7px 16px; margin-bottom: 20px; }
.founding .price-line { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; }
.founding .price-line .now { font-family: var(--font-display); font-size: 54px; font-weight: 600; color: #F0D89A; }
.founding .price-line .was { font-size: 22px; color: #8FA5BC; text-decoration: line-through; }
.founding .fine { font-size: 13.5px; color: #8FA5BC; margin-top: 14px; }
.wl-form { display: flex; gap: 12px; margin-top: 26px; max-width: 560px; }
.wl-form input { flex: 1; border: 0; font-size: 17px; }
.wl-form .btn { white-space: nowrap; }
@media (max-width: 640px) { .wl-form { flex-direction: column; } .founding { padding: 40px 26px; } }

/* ---------- Article pages ---------- */
.article { padding: 64px 0 80px; }
.article h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 18px; }
.article .answer { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius-sm); padding: 22px 26px; font-size: 19px; margin: 26px 0; color: var(--ink); }
.article .answer b { color: var(--navy); }
.article h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p { color: var(--ink-2); margin: 14px 0; font-size: 18px; }
.article ul, .article ol { margin: 14px 0 14px 26px; color: var(--ink-2); font-size: 18px; }
.article li { margin: 8px 0; }
.article .meta { font-size: 14.5px; color: var(--muted); }
.crumbs { font-size: 14.5px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.cta-inline { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 24px 26px; margin: 34px 0; box-shadow: var(--shadow); }
.cta-inline p { margin: 0 0 14px; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-ink); color: #A9BACD; padding: 64px 0 40px; margin-top: 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
footer.site a { color: #A9BACD; text-decoration: none; display: block; padding: 4px 0; }
footer.site a:hover { color: #fff; }
footer.site .brandline { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
footer.site .disc { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: 13px; line-height: 1.65; color: #7E92A8; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Misc ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 99px; font-size: 15.5px; display: none; z-index: 99; box-shadow: var(--shadow-lg); }
.trust-strip { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; color: var(--muted); font-weight: 600; }
.trust-strip span::before { content: "✓  "; color: var(--good); font-weight: 800; }
.unc-flag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--warn); background: var(--warn-soft); border: 1px solid var(--gold-line);
  border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: middle;
}
.unc-note { font-size: 14px; color: var(--warn); margin-top: 8px; }
.badge-soon { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.badge-now { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--good); text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Presence motion (respects reduced-motion above) ---------- */
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 42px;
  margin: 10px 0;
  color: var(--navy-dark);
  line-height: 1;
}
.price-num span { font-size: 18px; color: var(--muted); }
.price-pair .card { transition: transform .25s ease, box-shadow .25s ease; }
.price-pair .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rtr-rise .7s ease forwards;
}
.reveal.delay-1 { animation-delay: .12s; }
.reveal.delay-2 { animation-delay: .22s; }
@keyframes rtr-rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-object img {
  transform: translateY(8px);
  animation: rtr-still .9s ease .2s forwards;
  opacity: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
@keyframes rtr-still {
  to { opacity: 1; transform: translateY(0); }
}
.hero-check .btn.gold { transition: background .15s, box-shadow .2s, transform .05s; }
.hero-check .btn.gold:hover { box-shadow: 0 8px 24px rgba(196,163,90,.35); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .section { padding: 58px 0; }
  .section.tight { padding: 44px 0; }
  .section-head { margin-bottom: 34px; }
  .wrap, .wrap-narrow {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .nav-in { min-height: 58px; gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand .mark { width: 26px; height: 26px; font-size: 13px; }
  .btn.xl { padding: 16px 20px; font-size: 17px; width: 100%; }
  h1 { font-size: clamp(28px, 8vw, 40px); }
  h2 { font-size: clamp(25px, 6.8vw, 34px); }
  .lede { font-size: 18px; }
  .card { padding: 22px; }
  .hero-table { padding-top: 28px; }
  .hero-table::after { margin-top: 32px; }
  .hero-check { padding: 20px; }
  .mock { padding: 20px 18px 16px; }
  .mock .mr { font-size: 14px; }
  .stat-tile { padding: 18px 14px; }
  .stat-tile .v { font-size: 26px; }
  .stat-tile .k { font-size: 13px; }
  .founding { padding: 32px 22px; border-radius: 18px; }
  .founding .price-line .now { font-size: 42px; }
  .tbl { font-size: 14px; display: block; overflow-x: auto; }
  .tbl th, .tbl td { padding: 10px 11px; }
  .article { padding: 44px 0 60px; }
  .article p, .article ul, .article ol { font-size: 17px; }
  .article .answer { padding: 18px 20px; font-size: 17.5px; }
  details.faq { padding: 17px 18px; }
  details.faq summary { font-size: 16.5px; }
  .trust-strip { gap: 8px 18px; font-size: 14px; }
  footer.site { padding: 48px 0 32px; }
}

/* ---------- Skip link + focus rings ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}
.btn.gold:focus-visible,
.hero-check .btn.gold:focus-visible,
.after-card-upgrade .after-card-cta:focus-visible {
  outline: 3px solid #F3E6C4;
  outline-offset: 3px;
}
.hero-check .prefix { position: relative; }
.hero-check .prefix span {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 18px; pointer-events: none;
}
.hero-check .prefix input { padding-left: 32px; }

/* ---------- Homepage mobile IA ---------- */
.hero-ia { display: flex; flex-direction: column; }
@media (max-width: 800px) {
  .hero-ia .hero-stage { order: -2; }
  .hero-ia .why-strip-wrap { order: -1; }
  .hero-ia .who-for { order: 0; }
}
body.card-visible #hero-stats { display: none; }
body.after-card-open { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Pricing comparison + featured learn ---------- */
.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pricing-compare th, .pricing-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.pricing-compare th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink-2); }
.pricing-compare thead th { background: var(--bg-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-compare tbody tr:last-child th,
.pricing-compare tbody tr:last-child td { border-bottom: 0; }
.card-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.card-featured .featured-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
@media (max-width: 420px) {
  .hero-object {
    display: block;
    max-width: 140px;
    margin: 0 auto 8px;
    opacity: 0.92;
  }
  .hero-object img { border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
}

/* ---------- Sales letter + result screen ---------- */
.sales-letter .letter-hero { padding: 48px 0 24px; }
.sales-letter h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.15; color: var(--navy-dark); }
.sales-letter .lede { font-size: 1.125rem; color: var(--ink-2); margin-top: 16px; }
.letter-cta-block { margin-top: 28px; }
.trust-line { font-size: 15px; color: var(--muted); margin-top: 12px; }
.age-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
@media (max-width: 640px) { .age-grid { grid-template-columns: 1fr; } }
.muted-card { opacity: 0.85; }
.letter-bullets { margin: 14px 0 0 1.2rem; }
.letter-bullets li { margin-bottom: 10px; }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-card ul { margin: 12px 0 0 1.1rem; }
.stack-card li { margin-bottom: 8px; }
.stack-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.stack-note { font-size: 15px; color: var(--muted); margin: 14px 0; }
.stack-paid { border-color: var(--gold); }
.letter-ps { text-align: center; }
.pricing-block { margin-bottom: 28px; }

.result-screen { margin: 24px 0; }
.rs-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 16px; }
.rs-headline { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2rem); color: var(--navy-dark); margin: 0; }
.rs-sub { color: var(--muted); margin-top: 8px; font-size: 16px; }
.rs-block h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 10px; }
.rs-block ul { margin: 0 0 0 1.1rem; }
.rs-block li { margin-bottom: 8px; }
.rs-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); margin: 0 0 8px; }
.rs-note, .rs-foot { font-size: 15px; color: var(--muted); }
.rs-action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.rs-email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rs-email-row input { flex: 1 1 200px; }
.rs-paid-stack { border-color: var(--gold); background: var(--gold-soft); }
.rs-paid-list { margin-bottom: 12px; }
.rs-was { text-decoration: line-through; color: var(--muted); margin-right: 8px; }
.rs-paid-price { font-size: 1.25rem; margin: 8px 0; }
.rs-paid-note { font-size: 15px; margin-bottom: 14px; }
.rs-paid-cta { width: 100%; margin-bottom: 10px; }
.rs-free-cta { width: 100%; }
.check-form-card .btn.gold { width: 100%; margin-top: 8px; }
.check-inline-error { color: var(--warn); margin-top: 12px; font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 12px max(16px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(232,220,200,.92) 24%, var(--bg));
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy-dark);
  background-color: var(--gold-soft);
  border-top: 1px solid var(--gold-line);
}
@media (max-width: 720px) {
  body.sales-letter, body.check-page { padding-bottom: 64px; }
  .sticky-cta { display: block; }
}

.exit-intent {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,28,48,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.exit-intent[hidden] { display: none !important; }
.exit-intent-in {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.exit-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.exit-intent form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.exit-status { font-size: 14px; color: var(--muted); margin-top: 8px; }
