/* ELIK-WEB-001 site stylesheet. Built by build/build.py; edit the sources, not this file. */

/* 1. Global shared elements r2: site-wide variables and tokens */

:root {
  /* Values harvested from GLOBAL-1 (the prior build's palette); reconcile against B1-HP at Wave 1 */
  --elik-primary: #0D2B4E;          /* navy: nav, footer, form-button surfaces */
  --elik-accent: #1A8C7A;           /* teal: CTAs, active states, logo mark */
  --elik-accent-dark: #14705F;
  --elik-gold: /* value locks from B1-HP at Wave 1 */ #C9A227;
  /* Gold is reserved for hero, ratio stat, callout cards, and divider accents only. Never in nav or footer. */
  --elik-ink: #1a1a1a;
  --elik-surface: #ffffff;
  --elik-line: #d9dee3;
  --elik-font: "Source Sans 3", Arial, sans-serif;
  --nav-height: 72px;
  --shadow-md: 0 4px 14px rgba(13, 43, 78, 0.12);
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
}

/* Metro phone rendering: one rule set, sitewide */
.phone-houston, .phone-dallas { display: none; }
body[data-metro="houston"] .phone-houston { display: inline-flex; }
body[data-metro="dallas"] .phone-dallas { display: inline-flex; }
body[data-metro="dual"] .phone-houston,
body[data-metro="dual"] .phone-dallas { display: inline-flex; }

/* 2. Base stylesheet (homepage production file, Part A) */

:root {
  /* Palette (recovered: GLOBAL-1 and B1-CM) */
  --color-primary: #0D2B4E;
  --color-accent: #1A8C7A;
  --color-accent-light: #E3F2EF;
  --color-gold: #D4A843;
  --color-gold-light: #faf0d7;
  --color-bg: #FFFFFF;
  --color-surface: #F6F8FA;
  --color-ivory: #FAF8F3;
  --color-border: #E2E8F0;
  --color-text: #1A2332;
  --color-text-muted: #4A5568;
  --color-text-inverse: #FFFFFF;

  /* Type */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-semibold: 600;
  --font-bold: 700;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-lg: 1.125rem;
  --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-6xl: 3.75rem;
  --tracking-tight: -0.02em; --tracking-wide: 0.08em;

  /* Space (4px scale) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Surfaces */
  --radius-lg: 10px; --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(13,43,78,0.06);
  --shadow-md: 0 4px 14px rgba(13,43,78,0.12);
  --transition-fast: 0.15s ease; --transition-base: 0.25s ease;
  --nav-height: 72px;

  /* Alias layer: every stratum's vocabulary resolves to one palette */
  --sage: var(--color-accent); --sage-pale: var(--color-accent-light);
  --slate: var(--color-primary); --warm: var(--color-text-muted);
  --gold: var(--color-gold); --gold-light: var(--color-gold-light);
  --elik-primary: var(--color-primary); --elik-accent: var(--color-accent);
  --elik-accent-dark: #14705F; --elik-gold: var(--color-gold);
  --elik-ink: var(--color-text); --elik-surface: var(--color-bg);
  --elik-line: var(--color-border); --elik-font: var(--font-body);
}

/* Reset and base */
*,*::before,*::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--color-primary); line-height: 1.2; margin: 0 0 var(--space-4); }
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.4vw, var(--text-4xl)); }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
a { color: var(--color-accent); }
img { max-width: 100%; height: auto; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-4); }
.container--content { max-width: 760px; }
.max-720 { max-width: 720px; } .max-860 { max-width: 860px; }
.section { padding: var(--space-20) 0; }
.page-hero { padding: var(--space-16) 0 var(--space-12); background: var(--color-surface); }
.bg-surface, .section-alt { background: var(--color-surface); }
.bg-primary { background: var(--color-primary); color: var(--color-text-inverse); }
.section--dark { background: var(--color-primary); color: var(--color-text-inverse); padding: var(--space-20) 0; }
.section--sage { background: var(--color-accent); color: #fff; padding: var(--space-20) 0; }
.section--ivory { background: var(--color-ivory); padding: var(--space-20) 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); }
@media (max-width: 900px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr;} }
/* Situation router (work order 1): existing tokens only */
.router-tile { display: block; text-decoration: none; color: var(--color-text); }
.router-tile__label { display: block; font-weight: var(--font-semibold); color: var(--color-primary); margin-bottom: var(--space-3); }
.router-tile__sub { display: block; color: var(--color-text-muted); }
.router-tile--quiet { background: transparent; }
.router-tile--quiet .router-tile__label { font-weight: inherit; color: var(--color-text-muted); }
.text-center { text-align: center; } .mb-12 { margin-bottom: var(--space-12); }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .justify-center { justify-content: center; } .gap-3 { gap: var(--space-3); }

