/* ==========================================================================
   Boss Mode Financial — Design System v2
   Same foundation as style.css (cream dominant, green+gold accent), extended
   with: a runtime color-theme switch (for side-by-side comparison), an icon
   system, an interactive hero calculator, a GEO quick-answer block, a
   dedicated stat-strip section, a real lead-capture form, and a mobile
   footer accordion. This file is independent of style.css on purpose — the
   original demo pages must keep rendering exactly as they do today.
   ========================================================================== */

:root {
  /* v9: color decision made — Navy & Orange, matching the sibling mortgage
     brand's actual values exactly, including its cool near-white surface
     (not a tinted cream). No toggle, no alternate themes; this is final. */
  --cream:        #F7F8FC;
  --cream-2:      #EEF0F9;
  --white:        #FFFFFF;
  --line:         #E3E5F1;

  --deep:         #2E3092;
  --deep-2:       #1B1D5C;
  --gold:         #F15A24;
  --gold-deep:    #D8430E;
  --gold-mist:    rgba(241,90,36,0.12);
  --accent-2:      #E8A33D;
  --accent-2-mist: rgba(232,163,61,0.14);

  --navy-ink:     #1A1B3A;
  --on-deep:      #F7F8FC;
  --on-deep-dim:  rgba(247,248,252,0.72);

  --font-serif: 'Cormorant Garamond', Georgia, serif; /* unused in v4, kept for reference */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  --text-xl:   clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem);
  --text-2xl:  clamp(1.6rem, 1.4rem + 1vw, 2rem);
  --text-3xl:  clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --text-4xl:  clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
  --text-5xl:  clamp(2.5rem, 2rem + 3vw, 3.75rem); /* tightened in v6 so hero fits closer to one viewport */

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;  --sp-11: 11rem;

  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 24px; --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(18,37,27,0.06);
  --shadow-md: 0 8px 24px rgba(18,37,27,0.08);
  --shadow-lg: 0 20px 48px rgba(18,37,27,0.12);

  --container: 1360px;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 var(--sp-4); color: var(--deep); }
p { margin: 0 0 var(--sp-4); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-4); position: relative; }
section { padding: 5rem 0; position: relative; overflow: clip; }
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-3); }
  section { padding: 3rem 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
  html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
}

.motif { position: absolute; pointer-events: none; z-index: 0; opacity: 0.5; }
.motif svg { display: block; width: 100%; height: 100%; }
.motif-gold { color: var(--gold); }
.motif-on-deep { color: rgba(247,243,233,0.35); }
.motif-hero { top: -6%; right: -8%; width: 620px; height: 320px; opacity: 0.28; }
.motif-quote { top: 50%; left: 50%; width: 900px; height: 460px; transform: translate(-50%,-50%); opacity: 0.06; }
.motif-band { top: -14%; right: -7%; width: 520px; height: 280px; opacity: 0.14; }
@media (max-width: 900px) { .motif-hero { width: 380px; height: 200px; right: -12%; top: -3%; } .motif-band { width: 320px; height: 180px; } }

.eyebrow {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow-on-deep { color: var(--gold); }
.eyebrow-on-deep::before { background: var(--gold); }

h1 { font-size: var(--text-5xl); font-weight: 900; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-family: var(--font-display); font-weight: 700; }
.lede { font-size: var(--text-lg); color: rgba(23,37,30,0.72); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.9em 1.6em; border-radius: var(--radius-pill);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.02em; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--deep); color: var(--on-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--deep-2); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: var(--on-deep); }
.btn-ghost-on-deep { background: transparent; border-color: rgba(247,243,233,0.4); color: var(--on-deep); }
.btn-ghost-on-deep:hover { background: rgba(247,243,233,0.12); border-color: var(--on-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.85rem; }

/* Skip link: hidden until keyboard focus, then jumps past the sticky header + nav.
   (IDF has none to port; this is the standard pattern, playbook 7b.) */
.skip-link {
  position: absolute; left: var(--sp-4); top: -120px; z-index: 400;
  background: var(--deep); color: #fff; font-weight: 700;
  padding: var(--sp-3) var(--sp-5); border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); outline: 3px solid var(--gold); outline-offset: 2px; }
main { scroll-margin-top: 140px; }
main:focus { outline: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
/* Wider than the shared .container's cap on purpose — matches the mortgage
   site's dedicated nav-container, which needs the extra room its nav items
   take up. Body content elsewhere still uses the narrower .container. */
.site-header .container { max-width: 1800px; display: flex; align-items: center; justify-content: space-between; padding-block: 1.35rem; transition: padding-block .25s ease; }
.site-header.scrolled .container { padding-block: 0.75rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 72px; width: auto; transition: height .25s ease; }
.site-header.scrolled .brand img { height: 52px; }
/* At full 72px height the logo is too wide to fit alongside the CTA +
   hamburger on a phone-width screen — shrink it on narrow viewports
   regardless of scroll state, matching the mortgage build's own fix. */
@media (max-width: 480px) { .brand img { height: 46px; } }
/* Hamburger-first nav, matching the mortgage site's actual behavior — the
   mega-dropdown nav is hidden well before typical laptop widths, not just at
   phone widths. This is deliberate, not a fallback. */
.nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links > .nav-item { position: relative; }
.nav-links a { font-size: var(--text-sm); font-weight: 600; color: var(--navy-ink); padding: var(--sp-2) 0; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 0.35em; }
.nav-links > .nav-item > a:hover, .nav-links a[aria-current="page"] { border-color: var(--gold); }
.nav-links a i { font-size: 0.65em; opacity: 0.6; }
.header-actions { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.mobile-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: var(--gold-mist); border: none; border-radius: var(--radius-sm); color: var(--deep); font-size: 1.1rem; cursor: pointer; }
/* nav-links and mobile-toggle collapse together at the same breakpoint as
   .mobile-menu's own override further down — all three must share one
   breakpoint value, and each override must come AFTER its own unconditional
   base rule in source order (equal specificity means later wins regardless
   of the media query, so an override placed before its base rule silently
   loses). This tripped us once already: the .mobile-menu override used to
   live here, before its base rule below, so the panel was stuck permanently
   display:none no matter the viewport width. */
@media (max-width: 1800px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* Review badge — appears in header and footer, not just the reviews section */
.review-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.45em 0.85em;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 0.82rem; color: var(--navy-ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.review-badge:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.review-badge i.fa-brands { color: #4285F4; font-size: 1rem; }
.review-stars { display: inline-flex; gap: 0.12rem; color: #F5A623; font-size: 0.9rem; }
.review-stars .fa-regular { color: var(--line); }
.review-badge-text { white-space: nowrap; font-weight: 600; }

/* Phone CTA — direct-call link in header-actions, reinforces "advisor-direct,
   no call centre" without adding another sales-y button. */
.phone-cta { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--text-sm); font-weight: 700; color: var(--deep); white-space: nowrap; }
.phone-cta i { color: var(--gold-deep); }
.phone-cta:hover { color: var(--gold-deep); }
/* Must come AFTER the base .review-badge / .phone-cta rules above — same
   equal-specificity trap as the .mobile-menu note above. This one was
   already broken before this round: the number and CTA never actually hid
   on phones, which is what pushed the hamburger off-screen. */
@media (max-width: 768px) { .header-actions .review-badge, .phone-cta { display: none; } }

/* ==========================================================================
   Mobile menu — full slide-in panel with single-open accordion groups
   ========================================================================== */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--cream); z-index: 300;
  padding: var(--sp-5) var(--sp-5) var(--sp-7); overflow-y: auto; transform: translateX(100%); transition: transform .3s ease;
}
@media (max-width: 1800px) { .mobile-menu { display: block; } }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-6); }
.mobile-menu-header img { height: 44px; }
.mobile-menu-close { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: var(--cream-2); border: none; border-radius: var(--radius-sm); font-size: 1.1rem; color: var(--deep); cursor: pointer; }
.mobile-nav-link { display: block; padding: var(--sp-4) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--deep); border-bottom: 1px solid var(--line); }
.mobile-nav-group { margin-bottom: var(--sp-2); border-bottom: 1px solid var(--line); }
.mobile-nav-group-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--sp-4) 0;
  background: none; border: none; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--deep); text-align: left; cursor: pointer;
}
.mobile-nav-group-trigger i { font-size: 0.85rem; color: rgba(23,37,30,0.5); transition: transform .2s ease; }
.mobile-nav-group.active .mobile-nav-group-trigger i { transform: rotate(180deg); }
.mobile-nav-group-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.16,.8,.3,1); }
.mobile-nav-group.active .mobile-nav-group-panel { grid-template-rows: 1fr; }
.mobile-nav-group-inner { overflow: hidden; min-height: 0; }
.mobile-sub-link { display: block; padding: var(--sp-3) 0 var(--sp-3) var(--sp-4); font-size: 0.9rem; color: rgba(23,37,30,0.7); }
.mobile-menu-cta { margin-top: var(--sp-6); }

