/* ============================================================
   Cristian Romero — Medicare help
   Centralized design system (mobile-first, senior-friendly)
   Coastal-professional palette. One primary action color = terracotta.
   Edit tokens in :root to retheme the entire site.
   ============================================================ */

:root {
  /* Brand palette */
  --ink:        #17324D;   /* deep navy — headings, header bar */
  --ink-2:      #0F2740;   /* darker navy — footer */
  --teal:       #17324D;   /* ocean teal — accents, button fills */
  --teal-ink:   #17324D;   /* darker teal — text links (AA on all surfaces) */
  --ivory:      #F7F4EE;   /* warm page background */
  --white:      #FFFFFF;   /* cards, forms */
  --text:       #1F2933;   /* charcoal body text */
  --text-soft:  #47535E;   /* muted, still AA on ivory/white */
  --terracotta: #A84F2D;   /* PRIMARY action */
  --terracotta-d:#8E3F20;  /* primary hover */
  --sand:       #E3DED4;   /* decorative accent only — never small text */
  --sage:       #ECEAE4;   /* light sage surface for callouts */
  --border:     #D9DEE3;   /* hairline borders */
  --border-soft:#E7EBEE;

  /* Legacy aliases — so older inline styles map onto the new palette */
  --navy:      #17324D;
  --navy-dark: #0F2740;
  --gold:      #E3DED4;
  --bg:        #F7F4EE;
  --bg-soft:   #ECEAE4;
  --bg-card:   #FFFFFF;
  --text-muted:#47535E;

  --radius:     8px;
  --radius-sm:  6px;
  --shadow:     0 6px 20px rgba(23,50,77,0.08);
  --shadow-lg:  0 14px 34px rgba(23,50,77,0.14);
  --maxw:       1120px;
  --readw:      680px;      /* comfortable reading measure */
  --tap:        52px;       /* minimum tap target */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--ivory);
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;            /* belt-and-suspenders against h-scroll */
}
img { max-width: 100%; height: auto; }

a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--terracotta); }

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 800; }
.accent { color: var(--teal); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Visible focus everywhere (keyboard users) */
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

/* ============================================================
   HEADER + NAV
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}
.topbar .brand {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 16px;
  line-height: 1.25; letter-spacing: 0.2px;
}
.topbar .brand:hover { color: #fff; }
.topbar .brand small {
  display: block; font-weight: 400; opacity: 0.9; font-size: 14px; margin-top: 2px;
}

/* Menu button (labeled, never a bare icon) */
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  font-size: 16px; font-weight: 700; font-family: inherit;
  padding: 11px 16px; border-radius: 0; cursor: pointer;
  min-height: 48px; white-space: nowrap;
}
.menu-btn:hover { background: rgba(255,255,255,0.22); }
.menu-btn .bars { display: inline-block; width: 18px; height: 2px; background: #fff; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }

/* Nav links: drawer on mobile, inline on desktop */
.nav-links {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px);
  background: var(--white); color: var(--text);
  padding: 20px 20px 32px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.22s ease;
  box-shadow: -12px 0 34px rgba(0,0,0,0.22); z-index: 120;
  visibility: hidden;
}
.nav-links.open { transform: translateX(0); visibility: visible; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 700;
  padding: 15px 12px; border-radius: 0; min-height: var(--tap);
  display: flex; align-items: center;
}
.nav-links a:hover { background: var(--sage); color: var(--ink); }
.nav-links a.nav-call-link {
  background: var(--terracotta); color: #fff; justify-content: center;
  margin-top: 12px; box-shadow: var(--shadow);
}
.nav-links a.nav-call-link:hover { background: var(--terracotta-d); }
.nav-close {
  align-self: flex-end; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--text-soft); font-family: inherit;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
.nav-overlay {
  position: fixed; inset: 0; background: rgba(15,39,64,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.22s; z-index: 110;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
body.nav-lock { overflow: hidden; }

/* ============================================================
   BUTTONS  (one primary color: terracotta)
   ============================================================ */
.btn-primary, .cta-primary, .cta-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--terracotta); color: #fff; font-weight: 800; font-size: 18px;
  font-family: inherit; text-decoration: none; text-align: center;
  padding: 15px 22px; border-radius: 0; border: none; cursor: pointer;
  min-height: var(--tap); box-shadow: var(--shadow); line-height: 1.25;
}
.btn-primary:hover, .cta-primary:hover, .cta-gold:hover { background: var(--terracotta-d); color: #fff; }

.btn-secondary, .cta-secondary, .cta-big {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); color: var(--ink); font-weight: 800; font-size: 18px;
  font-family: inherit; text-decoration: none; text-align: center;
  padding: 15px 22px; border-radius: 0; border: 2px solid var(--ink); cursor: pointer;
  min-height: var(--tap); line-height: 1.25;
}
.btn-secondary:hover, .cta-secondary:hover, .cta-big:hover { background: var(--sage); color: var(--ink); }

