/* ==========================================================================
   Verified RCM "Lake" design system (home page, phase 1)
   --------------------------------------------------------------------------
   Ported from the Belleville Lake Pediatrics site and adapted for an RCM
   audience. Text is pure black on white; every colour lives in the section
   bands, tiles, buttons and artwork, never in the type. This file is hand
   written and stands alone: it is NOT built by css/build.js and interior
   pages still load css/style.css until the rollout reaches them.
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset, no third-party request) */
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Quicksand-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/NunitoSans-Variable-latin.woff2") format("woff2");
}

/* 2. Tokens */
:root {
  --ink: #000000; --ink-soft: #1A1A1A; --ink-faint: #454545;
  --paper: #FFFFFF; --surface: #FFFFFF; --surface-2: #F4FAFE;

  --hull: #0B3B5E; --lake: #0E86C8; --lake-deep: #0A6497; --lake-deeper: #084F79;
  --sky: #63C6F0; --mist: #D6EEFB;

  --sun: #FFC02E; --coral: #FF7A5C; --leaf: #25C08D; --grape: #A98BEE;
  --oak: #E3B87D; --oak-deep: #A8793A;

  --band-sky: #D6EEFB; --band-sun: #FFF0CC; --band-mint: #D5F5E9;
  --band-blush: #FFE3DB; --band-grape: #ECE4FC;

  --line: #CFE2EF; --line-strong: #6E90A8; --line-soft: #E4F0F8; --danger: #C1553F;

  --shadow-sm: 0 1px 2px rgba(11,59,94,.08);
  --shadow-md: 0 10px 30px rgba(11,59,94,.13);

  --display: "Quicksand", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px; --measure: 68ch; --pad: 24px; --radius: 18px;
}