/* Dropdown — hover-revealed, matches the mortgage site's nav pattern */
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: var(--sp-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-3); min-width: 280px; display: flex; flex-direction: column; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
/* Last couple of nav items sit close to the right edge — right-align their
   dropdowns instead of left-aligning, so the panel doesn't spill past the
   viewport on narrower desktop widths. */
.nav-links > .nav-item:nth-last-child(-n+2) .dropdown-menu { left: auto; right: 0; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 0.55em 0.75em; border-radius: var(--radius-sm); border-bottom: none; font-weight: 500; }
.dropdown-menu a:hover { background: var(--cream-2); border-color: transparent; }

/* ==========================================================================
   Roadmap / process steps — numbered circles + dashed connector, for
   genuinely sequential content only (never for parallel/conceptual content)
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); margin-top: var(--sp-6); }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: var(--sp-2); }
.process-num {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--gold-deep); margin-bottom: var(--sp-4); position: relative; z-index: 2;
  transition: transform .3s cubic-bezier(.16,.8,.3,1);
}
.process-step:hover .process-num { transform: scale(1.1); }
.process-step h3 { font-size: var(--text-lg); margin-bottom: var(--sp-2); }
.process-step p { font-size: var(--text-sm); color: rgba(23,37,30,0.7); margin-bottom: 0; }
@media (min-width: 981px) {
  .process-step:not(:last-child)::after {
    content: ''; position: absolute; top: 26px; left: calc(50% + 24px); width: calc(100% - 48px); height: 2px;
    background-image: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
    opacity: 0.6; z-index: 1;
  }
}

/* ==========================================================================
   Icon badges — the "vectors" the mortgage site uses throughout
   ========================================================================== */
.icon-badge {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-mist); color: var(--gold-deep); font-size: 1.05rem; flex-shrink: 0;
  transition: transform .3s cubic-bezier(.16,.8,.3,1);
}
.card:hover .icon-badge { transform: scale(1.1); }
.icon-badge-deep { background: rgba(247,243,233,0.12); color: var(--gold); }
.icon-badge-lg { width: 56px; height: 56px; font-size: 1.3rem; border-radius: var(--radius-lg); }

/* ==========================================================================
   Hero — now supports a deep-background variant with an interactive card
   ========================================================================== */
.hero { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
.breadcrumb { font-size: var(--text-xs); color: var(--on-deep-dim); display: flex; gap: 0.4em; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.breadcrumb a { color: var(--on-deep-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .5; }
/* Mortgage's exact hero treatment — two radial glows over the solid navy
   instead of a flat fill (orange top-left, light-navy bottom-right). The
   base fill itself was wrong up to this point: mortgage's hero uses its
   DARKER navy (--navy-deep, #1B1D5C) underneath the gradient, not the
   lighter --navy (#2E3092) — this was using the equivalent of the latter
   (--deep) instead of the former (--deep-2). The gradient stops themselves
   already matched exactly; only this base color was off. */
.hero-deep {
  background: var(--deep-2); color: var(--on-deep);
  background-image: radial-gradient(circle at 15% 20%, rgba(241,90,36,0.12) 0%, transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(69,71,176,0.35) 0%, transparent 50%);
}
.hero-deep h1 { color: var(--on-deep); }
.hero-deep .lede { color: var(--on-deep-dim); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); align-items: center; }
/* Grid items default to min-width:auto, so any child with an intrinsically
   wide box (long unwrapped text, width:max-content, etc.) can force its
   whole track to grow past the fr sizing instead of being clipped/wrapped
   inside it. Override for every direct child, not just the ones we've hit. */
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: var(--sp-6); letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: var(--text-xl); }
/* v10: exact mortgage values — plain white text on a barely-there glass
   pill, not colored text. */
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.5em 1em; border-radius: var(--radius-pill); margin-bottom: var(--sp-5);
}
.hero-metrics { display: flex; gap: var(--sp-7); margin-top: var(--sp-7); flex-wrap: wrap; }
.hero-metric .num { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--gold); }
.hero-metric .lbl { font-size: var(--text-xs); color: var(--on-deep-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

/* Hero CTA card — replaces a per-page calculator. The one real interactive
   tool (the full audit) lives on the homepage only; every service page
   points back to it instead of running its own copy. */
.hero-cta-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-lg); color: var(--navy-ink); text-align: center; }
.hero-cta-card .icon-badge { margin: 0 auto var(--sp-5); }
.hero-cta-card h3 { font-size: var(--text-2xl); margin-bottom: var(--sp-3); }
.hero-cta-card p { font-size: var(--text-sm); color: rgba(23,37,30,0.65); margin-bottom: var(--sp-6); }
.hero-cta-card .hcc-stat { display: flex; justify-content: center; gap: var(--sp-7); margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.hero-cta-card .hcc-stat div { text-align: center; }
.hero-cta-card .hcc-stat .num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--deep); }
.hero-cta-card .hcc-stat .lbl { font-size: var(--text-xs); color: rgba(23,37,30,0.55); text-transform: uppercase; letter-spacing: 0.04em; }

/* Interactive calculator card (kept for the homepage; unused on service pages in v4) */
/* min-width:0 overrides the grid item's default min-width:auto — without it,
   the carrier ticker's width:max-content (24 unwrapped carrier names) forces
   this whole column to balloon to the ticker's full intrinsic width instead
   of respecting the grid's 0.9fr track sizing. */
.calc-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-lg); color: var(--navy-ink); min-width: 0; }
.calc-title { display: flex; align-items: center; gap: var(--sp-3); font-family: var(--font-display); font-size: var(--text-xl); color: var(--deep); margin-bottom: var(--sp-1); }
.calc-subtitle { font-size: var(--text-sm); color: rgba(23,37,30,0.6); margin-bottom: var(--sp-6); }
.form-group { margin-bottom: var(--sp-5); }
.form-label { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--sp-2); }
.form-label .form-val { font-family: var(--font-display); font-size: var(--text-lg); color: var(--gold-deep); font-weight: 700; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.7em 0.9em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: var(--text-sm); background: var(--cream); color: var(--navy-ink);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--line); border-radius: 2px; margin-top: var(--sp-3); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 18px; width: 18px; border-radius: 50%; background: var(--deep); border: 2px solid var(--gold); cursor: pointer; margin-top: -7px; }
input[type=range]::-moz-range-thumb { height: 18px; width: 18px; border-radius: 50%; background: var(--deep); border: 2px solid var(--gold); cursor: pointer; }
input[type=range]::-moz-range-track { height: 4px; background: var(--line); border-radius: 2px; }
.calc-result {
  background: var(--deep); color: var(--on-deep); border-radius: var(--radius-md); padding: var(--sp-5); margin: var(--sp-5) 0;
}
.calc-result .cr-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; }
.calc-result .cr-val { font-family: var(--font-display); font-size: var(--text-3xl); margin: 0.15em 0; }
.calc-result .cr-sub { font-size: var(--text-sm); color: var(--on-deep-dim); }
.calc-note { font-size: var(--text-xs); color: rgba(23,37,30,0.5); text-align: center; margin-top: var(--sp-3); }

