/* Asurgo final build: legacy restyle (Wave 18, 2026-10-31).
   Pages with no new copy keep their words and markup exactly; this file gives their old classes the locked look
   (style guide 2026-10-24). It loads after the page's old layout CSS and after tokens.css + components.css, on <body class="f">.
   Old layout rules (grids, charts, calculators) still place things; the colours, type, buttons, bands, tables and cards come from here. */

/* ---------- 1. The old variables, pointed at the locked tokens ---------- */
:root {
  --color-blue: #104975; --color-blue-hover: #0A2B45;
  --color-orange: #104975; --color-orange-hover: #0A2B45;      /* orange CTAs become navy pills */
  --color-tan: #F7F5F0;                                        /* old tan bands: the locked cream */
  --color-dark: #3E5266;                                       /* body text: the locked body colour */
  --color-light: #EDF4F3; --color-white: #FFFFFF;
  --color-secondary-tan: #E3DDD2; --color-secondary-blue: #E6F1F7;
  --color-success: #1F7A4D; --color-error: #8A4612;
  --font-heading: "Azo Fallback", system-ui, sans-serif;       /* labels, buttons, H3s (Azo when the kit loads) */
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --shadow-card: none; --shadow-card-hover: 0 12px 32px rgba(14, 34, 51, .08), 0 2px 6px rgba(14, 34, 51, .04);
  --shadow-button: none; --shadow-button-orange: none;
  --radius-sm: 12px; --radius-md: 16px; --radius-lg: 20px;
  --orange: #104975;                                           /* B1 rate-chart sheet */
  --zebra: #FBF9F5;
}
.fonts-azo { --font-heading: "azo-sans-web", "Azo Fallback", system-ui, sans-serif; }

/* ---------- 2. Page base and type ---------- */
body.f { background: var(--white); }
.f main { color: var(--body-c); font-family: var(--body); }
.f main h1, .f main h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: var(--track-h2); }
.f main h1 { letter-spacing: var(--track-h1); line-height: 1.12; }
.f main h1 .h1-accent { color: inherit; font-style: italic; }
.f main h3, .f main h4 { font-family: var(--head); color: var(--ink); }
.f main p, .f main li { line-height: 1.6; }
.f main small, .f .byline__meta, .f .subpage-breadcrumb, .f .breadcrumb { font-size: 16px; }
/* table disclosures on the restyled old pages: as .f-cap (13 px), with a tighter box */
.f main .cost-disclaimer, .f main .answer-box .ab-note, .f main .cost-disclaimer p, .f main .ab-note p { font-size: 13px; line-height: 1.5; }
.f .cost-disclaimer { padding: 12px 16px; }
/* the Globe Life rate chart's "Methodology and sources" box: in small type, as .f-sources (Wave 23, Run 111) */
.f .methodology:not(.f-card) > h3 { font-size: 17px; line-height: 1.3; }
.f .methodology:not(.f-card) > p { font-size: 13px; line-height: 1.5; }
.f .methodology:not(.f-card) > p a { padding-block: 15px; }
/* the 9.95 plan page's Sources list (inline 13 px): its items at the same 1.5 line height */
.f main ol[style*="font-size:13px"] > li { line-height: 1.5; }
.f main :where(a:not([class*="btn"]):not(.card):not([class*="-card"]):not(.cross-link)) { color: var(--navy); }   /* low specificity: panels can set white */
.f .highlight { color: inherit; font-weight: 700; background: none; }

/* scroll reveal: shown by default (JS off renders the content; the locked style keeps motion subtle) */
.f .fade-in, .f .fade-in--left { opacity: 1; transform: none; transition: none; }
/* hero entrance animations that start at opacity 0: shown at once (no blank hero when animations are off) */
.f .hero h1, .f .hero-sub, .f .hero-eyebrow, .f .hero-btns, .f .hero-bar, .f .hero .byline, .f .hero-photo, .f .hero .answer-box, .f .hero-chips,
.f .subpage-hero *, .f .legal-hero *, .f .calc-hero * { animation: none; opacity: 1; transform: none; }