.cta-row { display: flex; flex-direction: column; gap: 12px; }
.cta-row > a, .cta-row > button { width: 100%; }

/* ============================================================
   LAYOUT
   ============================================================ */
main { display: block; }
section { padding: 44px 18px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
h1 { font-size: 36px; letter-spacing: -0.3px; }
h2 { font-size: 26px; margin-bottom: 12px; }
h3 { font-size: 20px; }
p { margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--text-soft); margin-bottom: 26px; max-width: var(--readw); }

/* ============================================================
   HERO  (mobile order: promise, sub, face, CTAs, trust)
   ============================================================ */
.hero { background: linear-gradient(180deg, var(--sage) 0%, var(--ivory) 70%); padding: 34px 18px 40px; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 38px; }
.hero .sub { font-size: 18px; color: var(--text-soft); max-width: 620px; }
.hero .cta-row { margin-top: 4px; }
.hero .trust-strip {
  font-size: 15px; color: var(--text-soft); margin-top: 8px;
  border-top: 1px solid var(--border); padding-top: 16px; line-height: 1.55;
}
.hero .trust-strip strong { color: var(--ink); }

.headshot-wrap {
  position: relative; width: 100%; max-width: 300px; margin: 4px auto;
  aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--ink), var(--teal));
}
.headshot-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.headshot-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.97); color: var(--ink);
  padding: 8px 14px; border-radius: 0; font-size: 14px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.headshot-badge small { display: block; font-weight: 500; color: var(--text-soft); }
.headshot-placeholder { display: none; }
.headshot-wrap.no-image { display: none; }

/* ============================================================
   PROBLEM CARDS
   ============================================================ */