/* ==========================================================================
   GEO quick-answer box
   ========================================================================== */
.geo-box {
  display: flex; gap: var(--sp-5); background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm);
}
.geo-box h4, .geo-box .geo-box-title { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-deep); margin-bottom: var(--sp-3); }
.geo-box p { font-size: var(--text-sm); color: rgba(23,37,30,0.8); margin-bottom: var(--sp-3); }
.geo-box ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.geo-box li { font-size: var(--text-sm); padding-left: var(--sp-6); position: relative; }
.geo-box li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
@media (max-width: 600px) { .geo-box { flex-direction: column; } }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-2); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: var(--sp-7); padding-block: var(--sp-5); }
.trust-item { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--text-sm); font-weight: 600; color: var(--navy-ink); }
.trust-item .num { font-family: var(--font-display); font-size: var(--text-xl); color: var(--gold-deep); }
.trust-item > i { color: var(--gold-deep); font-size: 1.1em; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.section-alt { background: var(--cream-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.16,.8,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(184,137,75,0.35); }
.card .icon-badge { margin-bottom: var(--sp-4); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: rgba(23,37,30,0.72); margin-bottom: 0; font-size: var(--text-sm); }
.card .tag {
  display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em;
  color: var(--accent-2); background: var(--accent-2-mist); padding: 0.3em 0.8em; border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4); text-transform: uppercase;
}
.card-link { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-sm); font-weight: 700; color: var(--deep); margin-top: var(--sp-4); }
.card-link i { font-size: 0.75em; }

.coverage-card { position: relative; padding: var(--sp-5) !important; }
.coverage-card.featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.coverage-card .icon-badge { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: var(--sp-3); }
.coverage-card h3 { font-size: var(--text-lg); }
.coverage-card p { font-size: var(--text-sm); }
.coverage-card .price { font-family: var(--font-display); font-size: var(--text-xl); color: var(--deep); margin: var(--sp-2) 0; }
.coverage-card .price span { font-size: var(--text-xs); font-family: var(--font-sans); font-weight: 600; color: rgba(23,37,30,0.55); }
.coverage-card ul { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 0.35rem; }
.coverage-card li { font-size: var(--text-xs); padding-left: var(--sp-4); position: relative; }
.coverage-card li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ==========================================================================
   Eligibility list — general, research-grounded criteria, always hedged
   ========================================================================== */
.eligibility-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-7); margin-top: var(--sp-6); }
@media (max-width: 700px) { .eligibility-list { grid-template-columns: 1fr; } }
.eligibility-item { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--text-sm); }
.eligibility-item i { color: var(--gold-deep); margin-top: 3px; flex-shrink: 0; }
.eligibility-note { font-size: var(--text-xs); color: rgba(23,37,30,0.5); margin-top: var(--sp-5); }

/* ==========================================================================
   Related solutions — pill links to adjacent pages
   ========================================================================== */
.related-pills { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.related-pill {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.6em 1.1em; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--white); font-size: var(--text-sm); font-weight: 600; color: var(--deep);
  transition: border-color .2s ease, background .2s ease;
}
.related-pill:hover { border-color: var(--gold); background: var(--gold-mist); }
.related-pill i { font-size: 0.75em; color: var(--gold-deep); }

/* ==========================================================================
   Editorial list
   ========================================================================== */
.editorial-list { margin-top: var(--sp-8); }
.editorial-row { display: grid; grid-template-columns: 60px 1fr; gap: var(--sp-6); padding: var(--sp-7) 0; border-top: 1px solid var(--line); align-items: start; }
.editorial-row:last-child { border-bottom: 1px solid var(--line); }
.editorial-row .icon-badge { margin-top: 4px; }
.editorial-row h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); margin-bottom: var(--sp-3); }
.editorial-row p { color: rgba(23,37,30,0.68); max-width: 56ch; margin-bottom: 0; }
@media (max-width: 640px) { .editorial-row { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ==========================================================================
   Pull-quote
   ========================================================================== */
.pull-quote { text-align: center; padding-block: var(--sp-10); }
.pull-quote blockquote {
  font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.35; color: var(--deep); max-width: 20ch; margin: 0 auto var(--sp-6); position: relative; z-index: 1;
}
.pull-quote cite { font-style: normal; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }

/* ==========================================================================
   Accent band + stat strip (full-section version, big numbers)
   ========================================================================== */
.accent-band { background: var(--deep-2); color: var(--on-deep); border-top: 1px solid rgba(184,137,75,0.18); }
.accent-band h2, .accent-band h3 { color: var(--on-deep); }
.accent-band .lede { color: var(--on-deep-dim); }
.accent-band .eyebrow { color: var(--gold); }
.accent-band .eyebrow::before { background: var(--gold); }

/* v9: the stat strip right after the hero is now LIGHT, not a darker shade
   of navy — mortgage never stacks two dark sections back to back (the
   stat tiles under its hero sit on a plain light background), so a second
   dark tone here was always the wrong fix, just a less-wrong one. */
.stat-band-light { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band-light .stat-strip-item { border-left-color: var(--line); }
.stat-band-light .stat-strip-item .lbl { color: rgba(26,27,58,0.6); }
.stat-band-light .stat-source { color: rgba(26,27,58,0.55); }

/* 3 columns, matching the actual stat count everywhere it's used — was
   hardcoded to 4, leaving an empty, asymmetric 4th column. */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
@media (max-width: 780px) { .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-5); } }
.stat-strip-item { border-left: 1px solid rgba(247,243,233,0.18); padding: 0 var(--sp-5); }
/* Small circle echoing the roadmap's numbered nodes — ties the two deep-green
   moments together visually without turning this into another filled box. */
.stat-strip-item .badge {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-4);
  color: var(--gold); font-size: 0.85rem;
}
.stat-strip-item:first-child { border-left: none; }
@media (max-width: 780px) {
  .stat-strip-item:nth-child(odd) { border-left: none; }
  .stat-strip-item:nth-child(even) { border-left: 1px solid rgba(247,243,233,0.18); }
}
.stat-strip-item .val { font-family: var(--font-display); font-size: var(--text-4xl); color: var(--gold); line-height: 1; }
.stat-strip-item .lbl { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-deep-dim); margin-top: var(--sp-3); }

/* Column count is set via a modifier class (.stat-row-3 / .stat-row-4), not
   an inline style — an inline style always wins over this file's own
   mobile breakpoint below regardless of viewport width, which is exactly
   what caused the 4-tile "cost by age" row to overflow on phones instead
   of wrapping to 2 columns. */
.stat-row { display: grid; margin-top: var(--sp-6); }
.stat-row-3 { grid-template-columns: repeat(3, 1fr); }
.stat-row-4 { grid-template-columns: repeat(4, 1fr); }
.stat-tile { text-align: left; border-left: 1px solid rgba(247,243,233,0.18); padding-left: var(--sp-6); }
.stat-tile:first-child { border-left: none; padding-left: 0; }
/* Once wrapped to 2 columns, whichever tile lands in the left column needs
   to lose its border/indent too, not just the very first tile overall —
   same odd/even pattern as .stat-strip-item above. Without this, the first
   tile of the second row (e.g. "age 50") kept its left border and padding
   left over from the single-row layout, so row 2 sat visibly shifted right
   of row 1 instead of lining up under it. */