/* eyebrows and decorative bars (the words stay; no orange) */
.f .pe-section-eyebrow, .f .hero-eyebrow, .f .sp-eyebrow, .f .subpage-hero__eyebrow, .f .legal-hero__eyebrow, .f .calc-eyebrow,
.f .key-takeaways__label, .f .legal-toc__title {
  font: 700 16px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.f .hero-bar, .f .cta-closer__bar, .f .final-cta__bar, .f .calc-cta__bar { display: none; }

/* ---------- 3. Bands (white, cream, mist, cream-2 hero) ---------- */
.f .hero, .f .subpage-hero, .f .legal-hero, .f .calc-hero { background: var(--cream-2); }
.f .pe-section--white, .f .sp-section--white, .f .section--white { background: var(--white); }
.f .pe-section--tan, .f .sp-section--tan, .f .section--tan, .f .cta-closer { background: var(--cream); }
.f .pe-section--light, .f .sp-section--light, .f .section--light { background: var(--mist); }

/* ---------- 4. Buttons: navy pills ---------- */
.f .btn { border-radius: var(--r-pill); min-height: var(--tap); font-family: var(--head); font-weight: 700; box-shadow: none; text-decoration: none; }
.f .btn--primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.f .btn--primary:hover { background: var(--navy-d); border-color: var(--navy-d); }
.f .btn--outline, .f .btn--secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.f .btn--outline:hover, .f .btn--secondary:hover { background: var(--mist); }
.f .btn--ghost-white { background: var(--white); color: var(--navy); border: 2px solid var(--white); }

/* ---------- 5. Tables: real tables in a white card, mist header, sticky first column on phones ---------- */
.f .table-scroll, .f .table-wrap, .f .compare-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 8px 16px; overflow-x: auto; }
.f .cost-table, .f .compare-table { font: 400 var(--fs-cell)/1.4 var(--body); color: var(--ink); border-collapse: collapse; background: transparent; }
.f .cost-table th, .f .cost-table td, .f .compare-table th, .f .compare-table td {
  padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: var(--white); color: var(--ink); }