/* Components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-body); font-weight: var(--font-bold); text-decoration: none; border-radius: var(--radius-lg); padding: 0.7rem 1.3rem; font-size: var(--text-base); transition: background var(--transition-fast), transform var(--transition-fast); cursor: pointer; border: 2px solid transparent; }
.btn-lg { padding: 0.9rem 1.7rem; font-size: var(--text-lg); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #14705F; }
.btn-secondary { background: var(--color-gold); color: var(--color-primary); }
.btn-secondary:hover { background: #c2983a; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.eyebrow, .section-label { display: inline-block; font-size: var(--text-xs); font-weight: var(--font-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.eyebrow--accent { color: var(--color-accent); }
.lead { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.6; max-width: 62ch; }
.divider-accent { width: 48px; height: 3px; background: var(--color-gold); border-radius: 2px; margin-bottom: var(--space-4); }
.card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.card--gold { background: var(--color-gold-light); border: 1px solid rgba(212,168,67,0.3); border-left: 4px solid var(--color-gold); }
.breadcrumb { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb-sep { margin: 0 var(--space-2); }
.section-centered { text-align: center; max-width: 680px; margin: 0 auto var(--space-12); }
.page-reviewed { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; padding: var(--space-4) 0; margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* FAQ accordion */
.faq { list-style: none; margin: 0; padding: 0; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); background: none; border: 0; text-align: left; font-family: var(--font-body); font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--color-primary); padding: var(--space-5) 0; cursor: pointer; }
.faq-icon { width: 20px; height: 20px; flex: 0 0 auto; transition: transform var(--transition-base); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--transition-base); }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; color: var(--color-text-muted); padding-bottom: 0; }
.faq-item.is-open .faq-inner { padding-bottom: var(--space-5); }

/* 3. Global navigation */