/* 3. Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--lake-deep); text-underline-offset: 3px; }
a:hover { color: var(--hull); }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 200; background: var(--hull); color: var(--paper);
  padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600;
  transform: translateY(-120%); transition: transform .15s;
}
.skip-link:focus { transform: none; }

/* 4. Layout primitives */
.shell { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.band { padding-top: 76px; padding-bottom: 76px; }
.band-tight { padding-top: 52px; padding-bottom: 52px; }
.band-sky { background: var(--band-sky); }
.band-sun { background: var(--band-sun); }
.band-mint { background: var(--band-mint); }
.band-blush { background: var(--band-blush); }
.band-grape { background: var(--band-grape); }
.band-surface { background: var(--surface); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 66ch; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* 5. Typography */
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.006em; line-height: 1.18;
}
h1 { font-size: clamp(1.95rem, 4.1vw, 2.8rem); line-height: 1.12; letter-spacing: -.012em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h4 { font-family: var(--body); font-weight: 700; font-size: 1.03rem; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.eyebrow {
  font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--lake-deep); margin: 0 0 .4em;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 64ch; }
.muted { color: var(--ink-faint); }
.stat-big { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* 6. Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: .9rem; font-weight: 600; line-height: 1;
  padding: 13px 20px; border-radius: 99px; text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--lake-deep); color: var(--paper); border-color: var(--lake-deep); }
.btn-solid:hover { background: var(--lake-deeper); border-color: var(--lake-deeper); color: var(--paper); }
.btn-line { background: transparent; color: var(--lake-deep); border-color: var(--sky); }
.btn-line:hover { border-color: var(--lake); background: var(--mist); color: var(--lake-deep); }
.btn-sun { background: var(--sun); color: #2A1F10; border-color: var(--sun); }
.btn-sun:hover { background: #F5B21A; border-color: #F5B21A; color: #2A1F10; }
.btn-lg { font-size: .97rem; padding: 16px 28px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* 7. Top bar and header */
.topbar { background: var(--surface-2); border-bottom: 1px solid var(--line-soft); font-size: .83rem; color: var(--ink-soft); }
.topbar .shell { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--lake-deep); }
.topbar .sep { color: var(--line); }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.site-header .shell { max-width: 1320px; }
.masthead { display: flex; align-items: center; gap: 14px; min-height: 84px; min-width: 0; }
.masthead > * { min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lake-deep); margin-top: 4px; }

.nav-main { display: flex; align-items: center; gap: 2px; }
.nav-main > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-main > ul > li { position: relative; }
.nav-main a.nav-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; padding: 9px 11px; border-radius: 8px; white-space: nowrap; transition: color .15s, background-color .15s;
}
.nav-main a.nav-link:hover, .nav-main li:focus-within > a.nav-link, .nav-main li:hover > a.nav-link { color: var(--hull); background: var(--surface-2); }
.nav-main a.nav-link svg { width: 12px; height: 12px; opacity: .6; }
.mega {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 70;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 22px 24px; display: grid; gap: 26px; grid-template-columns: repeat(4, minmax(160px, 1fr));
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.mega-2 { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
.nav-main li:hover > .mega, .nav-main li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.nav-main li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.mega-col { display: flex; flex-direction: column; gap: 3px; }
.mega-title { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lake-deep); margin-bottom: 6px; }
.mega a { font-size: .88rem; color: var(--ink); text-decoration: none; padding: 5px 8px; border-radius: 7px; }
.mega a:hover { background: var(--mist); color: var(--hull); }
.mega a.see-all { color: var(--lake-deep); font-weight: 700; margin-top: 4px; }
.nav-main li.mega-right > .mega { left: auto; right: 0; }

.hdr-cta { display: flex; gap: 8px; align-items: center; flex: none; }
.hdr-cta .btn { padding: 12px 16px; font-size: .86rem; }
.burger, .x-btn {
  display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--hull); flex: none;
}
.x-btn { display: inline-flex; width: 42px; height: 42px; font-size: 1.2rem; line-height: 1; }

/* Search (markup and behaviour come from js/main.js) */
.nav-search { position: relative; display: flex; align-items: center; flex: none; }
.nav-search-icon { position: absolute; left: 12px; color: var(--ink-faint); pointer-events: none; }
.nav-search-input {
  font: inherit; font-size: .86rem; width: 150px; padding: 10px 12px 10px 34px;
  border: 1.5px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--ink); transition: width .2s, border-color .15s;
}
.nav-search-input:focus { width: 230px; border-color: var(--sky); outline: none; background: var(--surface); }
.nav-search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 360px; max-height: 380px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px; display: none; z-index: 80;
}
.nav-search-results.open { display: block; }
.search-hint, .search-empty { font-size: .84rem; color: var(--ink-faint); padding: 10px 12px; margin: 0; }
.search-result { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.search-result:hover, .search-result.active { background: var(--mist); }
.search-result-title { font-weight: 700; font-size: .9rem; display: block; }
.search-result-cat { font-size: .72rem; color: var(--lake-deep); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* 8. Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(21,40,58,.5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(360px, 88vw); background: var(--surface); padding: 20px;
  overflow-y: auto; transform: translateX(100%); transition: transform .24s ease; display: flex; flex-direction: column;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav a { display: block; padding: 12px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid var(--line-soft); }
.drawer-nav details { border-bottom: 1px solid var(--line-soft); }
.drawer-nav summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px; font-weight: 600; font-size: 1.02rem; border-radius: 10px; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; color: var(--lake-deep); font-weight: 800; }
.drawer-nav details[open] summary::after { content: "−"; }
.drawer-nav details a { font-size: .93rem; font-weight: 500; padding: 9px 12px 9px 22px; border: 0; color: var(--ink-soft); }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* 9. Wave divider */
.wave { display: block; width: 100%; height: 96px; background: var(--mist); margin-bottom: -1px; }
.wave path { stroke: none; }
.wave .wv-back { fill: var(--sky); opacity: .48; }
.wave .wv-mid { fill: var(--lake); opacity: .30; }
.wave .wv-front { fill: var(--paper); }
.wave-on-sun .wv-front { fill: var(--band-sun); }
.wave-on-mint .wv-front { fill: var(--band-mint); }

/* 10. Hero */
.hero { background: var(--mist); position: relative; overflow: hidden; isolation: isolate; }
.hero > .shell, .hero > .wave { position: relative; z-index: 1; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; user-select: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-top: 68px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-copy h1 { margin: 0; max-width: 18ch; }
.hero-copy .lede { margin: 0; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 15px; font-size: .8rem; font-weight: 700; color: #000; }
.pill-row .pill:nth-child(3n+1) { background: var(--sky); border-color: var(--sky); }
.pill-row .pill:nth-child(3n+2) { background: var(--sun); border-color: var(--sun); }
.pill-row .pill:nth-child(3n+3) { background: var(--leaf); border-color: var(--leaf); }

/* Hero visual: a photo with a floating "claim status" card on it. */
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; background: var(--surface-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 14px 16px; border: 1px solid var(--line);
}
.float-claims { left: -40px; bottom: 28px; width: 330px; }
.float-claims .fc-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-deep); margin-bottom: 8px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; color: var(--ink-faint); letter-spacing: .06em; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(37,192,141,.25); }
.fc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: .82rem; }
.fc-row:first-of-type { border-top: 0; }
.fc-row b { font-family: var(--display); font-size: .78rem; color: var(--hull); }
.fc-row span { flex: 1; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; color: #000; }
.status.paid { background: var(--leaf); } .status.accepted { background: var(--sky); } .status.review { background: var(--sun); } .status.denied { background: var(--coral); }
.fc-note { font-size: .66rem; color: var(--ink-faint); margin: 8px 0 0; max-width: none; }
.float-stat { right: -18px; top: 26px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.float-stat .stat-big { font-size: 1.7rem; color: var(--hull); }
.float-stat span { font-size: .72rem; font-weight: 700; color: var(--ink-soft); }

/* 11. Cards */
.cards { display: grid; gap: 20px; }
.c2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.c3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.c4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 11px; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; max-width: none; }
a.card { text-decoration: none; color: inherit; transition: border-color .16s, box-shadow .16s, transform .16s; }
a.card:hover { border-color: var(--sky); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .arrow { color: var(--lake-deep); font-weight: 700; font-size: .85rem; margin-top: auto; padding-top: 6px; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); display: flex; align-items: center; justify-content: center; color: #000; flex: none; }
.ico svg { width: 22px; height: 22px; }
.cards > :nth-child(5n+2) .ico { background: var(--sun); }
.cards > :nth-child(5n+3) .ico { background: var(--leaf); }
.cards > :nth-child(5n+4) .ico { background: var(--coral); }
.cards > :nth-child(5n+5) .ico { background: var(--grape); }
.cards > * { position: relative; overflow: hidden; }
.cards > *::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sky); }
.cards > :nth-child(5n+2)::before { background: var(--sun); }
.cards > :nth-child(5n+3)::before { background: var(--leaf); }
.cards > :nth-child(5n+4)::before { background: var(--coral); }
.cards > :nth-child(5n+5)::before { background: var(--grape); }

.actions3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: -46px; position: relative; z-index: 5; }
.action { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: transform .16s, border-color .16s; }
.action:hover { transform: translateY(-2px); border-color: var(--sky); }
.action h3 { margin: 0; }
.action p { flex: 1; font-size: .93rem; color: var(--ink-soft); max-width: none; margin: 0; }
.action .btn { align-self: stretch; }
.actions3 > :nth-child(2) .ico { background: var(--sun); }
.actions3 > :nth-child(3) .ico { background: var(--leaf); }

/* 12. Research + outcome (proof) */
.cite-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cite { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.cite::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--coral); }
.cite-grid > :nth-child(2)::before { background: var(--sun); }
.cite-grid > :nth-child(3)::before { background: var(--grape); }
.cite-grid > :nth-child(4)::before { background: var(--sky); }
.cite .stat-big { font-size: 2.5rem; color: var(--hull); }
.cite p { font-size: .93rem; color: var(--ink-soft); margin: 0; max-width: none; }
.cite-src { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-top: auto; padding-top: 6px; }
.cite-src a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line-strong); }
.cite-src a:hover { color: var(--lake-deep); }

.outcome { margin-top: 24px; background: var(--hull); color: var(--paper); border-radius: var(--radius); padding: 30px 32px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
.outcome h3 { color: var(--paper); font-size: 1.5rem; margin: 0 0 8px; }
.outcome p { color: var(--mist); margin: 0; font-size: .95rem; }
.outcome .eyebrow { color: var(--sun); }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 150px 1fr 74px; align-items: center; gap: 12px; font-size: .88rem; }
.bar-track { display: block; height: 12px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--pct); border-radius: 99px; background: var(--leaf); }
.bars > :nth-child(2) .bar-fill { background: var(--sky); }
.bars > :nth-child(3) .bar-fill { background: var(--sun); }
.bar b { font-family: var(--display); font-size: 1.05rem; text-align: right; font-variant-numeric: tabular-nums; }