@media (max-width: 780px) {
  .stat-row-3, .stat-row-4 { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-5); }
  .stat-row-3 .stat-tile:nth-child(odd), .stat-row-4 .stat-tile:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat-row-3 .stat-tile:nth-child(even), .stat-row-4 .stat-tile:nth-child(even) { border-left: 1px solid rgba(247,243,233,0.18); padding-left: var(--sp-6); }
}
.stat-tile .val { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--gold); display: inline-block; position: relative; padding-bottom: var(--sp-3); }
.stat-tile .val::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--gold); }
.stat-tile .lbl { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-deep-dim); margin-top: var(--sp-3); max-width: 20ch; }
.stat-source { font-size: var(--text-xs); color: var(--on-deep-dim); margin-top: var(--sp-6); }
.stat-source a { color: var(--gold); border-bottom: 1px solid rgba(184,137,75,0.4); }

/* ==========================================================================
   Cross-sell
   ========================================================================== */
.cross-sell {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  background: var(--gold-mist); border: 1px solid rgba(184,137,75,0.25); border-radius: var(--radius-lg); padding: var(--sp-6);
}
.cross-sell p { flex: 1 1 280px; min-width: 0; margin: 0; font-size: var(--text-sm); color: rgba(23,37,30,0.8); }
.cross-sell strong { color: var(--deep); }
.cross-sell .btn { flex-shrink: 0; }

/* ==========================================================================
   Advisor card
   ========================================================================== */
.advisor-card { display: flex; align-items: center; gap: var(--sp-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.advisor-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.advisor-card .name { font-family: var(--font-display); font-size: var(--text-xl); color: var(--deep); }
.advisor-card .role { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; color: var(--gold-deep); text-transform: uppercase; margin: var(--sp-1) 0; }
.advisor-card .meta { font-size: var(--text-sm); color: rgba(23,37,30,0.65); }
@media (max-width: 560px) { .advisor-card { flex-direction: column; text-align: center; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); padding: var(--sp-5) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: var(--text-lg); color: var(--deep); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--gold); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  margin-top: var(--sp-4); color: rgba(23,37,30,0.75);
  opacity: 0; transform: translateY(-4px); transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.faq-item[open] p { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Lead form
   ========================================================================== */
.lead-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-md); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--deep); color: var(--on-deep); text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; color: var(--on-deep); }
.cta-band .lede { color: var(--on-deep-dim); }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
/* Once every column stacks into one, the 2rem inter-column gap meant for a
   multi-column row reads as a large dead gap between each accordion section
   — tighten it here and let each summary's own border-bottom (set below,
   inside the 780px breakpoint) do the visual separation instead. Bottom
   padding is also reduced here: at desktop width it clears the tallest
   column (Protection, 11 links); stacked on mobile, "Company" (the last,
   shortest column) is what it's clearing instead, so the same value reads
   as a big dead gap before the compliance text. */
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 0.5rem; padding-bottom: 1rem; } }
.footer-grid img { height: 52px; margin-bottom: var(--sp-4); }
.footer-grid p { font-size: 0.9rem; color: rgba(23,37,30,0.65); max-width: 280px; line-height: 1.6; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); color: var(--navy-ink); font-size: 0.9rem; transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-col h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); margin-bottom: var(--sp-4); }
.footer-col a { display: block; font-size: var(--text-sm); color: var(--navy-ink); padding: var(--sp-2) 0; }
.footer-col a:hover { color: var(--gold-deep); }
/* Links are direct children of <details>, not wrapped in .footer-col —
   without this they default to inline and run together as flowing text. */
.footer-accordion > a { display: block; font-size: 0.88rem; color: var(--navy-ink); padding: 0.33em 0; }
.footer-accordion > a:hover { color: var(--gold-deep); }
.footer-accordion h4 { font-size: 0.92rem; margin: 0 0 var(--sp-4); }
.footer-accordion summary { cursor: default; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.footer-accordion summary::-webkit-details-marker { display: none; }
.footer-accordion .accordion-icon { display: none; font-size: 0.75em; color: var(--gold-deep); }
@media (max-width: 780px) {
  .footer-accordion summary { cursor: pointer; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
  .footer-accordion .accordion-icon { display: inline-block; }
  .footer-accordion h4 { margin-bottom: 0; }
}
/* Once the columns stack into one, the last accordion's own bottom border
   lands directly above the compliance box's top border — two separator
   lines a few pixels apart. Drop the accordion's and let the compliance
   box's border be the single closing divider. Scoped to the stacked
   breakpoint only: between 641-780px the accordions sit in a 3-column
   grid, where "last" is a column position rather than the bottom of a
   stack, and removing its border there would look inconsistent. */
@media (max-width: 640px) {
  .footer-accordion:last-of-type summary { border-bottom: none; }
}
.footer-legal { border-top: 1px solid var(--line); padding: 1.25rem 0 2rem; font-size: 0.82rem; color: rgba(23,37,30,0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); }

/* Compliance disclosure — matches the mortgage site's plain top-bordered
   text treatment, not a boxed card (an earlier round boxed this on the
   mistaken assumption mortgage did the same). */
.compliance-box {
  border-top: 1px solid var(--line); padding: 1.75rem 0; margin-top: var(--sp-6);
  font-size: 0.78rem; color: rgba(23,37,30,0.65); line-height: 1.7;
}
@media (max-width: 640px) { .compliance-box { margin-top: 0; } }
.compliance-box strong { color: var(--navy-ink); }

/* ==========================================================================
   Hero stats card — deficit-framed, real sourced numbers, replaces both the
   per-page calculator and the generic promo card from earlier rounds
   ========================================================================== */
.hero-stats-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--sp-7); box-shadow: var(--shadow-lg); color: var(--navy-ink); }
.hero-stats-card .hsc-eyebrow { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-5); }
.hsc-item { padding: var(--sp-5) 0; border-top: 1px solid var(--line); }
.hsc-item:first-of-type { border-top: none; padding-top: 0; }
.hsc-item .hsc-val { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); color: var(--deep); line-height: 1; }
.hsc-item .hsc-lbl { font-size: var(--text-sm); color: rgba(23,37,30,0.65); margin-top: var(--sp-2); }
.hero-stats-card .hsc-source { font-size: var(--text-xs); color: rgba(23,37,30,0.45); margin-top: var(--sp-5); }
.hero-stats-card .hsc-source a { color: var(--gold-deep); }

/* ==========================================================================
   Reviews — placeholder content until real client reviews replace it
   ========================================================================== */
.reviews-summary { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-7); }
.reviews-summary .review-stars { font-size: 1.3rem; }
.reviews-summary-text { font-size: var(--text-base); color: rgba(23,37,30,0.65); }
.reviews-placeholder-note { font-size: var(--text-xs); color: rgba(23,37,30,0.45); text-align: center; margin-top: var(--sp-2); font-style: italic; }

.reviews-carousel { position: relative; }
.reviews-viewport { overflow: hidden; }
.reviews-track { display: flex; transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
.reviews-page { flex: 0 0 100%; min-width: 0; }
.review-card { display: flex; flex-direction: column; }
.review-card .review-stars { margin-bottom: var(--sp-4); }
.review-author { font-weight: 700; font-family: var(--font-display); margin-top: auto; padding-top: var(--sp-3); color: var(--deep); }
.review-meta { display: block; font-weight: 500; font-size: var(--text-xs); color: rgba(23,37,30,0.5); margin-top: 2px; }

.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; background: var(--white);
  border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); color: var(--deep);
  font-size: 0.9rem; z-index: 2; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.reviews-arrow:hover:not(:disabled) { background: var(--deep); color: var(--on-deep); }