.elik-header { background: var(--elik-primary); position: sticky; top: 0; z-index: 900; font-family: var(--elik-font); height: auto; transition: box-shadow 0.2s ease; }
.elik-header.is-scrolled { box-shadow: var(--shadow-md); }
.elik-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0.35rem 1rem; display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; font-size: 0.85rem; }
.elik-topbar-link { color: #fff; text-decoration: none; }
.elik-topbar-link:hover, .elik-topbar-link:focus-visible { text-decoration: underline; }
.elik-nav-coverage { display: none; }
.elik-header-inner { max-width: 1200px; height: var(--nav-height); margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: 1.25rem; }
.elik-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.elik-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.elik-brand-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.elik-brand-sub { color: rgba(255,255,255,0.7); font-size: var(--text-xs); }
.elik-nav-list { display: flex; gap: 1.1rem; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.elik-nav-list a, .elik-dropdown-toggle { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0.4rem 0; display: inline-flex; align-items: center; gap: 0.3rem; }
.elik-nav-list a:hover, .elik-dropdown-toggle:hover { color: #fff; }
.elik-nav-list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--elik-accent); }
.elik-nav-dropdown { position: relative; }
.elik-dropdown-menu { position: absolute; top: 100%; right: 0; background: var(--elik-surface); border: 1px solid var(--elik-line); border-radius: 6px; padding: 0.4rem 0; min-width: 250px; list-style: none; margin: 0; box-shadow: var(--shadow-md); }
.elik-dropdown-menu a { display: block; padding: 0.55rem 1rem; color: var(--elik-ink); }
.elik-dropdown-menu a:hover { color: var(--elik-primary); background: #f4f6f8; }
.elik-phone-cta { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--elik-accent); color: #fff; font-weight: 700; text-decoration: none; padding: 0.55rem 0.9rem; border-radius: 6px; font-size: 0.95rem; white-space: nowrap; }
.elik-phone-cta:hover { background: var(--elik-accent-dark); }
.elik-phone-label { font-weight: 400; font-size: var(--text-xs); opacity: 0.9; }
.elik-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0.5rem; cursor: pointer; margin-left: auto; }
.elik-menu-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

@media (max-width: 1023px) {
  .elik-nav { display: none; position: fixed; inset: var(--nav-height) 0 0 0; background: var(--elik-primary); padding: 1rem 1.25rem; overflow-y: auto; z-index: 899; }
  .elik-nav.is-open { display: block; }
  .elik-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .elik-nav-list a, .elik-dropdown-toggle { display: flex; width: 100%; padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .elik-dropdown-menu { position: static; background: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .elik-dropdown-menu a { color: rgba(255,255,255,0.85); }
  .elik-dropdown-menu a:hover { color: #fff; background: none; }
  .elik-menu-toggle { display: flex; }
  .elik-topbar { display: none; } /* below 1024px the mobile CTA bar carries both phones; the top bar hides */
  .elik-nav-coverage { display: list-item; } /* the coverage question leads the mobile menu */
}

/* 4. Global footer */

.elik-footer { background: var(--elik-primary); color: #e8edf2; font-family: var(--elik-font); font-size: var(--text-sm); }
.elik-footer a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.elik-footer a:hover { color: #ffffff; }
.elik-footer-inner { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1rem 5.5rem; } /* bottom padding clears the mobile CTA bar */
.elik-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.elik-footer-logo { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0 0 0.4rem; }
.elik-footer-promise { color: #fff; font-weight: 600; margin: 0 0 0.4rem; }
.elik-footer-tag { margin: 0 0 0.8rem; line-height: 1.55; }
.elik-footer-payers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.elik-footer-payers li { border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); border-radius: 999px; padding: 0.2rem 0.65rem; font-size: var(--text-xs); }
.elik-footer-h { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: #b9c6d2; font-weight: 600; margin: 0 0 0.6rem; }
.elik-footer-location address { font-style: normal; line-height: 1.5; margin: 0 0 0.4rem; }
.elik-footer-phone { display: inline-block; font-weight: 700; margin: 0 0 0.4rem; }
.elik-footer-links ul { list-style: none; margin: 0; padding: 0; }
.elik-footer-links li { margin: 0 0 0.45rem; }
.elik-footer-communities { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.5rem; }
.elik-footer-metro-label { margin: 0.8rem 0 0.4rem; font-weight: 700; color: #b9c6d2; }
.elik-community-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.elik-footer-coverage { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 1.5rem; padding-top: 1.5rem; }
.elik-footer-coverage p { line-height: 1.6; margin: 0; font-size: var(--text-xs); color: rgba(255,255,255,0.6); max-width: 74ch; }
.elik-footer-baseline { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 1.5rem; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.elik-footer-baseline p { margin: 0; }
.elik-footer-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
@media (max-width: 1023px) { .elik-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .elik-footer-grid { grid-template-columns: 1fr; } }

/* 5. Mobile sticky call bar */

.elik-mobile-cta { display: none; }
@media (max-width: 1023px) {
  .elik-mobile-cta { display: flex; gap: 1px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950; box-shadow: 0 -2px 12px rgba(13,43,78,0.15); padding-bottom: env(safe-area-inset-bottom); background: var(--elik-primary); }
  .elik-mobile-call, .elik-mobile-coverage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 56px; color: #fff; font-weight: 700; font-family: var(--elik-font); text-align: center; text-decoration: none; padding: 0.6rem 0.5rem; font-size: 0.95rem; }
  .elik-mobile-call { background: var(--elik-accent); }
  .elik-mobile-call:active { background: var(--elik-accent-dark); }
  .elik-mobile-coverage { background: var(--elik-primary); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); } /* content never hides behind the bar */
  /* Dual-metro pages carry two call buttons; the coverage button yields */
  body[data-metro="dual"] .elik-mobile-coverage { display: none; }
}

/* 6. Hub components (Houston hub production file, shared by both hubs) */

.hub-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-10); align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px){ .hub-hero__grid { grid-template-columns: 1fr; } }
.hub-hero .hero__h1, .hub-hero .hero__subhead, .hub-hero .hero__support { text-align: left; margin-left: 0; }
.coverage-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-md); color: var(--color-text); }
.coverage-card__title { font-size: var(--text-xl); color: var(--color-primary); margin: 0 0 var(--space-4); }
.coverage-card__label { display: block; font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.coverage-card__select { width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); font-family: var(--font-body); font-size: var(--text-base); margin-bottom: var(--space-4); background: var(--color-bg); }
.coverage-card__msg p { font-size: var(--text-sm); line-height: 1.55; margin: 0; }
.community-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-3); max-width: 900px; margin: 0 auto; }
@media (max-width: 900px){ .community-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 560px){ .community-grid { grid-template-columns: repeat(2,1fr);} }
.community-grid a { display: block; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); text-align: center; text-decoration: none; color: var(--color-primary); font-weight: var(--font-semibold); font-size: var(--text-sm); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.community-grid a:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.guide-links { list-style: none; margin: 0; padding: 0; }
.guide-links li { margin: 0 0 var(--space-3); }
.guide-links a { font-weight: var(--font-semibold); }

/* 7. Build components */

/* ==========================================================================
   ELIK-WEB-001 build components.
   The package names these classes but never shipped their CSS (the homepage
   section CSS "from elik-homepage.md", the comparison-table CSS "from
   elik-home-vs-in-center-page.md", and the shared CTA, card and FAQ variants).
   Everything here uses the base stylesheet tokens only. No copy lives here.
   ========================================================================== */

:root {
  --radius: 10px;
  --radius-md: 6px;
  --font-medium: 500;
}

html { -webkit-text-size-adjust: 100%; }
:target, .anchor { scroll-margin-top: 130px; }
.anchor { display: block; position: relative; top: -10px; }

/* Content that animates in stays visible when JavaScript does not run. */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--color-primary); padding: .6rem 1rem; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 1rem; top: .5rem; }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }

