/* =============================================================================
   Peterson Medical Equipment — marketing site
   Single stylesheet. Design tokens from CLAUDE.md §4.
   Sections:  1 tokens · 2 reset/base · 3 layout · 4 typography · 5 header/nav
              6 hero · 7 buttons · 8 cards/grids · 9 sections/blocks
              10 forms · 11 coverage-assistant widget · 12 footer
              13 utilities · 14 motion/responsive
   ============================================================================= */

/* 1 — TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette (CLAUDE.md §4) */
  --navy:        #0B2545;
  --navy-deep:   #061E3A;
  --teal:        #13B5A5;
  --teal-dark:   #0E8E82;
  --teal-soft:   #E3F6F3;
  --cloud:       #F5F7FA;
  --slate:       #334155;
  --muted:       #64748B;
  --line:        #E2E8F0;
  --white:       #FFFFFF;
  --ink:         #0B1726;     /* near-black for max-contrast headings on light */

  /* Semantic */
  --bg:          var(--white);
  --bg-alt:      var(--cloud);
  --bg-invert:   var(--navy);
  --text:        var(--slate);
  --text-strong: var(--ink);
  --text-invert: #DCE6F2;
  --heading:     var(--navy);
  --accent:      var(--teal);
  --border:      var(--line);
  --focus:       #2563EB;

  /* Type */
  --font-ui:   "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Fluid type scale (min 360px → max 1200px) */
  --fs-xs:   0.8125rem;                              /* 13px */
  --fs-sm:   0.9375rem;                              /* 15px */
  --fs-base: 1.0625rem;                              /* 17px */
  --fs-md:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-lg:   clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-xl:   clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-2xl:  clamp(2.125rem, 1.6rem + 2.6vw, 3.25rem);
  --fs-3xl:  clamp(2.5rem, 1.8rem + 3.4vw, 4rem);
  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.65;

  /* Space scale */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Radii / shadows */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,0.06), 0 1px 3px rgba(11,37,69,0.08);
  --shadow-md: 0 4px 12px rgba(11,37,69,0.08), 0 2px 4px rgba(11,37,69,0.06);
  --shadow-lg: 0 18px 40px rgba(11,37,69,0.14), 0 4px 12px rgba(11,37,69,0.08);

  /* Layout */
  --maxw:        1160px;
  --maxw-narrow: 760px;
  --gutter:      clamp(1rem, 0.5rem + 3vw, 2.5rem);
  --header-h:    72px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* 2 — RESET / BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
strong, b { font-weight: 700; color: var(--text-strong); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-7) 0; }
table { border-collapse: collapse; width: 100%; }

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

::selection { background: var(--teal); color: #06231F; }

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  z-index: 200; transition: top .15s var(--ease);
}
.skip-link:focus { top: 8px; }

/* 3 — LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.section--cloud { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--text-invert); }
.section--teal-tint { background: var(--teal-soft); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--center { align-items: center; }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

/* 4 — TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-ui); color: var(--heading); line-height: var(--lh-tight); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-md); line-height: var(--lh-snug); }
p { max-width: 68ch; }
p + p { margin-top: var(--sp-4); }
.lead { font-size: var(--fs-md); color: var(--text); line-height: 1.55; }
.eyebrow {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark);
  display: inline-block; margin-bottom: var(--sp-3);
}
.section--navy .eyebrow { color: var(--teal); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.measure { max-width: var(--maxw-narrow); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.balance { text-wrap: balance; }

/* 5 — HEADER / NAV ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--sp-5);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: clamp(0.5rem, 0.2rem + 1vw, 1.5rem); }
.nav a {
  font-family: var(--font-ui); font-weight: 500; font-size: var(--fs-sm);
  color: var(--navy); padding: 0.45rem 0.2rem; position: relative; white-space: nowrap;
}
.nav a:hover { text-decoration: none; color: var(--teal-dark); }
.nav a[aria-current="page"] { color: var(--teal-dark); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--teal);
}
.nav .has-sub { position: relative; }
.nav .submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: var(--sp-2);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: .16s var(--ease);
}
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu a { display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-sm); font-weight: 500; }
.nav .submenu a:hover { background: var(--cloud); }
.nav > .btn { display: none; } /* the in-nav CTA only appears in the mobile drawer */

.header-cta { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--r-sm);
  width: 42px; height: 42px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.85rem 0.2rem; font-size: var(--fs-md); border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0 0 0 var(--sp-4);
  }
  .nav .submenu a { font-size: var(--fs-sm); }
  .nav .btn { margin-top: var(--sp-4); display: inline-flex; }
}