.reviews-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.reviews-arrow-prev { left: -22px; }
.reviews-arrow-next { right: -22px; }
@media (max-width: 900px) { .reviews-arrow-prev { left: -4px; } .reviews-arrow-next { right: -4px; } }
.reviews-dots { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-6); }
.reviews-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s ease; }

/* ==========================================================================
   Homepage — carrier ticker
   ========================================================================== */
.carrier-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-2); padding-block: var(--sp-5); overflow: hidden; }
.carrier-strip-eyebrow { text-align: center; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(23,37,30,0.45); margin-bottom: var(--sp-4); }
.carrier-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.carrier-track { display: flex; width: max-content; gap: var(--sp-8); animation: carrier-scroll 32s linear infinite; }
.carrier-track-item { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--navy-ink); white-space: nowrap; }
.carrier-track-item .dot { color: var(--gold); font-size: 0.7em; }
@keyframes carrier-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carrier-track { animation: none; } }

/* ==========================================================================
   Homepage — Lifestyle Layers group cards
   ========================================================================== */
.layers-header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-7); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.layers-header-row .lede { margin-bottom: 0; }
.group-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.16,.8,.3,1), box-shadow .35s ease; }
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.group-card-accent { height: 4px; background: var(--gold); }
.group-card:nth-child(2) .group-card-accent { background: var(--deep); }
.group-card:nth-child(3) .group-card-accent { background: var(--accent-2); }
.group-card:nth-child(4) .group-card-accent { background: var(--gold-deep); }
.group-card-body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.group-card-num { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(23,37,30,0.4); margin-bottom: var(--sp-4); }
.group-card-icons { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.group-card-icons .icon-badge { width: 34px; height: 34px; font-size: 0.85rem; margin-bottom: 0; }
.group-card-label { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-2); }
.group-card h3 { margin-bottom: var(--sp-3); }
.group-card-desc { font-size: var(--text-sm); color: rgba(23,37,30,0.72); margin-bottom: var(--sp-5); flex: 1; }
.group-card-pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.group-pill { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-xs); font-weight: 600; color: var(--navy-ink); background: var(--cream-2); border: 1px solid var(--line); padding: 0.4em 0.85em; border-radius: var(--radius-pill); }
.group-pill i { font-size: 0.55em; color: var(--gold); }
.group-card-link { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-sm); font-weight: 700; color: var(--deep); padding-top: var(--sp-4); border-top: 1px solid var(--line); margin-top: auto; }
.group-card-link i { font-size: 0.75em; transition: transform .2s ease; }
.group-card-link:hover i { transform: translateX(3px); }

/* ==========================================================================
   Homepage — Knowledge Hub (placeholder)
   ========================================================================== */
.hub-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: block; transition: transform .35s cubic-bezier(.16,.8,.3,1), box-shadow .35s ease; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hub-card-img { height: 170px; background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%); display: flex; align-items: center; justify-content: center; color: rgba(247,243,233,0.35); font-size: 1.8rem; }
.hub-card-body { padding: var(--sp-5); }
.hub-card-meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-3); }
.hub-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(23,37,30,0.3); }
.hub-card-meta .read-time { color: rgba(23,37,30,0.45); font-weight: 600; text-transform: none; letter-spacing: normal; }
.hub-card h3 { font-size: var(--text-lg); margin-bottom: var(--sp-3); }
.hub-card p { font-size: var(--text-sm); color: rgba(23,37,30,0.65); margin-bottom: var(--sp-4); }
.hub-card-read { font-size: var(--text-sm); font-weight: 700; color: var(--deep); }
.hub-coming-soon-badge { position: absolute; top: var(--sp-4); right: var(--sp-4); background: rgba(27,29,92,0.85); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: var(--radius-pill); }
.hub-card-img-wrap { position: relative; }

/* ==========================================================================
   Homepage — closing CTA band
   ========================================================================== */
.closing-band { text-align: center; }
.closing-band .eyebrow { justify-content: center; }
.closing-band .eyebrow::before { display: none; }
.closing-band h2 { max-width: 26ch; margin-inline: auto; }
.closing-band .lede { max-width: 56ch; margin-inline: auto; }
.closing-band .btn-row { justify-content: center; margin-top: var(--sp-6); }
.closing-band-note { font-size: var(--text-sm); color: var(--on-deep-dim); margin-top: var(--sp-6); }
.reviews-dot.active { background: var(--gold); }

/* ==========================================================================
   Blog / Knowledge Hub articles
   ========================================================================== */
.article-hero { padding-bottom: var(--sp-6); }
.article-byline { display: flex; align-items: center; gap: var(--sp-5); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-6); margin-bottom: var(--sp-7); box-shadow: var(--shadow-sm); }
.article-byline img { width: 64px; height: 72px; border-radius: var(--radius-md); border: 2px solid var(--gold); object-fit: cover; object-position: top center; flex-shrink: 0; }
.article-byline-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 3px; }
.article-byline-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 800; color: var(--deep); }
.article-byline-role { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-deep); margin-top: 2px; }
.article-byline-detail { font-size: var(--text-xs); color: rgba(23,37,30,0.6); margin-top: 3px; }
.legal-updated { font-size: var(--text-sm); font-weight: 600; color: var(--deep); margin: 0; }
.article-byline-name a { color: inherit; text-decoration: none; }
.article-byline-name a:hover { color: var(--gold-deep); text-decoration: underline; }
.article-byline-date { font-size: var(--text-xs); font-weight: 600; color: var(--deep); margin-top: var(--sp-2); }

.article-prose { font-size: var(--text-base); line-height: 1.85; color: rgba(23,37,30,0.85); }
.article-prose p { margin-bottom: var(--sp-5); }
.article-prose h2, .article-prose h3 { font-size: var(--text-xl); margin-top: var(--sp-8); margin-bottom: var(--sp-4); }
.article-prose strong { color: var(--navy-ink); }
.article-prose a { color: var(--gold-deep); text-decoration: underline; text-decoration-color: rgba(184,137,75,0.4); text-underline-offset: 2px; }
.article-prose a:hover { text-decoration-color: var(--gold-deep); }
.article-callout { background: var(--gold-mist); border-left: 3px solid var(--gold); border-radius: var(--radius-md); padding: var(--sp-5) var(--sp-6); margin: var(--sp-7) 0; }
.article-callout h2, .article-callout h3, .article-callout h4, .article-callout .article-callout-title { font-size: var(--text-sm); margin-bottom: var(--sp-2); color: var(--deep); }
.article-callout p { font-size: var(--text-sm); margin-bottom: 0; color: rgba(23,37,30,0.8); }
.article-closing { font-size: var(--text-sm); font-style: italic; color: rgba(23,37,30,0.55); margin-top: var(--sp-7); }
.article-back-link { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-top: var(--sp-8); }

.hub-index-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.16,.8,.3,1), box-shadow .35s ease; }
.hub-index-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hub-index-card-pillar { border: 1.5px solid rgba(184,137,75,0.4); background: linear-gradient(180deg, var(--gold-mist) 0%, var(--white) 40%); }
.hub-index-card-pillar h3 { font-family: var(--font-display); }

/* ==========================================================================
   About / Contact / Careers
   ========================================================================== */