/* Header and footer spacing: the phone label and number sit in an inline-flex link. */
.elik-topbar-link { gap: .35em; align-items: baseline; }
.elik-footer-hub { display: block; }
.nap-line a, .elik-footer-phone { white-space: nowrap; }

/* The wordmark never squeezes. */
.elik-brand { flex-shrink: 0; }
.elik-brand-name { white-space: nowrap; }

/* Header additions: language link and dropdown hover */
.elik-lang { font-weight: 600; }
.elik-nav-lang { display: none; }
@media (max-width: 1023px) { .elik-nav-lang { display: list-item; } }

/* Headings and section furniture */
.section-title { margin-bottom: var(--space-4); }
.section-intro { color: var(--color-text-muted); font-size: var(--text-lg); margin-left: auto; margin-right: auto; }
.section-header { margin-bottom: var(--space-10); }
.section-header--centered { text-align: center; max-width: 680px; margin: 0 auto var(--space-12); }
.divider-accent--center { display: block; margin-left: auto; margin-right: auto; }
.section-centered .divider-accent { margin-left: auto; margin-right: auto; }
.container--narrow { max-width: 760px; }
.container--content { margin-left: auto; margin-right: auto; }
.section-label--inverse, .section--sage .eyebrow, .bg-accent .section-label { color: rgba(255,255,255,.85); }
.section-label--teal { color: var(--color-accent); }
.section-title--inverse { color: #fff; }
.pull-quote { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.3; color: #fff; margin: 0; max-width: none; }
.pull-quote em { color: var(--color-gold); }
hr.divider-accent { border: 0; }

/* Buttons on dark or colored bands */
.btn-outline-inverse { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-inverse:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero .btn-outline, .hero--ncp .btn-outline, .hero--switch .btn-outline,
.section--dark .btn-outline, .section--sage .btn-outline, .bg-primary .btn-outline, .bg-accent .btn-outline {
  color: #fff; border-color: rgba(255,255,255,.55);
}
.hero .btn-outline:hover, .hero--ncp .btn-outline:hover, .hero--switch .btn-outline:hover,
.section--dark .btn-outline:hover, .section--sage .btn-outline:hover, .bg-accent .btn-outline:hover {
  color: #fff; border-color: #fff; background: rgba(255,255,255,.1);
}
.section--sage .btn-secondary, .bg-accent .btn-secondary { color: var(--color-primary); }
.bg-accent { background: var(--color-accent); color: #fff; }
.bg-accent h2, .bg-accent h3 { color: #fff; }
.section--dark h2, .section--dark h3, .section--sage h2 { color: #fff; }
.section--dark .eyebrow { color: var(--color-accent-light); }
.section--dark a:not(.btn), .section--sage a:not(.btn), .bg-accent a:not(.btn) { color: #fff; }
.cta-actions, .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-6) 0; }
.text-center .cta-actions, .text-center .cta-row, .section-centered .cta-actions { justify-content: center; }
.cta-subtext { color: rgba(255,255,255,.85); }

/* ---------- Homepage and hub hero ---------- */
.hero { background: var(--color-primary); color: #fff; padding: var(--space-20) 0 var(--space-16); position: relative; overflow: hidden; }
.hero__inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero__eyebrow { display: inline-block; font-size: var(--text-xs); font-weight: var(--font-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-accent-light); margin-bottom: var(--space-4); }
.hero .hero__h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; margin: 0 0 var(--space-6); }
.hero-accent-gold, .stat--gold { color: var(--color-gold); }
.hero-accent-gold { font-style: italic; }
.hero__subhead { font-size: var(--text-lg); color: rgba(255,255,255,.92); margin: 0 auto var(--space-4); max-width: 64ch; }
.hero__subhead strong { color: #fff; font-weight: 600; }
.hero__support { color: rgba(255,255,255,.8); margin: 0 auto var(--space-6); max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; align-items: center; margin-bottom: var(--space-4); }
.hero__call-link { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hero__reassure { color: rgba(255,255,255,.75); font-size: var(--text-sm); margin: var(--space-2) auto 0; max-width: 60ch; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-10); border-top: 1px solid rgba(255,255,255,.15); padding-top: var(--space-8); }
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.hero__stat-num { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; color: var(--color-gold); line-height: 1; }
.hero__stat-label { font-size: var(--text-sm); color: rgba(255,255,255,.8); line-height: 1.35; }
@media (max-width: 700px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } .hero { padding: var(--space-12) 0; } }
.hub-hero .hero__ctas { justify-content: flex-start; }
/* Avatar pages (loved-one, switcher) keep their hero left-aligned, as their page CSS lays it out. */
.hero--ncp .hero__inner, .hero--switch .hero__inner { text-align: left; }
.hero--ncp .hero__ctas, .hero--switch .hero__ctas { justify-content: flex-start; }
.hub-hero .hero__reassure { margin-left: 0; }
.hub-hero .hero__eyebrow { display: inline-block; }
.coverage-card .btn-secondary { justify-content: center; }
.coverage-card__msg { margin-top: var(--space-2); }

/* ---------- Steps ---------- */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); counter-reset: none; }
.step-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-4); }
.step-label, .step-card h3 { font-size: var(--text-xl); margin: 0 0 var(--space-2); }
.step-desc, .step-card p { color: var(--color-text-muted); margin: 0 0 var(--space-3); }
.step-link { display: block; color: var(--color-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-top: var(--space-2); }
.steps-footnote { text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); margin: var(--space-8) auto 0; }

/* ---------- 1:12 vs 1:1 ratio callout ---------- */
.ratio-callout { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-8); align-items: center; max-width: 860px; margin: 0 auto; text-align: center; }
.ratio-side .ratio-num { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 700; line-height: 1; margin-bottom: var(--space-3); }
.ratio-num--white { color: rgba(255,255,255,.55); }
.ratio-label { font-weight: 700; font-size: var(--text-lg); color: #fff; margin: 0 auto var(--space-2); }
.ratio-sub { color: rgba(255,255,255,.78); font-size: var(--text-sm); margin: 0 auto; }
.ratio-callout .ratio-cite { display: block; font-size: var(--text-xs); color: rgba(255,255,255,.6); margin-top: var(--space-1); font-style: italic; }
.ratio-divider__text { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8); font-weight: 600; }
@media (max-width: 640px) { .ratio-callout { grid-template-columns: 1fr; gap: var(--space-6); } }

