/* HELMS unified site chrome — the ONE header (bar + nav + Tools dropdown + theme toggle) used on EVERY
   page: the homepage, the server-rendered /briefings pages, and the standalone /tools/* pages. Single
   source of truth — linked, never inlined twice. Self-contained (hardcoded palette, no page CSS vars),
   no JS (CSS-only burger via a checkbox + CSS-only Tools dropdown via <details>).

   THEME RULES (deliberate): the HEADER does NOT change with the theme — the bar is ALWAYS dark, normal nav
   links are cream (--hx-nav-text) and ONLY Briefings + Tools are the gold gradient, in both light and dark. The
   Tools dropdown panel is ALWAYS a light panel with dark text (readable in both themes). The theme toggle's
   knob slide is the only [data-theme] reaction in the header (it just indicates state). Only the FOOTER
   follows the theme. */

/* ===== Self-hosted fonts (were Fontshare Satoshi + Google Cormorant/IBM Plex Mono via CDN; now local
   /fonts/*.woff2 so font-src can be 'self' and no third-party font host is contacted). Satoshi STATIC 400/500/700
   (Fontshare has NO static 600 — the site's 600/650/800 usages resolve to 700, exactly as they did on the CDN).
   Cormorant Garamond = one VARIABLE file per subset (weight 400-700). IBM Plex Mono static 400/500 (homepage
   var(--mono) only). latin + latin-ext subsets. font-display:swap mirrors the old &display=swap. ===== */