.bio-card { background: var(--cream-2); border-radius: var(--radius-lg); padding: var(--sp-6); text-align: center; scroll-margin-top: 140px; }
.bio-card img { width: 100%; max-width: 220px; border-radius: var(--radius-md); border: 2.5px solid var(--gold); object-fit: cover; margin: 0 auto var(--sp-4); display: block; box-shadow: var(--shadow-md); }
.bio-card .name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--deep); margin-bottom: 2px; }
.bio-card .role { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-3); }
.bio-card .licence { display: inline-block; font-size: var(--text-xs); font-weight: 700; color: var(--gold-deep); background: var(--gold-mist); padding: 0.5em 0.9em; border-radius: var(--radius-sm); }

.path-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-6); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.path-card h3 { font-size: var(--text-lg); margin-bottom: var(--sp-3); }
.path-card p { font-size: var(--text-sm); color: rgba(23,37,30,0.72); margin-bottom: var(--sp-4); }
.path-card-req { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-deep); border-top: 1px solid var(--line); padding-top: var(--sp-4); margin-top: auto; }

/* Two-column feature comparison (Boss Mode vs. Captive Agency) — a real
   side-by-side column layout instead of cramped inline mini-badges per
   row, which is what read as "alignment way off" the first time around. */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius-lg); padding: var(--sp-6); }
.compare-col-featured { background: rgba(247,243,233,0.06); border: 1.5px solid var(--gold); }
.compare-col-muted { background: rgba(247,243,233,0.03); border: 1px solid rgba(247,243,233,0.12); }
.compare-col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); padding-bottom: var(--sp-4); border-bottom: 1px solid rgba(247,243,233,0.15); }
.compare-col-title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--on-deep); }
.compare-col-featured .compare-col-title { color: var(--gold); }
.compare-col-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); background: var(--gold); padding: 0.35em 0.8em; border-radius: var(--radius-pill); }
.compare-item { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-3) 0; }
.compare-item i { flex-shrink: 0; margin-top: 3px; font-size: 0.9em; }
.compare-col-featured .compare-item i { color: var(--gold); }
.compare-col-muted .compare-item i { color: rgba(247,243,233,0.25); }
.compare-item-label { font-size: var(--text-sm); font-weight: 700; color: var(--on-deep); }
.compare-col-muted .compare-item-label { color: var(--on-deep-dim); }
.compare-item-sub { font-size: var(--text-xs); color: var(--on-deep-dim); font-style: italic; margin-top: 1px; }
.compare-summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; background: var(--deep-2); border: 1px solid rgba(197,160,89,0.35); border-radius: var(--radius-md); padding: var(--sp-5) var(--sp-6); margin-top: var(--sp-6); }
.compare-summary-label { display: flex; align-items: center; gap: 0.5em; font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.compare-summary-verdict { font-size: var(--text-sm); font-weight: 700; color: var(--on-deep); }
.compare-summary-verdict span { color: var(--on-deep-dim); font-weight: 500; }

/* ---------- Careers application form: real lane-selector logic ---------- */
.lane-selector { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-6); }
@media (max-width: 600px) { .lane-selector { grid-template-columns: 1fr; } }
.lane-card { display: block; cursor: pointer; background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-5); text-align: center; font-weight: 700; color: var(--navy-ink); font-size: var(--text-sm); transition: border-color .2s ease, background .2s ease; }
.lane-card:hover { border-color: rgba(184,137,75,0.5); }
.lane-card.active { border-color: var(--gold); background: var(--gold-mist); color: var(--gold-deep); }

.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: var(--sp-3); }
.checkbox-option, .radio-option { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--text-sm); color: var(--navy-ink); cursor: pointer; }
.checkbox-option input, .radio-option input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--gold-deep); cursor: pointer; }

.contact-info-row { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .icon-badge { flex-shrink: 0; }
.contact-info-label { font-size: var(--text-xs); color: rgba(23,37,30,0.5); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.contact-info-val { font-size: var(--text-sm); font-weight: 700; color: var(--navy-ink); margin-top: 1px; }
.hours-row { display: flex; justify-content: space-between; font-size: var(--text-sm); padding: var(--sp-2) 0; }
.hours-row .day { color: rgba(23,37,30,0.65); }
.hours-row .time { font-weight: 700; color: var(--navy-ink); }

/* ==========================================================================
   Protection Blueprint audit modal — full 6-step guided flow + report.
   Light-mode throughout, built on the site's existing form/card language
   (calc-card, form-input, checkbox-option) rather than a separate theme.
   ========================================================================== */
#audit-modal { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(26,27,58,0.55); backdrop-filter: blur(3px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
#audit-modal.open { display: block; }
.audit-modal-panel { max-width: 640px; margin: 0 auto; min-height: 100%; background: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 720px) { .audit-modal-panel { margin: var(--sp-7) auto; border-radius: var(--radius-lg); min-height: 0; } }

.audit-modal-nav { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-6); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 2; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.audit-modal-nav img { height: 32px; width: auto; }
.audit-modal-close { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--text-xs); font-weight: 700; color: rgba(23,37,30,0.5); background: none; border: none; cursor: pointer; padding: 0.5em 0.8em; border-radius: var(--radius-pill); transition: background .2s ease; }
.audit-modal-close:hover { background: var(--cream); color: var(--deep); }

.audit-progress { padding: var(--sp-4) var(--sp-6) 0; }
.audit-progress-meta { display: flex; justify-content: space-between; font-size: var(--text-xs); font-weight: 700; margin-bottom: var(--sp-2); }
.audit-progress-label { color: var(--deep); }
.audit-progress-count { color: rgba(23,37,30,0.45); }
.audit-progress-track { height: 5px; background: var(--cream-2); border-radius: 3px; overflow: hidden; }
.audit-progress-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width .4s cubic-bezier(.4,0,.2,1); }

.audit-modal-body { padding: var(--sp-6); }
.audit-step { display: none; }
.audit-step.active { display: block; }
.audit-step-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-2); }
.audit-step-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--deep); margin-bottom: var(--sp-2); }
.audit-step-desc { font-size: var(--text-sm); color: rgba(23,37,30,0.6); margin-bottom: var(--sp-6); }

