/* =========================================================================
   Ascend Insurance Planning — stylesheet
   Design system per build spec §4. Colors are contrast-checked (WCAG AA);
   do not substitute without re-checking (§4.1, §10).
   ========================================================================= */

/* ---------- 1. Tokens (§4.1) ---------- */
:root {
  /* Brand — brightened/more saturated ("fluorescent") vs. the original logo-sampled
     hues, per request. Same ~89-95° green hue family throughout, just more vivid. */
  --accent:            #7bf425;  /* buttons / accent bars only — never small text on light */
  --accent-hover:      #69e212;
  --accent-dark:       #4e7427;  /* green TEXT on light backgrounds — ~5.5:1 vs white (AA, margin kept intentionally) */
  --accent-mid:        #6dca2b;  /* softened Our Services card-fill green — less saturated than --accent */
  --accent-light:      #99f25a;  /* links/labels on dark backgrounds only */

  /* Ink & body copy */
  --ink:               #232323;
  --body-copy:         #595959;
  --body-copy-soft:    #666666;
  --body-copy-faint:   #757575;

  /* Surfaces & lines */
  --surface-white:     #ffffff;
  --surface-tint:      #f7f7f7;
  --surface-tint-2:    #f2f2f2;
  --line:              #e5e5e5;
  --input-border:      #d9d9d9;

  /* On dark */
  --on-dark-heading:   #ffffff;
  --on-dark-body:      #c9c9c9;
  --on-dark-body-soft: #999999;
  --on-dark-link:      #cfcfcf;
  --on-dark-line:      #3a3a3a;
  --on-dark-border:    #4a4a4a;
  --on-dark-label:     #8a8a8a;

  /* Type */
  --font-heading: "Archivo", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body:    "Karla", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container-max: 1440px;
  --gutter:        4.5rem;   /* 72px */
  --section-pad:   5.5rem;   /* 88px */
  --radius:        2px;
  --radius-card:   4px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;              /* 1rem = 16px; all sizes below are relative */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;     /* keeps anchor targets clear of the sticky header */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--surface-white);
  color: var(--body-copy);
  font-family: var(--font-body);
  font-size: 1.0625rem;        /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.3;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent-light); }

strong { color: var(--ink); font-weight: 600; }

/* Visible focus everywhere (§10) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  color: var(--ink);
}

/* ---------- 3. Layout primitives (§4.4) ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: calc(820px + var(--gutter) * 2); }
.container.medium { max-width: calc(920px + var(--gutter) * 2); }

.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--surface-tint); }
.section-dark { background: var(--ink); }

.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--on-dark-heading); }

.accent-bar {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.96875rem;       /* 15.5px */
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}
.eyebrow-on-dark { color: var(--accent-light); }

.section-head-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.section-head-centered .lead {
  color: var(--body-copy);
  margin-top: 1.25rem;
}

.h2-large   { font-size: 2rem; }     /* 32px */
.h2-mini    { font-size: 1.375rem; color: var(--accent-dark); margin-bottom: 0.9rem; }

/* ---------- 4. Buttons (§4.3) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;        /* 17px */
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1rem 1.875rem;       /* 16px 30px */
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  border-color: var(--on-dark-border);
  color: var(--on-dark-heading);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--on-dark-body-soft);
  color: var(--on-dark-heading);
}

.btn-nav {
  font-size: 1.25rem;          /* 20px — header text, +6px per request */
  padding: 0.75rem 1.375rem;    /* 12px 22px */
}

.btn-block { display: block; width: 100%; }

.text-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.section-dark .text-link { color: var(--accent-light); }

/* ---------- 5. Icons ---------- */
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-accent { stroke: var(--accent-dark); }
.icon-card   { stroke: var(--accent); width: 26px; height: 26px; }
.icon-lg     { width: 32px; height: 32px; }

/* ---------- 6. Header / nav (§5.1) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-white);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;          /* 24px */
  padding-bottom: 1.5rem;
}

.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 68px; width: auto; }