/* 6 — HERO ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(19,181,165,0.16), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cloud) 100%);
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem);
}
.hero--invert {
  background:
    radial-gradient(800px 420px at 85% -20%, rgba(19,181,165,0.30), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--text-invert);
}
.hero--invert h1, .hero--invert .eyebrow { color: #fff; }
.hero--invert .eyebrow { color: var(--teal); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.hero .lead { margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__art {
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
}
.hero__art--bare { box-shadow: none; border: 0; background: transparent; }
.hero__stats { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-6); }
.hero__stat strong { display: block; font-family: var(--font-ui); font-size: var(--fs-lg); color: var(--navy); }
.hero--invert .hero__stat strong { color: #fff; }
.hero__stat span { font-size: var(--fs-sm); color: var(--muted); }
.hero--invert .hero__stat span { color: var(--text-invert); }

/* 7 — BUTTONS --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #06231F; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-sm);
  line-height: 1; padding: 0.85rem 1.4rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  cursor: pointer; transition: transform .12s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
  text-align: center; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.7rem; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }
.btn--primary { --btn-bg: var(--teal); --btn-fg: #06231F; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.55); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }
.btn--link { background: transparent; border-color: transparent; color: var(--teal-dark); padding-inline: 0; }
.btn--link:hover { text-decoration: underline; box-shadow: none; transform: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.arrow-link { font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.4rem; }
.arrow-link::after { content: "→"; transition: transform .15s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* 8 — CARDS / GRIDS --------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  display: flex; flex-direction: column; gap: var(--sp-3); height: 100%;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cdd9e6; }
.card--link:hover { text-decoration: none; }
.card h3 { font-size: var(--fs-md); }
.card p { color: var(--text); font-size: var(--fs-sm); }
.card .icon-tile { margin-bottom: var(--sp-2); }
.card__meta { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.card__foot { margin-top: auto; padding-top: var(--sp-3); }

.icon-tile {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.icon-tile svg { width: 28px; height: 28px; }
.icon-tile--navy { background: rgba(255,255,255,0.10); color: #fff; }

.feature-row { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: var(--sp-4); }
.feature .icon-tile { flex: 0 0 auto; width: 44px; height: 44px; }
.feature h4 { margin-bottom: 0.25rem; }
.feature p { font-size: var(--fs-sm); }

.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3,1fr); } .steps--4 { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: 3.2rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-pill);
  background: var(--navy); color: #fff; font-family: var(--font-ui); font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-sm);
}
.section--navy .step::before { background: var(--teal); color: #06231F; }
.step h4 { margin-bottom: 0.3rem; }
.step p { font-size: var(--fs-sm); }

/* logo / trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: clamp(1rem,0.5rem+2vw,2.5rem); align-items: center; justify-content: center; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 0.5rem 1rem; background: #fff;
}
.section--navy .trust-pill { color: var(--text-invert); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.trust-pill svg { width: 16px; height: 16px; color: var(--teal-dark); }
.section--navy .trust-pill svg { color: var(--teal); }

/* 9 — SECTION HELPERS / MISC BLOCKS ---------------------------------------- */
.section-head { max-width: var(--maxw-narrow); margin-bottom: clamp(2rem,1.5rem+2vw,3rem); }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--text); }