.f .cost-table thead th, .f .compare-table thead th { background: var(--mist); color: var(--ink); font: 700 var(--fs-cell)/1.4 var(--body); border-bottom: 0; }
.f .cost-table tbody tr:last-child > *, .f .compare-table tbody tr:last-child > * { border-bottom: 0; }
.f .cost-table tbody th, .f .compare-table tbody th, .f .cost-table tbody td:first-child, .f .compare-table tbody td:first-child { font-weight: 700; }
@media (max-width: 767px) {
  .f .cost-table th:first-child, .f .cost-table td:first-child, .f .compare-table th:first-child, .f .compare-table td:first-child {
    position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
  .f .cost-table thead th:first-child, .f .compare-table thead th:first-child { background: var(--mist); }
  .f .cost-table th, .f .cost-table td, .f .compare-table th, .f .compare-table td { font-size: 16px; padding: 14px 12px; }
}

/* ---------- 6. Cards and boxes: hairline borders, 20 px radius, no drop shadow ---------- */
.f .card, .f .who-card, .f .plan-card, .f .key-fact, .f .index-card, .f .myth-card, .f .pros-cons-card, .f .rate-factor-card,
.f .scenario-card, .f .calc-result-card, .f .legal-contact {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: none; }
.f .card:hover { box-shadow: var(--shadow); }
.f .faq-item, .f .pe-faq-item { background: var(--white); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.f .key-takeaways, .f .answer-box, .f .short-version, .f .callout-box, .f .disclosure-box, .f .methodology {
  background: var(--mist); border: 0; border-left: 4px solid var(--navy); border-radius: 0 var(--r-m) var(--r-m) 0; color: var(--body-c); }
.f .warn, .f .exam-disclosure { background: var(--amber-bg); color: var(--amber); border-color: var(--amber); }
.f .inline-cta, .f .final-cta, .f .calc-cta { background: var(--navy); border-radius: var(--r-xl); color: var(--white); }
.f .inline-cta h3, .f .inline-cta p, .f .final-cta h2, .f .final-cta p, .f .calc-cta h2, .f .calc-cta p { color: var(--white); }
.f .inline-cta a:not([class*="btn"]), .f .final-cta a:not([class*="btn"]), .f .calc-cta a:not([class*="btn"]) { color: var(--white); }

/* ---------- 7. Accessibility in the old markup (CSS only) ---------- */
/* small text the old sheets dimmed with opacity: full strength in the body colour */
.f .answer-box th, .f .ab-note, .f .cost-table caption, .f .compare-table caption, .f .disclosures-link, .f .byline__meta, .f .breadcrumb, .f .breadcrumb a {
  color: var(--body-c); opacity: 1; }
.f .answer-box th { font-size: 16px; }
/* inline links reach 48 px (the cost template's prose-link rule) */
.f main :is(p, li, td, .breadcrumb, .byline__text, .byline__meta, .subpage-breadcrumb__list, .cost-disclaimer) > a:not([class*="btn"]) { padding-block: 14px; }
/* buttons on the navy panels: white pills with navy text */
.f :is(.inline-cta, .final-cta, .calc-cta) :is(.btn--primary, .calc-cta__btn) { background: var(--white); color: var(--navy); border: 2px solid var(--white); }
.f .calc-cta__btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 12px 28px; border-radius: var(--r-pill);
  font: 700 18px/1.2 var(--head); text-decoration: none; }
.f :is(.inline-cta, .final-cta, .calc-cta) :is(p, em, h2, h3) { color: var(--white); }
/* page <style> blocks load after this file: the few rules they would win get one more class */
.f main .answer-box .ab-note, .f main blockquote cite, .f main .disclosures-link { color: var(--body-c); opacity: 1; }
.f main .cross-link { min-height: var(--tap); display: inline-flex; align-items: center; }
.f main :is(p, li, td, .breadcrumb, .byline__text, .byline__meta, .subpage-breadcrumb__list, .cost-disclaimer) > a:not([class*="btn"]) { padding-block: 15px; }
.f main .cta-closer__phone, .f main .calc-cta__phone a { display: inline-block; padding-block: 12px; }
.f main .byline > a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); line-height: 0; }
.f main .cost-table td::before { font-size: 16px; color: var(--navy); }   /* the 9.95 page's phone card labels: 16 px minimum */
/* phones: tables up to about five columns fit without sideways scrolling (headers may wrap); wider ones still scroll with the sticky first column */
@media (max-width: 767px) { .f main .table-scroll .cost-table { min-width: 0; } .f main .cost-table thead th { white-space: normal; } }
.f main .disclosures-link { min-height: var(--tap); display: inline-flex; align-items: center; }
/* Run 89: the old sheets faded small labels and notes with opacity; full strength in the body colour (on navy: white) */
.f main :is(.growth-row__amount, .growth-chart__note, .benefit-text p, .proof-point p, .subpage-breadcrumb a, .subpage-breadcrumb li, .key-fact__label,
  .cost-row__range, .income-row__income, .income-chart__note, .plan-card__sub, .calc-field__range span, .calc-controls__helper,
  [class*="__note"], [class*="disclaimer"], [class*="helper"]) { color: var(--body-c); opacity: 1; }
.f main .final-cta__trust-item, .f main .final-cta__trust-item * { color: var(--white); opacity: 1; }
.f main .subpage-breadcrumb__list, .f main .calc-field__range { opacity: 1; }
.f main p[style*="opacity"] { opacity: 1 !important; }   /* disclaimers the old markup faded inline; the attribute is left as it is */
/* calculator targets: 48 px */
.f main :is(.calc-stepper__btn) { min-width: var(--tap); min-height: var(--tap); }
.f main :is(.calc-print__btn, .btn--cta) { min-height: var(--tap); }
.f main :is(.calc-field__label, .calc-label) { display: inline-block; padding-block: 12px; }
.f main label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); }
.f main .calc-byline__text > a, .f main h2 > a { padding-block: 15px; }
.f main .calc-byline > a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); line-height: 0; }
.f main .nf-links a { text-decoration: none; }   /* 404: the link list as its own design had it (underline on hover) */