.nav-menu { display: flex; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 1.28125rem;       /* 20.5px — header text, +6px per request */
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero (§6.1) ---------- */
.hero { padding: 5.5rem 0 6rem; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-copy  { flex: 1 1 0; min-width: 0; }
.hero-media { flex: 1 1 0; min-width: 0; }

.hero h1 {
  font-size: 2.875rem;         /* 46px */
  line-height: 1.18;
  color: var(--on-dark-heading);
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: 1.15625rem;       /* 18.5px */
  line-height: 1.6;
  color: var(--on-dark-body);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero-carriers {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* ---------- 8. Trust bar (§6.2) ---------- */
.trust-bar {
  background: var(--surface-white);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: stretch;
}
.trust-item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  text-align: left;
  font-size: 1rem;             /* 16px */
  color: var(--body-copy);
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }

/* ---------- 9. What We Do / Why It Matters (§6.3) ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;                  /* 56px */
}

/* ---------- 10. Our Services cards (§6.4) ---------- */
.services-section { padding-top: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;                  /* 24px */
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.625rem;       /* 32px 26px */
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover {
  border-color: #cfcfcf;
  box-shadow: 0 2px 10px rgba(35, 35, 35, 0.06);
}

/* Top row (cards 1-3: Group Health, Medicare, Individual & Family) — a softened,
   less saturated green (--accent-mid) rather than the full-vividness --accent
   buttons use, per request. Dark ink text/icons (kept from the previous pass) —
   ~7.6:1, comfortably accessible regardless of exactly how saturated this green is.
   Bottom row (cards 4-6: Life, Disability, Long-Term Care) — gray
   (--body-copy-soft), white text, ~5.7:1 with white — unchanged. */
.card:nth-child(-n+3) { --card-fill: var(--accent-mid); --card-text: var(--ink); }
.card:nth-child(n+4)  { --card-fill: var(--body-copy-soft); --card-text: var(--on-dark-heading); }
.card:nth-child(-n+3),
.card:nth-child(n+4) {
  background: var(--card-fill);
  border-color: var(--card-fill);
}
.card:nth-child(-n+3):hover,
.card:nth-child(n+4):hover {
  border-color: var(--card-fill);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.card:nth-child(-n+3) .icon-card,
.card:nth-child(n+4) .icon-card,
.card:nth-child(-n+3) h3,
.card:nth-child(n+4) h3,
.card:nth-child(-n+3) p,
.card:nth-child(n+4) p,
.card:nth-child(-n+3) .card-link,
.card:nth-child(n+4) .card-link {
  color: var(--card-text);
}
.card:nth-child(-n+3) .icon-card,
.card:nth-child(n+4) .icon-card {
  stroke: var(--card-text);
}
.card:nth-child(-n+3) .card-link:hover,
.card:nth-child(n+4) .card-link:hover {
  color: var(--card-text);
  text-decoration: underline;
}

.card .icon-card { margin-bottom: 1.125rem; }
.card h3 {
  font-size: 1.375rem;         /* 22px — one size up from 18px, plus +2px page-wide */
  color: var(--body-copy-faint);
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 1rem;             /* 16px */
  color: var(--body-copy-soft);
  margin-bottom: 1.125rem;
}
.card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.96875rem;       /* 15.5px */
  font-weight: 600;
  color: var(--accent-dark);
}

/* ---------- 11. Product sections (§6.5–6.10) ---------- */
.product-grid {
  display: flex;
  align-items: flex-start;
  gap: 4rem;                    /* 64px */
}
.product-copy,
.product-list { flex: 1 1 0; min-width: 0; }

.product-section h2 {
  font-size: 1.75rem;          /* 28px */
  line-height: 1.3;
  margin-bottom: 1.125rem;
}
.product-copy .text-link { margin-top: 0.5rem; }

.list-label {
  font-family: var(--font-heading);
  font-size: 0.96875rem;       /* 15.5px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.125rem;
}

/* Checklists — green check drawn as an inline SVG background */
.checklist li {
  position: relative;
  padding-left: 1.875rem;
  margin-bottom: 0.875rem;
  font-size: 1.03125rem;       /* 16.5px */
  line-height: 1.6;
  color: var(--body-copy);
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.125rem;
  height: 1.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e7427' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9 17.5 20 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.checklist-lg li {
  margin-bottom: 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- 12. Ancillary callout (§6.11) ---------- */
.ancillary-wrap { padding-bottom: var(--section-pad); background: var(--surface-white); }

.ancillary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--surface-tint);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;        /* 32px 36px */
}
.ancillary-body {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
}
.ancillary-card h3 {
  font-size: 1.1875rem;        /* 19px */
  margin-bottom: 0.4rem;
}
.ancillary-card p {
  font-size: 1.03125rem;
  line-height: 1.6;
  max-width: 52em;
}
.ancillary-card .text-link { white-space: nowrap; }

/* ---------- 13. How It Benefits You (§6.12) ---------- */
.benefits-section { background: var(--surface-white); }
.benefits-close {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- 14. Quote form (§6.13, §7) ---------- */
.quote-grid {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}
.quote-intro,
.quote-card { flex: 1 1 0; min-width: 0; }

.quote-intro .on-dark-body {
  color: var(--on-dark-body);
  max-width: 34em;
}
.on-dark-divider {
  border: 0;
  border-top: 1px solid var(--on-dark-line);
  margin: 2rem 0 1.5rem;
}
.talk-label {
  font-size: 1rem;
  color: var(--on-dark-body-soft);
  margin-bottom: 0.4rem;
}
.talk-phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.talk-phone a { color: var(--on-dark-heading); }
.talk-phone a:hover { color: var(--accent-light); }
.talk-email a { color: var(--accent-light); font-size: 1.0625rem; }

.quote-card {
  background: var(--surface-white);
  border-radius: var(--radius-card);
  padding: 2.25rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.field { margin-bottom: 1.125rem; }
.field-grid .field { margin-bottom: 0; }
.field-grid + .field,
.field-grid + .field-grid { margin-top: 1.125rem; }

.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;        /* 15px */
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--surface-white);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #a0a0a0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(78, 116, 39, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #b3261e; }

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #b3261e;
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--body-copy-faint);
}

/* Honeypot — kept out of view without display:none so bots still fill it (§7.3) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#quote-submit { margin-top: 1.5rem; padding: 1rem 1.5rem; }

.form-status {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #b3261e;
}

.quote-success { text-align: center; padding: 1.5rem 0.5rem; }
.quote-success .icon { margin: 0 auto 1rem; }
.quote-success h3 { font-size: 1.375rem; margin-bottom: 0.6rem; }
.quote-success p { font-size: 1.0625rem; color: var(--body-copy); }

/* ---------- 15. FAQ (§6.14) ---------- */
.faq-subtitle { color: var(--body-copy-faint); font-size: 1.0625rem; margin-top: 0.75rem; }
.faq-updated  { color: var(--body-copy-faint); font-size: 0.9375rem; margin-top: 0.35rem; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0; }

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15625rem;       /* 18.5px */
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.faq-question:hover { color: var(--accent-dark); }

.faq-icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3em;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer { padding: 0 0 1.5rem; max-width: 62em; }
.faq-answer p {
  font-size: 1.03125rem;       /* 16.5px */
  line-height: 1.65;
  color: var(--body-copy);
}
.faq-source { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--body-copy-faint); }

/* Accordion state is applied by JS only — with JS off every answer stays open
   so crawlers and non-JS visitors still get the full text (§6.14 note). */
.js .faq-answer[hidden] { display: none; }

.faq-reviewer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--body-copy-faint);
}

