/* thinQdata — site styles
   Signature: the logo's navy corner bracket + red square, used to frame photos and mark "you are here". */

:root {
  --sky: #0098e0;        /* logo blue: large accents only */
  --blue: #0369a1;       /* accessible blue for links + buttons */
  --navy: #00306a;       /* logo bracket */
  --navy-deep: #00224d;
  --ink: #0f2236;
  --slate: #4a5b6e;
  --paper: #f3f7fb;
  --line: #dce5ee;
  --red: #d20a11;        /* the square: markers only */
  --white: #fff;

  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(6, 63, 120, .06), 0 8px 24px -12px rgba(6, 63, 120, .25);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 300 17px/1.65 var(--font);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 500; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.small { font-size: .92rem; }
.muted { color: var(--slate); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 38em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff;
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-small { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn-outline, .btn-ghost { background: transparent; color: var(--blue); }
.btn-outline:hover, .btn-ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- the frame (logo bracket + square) ---------- */
.frame { position: relative; margin: 0; --b: clamp(10px, 1.4vw, 16px); }
.frame img, .frame > .slide { border-radius: var(--radius); width: 100%; object-fit: cover; }
.frame::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: calc(var(--b) * -1); right: calc(var(--b) * -1); width: 32%; height: 32%;
  border-top: var(--b) solid var(--navy); border-right: var(--b) solid var(--navy); border-top-right-radius: calc(var(--b) * .8);
}
.frame::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: calc(var(--b) * .9); right: calc(var(--b) * .9); width: calc(var(--b) * 2.6); height: calc(var(--b) * 2.6);
  background: var(--red); border-radius: 3px;
}
.frame-tall img { aspect-ratio: 4 / 5; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu-item { position: relative; display: flex; align-items: center; }
.menu-item > a {
  position: relative; display: block; padding: 10px 10px; color: var(--ink); text-decoration: none; font-weight: 400; font-size: .97rem; white-space: nowrap;
}
.menu-item > a:hover { color: var(--blue); }
.menu-item.is-current > a, .menu-item.is-parent > a { color: var(--navy); font-weight: 500; }
.menu-item.is-current > a::after, .menu-item.is-parent > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; margin-left: -3.5px; background: var(--red); border-radius: 1.5px;
}
.sub-toggle { border: 0; background: none; color: var(--slate); padding: 6px 4px 6px 0; margin-left: -8px; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.sub-toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); color: var(--navy); }
.sub a[aria-current] { font-weight: 500; }
@media (hover: hover) and (min-width: 1201px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open > .sub-toggle .ic { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-phone .ic { color: var(--sky); }
.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .brand img { width: 168px; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav-toggle .ic { width: 24px; height: 24px; grid-area: 1 / 1; }
  .nav-toggle .shut, .nav-open .nav-toggle .open { display: none; }
  .nav-open .nav-toggle .shut { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; margin: 0; padding: 12px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  .menu { flex-direction: column; gap: 0; }
  .menu-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu-item > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; }
  .menu-item.is-current > a::after, .menu-item.is-parent > a::after { left: -12px; top: 50%; bottom: auto; margin: -3.5px 0 0; }
  .sub-toggle { margin: 0; width: 46px; height: 46px; }
  .sub-toggle .ic { width: 20px; height: 20px; }
  .sub { position: static; flex-basis: 100%; display: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open > .sub { display: block; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nav-cta .btn { justify-content: center; }
  .nav-phone { justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 999px; }
}

/* ---------- home hero ---------- */
.hero-home { background: linear-gradient(180deg, var(--paper), #fff); padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-home-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rotator { display: grid; margin-bottom: .45em; }
.rot { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; }
.rot.on { opacity: 1; }
.hero-home-media { aspect-ratio: 5 / 4; }
.hero-home-media .slide { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.hero-home-media .slide.on { opacity: 1; }
.hero-points { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--slate); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--sky); }
@media (max-width: 860px) {
  .hero-home-grid { grid-template-columns: 1fr; }
  .hero-home-media { order: -1; aspect-ratio: 16 / 10; margin-right: 12px; }
}

/* ---------- inner hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-compact { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4,43,82,.94) 0%, rgba(6,63,120,.82) 45%, rgba(6,63,120,.45) 100%); }
.hero h1 { color: #fff; max-width: 18em; }
.hero .lede { color: rgba(255,255,255,.86); }
.hero-plain { color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-plain::before { display: none; }
.hero-plain h1 { color: var(--navy); }
.hero-plain .lede { color: var(--slate); }
.crumbs { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 18px; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.88); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.hero-plain .crumbs, .hero-plain .crumbs a { color: var(--slate); }

/* ---------- sections ---------- */
main > section, main > header.section-head { margin-block: clamp(56px, 8vw, 104px); }
main > .hero, main > .hero-home { margin-top: 0; }
main > header.section-head { margin-bottom: 28px; }
main > header.section-head + section { margin-top: 0; }
.section-head h2 { max-width: 20em; }
.section-head p { color: var(--slate); max-width: 40em; }
.rich > :last-child { margin-bottom: 0; }
.rich ul, .rich ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.rich li { margin-bottom: .35em; }
.rich ul li::marker { color: var(--sky); }
.rich h3 { margin-top: 1.6em; }
.rich h4 { margin-top: 1.2em; color: var(--ink); }

/* stats */
.stats-row { margin-block: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 0 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.stat dt { margin-top: 10px; color: var(--slate); font-size: .95rem; }
.page-home .stats { margin-top: 0; }
.stats-band { background: var(--navy); padding-block: clamp(40px, 6vw, 72px); }
.stats-title { color: #fff; margin-bottom: 24px; }
.stats-band .stats-row { border: 0; }
.stats-band .stat { border-color: rgba(255,255,255,.18); }
.stats-band .stat dd { color: #fff; }
.stats-band .stat dt { color: rgba(255,255,255,.75); }
.on-dark-prev { margin-bottom: 0 !important; padding-top: 0; }
@media (max-width: 720px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row[style*="--n:3"] { grid-template-columns: repeat(3, 1fr); }
  .stats-row[style*="--n:3"] .stat { padding-left: 14px; }
  .stats-row[style*="--n:3"] .stat:first-child { padding-left: 0; }
  .stats-row[style*="--n:3"] .stat:nth-child(3) { border-left: 1px solid var(--line); padding-left: 14px; }
  .stats-row[style*="--n:3"] .stat:nth-child(n+3) { border-top: 0; }
  .stats-row[style*="--n:3"] dd { font-size: 1.6rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-band .stat:nth-child(n+3) { border-color: rgba(255,255,255,.18); }
}

/* split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-rev .frame { order: -1; }
.split-copy .rich { color: var(--slate); }
.split-copy .rich p { max-width: 36em; }
.checks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checks .ic { color: #fff; background: var(--sky); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .split .frame { order: -1; margin-right: 12px; }
  .frame-tall img { aspect-ratio: 16 / 11; }
}

/* directory */
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line); }
.dir-row { border-bottom: 1px solid var(--line); }
.dir-link { display: grid; grid-template-columns: 108px 1fr 40px; gap: 20px; align-items: center; padding: 20px 8px; text-decoration: none; color: var(--ink); border-radius: 8px; transition: background .2s; }
.dir-link:hover { background: var(--paper); color: var(--ink); }
.dir-logo { background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 60px; display: grid; place-items: center; padding: 8px; }
.dir-logo img { max-height: 42px; width: auto; }
.dir-wordmark { font-weight: 600; color: var(--navy); font-size: .95rem; letter-spacing: -0.01em; }
.dir-wordmark.big { font-size: 1.6rem; }
.dir-text strong { display: block; font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.dir-text span { font-size: .93rem; color: var(--slate); line-height: 1.5; }
.dir-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); transition: transform .2s, background .2s, color .2s; }
.dir-link:hover .dir-go { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateX(3px); }
@media (max-width: 860px) { .dir-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .dir-link { grid-template-columns: 76px 1fr; gap: 14px; } .dir-go { display: none; } .dir-logo { height: 52px; } }

/* features (values) */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.feature { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.feature-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--paper); color: var(--navy); margin-bottom: 16px; }
.feature-ic .ic { width: 26px; height: 26px; }
.feature p { color: var(--slate); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* logos */
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.logo-row a { display: grid; place-items: center; height: 84px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-row a:hover { filter: none; opacity: 1; }
.logo-row img { max-height: 52px; width: auto; }
@media (max-width: 900px) { .logo-row { grid-template-columns: repeat(4, 1fr); } }

/* testimonials */
.voices { background: var(--paper); padding-block: clamp(56px, 7vw, 88px); }
.voices-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.voices-head h2 { margin: 0; }
.voices-head p { margin: 0; color: var(--slate); }
.voices-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 20px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.voice { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; scroll-snap-align: start; }
.voice blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); font-weight: 400; }
.voice blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .7; color: var(--sky); font-weight: 600; margin-bottom: 10px; }
.voice figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--slate); }
.voice figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.voice figcaption strong { display: block; color: var(--navy); font-weight: 500; }
@media (max-width: 760px) { .voices-head { grid-template-columns: 1fr; gap: 12px; } }

/* link cards */
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.link-card { position: relative; display: block; padding: 28px 64px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--slate); transition: border-color .2s, background .2s; }
.link-card strong { display: block; color: var(--navy); font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; }
.link-card .ic { position: absolute; right: 26px; top: 50%; margin-top: -11px; width: 22px; height: 22px; color: var(--blue); transition: transform .2s; }
.link-card:hover { border-color: var(--sky); background: var(--paper); color: var(--slate); }
.link-card:hover .ic { transform: translateX(4px); }
@media (max-width: 700px) { .link-cards { grid-template-columns: 1fr; } }

/* CTA */
.cta { background: var(--navy); color: #fff; margin-bottom: 0 !important; padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-top: 28px solid rgba(0,152,224,.35); border-right: 28px solid rgba(0,152,224,.35); border-top-right-radius: 22px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); max-width: 34em; margin: 0; }
.cta .actions { margin: 0; flex: none; }
@media (max-width: 860px) { .cta-inner { flex-direction: column; align-items: flex-start; } }
main > section.voices + section.cta { margin-top: 0; }
main > section.voices { margin-bottom: 0; }

/* article (provider pages) */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.article.has-side { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.article-main .rich { max-width: 42em; }
.article-logo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-logo img { max-height: 56px; width: auto; }
.ext { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: .95rem; white-space: nowrap; }
.article-img { margin-top: 40px; margin-right: 12px; }
.article-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.side-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 500; color: var(--navy); }
.side-card summary::-webkit-details-marker { display: none; }
.side-card summary .ic { transition: transform .2s; color: var(--slate); }
.side-card[open] summary .ic { transform: rotate(180deg); }
.side-card .rich { padding: 0 20px 20px; overflow-wrap: anywhere; }
.side-card .rich h4 { font-size: .95rem; margin: 1em 0 .3em; }
.side-card .rich p, .side-card .rich li { margin-bottom: .4em; }
@media (max-width: 960px) {
  .article.has-side { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
.mini-dir { border-top: 1px solid var(--line); padding-top: 32px; }
.mini-dir h2 { font-size: 1.15rem; color: var(--ink); }
.mini-dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mini-dir a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-size: .95rem; }
.mini-dir a:hover { border-color: var(--blue); background: var(--paper); }

/* prose */
.prose .rich { max-width: 44em; }
.prose-lead .rich p:first-child { font-size: 1.25rem; color: var(--navy); font-weight: 400; line-height: 1.55; }
.prose-lead .rich p { color: var(--slate); }
.prose-legal .rich { font-size: .98rem; }
.prose-legal .rich h3, .prose-legal .rich p > strong:only-child { color: var(--navy); }
.prose-legal .rich p > strong:only-child { display: block; margin-top: 1.4em; font-weight: 600; }

/* tables (test day: rescheduling by provider) */
.rich table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.rich th, .rich td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.rich th { color: var(--navy); font-weight: 500; white-space: nowrap; }
.rich thead th { font-size: .88rem; color: var(--slate); font-weight: 400; border-bottom-width: 2px; }
.rich h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.notice-box { border-left: 4px solid var(--red); background: var(--paper); padding: 16px 20px; border-radius: 0 8px 8px 0; color: var(--ink); }
@media (max-width: 640px) {
  .rich table, .rich tbody, .rich tr, .rich td, .rich th { display: block; width: 100%; }
  .rich thead { display: none; }
  .rich tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .rich th, .rich td { border: 0; padding: 4px 0; white-space: normal; }
}

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.loc-list { list-style: none; margin: 0 0 24px; padding: 0; }
.loc { padding: 22px 0; border-bottom: 1px solid var(--line); }
.loc:first-child { border-top: 1px solid var(--line); }
.loc h3 { margin-bottom: 8px; }
.loc-addr { display: flex; gap: 10px; color: var(--slate); margin-bottom: 10px; }
.loc-addr .ic { color: var(--sky); margin-top: 4px; }
.loc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.loc-links a, .loc-email { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.loc-email { color: var(--slate); }
.loc-email .ic { color: var(--sky); }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.contact-form > p { color: var(--slate); }
.form { display: grid; gap: 16px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 400; font-size: .95rem; color: var(--ink); }
.form .opt { color: var(--slate); font-weight: 300; }
.form input, .form textarea {
  font: 300 1rem/1.4 var(--font); color: var(--ink); width: 100%; padding: 12px 14px; border: 1px solid #c3d0dd; border-radius: 8px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,105,161,.18); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: 8px; font-weight: 400; }
.notice-ok { background: #e7f6ec; color: #135c2c; }
.notice-warn { background: #fff6e0; color: #6b4a00; }
.notice-err { background: #fdeaea; color: #8a1116; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* organizations enquiry */
.org-form { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.org-form-intro p { color: var(--slate); max-width: 30em; }
.form select { font: 300 1rem/1.4 var(--font); color: var(--ink); width: 100%; padding: 12px 14px; border: 1px solid #c3d0dd; border-radius: 8px; background: #fff; }
@media (max-width: 900px) { .org-form { grid-template-columns: 1fr; } }

/* embed */
.embed iframe { width: 100%; height: 80vh; min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); font-size: .95rem; padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-contact { display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ic { color: var(--sky); }
.footer-col h2 { font-size: 1rem; color: #fff; font-weight: 500; letter-spacing: 0; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: rgba(255,255,255,.82); }
.footer-locs strong { color: #fff; font-weight: 500; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.footer-base p { margin: 0; }
.legal { display: flex; gap: 20px; }
.legal a { color: rgba(255,255,255,.78); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.call-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 8px 20px -6px rgba(210,10,17,.6);
}
.call-fab .ic { width: 24px; height: 24px; }
.call-fab:hover { color: #fff; background: #b0080e; }
@media (min-width: 1201px) { .call-fab { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .call-fab, .cta { display: none; }
  .hero { color: var(--ink); padding: 0; } .hero::before, .hero-bg { display: none; } .hero h1 { color: var(--navy); }
}
