
:root{
  --brand:#10b981;--brand-600:#059669;--brand-700:#047857;--brand-50:#ecfdf5;--brand-100:#d1fae5;
  --amber:#f59e0b;--ink:#0d1f1a;--slate:#516b63;--muted:#7c918b;
  --line:#e4eeea;--line-2:#eef4f2;--bg:#f4f8f6;
  --shadow-sm:0 1px 2px rgba(13,31,26,.05),0 2px 6px rgba(13,31,26,.04);
  --shadow-lg:0 24px 60px -22px rgba(7,98,84,.32);
  --r:18px;--max:1080px;--grad:linear-gradient(135deg,#10b981,#0891b2);
  /* --grad is DECORATIVE ONLY (.pcard-row .bar i): white on it is 2.54:1 at the
     green end, so it can never carry text or a meaningful icon.
     --grad-btn is the accessible fill for every filled control (.btn-primary,
     .panel .p-ic). Worst point of the whole ramp is the #047857 end: 5.48:1
     base, 4.99:1 under the :hover filter:brightness(1.06) - both clear the
     4.5:1 text minimum (1.4.3) and the 3:1 non-text minimum (1.4.11).
     Single source of truth: the header CTA now inherits this via .btn-primary. */
  --grad-btn:linear-gradient(135deg,#047857,#065f46);
  --glow-btn:0 10px 22px -10px rgba(4,120,87,.75);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Inter,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);
  background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:clip}
h1,h2,h3,.brand{font-family:Sora,Inter,sans-serif;letter-spacing:-.02em}
a{color:var(--brand-700);text-decoration:none}
a:hover{color:var(--brand-600)}
main{max-width:var(--max);margin:0 auto;padding:0 20px 72px}
.full-bleed{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.hero.full-bleed{margin-top:0;border:none;border-radius:0;border-bottom:1px solid var(--line);padding-left:0;padding-right:0}
.band{background:linear-gradient(180deg,#ffffff,#edf6f2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:clamp(38px,5vw,66px) 0;margin-top:48px}
.band .sec-head{margin-top:0}
section,article{margin-top:48px}
article{max-width:820px;margin-left:auto;margin-right:auto}
article h2{margin-top:1.4em}
h1{font-size:clamp(2rem,4.6vw,3.1rem);line-height:1.07;font-weight:800;margin:.1em 0 .35em}
h2{font-size:clamp(1.4rem,2.6vw,1.85rem);font-weight:700;margin:0 0 .45em}
h3{font-size:1.12rem;font-weight:700;margin:0}
p{margin:.6em 0}
ul,ol{color:var(--slate)}li{margin:.35em 0}
.lede{font-size:1.16rem;color:var(--slate);max-width:60ch}
.fine{font-size:.82rem;color:var(--muted);line-height:1.55}
.sources{margin-top:30px;padding-top:16px;border-top:1px solid var(--line)}
.crumb{font-size:.84rem;color:var(--muted);margin:0 0 6px}
.eyebrow{display:inline-flex;align-items:center;gap:7px;font-family:Sora;font-weight:700;font-size:.73rem;
  letter-spacing:.11em;text-transform:uppercase;color:var(--brand-700);background:var(--brand-50);
  border:1px solid var(--brand-100);padding:6px 13px;border-radius:999px}
.eyebrow svg{width:14px;height:14px}
.site-head{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;
  justify-content:space-between;padding:13px clamp(16px,4vw,28px);background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:0;font-weight:800;font-size:1.06rem;color:var(--ink)}
.brand .mark{width:30px;height:30px;flex:none;margin-right:9px;display:grid;place-items:center;border-radius:9px;
  background:var(--grad);color:#fff;font-size:17px;box-shadow:var(--shadow-sm)}
.brand .tld{color:var(--brand-600)}
.brand-logo{height:42px;width:auto;display:block}
.site-head nav{display:flex;flex-wrap:wrap;gap:2px}
.site-head nav a{font-size:.92rem;font-weight:500;color:var(--slate);padding:8px 12px;border-radius:9px}
.site-head nav a:hover{color:var(--brand-700);background:var(--brand-50)}
.hero{position:relative;overflow:hidden;margin-top:26px;border-radius:28px;border:1px solid var(--line);
  padding:clamp(26px,5vw,56px);background:
    radial-gradient(120% 150% at 90% -20%,rgba(8,145,178,.16),transparent 55%),
    radial-gradient(130% 130% at -10% 120%,rgba(16,185,129,.20),transparent 52%),
    linear-gradient(180deg,#ffffff,#f1faf6)}
.hero-inner{display:grid;grid-template-columns:1.12fr .88fr;gap:42px;align-items:center}
.hero h1{margin-top:14px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.chip{display:inline-flex;align-items:center;gap:7px;font-size:.84rem;font-weight:600;color:var(--slate);
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 13px;box-shadow:var(--shadow-sm)}
.chip svg{width:15px;height:15px;color:var(--brand-600)}
.pcard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow-lg);
  transform:rotate(.5deg)}
.pcard h4{font-family:Sora;margin:0 0 2px;font-size:.98rem}
.pcard .pc-sub{font-size:.76rem;color:var(--muted);margin:0 0 12px}
.pcard-row{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:12px 0;
  border-top:1px solid var(--line-2)}
.pcard-row .n{font-weight:600;font-size:.93rem}
.pcard-row .g{font-size:.74rem;color:var(--muted);font-weight:400}
.pcard-row .p{font-family:Sora;font-weight:800;color:var(--brand-700);white-space:nowrap}
.pcard-row .bar{grid-column:1/-1;height:6px;border-radius:99px;background:var(--brand-50);overflow:hidden}
.pcard-row .bar i{display:block;height:100%;background:var(--grad);border-radius:99px}
.callout{display:flex;gap:12px;align-items:flex-start;background:#fffaf0;border:1px solid #f3e2bd;
  border-left:4px solid var(--amber);border-radius:14px;padding:14px 16px;margin:22px 0;font-size:.92rem;color:#6b551f}
.callout-ic{font-size:1.15rem;line-height:1.35}
.callout strong{color:#4a3a12}
.sec-head{margin-bottom:18px}
.sec-head .eyebrow{margin-bottom:12px}
.sec-head h2{margin-top:0}
article .sec-head{margin-top:2.4em}
.drug-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.drug-card{position:relative;display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid var(--line);
  border-radius:var(--r);padding:18px;overflow:hidden;transition:.18s ease;box-shadow:var(--shadow-sm)}
.drug-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--brand-100)}
.dc-img{border-radius:13px;overflow:hidden;margin-bottom:12px}
.pen{display:block;width:100%;height:auto}
.dc-gen{font-size:.83rem;color:var(--muted);margin:2px 0}
.dc-price{font-family:Sora;font-size:1.5rem;font-weight:800;color:var(--ink);margin:6px 0 0}
.dc-price small{font-size:.76rem;font-weight:600;color:var(--muted)}
.dc-more{margin-top:auto;padding-top:14px;font-weight:700;font-size:.88rem;color:var(--brand-700);
  display:inline-flex;gap:6px;align-items:center}
.dc-more svg{width:16px;height:16px;transition:.18s}
.drug-card:hover .dc-more svg{transform:translateX(4px)}
.drug-top{display:grid;grid-template-columns:230px 1fr;gap:30px;align-items:center;margin-top:6px}
.drug-figure{border-radius:18px;overflow:hidden}
.trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.trust-item{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);
  border-radius:var(--r);padding:20px;box-shadow:var(--shadow-sm)}
.trust-item .ti-ic{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:var(--brand-50);color:var(--brand-700);font-size:20px}
.trust-item h3{font-size:1rem;margin-bottom:3px}
.trust-item p{margin:0;font-size:.9rem;color:var(--slate)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px;box-shadow:var(--shadow-sm)}
.panel .p-ic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--grad-btn);
  color:#fff;font-size:22px;margin-bottom:12px}
.panel .dc-img{margin-bottom:16px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 20px;border-radius:12px;font-weight:700;
  font-size:.95rem;font-family:Sora,Inter,sans-serif;cursor:pointer;transition:.16s;border:1.5px solid transparent;line-height:1}
.btn svg{width:18px;height:18px}
.btn-primary{background:var(--grad-btn);color:#fff;box-shadow:var(--glow-btn)}
.btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px);color:#fff}
.btn-ghost{background:#fff;color:var(--brand-700);border-color:var(--brand-100)}
.btn-ghost:hover{background:var(--brand-50)}
.factbox{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:6px 24px;margin:18px 0;
  box-shadow:var(--shadow-sm)}
.factbox dl{display:grid;grid-template-columns:max-content 1fr;gap:0 26px;margin:8px 0}
.factbox dt{font-weight:600;color:var(--muted);font-size:.86rem;padding:11px 0;border-top:1px solid var(--line-2)}
.factbox dd{margin:0;padding:11px 0;border-top:1px solid var(--line-2);font-weight:500}
.factbox dt:first-of-type,.factbox dd:first-of-type{border-top:none}
.se-list{columns:2;column-gap:30px;margin:.6em 0;padding-left:1.1em}
.se-list.warn{color:#7a3a30}
.table-wrap{overflow-x:auto;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--shadow-sm);margin:14px 0}
.table-wide{width:min(98vw,1200px);margin-left:50%;transform:translateX(-50%)}
.nowrap{white-space:nowrap}
.table-wide .compare th,.table-wide .compare td{min-width:8.5em}
.table-wide .compare th:first-child,.table-wide .compare td:first-child{min-width:auto}
table{border-collapse:collapse;width:100%;background:#fff}
.table-wrap table{border:none}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line-2);font-size:.94rem}
tbody tr:last-child td{border-bottom:none}
thead th{background:#f0f7f4;font-size:.73rem;text-transform:uppercase;letter-spacing:.06em;color:var(--slate);font-weight:700}
tbody tr:hover{background:var(--brand-50)}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;font-weight:800;font-family:Sora}
td.num{color:var(--brand-700)}
.compare tbody th{background:#f0f7f4;font-weight:600;font-size:.9rem;color:var(--slate);white-space:nowrap}
.compare td{vertical-align:top}
.gen{font-weight:400;color:var(--muted);font-size:.92rem}
.drug-links{display:flex;flex-wrap:wrap;gap:10px}
.drug-links a{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 15px;font-weight:600;font-size:.9rem}
.drug-links a:hover{border-color:var(--brand);background:var(--brand-50)}
.warn-h{color:#c0392b}
.faqs{margin-top:48px}
details.faq{background:#fff;border:1px solid var(--line);border-radius:12px;margin:10px 0;padding:0 18px;box-shadow:var(--shadow-sm)}
details.faq summary{cursor:pointer;font-weight:700;font-family:Sora;padding:15px 0;list-style:none;
  display:flex;justify-content:space-between;gap:14px;align-items:center}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";color:var(--brand-600);font-size:1.4rem;font-weight:700;transition:.2s;line-height:1}
details.faq[open] summary::after{transform:rotate(45deg)}
details.faq>div{padding:0 0 16px;color:var(--slate);font-size:.95rem}
.contact-email{font-size:1.05rem;font-weight:600;display:flex;align-items:center;gap:9px}
.contact-email svg{width:20px;height:20px;color:var(--brand-600)}
.contact-form{display:flex;flex-direction:column;gap:12px;max-width:520px;margin-top:8px}
.contact-form input,.contact-form textarea{font:inherit;padding:13px 15px;border:1px solid var(--line);
  border-radius:11px;background:#fff;color:var(--ink)}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--brand-100);border-color:var(--brand)}
.contact-form button{align-self:flex-start}
.site-foot{background:#0c1a16;color:#aebfb8;margin-top:64px}
.foot-grid{max-width:var(--max);margin:0 auto;padding:48px 20px 30px;display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
.foot-brand{color:#fff;margin-bottom:12px}
.foot-brand .tld{color:var(--brand)}
.foot-logo{height:40px;width:auto;margin-bottom:14px;display:block}
.site-foot p{font-size:.9rem;margin:.5em 0;max-width:42ch}
.site-foot h4{font-family:Sora;color:#fff;font-size:.98rem;margin:0 0 13px}
.site-foot a{color:#cfe0da}
.site-foot a:hover{color:#fff}
.foot-links{display:flex;flex-direction:column;gap:9px;font-size:.92rem}
.foot-bottom{border-top:1px solid #1d2f29;max-width:var(--max);margin:0 auto;padding:18px 20px 40px;
  font-size:.78rem;color:#7e928b}
.foot-bottom p{max-width:none}
@media(max-width:820px){
  .hero-inner{grid-template-columns:1fr;gap:26px}
  .hero-visual{order:-1}
  .split{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr;gap:24px}
}
@media(max-width:620px){
  .drug-top{grid-template-columns:1fr}
  .drug-figure{max-width:280px}
}
@media(max-width:520px){
  .factbox dl{grid-template-columns:1fr;gap:0}
  .factbox dt{padding-bottom:0;border-top:1px solid var(--line-2)}
  .factbox dd{border-top:none;padding-top:2px}
  .se-list{columns:1}
  .foot-grid{grid-template-columns:1fr}
}

/* ==================================================================
   HEADER NAV - mobile burger drawer + prominent "Get a script" CTA
   ------------------------------------------------------------------
   Appended additively. Nothing above this banner is edited or removed.

   Header DOM order is:
       brand | nav#site-nav | .head-actions (CTA + .nav-toggle) | .nav-scrim
   which is also the desktop VISUAL order, so tab order == reading order ==
   visual order at every width and no `order` property is used anywhere
   (WCAG 2.4.3 / 1.3.2). Below 820px the nav is position:absolute and so is
   not a flex item at all, which means the in-flow mobile order is
   brand | .head-actions regardless of DOM order - the CTA and burger sit on
   the right without any reordering. The panel following its trigger in the
   tab order is handled in JS instead: nav.js moves focus to the first drawer
   link on open and restores it to the toggle on Escape / auto-close.

   All collapsing rules are gated on html.js-nav, which /assets/nav.js adds
   itself as its final statement. Without JS the nav stays in flow, visible and
   usable; the ungated <=820px compaction below shrinks that fallback to a
   measured ~152px at 375px (brand / links / CTA on three rows) against the
   original 160px. It could be squeezed to two rows by giving the nav a lower
   `order` than .head-actions below the breakpoint, but that would recreate,
   in the fallback, exactly the visual-order != tab-order failure the DOM
   ordering above exists to avoid - and this path only runs when nav.js has
   failed outright. Correct focus order everywhere beats 47px in a fallback.

   NOTE: .site-head{flex-wrap:wrap} (line 39) and .site-head nav
   {flex-wrap:wrap} (line 48) are the cause of the original 2-row wrap. Neither
   is edited in place and neither is switched off for the drawer: taking the nav
   out of flow already removes the wrap below 820px, and wrap is the header's
   only overflow escape at every width - with body{overflow-x:clip} there is no
   scrollbar to recover a clipped burger. See the note at .js-nav .nav-toggle.
   ================================================================== */

/* --- single source of truth for the header's horizontal padding --- */
.site-head{--pad:clamp(16px,4vw,28px);--head-h:69px;padding:13px var(--pad)}

/* Brand + actions sit above the scrim; both are real flex children. */
.brand{position:relative;z-index:3}
.brand-logo{flex:none}
.head-actions{position:relative;z-index:3;display:flex;align-items:center;gap:8px;flex:none}

/* Hidden until JS proves itself; ungated so a JS failure can never expose
   a dead button or an orphaned scrim. */
.nav-toggle{display:none}
.nav-scrim{display:none}

/* Desktop keeps today's look: brand on the left, links then CTA clustered
   right. margin-left:auto absorbs the free space before justify-content, so
   nav + actions stay together exactly as the old nav did. DOM order already
   is brand -> nav -> actions, so no `order` is needed.
   `not all and (max-width:820px)` rather than `min-width:821px`: the two are
   then exact complements of the mobile blocks, with no dead band at
   fractional viewport widths in (820,821). */
@media not all and (max-width:820px){
  .site-head>nav{margin-left:auto}
}

/* --- the CTA -------------------------------------------------------------
   WCAG 1.4.3: at .9rem / .88rem / .85rem Sora 700 this is NOT WCAG-large
   text, so it needs 4.5:1. This rule used to carry its own dark-green fill and
   glow because .btn-primary was still on the failing bright --grad. That fill
   is now the site-wide --grad-btn / --glow-btn on .btn-primary itself, which
   this element already carries (class="btn btn-primary nav-cta" on all 25
   pages), so the colour declarations are gone and only LAYOUT remains here.
   Rendering is unchanged: identical gradient, identical glow, one source of
   truth, and page buttons now match the header CTA instead of diverging.
   ---------------------------------------------------------------------- */
.site-head .nav-cta{flex:none;padding:10px 15px;font-size:.9rem;border-radius:11px;white-space:nowrap}
.site-head .nav-cta:hover,.site-head .nav-cta:focus{color:#fff}
.site-head .nav-cta svg{width:16px;height:16px;flex:none}
.site-head .nav-cta .cta-sm{display:none}

/* --- current page (aria-current is written by nav.js) --- */
.site-head nav a[aria-current=page]{color:var(--brand-700);background:var(--brand-50);font-weight:600}
/* A --brand-100 ring on the translucent white bar is ~1.1:1, i.e. invisible.
   White-then-brand-700 double ring is a real indicator, not decoration. */
.site-head .nav-cta[aria-current=page]{
  box-shadow:0 0 0 2px #fff,0 0 0 4px var(--brand-700),var(--glow-btn)}

/* --- focus (brand-700 on the white bar is 5.55:1, well past the 3:1 UI min) */
.site-head a:focus-visible,.nav-toggle:focus-visible{outline:3px solid var(--brand-700);outline-offset:2px}
/* The CTA already wears a permanent brand-700 ring on its own page (the
   aria-current double ring above). A brand-700 focus ring 1px away from it
   would change almost nothing, so the CTA focuses in --ink and sits clear of
   the 4px current-page ring. --ink on the white bar is 15.7:1. */
.site-head .nav-cta:focus-visible{outline-color:var(--ink);outline-offset:5px}

/* --- burger glyph (inline SVG + currentColor so it survives forced colors) */
.nav-toggle .burger{width:22px;height:22px;display:block;fill:currentColor;pointer-events:none}
.nav-toggle .burger rect{transform-box:fill-box;transform-origin:center;
  transition:transform .18s ease,opacity .12s ease}
.nav-toggle[aria-expanded=true] .b1{transform:translateY(4.9px) rotate(45deg)}
.nav-toggle[aria-expanded=true] .b2{opacity:0;transform:scaleX(.3)}
.nav-toggle[aria-expanded=true] .b3{transform:translateY(-4.9px) rotate(-45deg)}

/* --- scroll lock ---------------------------------------------------------
   overflow:hidden on the root freezes the scrollport WITHOUT changing the
   scroll offset, so the sticky header does not move and there is no jump on
   open or close (the position:fixed body trick causes both). The gutter is
   reserved up-front, below the breakpoint, so the lock cannot cause a
   one-frame 15px width shift on classic-scrollbar desktops.
   The lock is media-scoped so that even if a resize event is somehow missed,
   a drawer left open while crossing above 820px can never leave the desktop
   page scroll-locked. nav.js closes it too; this is the belt to that brace.
   ---------------------------------------------------------------------- */
@media(max-width:820px){
  html{scrollbar-gutter:stable}
  html.nav-open{overflow:hidden}
}

@keyframes navFade{from{opacity:0}to{opacity:1}}

@media(max-width:820px){
  .site-head{--head-h:63px;padding-top:9px;padding-bottom:9px;gap:8px 10px}
  .brand-logo{height:38px}

  /* NO-JS FALLBACK, ungated on purpose: if nav.js never runs the nav is still
     in flow and still wraps, but compacted (measured 152px at 375px vs the
     original 160px). The .js-nav rules below override all of this for the
     drawer, which measures 63px at both 375px and 320px. */
  .site-head nav{gap:0 2px}
  .site-head nav a{padding:6px 9px;font-size:.86rem}

  /* CTA stays in the header at every width - it is the conversion action and
     must never be buried in the drawer. Shorter label + pill keeps the budget.
     Measured: 375px -> logo 100 + gap 10 + CTA 103 + gap 8 + burger 44 = 265
     of 343 usable; 320px (--pad drops to 14) -> 90 + 10 + 96 + 6 + 44 = 246 of
     292 usable, right edge at 306. No horizontal overflow at either. */
  .site-head .nav-cta{min-height:44px;padding:11px 14px;font-size:.88rem;border-radius:999px}
  .site-head .nav-cta .cta-lg,.site-head .nav-cta svg{display:none}
  .site-head .nav-cta .cta-sm{display:inline}

  /* .site-head{flex-wrap:wrap} is deliberately LEFT ALONE here. Below 820px
     with JS the only in-flow flex children are .brand and .head-actions (the
     nav is position:absolute, the scrim is display:none/absolute), so there is
     nothing left to wrap in the normal case and forcing nowrap would buy
     nothing. It would, however, remove the last overflow escape: both children
     are flex:none, so if the CTA's rem-sized label outgrows its budget - a
     raised browser default font size, text-only zoom, or a Sora fetch failure
     falling back to a wider face - the overflow lands on the 44x44 toggle and
     body{overflow-x:clip} clips it with no scrollbar to reach it. With wrap
     intact the actions drop to a second header row instead, and nav.js's
     measure() feeds that taller box straight into --head-h. */

  .js-nav .nav-toggle{display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;flex:none;padding:0;margin:0;background:#fff;color:var(--brand-700);
    border:1.5px solid var(--line);border-radius:12px;cursor:pointer;box-shadow:var(--shadow-sm);
    -webkit-tap-highlight-color:transparent}
  .js-nav .nav-toggle:hover,.js-nav .nav-toggle[aria-expanded=true]{background:var(--brand-50);
    border-color:var(--brand-100)}

  /* THE PANEL. position:absolute (never fixed): .site-head has
     backdrop-filter, which makes it the containing block for fixed
     descendants, so a fixed sheet would be clipped to the header box. Being
     absolute against the sticky header also means it travels with the header
     and cannot break stickiness. left/right:0 resolve against the header's
     PADDING box, so this is already full-bleed - no negative margins.
     Closed state is visibility:hidden (not the `hidden` attribute, not
     `inert`): it removes the links from the tab order and the a11y tree with
     zero JS, it buys a close animation, and being media-scoped it can never
     leak to desktop the way a toggled `hidden` attribute would.
     max-height is derived from --head-h, which nav.js rewrites from the live
     header box on open/resize, so a raised root font-size can never push the
     last row below a scroll-locked fold. The literal is a pre-JS fallback. */
  .js-nav .site-head>nav{position:absolute;top:100%;left:0;right:0;margin:0;z-index:2;
    flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;
    padding:10px 14px 14px;padding-bottom:max(14px,env(safe-area-inset-bottom,14px));
    background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);
    max-height:calc(100vh - var(--head-h,63px));
    max-height:calc(100dvh - var(--head-h,63px));
    overflow-y:auto;overscroll-behavior:contain;
    visibility:hidden;opacity:0;transform:translateY(-10px);
    transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
  .js-nav .site-head.nav-open>nav{visibility:visible;opacity:1;transform:none;
    transition:opacity .18s ease,transform .18s ease,visibility 0s linear 0s}

  .js-nav .site-head>nav a{display:flex;align-items:center;min-height:44px;padding:13px 14px;
    font-size:1rem;font-weight:600;color:var(--ink);border:1px solid transparent;border-radius:12px}
  .js-nav .site-head>nav a:hover{background:var(--brand-50);color:var(--brand-700)}
  .js-nav .site-head>nav a[aria-current=page]{background:var(--brand-50);
    border-color:var(--brand-100);color:var(--brand-700)}

  /* touch-action:none is belt-and-braces for the iOS versions that ignore
     overflow:hidden on the root - dragging the dim area still won't scroll. */
  .js-nav .site-head.nav-open .nav-scrim{display:block;position:absolute;top:100%;left:0;right:0;
    z-index:1;height:100vh;height:100dvh;background:rgba(9,32,26,.38);
    touch-action:none;animation:navFade .19s ease both}
}

@media(max-width:359px){
  .site-head{--pad:14px}
  .brand-logo{height:34px}
  .head-actions{gap:6px}
  .site-head .nav-cta{padding:11px 12px;font-size:.85rem}
}

/* Width-agnostic forced-colors fixes: these are all real buttons at every
   width, so they are not scoped to the drawer breakpoint. */
@media(forced-colors:active){
  .js-nav .nav-toggle{border:1.5px solid ButtonBorder;background:ButtonFace;color:ButtonText}
  /* background-image is NOT neutralised by forced colors, so without this the
     --grad-btn fill survives while the label is forced to LinkText: dark green
     under blue link text is 1.57:1 on the HC-White theme. Dropping the image
     and the glow lets the UA paint ButtonFace, which LinkText/ButtonText are
     guaranteed to contrast with in both HC themes. Covers .nav-cta too, since
     the header CTA carries .btn-primary. */
  .btn-primary{background-image:none;background-color:ButtonFace;box-shadow:none;
    border:1.5px solid ButtonBorder}
  .site-head .nav-cta{border:1.5px solid ButtonBorder}
}
/* Drawer-only forced-colors fixes. Scoped to max-width:820px like every other
   drawer rule: above the breakpoint .site-head>nav is a plain inline flex row,
   not a panel, and must not be given a border or an opaque background. */
@media(forced-colors:active) and (max-width:820px){
  .js-nav .site-head>nav{border:1px solid CanvasText;background:Canvas}
  .js-nav .site-head.nav-open .nav-scrim{display:none}
  /* background/border-color/color are all UA-overridden in forced colors, so
     the drawer's current-page state would otherwise vanish. font-weight and a
     CanvasText outline survive, matching what the desktop rule already does. */
  .js-nav .site-head>nav a[aria-current=page]{font-weight:700;outline:2px solid CanvasText;
    outline-offset:-3px}
}

@media(prefers-reduced-motion:reduce){
  .js-nav .site-head>nav,.js-nav .site-head.nav-open>nav{transition:none;transform:none}
  .js-nav .site-head.nav-open .nav-scrim{animation:none}
  .nav-toggle .burger rect{transition:none}
}
/* ===================== end header nav ===================== */