/* 13. Service pillars */
.terms { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 28px; }
.term { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.term b { font-family: var(--display); font-size: 1.02rem; color: var(--hull); }
.term span { font-size: .82rem; color: var(--ink-soft); }
.pillar { padding: 0; overflow: hidden; }
.pillar-head { padding: 22px 24px 0; display: flex; align-items: center; gap: 14px; }
.pillar-body { padding: 14px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pillar-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--surface-2); border-top: 1px solid var(--line-soft); padding: 14px 24px; }
.pillar-stats div { display: flex; flex-direction: column; gap: 2px; }
.pillar-stats .stat-big { font-size: 1.35rem; color: var(--hull); }
.pillar-stats span { font-size: .7rem; font-weight: 700; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }
.scope { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.scope li { font-size: .78rem; font-weight: 600; background: var(--mist); border-radius: 99px; padding: 5px 11px; color: var(--ink-soft); }

/* 14. Feature band with photo, and onboarding steps */
.feature { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); border-radius: var(--radius); overflow: hidden; background: var(--hull); }
.feature > picture { display: block; height: 100%; min-height: 300px; }
.feature img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature-copy { padding: 44px 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.feature-copy h2, .feature-copy p { color: #FFFFFF; }
.feature-copy p { max-width: 48ch; }
.feature-copy .eyebrow { color: var(--sun); }
.feature-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #fff; font-size: .95rem; }
.feature-copy li { display: flex; gap: 10px; align-items: flex-start; }
.feature-copy li svg { flex: none; width: 18px; height: 18px; color: var(--leaf); margin-top: 3px; }
.feature-copy .btn-line { color: #fff; border-color: rgba(255,255,255,.5); align-self: flex-start; }
.feature-copy .btn-line:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); position: relative; }
.step-day { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--sky); color: #000; }
.steps > :nth-child(2) .step-day { background: var(--sun); }
.steps > :nth-child(3) .step-day { background: var(--leaf); }
.step h3 { margin: 0; }
.step p { margin: 0; font-size: .94rem; color: var(--ink-soft); max-width: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.tag { font-size: .74rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; color: var(--ink-soft); }

/* 15. Specialty index */
.spec-groups { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.spec-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.spec-group::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sky); }
.spec-groups > :nth-child(2)::before { background: var(--sun); }
.spec-groups > :nth-child(3)::before { background: var(--leaf); }
.spec-groups > :nth-child(4)::before { background: var(--coral); }
.spec-group-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; }
.spec-group-head h3 { margin: 0; font-size: 1.02rem; }
.spec-count { font-size: .7rem; font-weight: 800; background: var(--mist); border-radius: 99px; padding: 3px 9px; color: var(--hull); }
.spec-group ul { list-style: none; margin: 0; padding: 0; }
.spec-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 9px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line-soft); }
.spec-row:hover { background: var(--surface-2); }
.spec-row b { font-size: .92rem; font-weight: 700; display: block; }
.spec-row small { font-size: .77rem; color: var(--ink-faint); display: block; line-height: 1.35; }
.spec-row svg { flex: none; width: 15px; height: 15px; color: var(--lake-deep); }

/* 16. Growth split + tiles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-wide { grid-template-columns: 1.25fr .75fr; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.photo picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 16/10; }
.photo.tall { aspect-ratio: 4/5; }
.growth-tiles { margin-top: 36px; }
.growth-tiles .card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: .86rem; color: var(--ink-soft); }
.growth-tiles .card li { display: flex; gap: 8px; align-items: flex-start; }
.growth-tiles .card li svg { flex: none; width: 14px; height: 14px; margin-top: 4px; color: var(--lake-deep); }

/* 17. Compare */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-head { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.compare-head > div { padding: 14px 20px; font-family: var(--display); font-weight: 700; font-size: .98rem; }
.compare-head > div:last-child { background: var(--hull); color: #fff; }
.compare-row { border-top: 1px solid var(--line-soft); }
.compare-row > div { padding: 13px 20px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.compare-row > div:last-child { background: var(--band-mint); color: var(--ink); }
.compare-row .no, .compare-row .yes { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 800; margin-top: 2px; }
.compare-row .no { background: var(--band-blush); color: var(--danger); }
.compare-row .yes { background: var(--leaf); color: #000; }

/* 18. Reviews (rendered by js/main.js) */
.reviews-figs { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 26px; }
.reviews-fig { display: flex; flex-direction: column; gap: 2px; }
.reviews-fig .stat-big { color: var(--hull); }
.reviews-fig span { font-size: .8rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.reviews-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; }
.quote-card { flex: 0 0 min(560px, 88%); scroll-snap-align: start; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); border-left: 6px solid var(--sky); }
.reviews-track > :nth-child(4n+2) { border-left-color: var(--sun); }
.reviews-track > :nth-child(4n+3) { border-left-color: var(--leaf); }
.reviews-track > :nth-child(4n+4) { border-left-color: var(--coral); }
.quote-top { display: flex; gap: 10px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-deep); }
.quote-index { color: var(--ink-faint); }
.stars { color: var(--sun); letter-spacing: .1em; font-size: .95rem; }
.quote-card blockquote { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--ink-soft); }
.quote-meta { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: auto; }
.quote-result { display: flex; flex-direction: column; }
.quote-result b { font-family: var(--display); font-size: 1.5rem; color: var(--hull); line-height: 1; }
.quote-result span { font-size: .76rem; color: var(--ink-faint); font-weight: 600; }
.quote-card figcaption { font-size: .85rem; font-weight: 700; }
.quote-card figcaption span { display: block; font-weight: 500; color: var(--ink-faint); font-size: .78rem; }
.reviews-nav { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.reviews-count { margin: 0; font-size: .82rem; color: var(--ink-faint); font-weight: 700; }
.reviews-dots { display: flex; gap: 6px; }
.reviews-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.reviews-dot[aria-current="true"] { background: var(--lake-deep); }
.reviews-arrows { margin-left: auto; display: flex; gap: 8px; }
.reviews-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--hull); display: grid; place-items: center; cursor: pointer; }
.reviews-arrow:hover { background: var(--mist); }
.reviews-note { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--ink-faint); margin-top: 14px; max-width: 80ch; }
.reviews-note svg { flex: none; margin-top: 3px; }

/* 19. FAQ */
.faq { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--sky); border-radius: 12px; padding: 0; }
.faq > :nth-child(4n+2) { border-left-color: var(--sun); }
.faq > :nth-child(4n+3) { border-left-color: var(--leaf); }
.faq > :nth-child(4n+4) { border-left-color: var(--coral); }
.faq-item summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1rem; padding: 16px 44px 16px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 1.3rem; color: var(--lake-deep); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: .93rem; color: var(--ink-soft); max-width: none; }

