/* BrandPulse's shared design tokens and the few pieces every page shares (UX pass 2026-10-08).
   Every page links this first; its own stylesheet keeps the page's layout. New work uses these tokens rather than
   fresh hex values, so the pages built by different passes converge on one system:

   Colour  navy #0F1B2B (bars, dark heroes) · paper #F7F8F6 (every light page) · card #FFF · ink #0F1B2B ·
           ink-2 #3A4452 · muted #5B6472 (4.9:1 on paper) · line #DCE1E4 · pulse #FF7A59 (on navy only: 2.4:1 on
           paper, so never text on light) · rust #C2410C (links and accents on light, 4.9:1) · rust-dk #9A3412
   Type    Fraunces for page titles and big numbers, Manrope for everything else. Scale (px): 13 · 14 · 15 · 17 ·
           20 · 24 · 30 · 40 · 52, page titles clamp(30px → 44px), running text at most 75ch
   Space   4 · 8 · 12 · 16 · 24 · 32 · 48 · 64
   Radius  8 small controls · 12 fields and cards · 20 panels · 999 pills (buttons, chips)
   Depth   one shadow for floating things (menus, popovers, the Ask panel): 0 18px 40px rgba(15,27,43,.18)
   Focus   3px Pulse outline, 2px offset, on every interactive element */
/* The brand faces, self-hosted (2026-10-09; OFL, app/assets/fonts): variable WOFF2 subsets (Latin, Latin-1 and Latin
   Extended-A, punctuation, arrows), built by scripts/build_fonts.py. Fraunces: weights 500-700 and its optical sizes
   (WONK and SOFT fixed at 0, as Google served it); Manrope: 400-800. Preloaded by every page (seo.FONT_LINKS) and shown
   with font-display: swap: until they arrive the text is set in a local face resized to the same average width and
   line metrics ("… Fallback"), so the swap moves nothing (no layout shift). */
@font-face{font-family:'Fraunces';src:url(/static/fonts/fraunces.woff2) format('woff2');font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url(/static/fonts/manrope.woff2) format('woff2');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:'Fraunces Fallback';src:local('Georgia');size-adjust:104.8%;ascent-override:93.3%;descent-override:24.3%;line-gap-override:0%}
@font-face{font-family:'Fraunces Fallback 2';src:local('Times New Roman'),local('Liberation Serif');size-adjust:116.9%;ascent-override:83.7%;descent-override:21.8%;line-gap-override:0%}
@font-face{font-family:'Manrope Fallback';src:local('Arial'),local('Helvetica'),local('Liberation Sans');size-adjust:105.4%;ascent-override:101.2%;descent-override:28.5%;line-gap-override:0%}
@font-face{font-family:'Manrope Fallback 2';src:local('DejaVu Sans');size-adjust:91.8%;ascent-override:116.1%;descent-override:32.7%;line-gap-override:0%}

:root{
  --bp-navy:#0F1B2B;--bp-navy-2:#13233A;--bp-navy-line:#22324A;--bp-paper:#F7F8F6;--bp-card:#FFFFFF;
  --bp-ink:#0F1B2B;--bp-ink-2:#3A4452;--bp-muted:#5B6472;--bp-line:#DCE1E4;--bp-line-2:#ECEEEF;
  --bp-pulse:#FF7A59;--bp-pulse-hi:#FF916F;--bp-rust:#C2410C;--bp-rust-dk:#9A3412;--bp-pale:#B9C3D3;
  --bp-serif:'Fraunces','Fraunces Fallback','Fraunces Fallback 2',Georgia,serif;--bp-sans:'Manrope','Manrope Fallback','Manrope Fallback 2',system-ui,-apple-system,'Segoe UI',sans-serif;
  --bp-t-xs:13px;--bp-t-sm:14px;--bp-t-md:15px;--bp-t-lg:17px;--bp-t-xl:20px;--bp-t-2xl:24px;--bp-t-3xl:30px;
  --bp-title:clamp(30px,1.6vw + 22px,44px);
  --bp-s1:4px;--bp-s2:8px;--bp-s3:12px;--bp-s4:16px;--bp-s5:24px;--bp-s6:32px;--bp-s7:48px;--bp-s8:64px;
  --bp-r-sm:8px;--bp-r:12px;--bp-r-lg:20px;--bp-pill:999px;
  --bp-float:0 18px 40px rgba(15,27,43,.18);
  --bp-ease:cubic-bezier(.2,.8,.2,1);
  --bp-gutter:clamp(16px,3vw,48px)
}

/* the browser's own surfaces, in the palette */
::selection{background:rgba(255,122,89,.28);color:inherit}
html{accent-color:var(--bp-rust);caret-color:var(--bp-rust);-webkit-tap-highlight-color:rgba(255,122,89,.18)}
:focus-visible{outline:3px solid var(--bp-pulse);outline-offset:2px}

/* the one footer: who made it, how it scores, the math, privacy. Left-aligned, with room on the right for the Ask
   BrandPulse button, which floats over the bottom-right corner */