/* ---------- 16. About (§6.15) ---------- */
.about-section { background: var(--surface-tint-2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 620px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-bottom: 1.25rem;
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-title { font-size: 1rem; color: var(--body-copy-soft); margin: 0; }

/* ---------- 17. Testimonial (§6.16) ---------- */
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote { margin: 0 0 1.25rem; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.5rem;           /* 24px */
  font-weight: 500;
  line-height: 1.5;
  color: var(--on-dark-heading);
}
.testimonial figcaption {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
}

/* ---------- 18. Final CTA (§6.17) ---------- */
.final-cta { background: var(--surface-tint); padding: 3.5rem 0; }
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.final-cta h2 { font-size: 1.6875rem; margin-bottom: 0.35rem; }  /* 27px */
.final-cta p { color: var(--body-copy); }

/* ---------- 19. Footer (§5.2) ---------- */
.site-footer {
  background: var(--ink);
  padding: 3rem 0;              /* 48px */
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img { height: 35px; width: auto; margin-bottom: 1.25rem; }
.footer-address,
.footer-contact,
.footer-legal {
  font-size: 0.96875rem;       /* 15.5px */
  color: var(--on-dark-body-soft);
  margin-bottom: 0.4rem;
}
.footer-contact a,
.footer-legal a { color: var(--on-dark-link); }
.footer-contact a:hover,
.footer-legal a:hover { color: var(--accent-light); }
.footer-legal { margin-top: 1rem; }

.footer-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;         /* 14px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-label);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  font-size: 0.96875rem;
  color: var(--on-dark-link);
}
.footer-col ul a:hover { color: var(--accent-light); }

.footer-disclosure p:not(.footer-label) {
  max-width: 300px;
  font-size: 0.875rem;         /* 14px */
  line-height: 1.6;
  color: var(--on-dark-label);
}

/* ---------- 20. Legal pages (privacy / terms) ---------- */
.legal-page { padding: 4.5rem 0 5.5rem; }
.legal-page h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.legal-page h2 { font-size: 1.375rem; margin: 2.25rem 0 0.75rem; }
.legal-page .legal-updated { color: var(--body-copy-faint); font-size: 1rem; margin-bottom: 2rem; }
.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.15em;
}
.legal-page ul li { margin-bottom: 0.5rem; }
.legal-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--body-copy-faint);
}