.audit-q-block { margin-bottom: var(--sp-6); }
.audit-q-label { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--navy-ink); margin-bottom: var(--sp-3); }
.audit-q-required { color: var(--gold-deep); }
.audit-pill-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.audit-pill { display: inline-flex; align-items: center; padding: 0.6em 1.1em; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--white); font-size: var(--text-sm); font-weight: 600; color: var(--navy-ink); cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; user-select: none; }
.audit-pill:hover { border-color: rgba(241,90,36,0.5); }
.audit-pill.selected { border-color: var(--gold); background: var(--gold-mist); color: var(--gold-deep); font-weight: 800; }
.audit-field-error { display: none; font-size: var(--text-xs); color: #DC2626; margin-top: var(--sp-2); font-weight: 600; }
.audit-field-error.show { display: block; }

.audit-step-nav { display: flex; gap: var(--sp-3); margin-top: var(--sp-7); }
.audit-step-nav .btn { flex: 1; justify-content: center; }
.audit-step-nav .btn-audit-back { flex: 0 0 auto; padding-left: var(--sp-5); padding-right: var(--sp-5); }

/* Teaser / unlock step */
.audit-teaser-card { background: var(--deep); border-radius: var(--radius-lg); padding: var(--sp-6); margin-bottom: var(--sp-6); }
.audit-teaser-score-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--sp-4); }
.audit-teaser-score-label { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep-dim); margin-bottom: var(--sp-2); }
.audit-teaser-score-val { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 900; color: var(--on-deep); line-height: 1; }
.audit-teaser-score-tag { font-size: var(--text-sm); font-weight: 800; margin-top: 2px; }
.audit-gauge-track { height: 8px; background: rgba(247,248,252,0.15); border-radius: 4px; overflow: hidden; margin-bottom: var(--sp-5); }
.audit-gauge-fill { height: 100%; border-radius: 4px; transition: width 1s cubic-bezier(.4,0,.2,1); }
.audit-teaser-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.audit-teaser-tile { background: rgba(247,248,252,0.06); border: 1px solid rgba(247,248,252,0.12); border-radius: var(--radius-md); padding: var(--sp-4); position: relative; }
.audit-teaser-tile .tt-label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-dim); margin-bottom: 4px; }
.audit-teaser-tile .tt-val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--on-deep); }
.audit-teaser-tile.locked .tt-val { filter: blur(5px); user-select: none; }
.audit-lock-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.4em; font-size: 11px; font-weight: 800; color: var(--gold); background: rgba(27,29,92,0.55); border-radius: var(--radius-md); }
.audit-unlock-prompt { font-size: var(--text-sm); color: rgba(23,37,30,0.65); margin-bottom: var(--sp-5); line-height: 1.6; }
.audit-unlock-prompt strong { color: var(--deep); }
.audit-form-error { display: none; font-size: var(--text-xs); font-weight: 700; color: #DC2626; background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.2); border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4); margin-bottom: var(--sp-5); }
.audit-form-error.show { display: block; }

/* Report */
.audit-report-profile { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); margin-bottom: var(--sp-5); }
.audit-report-profile-label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }
.audit-report-profile-headline { font-family: var(--font-display); font-weight: 800; color: var(--deep); font-size: var(--text-lg); margin-bottom: var(--sp-4); }
.audit-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.audit-profile-item { background: var(--white); border: 1px solid var(--line); padding: var(--sp-3); border-radius: var(--radius-sm); }
.audit-pi-label { font-size: 10px; text-transform: uppercase; color: rgba(23,37,30,0.45); font-weight: 700; }
.audit-pi-val { font-size: var(--text-sm); font-weight: 800; color: var(--navy-ink); margin-top: 2px; }

.audit-score-card { border: 1.5px solid var(--gold); background: var(--gold-mist); border-radius: var(--radius-lg); padding: var(--sp-6); text-align: center; margin-bottom: var(--sp-5); }
.audit-rs-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.audit-gauge-svg-wrap { display: flex; justify-content: center; margin: var(--sp-3) 0; }
.audit-score-val { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 900; line-height: 1; }
.audit-score-tag { font-size: var(--text-base); font-weight: 800; margin-top: 4px; }
.audit-score-sub { font-size: var(--text-sm); color: rgba(23,37,30,0.6); margin-top: var(--sp-2); }

.audit-stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
@media (min-width: 500px) { .audit-stat-tiles { grid-template-columns: repeat(4, 1fr); } }
.audit-stat-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--sp-4); text-align: center; }
.audit-st-label { font-size: 10px; text-transform: uppercase; color: rgba(23,37,30,0.45); font-weight: 700; }
.audit-st-val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--navy-ink); margin-top: 2px; }
.audit-st-sub { font-size: 10px; color: rgba(23,37,30,0.45); }

.audit-report-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); margin-bottom: var(--sp-5); }
.audit-report-section.alt { background: var(--cream); }
.audit-report-section.highlight { border-color: var(--gold); background: var(--gold-mist); }
.audit-rs-title { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep); margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }

.audit-income-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); text-align: center; }
.audit-itl-item { background: var(--cream); padding: var(--sp-3); border-radius: var(--radius-sm); }
.audit-itl-val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--navy-ink); }
.audit-itl-label { font-size: 10px; text-transform: uppercase; color: rgba(23,37,30,0.45); font-weight: 700; }

.audit-risk-ring-wrap { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.audit-ring-legend-row { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.audit-ring-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.audit-ring-legend-label { font-size: var(--text-sm); color: var(--navy-ink); flex: 1; }
.audit-ring-legend-pct { font-weight: 800; font-size: var(--text-sm); }

.audit-peer-band { display: flex; align-items: flex-start; gap: var(--sp-4); }
.audit-peer-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-mist); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.audit-peer-text { font-size: var(--text-sm); color: var(--navy-ink); line-height: 1.65; }

.audit-can-stats-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 560px) { .audit-can-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.audit-can-stat { background: var(--deep); border-radius: var(--radius-md); padding: var(--sp-4); text-align: center; }
.audit-can-stat-num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; color: var(--gold); }
.audit-can-stat-text { font-size: var(--text-xs); color: var(--on-deep); margin-top: var(--sp-2); line-height: 1.5; }
.audit-can-stat-source { font-size: 10px; color: var(--on-deep-dim); margin-top: var(--sp-2); }

.audit-priority-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.audit-pri-row { display: flex; align-items: flex-start; gap: var(--sp-3); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line); }
.audit-pri-row:last-child { border-bottom: none; padding-bottom: 0; }
.audit-pri-badge { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: 800; flex-shrink: 0; }
.audit-pri-1 { background: rgba(220,38,38,0.12); color: #DC2626; }
.audit-pri-2 { background: rgba(249,115,22,0.12); color: #F97316; }
.audit-pri-3 { background: rgba(234,179,8,0.15); color: #B45309; }
.audit-pri-4 { background: rgba(16,185,129,0.12); color: #10B981; }
.audit-pri-title { font-size: var(--text-sm); font-weight: 800; color: var(--navy-ink); }
.audit-pri-desc { font-size: var(--text-xs); color: rgba(23,37,30,0.6); margin-top: 2px; }

.audit-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.audit-cost-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--sp-3); }
.audit-cost-item.featured { border-color: var(--gold); background: var(--gold-mist); }
.audit-cost-type { font-size: 10px; font-weight: 800; text-transform: uppercase; color: rgba(23,37,30,0.6); }
.audit-cost-range { font-family: var(--font-display); font-size: var(--text-base); font-weight: 800; color: var(--gold-deep); margin: 2px 0; }
.audit-cost-note { font-size: 10px; color: rgba(23,37,30,0.45); }

.audit-actions-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.audit-action-row { display: flex; align-items: flex-start; gap: var(--sp-3); background: var(--white); border-radius: var(--radius-sm); padding: var(--sp-3); }
.audit-action-num { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--gold-deep); flex-shrink: 0; }
.audit-action-text strong { display: block; font-size: var(--text-sm); font-weight: 800; color: var(--navy-ink); }
.audit-action-text span { font-size: var(--text-xs); color: rgba(23,37,30,0.6); }

.audit-advisor-voice { background: var(--gold-mist); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--sp-5); }
.audit-advisor-voice p { font-size: var(--text-sm); color: var(--navy-ink); font-style: italic; line-height: 1.7; margin: 0; }
.audit-advisor-sig { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--gold-deep); margin-top: var(--sp-3); }