/* 20. Product cards (SAMS, EHR) and posts */
.product { display: grid; grid-template-columns: 1fr; gap: 12px; }
.soon { align-self: flex-start; justify-self: start; width: max-content; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--sun); color: #000; }
.soon.live { background: var(--leaf); }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .9rem; color: var(--ink-soft); }
.product li { display: flex; gap: 9px; align-items: flex-start; }
.product li svg { flex: none; width: 15px; height: 15px; color: var(--lake-deep); margin-top: 4px; }
.product .btn { align-self: flex-start; justify-self: start; margin-top: 6px; }
.post { padding: 0; }
.post .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16/9; }
.post-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-body h3 { font-size: 1.08rem; }

/* 21. CTA band */
.cta-band { background: var(--hull); color: var(--mist); padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--mist); }
.cta-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cta-links a { font-size: .8rem; font-weight: 700; color: var(--paper); text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 6px 12px; }
.cta-links a:hover { background: rgba(255,255,255,.12); }
.cta-band .btn-line { color: var(--paper); border-color: rgba(255,255,255,.5); }
.cta-band .btn-line:hover { background: rgba(255,255,255,.12); border-color: var(--paper); color: var(--paper); }

/* 22. Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { color: var(--hull); margin: 0 0 12px; font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--lake-deep); text-decoration: underline; }
.foot-grid p { color: var(--ink-soft); max-width: none; font-size: .9rem; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand b { font-family: var(--display); font-size: 1.1rem; }
.foot-phone { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--hull) !important; margin: 14px 0 10px; }
.trustpilot-widget { margin-top: 14px; }
.foot-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-faint); font-size: .83rem; }
.foot-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-legal a { color: var(--ink-faint); text-decoration: none; }
.foot-legal a:hover { color: var(--lake-deep); }
.foot-badge { display: inline-flex; align-items: center; gap: 6px; }

/* 23. Consent banner (behaviour in js/main.js) */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: 620px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px 44px 18px 20px; font-size: .86rem;
}
.consent-banner p { max-width: none; margin: 0 0 12px; color: var(--ink-soft); }
.consent-actions { display: flex; gap: 8px; }
.consent-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--ink-faint); }