.ratio-hero { background: var(--color-primary); color: #fff; padding: var(--space-16) var(--space-4); }
.ratio-hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.ratio-hero__stats { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-8); align-items: center; }
.ratio-hero__num { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 700; line-height: 1; color: rgba(255,255,255,.55); }
.ratio-hero__num--gold { color: var(--color-gold); }
.ratio-hero__label { font-weight: 700; font-size: var(--text-lg); margin: var(--space-3) 0 var(--space-2); }
.ratio-hero__sub { color: rgba(255,255,255,.78); font-size: var(--text-sm); margin: 0 auto; }
.ratio-hero__divider { color: rgba(255,255,255,.7); font-weight: 600; }
.ratio-hero__caption { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; margin: var(--space-10) auto 0; }
@media (max-width: 640px) { .ratio-hero__stats { grid-template-columns: 1fr; } }

/* ---------- Insurance cards ---------- */
.insurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
@media (max-width: 900px) { .insurance-grid { grid-template-columns: 1fr; } }
.ins-card { background: var(--color-bg); border: 1px solid var(--color-border); border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); padding: var(--space-6); }
.ins-card h4 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); margin: 0 0 var(--space-3); }
.ins-card p { color: var(--color-text-muted); font-size: var(--text-base); }
.ins-link { font-weight: 600; color: var(--color-accent); text-decoration: none; }
.ins-link:hover { text-decoration: underline; }
.medicare-note { max-width: 860px; margin: var(--space-10) auto 0; background: var(--color-gold-light); border-left: 4px solid var(--color-gold); border-radius: var(--radius-md); padding: var(--space-6); }
.medicare-note p { margin: 0; max-width: none; }
.medicare-note-link { color: var(--color-primary); }

