/* ==========================================================================
   Apex Benefits Experience Platform — sample client portal stylesheet
   Palette and type from www.apexbenefitsonline.com (site CSS :root):
     navy #0e1f3b · gold #b8953a · gold-light #d4af62 · cream #f9f6f0
     slate #4a5568 · light #718096 · border #e2d9c8
   Headings: Playfair Display. Body: DM Sans.
   Spacing: strict 8px scale. No ad-hoc gap values anywhere in this file.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  /* --- Apex brand palette (variable names kept so every rule still resolves) --- */
  --heritage-blue: #B8953A;   /* Apex gold — accents, rules, badges (navy text on it 5.79:1) */
  --navy: #0E1F3B;            /* Apex navy */
  --rich-black: #1A202C;
  --yellow: #D4AF62;          /* Apex gold-light — CTAs, active nav (navy text 7.91:1) */
  --gray: #718096;            /* Apex light slate — borders, dividers, large text */
  --blue-gradient: #1D3A66;   /* navy mid-tone — links, table heads, gradients (11.36:1 on white) */
  --gold-deep: #7A5F1A;       /* gold for small text on white (6.04:1) */
  --gray-text: #4A5568;       /* Apex slate — small secondary copy (7.53:1) */

  /* --- derived surfaces --- */
  --navy-light: #1A3360;
  --navy-dark: #08142A;
  --gray-100: #F9F6F0;        /* Apex cream */
  --gray-200: #E2D9C8;        /* Apex border */
  --gray-300: #C9BFA9;
  --white: #FFFFFF;

  /* --- 8px spacing scale --- */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 56px;
  --s7: 72px;

  --radius: 8px;
  --radius-lg: 16px;
  --maxw: 1200px;

  --shadow: 0 2px 8px rgba(14, 31, 59, 0.08);
  --shadow-lg: 0 8px 24px rgba(14, 31, 59, 0.12);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font: "DM Sans", Arial, "Helvetica Neue", Helvetica, "Segoe UI",
    -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Space for the fixed Scout dock, so it never covers the final line of a page. */
  padding-bottom: 96px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rich-black);
  background: var(--white);
}

h1, h2, h3, h4 {
  color: var(--navy); line-height: 1.2; margin: 0; font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
h1, h2 { text-transform: none; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0; }
a { color: var(--blue-gradient); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }

/* Vertical rhythm: every stacked child gets the same standard gap. */
.stack > * + * { margin-top: var(--s2); }
.stack-lg > * + * { margin-top: var(--s3); }

/* ============================ skip link ================================= */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--navy);
  padding: var(--s1) var(--s2); font-weight: 700; z-index: 200;
}
.skip:focus { left: var(--s2); top: var(--s1); }

/* ============================ top bar =================================== */
.utility {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.8125rem;
}
.utility .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s2); min-height: 40px;
}
.utility a { color: var(--heritage-blue); text-decoration: none; }
.utility a:hover, .utility a:focus { text-decoration: underline; }
.utility-links { display: flex; gap: var(--s3); align-items: center; }

/* ============================ header / nav ============================== */
.masthead { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); min-height: 88px;
}
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; }
.brand img { height: 60px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--navy); font-size: 1rem; }
.brand-text span { color: var(--gray-text); font-size: 0.8125rem; }

.nav-toggle {
  display: none; background: var(--navy); color: var(--white);
  border: 0; border-radius: var(--radius); padding: var(--s1) var(--s2);
  font: inherit; font-weight: 700; cursor: pointer;
}

nav.primary ul { list-style: none; margin: 0; padding: 0; }
nav.primary > ul { display: flex; align-items: center; gap: var(--s1); }
nav.primary > ul > li { position: relative; }