/* 24. Hero artwork classes */
.art-sun circle { fill: var(--sun); opacity: .30; }
.art-sun .rays line { stroke: var(--sun); stroke-width: 7; stroke-linecap: round; opacity: .26; }
.art-cloud { fill: #FFFFFF; opacity: .74; }
.art-cloud-soft { opacity: .46; }
.art-dot { opacity: .40; }
.hero-art-sm { display: none !important; }
@media (max-width: 760px) {
  .hero-art { display: none !important; }
  .hero-art-sm { display: block !important; opacity: .8; }
}

/* 25. Responsive */
@media (max-width: 1180px) {
  .nav-main, .nav-search { display: none; }
  .burger { display: flex; }
  .hdr-cta .hide-md { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 72px; }
  .hero-copy h1 { max-width: none; }
  .float-claims { left: 12px; bottom: 14px; width: 260px; }
  .float-stat { right: 12px; top: 12px; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 32px; }
  .outcome { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .actions3 { margin-top: -30px; }
}
@media (max-width: 860px) {
  .wave { height: 64px !important; }
}
@media (max-width: 760px) {
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-name { font-size: 1rem; }
  .brand-name small { display: none; }
  .hdr-cta .btn { padding: 11px 14px; font-size: .82rem; }
  .masthead { gap: 10px; min-height: 74px; }
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head > div:first-child { display: none; }
  .compare-row > div:first-child { padding-bottom: 6px; }
  .bar { grid-template-columns: 110px 1fr 64px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .band { padding-top: 52px; padding-bottom: 52px; }
  .band-tight { padding-top: 40px; padding-bottom: 40px; }
  .actions3 { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .topbar .shell { justify-content: center; font-size: .79rem; gap: 10px; }
  .topbar .sep, .topbar .hide-sm { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .float-claims { position: static; width: auto; margin-top: 12px; }
  .float-stat { top: 10px; right: 10px; }
  .pillar-stats { grid-template-columns: 1fr 1fr 1fr; padding: 12px 18px; }
  .pillar-stats .stat-big { font-size: 1.1rem; }
  .wave { height: 46px !important; }
  .feature-copy { padding: 28px 22px; }
  .feature img { min-height: 220px; }
}
@media print {
  .site-header, .topbar, .drawer, .cta-band, .site-footer, .btn, .consent-banner { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   26. Glass layer and motion (added 2026-09-15)
   --------------------------------------------------------------------------
   Cards become frosted glass over soft colour glows, so the band colour and
   the artwork show through them. backdrop-filter is Baseline; the blur radius
   is kept small and the number of blurred surfaces on screen at once is what
   costs paint time, so section glows are plain gradients, not blurred.
   ========================================================================== */
:root {
  --glass: rgba(255,255,255,.66);
  --glass-strong: rgba(255,255,255,.8);
  --glass-border: rgba(255,255,255,.85);
  --glass-edge: rgba(11,59,94,.10);
  --glass-shadow: 0 10px 30px rgba(11,59,94,.10), inset 0 1px 0 rgba(255,255,255,.9);
  --blur: 14px;
}
.card, .cite, .term, .step, .spec-group, .faq-item, .quote-card, .action, .float-card, .compare, .pill, .tag, .scope li {
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  border-color: var(--glass-edge);
}
.card, .cite, .step, .spec-group, .action, .float-card, .compare, .quote-card { box-shadow: var(--glass-shadow); }
.pill-row .pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
.pillar-stats { background: rgba(244,250,254,.7); }
.compare-head { background: rgba(244,250,254,.75); }
.compare-row > div:last-child { background: rgba(213,245,233,.7); }
.faq-item { background: var(--glass-strong); }

/* Sheen that sweeps across a card on hover */
a.card, .action, .step, .spec-group, .cite { position: relative; overflow: hidden; }
a.card::after, .action::after, .cite::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
a.card:hover::after, .action:hover::after, .cite:hover::after { transform: translateX(120%); }

/* Glass header: the page scrolls underneath it */
.site-header { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-bottom-color: rgba(11,59,94,.08); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,59,94,.10); }
.site-header.scrolled .masthead { min-height: 66px; }
.masthead { transition: min-height .2s; }
.topbar { background: rgba(244,250,254,.8); }
.mega { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--glass-edge); }
.drawer-panel { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-search-input { background: rgba(255,255,255,.55); }
.nav-search-results { background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.consent-banner { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }

/* Colour glows behind every band, so glass has something to frost */
.band, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.band > .shell, .cta-band > .shell { position: relative; z-index: 1; }
.band::before, .band::after, .cta-band::before {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  filter: blur(2px); opacity: .55;
}
.band::before { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, var(--sky) 0%, transparent 65%); }
.band::after  { width: 620px; height: 620px; right: -220px; bottom: -220px; background: radial-gradient(circle, var(--sun) 0%, transparent 65%); opacity: .38; }
.band-mint::before { background: radial-gradient(circle, var(--leaf) 0%, transparent 65%); opacity: .35; }
.band-mint::after  { background: radial-gradient(circle, var(--sky) 0%, transparent 65%); }
.band-grape::before { background: radial-gradient(circle, var(--grape) 0%, transparent 65%); opacity: .45; }
.band-grape::after  { background: radial-gradient(circle, var(--coral) 0%, transparent 65%); opacity: .3; }
.band-blush::before { background: radial-gradient(circle, var(--coral) 0%, transparent 65%); opacity: .35; }
.band-blush::after  { background: radial-gradient(circle, var(--sun) 0%, transparent 65%); }
.band-sky::before   { background: radial-gradient(circle, var(--lake) 0%, transparent 65%); opacity: .28; }
.band-sky::after    { background: radial-gradient(circle, var(--leaf) 0%, transparent 65%); opacity: .3; }
.band-surface::before { opacity: .32; }
.band-surface::after  { opacity: .22; }
.cta-band::before { width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, var(--lake) 0%, transparent 65%); opacity: .6; }

/* Dark glass panels */
.outcome, .feature, .cta-band { position: relative; overflow: hidden; }
.outcome { background: linear-gradient(135deg, rgba(11,59,94,.96), rgba(8,79,121,.92)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(11,59,94,.25), inset 0 1px 0 rgba(255,255,255,.18); }
.outcome::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(37,192,141,.55), transparent 65%); pointer-events: none; }
.outcome > * { position: relative; }
.bar-track { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.12); }
.feature-copy { background: linear-gradient(135deg, rgba(11,59,94,1), rgba(8,79,121,.96)); }

/* Motion. Elements are visible at rest; js/main.js adds .reveal only to
   things below the fold, then .in when they scroll into view. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.js .bar-fill { width: 0; transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
.js .outcome.in .bar-fill { width: var(--pct); }

@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(26px); } }
.hero-art .art-dot { animation: bob 3.4s ease-in-out infinite alternate; }
.hero-art .art-dot:nth-child(odd) { animation-duration: 4.6s; }
/* The cloud and shield groups carry an SVG transform attribute, which a CSS
   transform would replace, so the children are animated instead. */
.hero-art .art-cloud > * { animation: drift 18s ease-in-out infinite alternate; }
.hero-art .art-shield > * { animation: bob 5s ease-in-out infinite alternate; }
.float-card { transition: transform .3s ease; }
.hero-visual:hover .float-claims { transform: translateY(-4px); }

/* Live claim feed rows */
.fc-row { transition: background-color .4s; }
.fc-row.is-new { animation: rowIn .5s ease; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.status { transition: background-color .35s; }

/* Pointer tilt (hover-capable devices only) */
@media (hover: hover) and (pointer: fine) {
  [data-tilt] { transform-style: preserve-3d; transition: transform .18s ease, box-shadow .18s ease; will-change: transform; }
}

/* Denial cost calculator */
.calc { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
.calc-card { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--glass-shadow); }
.calc-card h3 { margin: 0 0 4px; }
.calc-card > p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 18px; max-width: none; }
.calc-field { display: grid; gap: 6px; margin-bottom: 16px; }
.calc-field label { font-size: .84rem; font-weight: 700; color: var(--hull); display: flex; justify-content: space-between; }
.calc-field output { font-family: var(--display); color: var(--lake-deep); font-variant-numeric: tabular-nums; }
.calc-field input[type=range] { width: 100%; accent-color: var(--lake-deep); height: 30px; }
.calc-out { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.calc-stat { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; position: relative; overflow: hidden; }
.calc-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--coral); }
.calc-stat.good::before { background: var(--leaf); }
.calc-stat b { font-family: var(--display); font-size: 1.55rem; color: var(--hull); font-variant-numeric: tabular-nums; }
.calc-stat span { font-size: .76rem; font-weight: 600; color: var(--ink-faint); line-height: 1.35; }
.calc-stat.wide { grid-column: 1 / -1; background: var(--band-mint); }
.calc-stat.wide b { color: #0B5E3E; font-size: 1.9rem; }
.calc-note { font-size: .74rem; color: var(--ink-faint); margin: 14px 0 0; max-width: none; }

/* Specialty finder */
.spec-find { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; max-width: 460px; position: relative; }
.spec-find svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--ink-faint); }
.spec-find input { font: inherit; width: 100%; padding: 12px 14px 12px 40px; border: 1.5px solid var(--line-strong); border-radius: 99px; background: var(--glass-strong); color: var(--ink); }
.spec-find input:focus { outline: 3px solid var(--sky); outline-offset: 2px; border-color: var(--lake); }
.spec-row.is-hidden, .spec-group.is-hidden { display: none; }
.spec-empty { display: none; color: var(--ink-faint); font-size: .92rem; }
.spec-empty.is-shown { display: block; }

@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-out { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .art-dot, .hero-art .art-cloud > *, .hero-art .art-shield > * { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .js .bar-fill { width: var(--pct); transition: none; }
  a.card::after, .action::after, .cite::after { display: none; }
}
.band-flush { overflow: visible; }
.band-flush::before, .band-flush::after { display: none; }

/* ==========================================================================
   27. Interior pages (rolled out 2026-09-15)
   --------------------------------------------------------------------------
   Every page other than the home page keeps its original content markup and
   class names (article, takeaways, data-table, protip, dodont, cta-band,
   faq-list, payer-contact, cred-steps, pillar-diagram, spec-card, post-card,
   contact-form, glossary, flow, svc-*). This section restyles those classes
   in the Lake language so no page body had to be rewritten. The migration
   script wrapped each article's breadcrumb, cover, title, lede and byline in
   <header class="art-head"> so the page opens with the same mist band and
   wave as the home page.
   ========================================================================== */

/* Tokens the inline SVG covers and diagrams reference */
:root {
  --muted: #0A6497; --color-text: #0B3B5E; --color-line: #CFE2EF;
  --cat-medical: #FF7A5C; --cat-primary-care: #FFC02E; --cat-practice-growth: #25C08D;
  --cat-medical-coding: #A98BEE; --cat-therapy: #25C08D; --cat-dental: #63C6F0;
  --cat-practice-mgmt: #0E86C8; --cat-surgical: #0E86C8; --cat-medical-billing: #A98BEE;
  --cat-behavioral: #A98BEE; --cat-credentialing: #25C08D; --cat-practice-resources: #FF7A5C;
  --page-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='xMidYMid slice'%3E%3Ccircle cx='1250' cy='70' r='54' fill='%23FFC02E' opacity='.26'/%3E%3Cg stroke='%23FFC02E' stroke-width='6' stroke-linecap='round' opacity='.2'%3E%3Cline x1='1250' y1='-10' x2='1250' y2='-30'/%3E%3Cline x1='1250' y1='150' x2='1250' y2='170'/%3E%3Cline x1='1170' y1='70' x2='1150' y2='70'/%3E%3Cline x1='1330' y1='70' x2='1350' y2='70'/%3E%3Cline x1='1193' y1='13' x2='1179' y2='-1'/%3E%3Cline x1='1307' y1='127' x2='1321' y2='141'/%3E%3Cline x1='1193' y1='127' x2='1179' y2='141'/%3E%3Cline x1='1307' y1='13' x2='1321' y2='-1'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.6' transform='translate(140 80)'%3E%3Cellipse cx='-30' cy='10' rx='26' ry='19'/%3E%3Cellipse cx='2' cy='-4' rx='34' ry='27'/%3E%3Cellipse cx='36' cy='9' rx='28' ry='21'/%3E%3Crect x='-40' y='6' width='82' height='25' rx='12.5'/%3E%3C/g%3E%3Cg fill='%23fff' opacity='.4' transform='translate(900 60) scale(.6)'%3E%3Cellipse cx='-30' cy='10' rx='26' ry='19'/%3E%3Cellipse cx='2' cy='-4' rx='34' ry='27'/%3E%3Cellipse cx='36' cy='9' rx='28' ry='21'/%3E%3Crect x='-40' y='6' width='82' height='25' rx='12.5'/%3E%3C/g%3E%3Ccircle cx='60' cy='300' r='11' fill='%23FFC02E' opacity='.35'/%3E%3Ccircle cx='1390' cy='260' r='9' fill='%23A98BEE' opacity='.35'/%3E%3Ccircle cx='110' cy='380' r='7' fill='%2325C08D' opacity='.35'/%3E%3Ccircle cx='1330' cy='360' r='7' fill='%23FF7A5C' opacity='.35'/%3E%3C/svg%3E");
}

/* Layout primitives from the old system */
.wrap { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 44px; padding-bottom: 44px; }
.section--tight { padding-top: 28px; padding-bottom: 28px; }
.section--break { padding-top: 56px; padding-bottom: 56px; }
.section > h2 + .lede, .section > .lede { margin-bottom: 26px; }
.section-sub, .tagline { color: var(--ink-soft); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.eyebrow-sm { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lake-deep); }
.group-heading { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-accent { background: var(--lake-deep); color: var(--paper); border-color: var(--lake-deep); }
.btn-accent:hover { background: var(--lake-deeper); border-color: var(--lake-deeper); color: var(--paper); }
.btn-outline, .btn-ghost { background: transparent; color: var(--lake-deep); border-color: var(--sky); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--lake); background: var(--mist); color: var(--lake-deep); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.accent-text { color: var(--lake-deep); }

/* Page header band for directory, service and utility pages, and the
   article header the migration script lifted out of each article. Both are
   top-level sections with their own .shell, so they bleed edge to edge. */
.page-head, .art-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--mist) var(--page-art) center / cover no-repeat;
  padding: 56px 0 100px; margin-bottom: 8px;
}
.page-head > .shell, .art-head > .shell { position: relative; z-index: 1; }
.page-head h1, .art-head h1 { margin: 0 0 14px; max-width: 24ch; }
.page-head .lede, .art-head .lede { margin: 0; }
.page-head .btn, .page-head .hero-ctas { margin-top: 18px; }
.page-head::after, .art-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath fill='%2363C6F0' opacity='.48' d='M0 40 C 180 10, 300 70, 480 45 S 800 15, 960 45 S 1300 80, 1440 35 V96 H0Z'/%3E%3Cpath fill='%230E86C8' opacity='.3' d='M0 60 C 200 30, 340 85, 520 60 S 860 30, 1040 62 S 1320 90, 1440 55 V96 H0Z'/%3E%3Cpath fill='%23fff' d='M0 78 C 220 52, 380 96, 560 76 S 900 50, 1080 78 S 1340 100, 1440 70 V96 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.art-head .shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 40px; align-items: center; }
.art-head-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.art-head .article-cover { margin: 0; justify-self: end; width: min(100%, 340px); aspect-ratio: 1; }
.crumb-back { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--lake-deep); text-decoration: none; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 99px; padding: 7px 14px 7px 10px; }
.crumb-back:hover { background: #fff; }
.crumb-back svg { width: 14px; height: 14px; }
.post-meta { font-size: .84rem; color: var(--ink-faint); }
.post-meta a { color: var(--lake-deep); }

/* Article body */
.article { max-width: 820px; }
.article > h2 { margin-top: 2.2em; padding-top: 14px; position: relative; }
.article > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 5px; border-radius: 99px; background: var(--sky); }
.article > h2:nth-of-type(4n+2)::before { background: var(--sun); }
.article > h2:nth-of-type(4n+3)::before { background: var(--leaf); }
.article > h2:nth-of-type(4n+4)::before { background: var(--coral); }
.article > h3 { margin-top: 1.6em; }
.article p, .article li { color: var(--ink-soft); }
.article ul:not([class]), .article ol:not([class]) { padding-left: 22px; }
.article ul:not([class]) li::marker { color: var(--lake); }
.article code, .data-table code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--mist); color: var(--hull); padding: 1px 6px; border-radius: 6px; }