.bp-foot{box-sizing:border-box;width:min(100% - 2*var(--bp-gutter),1760px);margin:48px auto 0;padding:20px 88px 32px 0;border-top:1px solid var(--bp-line);
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;font:500 14px/1.5 var(--bp-sans);color:var(--bp-muted)}
.bp-foot nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.bp-foot a{color:var(--bp-ink-2);text-decoration:underline;text-decoration-color:var(--bp-line);text-underline-offset:4px;
  min-height:32px;display:inline-flex;align-items:center}
.bp-foot a:hover{color:var(--bp-ink);text-decoration-color:var(--bp-pulse)}
.bp-foot .lock{opacity:.6;margin-left:4px}

/* loading: a quiet shimmer in the shape of what is coming, never a spinner on a blank page */
.bp-skel{display:block;border-radius:var(--bp-r);background:linear-gradient(90deg,#ECEEEF 0%,#F4F5F4 40%,#ECEEEF 80%) 0 0/300% 100%;
  animation:bpShimmer 1.4s ease-in-out infinite}
.bp-skel.line{height:14px;border-radius:6px;margin:10px 0}.bp-skel.line.w60{width:60%}.bp-skel.line.w40{width:40%}.bp-skel.line.w80{width:80%}
.bp-skel.block{height:180px}.bp-skel.tall{height:320px}
.bp-skel.dark{background:linear-gradient(90deg,#172A42 0%,#1E3350 40%,#172A42 80%) 0 0/300% 100%}
@keyframes bpShimmer{0%{background-position:100% 0}100%{background-position:0 0}}
/* a region being refreshed keeps its old content, dimmed, until the new arrives (so you can see what changed) */
[aria-busy="true"].bp-refresh{opacity:.45;transition:opacity .2s var(--bp-ease);pointer-events:none}
.bp-refresh{transition:opacity .25s var(--bp-ease)}
@media (prefers-reduced-motion:reduce){.bp-skel{animation:none}.bp-refresh,[aria-busy="true"].bp-refresh{transition:none}}

/* The category picker (picker.js): a button showing the choice; a popover with a search box and the categories grouped
   by sector. Light by default; .bp-pick.dark on navy surfaces (Explore's header). */
.bp-pick{position:relative;display:block;min-width:0}
.bp-pick .bp-pick-native{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.bp-pick-btn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px 0 14px;
  border:1.5px solid #C9D0D6;border-radius:10px;background:var(--bp-card);color:var(--bp-ink);font:600 15px/1.2 var(--bp-sans);cursor:pointer;text-align:left}
.bp-pick-btn:hover{border-color:var(--bp-ink)}
.bp-pick-btn:disabled{opacity:.6;cursor:default}
.bp-pick-v{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bp-pick-chev{flex:none;width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .15s var(--bp-ease)}
.bp-pick.open .bp-pick-chev{transform:translateY(2px) rotate(-135deg)}
.bp-pick-pop{position:absolute;z-index:70;top:calc(100% + 6px);left:0;width:max(100%,360px);max-width:calc(100vw - 2*var(--bp-gutter));
  background:var(--bp-card);color:var(--bp-ink);border:1px solid var(--bp-line);border-radius:14px;box-shadow:var(--bp-float);padding:8px}
.bp-pick-q{width:100%;min-height:40px;border:1.5px solid #C9D0D6;border-radius:10px;padding:0 12px;font:500 15px var(--bp-sans);color:var(--bp-ink);background:#fff;box-sizing:border-box}
.bp-pick-q:focus{outline:2px solid var(--bp-rust);outline-offset:1px;border-color:var(--bp-rust)}
.bp-pick-list{list-style:none;margin:6px 0 0;padding:0;max-height:min(360px,60vh);overflow:auto}
.bp-pick-g{font:700 12px/1.2 var(--bp-sans);color:var(--bp-muted);padding:10px 10px 4px}
.bp-pick-list [role=option]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 10px;border-radius:8px;cursor:pointer;font:600 14.5px var(--bp-sans)}
.bp-pick-list [role=option].on{background:#F1F3F4}
.bp-pick-list [role=option][aria-selected=true]{color:var(--bp-rust)}
.bp-pick-list [role=option][aria-selected=true]::after{content:"";order:3;width:6px;height:11px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin:-3px 4px 0 0}
.bp-pick-list [aria-disabled=true]{color:var(--bp-muted);cursor:default}
.bp-pick-n{margin-left:auto;font-weight:600;font-size:13px;color:var(--bp-muted);font-variant-numeric:tabular-nums}
.bp-pick-none{margin:8px 10px;color:var(--bp-muted);font-size:14px}
.bp-pick-l{min-width:0;padding:6px 0;line-height:1.3}
.bp-pick-st{display:inline-block;margin-left:6px;padding:3px 7px;border-radius:var(--bp-pill);background:var(--bp-line-2);color:var(--bp-muted);font:700 11px/1 var(--bp-sans);white-space:nowrap;vertical-align:1px}
.bp-pick-st.st-provisional{background:#FFF1E8;color:var(--bp-rust-dk)}
.bp-pick.dark .bp-pick-btn{background:var(--bp-navy-2,#13233A);border-color:#2C3E58;color:#F7F8F6}
.bp-pick.dark .bp-pick-btn:hover{border-color:#B9C3D3}
@media (prefers-reduced-motion:reduce){.bp-pick-chev{transition:none}}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