/* ---------- Testimonials (held back until real quotes exist) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.testi-stars { color: var(--color-gold); letter-spacing: 2px; }
.testi-author { font-weight: 700; color: var(--color-primary); }
.testi-city { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Stat strip ---------- */
.stat, .stat-strip .stat { text-align: center; padding: var(--space-4) 0; }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 700; color: #fff; line-height: 1.05; }
.stat-strip .grid-4 > .stat:first-child .stat-num { color: var(--color-gold); }
.stat-label { color: rgba(255,255,255,.78); font-size: var(--text-sm); margin-top: var(--space-2); line-height: 1.4; }

/* ---------- Situation router ---------- */
.router-tile { transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.router-tile:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); }

/* ---------- Comparison tables ---------- */
.cmp-section { padding: var(--space-20) 0; background: var(--color-surface); }
.cmp-container { max-width: 1000px; margin: 0 auto; padding: 0 var(--space-4); }
.cmp-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-10); }
.cmp-eyebrow { display: inline-block; font-size: var(--text-xs); font-weight: var(--font-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.cmp-title em { color: var(--color-accent); }
.cmp-intro { color: var(--color-text-muted); margin: 0 auto; }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--color-bg); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--text-base); }
.cmp-table th, .cmp-table td { padding: var(--space-4); border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--color-primary); color: #fff; font-weight: 700; }
.cmp-table thead .cmp-th-us { background: var(--color-accent); }
.cmp-th-us-sub { display: block; font-weight: 400; font-size: var(--text-xs); opacity: .85; }
.cmp-table tbody th { color: var(--color-primary); font-weight: 600; width: 28%; }
.cmp-cell-us { background: var(--color-accent-light); color: var(--color-text); font-weight: 600; }
.cmp-scroll-hint { display: none; text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }
@media (max-width: 700px) { .cmp-scroll-hint { display: block; } }