nav.primary > ul > li > a,
nav.primary > ul > li > button {
  display: flex; align-items: center; gap: var(--s1);
  padding: var(--s1) var(--s2);
  font: inherit; font-weight: 600; font-size: 0.9375rem;
  color: var(--navy); background: none; border: 0;
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
nav.primary > ul > li > a:hover,
nav.primary > ul > li > button:hover { background: var(--gray-100); }

/* Active state uses approved Yellow. Navy text on yellow — never white,
   which would fail contrast. */
nav.primary > ul > li > a[aria-current="page"],
nav.primary > ul > li.is-active > a,
nav.primary > ul > li.is-active > button {
  background: var(--yellow); color: var(--navy);
}

nav.primary .caret { font-size: 0.625rem; line-height: 1; }

/* Dropdowns: open on hover AND on focus-within AND via aria-expanded,
   so keyboard and touch both work. */
nav.primary .submenu {
  position: absolute; top: 100%; left: 0; min-width: 288px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: var(--s1); z-index: 100;
  display: none;
}
nav.primary li:hover > .submenu,
nav.primary li:focus-within > .submenu,
nav.primary button[aria-expanded="true"] + .submenu { display: block; }

nav.primary .submenu a {
  display: block; padding: var(--s1) var(--s2);
  color: var(--navy); text-decoration: none; border-radius: var(--radius);
  font-size: 0.9375rem;
}
nav.primary .submenu a:hover, nav.primary .submenu a:focus { background: var(--gray-100); }
nav.primary .submenu .nested { padding-left: var(--s3); }
nav.primary .submenu hr { border: 0; border-top: 1px solid var(--gray-200); margin: var(--s1) 0; }

:focus-visible { outline: 3px solid var(--heritage-blue); outline-offset: 2px; }

/* ============================ buttons =================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  padding: 14px var(--s3); border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #C9A352; }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

/* ============================ hero ===================================== */
/* Apex hero: navy field with soft gold arcs, echoing apexbenefitsonline.com.
   A left-weighted navy overlay keeps text contrast high. */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg,
      rgba(14, 31, 59, 0.93) 0%,
      rgba(14, 31, 59, 0.82) 45%,
      rgba(14, 31, 59, 0.58) 100%),
    url("hero-background.jpg");
  background-size: cover, cover;
  background-position: center, center top;
  background-repeat: no-repeat, no-repeat;
  color: var(--white);
  padding: var(--s7) 0;
  position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .plan-year {
  display: inline-block; background: var(--heritage-blue); color: var(--navy);
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: var(--s1) var(--s2);
  border-radius: var(--radius); margin-bottom: var(--s3);
}
.hero p.lede { font-size: 1.125rem; max-width: 62ch; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* ============================ countdown ================================ */
.countdown {
  background: var(--yellow); color: var(--navy);
  padding: var(--s3) 0;
  border-top: 4px solid var(--navy);
  border-bottom: 4px solid var(--navy);
}
.countdown .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s3);
}
.countdown h2 {
  font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--s1);
}
.clock { display: flex; gap: var(--s2); }
.clock div {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: var(--s1) var(--s2); min-width: 72px; text-align: center;
}
.clock strong { display: block; font-size: 1.75rem; line-height: 1.1; }
.clock span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.countdown-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* ============================ sections ================================= */
section.band { padding: var(--s7) 0; }
section.band.tint { background: var(--gray-100); }
.section-head { max-width: 68ch; margin-bottom: var(--s5); }
.kicker {
  font-family: var(--font-display);
  display: block; color: var(--gold-deep); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--s1);
}