.article-cover { border-radius: var(--radius); overflow: hidden; background: var(--glass-strong); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); }
.article-cover svg { width: 100%; height: 100%; display: block; }

.takeaways { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-edge); border-left: 6px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 28px 0 8px; box-shadow: var(--glass-shadow); }
.takeaways h2 { margin: 0 0 12px; font-size: 1.1rem; padding: 0; }
.takeaways h2::before { display: none; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.takeaways li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.takeaways li svg { flex: none; width: 18px; height: 18px; color: var(--leaf); margin-top: 3px; }
.takeaways b { color: var(--ink); }

.data-table-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-strong); box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table caption { caption-side: top; text-align: left; font-family: var(--display); font-weight: 700; font-size: .95rem; padding: 14px 16px 10px; color: var(--hull); }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.data-table thead th { background: var(--mist); color: var(--hull); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; border-top: 0; }
.data-table tbody tr:hover td { background: var(--surface-2); }
.data-table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.protip { display: flex; gap: 14px; align-items: flex-start; background: var(--band-sun); border: 1px solid rgba(168,121,58,.25); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; }
.protip-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sun); display: grid; place-items: center; color: #000; }
.protip-icon svg { width: 20px; height: 20px; }
.protip-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-deep); margin-bottom: 4px; }
.protip p { margin: 0; font-size: .95rem; max-width: none; }
.protip-head { font-family: var(--display); font-weight: 700; margin-bottom: 4px; }