.audit-report-ctas { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.audit-report-fineprint { font-size: 10px; color: rgba(23,37,30,0.4); text-align: center; margin-top: var(--sp-5); line-height: 1.7; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

@media (max-width: 560px) {
  .audit-modal-body { padding: var(--sp-5); }
  .audit-profile-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-cost-grid { grid-template-columns: 1fr; }
}

/* ---- Lead forms (js/leads.js): honeypot + status line ---- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-response { font-size: var(--text-sm); line-height: 1.5; margin: 0 0 var(--sp-4); }
.form-response:empty { display: none; }
.form-response.success { color: #0f6b3a; background: #e8f6ee; border: 1px solid #b6e0c8; border-radius: 10px; padding: var(--sp-3) var(--sp-4); }
.form-response.error { color: #9a1c1c; background: #fdecec; border: 1px solid #f3b9b9; border-radius: 10px; padding: var(--sp-3) var(--sp-4); }
form.is-sent .form-group, form.is-sent .form-row-2, form.is-sent .checkbox-group, form.is-sent button[type="submit"] { display: none; }

/* ---- Cookie consent (js/cookie-consent.js) ---- */
.footer-link-btn { background: none; border: none; padding: 0; margin: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; text-decoration: underline; }
.footer-link-btn:hover { color: var(--gold-deep); }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27,29,92,0.1); padding: 1.1rem 1.5rem; }
.cookie-banner[hidden], .cookie-modal-overlay[hidden] { display: none; }
.cookie-banner-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner-text { flex: 1 1 320px; font-size: 0.85rem; color: rgba(23,37,30,0.7); line-height: 1.55; margin: 0; }
.cookie-banner-text a { color: var(--deep); font-weight: 700; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-modal-overlay { position: fixed; inset: 0; z-index: 650; background: rgba(27,29,92,0.45); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 460px; max-width: 100%; max-height: calc(100vh - 3rem); display: flex; flex-direction: column; overflow: hidden; }
.cookie-modal-header { background: var(--deep-2); color: #fff; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.cookie-modal-header h3, .cookie-modal-header .cookie-modal-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; margin: 0; color: #fff; }
.cookie-modal-close { background: rgba(255,255,255,0.14); color: #fff; border: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.cookie-modal-body { padding: 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem; }
.cookie-category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
.cookie-category-header strong { font-family: var(--font-display); font-size: 0.92rem; color: var(--navy-ink); }
.cookie-category p { font-size: 0.82rem; color: rgba(23,37,30,0.7); line-height: 1.5; margin: 0; }
.cookie-locked-badge { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(23,37,30,0.7); background: var(--cream-2); padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); }
.cookie-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch-track { position: absolute; inset: 0; background: var(--line); border-radius: var(--radius-pill); transition: background .15s; }
.cookie-switch-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .15s; }
.cookie-switch input:checked + .cookie-switch-track { background: var(--gold); }
.cookie-switch input:checked + .cookie-switch-track .cookie-switch-thumb { transform: translateX(18px); }
.cookie-switch input:focus-visible + .cookie-switch-track { outline: 2px solid var(--deep); outline-offset: 2px; }
.cookie-modal-footer { padding: 1rem 1.25rem 1.25rem; display: flex; justify-content: flex-end; gap: 0.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 480px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn-sm { flex: 1; }
}

.geo-box .geo-box-title, .article-callout .article-callout-title { display: block; }

/* ---- Jessica chat (js/jessica.js) ---- */
.chat-trigger { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; box-shadow: 0 12px 28px rgba(241,90,36,0.35); }
.chat-trigger:hover { background: var(--gold-deep); }
.chat-trigger .dot { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; background: #16794C; border-radius: 50%; border: 2px solid #fff; }
.chat-modal { position: fixed; bottom: 6rem; right: 1.5rem; z-index: 400; width: 360px; max-width: calc(100vw - 2rem); height: 500px; max-height: calc(100vh - 8rem); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-modal.open { display: flex; }
.chat-modal.minimized { height: auto; max-height: none; }
@media (min-width: 900px) { .chat-modal { width: 420px; height: 640px; } }
.chat-modal.minimized .chat-body, .chat-modal.minimized .chat-quick-replies, .chat-modal.minimized .chat-input-row, .chat-modal.minimized .chat-disclaimer { display: none; }
.cookie-banner:not([hidden]) ~ .chat-trigger { bottom: calc(1.5rem + 92px); }
.cookie-banner:not([hidden]) ~ .chat-modal { bottom: calc(6rem + 92px); max-height: calc(100vh - 12rem); }
@media (max-width: 640px) { .cookie-banner:not([hidden]) ~ .chat-trigger { bottom: calc(1.5rem + 150px); } .cookie-banner:not([hidden]) ~ .chat-modal { bottom: calc(6rem + 150px); } }
.chat-header { background: var(--deep-2); color: #fff; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chat-header-info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.chat-header .chat-title { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-header .chat-status { font-size: 0.75rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-header .chat-status .dot { width: 7px; height: 7px; background: #3DD68C; border-radius: 50%; flex-shrink: 0; }
.chat-header-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.chat-header-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; cursor: pointer; }
.chat-header-btn:hover { background: rgba(255,255,255,0.24); }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.75rem; background: var(--cream); }
.chat-bubble { max-width: 85%; padding: 0.7rem 0.95rem; border-radius: var(--radius-md); font-size: 0.9rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-bubble.bot { background: #fff; color: var(--navy-ink); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chat-bubble.user { background: var(--gold-deep); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-bubble.chat-typing { font-style: italic; color: rgba(23,37,30,0.65); }
.chat-link { color: var(--gold-deep); font-weight: 700; text-decoration: underline; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.1rem 1rem; background: var(--cream); }
.chat-quick-replies:empty { display: none; }
.chat-quick-reply { font-size: 0.8rem; font-weight: 700; padding: 0.5rem 0.85rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); color: var(--deep); cursor: pointer; }
.chat-quick-reply:hover { border-color: var(--gold); color: var(--gold-deep); }
.chat-input-row { display: flex; gap: 0.5rem; padding: 0.85rem; border-top: 1px solid var(--line); background: #fff; }
.chat-input-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: 0.65rem 1rem; font-size: 0.9rem; font-family: inherit; }
.chat-input-row input:focus { outline: none; border-color: var(--gold); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-deep); color: #fff; border: none; flex-shrink: 0; cursor: pointer; }
.chat-disclaimer { font-size: 0.7rem; color: rgba(23,37,30,0.65); text-align: center; padding: 0.5rem 0.75rem; background: var(--cream); }
.chat-lead-card { width: 100%; max-width: 100%; }
.chat-lead-card .chat-lead-intro { margin: 0 0 0.6rem; }
.chat-lead-card label { font-size: 0.75rem; font-weight: 700; display: block; margin: 0.4rem 0 0.2rem; }
.chat-lead-card input[type="text"], .chat-lead-card input[type="tel"], .chat-lead-card input[type="email"] { width: 100%; padding: 0.5rem; border-radius: 8px; border: 1.5px solid var(--line); font: inherit; }
.chat-lead-card .chat-lead-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400; font-size: 0.72rem; line-height: 1.4; margin: 0.7rem 0; }
.chat-lead-card .chat-lead-consent input { margin-top: 0.15rem; width: 16px; height: 16px; flex-shrink: 0; }
.chat-lead-card .chat-lead-error { color: #9a1c1c; font-size: 0.78rem; min-height: 1em; margin-bottom: 0.5rem; }
.chat-lead-card .chat-lead-submit { width: 100%; }

/* ---- Layout utilities (replace inline width styles in the templates) ---- */
.mw-760 { max-width: 760px; } .mw-780 { max-width: 780px; } .mw-800 { max-width: 800px; } .mw-820 { max-width: 820px; }
.mw-ch-16 { max-width: 16ch; } .mw-ch-20 { max-width: 20ch; } .mw-ch-22 { max-width: 22ch; }
.mw-ch-52 { max-width: 52ch; } .mw-ch-56 { max-width: 56ch; } .mw-ch-60 { max-width: 60ch; } .mw-ch-64 { max-width: 64ch; }
.btn-wide { width: 100%; justify-content: space-between; }
.mw-ch-44 { max-width: 44ch; } .mw-ch-62 { max-width: 62ch; } .mw-ch-66 { max-width: 66ch; }
.h1-deep { color: var(--deep); }
.callout-lead { margin-top: var(--sp-6); }
.mt-3 { margin-top: var(--sp-3); } .mb-0 { margin-bottom: 0; }