.problem-grid { display: flex; flex-direction: column; gap: 16px; }
.problem-card {
  background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.problem-card .quote { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 12px; line-height: 1.35; }
.problem-card .answer { color: var(--text-soft); font-size: 17px; line-height: 1.6; }
.problem-card .answer a { color: var(--teal-ink); font-weight: 700; }

/* ============================================================
   LEAD MAGNET + FORM
   ============================================================ */
.leadmag { background: var(--ink); color: #fff; }
.leadmag-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.leadmag h2 { color: #fff; }
.leadmag h2 .accent { color: var(--sand); }
.leadmag .sub { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 8px; }

.book-mockup {
  background: linear-gradient(135deg, var(--sand) 0%, #CFC9BE 100%);
  color: var(--ink-2); padding: 28px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-width: 340px;
}
.book-mockup .book-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; opacity: 0.85; margin-bottom: 8px; }
.book-mockup .book-title { font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.book-mockup .book-sub { font-size: 15px; font-style: italic; opacity: 0.92; }

.leadmag-form {
  background: var(--white); border-radius: var(--radius); padding: 24px; color: var(--text);
  box-shadow: var(--shadow-lg);
}
.leadmag-form label {
  display: block; font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px; margin-top: 16px;
}
.leadmag-form label:first-of-type { margin-top: 0; }
.leadmag-form input[type="text"],
.leadmag-form input[type="email"],
.leadmag-form input[type="tel"] {
  width: 100%; padding: 15px 16px; border: 2px solid var(--border); border-radius: 0;
  font-size: 17px; font-family: inherit; color: var(--text); min-height: var(--tap); background: #fff;
}
.leadmag-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,113,128,0.18); }
.leadmag-form input[aria-invalid="true"] { border-color: var(--terracotta); }
.field-error { color: var(--terracotta-d); font-size: 15px; font-weight: 700; margin-top: 6px; display: none; }
.field-error.show { display: block; }
.form-error-summary {
  display: none; background: #FBEDE8; border: 2px solid var(--terracotta);
  color: var(--terracotta-d); border-radius: 0; padding: 14px 16px; margin-bottom: 8px;
  font-size: 16px; font-weight: 700;
}
.form-error-summary.show { display: block; }
.leadmag-form button[type="submit"] {
  width: 100%; margin-top: 22px; background: var(--terracotta); color: #fff; border: none; cursor: pointer;
  padding: 17px; border-radius: 0; font-size: 18px; font-weight: 800; font-family: inherit;
  min-height: var(--tap); box-shadow: var(--shadow);
}
.leadmag-form button[type="submit"]:hover { background: var(--terracotta-d); }
.leadmag-form button[type="submit"][disabled] { opacity: 0.7; cursor: default; }
.leadmag-form .consent { font-size: 16px; color: var(--text-soft); margin-top: 14px; line-height: 1.55; }
.leadmag-form .micro-reassure { font-size: 15px; color: var(--teal-ink); font-weight: 700; margin-top: 10px; }
.guide-includes { margin: 16px 0 0 22px; }
.guide-includes li { margin-bottom: 7px; line-height: 1.5; }

.leadmag-form .optional-details {
  margin-top: 16px; border: 1px dashed var(--border); border-radius: 0; background: #FbFcFb; padding: 2px 16px;
}
.leadmag-form .optional-details > summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 8px; font-size: 16px; min-height: var(--tap);
}
.leadmag-form .optional-details > summary::-webkit-details-marker { display: none; }
.leadmag-form .optional-details > summary .opt-hint { font-weight: 500; font-size: 14px; color: var(--text-soft); }
.leadmag-form .optional-details > summary::after { content: "+"; margin-left: auto; color: var(--teal); font-weight: 800; font-size: 22px; line-height: 1; }
.leadmag-form .optional-details[open] > summary::after { content: "\2013"; }

.leadmag-form fieldset.chip-fieldset { border: none; padding: 0; margin: 0; }
.leadmag-form fieldset.chip-fieldset legend {
  display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin: 18px 0 8px; padding: 0;
}
.leadmag-form fieldset.chip-fieldset legend .legend-hint { font-size: 14px; font-weight: 400; color: var(--text-soft); margin-left: 4px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-group input[type="radio"], .chip-group input[type="checkbox"] {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.chip-group label {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; margin: 0;
  border: 2px solid var(--border); border-radius: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; background: #fff; color: var(--text);
  transition: all 0.15s; user-select: none; min-height: var(--tap); line-height: 1.2;
}
.chip-group label:hover { border-color: var(--teal); color: var(--teal-ink); }
.chip-group input:checked + label { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip-group input:focus-visible + label { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.conditional-phone { overflow: hidden; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: flex; flex-direction: column; gap: 26px; }
.about-grid p { font-size: 18px; margin-bottom: 16px; color: var(--text); line-height: 1.68; }
.about-grid p strong { color: var(--ink); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  background: var(--white); padding: 10px 16px; border-radius: 0; font-size: 15px; font-weight: 700;
  color: var(--ink); border: 1px solid var(--border);
}
.badge::before { content: "\2713  "; color: var(--teal); font-weight: 800; }
.pullquote {
  background: var(--sage); border-left: 5px solid var(--teal);
  padding: 28px 26px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative;
}
.pullquote .quote-text { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.32; }
.pullquote .quote-attr { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--teal-ink); letter-spacing: 1px; text-transform: uppercase; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { background: var(--white); }
.steps-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.step-card {
  background: var(--ivory); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff;
  font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.step-card p { font-size: 17px; color: var(--text-soft); line-height: 1.55; margin: 0; }

/* ============================================================
   FAQ (accordion — full question always visible, big target)
   ============================================================ */
.faq { background: var(--white); }
.faq-item {
  background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
/* Static (non-accordion) variant still supported */
.faq-item > .faq-q { padding: 20px 22px 0; }
.faq-item > .faq-a { padding: 8px 22px 20px; }
/* Accordion variant */
details.faq-item > summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 800; color: var(--ink);
  font-size: 18px; display: flex; align-items: center; gap: 12px; min-height: var(--tap); line-height: 1.4;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; margin-left: auto; color: var(--teal); font-weight: 800; font-size: 24px; flex-shrink: 0; }
details.faq-item[open] > summary::after { content: "\2013"; }
details.faq-item > .faq-a { padding: 0 22px 20px; }
.faq-q { font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.faq-a { font-size: 17px; color: var(--text); line-height: 1.6; }
.faq-a p { margin-bottom: 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { background: linear-gradient(135deg, var(--teal) 0%, var(--ink) 100%); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-options { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.final-option {
  background: rgba(255,255,255,0.1); padding: 24px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
}
.final-option .icon { font-size: 30px; margin-bottom: 10px; }
.final-option h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.final-option .value { font-size: 18px; font-weight: 800; margin: 8px 0; }
.final-option .value a {
  color: var(--sand); text-decoration: none; font-weight: 800;
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0;
}
.final-option .value a:hover { text-decoration: underline; color: #fff; }
.final-option p { font-size: 15px; opacity: 0.9; margin: 0; }

/* ============================================================
   ARTICLE / GUIDE PAGES
   ============================================================ */
.article-head { background: linear-gradient(180deg, var(--sage) 0%, var(--ivory) 80%); padding: 34px 18px 26px; border-bottom: 1px solid var(--border); }
.article-head-inner { max-width: var(--readw); margin: 0 auto; }
.breadcrumb { font-size: 15px; color: var(--text-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal-ink); }
.article-head h1 { font-size: 36px; letter-spacing: -0.3px; margin-bottom: 14px; }
.article-head .standfirst { font-size: 19px; color: var(--text-soft); line-height: 1.55; }
.article-meta { font-size: 15px; color: var(--text-soft); margin-top: 18px; }
.article-meta strong { color: var(--ink); }

.article-body { padding: 32px 18px 48px; }
.article-inner { max-width: var(--readw); margin: 0 auto; }
.article-inner h2 { font-size: 25px; margin: 38px 0 12px; }
.article-inner h3 { font-size: 20px; color: var(--ink); margin: 26px 0 10px; }
.article-inner p { margin-bottom: 16px; color: var(--text); font-size: 18px; line-height: 1.65; }
.article-inner ul, .article-inner ol { margin: 0 0 18px 22px; }
.article-inner li { margin-bottom: 10px; font-size: 18px; line-height: 1.6; }
.article-inner strong { color: var(--ink); }

.toc { background: var(--sage); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 30px; }
.toc h2 { font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.toc ul { margin: 0 0 0 20px; }
.toc li { margin-bottom: 8px; font-size: 17px; }
.toc a { color: var(--teal-ink); }

.callout {
  background: var(--sage); border-left: 5px solid var(--teal);
  padding: 20px 24px; border-radius: var(--radius-sm); margin: 26px 0; box-shadow: var(--shadow);
}
.callout p { margin-bottom: 0; }
.callout a { color: var(--teal-ink); font-weight: 700; }
.callout .callout-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }

.sources-box {
  margin: 34px 0 26px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-soft); font-size: 16px; line-height: 1.65;
}
.sources-box strong { display: block; color: var(--ink); margin-bottom: 5px; }

.cta-band { background: var(--ink); color: #fff; text-align: center; border-radius: var(--radius); padding: 30px 22px; margin: 36px 0; }
.cta-band h3 { color: #fff; font-size: 23px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 17px; }
.cta-band .cta-row { max-width: 460px; margin: 0 auto; }
.cta-band .cta-big { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.65); }
.cta-band .cta-big:hover { background: rgba(255,255,255,0.14); color: #fff; }
.cta-band .cta-callme { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.92); font-size: 16px; }
.cta-band .cta-callme strong { color: #fff; }

/* ============================================================
   RESOURCES HUB
   ============================================================ */
.res-hero { background: linear-gradient(180deg, var(--sage) 0%, var(--ivory) 80%); padding: 36px 18px 20px; }
.res-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.res-group { margin-top: 30px; }
.res-group > h2 { font-size: 22px; margin-bottom: 4px; }
.res-group > .res-group-sub { color: var(--text-soft); font-size: 17px; margin-bottom: 16px; }
.res-cards { display: flex; flex-direction: column; gap: 14px; }
.res-card {
  display: block; background: var(--white); border: 1px solid var(--border-soft); border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 22px 22px; text-decoration: none; box-shadow: var(--shadow);
}
.res-card:hover { border-left-color: var(--terracotta); background: #fff; }
.res-card .res-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.res-card:hover .res-title { color: var(--terracotta); }
.res-card .res-desc { font-size: 17px; color: var(--text-soft); line-height: 1.55; margin-bottom: 10px; }
.res-card .res-readmore { font-size: 16px; font-weight: 800; color: var(--teal-ink); }
.res-card .res-time { font-size: 14px; color: var(--text-soft); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ink-2); color: rgba(255,255,255,0.88); padding: 40px 18px 28px; font-size: 15px; }
footer .footer-inner { max-width: var(--maxw); margin: 0 auto; }
footer a { color: #fff; }
footer .credentials { font-size: 16px; color: #fff; margin-bottom: 14px; }
footer .credentials strong { color: var(--sand); }
footer .contact-line { margin-bottom: 20px; line-height: 1.7; }
footer .contact-line strong { color: var(--sand); }
footer .disclaimer-box {
  background: rgba(0,0,0,0.28); padding: 18px; border-radius: 0; margin: 22px 0;
  font-size: 16px; line-height: 1.6; border-left: 4px solid var(--sand);
}
footer .footer-links { margin: 16px 0 6px; font-size: 15px; }
footer .footer-links a { color: rgba(255,255,255,0.9); }
footer .copyright { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 18px; font-size: 13px; opacity: 0.8; }

/* ============================================================
   STICKY BOTTOM ACTION BAR (mobile) — Call + Book
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px;
}
.sticky-cta a {
  flex: 1; text-align: center; text-decoration: none; font-weight: 800; font-size: 17px;
  padding: 15px 8px; border-radius: 0; min-height: var(--tap);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sticky-cta a.s-call { background: var(--terracotta); color: #fff; }
.sticky-cta a.s-call:hover { background: var(--terracotta-d); }
.sticky-cta a.s-book, .sticky-cta a.s-guide { background: var(--ink); color: #fff; }
.sticky-cta a.s-book:hover, .sticky-cta a.s-guide:hover { background: var(--ink-2); }
.sticky-cta.context-hidden { transform: translateY(110%); }
.sticky-cta { transition: transform 0.2s ease; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ============================================================
   DESKTOP EXPANSION (min-width layouts)
   ============================================================ */
@media (min-width: 720px) {
  section { padding: 64px 32px; }
  .hero { padding: 56px 32px 64px; }
  h1 { font-size: 42px; }
  .hero h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .hero .sub { font-size: 20px; }
  .problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .final-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 780px; margin: 30px auto 0; }
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cta-row > a, .cta-row > button { width: auto; }
  .article-head h1 { font-size: 40px; }
  .article-head { padding: 48px 32px 32px; }
  .article-body { padding: 44px 32px 60px; }
  .res-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (min-width: 960px) {
  .topbar { padding: 14px 28px; }
  .topbar .brand { font-size: 17px; }
  .menu-btn { display: none; }
  .nav-close { display: none; }
  .nav-overlay { display: none; }
  /* Inline nav on desktop */
  .nav-links {
    position: static; width: auto; background: none; padding: 0; box-shadow: none;
    transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 8px;
  }
  .nav-links a { color: #fff; font-size: 16px; padding: 10px 14px; min-height: 44px; border-radius: 0; }
  .nav-links a:hover { background: rgba(255,255,255,0.14); color: #fff; }
  .nav-links a.nav-call-link { background: var(--terracotta); margin-top: 0; }
  .nav-links a.nav-call-link:hover { background: var(--terracotta-d); }

  .hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 52px; row-gap: 14px; align-items: center; }
  .hero-inner > .hero-h1 { grid-column: 1; grid-row: 1; }
  .hero-inner > .sub { grid-column: 1; grid-row: 2; }
  .hero-inner > .headshot-wrap { grid-column: 2; grid-row: 1 / span 4; align-self: center; max-width: 380px; margin: 0; }
  .hero-inner > .cta-row { grid-column: 1; grid-row: 3; }
  .hero-inner > .trust-strip { grid-column: 1; grid-row: 4; }
  .leadmag-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
  .about-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 52px; align-items: center; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   PRIVACY / SIMPLE CONTENT PAGES
   ============================================================ */
.page-head { background: linear-gradient(180deg, var(--sage) 0%, var(--ivory) 80%); padding: 34px 18px 26px; border-bottom: 1px solid var(--border); }
.page-head .inner { max-width: var(--readw); margin: 0 auto; }
.page-head h1 { font-size: 30px; }
.page-head .eff { font-size: 15px; color: var(--text-soft); margin-top: 10px; }
main.content { max-width: var(--readw); margin: 0 auto; padding: 32px 18px 48px; }
main.content h2 { font-size: 23px; margin: 32px 0 12px; }
main.content h3 { font-size: 19px; margin: 22px 0 8px; }
main.content p { margin-bottom: 16px; font-size: 18px; line-height: 1.65; }
main.content ul, main.content ol { margin: 0 0 18px 22px; }
main.content li { margin-bottom: 8px; }
main.content .intro { font-size: 19px; color: var(--text-soft); }
main.content a { color: var(--teal-ink); font-weight: 600; }
@media (min-width: 720px) {
  .page-head { padding: 44px 32px 30px; }
  main.content { padding: 44px 32px 60px; }
}

/* ============================================================
   THANK-YOU CARD (post-signup confirmation)
   ============================================================ */
body.ty { background: linear-gradient(160deg, var(--sage) 0%, var(--ivory) 60%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; padding-bottom: 24px; }
.ty .card {
  background: #fff; max-width: 640px; width: 100%; border-radius: 0; padding: 44px 32px;
  box-shadow: var(--shadow-lg); border-top: 8px solid var(--teal); text-align: center;
}
.ty .check { width: 78px; height: 78px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 42px; margin: 0 auto 22px; }
.ty h1 { font-size: 30px; margin-bottom: 14px; }
.ty .sub { font-size: 19px; color: var(--text-soft); margin-bottom: 28px; }
.ty .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 17px; padding: 15px 22px; border-radius: 0;
  min-height: var(--tap); box-shadow: var(--shadow);
}
.ty .cta:hover { background: var(--teal-ink); color: #fff; }
.ty .cta-download { background: var(--terracotta); color: #fff; font-size: 19px; padding: 18px 30px; margin-bottom: 26px; }
.ty .cta-download:hover { background: var(--terracotta-d); color: #fff; }
.ty .cta-secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.ty .cta-secondary:hover { background: var(--sage); color: var(--ink); }
.ty .cta-row { display: flex; flex-direction: column; gap: 12px; }
.ty .next-box { background: var(--sage); border-radius: 0; padding: 22px; text-align: left; margin-bottom: 24px; }
.ty .next-box h3 { color: var(--ink); font-size: 18px; margin-bottom: 12px; }
.ty .next-box p { font-size: 17px; color: var(--text); margin-bottom: 10px; }
.ty .email-note { background: var(--sage); border-left: 4px solid var(--teal); border-radius: 0; padding: 16px 20px; text-align: left; font-size: 16px; color: var(--text); line-height: 1.55; margin-bottom: 24px; }
.ty .email-note strong { color: var(--ink); }
.ty .footer-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-soft); line-height: 1.6; }
.ty .footer-note a { color: var(--teal-ink); }
.ty .disclaimer-mini { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-soft); line-height: 1.55; text-align: left; }
@media (min-width: 600px) {
  .ty .card { padding: 52px 48px; }
  .ty h1 { font-size: 34px; }
  .ty .cta-row { flex-direction: row; justify-content: center; }
}

/* ============================================================
   RESPONSIVE COMPARISON TABLES (stack into labeled cards < 600px)
   ============================================================ */
.table-wrap { margin: 10px 0 22px; }
.periods-table, .cost-table {
  width: 100%; border-collapse: collapse; font-size: 17px; background: #fff;
  border: 1px solid var(--border); border-radius: 0; overflow: hidden;
}
.periods-table th, .cost-table th {
  text-align: left; padding: 13px 15px; background: var(--sage); color: var(--ink);
  font-weight: 800; border-bottom: 1px solid var(--border);
}
.periods-table td, .cost-table td {
  text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.periods-table tr:last-child td, .cost-table tr:last-child td { border-bottom: none; }
.periods-table td strong, .cost-table td strong { color: var(--ink); }

@media (max-width: 600px) {
  .periods-table, .cost-table { border: none; border-radius: 0; }
  .periods-table thead, .cost-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;   /* keep for screen readers */
  }
  .periods-table tr, .cost-table tr {
    display: block; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--teal);
    border-radius: 0; padding: 6px 2px 10px; margin-bottom: 14px; box-shadow: var(--shadow);
  }
  .periods-table td, .cost-table td { display: block; border: none; padding: 8px 16px; font-size: 17px; }
  .periods-table td::before, .cost-table td::before {
    content: attr(data-label); display: block; font-size: 12.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--teal-ink); margin-bottom: 3px;
  }
}