/* The how-it-works "who does what" table (brief section 3): full width, readable borders, first column left. */
.who-does-what-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-10); font-size: var(--text-base); background: var(--color-bg); }
.who-does-what-table th, .who-does-what-table td { border: 1px solid var(--color-border); padding: var(--space-3) var(--space-4); vertical-align: top; }
.who-does-what-table th { background: var(--color-primary); color: #fff; text-align: left; }
.who-does-what-table td:first-child, .who-does-what-table th:first-child { text-align: left; }
.who-does-what-table td:last-child { white-space: nowrap; color: var(--color-text-muted); }

/* ---------- FAQ variants ---------- */
.faq-list .faq-q { font-weight: var(--font-semibold); color: var(--color-primary); font-size: var(--text-lg); padding: var(--space-5) 0 var(--space-2); }
.faq-list .faq-a { color: var(--color-text-muted); padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-border); }
.faq-section { padding: var(--space-20) 0; background: var(--color-surface); }
.faq-grid { display: flex; flex-direction: column; }
details.faq-item { border-bottom: 1px solid var(--color-border); }
details.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; font-weight: var(--font-semibold); color: var(--color-primary); font-size: var(--text-lg); list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item__chevron { width: 20px; height: 20px; flex: 0 0 auto; color: var(--color-accent); transition: transform var(--transition-base); }
details.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__body p { color: var(--color-text-muted); margin: 0 0 var(--space-5); }
.faq-btn { color: var(--color-primary); }
.faq-inner a { color: var(--color-accent); }

/* ---------- Cards ---------- */
.card--primary { background: var(--color-primary); color: #fff; border: 0; }
.card--primary h3 { color: #fff; }
.card--surface { background: var(--color-surface); }

/* ---------- CTA bands ---------- */
.cta-section { padding: var(--space-20) 0; }
.cta-section__inner { text-align: center; }
.cta-section__heading { color: #fff; margin-bottom: var(--space-4); }
.cta-section__lede { color: rgba(255,255,255,.9); margin: 0 auto var(--space-6); max-width: 60ch; }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-4); }
.cta-section__subtext { color: rgba(255,255,255,.8); font-size: var(--text-sm); margin: 0 auto; }

/* ---------- Markdown-built pages ---------- */
.page-hero .lead { color: var(--color-text); }
.page-hero .cta-row { margin-bottom: 0; }
.page-hero p + p { margin-top: var(--space-2); }
.section h2 + p { margin-top: 0; }
.md-final-cta { padding: var(--space-16) 0; }
.md-final-cta p { color: rgba(255,255,255,.92); margin-left: auto; margin-right: auto; }
.md-final-cta strong { color: #fff; }
.md-final-cta em { color: rgba(255,255,255,.75); }
.section-trust { padding: var(--space-10) 0; }
.section-trust p { margin: 0 auto; color: var(--color-text-muted); }
.md-locations { background: var(--color-surface); padding: var(--space-12) 0; }
.location-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); max-width: 560px; margin: 0 auto; }
.location-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
@media (max-width: 760px) { .location-grid--2 { grid-template-columns: 1fr; } }
.location-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.map-embed { display: block; width: 100%; height: 240px; border: 0; background: var(--color-border); }
.nap-line { font-style: normal; padding: var(--space-4); line-height: 1.5; }
section .map-embed { border-radius: var(--radius-md); margin-top: var(--space-3); }
.location-card .map-embed { border-radius: 0; margin-top: 0; }