/* ============================ grids / cards ============================ */
.grid { display: grid; gap: var(--s3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ============================ core values ============================== */
.value {
  background: var(--white); border: 1px solid var(--gray-200);
  border-top: 4px solid var(--heritage-blue);
  border-radius: var(--radius); padding: var(--s3);
  display: flex; flex-direction: column; gap: var(--s1);
}
.value h3 {
  font-size: 1.0625rem; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--navy);
}
.value p { font-size: 0.9375rem; color: #303643; }

.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: var(--s3);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card > * + * { margin-top: var(--s2); }
.card h3 { color: var(--navy); }
.card p { color: #303643; font-size: 0.9375rem; }
.card .card-foot { margin-top: auto; padding-top: var(--s2); }
/* Lists inside cards and callouts — same 8px rhythm as everything else. */
.card ul, .callout ul {
  margin: 0; padding-left: var(--s3);
  font-size: 0.9375rem; color: #303643;
}
.card ul li + li, .callout ul li + li { margin-top: var(--s1); }

/* Secondary qualifier inside a card — exclusions, caveats, scope limits.
   Uses the AA-compliant gray step because it is small text. */
.note-block {
  font-size: 0.875rem; color: var(--gray-text);
  border-top: 1px solid var(--gray-200); padding-top: var(--s1);
}

.card-link { font-weight: 700; text-decoration: none; color: var(--blue-gradient); }
.card-link:hover { text-decoration: underline; }

.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--navy); color: var(--heritage-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; flex: none;
}

/* Journey cards — first-person task entry points */
.journey {
  background: var(--navy); color: var(--white);
  border: 1px solid var(--navy); border-radius: var(--radius-lg);
  padding: var(--s3); text-decoration: none;
  display: flex; flex-direction: column; gap: var(--s1);
}
.journey:hover { background: var(--blue-gradient); }
.journey strong { font-size: 1.0625rem; color: var(--white); }
.journey span { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.journey em { margin-top: auto; padding-top: var(--s2); color: var(--yellow); font-style: normal; font-weight: 700; font-size: 0.875rem; }

/* ============================ tables =================================== */
.table-scroll { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
table.compare { border-collapse: collapse; width: 100%; min-width: 880px; background: var(--white); }
table.compare caption { text-align: left; padding: var(--s3); color: var(--gray-text); font-size: 0.875rem; }
table.compare th, table.compare td {
  padding: var(--s2); text-align: left; font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-200); vertical-align: top;
}
table.compare thead th {
  background: var(--navy); color: var(--white); font-size: 0.875rem;
  border-bottom: 0; vertical-align: bottom;
}
table.compare thead th .plan-sub { display: block; font-weight: 400; color: var(--heritage-blue); font-size: 0.8125rem; margin-top: 4px; }
table.compare tbody th { background: var(--gray-100); color: var(--navy); font-weight: 700; width: 268px; }
table.compare tr.group th {
  background: var(--blue-gradient); color: var(--white);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
table.compare td.cost { font-weight: 700; color: var(--navy); }
table.compare .note { display: block; color: var(--gray-text); font-size: 0.8125rem; font-weight: 400; margin-top: 4px; }
table.compare tbody tr:hover td { background: #FAFBFC; }

/* ============================ callouts ================================= */
.callout {
  border-left: 6px solid var(--heritage-blue);
  background: var(--gray-100); border-radius: var(--radius);
  padding: var(--s3);
}
.callout > * + * { margin-top: var(--s1); }
.callout h3 { font-size: 1.0625rem; }
.callout.warn { border-left-color: var(--yellow); background: #FEF8E8; }
.callout.info { border-left-color: var(--blue-gradient); }

/* Placeholder marker — everything not yet sourced from approved content
   is visibly flagged so nothing unapproved reads as final. */
.placeholder {
  border: 2px dashed var(--gray-300); background: repeating-linear-gradient(
    45deg, #FBFBFC 0 12px, #F3F4F6 12px 24px);
  border-radius: var(--radius); padding: var(--s3); color: #4A5160;
}
.placeholder::before {
  content: "PLACEHOLDER — NOT APPROVED CONTENT";
  display: block; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; color: #B4441F; margin-bottom: var(--s1);
}
.pending {
  display: inline-block; background: #FEF8E8; color: #8A5A00;
  border: 1px solid var(--yellow); border-radius: 4px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 6px; margin-left: var(--s1);
  vertical-align: middle;
}

/* Preview-mode banner */
.preview-flag {
  background: #B4441F; color: var(--white); font-size: 0.8125rem;
  text-align: center; padding: var(--s1) var(--s2);
}
.preview-flag strong { color: var(--white); }

/* ============================ definition rows ========================== */
dl.facts { margin: 0; }
dl.facts > div {
  display: flex; justify-content: space-between; gap: var(--s2);
  padding: var(--s2) 0; border-bottom: 1px solid var(--gray-200);
}
dl.facts dt { color: #303643; }
dl.facts dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }

/* ============================ footer =================================== */
footer.site {
  background: var(--navy-dark); color: var(--gray-300);
  padding: var(--s6) 0 var(--s4);
  font-size: 0.875rem;
}
footer.site h4 { color: var(--white); margin-bottom: var(--s2); font-size: 0.9375rem; }
footer.site .footer-logo { height: 56px; width: auto; display: block; margin-bottom: var(--s3); }
footer.site a { color: var(--heritage-blue); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li + li { margin-top: var(--s1); }
footer.site .legal {
  margin-top: var(--s5); padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,0.16); color: var(--gray-300);
}

/* ============================ responsive =============================== */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  nav.primary > ul > li > a,
  nav.primary > ul > li > button { padding: var(--s1); font-size: 0.875rem; }
}

@media (max-width: 880px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .hero, section.band { padding: var(--s5) 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav-toggle { display: block; }
  nav.primary { display: none; width: 100%; }
  nav.primary.open { display: block; padding-bottom: var(--s2); }
  .masthead .wrap { flex-wrap: wrap; min-height: 0; padding-top: var(--s2); padding-bottom: var(--s2); }
  nav.primary > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary > ul > li { border-bottom: 1px solid var(--gray-200); }
  nav.primary .submenu {
    position: static; display: block; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 var(--s1) var(--s2);
  }
  /* Enrollment stays reachable without opening the menu. */
  .utility .utility-links a.enroll { font-weight: 700; }
}

@media (max-width: 560px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .clock div { min-width: 60px; }
  .utility .wrap { flex-direction: column; align-items: flex-start; gap: var(--s1); padding-top: var(--s1); padding-bottom: var(--s1); }
}

@media print {
  .utility, .nav-toggle, .countdown-actions, .preview-flag { display: none; }
}

/* ============================ FAQ accordions ============================ */
.faq-list > * + * { margin-top: var(--s1); }
.faq {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: var(--s2) var(--s3);
}
.faq[open] { border-color: var(--heritage-blue); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  font-size: 1.0625rem; line-height: 1.4;
  list-style: none; display: flex; gap: var(--s2); align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: none; width: 24px; height: 24px;
  background: var(--navy); color: var(--white);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
}
.faq[open] summary::before { content: "–"; background: var(--heritage-blue); color: var(--navy); }
.faq summary:focus-visible { outline: 3px solid var(--heritage-blue); outline-offset: 4px; }
.faq p { margin-top: var(--s2); padding-left: var(--s5); font-size: 0.9375rem; color: #303643; }
.faq p + p { margin-top: var(--s1); }

@media (max-width: 560px) {
  .faq p { padding-left: 0; }
}

/* ============================ Ask Scout ================================= */
/* Site-wide retrieval assistant. Yellow launcher with navy text — the same
   contrast rule as every other yellow surface. */

.scout-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* The dock holds the launcher plus its minimize control. Collapsed, it shrinks
   to a small circle so it cannot sit over page text. State persists. */
.scout-dock {
  position: fixed; right: var(--s3); bottom: var(--s3); z-index: 300;
  display: flex; align-items: center; gap: 6px;
}

.scout-launcher {
  font-family: var(--font-display);
  display: flex; align-items: center; gap: var(--s1);
  background: var(--yellow); color: var(--navy);
  border: 2px solid var(--navy); border-radius: 9999px;
  padding: 14px var(--s3);
  font: inherit; font-weight: 700; font-size: 0.9375rem;
  cursor: pointer; box-shadow: var(--shadow-lg);
}
.scout-launcher:hover { background: #C9A352; }
.scout-launcher-icon { font-size: 1.125rem; line-height: 1; }

.scout-collapse {
  width: 28px; height: 28px; flex: none;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--white); border-radius: 50%;
  font: inherit; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow);
}
.scout-collapse:hover { background: var(--navy-dark); }

/* Collapsed: icon-only circle, no label, minimal footprint. */
.scout-dock.is-collapsed .scout-launcher {
  padding: 0; width: 48px; height: 48px;
  justify-content: center; border-radius: 50%;
}
.scout-dock.is-collapsed .scout-launcher-label { display: none; }
.scout-dock.is-collapsed { gap: 4px; }
.scout-dock.is-collapsed .scout-collapse { width: 22px; height: 22px; font-size: 0.8125rem; }

.scout-panel {
  position: fixed; right: var(--s3); bottom: 88px; z-index: 301;
  width: 400px; max-width: calc(100vw - var(--s5));
  max-height: min(640px, calc(100vh - 160px));
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
}

.scout-head {
  background: var(--navy); color: var(--white);
  padding: var(--s2) var(--s3);
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2);
}
.scout-head strong { display: block; font-size: 1.0625rem; }
.scout-head span { display: block; font-size: 0.8125rem; color: var(--heritage-blue); margin-top: 2px; }
.scout-head-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.scout-min, .scout-close {
  background: none; border: 0; color: var(--white);
  line-height: 1; cursor: pointer; padding: 0 var(--s1);
}
.scout-min { font-size: 1.25rem; }
.scout-close { font-size: 1.5rem; }
.scout-min:hover, .scout-close:hover { color: var(--yellow); }

.scout-log {
  flex: 1; overflow-y: auto; padding: var(--s3);
  display: flex; flex-direction: column; gap: var(--s2);
}
.scout-msg { border-radius: var(--radius); padding: var(--s2); font-size: 0.9375rem; }
.scout-msg p + p { margin-top: var(--s1); }
.scout-bot { background: var(--gray-100); color: #303643; }
.scout-you { background: var(--navy); color: var(--white); align-self: flex-end; max-width: 85%; }
.scout-bot a { color: var(--blue-gradient); font-weight: 700; }

.scout-cite {
  font-size: 0.8125rem; color: var(--gray-text);
  border-top: 1px solid var(--gray-200); padding-top: var(--s1);
}
.scout-cite span {
  display: inline-block; background: var(--navy); color: var(--white);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 4px; margin-right: 6px;
}
.scout-more { font-size: 0.8125rem; color: var(--gray-text); font-weight: 700; }

.scout-chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s1); }
.scout-chip {
  background: var(--white); color: var(--navy);
  border: 1px solid var(--gray-300); border-radius: 9999px;
  padding: 6px 12px; font: inherit; font-size: 0.8125rem; cursor: pointer;
  text-align: left;
}
.scout-chip:hover { border-color: var(--heritage-blue); background: var(--gray-100); }

.scout-form {
  display: flex; gap: var(--s1); padding: var(--s2) var(--s3);
  border-top: 1px solid var(--gray-200); flex-wrap: wrap;
}
.scout-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 0.9375rem;
  padding: 12px var(--s2);
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  color: var(--rich-black);
}
.scout-form input:focus-visible { outline: 3px solid var(--heritage-blue); outline-offset: 1px; }
.scout-form button[type="submit"] {
  background: var(--navy); color: var(--white); border: 0;
  border-radius: var(--radius); padding: 12px var(--s3);
  font: inherit; font-weight: 700; cursor: pointer;
}
.scout-form button[type="submit"]:hover { background: var(--navy-dark); }
.scout-error { width: 100%; color: #B4441F; font-size: 0.8125rem; font-weight: 700; }

.scout-foot {
  padding: var(--s2) var(--s3); background: var(--gray-100);
  font-size: 0.75rem; color: var(--gray-text);
  border-top: 1px solid var(--gray-200);
}

/* In-page Scout entry point */
.scout-inline {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy) 0%, var(--blue-gradient) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: var(--s5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap;
}
.scout-inline h2 { color: var(--white); }
.scout-inline p { color: rgba(255,255,255,0.92); max-width: 58ch; margin-top: var(--s1); }

@media (max-width: 560px) {
  .scout-dock { right: var(--s2); bottom: var(--s2); }
  .scout-launcher { padding: 12px var(--s2); }
  .scout-panel {
    right: var(--s1); left: var(--s1); bottom: 76px;
    width: auto; max-width: none;
    max-height: calc(100vh - 140px);
  }
}

@media print {
  .scout-dock, .scout-panel { display: none; }
  body { padding-bottom: 0; }
}

/* ============================ person cards ============================== */
.person {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s3); box-shadow: var(--shadow);
}
.person-photo {
  width: 120px; height: 120px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--heritage-blue);
}
.person-photo-blank { background: var(--gray-200); }
.person-body { min-width: 0; }
.person-body > * + * { margin-top: var(--s1); }
.person-role {
  color: var(--blue-gradient); font-weight: 700; font-size: 0.9375rem;
}
.person-links { font-size: 0.875rem; word-break: break-word; }
.person .facts > div { padding: var(--s1) 0; }

@media (max-width: 560px) {
  .person { flex-direction: column; align-items: center; text-align: center; }
  .person-photo { width: 96px; height: 96px; }
  .person .facts > div { justify-content: center; gap: var(--s1); }
}

/* ============================ dictionary =============================== */
.dict-jump { display: flex; flex-wrap: wrap; gap: var(--s1); }
.dict-jump a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-display); font-weight: 700;
}
.dict-jump a:hover { background: var(--heritage-blue); color: var(--navy); }

.dict-ask {
  background: var(--yellow); color: var(--navy);
  border: 2px solid var(--navy); border-radius: 9999px;
  padding: 4px 14px; font: inherit; font-size: 0.8125rem; font-weight: 700;
  cursor: pointer;
}
.dict-ask:hover { background: #C9A352; }

dl.dict { margin: 0; }
dl.dict dt {
  font-family: var(--font-display);
  font-weight: 700; color: var(--navy); font-size: 1.0625rem;
  padding-top: var(--s2); border-top: 1px solid var(--gray-200);
}
dl.dict dt:first-child { border-top: 0; padding-top: 0; }
dl.dict dd {
  margin: var(--s1) 0 var(--s2); font-size: 0.9375rem; color: #303643;
}
.dict-note {
  display: block; margin-top: var(--s1);
  background: var(--gray-100); border-left: 4px solid var(--heritage-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s1) var(--s2); font-size: 0.875rem;
}
.dict-note strong { color: var(--navy); }

/* ===== Sample Client Web Portal (public demo) =====
   Internal build notes are hidden for webinar/prospect viewing.
   Delete this rule to show them again. */
.preview-flag { display: none !important; }
.hero h1 + p.lede, .hero h1 + .lede { margin-top: var(--s2); }
/* Scout panel must respect the hidden attribute (display:flex above overrides it),
   otherwise it shows open and empty on page load. */
.scout-panel[hidden] { display: none !important; }
/* Six core commitments — one row on desktop, like the original values row. */
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s2); }
.grid-6 .value { padding: var(--s2); }
.grid-6 .value h3 { font-size: 0.9375rem; }
.grid-6 .value p { font-size: 0.875rem; }
@media (max-width: 1040px) { .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid-6 { grid-template-columns: 1fr; } }

/* ===== Wellness spotlight (rotating initiatives) ===== */
.spotlight { --pink: #D9467F; --teal: #1F7A8C; --purple: #6B3FA0; }
.spotlight .kicker { color: #A8325F; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); align-items: start; }
.spotlight-flyer { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); background: var(--white); }
.spotlight-flyer img { display: block; width: 100%; height: auto; }
.spotlight-flyer:hover { box-shadow: 0 12px 32px rgba(14, 31, 59, 0.18); }
.spotlight-stats { gap: var(--s2); }
.stat { background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--navy); padding: var(--s3); text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--navy); margin-bottom: var(--s1); }
.stat span { display: block; font-size: 0.875rem; color: var(--gray-text); }
.stat.s-pink { border-top-color: var(--pink); background: #FCE8F0; }
.stat.s-navy { border-top-color: var(--navy); background: #EEF1F6; }
.stat.s-teal { border-top-color: var(--teal); background: #E6F2F4; }
.stat.s-purple { border-top-color: var(--purple); background: #F1EBFA; }
.spotlight .callout.info { border-left-color: var(--pink); }
@media (max-width: 880px) { .spotlight-grid { grid-template-columns: 1fr; } .spotlight-flyer { max-width: 420px; margin: 0 auto; } }