@font-face{font-family:'Satoshi';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/satoshi-400.woff2) format('woff2')}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/satoshi-500.woff2) format('woff2')}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/satoshi-700.woff2) format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/cormorant-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/cormorant-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plexmono-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plexmono-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/plexmono-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/plexmono-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* DESIGN TOKENS (#10): the chrome palette + radii as CSS variables (single source). Values equal the prior
   hardcoded ones EXACTLY so rendering is byte-identical — the ONLY intentional change is --hx-muted-light
   (light-theme muted/kicker tone) raised for WCAG AA: was #7a6f5a (~4.35:1 on cream) -> #736750 (~4.9:1). */
:root{
  --hx-gold:#f4ce71;                 /* solid gold accent (hover/links/focus) */
  --hx-gold-deep:#d39d31;            /* deep gold (dropdown arrow, knob gradient end) */
  --hx-gold-grad:linear-gradient(180deg,#f6d98a 0%,#e7c069 30%,#d39d31 56%,#a9781a 82%,#edc775 100%);  /* gold text-clip gradient: Briefings/Tools/Guides-country */
  --hx-gold-on-light:#8a6010;        /* gold accent on light surfaces */
  --hx-cream:#fffaf0;                /* light dropdown panel */
  --hx-panel:#15130e;                /* dark dropdown panel */
  --hx-bar-bg:#0c0b08;               /* sticky-bar — OPAQUE dark (was rgba(8,7,5,.82)+blur: the translucency+backdrop-filter made the bar's backdrop sample the unpainted white canvas for ~1 frame on cross-page nav -> header white-flash) */
  --hx-nav-text:#ece3d0;             /* normal nav link */
  --hx-soft-text:#d2c7ad;            /* foot/dropdown links (dark) */
  --hx-muted:#9c9078;                /* muted/kicker tone (dark) */
  --hx-muted-light:#736750;          /* muted/kicker tone (light) — CONTRAST FIX (was #7a6f5a) */
  --hx-foot-link-light:#5d5342;      /* foot links (light) */
  --hx-gold-rgb:212,157,49;          /* gold border/glow base (dark) */
  --hx-gold-light-rgb:169,120,25;    /* gold border base (light) */
  --hx-radius-bar:28px; --hx-radius-menu:12px; --hx-radius-pill:999px;
  /* ===== CANONICAL RADIUS SCALE (single source; --r-* used site-wide) ===== */
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-pill:999px;
}
/* reusable gold text-clip (the SAME gradient token as nav Briefings/Tools) for an inline accent — e.g. the
   jurisdiction word inside Guides card titles + page H1. On a <span>; inherits the heading weight/size. */
.hx-gold-text{background:var(--hx-gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.hx-bar,.hx-bar *,.hx-foot,.hx-foot *{box-sizing:border-box}   /* tool pages scope border-box to .tool-embed; force it here so the pill sizes like the homepage's */
/* FOUC guard: the ROOT *and the header zone* paint dark on the very first render (render-blocking chrome.css
   in <head>), so a cross-page navigation (worker -> Pages) never flashes white before the theme applies.
   theme.js sets data-theme on <html> synchronously (blocking in <head>) before first paint -> the right base
   shows. The header bar (.hx-bar) + pill (.hx-inner) are now OPAQUE solid fills (no translucency, no
   backdrop-filter): a translucent + backdrop-filtered bar sampled the unpainted white compositor canvas for
   ~1 frame on a cross-document navigation, which is what made the header zone flash white (html{background}
   alone could not fix it — the flashing surface was the bar's own backdrop-filter layer, not <html>).
   .hx-bar is theme-matched to the page base so the full-width strip is dark in dark / cream in light. */
html{background:#050504;-webkit-tap-highlight-color:transparent}   /* kill the mobile blue tap-flash site-wide (inherited; keyboard :focus-visible outlines kept) */
html[data-theme="light"]{background:#f5f0e4}
.hx-bar{position:sticky;top:0;z-index:60;padding:0 20px;background:rgba(13,12,9,.94);-webkit-backdrop-filter:blur(12px) saturate(1.08);backdrop-filter:blur(12px) saturate(1.08);border-bottom:1px solid transparent;transition:border-color .3s}   /* REDESIGN v34: lighter sticky blur bar. Near-opaque (.94) so a 1-frame cross-doc backdrop sample stays dark -> avoids the documented white-flash a fully-translucent blur caused on worker->Pages nav. PHASE-3 BATCH-1: bottom hairline is TRANSPARENT at scroll-top (seamless over the brand-black page) and FADES IN via .scrolled (toggled by chrome.js at scrollY>8). */
.hx-bar.scrolled{border-bottom-color:rgba(var(--hx-gold-rgb),.14)}   /* PHASE-3 BATCH-1: nav divider fades in once scrolled >8px (was always-on) */
[data-theme="light"] .hx-bar{background:rgba(245,240,228,.94);border-bottom-color:transparent}   /* light page: cream bar; hairline hidden at scroll-top */
[data-theme="light"] .hx-bar.scrolled{border-bottom-color:rgba(var(--hx-gold-light-rgb),.16)}   /* light: divider fades in on scroll */
.hx-inner{width:min(100%,1240px);margin:0 auto;position:relative;height:74px;display:flex;align-items:center;gap:26px;padding:0 20px 0 22px;
  background:transparent;border:0}   /* REDESIGN v34: flattened from the rounded pill to a full-width bar (bg/blur/border now on .hx-bar); dropped pill radius + shadow */
.hx-brand{display:flex;align-items:center;flex:0 0 auto;min-width:150px}
.hx-brand img{height:50px;width:auto;max-width:240px;object-fit:contain;display:block;filter:drop-shadow(0 10px 22px rgba(var(--hx-gold-rgb),.25))}
.hx-cb{display:none}
.hx-burger{display:none}
.hx-nav{flex:1 1 auto;min-width:0;margin-left:0;display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-start}
.hx-nav-spacer{flex:1 1 10px;min-width:18px}.hx-nav-spacer--l{flex:1 1 0;min-width:0}   /* two flex-grow spacers centre the Services…Guides group between brand and portal; the right (default) spacer's +10px flex-basis compensates the hx-inner gap(26) vs hx-nav gap(16), so gapL==gapR. Both hidden <=1199px and on coarse-pointer tablets via .hx-nav-spacer{display:none} below. */
.hx-nav a{font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:13.5px;color:var(--hx-nav-text);text-decoration:none;font-weight:600;letter-spacing:.162px;transition:.2s;white-space:nowrap}
.hx-nav a:hover{color:var(--hx-gold)}
/* Briefings AND Tools -> gold gradient text-clip + 700, in BOTH themes (the only coloured nav items) */
.hx-nav a.hx-gold{background:var(--hx-gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:700}
.hx-cta a.hx-portal{height:44px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;border:1px solid transparent;border-radius:var(--r-sm);background:var(--hx-gold);color:#1a1204;font-weight:700;font-size:14px;box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}   /* NAV-CENTER: these 3 were inherited from `.hx-nav a` before the .hx-cta hoist — restore them here so the Book CTA stays one line, no underline, Satoshi */
/* REDESIGN v36: global button unification — rectangular 8px + FLAT solid --hx-gold (no --hx-gold-grad, no 3D sheen), soft gold glow. Hover (below) KEEPS the v35 HALO (brighten + lift + static gold box-shadow). Static glow, NO moving sheen. */
.hx-cta a.hx-portal:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 0 20px rgba(var(--hx-gold-rgb),.25),0 12px 30px -4px rgba(var(--hx-gold-rgb),.3)}
@media(prefers-reduced-motion:reduce){.hx-cta a.hx-portal{transition:none}.hx-cta a.hx-portal:hover{transform:none}}
/* NAV-CENTER (chrome.css v44): the CTA (Live chat + Book + theme) is hoisted OUT of .hx-nav into a .hx-cta sibling,
   so .hx-inner = [logo] [.hx-nav = the 7 links] [.hx-cta]. On desktop this becomes a 1fr / auto / 1fr grid: the two
   equal 1fr side columns make the links sit DEAD-CENTRE of the page and keep the logo & CTA symmetric from the edges
   (superseding the old flex-spacer centring, which put the links ~116px right of centre). The two .hx-nav-spacer rules
   above are now dead (no such elements) but left harmless. */
.hx-cta{display:flex;align-items:center;gap:16px}
@media(min-width:1200px){
  .hx-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:24px}
  .hx-brand{justify-self:start}
  .hx-nav{justify-self:center;flex:0 0 auto;flex-wrap:nowrap;min-width:0}
  .hx-cta{justify-self:end}
}
@media(min-width:1200px) and (max-width:1380px){.hx-nav{gap:11px}}   /* low-end desktop: tighten the link gap so the centre column fits between the 1fr logo/CTA columns (no overlap) */
/* PHASE 2a: homepage hero Live-chat "lure" — a CONSTANT, always-on breathing gold halo on #home .premium-primary ONLY (same gold as the CTA hover halo), NOT hover-triggered. Rest (0/100%) == the button's base shadow so there's no jump; 50% blooms a soft gold halo. Reduced-motion -> none. */
@keyframes hxLurePulse{0%,100%{box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16),0 0 0 0 rgba(var(--hx-gold-rgb),0)}50%{box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16),0 0 22px 4px rgba(var(--hx-gold-rgb),.34)}}
#home .premium-primary{animation:hxLurePulse 2.4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#home .premium-primary{animation:none}}
/* Normal desktop: dropdown anchored UNDER the Tools trigger (position:relative). For the narrow desktop-site
   case it's re-centred in the viewport via a (pointer:coarse) and (min-width:1200px) override further down. */
.hx-drop{position:relative;display:inline-flex;align-items:center}
/* Tools parent is a real link (-> /tools hub); gold gradient comes from .hx-nav a.hx-gold. Sub-menu opens on
   hover/keyboard-focus (desktop, rules below); on mobile it is shown statically inside the burger. */
.hx-drop>.hx-drop-parent{cursor:pointer;display:inline-flex;align-items:center}
.hx-drop>.hx-drop-parent::after{content:"▾";margin-left:4px;font-size:.85em;opacity:.85;-webkit-text-fill-color:var(--hx-gold-deep);color:var(--hx-gold-deep)}
.hx-nav a.hx-gold:hover,.hx-drop:hover>.hx-drop-parent{filter:brightness(1.12)}
/* Tools dropdown follows the theme: DARK panel + cream/gold text in dark; LIGHT panel + dark text in light */
/* centred under the "Tools" label: parent .hx-drop is position:relative + inline-flex (its box == the
   summary), so left:50% is the summary's centre and translateX(-50%) pulls the panel back by half its
   own width -> panel centre == label centre, at any panel width (no width-specific pixel offsets). */
.hx-drop-menu{position:absolute;left:50%;transform:translateX(-50%);top:calc(100% + 12px);min-width:248px;max-width:calc(100vw - 24px);max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain;background:var(--hx-panel);border:1px solid rgba(var(--hx-gold-rgb),.34);border-radius:var(--r-md);padding:8px;box-shadow:0 14px 34px rgba(0,0,0,.55);z-index:80;display:none;scrollbar-width:thin;scrollbar-color:rgba(var(--hx-gold-rgb),.35) transparent}
/* desktop: open on hover OR keyboard focus. The 12px gap is bridged by .hx-drop::after — an UNCLIPPED pseudo on
   the non-scrolling parent. (NOT .hx-drop-menu::before: the menu's overflow-y:auto scroll-clip would eat a
   ::before sitting above its box, killing the bridge -> the menu would close before the cursor reached it.) */
.hx-drop:hover>.hx-drop-menu,.hx-drop:focus-within>.hx-drop-menu{display:block}
.hx-drop::after{content:"";position:absolute;left:-16px;right:-16px;top:100%;height:14px}
/* dark, on-brand scrollbar for the (desktop) scrolling dropdown — muted gold thumb, transparent track (reuses --hx-gold-rgb) */
.hx-drop-menu::-webkit-scrollbar{width:8px}
.hx-drop-menu::-webkit-scrollbar-track{background:transparent}
.hx-drop-menu::-webkit-scrollbar-thumb{background:rgba(var(--hx-gold-rgb),.35);border-radius:4px}
.hx-drop-menu::-webkit-scrollbar-thumb:hover{background:rgba(var(--hx-gold-rgb),.55)}
/* ===== (C) MOBILE-ONLY Tools control in the header bar (gold "Tools ▾" button + panel). Base = display:none
   (desktop uses the in-nav hover dropdown, unchanged); shown <=1199px in the mobile @media block below, where the
   in-burger Tools (.hx-nav .hx-drop) is hidden. Reuses --hx-* tokens + the same dark scrollbar as .hx-drop-menu. */
.hx-mtools{display:none}
.hx-mtools-btn{display:inline-flex;align-items:center;gap:5px;cursor:pointer;background:transparent;border:1px solid rgba(var(--hx-gold-rgb),.5);border-radius:var(--r-sm);padding:7px 13px;font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700;font-size:13px;letter-spacing:.16px;color:var(--hx-gold);white-space:nowrap;-webkit-tap-highlight-color:transparent}
.hx-mtools-btn:focus-visible{outline:2px solid var(--hx-gold);outline-offset:2px}
.hx-mtools-caret{font-size:.8em;color:var(--hx-gold-deep);transition:transform .2s ease}
.hx-mtools.is-open .hx-mtools-caret{transform:rotate(180deg)}
.hx-mtools-panel{position:absolute;top:calc(100% + 8px);left:8px;right:8px;display:none;max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain;background:var(--hx-panel);border:1px solid rgba(var(--hx-gold-rgb),.34);border-radius:var(--r-md);padding:8px;box-shadow:0 18px 40px rgba(0,0,0,.6);z-index:90;scrollbar-width:thin;scrollbar-color:rgba(var(--hx-gold-rgb),.35) transparent}
.hx-mtools.is-open .hx-mtools-panel{display:block}
.hx-mtools-panel::-webkit-scrollbar{width:8px}
.hx-mtools-panel::-webkit-scrollbar-track{background:transparent}
.hx-mtools-panel::-webkit-scrollbar-thumb{background:rgba(var(--hx-gold-rgb),.35);border-radius:4px}
.hx-mtools-panel::-webkit-scrollbar-thumb:hover{background:rgba(var(--hx-gold-rgb),.55)}
.hx-mtools-panel a{display:block;padding:9px 12px;border-radius:var(--r-sm);font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:13.5px;font-weight:600;color:var(--hx-soft-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-mtools-panel a:hover{background:rgba(211,157,49,.12);color:var(--hx-gold)}
.hx-mtools-all,.hx-mtools-panel a.hx-feat{color:var(--hx-gold);font-weight:700;background:rgba(var(--hx-gold-rgb),.12);border:1px solid rgba(var(--hx-gold-rgb),.34);margin-bottom:4px}
/* NB: no light-theme override for .hx-mtools-btn — the header pill (.hx-inner) is ALWAYS dark in both themes,
   so the button keeps the bright --hx-gold (~13:1) in light mode too (the dark-on-light gold would fail AA here). */
[data-theme="light"] .hx-mtools-panel{background:var(--hx-cream);border-color:rgba(var(--hx-gold-light-rgb),.34)}
[data-theme="light"] .hx-mtools-panel a{color:#3a3322}
[data-theme="light"] .hx-mtools-panel a:hover{color:#6c4a0d}
[data-theme="light"] .hx-mtools-all,[data-theme="light"] .hx-mtools-panel a.hx-feat{color:var(--hx-gold-on-light);background:rgba(var(--hx-gold-light-rgb),.12);border-color:rgba(var(--hx-gold-light-rgb),.4)}
.hx-drop-menu a{display:block;padding:9px 12px;border-radius:var(--r-sm);font-size:13.5px;color:var(--hx-soft-text);white-space:nowrap;font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:600}
.hx-drop-menu a:hover{background:rgba(211,157,49,.12);color:var(--hx-gold)}
[data-theme="light"] .hx-drop-menu{background:var(--hx-cream);border-color:rgba(var(--hx-gold-light-rgb),.34);box-shadow:0 14px 34px rgba(120,90,20,.25)}
[data-theme="light"] .hx-drop-menu a{color:#3a3322}
[data-theme="light"] .hx-drop-menu a:hover{background:rgba(var(--hx-gold-light-rgb),.14);color:#6c4a0d}
/* featured (flagship) dropdown item — SOLID readable gold + pill (NOT the clipped-gradient .hx-gold, which is
   invisible on the cream light dropdown). Readable in normal + hover, both themes. */
.hx-drop-menu a.hx-feat{color:var(--hx-gold);font-weight:700;background:rgba(var(--hx-gold-rgb),.12);border:1px solid rgba(var(--hx-gold-rgb),.34);margin-bottom:4px}
.hx-drop-menu a.hx-feat:hover{background:rgba(var(--hx-gold-rgb),.22);color:#ffe6a8}
[data-theme="light"] .hx-drop-menu a.hx-feat{color:var(--hx-gold-on-light);background:rgba(var(--hx-gold-light-rgb),.12);border-color:rgba(var(--hx-gold-light-rgb),.45)}
[data-theme="light"] .hx-drop-menu a.hx-feat:hover{background:rgba(var(--hx-gold-light-rgb),.22);color:#6c4a0d}
/* non-clickable group sub-headings inside the Tools dropdown — small, muted, uppercase; hairline divider
   separates groups (suppressed on the first). Inherits the menu's centred layout on mobile. */
.hx-drop-section{margin-top:4px;padding:10px 12px 3px;border-top:1px solid rgba(var(--hx-gold-rgb),.16);font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--hx-soft-text);opacity:.6;user-select:none}
.hx-drop-section:first-child{margin-top:0;border-top:0;padding-top:2px}
[data-theme="light"] .hx-drop-section{color:#6c4a0d;border-top-color:rgba(var(--hx-gold-light-rgb),.22)}
/* premium theme toggle (homepage only): refined inset track + sliding gold knob with sun/moon cross-fade.
   Markup: <button class="hx-theme"><span class="hx-knob"><span class="hx-ico hx-sun">☀</span><span class="hx-ico hx-moon">☾</span></span></button>. Driven by theme.js (delegated .hx-theme click), no inline. */
.hx-theme{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;width:48px;height:24px;flex:0 0 auto;border-radius:var(--r-pill);border:1px solid rgba(var(--hx-gold-rgb),.45);background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(255,255,255,.045));box-shadow:inset 0 1px 2px rgba(0,0,0,.55);position:relative;cursor:pointer;padding:0;transition:border-color .25s ease,box-shadow .25s ease}
.hx-theme:hover{border-color:rgba(var(--hx-gold-rgb),.85);box-shadow:inset 0 1px 3px rgba(0,0,0,.55),0 0 14px -4px rgba(var(--hx-gold-rgb),.6)}
.hx-theme:focus-visible{outline:2px solid var(--hx-gold);outline-offset:2px}
.hx-knob{position:absolute;left:2px;top:1px;width:20px;height:20px;border-radius:var(--r-pill);background:radial-gradient(circle at 34% 28%,#ffe7a6,var(--hx-gold) 56%,var(--hx-gold-deep));box-shadow:0 2px 7px -1px rgba(var(--hx-gold-rgb),.9),inset 0 0 0 1px rgba(255,255,255,.14);transition:transform .34s cubic-bezier(.4,.08,.2,1)}
[data-theme="light"] .hx-knob{transform:translateX(22px)}
.hx-ico{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1;color:#241803;pointer-events:none;transition:opacity .26s ease}
/* dark theme shows the MOON, light theme shows the SUN (icon = current state) */
.hx-sun{opacity:0}.hx-moon{opacity:1}
[data-theme="light"] .hx-sun{opacity:1}
[data-theme="light"] .hx-moon{opacity:0}
.hx-theme:focus-visible{outline:2px solid var(--hx-gold);outline-offset:2px}
.hx-theme-bar{display:none}   /* desktop: the in-nav toggle is used; the bar toggle shows only on mobile (below) */
.hx-theme{display:none!important}   /* PHASE-3 BATCH-2 (owner 2026-07-06): theme toggle REMOVED — site LOCKED to dark. Hides BOTH the in-nav toggle and the mobile .hx-theme-bar on every breakpoint (!important beats the responsive show/hide rules below). Toggle styling + all light-theme CSS kept intact but dead for trivial reversal: delete this one rule + restore theme.js. */

/* footer mirrors the homepage rich footer; the footer DOES follow the theme */
.hx-foot{border-top:1px solid rgba(var(--hx-gold-rgb),.2);margin-top:64px;padding:22px 20px 26px;color:var(--hx-muted);font-size:13px}   /* PHASE-3 BATCH-2: trimmed vertical padding (was 32/42) so footer height ≈ its text; margin-top 64px kept for the content-to-footer gap */
.hx-foot-wrap{max-width:1240px;margin:0 auto}
.hx-foot-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.hx-foot-brand{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.hx-foot-logo{background:var(--hx-gold-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;font-weight:700;font-size:18px;letter-spacing:.04em}
.hx-foot-tag{color:var(--hx-muted);font-size:13px;font-weight:500}
.hx-foot-links{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.hx-foot-links a{color:var(--hx-soft-text);text-decoration:none;font-size:13px}
.hx-foot-links a:hover{color:var(--hx-gold)}
.hx-foot-sub{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-top:14px;color:var(--hx-muted);font-size:11px;line-height:1.5}
.hx-foot-sub div:last-child{text-align:right}
.hx-foot-copy{color:var(--hx-muted);font-size:11px;line-height:1.45;margin-top:8px;opacity:.85}
[data-theme="light"] .hx-foot{border-top-color:rgba(var(--hx-gold-light-rgb),.25);color:var(--hx-muted-light)}
[data-theme="light"] .hx-foot-tag,[data-theme="light"] .hx-foot-sub,[data-theme="light"] .hx-foot-copy{color:var(--hx-muted-light)}
[data-theme="light"] .hx-foot-links a{color:var(--hx-foot-link-light)}
[data-theme="light"] .hx-foot-links a:hover{color:var(--hx-gold-on-light)}

/* Breadcrumb trail on Guides pages (visible след, above <h1>). Kicker typography (uppercase/small/letter-
   spacing), existing gold accent for links, muted footer tone for the current page; "›" separators are
   CSS-only (li+li::before). It lives in the themed content area, so it follows light/dark like the footer. */
.breadcrumb{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;align-items:center;font-size:11px;letter-spacing:1.32px;text-transform:uppercase;font-weight:600}
.breadcrumb li{display:inline-flex;align-items:center}
.breadcrumb li+li::before{content:"\203A";margin:0 9px;color:var(--hx-muted);opacity:.75}
.breadcrumb a{color:var(--hx-gold);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb [aria-current="page"]{color:var(--hx-muted)}
[data-theme="light"] .breadcrumb a{color:var(--hx-gold-on-light)}
[data-theme="light"] .breadcrumb li+li::before,[data-theme="light"] .breadcrumb [aria-current="page"]{color:var(--hx-muted-light)}

/* LinkedIn badge in the footer (gold-on-dark, inherits currentColor; theme-aware) */
.hx-social{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgba(var(--hx-gold-rgb),.34);border-radius:var(--r-sm);color:var(--hx-gold);transition:.2s;flex:0 0 auto}
.hx-social:hover{background:rgba(var(--hx-gold-rgb),.12);border-color:var(--hx-gold)}
[data-theme="light"] .hx-social{color:var(--hx-gold-on-light);border-color:rgba(var(--hx-gold-light-rgb),.4)}
[data-theme="light"] .hx-social:hover{background:rgba(var(--hx-gold-light-rgb),.12);border-color:var(--hx-gold-on-light)}
/* sticky / repeat booking CTA on long pages (homepage + guides). Bottom-LEFT so it never clashes with the
   bottom-right chat launcher; subtle gold pill, pure CSS (no JS, no inline handler). */
.sticky-book{position:fixed;left:18px;bottom:18px;z-index:90;display:inline-flex;align-items:center;gap:7px;padding:11px 17px;border-radius:var(--r-sm);background:var(--hx-gold);color:#1a1204;font-family:'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700;font-size:13.5px;line-height:1;text-decoration:none;box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}   /* REDESIGN v36: rectangular 8px + FLAT --hx-gold (was pill + gold-grad) */
.sticky-book:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 12px 30px rgba(var(--hx-gold-rgb),.24)}
@media(prefers-reduced-motion:reduce){.sticky-book{transition:none}.sticky-book:hover{transform:none}}
@media(max-width:600px){.sticky-book{left:12px;bottom:12px;padding:10px 14px;font-size:12.5px}}

@media(max-width:760px){.hx-foot-sub div:last-child{text-align:left}}
@media(max-width:1199px){
  .hx-theme:not(.hx-theme-bar){display:none}          /* hide the in-nav toggle on mobile... */
  .hx-theme-bar{display:inline-flex;margin-left:8px}   /* (D) NO margin-left:auto here — a SINGLE auto-margin (on .hx-mtools) pushes the whole right cluster. The fixed margin-left:8px offsets the burger's 8px left padding so the VISUAL gaps equalise: pill->toggle == toggle->burger-icon (was 14 vs 22). Not an auto-margin, so it doesn't split free space / blow out the Tools->theme gap. At <=400px (gap:10) it stays balanced: 10+8 == 10+8. */
  /* (C) mobile Tools control: shown in the bar. ONLY .hx-mtools has margin-left:auto -> it absorbs the free space
     and pushes the right cluster [Tools ▾][theme][burger] right; the three then sit at the flex gap from each
     other, so gap(Tools->theme) == gap(theme->burger) (D). The in-burger Tools item is hidden here. */
  .hx-mtools{display:flex;align-items:center;margin-left:auto}
  .hx-nav .hx-drop{display:none}
  .hx-bar{padding:0 10px 0}
  .hx-inner{height:auto;min-height:68px;border-radius:var(--r-lg);flex-wrap:wrap;padding:12px 18px;gap:14px}
  .hx-brand{min-width:0}
  .hx-brand img{height:52px;max-width:195px}
  .hx-burger{display:block;cursor:pointer;font-size:26px;line-height:1;color:var(--hx-gold);padding:2px 8px;user-select:none;-webkit-tap-highlight-color:transparent}   /* (D) no margin-left -> theme->burger gap == the flex gap == Tools->theme gap */
  .hx-burger:focus{outline:none}
  .hx-burger:focus-visible{outline:2px solid var(--hx-gold);outline-offset:2px}
  /* flex-wrap:nowrap is REQUIRED here: the desktop .hx-nav sets flex-wrap:wrap, and once the opened menu
     gets a capped max-height (below) a wrapping COLUMN flex container would break items into a 2nd column
     instead of scrolling. nowrap + overflow-y keeps one scrollable column. */
  .hx-nav{display:none;order:3;width:100%;margin-left:0;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:flex-start}
  /* opened mobile menu must never exceed the viewport: cap its height and scroll internally so a long Tools
     list (Guides + everything below) stays reachable. ~76px ≈ the brand row above it inside the sticky bar. */
  .hx-cb:checked ~ .hx-nav{display:flex;gap:15px;padding:12px 6px 4px;max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .hx-cb:checked ~ .hx-nav > *{flex-shrink:0}
  .hx-cta a.hx-portal{height:auto;padding:8px 20px}
  .hx-cta{display:none;order:4;width:100%;justify-content:center;gap:15px}   /* NAV-CENTER: mobile -> the CTA joins the burger dropdown BELOW the links (hidden in the collapsed bar, same as before when it lived inside .hx-nav) */
  .hx-cb:checked ~ .hx-cta{display:flex}
  .hx-drop{display:block;width:100%;text-align:center}
  /* [data-theme] (always present on <html>) ties the [data-theme=light] desktop rule's specificity and,
     being later in source, wins -> the dropdown is transparent (shows the dark mobile panel) in BOTH themes,
     so the open Tools sub-menu blends into the dark panel instead of showing a cream box. */
  [data-theme] .hx-drop-menu{position:static;left:auto;transform:none;box-shadow:none;border:0;padding:6px 0 2px;min-width:0;background:transparent;text-align:center}
  /* Force the burger Tools sub-menu to centre on the REAL viewport width (no leftover desktop translateX /
     left-offset). Needed because at a wide LOGICAL viewport (desktop-site ~980px) the menu otherwise keeps a
     ~24px left shift. !important + static/auto guarantees a full-width, centred panel at any width <=1199. */
  .hx-drop-menu{position:static !important;left:auto !important;right:auto !important;transform:none !important;width:auto !important;max-width:100% !important;margin-left:auto !important;margin-right:auto !important;display:block !important;max-height:none !important;overflow:visible !important}
  .hx-drop::after{display:none}   /* mobile static menu: no hover-bridge needed */
  /* mobile: dropdown is inline on the ALWAYS-dark bar -> gold text in BOTH themes. [data-theme] (any value,
     always present on <html>) raises specificity to beat the light desktop rule [data-theme=light] .hx-drop-menu a */
  [data-theme] .hx-drop-menu a{color:var(--hx-gold)}
  [data-theme] .hx-drop-menu a:hover{color:var(--hx-gold)}
}
/* very small phones (e.g. iPhone SE 320, Fold cover): tighten the bar so the right cluster [Tools ▾][theme]
   [burger] stays on ONE row (the new Tools button adds ~75px; the default 14px gap would wrap it at <=320). */
@media(max-width:400px){
  .hx-inner{gap:10px}
  .hx-mtools-btn{padding:7px 10px;gap:4px}
}
/* DESKTOP-SITE on a narrow touch screen ("Request desktop site" on a phone): the desktop nav shows at a
   wide LAYOUT viewport (min-width:1200) but on a coarse/touch pointer. Real desktops are pointer:fine and
   real mobile is <1200, so neither matches — this only fires for the forced-desktop-on-phone case. Centre
   the nav row + the Tools dropdown in the viewport so nothing sits off-centre / clipped. */
@media (pointer:coarse) and (min-width:1200px){
  .hx-inner{flex-wrap:wrap;height:auto;row-gap:2px;padding-top:10px;padding-bottom:12px}   /* height:auto so the bar grows to cover the wrapped nav row (was fixed 74px -> 2nd row bled over the hero) */
  .hx-nav{flex:1 1 100%;justify-content:center;flex-wrap:wrap;row-gap:10px}
  .hx-nav-spacer{display:none}
  .hx-drop{position:static}   /* dropdown centres in the viewport (against the full-width .hx-bar) for this case */
}

/* ===== off-homepage CTA: booking pill + Live chat (presence) + shared chat panel =====
   Self-contained colours (tool pages don't load briefings.css tokens). Presence dot is green in
   business hours and red when body.desk-closed (set by site-cta.js, same rule as the homepage). */
.hx-livechat{height:44px;padding:0 20px;display:inline-flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid rgba(212,157,49,.45);border-radius:var(--r-sm);background:transparent;color:#f4ce71;font:650 14px/1 'Satoshi','General Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;cursor:pointer;transition:border-color .2s,color .2s,transform .2s}   /* REDESIGN v36: rectangular 8px ghost (was pill). white-space:nowrap added (chrome.css v47) — sibling .hx-portal already has it ("stays one line"); .hx-livechat lacked the same guard, so "Live chat" could wrap under squeeze while Book never could. */
.hx-livechat:hover{border-color:var(--hx-gold);color:#f7d98a;transform:translateY(-1px)}
.hx-livechat .hx-dot{width:9px;height:9px;border-radius:var(--r-pill);background:#37c46e;box-shadow:0 0 0 0 rgba(55,196,110,.5);animation:deskring 2.2s ease-out infinite}
body.desk-closed .hx-livechat .hx-dot{background:#e5484d;animation:deskringred 2.2s ease-out infinite}
@keyframes deskring{0%{box-shadow:0 0 0 0 rgba(55,196,110,.5)}70%{box-shadow:0 0 0 10px rgba(55,196,110,0)}100%{box-shadow:0 0 0 0 rgba(55,196,110,0)}}
@keyframes deskringred{0%{box-shadow:0 0 0 0 rgba(229,72,77,.55)}70%{box-shadow:0 0 0 10px rgba(229,72,77,0)}100%{box-shadow:0 0 0 0 rgba(229,72,77,0)}}
@media(prefers-reduced-motion:reduce){.hx-livechat .hx-dot{animation:none}.hx-livechat:hover{transform:none}}

/* ===== Fix A: ghost Live-chat placeholder — pages without the REAL Live chat button (dist HTML) clone its
   width so the nav-group Services…Guides sits in the IDENTICAL position on every page (worker pages already
   have the real .hx-livechat). Hidden but occupies layout width; inert (no data-act, no focus). ===== */
.hx-livechat--ghost{visibility:hidden;pointer-events:none}   /* the real .hx-livechat now has a VALID font (Satoshi 650->700 14px). The ghost carries the .hx-livechat class too, and a class selector beats the homepage `button{font:inherit}` reset, so it inherits that same font -> the homepage ghost's reserved width == the real button on worker/tool pages. Banner pads (::before/::after below) recomputed against the fixed button width. */
.hx-livechat--ghost .hx-dot{animation:none}
@media(max-width:1199px){.hx-livechat--ghost{display:none}}   /* mobile: don't leave a blank row in the open burger menu */

/* ===== deadline banner (moved out of index.html inline <style> so it is shared by ALL pages) — full-width bar
   whose TEXT is centred UNDER the nav-group. The .db-inner mirrors the header container (min(100%,1240px),
   centred), and the ::before/::after pads reproduce the nav-group's fixed offsets within that 1240 box (const
   across desktop viewports). The group CENTRE offset is invariant to font metrics, so a centred text-block lands
   on the nav-group centre in any browser; text stays within the group bounds. Theme colours are banner-scoped
   (chrome.css is global; the old --line/--text/--gold2 are NOT). ===== */
.deadline-banner{display:block;text-decoration:none;transition:background .2s;background:linear-gradient(180deg,rgba(244,206,113,.08),rgba(244,206,113,.02));border-bottom:1px solid var(--db-line);color:var(--db-text);--db-text:#d2c7ad;--db-b:#f4ce71;--db-line:rgba(212,157,49,.16)}   /* REDESIGN v34: lighter banner (subtle warm wash + hairline), page-centred like the mockup, OUR gold */
[data-theme="light"] .deadline-banner{--db-text:#5d5342;--db-b:#8a6010;--db-line:rgba(169,120,25,.2)}
.deadline-banner:hover{background:linear-gradient(180deg,rgba(244,206,113,.13),rgba(244,206,113,.04))}
.deadline-banner b{color:var(--db-b);font-weight:600;white-space:nowrap}
.db-inner{width:min(100%,1240px);margin:0 auto;box-sizing:border-box;display:block;text-align:center;padding:10px 20px}   /* REDESIGN v34: page-centred (dropped the 216/450 nav-group offset pads for the mockup's simple centred banner) */
.db-text{display:inline;font-size:14px;line-height:1.4}
@media(max-width:600px){.deadline-banner .db-text{font-size:13px}.db-inner{padding-top:9px;padding-bottom:9px}}

/* shared live-chat panel (markup injected by chromeFooter; bridge = chat.js) */
.chat-panel{position:fixed;inset:0;z-index:1600;background:rgba(5,5,4,.64);backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:22px}
.chat-panel.show{display:flex}
.chat-box{width:min(430px,100%);border-radius:var(--r-lg);overflow:hidden;background:linear-gradient(145deg,rgba(22,20,15,.98),rgba(9,9,7,.99));border:1px solid rgba(212,157,49,.34);box-shadow:0 40px 120px -60px rgba(0,0,0,.95)}
.chat-head{padding:18px 20px;border-bottom:1px solid rgba(212,157,49,.30);display:flex;justify-content:space-between;align-items:center;color:#f7f1e6}
.chat-head b{display:block}
.chat-head span{color:#b9ad95;font-size:12px}
.chat-close{width:34px;height:34px;border-radius:var(--r-pill);border:1px solid rgba(212,157,49,.34);background:transparent;color:#f7f1e6;cursor:pointer;font-size:20px;line-height:1}
.chat-log{padding:18px 20px;display:grid;gap:10px;max-height:46vh;overflow:auto}
.msg{max-width:86%;padding:12px 14px;border-radius:var(--r-lg);font-size:14px;line-height:1.5}
.msg.op{background:rgba(255,255,255,.06);border:1px solid rgba(212,157,49,.22);border-bottom-left-radius:5px;color:#ece1c8}
.msg.me{justify-self:end;background:linear-gradient(135deg,#f4ce71,#d39d31);color:#120d05;border-bottom-right-radius:5px}
.chat-form{padding:16px 20px 20px;border-top:1px solid rgba(212,157,49,.30);display:grid;gap:10px}
.chat-form input,.chat-form textarea{width:100%;border:1px solid rgba(212,157,49,.34);border-radius:var(--r-md);background:rgba(255,255,255,.04);color:#f7f1e6;padding:11px 13px;resize:vertical;font:inherit}
.chat-form input:focus,.chat-form textarea:focus{outline:none;border-color:#d39d31}
.chat-form button{height:46px;border:0;border-radius:var(--r-sm);cursor:pointer;font-weight:700;font-size:14px;background:var(--hx-gold);color:#1a1204;box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}   /* REDESIGN v36: rectangular 8px + FLAT --hx-gold (was 13px + gold gradient) */
.chat-form button:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 12px 30px rgba(var(--hx-gold-rgb),.24)}
@media(prefers-reduced-motion:reduce){.chat-form button{transition:none}.chat-form button:hover{transform:none}}
[data-theme="light"] .chat-box{background:linear-gradient(145deg,#fffaf0,#f4ead5);border-color:rgba(169,120,25,.3)}
[data-theme="light"] .chat-head{color:#1d160b}[data-theme="light"] .chat-head span{color:#5d5342}
[data-theme="light"] .chat-close{color:#1d160b;border-color:rgba(169,120,25,.34)}
[data-theme="light"] .msg.op{background:rgba(0,0,0,.04);color:#2a2418;border-color:rgba(169,120,25,.22)}
[data-theme="light"] .chat-form input,[data-theme="light"] .chat-form textarea{background:#fff;color:#1d160b;border-color:rgba(169,120,25,.4)}

/* (the old .hx-page .hx-brand min-width override is gone: with the fixed-position nav (flex spacer) the
   brand width is unified at 150px on every page, so the nav links sit at the SAME X on homepage + subpages.) */

/* item2: off-homepage body = the homepage's base textured background (gold radial glows + dark vertical
   gradient), not a flat fill. Applied to every .hx-page (worker + tools). Explicit colours so it resolves
   on tool pages too (no briefings.css tokens there). Light variant for the toggled theme. */
body.hx-page{min-height:100vh}   /* REDESIGN v34: page background (base + gold ambient glow) unified on the bare body{} in the shared-shell block below (single source, all routes) */
/* footer "Get the checklist" thin form (shared chrome footer) */
.hx-foot-lead{margin-top:18px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;max-width:520px}
.hx-foot-lead label{font-size:12.5px;color:var(--hx-muted);width:100%;margin-bottom:2px}
.hx-foot-lead input{flex:1 1 200px;min-width:0;padding:9px 12px;border-radius:var(--r-md);border:1px solid rgba(var(--hx-gold-rgb),.4);background:rgba(255,255,255,.04);color:inherit;font:inherit;font-size:13.5px}
.hx-foot-lead input:focus{outline:none;border-color:var(--hx-gold)}
.hx-foot-lead button{padding:9px 16px;border:0;border-radius:var(--r-sm);cursor:pointer;font-weight:700;font-size:13px;background:var(--hx-gold);color:#1a1204;box-shadow:0 8px 24px rgba(var(--hx-gold-rgb),.16);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}   /* REDESIGN v36: rectangular 8px + FLAT --hx-gold (was 10px + gold-grad) */
.hx-foot-lead button:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 12px 30px rgba(var(--hx-gold-rgb),.24)}
@media(prefers-reduced-motion:reduce){.hx-foot-lead button{transition:none}.hx-foot-lead button:hover{transform:none}}
.hx-foot-done{display:none;margin-top:12px;color:var(--hx-gold);font-size:13.5px;font-weight:600}
.hx-mail{color:var(--hx-gold);font-weight:600;text-decoration:none}
.hx-mail:hover{text-decoration:underline}
@media(max-width:1199px){.hx-nav-spacer{display:none}}
.hx-foot-cta{margin:20px 0 6px}
.hx-foot-contact{margin-top:12px;font-size:13px;color:var(--hx-muted)}
[data-theme="light"] .hx-foot-contact{color:var(--hx-muted-light)}

/* ============================================================================================
   ===== REDESIGN v34 — SHARED SHELL (single source, inherited by every route) =================
   Uses OUR gold tokens (--hx-gold #f4ce71 / --hx-gold-grad / --hx-gold-rgb 212,157,49), never the
   mockup's #d8b45f. No Google-Fonts CDN. These rules were MOVED out of index.html's inline <style>
   (footer/card-glow/page-glow) so the shell is single-source; markup stays verbatim.
   ============================================================================================ */

/* (1) PAGE AMBIENT GLOW — the page background (base gradient + two gold corner glows) unified here as a
   SINGLE source, identical on EVERY route (homepage Pages + all worker pages). The per-page radials were
   removed from index.html body{} and chrome.css body.hx-page{} and consolidated onto the bare `body`
   element so both page types inherit it. Colours hardcoded (no --bg tokens on worker pages); gold via
   the --hx-gold-rgb token (in :root, loaded on every page). Not fixed -> glow sits at the document top
   like the original, consistent across routes. */
body{background:radial-gradient(700px 420px at 14% 40%,rgba(var(--hx-gold-rgb),.05),transparent 68%),linear-gradient(180deg,#050504,#0b0a08 58%,#050504)}   /* PHASE-3 BATCH-1: dropped the top 60% 3% radial that bled through the banner as a centre/right glow -> uniform banner on all chrome pages. Kept the low ambient glow. */
[data-theme="light"] body{background:radial-gradient(700px 420px at 14% 40%,rgba(var(--hx-gold-rgb),.05),transparent 68%),linear-gradient(180deg,#f5f0e4,#eee5d2 58%,#f5f0e4)}   /* PHASE-3 BATCH-1: top banner glow removed on light too */

/* (2) CARD GLOW — TWO diagonal corner glows per card (was one, bottom-right only). Same gold/intensity,
   mirrored across the diagonal. Applies to ALL .card components on every route. Cards keep their own
   overflow:hidden (clips the glow inside the corner); position:relative asserted so the pseudos anchor
   on worker/tool cards too. Moved from index.html .card:after. */
.card{position:relative;overflow:hidden}   /* overflow:hidden clips the corner glows inside every card (homepage cards already had it; asserted here for worker/tool cards too) */
.card::before,.card::after{content:"";position:absolute;width:190px;height:190px;pointer-events:none;
  background:radial-gradient(circle,rgba(var(--hx-gold-rgb),.14),transparent 66%)}
.card::after{right:-70px;bottom:-80px}     /* original bottom-right corner */
.card::before{left:-70px;top:-80px}        /* mirrored diagonally-opposite (top-left) corner */

/* (3) HOMEPAGE FOOTER — moved verbatim-in-markup from index.html inline <style> to the shared chrome,
   reskinned to the new shell: hairline gold top border, warm spacing, disclaimer at the original 11px
   (owner-preferred prod size; §10 satisfied — present + legible). Bare `footer` element selector; worker pages use `.hx-foot` (higher
   specificity) so they are unaffected. .goldtext base gradient stays inline (shared content utility). */
footer{padding:22px 0 26px;margin-top:40px;border-top:1px solid rgba(var(--hx-gold-rgb),.18);color:var(--hx-muted)}   /* PHASE-3 BATCH-2: trimmed vertical padding (was 34/44) so footer height ≈ its text; margin-top 40px kept for the content-to-footer gap */
footer .foot{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.foot-brand .goldtext{font-weight:700;font-size:18px;letter-spacing:.04em}
.foot-tag{color:var(--hx-muted);font-size:13px;font-weight:500}
.foot-links{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.foot-links a{color:var(--hx-soft-text);font-size:13px;text-decoration:none}
.foot-links a:hover{color:var(--hx-gold)}
.foot-social{display:inline-flex;gap:12px;align-items:center}
.foot-sub{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-top:16px;color:var(--hx-muted);font-size:11px;line-height:1.55}
footer .foot-sub{margin-top:16px}   /* PHASE-3 BATCH-2: the ©+reliance-disclaimer row shares class .wrap, whose inline `margin:auto` (index.html) zeroed the 16px top gap above -> the disclaimer crowded the links row. `footer .foot-sub` (0,1,1) beats `.wrap` (0,1,0) and restores proper separation. Disclaimer text VERBATIM. */
.foot-sub div:last-child{text-align:right}
[data-theme="light"] footer{border-top-color:rgba(var(--hx-gold-light-rgb),.22);color:var(--hx-muted-light)}
[data-theme="light"] .foot-tag,[data-theme="light"] .foot-sub{color:var(--hx-muted-light)}
[data-theme="light"] .foot-links a{color:var(--hx-foot-link-light)}
[data-theme="light"] .foot-links a:hover{color:var(--hx-gold-on-light)}
@media(max-width:760px){.foot-sub{flex-direction:column;align-items:flex-start;gap:8px}.foot-sub div:last-child{text-align:left}}

/* (4) MONO FIGURES — locked shell token: self-hosted IBM Plex Mono + tabular-nums for any data figure.
   The single reusable utility; applied to figures/data in the content phases. */
.hx-num{font-family:'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
/* ===== end REDESIGN v34 shared shell ===== */
[data-theme="light"] .hx-foot-lead input{background:#fff}

/* ============================================================================================
   ===== LIGHT-THEME NAV CONTRAST FIX (chrome.css v39, 2026-07-05) =============================
   REDESIGN v34 made the sticky header THEME-FOLLOWING: [data-theme="light"] .hx-bar is now CREAM
   (rgba(245,240,228,.94) == ~#f5f0e4 over the cream page) and .hx-inner is transparent — so all
   nav text now sits on cream in light theme. But the nav links kept their dark-bar colours, which
   wash out on cream (measured on #f5f0e4): plain links --hx-nav-text #ece3d0 = 1.12:1 (near-
   invisible — the owner-reported bug); the Briefings/Tools/Guides gold text-clip (--hx-gold-grad)
   fails at every stop (1.21–3.43:1); hover --hx-gold #f4ce71 = 1.33:1; Tools caret --hx-gold-deep
   #d39d31 = 2.14:1; mobile .hx-mtools-btn/caret = 1.33/2.14:1. (The comments at the top of this
   file + L125-126 asserting the bar/pill is "ALWAYS dark" predate v34 and are stale.)
   FIX: pin EVERY nav control to an AA-on-cream value, LIGHT THEME ONLY — dark theme is byte-
   identical (no [data-theme=dark]/unscoped rule is touched). The two-tier hierarchy is preserved:
   plain links = dark warm ink #3a3322 (11.0:1, matches the dropdown-link ink already used on cream
   at L128/134); the "feature" links (Briefings/Tools/Guides) = the flat readable on-light gold
   --hx-gold-on-light #8a6010 (4.9:1) already used by the dropdown/footer/breadcrumb on cream,
   replacing the gradient that only reads on the dark bar. ===== */
[data-theme="light"] .hx-nav a{color:#3a3322}                                                              /* plain links: dark warm ink, 11.0:1 (was #ece3d0, 1.12:1) */
[data-theme="light"] .hx-nav a.hx-gold{background:none;-webkit-text-fill-color:var(--hx-gold-on-light);color:var(--hx-gold-on-light)}   /* Briefings/Tools/Guides: flat readable gold #8a6010, 4.9:1 (gradient text-clip failed AA on cream) */
[data-theme="light"] .hx-drop>.hx-drop-parent::after{-webkit-text-fill-color:var(--hx-gold-on-light);color:var(--hx-gold-on-light)}      /* Tools ▾ caret matches the gold links (was --hx-gold-deep #d39d31, 2.14:1) */
[data-theme="light"] .hx-nav a:hover{color:var(--hx-gold-on-light)}                                        /* hover stays a readable gold on cream (was --hx-gold #f4ce71, 1.33:1) */
[data-theme="light"] .hx-mtools-btn{color:var(--hx-gold-on-light)}                                         /* mobile Tools trigger text on the cream bar (was --hx-gold #f4ce71, 1.33:1) */
[data-theme="light"] .hx-mtools-caret{color:var(--hx-gold-on-light)}                                       /* its caret (was --hx-gold-deep #d39d31, 2.14:1) */
[data-theme="light"] .hx-livechat{color:var(--hx-gold-on-light);border-color:rgba(var(--hx-gold-light-rgb),.5)}   /* off-homepage "Live chat" ghost CTA in the nav (worker/tool) was #f4ce71, 1.33:1 */
[data-theme="light"] .hx-livechat:hover{color:var(--hx-gold-on-light);border-color:var(--hx-gold-on-light)}      /* (base hover #f7d98a is even lighter on cream) */
[data-theme="light"] .hx-burger{color:var(--hx-gold-on-light)}                                             /* mobile hamburger ☰ (was --hx-gold #f4ce71, 1.33:1 — fails even the 3:1 large-glyph bar) */
[data-theme="light"] .hx-mail{color:var(--hx-gold-on-light)}                                               /* PHASE-3 (v40): homepage "Prefer to write?" contact link — base .hx-mail is --hx-gold #f4ce71 = 1.33:1 (invisible on cream); pin to #8a6010 = 4.91:1 AA. Content class defined in this shell file, so fixed here (Rule-3 single source). Dark theme untouched. */
/* ===== end LIGHT-THEME NAV CONTRAST FIX (v39) + PHASE-3 .hx-mail light fix (v40) ===== */

/* ===== PHASE-3 (v43): REVEAL-ON-SCROLL (owner 2026-07-06, from helms-terminal-redesign.html) =====
   Below-the-fold blocks fade+rise in the first time they enter the viewport (one-shot; observer in chrome.js
   adds .in then unobserves). Add class="rv" to any below-fold block; optional per-item stagger via
   style="--d:.06s". Easing = our house curve cubic-bezier(.22,1,.36,1) (no --ease token exists in the shell).
   ROBUSTNESS: no-JS (each consuming page carries <noscript><style>.rv{opacity:1;transform:none}</style></noscript>)
   AND prefers-reduced-motion BOTH show everything with no animation. Do NOT tag above-the-fold content
   (hero/terminal/nav/banner) — it must not start invisible (LCP). Harmless site-wide: pages with no .rv are unaffected. */
.rv{opacity:0;transform:translateY(16px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);transition-delay:var(--d,0s)}
.rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}
/* ===== end REVEAL-ON-SCROLL (v43) ===== */