.dodont { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 22px 0; }
.dodont-col { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--glass-edge); background: var(--glass-strong); }
.dodont-col.do { background: var(--band-mint); }
.dodont-col.dont { background: var(--band-blush); }
.dodont-head { font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dodont-col.do .dodont-head::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #000; display: inline-grid; place-items: center; font-size: .75rem; }
.dodont-col.dont .dodont-head::before { content: "✕"; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #000; display: inline-grid; place-items: center; font-size: .7rem; }
.dodont-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dodont-col li { font-size: .92rem; padding-left: 16px; position: relative; }
.dodont-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--lake-deep); }

.check-list { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: 9px; }
.check-list li, .check-item { display: flex; gap: 10px; align-items: flex-start; }
.check, .check-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #000; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.warn, .x-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #000; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 800; margin-top: 2px; }

/* Inline call to action inside articles (the home page has its own section.cta-band) */
.article .cta-band, .wrap .cta-band, div.cta-band {
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(11,59,94,.97), rgba(8,79,121,.93)); color: var(--mist);
  border-radius: var(--radius); padding: 26px 28px; margin: 30px 0; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px rgba(11,59,94,.22);
}
div.cta-band h3 { color: #fff; margin: 0 0 6px; }
div.cta-band p { color: var(--mist); margin: 0; font-size: .95rem; max-width: 52ch; }
div.cta-band .btn { flex: none; background: var(--sun); color: #2A1F10; border-color: var(--sun); }
div.cta-band .btn:hover { background: #F5B21A; border-color: #F5B21A; }

.faq-list { display: grid; gap: 12px; margin: 10px 0 24px; }
.faq-list .faq-item { border-left-width: 6px; }
.faq-list > :nth-child(4n+2) { border-left-color: var(--sun); }
.faq-list > :nth-child(4n+3) { border-left-color: var(--leaf); }
.faq-list > :nth-child(4n+4) { border-left-color: var(--coral); }

.content-disclaimer { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 14px 18px; margin: 26px 0; font-size: .86rem; color: var(--ink-faint); }
.content-disclaimer svg { flex: none; width: 18px; height: 18px; color: var(--lake-deep); margin-top: 2px; }
.content-disclaimer p { margin: 0; max-width: none; }

.related-list { list-style: none; margin: 8px 0 30px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.related-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-edge); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; transition: border-color .15s, transform .15s; }
.related-list a:hover { border-color: var(--sky); transform: translateY(-1px); color: var(--hull); }
.related-list a svg { flex: none; width: 15px; height: 15px; color: var(--lake-deep); }

/* Credentialing furniture */
.payer-contact { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0 8px; box-shadow: var(--glass-shadow); }
.payer-contact-item { display: flex; flex-direction: column; gap: 4px; }
.payer-contact-label { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-deep); }
.payer-contact-value { font-weight: 700; font-size: .95rem; }
.payer-contact-value a { color: var(--hull); text-decoration: none; border-bottom: 1.5px solid var(--sky); }
.payer-contact-value a:hover { color: var(--lake-deep); }
.payer-contact-note { font-size: .8rem; color: var(--ink-faint); margin: 8px 0 22px; }
.cred-steps { list-style: none; margin: 18px 0 24px; padding: 0; counter-reset: cred; display: grid; gap: 10px; }
.cred-steps li { counter-increment: cred; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: flex-start; background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 16px; }
.cred-steps li::before { content: counter(cred); width: 36px; height: 36px; border-radius: 12px; background: var(--sky); color: #000; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.cred-steps li:nth-child(5n+2)::before { background: var(--sun); }
.cred-steps li:nth-child(5n+3)::before { background: var(--leaf); }
.cred-steps li:nth-child(5n+4)::before { background: var(--coral); }
.cred-steps li:nth-child(5n+5)::before { background: var(--grape); }
.cred-steps b { display: block; font-family: var(--display); font-size: 1rem; margin-bottom: 2px; }
.cred-steps span { font-size: .92rem; color: var(--ink-soft); }
.cred-steps b + span { grid-column: 2; }
.cred-steps li > b { grid-column: 2; }
.cred-steps li { grid-template-rows: auto auto; }
.cred-steps li::before { grid-row: 1 / span 2; }

/* Pillar process diagram (inline SVG, classes on the nodes) */
.pillar-diagram { margin: 26px 0; background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; }
.pillar-diagram svg { width: 100%; min-width: 560px; height: auto; display: block; }
.pillar-diagram-line { stroke: var(--sky); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.pillar-diagram-node-ring { fill: none; stroke: var(--sky); stroke-width: 2; }
.pillar-diagram-node-fill { fill: var(--hull); }
.pillar-diagram-num { fill: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; }
.pillar-diagram-label { fill: var(--hull); font-family: var(--body); font-weight: 700; font-size: 13px; }
.pillar-diagram-sub { fill: var(--ink-faint); font-size: 11px; }

/* Cards used by directory and service pages */
.card.dark { background: linear-gradient(135deg, rgba(11,59,94,.97), rgba(8,79,121,.93)); color: var(--mist); border-color: rgba(255,255,255,.14); }
.card.dark h2, .card.dark h3, .card.dark .group-heading { color: #fff; }
.card.dark p, .card.dark li { color: var(--mist); }
.card.dark .eyebrow { color: var(--sun); }
.card-title-sm { font-size: 1.08rem; margin: 0; }
.link-card { gap: 8px; }
.link-card-title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.link-cta { color: var(--lake-deep); font-weight: 700; font-size: .85rem; margin-top: auto; }
.stat-card { align-items: flex-start; gap: 4px; }
.stat-card .stat-big { color: var(--hull); }
.stat-label { font-size: .8rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.accent-fill { background: var(--band-sky); }
.amber-fill { background: var(--band-sun); }
.stat-row { margin-bottom: 8px; }
.tag-pill { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--mist); color: var(--hull); }
.spec-card, .post-card { padding: 0; }
.card-cover, .post-photo { aspect-ratio: 16/9; overflow: hidden; background: var(--band-sky); display: block; }
.card-cover svg { width: 100%; height: 100%; display: block; }
.spec-card-body, .post-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card a { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; }
.post-body h3 { font-size: 1.05rem; }
.row-cover { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex: none; background: var(--mist); }
.row-cover svg { width: 100%; height: 100%; display: block; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; border-radius: 99px; padding: 8px 15px; border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink-soft); cursor: pointer; }
.chip:hover { border-color: var(--sky); }
.chip.active { background: var(--hull); color: #fff; border-color: var(--hull); }
.photo:hover img { transform: none; }
.article-photo { border-radius: var(--radius); overflow: hidden; margin: 22px 0; }
.article-photo img { width: 100%; display: block; }
.mini { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 16px; }
.mini-title { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lake-deep); margin-bottom: 4px; }
.panel { background: var(--glass-strong); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 24px; }
.cta-mini { margin-top: 22px; }
.cta-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--band-mint); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; }
.cta-banner-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.cta-dark { background: linear-gradient(135deg, rgba(11,59,94,.97), rgba(8,79,121,.93)); color: var(--mist); border-color: rgba(255,255,255,.14); }
.cta-dark h2, .cta-dark h3 { color: #fff; }
.cta-dark p { color: var(--mist); }
.audit-includes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.audit-includes a, .audit-includes span { font-size: .8rem; font-weight: 700; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 6px 12px; }
.why-panel .grid-2 { gap: 14px; }
.service-head { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; }
.service-head-stats { display: grid; gap: 12px; }
.service-head-stats .stat-card { padding: 16px 18px; }
.explorer-card { padding: 0; overflow: hidden; }
.explorer-rail { background: var(--surface-2); padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.explorer-rail-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.explorer-rail-stat { display: flex; flex-direction: column; }
.explorer-rail-stat .stat-big { font-size: 1.3rem; color: var(--hull); }
.explorer-rail-stat span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }
.explorer-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.explorer-head { display: flex; justify-content: space-between; align-items: center; }
.explorer-arrow { color: var(--lake-deep); }
.explorer-scope-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-deep); margin-top: 6px; }
.explorer-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.explorer-group { font-size: .78rem; font-weight: 600; background: var(--mist); border-radius: 99px; padding: 5px 11px; }

