/* The site's header (site.css, «Header») for pages that do not load site.css —
   the report page runs on the prototype's styles, which clash with the site's.
   Every rule is scoped to .site-chrome; the report's own .site-header rules
   are overridden here, so this file is loaded after the report's styles.
   Changing the header in site.css means changing it here too.

   Not sticky, unlike the site: the report has its own sticky sidebar and
   anchor jumps that a header over the page would cover. The mobile menu
   hangs from the header for the same reason. */

.site-chrome {
  --ink: #0B2545;
  --ink-2: #2F4566;
  --line: #E2E9F3;
  --bg-soft: #F4F8FE;
  --navy: #0B2545;
  --brand: #2D8CFF;
  --brand-600: #1768CE;
  --brand-hover: #1478EF;
  --shadow: 0 2px 4px rgba(11, 37, 69, .04), 0 12px 32px rgba(11, 37, 69, .08);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  position: relative; z-index: 50;
  font: 400 16px/1.6 var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.site-chrome *, .site-chrome *::before, .site-chrome *::after { box-sizing: border-box; }
.site-chrome svg { display: block; max-width: 100%; }
.site-chrome a { color: inherit; text-decoration: none; }
.site-chrome button { font: inherit; color: inherit; cursor: pointer; }

.site-chrome .i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-chrome .container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.site-chrome .btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.site-chrome .btn:active { transform: translateY(1px); }
.site-chrome .btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(45, 140, 255, .26); }
.site-chrome .btn--primary:hover { background: var(--brand-hover); }

.site-chrome .site-header { position: static; height: auto; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-chrome .site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,37,69,.05); }
.site-chrome .site-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-chrome .logo { display: inline-flex; align-items: center; }

.site-chrome .nav { display: flex; align-items: center; gap: 6px; }
.site-chrome .nav__link { position: relative; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.site-chrome .nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.site-chrome .nav__link.is-active { color: var(--ink); font-weight: 600; }
.site-chrome .nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand); }
.site-chrome .nav__cta { margin-left: 14px; --h: 42px; font-size: 14px; }
.site-chrome .burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .site-chrome .nav { position: absolute; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-chrome .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  /* The open menu over a dimmed page (html.menu-open, site.js / report-v2.js): without it the page right
     under the white panel read as more of the menu — a button below looked like one more item. */
  html.menu-open { overflow: hidden; }
  html.menu-open body::after { content: ''; position: fixed; inset: 0; z-index: 40; background: rgba(18, 37, 62, .45); }
  .site-chrome .nav__link { padding: 14px 12px; font-size: 17px; }
  .site-chrome .nav__link.is-active::after { display: none; }
  .site-chrome .nav__link.is-active { background: var(--bg-soft); }
  .site-chrome .nav__cta { margin: 10px 0 0; --h: 52px; }
  .site-chrome .burger { display: inline-flex; }
}

@media (max-width: 640px) {
  .site-chrome { --gutter: 16px; font-size: 15px; }
}

@media print {
  .site-chrome { display: none !important; }
}

/* Logo (brandbook): Barlow Condensed Bold, «Home» #12253E, «Check» #049BE1 — as in site.css. */
.site-chrome .logo__word { font-family: "Barlow Condensed", var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -.015em; line-height: 1; color: #12253E; }
.site-chrome .logo__word b { color: #049BE1; font-weight: 700; }
.site-chrome .logo--light .logo__word { color: #F2F2F3; }
@media (max-width: 900px) {
  .site-chrome .logo__word { font-size: 30px; }
}