.callout {
  border-left: 4px solid var(--teal); background: var(--teal-soft);
  padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout--navy { background: rgba(255,255,255,0.06); border-left-color: var(--teal); }
.callout p:first-child { margin-top: 0; }
.callout strong { color: var(--navy); }
.section--navy .callout strong { color: #fff; }

.note { font-size: var(--fs-sm); color: var(--muted); }
.cite { font-size: var(--fs-xs); color: var(--muted); font-style: normal; }
.cite code, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em; background: var(--cloud); border: 1px solid var(--border); border-radius: 4px; padding: 0.05em 0.35em;
}
.section--navy code { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }

.pill-tag {
  display: inline-block; font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: var(--r-pill);
}
.pill-tag--ok   { background: #E4F8E9; color: #18794E; }
.pill-tag--pa   { background: #FBE9E7; color: #B23A23; }
.pill-tag--info { background: var(--teal-soft); color: var(--teal-dark); }
.pill-tag--neutral { background: var(--cloud); color: var(--muted); border: 1px solid var(--border); }

/* data tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.data-table { font-size: var(--fs-sm); }
.data-table caption { text-align: left; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-xs); color: var(--muted); }
.data-table th, .data-table td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { font-family: var(--font-ui); font-weight: 600; color: var(--navy); background: var(--cloud); font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table code { white-space: nowrap; }

/* faq / disclosure */
.faq details {
  border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; padding: var(--sp-4) var(--sp-5);
}
.faq details + details { margin-top: var(--sp-3); }
.faq summary {
  font-family: var(--font-ui); font-weight: 600; color: var(--navy); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--teal-dark); transition: transform .15s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > ul { margin-top: var(--sp-3); font-size: var(--fs-sm); }

/* breadcrumb */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); font-family: var(--font-ui); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb span[aria-current] { color: var(--navy); }
.breadcrumb .sep { margin-inline: 0.5rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--text-invert); border-radius: var(--r-xl);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  position: relative; overflow: clip;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(19,181,165,0.35), transparent); pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: var(--text-invert); }
.cta-band__inner { position: relative; display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* contact details list */
.contact-lines { list-style: none; padding: 0; }
.contact-lines li { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines .icon-tile { width: 40px; height: 40px; flex: 0 0 auto; }
.contact-lines b { display: block; font-family: var(--font-ui); color: var(--navy); }
.section--navy .contact-lines li { border-color: rgba(255,255,255,0.16); }
.section--navy .contact-lines b { color: #fff; }

/* 10 — FORMS ---------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-sm); color: var(--navy); }
.field .req { color: #B23A23; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .textarea, .select {
  font: inherit; font-size: var(--fs-base); color: var(--text-strong);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 0.7rem 0.9rem; width: 100%; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(19,181,165,0.18); outline: none; }
.textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-status { font-size: var(--fs-sm); border-radius: var(--r-md); padding: 0.7rem 0.9rem; display: none; }
.form-status.is-ok { display: block; background: #E4F8E9; color: #18794E; }
.form-status.is-err { display: block; background: #FBE9E7; color: #B23A23; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 11 — COVERAGE-ASSISTANT WIDGET ------------------------------------------- */
.assistant {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.assistant__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-5); background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff;
}
.assistant__head .icon-tile { background: rgba(255,255,255,0.12); color: #fff; }
.assistant__head h3 { color: #fff; font-size: var(--fs-md); margin: 0; }
.assistant__head p { color: var(--text-invert); font-size: var(--fs-xs); margin: 0; }
.assistant__body { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.assistant__chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-xs);
  border: 1px solid var(--border); background: var(--cloud); color: var(--navy);
  border-radius: var(--r-pill); padding: 0.4rem 0.8rem; cursor: pointer; transition: .12s var(--ease);
}
.chip:hover { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-dark); }
.assistant__form { display: grid; gap: var(--sp-3); }
.assistant__inputrow { display: flex; gap: var(--sp-3); align-items: flex-end; }
.assistant__inputrow .field { flex: 1; }
.assistant__disclaimer { font-size: var(--fs-xs); color: var(--muted); border-top: 1px dashed var(--border); padding-top: var(--sp-3); }
.assistant__output { display: none; border-top: 1px solid var(--border); padding-top: var(--sp-4); }
.assistant__output.is-visible { display: block; }
.assistant__answer { font-size: var(--fs-base); }
.assistant__answer p + p { margin-top: var(--sp-3); }
.assistant__answer ul { font-size: var(--fs-sm); }
.assistant__citations { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--muted); }
.assistant__citations strong { color: var(--navy); }
.assistant__citations ul { list-style: none; padding: 0; display: grid; gap: 0.3rem; margin-top: 0.4rem; }
.assistant__citations code { font-size: 0.95em; }
.assistant__loading { display: none; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--muted); }
.assistant__loading.is-visible { display: flex; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--teal-dark);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.assistant__error { display: none; background: #FBE9E7; color: #B23A23; border-radius: var(--r-md); padding: 0.7rem 0.9rem; font-size: var(--fs-sm); }
.assistant__error.is-visible { display: block; }
.assistant--compact .assistant__head { padding: var(--sp-4); }
.assistant--compact .assistant__body { padding: var(--sp-4); }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* 12 — FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--text-invert); padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: var(--text-invert); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 30px; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: var(--fs-sm); color: var(--text-invert); max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-top: 0.5rem; }
.footer-col li:first-child { margin-top: 0; }
.footer-col a { font-size: var(--fs-sm); }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--text-invert);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer-bottom .npi { font-family: var(--font-ui); letter-spacing: 0.04em; }

/* 13 — UTILITIES ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0{margin-top:0}.mt-2{margin-top:var(--sp-2)}.mt-3{margin-top:var(--sp-3)}.mt-4{margin-top:var(--sp-4)}
.mt-5{margin-top:var(--sp-5)}.mt-6{margin-top:var(--sp-6)}.mt-7{margin-top:var(--sp-7)}
.mb-0{margin-bottom:0}.mb-3{margin-bottom:var(--sp-3)}.mb-4{margin-bottom:var(--sp-4)}.mb-5{margin-bottom:var(--sp-5)}.mb-6{margin-bottom:var(--sp-6)}
.flex{display:flex}.wrap{flex-wrap:wrap}.gap-2{gap:var(--sp-2)}.gap-3{gap:var(--sp-3)}.gap-4{gap:var(--sp-4)}.gap-5{gap:var(--sp-5)}
.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}
.full{width:100%}.nowrap{white-space:nowrap}
.hide-sm{display:none}
@media (min-width:760px){.hide-sm{display:initial}.only-sm{display:none}}

/* 14 — MOTION / RESPONSIVE -------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .card--link:hover { transform: none; }
}

/* print: keep it sane */
@media print {
  .site-header, .site-footer, .nav-toggle, .assistant, .cta-band { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