/* Services page tabs */
.svc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc-tab { font: inherit; font-weight: 700; font-size: .9rem; border-radius: 99px; padding: 10px 18px; border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink-soft); cursor: pointer; }
.svc-tab.active { background: var(--hull); color: #fff; border-color: var(--hull); }
.svc-split { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.svc-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.svc-photo img { width: 100%; display: block; object-fit: cover; }
.svc-items { display: grid; gap: 12px; margin: 18px 0; }
.svc-item { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 16px; }
.svc-item-title { font-family: var(--display); font-weight: 700; margin-bottom: 4px; }
.svc-item-body { font-size: .92rem; color: var(--ink-soft); }
.svc-stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 18px; }
.svc-stat { background: var(--band-sky); border-radius: 14px; padding: 14px 16px; }
.svc-stat-value { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--hull); }
.svc-stat-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }

/* Onboarding flow on the About page */
.flow { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.flow-step { display: flex; flex-direction: column; gap: 10px; }
.flow-marker { display: flex; align-items: center; gap: 10px; }
.flow-num { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--hull); }
.flow-day { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--sky); color: #000; }
.flow-step:nth-child(2) .flow-day { background: var(--sun); }
.flow-step:nth-child(3) .flow-day { background: var(--leaf); }
.flow-stem { display: none; }
.flow-card { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-edge); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--glass-shadow); flex: 1; }
.flow-icon { width: 30px; height: 30px; color: var(--lake-deep); }
.flow-card h3 { margin: 0; }
.flow-card p { margin: 0; font-size: .94rem; max-width: none; }

/* Contact form */
.contact-form { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--glass-shadow); overflow: hidden; }
.form-header { background: linear-gradient(135deg, rgba(11,59,94,.97), rgba(8,79,121,.93)); color: #fff; padding: 22px 26px; }
.form-header-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.form-header-sub { color: var(--mist); font-size: .9rem; margin-top: 4px; }
.form-body { padding: 24px 26px 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--hull); display: flex; align-items: center; gap: 6px; }
.req { font-size: .68rem; font-weight: 800; color: var(--danger); letter-spacing: .04em; text-transform: uppercase; }
.optional { font-size: .68rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.field-hint { font-size: .78rem; color: var(--ink-faint); }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 3px solid var(--sky); outline-offset: 2px; border-color: var(--lake); }
.contact-form .invalid { border-color: var(--danger); }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--danger); margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 20px; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--ink-faint); }
.form-trust span { display: inline-flex; align-items: center; gap: 6px; }
.form-trust svg { width: 14px; height: 14px; color: var(--leaf); }
.form-status { font-size: .9rem; font-weight: 700; margin: 14px 0 0; min-height: 1.2em; }
.form-status.ok { color: #0B5E3E; }
.form-status.err { color: var(--danger); }
.contact-direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-direct li { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 16px; }
.contact-direct span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-deep); margin-bottom: 4px; }
.contact-direct a { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--hull); text-decoration: none; }
.contact-direct p { margin: 0; font-size: .88rem; }

/* Glossary */
.glossary-group { margin: 0 0 34px; }
.glossary-group-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; margin-bottom: 14px; }
.glossary-list { display: grid; gap: 10px; }
.glossary-item { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 14px 18px; }
.glossary-term { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.glossary-def { font-size: .92rem; color: var(--ink-soft); }

/* Responsive for interior */
@media (max-width: 900px) {
  .art-head .shell { grid-template-columns: 1fr; gap: 24px; }
  .art-head .article-cover { justify-self: start; width: min(100%, 260px); }
  .service-head, .svc-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-head, .art-head { padding-top: 40px; padding-bottom: 76px; }
  .form-grid { grid-template-columns: 1fr; }
  .cred-steps li { grid-template-columns: 32px 1fr; }
  .cred-steps li::before { width: 28px; height: 28px; border-radius: 9px; font-size: .85rem; }
  div.cta-band { padding: 22px 20px; }
}
.nav-main a.nav-link.is-current { color: var(--hull); background: var(--mist); }
.article { padding-bottom: 40px; }
.page-head .service-head .stat-card { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-edge); }