/* Breadcrumb on blog posts */
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.elik-form-wrap { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); max-width: 560px; margin: var(--space-6) 0; box-shadow: var(--shadow-sm); }
.page-hero .elik-form-wrap { margin-top: var(--space-6); }
.elik-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: flex; flex-direction: column; gap: var(--space-1); }
.form-row label { font-weight: var(--font-semibold); color: var(--color-primary); }
.form-hint { font-weight: 400; color: var(--color-text-muted); font-size: var(--text-sm); }
.form-row input, .form-row select { font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #b8c2cc; border-radius: var(--radius-md); background: #fff; color: var(--color-text); width: 100%; }
.form-row input:focus, .form-row select:focus { border-color: var(--color-accent); }
.elik-form .btn { align-self: flex-start; }
.form-error { color: #9b1c1c; background: #fdecec; border-radius: var(--radius-md); padding: var(--space-3); margin: 0; max-width: none; }
.form-success { font-size: var(--text-lg); color: var(--color-primary); font-weight: 600; }
.form-success p { margin: 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog index ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); }
.post-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--color-bg); }
.post-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.post-card h2 a { color: var(--color-primary); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { color: var(--color-text-muted); margin: 0; }

/* ---------- 404 ---------- */
.notfound-links { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.notfound-links a { font-weight: 600; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .section { padding: var(--space-12) 0; }
  .section--dark, .section--sage, .section--ivory { padding: var(--space-12) 0; }
  .page-hero { padding: var(--space-10) 0 var(--space-8); }
  .btn-lg { padding: .8rem 1.2rem; font-size: 1rem; }
  .hero__ctas .btn, .cta-row .btn { width: 100%; }
}

/* Contact page hours line (C14): its own short band below both office sections. */
.section--tight { padding: var(--space-6) 0; }
.contact-hours-band p { margin: 0; font-weight: 600; color: var(--color-primary); }

/* ---------- Mobile call bar (C15, Stage 2 decisions) ----------
   The label and number never wrap and the number never breaks. The font steps down a little
   on narrow phones, and the phone icon drops out below 420px to make room. */
@media (max-width: 1023px) {
  .elik-mobile-call, .elik-mobile-coverage { padding: .6rem .35rem; }
  .elik-mobile-call span, .elik-mobile-coverage { white-space: nowrap; }
  .elik-mobile-call { font-size: clamp(.8rem, 3.9vw, .95rem); letter-spacing: -.005em; }
  .elik-mobile-coverage { font-size: clamp(.8rem, 3.9vw, .95rem); }
}
@media (max-width: 419px) {
  .elik-mobile-call svg { display: none; }
}

/* ---------- Stage 2 photos ---------- */
/* Homepage hero banner: the only photo with text over it. The headline sits on the plain
   wall: left side on wider screens, the top band on phones. A soft light wash behind the
   words keeps navy text at strong contrast. */
.hero-banner { position: relative; overflow: hidden; background: #efe3cf; }
.hero-banner__img, .hero-banner__img img { display: block; width: 100%; }
.hero-banner__img img { height: min(56.25vw, 82vh); min-height: 380px; object-fit: cover; object-position: 72% 40%; }
.hero-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(250,246,238,.9) 0%, rgba(250,246,238,.72) 28%, rgba(250,246,238,0) 46%); }
.hero-banner__inner { position: absolute; inset: 0; display: flex; align-items: center; z-index: 1; }
/* The text column is measured against the photo, not the page container, so it always ends
   before the armchair, which starts about 30% across the photo. */
.hero-banner__inner.container { max-width: none; margin: 0; padding: 0 0 0 4vw; }
.hero-banner__text { max-width: 25vw; }
.hero-banner .hero__eyebrow { color: var(--elik-accent-dark); }
.hero-banner .hero__h1 { color: var(--color-primary); font-size: clamp(1.45rem, 2.9vw, 3rem); line-height: 1.12; margin: 0; text-align: left; }
.hero-banner .hero-accent-gold { color: var(--elik-accent-dark); }
.hero--after-banner { padding-top: var(--space-12); }
.page-hero--after-banner { padding-top: var(--space-10); }
@media (max-width: 1100px) { .hero-banner__text { max-width: 24vw; } .hero-banner .hero__eyebrow { font-size: .68rem; } }
@media (max-width: 640px) {
  .hero-banner__img img { height: auto; min-height: 0; object-fit: fill; }
  .hero-banner::after { background: linear-gradient(180deg, rgba(250,246,238,.9) 0%, rgba(250,246,238,.7) 20%, rgba(250,246,238,0) 34%); }
  .hero-banner__inner, .hero-banner__inner.container { align-items: flex-start; padding: var(--space-5) var(--space-4) 0; }
  .hero-banner__text { max-width: 100%; }
  .hero-banner .hero__h1 { font-size: 1.7rem; }
}

/* In-content photos: never a background; full width of the text column, no cropping on phones. */
.page-photo { padding: var(--space-4) 0 var(--space-12); }
.page-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
