/* The Retirement Playbook: site styles
   Colors and type match the book, the Deadline Tracker and the approved mockups. */

:root {
  --navy: #17334e;
  --navy-deep: #122a41;
  --ink: #17334e;          /* headings and strong text */
  --text: #2c3e52;         /* body text (10.9:1 on cream) */
  --muted: #4a5b6c;        /* secondary text (6.9:1 on cream) */
  --green: #2d6b58;        /* accents, checks, eyebrow text (6.1:1 on cream) */
  --green-tint: #e8f2ef;
  --mint: #d4e6de;
  --gold: #e0a439;
  --gold-edge: #c28a24;
  --gold-hover: #e8b04c;
  --gold-tint: #fbf0d8;
  --cream: #fbf8f0;
  --sand: #f3f0e8;
  --paper: #ffffff;
  --line: #ebe5d8;
  --bar-light: #c9d6e4;
  --focus: #b86e00;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 51, 78, .05), 0 10px 30px rgba(23, 51, 78, .07);
  --shadow-lg: 0 2px 4px rgba(23, 51, 78, .06), 0 24px 60px rgba(23, 51, 78, .14);
  --wrap: 1240px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19px: comfortable for readers 50+ */
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.accent { color: var(--green); }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }

.icon { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Eyebrow: short gold rule, then spaced uppercase label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); flex: none; }
.on-navy .eyebrow { color: #cfe4dc; }
@media (max-width: 520px) { .eyebrow { font-size: .875rem; letter-spacing: .1em; gap: 12px; } .eyebrow::before { width: 28px; } }

.section-head { margin-bottom: clamp(28px, 4.5vh, 44px); }
.section-head.center { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.25rem; margin-top: 8px; }

/* Buttons: rounded rectangles, never pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 30px;
  font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: 12px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 4px 0 var(--gold-edge); }
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-edge); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 68px; font-size: 1.375rem; }
.btn-sm { min-height: 48px; padding: 10px 20px; font-size: 1.0625rem; white-space: nowrap; box-shadow: 0 3px 0 var(--gold-edge); }
.label-short { display: none; }
@media (max-width: 520px) { .label-full { display: none; } .label-short { display: inline; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 240, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(251, 248, 240, .88); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.brand-name span { color: var(--green); }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding: 8px 0; }
.main-nav a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 1000px) { .main-nav { display: none; } }
@media (max-width: 520px) {
  .brand-name { font-size: 1.0625rem; }
  .brand svg { width: 30px; height: 30px; }
  .header-inner { min-height: 68px; gap: 12px; }
  .site-header .btn-sm { padding: 10px 14px; font-size: 1rem; }
}

/* Sections */
section { padding: clamp(48px, 7vh, 72px) 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #e3eaf1; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* Waves: decorative dividers that end in navy */
.waves { display: block; width: 100%; height: clamp(70px, min(10vw, 16vh), 150px); margin-top: -1px; }
.has-waves { padding-bottom: 0; }

/* HERO */
.hero { padding: clamp(32px, 6vh, 64px) 0 0; background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, min(5vw, 8vh), 4.25rem); }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.6; color: var(--text); max-width: 40ch; margin-bottom: 26px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 1.125rem; font-weight: 600; color: var(--ink);
}
.chips li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.text-link { font-weight: 700; font-size: 1.125rem; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.text-link:hover { color: var(--green); }
/* Hero product: real cover in front of a tablet showing a real page, built from the PDF renders */
.product-stage { position: relative; width: min(100%, 68vh); aspect-ratio: 1 / .96; margin: 0 auto; }
.tablet {
  position: absolute; right: 2%; top: 0; width: 60%;
  padding: 3.2%; background: #1d2530; border-radius: 9% / 7%;
  transform: rotate(4deg); box-shadow: 0 30px 60px rgba(23, 51, 78, .22);
}
.tablet img { width: 100%; border-radius: 3%; display: block; }
.book {
  position: absolute; left: 4%; bottom: 3%; width: 58%;
  transform: rotate(-3deg); border-radius: 2px 6px 6px 2px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(23, 51, 78, .12), 0 34px 60px rgba(23, 51, 78, .30);
}
.book img { width: 100%; display: block; }
.book::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5%;
  background: linear-gradient(to right, rgba(0, 0, 0, .14), rgba(255, 255, 255, .22) 45%, rgba(0, 0, 0, .06));
}
.hero .waves { margin-top: 8px; }
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-sub { max-width: none; }
  .hero-media { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .chips li { padding: 10px 18px; font-size: 1.0625rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .text-link { width: 100%; justify-content: center; }
}

/* LOOK INSIDE */
.look { padding-top: clamp(32px, 5vh, 56px); margin-top: -2px; position: relative; }
.look h2 { font-size: clamp(2rem, 3.6vw, 3.125rem); }
.look .section-head { max-width: none; }
.pages { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; max-width: min(980px, 100vh); margin: 0 auto; }
.page-card { margin: 0; display: flex; flex-direction: column; align-items: center; }
.page-card img { width: 100%; background: #fff; border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.page-card figcaption {
  margin-top: 28px; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.25; text-align: center;
  padding: 12px 26px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.page-card.left img { transform: rotate(-4deg); }
.page-card.right img { transform: rotate(4deg); }
/* Labels never get cut off: equal width and height, text wraps only when the window is too small for one line */
@media (min-width: 861px) {
  .pages { grid-template-rows: auto auto; row-gap: 0; gap: 0 56px; }
  .page-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; justify-items: center; align-items: stretch; }
  .page-card figcaption {
    width: calc(100% + 32px); font-size: 1.125rem; padding: 11px 16px; border-radius: 26px;
    display: flex; align-items: center; justify-content: center; text-wrap: balance;
  }
}
@media (max-width: 860px) {
  .pages { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin: 0 auto; }
  .page-card.left img, .page-card.right img { transform: none; }
}

/* WHAT'S INSIDE */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px 24px; box-shadow: var(--shadow);
}
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin-bottom: 12px; }
.icon-tile .icon { width: 24px; height: 24px; }
.module-label { display: block; font-size: .9375rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.module-card h3 { font-size: 1.3125rem; line-height: 1.2; margin-bottom: 8px; }
.module-card p { color: var(--muted); margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.module-card.bonus { background: var(--navy); border-color: var(--navy); }
.module-card.bonus .icon-tile { background: rgba(255, 255, 255, .1); color: var(--gold); }
.module-card.bonus .module-label { color: var(--gold); }
.module-card.bonus h3 { color: #fff; }
.module-card.bonus p { color: #d7e0ea; }
@media (max-width: 1080px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .module-grid { grid-template-columns: 1fr; gap: 18px; } .module-card { padding: 26px 24px; } .icon-tile { margin-bottom: 20px; } }

.also-inside { margin: 20px auto 0; text-align: center; max-width: 1080px; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.also-inside strong { color: var(--ink); }


/* SOCIAL SECURITY CHART */
.claim-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.claim h2 { font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1.12; }
.claim h2 .accent { display: block; }
.claim-text { font-size: 1.3125rem; color: var(--text); }
.claim-text strong { color: var(--ink); }
.claim-note { font-size: 1rem; color: var(--muted); }
.chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; align-items: end; height: min(440px, 52vh); padding-top: 44px; border-bottom: 3px solid var(--line); }
.bar-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bar-pct { text-align: center; font-weight: 700; font-size: 1.375rem; color: var(--ink); margin-bottom: 10px; }
.bar {
  height: calc(var(--h) / 124 * (100% - 52px));
  border-radius: 16px 16px 0 0; display: flex; justify-content: center; padding-top: 18px;
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1;
}
.bar-62 { background: var(--bar-light); color: var(--ink); }
.bar-67 { background: var(--navy); color: #fff; }
.bar-70 { background: var(--gold); color: var(--ink); }
.chart-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 16px 0 0; padding: 0; list-style: none; text-align: center; font-weight: 600; font-size: 1.1875rem; color: var(--muted); }
@media (max-width: 900px) { .claim-grid { grid-template-columns: 1fr; gap: 40px; } .chart { height: 380px; } }
@media (max-width: 480px) { .chart, .chart-labels { gap: 0 12px; } .chart-labels { font-size: 1rem; } .bar-pct { font-size: 1.125rem; } }

/* BEFORE / AFTER */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.compare-card { border-radius: var(--radius-lg); padding: 32px 40px 34px; height: 100%; }
.compare-card h3 { font-size: 1.875rem; margin-bottom: 8px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li { display: flex; align-items: center; gap: 16px; padding: 13px 0; font-size: 1.25rem; line-height: 1.4; border-bottom: 1px solid; }
.compare-card li:last-child { border-bottom: 0; }
.before { background: var(--sand); }
.before h3 { color: var(--muted); }
.before li { color: var(--muted); border-color: #e2dccd; }
.before .mark { background: #e6e0d3; color: #8a7f6c; }
.after { background: var(--navy); box-shadow: var(--shadow-lg); }
.after h3 { color: #fff; }
.after li { color: #fff; border-color: rgba(255, 255, 255, .14); }
.after .mark { background: var(--gold); color: var(--navy); }
.mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mark .icon { width: 18px; height: 18px; stroke-width: 3; }
.compare-arrow { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); }
.compare-arrow .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.compare-note { text-align: center; color: var(--muted); font-size: 1.1875rem; margin: 28px auto 0; max-width: 760px; }
@media (max-width: 960px) {
  .compare { grid-template-columns: 1fr; gap: 20px; }
  .compare-arrow { margin: 0 auto; transform: rotate(90deg); }
  .compare-card { padding: 32px 28px 36px; }
  .compare-card h3 { font-size: 1.875rem; }
  .compare-card li { font-size: 1.1875rem; }
}

/* WHO IT'S FOR */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.who-card { display: flex; gap: 22px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 30px; box-shadow: var(--shadow); }
.who-check { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.who-check .icon { width: 24px; height: 24px; stroke-width: 2.75; }
.who-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.who-card p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } .who-card { padding: 26px 24px; gap: 16px; } .who-check { width: 44px; height: 44px; } .who-card h3 { font-size: 1.5rem; } }

/* TESTIMONIALS: continuous slide from left to right */
.marquee { position: relative; overflow: hidden; padding: 12px 0 20px; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--paper), rgba(255, 255, 255, 0)); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: slide-right 110s linear infinite; }
.marquee.is-paused .marquee-track,
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes slide-right {
  from { transform: translateX(calc(-50% - 12px)); }
  to { transform: translateX(0); }
}
.review { flex: none; width: 400px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px; display: flex; flex-direction: column; }
.review-title { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.3; margin: 0 0 10px; }
.review-text { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.review-by { display: flex; align-items: center; gap: 14px; margin: 0; font-weight: 700; color: var(--ink); }
.review-by .avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.review-by small { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
.marquee-controls { display: flex; justify-content: center; margin-top: 18px; }
.marquee-controls .btn { box-shadow: none; }
@media (max-width: 520px) { .review { width: 300px; padding: 24px 22px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .review { scroll-snap-align: start; }
  .marquee-track .review[aria-hidden="true"] { display: none; }
  .marquee-controls { display: none; }
}

/* PRICING: gift card | Playbook | Complete Planner | Planner preview */
#pricing { padding: clamp(40px, 5.5vh, 60px) 0; }
#pricing .section-head { margin-bottom: clamp(28px, 4vh, 40px); }
#pricing .wrap { max-width: 1480px; padding: 0 28px; }
.pricing-grid {
  display: grid; gap: 22px; align-items: stretch;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr);
}
.gift-card { grid-column: 1; }
.plan:not(.plan-featured) { grid-column: 2; }
.plan-featured { grid-column: 3; }
.planner-preview { grid-column: 4; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1280px) {
    .pricing-grid { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .plan { display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; row-gap: 0; }
    .gift-card, .planner-preview { grid-row: 1 / span 5; }
  }
}

/* Plan cards */
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan-featured { border: 3px solid var(--green); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -19px; left: 36px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 18px; border-radius: 8px; }
.plan h3 { font-size: 1.4375rem; line-height: 1.2; margin-bottom: 6px; }
.plan-sub { color: var(--muted); margin-bottom: 12px; font-size: 1.0625rem; line-height: 1.45; }
.plan-price { font-family: var(--serif); font-weight: 700; font-size: 2.75rem; line-height: 1; margin-bottom: 14px; color: var(--ink); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.plan-price small { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.45; }
.plan li b { color: var(--ink); }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; margin-top: 1px; }
.tick .icon { width: 15px; height: 15px; stroke-width: 3; }

/* Gift card */
.gift-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 28px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.gift-icon { width: 96px; height: auto; margin-bottom: 26px; }
.gift-eyebrow { font-size: .9375rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.gift-card h3 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 12px; }
.gift-card p { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; margin-bottom: 20px; }
.gift-tag { background: var(--gold-tint); color: var(--ink); font-weight: 600; font-size: .9375rem; padding: 9px 14px; border-radius: 10px; white-space: nowrap; }

/* Planner preview */
.planner-preview { margin: 0; padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.mini { position: relative; background: var(--paper); border-radius: 8px; box-shadow: 0 2px 4px rgba(23, 51, 78, .08), 0 14px 30px rgba(23, 51, 78, .14); }
.mini-calc { transform: rotate(2deg); }
.mini-abroad { transform: rotate(-2deg); }
.mini-tracker { transform: rotate(1.5deg); }
.mini-head { background: var(--navy); color: #fff; padding: 8px 12px 7px; border-radius: 8px 8px 0 0; }
.mini-head span { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #cfe4dc; }
.mini-head strong { display: block; font-size: .875rem; line-height: 1.25; }
.mini table { width: 100%; border-collapse: collapse; font-size: .75rem; line-height: 1.3; }
.mini th, .mini td { padding: 3px 10px; border-top: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--text); }
.mini td { background: #fdf3df; text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.mini td.result { background: #e3f0ea; color: var(--green); }
.mini tr:last-child > * { border-bottom: 0; }
.mini tbody tr:last-child th, .mini-calc tr:last-child th { border-bottom-left-radius: 8px; }
.mini tbody tr:last-child td:last-child, .mini-calc tr:last-child td { border-bottom-right-radius: 8px; }
.mini thead th { background: var(--sand); font-weight: 700; color: var(--ink); font-size: .6875rem; }
.mini-abroad td:nth-child(2) { text-align: center; }
.mini-abroad td.result { text-align: right; }
.flag { width: 18px; height: 12px; vertical-align: -1px; margin-right: 7px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.mini-tracker { background: var(--navy); color: #fff; padding: 13px 14px 13px 16px; display: flex; align-items: center; gap: 12px; }
.mini-tracker > div { flex: 1; min-width: 0; }
.tracker-kicker { display: flex; align-items: center; gap: 6px; font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cfe4dc; margin-bottom: 4px; }
.tracker-kicker::before { content: ""; width: 12px; height: 2px; background: var(--gold); flex: none; }
.mini-tracker strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; line-height: 1.15; margin-bottom: 5px; }
.mini-tracker strong em { display: block; font-style: normal; color: var(--gold); }
.tracker-sub { display: block; font-size: .6875rem; line-height: 1.4; color: #d7e0ea; }
.tracker-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--gold); display: grid; place-items: center; flex: none; }
.tracker-icon .icon { width: 22px; height: 22px; }
.mini-badge { position: absolute; z-index: 1; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 10px rgba(23, 51, 78, .15); white-space: nowrap; }
.mini-badge.adds { background: var(--gold); color: var(--navy); top: -34px; left: -6px; }
.mini-badge.bonus { background: var(--green); color: #fff; top: -16px; right: -8px; }
.planner-preview figcaption { margin-top: auto; padding-top: 4px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.planner-preview figcaption em { color: var(--green); }

/* Trust row */
.assurance { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin: 24px 0 0; padding: 0; font-weight: 700; font-size: 1.1875rem; color: var(--ink); }
.assurance li { display: inline-flex; align-items: center; gap: 10px; }
.assurance .icon { color: var(--green); width: 1.4em; height: 1.4em; }

/* Smaller screens: plans first, then gift and preview */
@media (max-width: 1279px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; max-width: 980px; margin: 0 auto; }
  .plan:not(.plan-featured) { grid-column: 1; grid-row: 1; }
  .plan-featured { grid-column: 2; grid-row: 1; }
  .gift-card { grid-column: 1; grid-row: 2; }
  .planner-preview { grid-column: 2; grid-row: 2; }
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan:not(.plan-featured), .plan-featured, .gift-card, .planner-preview { grid-column: 1; grid-row: auto; }
  .planner-preview { padding: 34px 12px 0; }
  .gift-card { order: 1; }
}

/* GUARANTEE */
.guarantee { display: grid; grid-template-columns: 150px 1fr; gap: 44px; align-items: center; background: var(--paper); border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 36px 44px; box-shadow: var(--shadow); }
.seal { width: 150px; height: 150px; border-radius: 50%; background: var(--gold-tint); border: 3px solid var(--gold); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.1; }
.seal strong { display: block; font-size: 3rem; }
.seal span { font-size: .9375rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.guarantee h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.guarantee p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; padding: 34px 26px; text-align: center; } .seal { margin: 0 auto; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 24px; font-weight: 700; font-size: 1.1875rem; color: var(--ink); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; color: var(--green); width: 1.4em; height: 1.4em; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CLOSING OFFER */
.offer { padding-top: clamp(56px, 8vh, 80px); background: var(--cream); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.offer h2 { font-size: clamp(2.25rem, 3.8vw, 3.25rem); line-height: 1.08; }
.offer-lede { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.6; color: var(--text); max-width: 32ch; }
.offer-visual { position: relative; display: flex; align-items: flex-end; gap: 6%; margin-top: 28px; padding-left: 6%; max-width: 440px; }
.offer-visual img { box-shadow: 0 24px 50px rgba(23, 51, 78, .22); background: #fff; }
.offer-cover { width: 52%; border-radius: 3px 8px 8px 3px; box-shadow: -6px 0 0 #e9e4d8, 0 24px 50px rgba(23, 51, 78, .25) !important; }
.offer-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 34px 42px; box-shadow: var(--shadow-lg); }
.offer-card .eyebrow { margin-bottom: 10px; font-size: .9375rem; }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 14px; }
.offer-price .amount { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(3.5rem, 6vw, 4.75rem); line-height: 1; letter-spacing: -.02em; }
.offer-price .amount sup { font-size: .42em; vertical-align: .95em; margin-right: 2px; }
.offer-price .amount small { font-size: .42em; vertical-align: .95em; }
.offer-price .per { font-size: 1.3125rem; color: var(--muted); }
.offer-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.offer-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1875rem; line-height: 1.4; color: var(--ink); }
.offer-list .tick { width: 28px; height: 28px; }
.offer-meta { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 22px 0 0; padding: 0; font-size: 1.125rem; color: var(--muted); }
.offer-meta li { display: inline-flex; align-items: center; gap: 8px; }
.offer-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.offer-alt { text-align: center; margin: 14px 0 0; font-size: 1.0625rem; }
.offer .waves { margin-top: 40px; }
@media (max-width: 1000px) {
  .offer { padding-top: 72px; }
  .offer-grid { grid-template-columns: 1fr; gap: 48px; }
  .offer-lede { max-width: none; }
  .offer-visual { max-width: 520px; }
}
@media (max-width: 520px) {
  .offer-card { padding: 34px 24px; border-radius: 22px; }
  .offer-list li { font-size: 1.1875rem; }
  .offer-card .btn-lg { font-size: 1.1875rem; padding: 14px 18px; }
}

/* Footer: continues the navy wave */
.site-footer { background: var(--navy); color: #c9d4df; padding: 24px 0 44px; font-size: 1rem; margin-top: -2px; position: relative; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); margin-bottom: 28px; }
.footer-top .brand { color: #fff; }
.footer-top .brand-name span { color: var(--gold); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 8px 0; text-decoration: none; font-weight: 600; font-size: 1.0625rem; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { max-width: 900px; line-height: 1.6; }
.copyright { margin: 18px 0 0; }
.site-footer.standalone { padding-top: 56px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal .updated { color: var(--muted); margin-bottom: 2em; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal .callout { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 1.5em; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 28px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

main:focus { outline: none; }
mark.todo { background: #fde9b8; color: var(--ink); padding: 1px 4px; border-radius: 4px; }
.legal .contact-list { list-style: none; padding-left: 0; }
.not-found { min-height: 55vh; display: flex; align-items: center; }
.not-found .lede { color: var(--muted); font-size: 1.25rem; }
.not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