/* =========================================================================
   21. Responsive (§4.4)
   ========================================================================= */

/* Tablet — 768px to 1199px */
@media (max-width: 1199px) {
  :root { --gutter: 2.75rem; --section-pad: 4.5rem; }

  .hero h1 { font-size: 2.5rem; }        /* 40px */
  .hero-inner,
  .product-grid,
  .quote-grid { gap: 2.5rem; }             /* ~40px */

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav-links { gap: 1.375rem; }
  .nav-inner { gap: 1.25rem; }
  .nav-links a { font-size: 1.25rem; }   /* header text, +6px */
}

/* Narrow tablet — stack the two-column product rows before they get cramped */
@media (max-width: 960px) {
  .product-grid,
  .quote-grid,
  .hero-inner { flex-direction: column; align-items: stretch; }

  .intro-grid { grid-template-columns: 1fr; gap: 2.25rem; }

  .hero-media { display: none; }           /* photo omitted on small screens (§4.4) */

  .trust-inner { flex-wrap: wrap; }
  .trust-item { flex: 1 1 50%; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Mobile — under 768px */
@media (max-width: 767px) {
  :root { --gutter: 1.25rem; --section-pad: 3.5rem; }

  html { scroll-padding-top: 5.5rem; }

  /* --- collapsed nav --- */
  .nav-inner { flex-wrap: wrap; gap: 0.75rem; }
  .nav-toggle { display: flex; order: 2; }
  .btn-nav { order: 3; }
  .nav-logo img { height: 56px; }

  .nav-menu {
    order: 4;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
  }
  .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { display: block; padding: 0.75rem 0; font-size: 1.375rem; }

  /* --- content --- */
  .hero { padding: 3.5rem 0 4rem; }
  .hero h1 { font-size: 2.125rem; }            /* 34px */
  .hero-subhead { font-size: 1.125rem; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .h2-large { font-size: 1.625rem; }
  .product-section h2 { font-size: 1.5625rem; }
  .final-cta h2 { font-size: 1.5rem; }

  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }

  .trust-item {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding: 1rem 0;
    border-left: 0 !important;
  }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }

  .ancillary-card { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.5rem; }

  .quote-card { padding: 1.5rem 1.25rem; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .field { margin-bottom: 1.125rem; }
  .field-grid .field:last-child { margin-bottom: 0; }

  .faq-question { font-size: 1.125rem; gap: 1rem; }

  .testimonial blockquote p { font-size: 1.3125rem; }

  .final-cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-disclosure p:not(.footer-label) { max-width: none; }

  .section-head-centered { margin-bottom: 2rem; }
}

/* ---------- 22. Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-ctas, .final-cta, .quote-card { display: none; }
  body { color: #000; }
  .section-dark { background: #fff; }
  .section-dark h1, .section-dark h2, .section-dark h3 { color: #000; }
  .js .faq-answer[hidden] { display: block !important; }
}
