:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #5f6b7a;
  --line: #dfe4ea;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --canvas: #f4f7fa;
  --blue: #2f7fd9;
  --blue-dark: #155ca8;
  --navy: #082b58;
  --navy-deep: #061f41;
  --positive: #087443;
  --positive-soft: #dff4e9;
  --negative: #b42318;
  --negative-soft: #fde8e7;
  --shadow: 0 20px 54px rgba(15, 35, 62, 0.08);
  --header-height: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0;
  overflow-wrap: break-word;
  background:
    radial-gradient(circle at 80% 0%, rgba(47, 127, 217, 0.08), transparent 30rem),
    linear-gradient(180deg, #f9fbfd 0, var(--canvas) 44rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, select, input { font: inherit; }
button, a, select, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 3px solid #f2a900;
  outline-offset: 3px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(133, 184, 231, 0.28);
  background: rgba(6, 31, 65, 0.97);
  color: #fff;
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  padding-block: 4px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 116px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.brand-descriptor {
  margin-left: 16px;
  padding: 4px 0 4px 16px;
  border-left: 1px solid rgba(255,255,255,.48);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: thin;
}
nav a {
  flex: 0 0 auto;
  color: #d5e7f8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { color: #fff; }

main {
  width: min(100%, 1256px);
  margin: auto;
  padding: 58px 28px 76px;
}
.anchor-section { scroll-margin-top: calc(var(--header-height) + 18px); }
.hero { max-width: 1000px; margin-bottom: 40px; }
.release-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.release-label span {
  border-left: 1px solid #bdc9d8;
  padding-left: 10px;
  color: #344054;
}
h1 {
  max-width: 980px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.lede {
  max-width: 870px;
  margin: 0;
  color: #42526a;
  font-size: clamp(17px, 2vw, 20px);
}
.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 20px 0 0;
  color: #526173;
  font-size: 13px;
  font-weight: 650;
}
.research-meta a {
  color: var(--blue-dark);
  text-decoration-color: #9abadd;
  text-underline-offset: 3px;
}
.interpretation-note {
  max-width: 820px;
  margin: 24px 0 0;
  border-left: 3px solid var(--blue);
  background: rgba(237, 246, 255, 0.72);
  padding: 13px 16px;
  color: #344054;
  font-size: 14px;
}
.interpretation-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.pill {
  border: 1px solid #d5e2f1;
  border-radius: 999px;
  background: #edf4fb;
  color: #344054;
  padding: 8px 12px;
  font-size: 12px;
}
a.pill { text-decoration: none; }
a.pill:hover { border-color: #8eb7e0; background: #e4f0fb; }
.data-status, .noscript-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin-top: 18px;
  border: 1px solid #ccd8e5;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  color: #475467;
  font-size: 13px;
}
.data-status[data-kind="error"] {
  border-color: #f2b8b5;
  background: #fff7f6;
  color: #7a271a;
}
.data-status button {
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 750;
}

.scope-boundary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin: 30px 0;
  border-top: 1px solid #c6d2df;
  border-bottom: 1px solid #c6d2df;
  padding: 19px 4px;
}
.scope-icon, .method-number {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.scope-boundary h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}
.scope-boundary p { margin: 4px 0 0; color: var(--muted); }

.callout, .panel {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  padding: 32px;
}
.callout {
  position: relative;
  overflow: hidden;
}
.callout::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
  content: "";
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
}
.eyebrow.light { color: #b9dcff; }
.callout h2, .panel h2, .cta h2 {
  margin: 6px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.callout p, .panel p { color: var(--muted); }
.callout-copy { max-width: 970px; }

figure { margin-inline: 0; }
.hero-bars { margin: 30px 0 0; }
.hero-bars figcaption, .two-year-chart figcaption {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 850;
}
.bar-value {
  white-space: nowrap;
}
.hero-bar-row {
  display: grid;
  grid-template-columns: 190px minmax(100px, 1fr) 105px;
  gap: 14px;
  align-items: center;
  margin: 13px 0;
}
.bar-label { font-size: 14px; font-weight: 750; }
.bar-track {
  height: 38px;
  overflow: hidden;
  border-radius: 7px;
  background: #eef1f5;
}
.bar { height: 100%; border-radius: 7px; }
.bar-blue { background: linear-gradient(90deg, #1f6dbc, #4a91d8); }
.bar-gray { background: #9ba6b3; }
.bar-value {
  font-size: 27px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: right;
}
.bar-value.muted { color: #4f5967; }
.chart-summary {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
}
.method-note {
  margin-top: 27px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.method-note strong { color: var(--ink); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 24px 0;
}
.quick-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 21px;
}
.quick-card span { display: block; min-height: 40px; color: var(--muted); font-size: 12px; }
.quick-card strong {
  display: block;
  margin: 5px 0 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.quick-card small { color: var(--muted); font-size: 12px; }

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}
.panel-head > div:first-child { min-width: 0; }
.market-select {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
select {
  min-width: 220px;
  max-width: 100%;
  appearance: none;
  border: 1px solid #bfc9d5;
  border-radius: 10px;
  background: #fff;
  padding: 11px 36px 11px 12px;
  color: var(--ink);
}
.market-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.market-title-row h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 600;
}
.market-title-row p { margin: 2px 0; }
.share-control {
  display: flex;
  max-width: 420px;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  padding: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.share-fallback {
  width: min(100%, 390px);
  border: 1px solid #bfc9d5;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 12px;
}
.live-feedback { min-height: 18px; color: var(--positive); font-size: 12px; }
.live-feedback[data-kind="error"] { color: var(--negative); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.metric-card {
  min-width: 0;
  border: 1px solid #e1e6ec;
  border-radius: 14px;
  background: var(--soft);
  padding: 18px;
}
.metric-card.featured { border-color: #c5dcf2; background: #edf6ff; }
.metric-label {
  display: block;
  min-height: 55px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.metric-big {
  display: block;
  margin: 5px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 37px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.small-big { font-size: 31px; }
.metric-detail { color: var(--muted); font-size: 11px; }
.negative { color: var(--negative) !important; }
.positive { color: var(--positive) !important; }

.two-year-chart { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.year-row {
  display: grid;
  grid-template-columns: 55px minmax(100px, 1fr) 90px;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  font-variant-numeric: tabular-nums;
}
.year-track {
  height: 24px;
  overflow: hidden;
  border-radius: 5px;
  background: #edf0f4;
}
.year-fill { height: 100%; border-radius: 5px; background: #aeb8c4; }
.year-fill.accent { background: var(--blue); }
.footnotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.footnotes p { margin: 0; font-size: 11px !important; }

.comparison-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
  align-items: flex-start;
}
.selection-note { max-width: 680px; margin: 8px 0 6px; font-size: 13px; }
.segmented {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border-radius: 10px;
  background: #edf1f5;
  padding: 4px;
}
.segmented button {
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #475467;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: normal;
}
.segmented button.active {
  background: #fff;
  box-shadow: 0 1px 5px rgba(16, 24, 40, 0.14);
  color: var(--ink);
}
.comparison-legend {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: -5px 0 11px;
  color: var(--muted);
  font-size: 11px;
}
.comparison-legend span { display: inline-flex; align-items: center; gap: 5px; }
.comparison-legend i { display: inline-block; width: 14px; height: 5px; border-radius: 2px; }
.level-legend { justify-content: space-between; border-bottom: 1px solid #c8d1db; padding-bottom: 4px; }
.legend-negative { background: var(--negative); }
.legend-positive { background: var(--positive); }
.legend-axis { width: 2px !important; height: 12px !important; background: #667085; }
.market-bars { display: grid; gap: 5px; }
.market-row {
  display: grid;
  width: 100%;
  grid-template-columns: 155px minmax(110px, 1fr) 78px;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 8px;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.market-row:hover, .market-row:focus-visible { background: #f1f5f8; }
.market-name { font-size: 12px; font-weight: 750; line-height: 1.25; }
.comparison-track {
  position: relative;
  display: block;
  height: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf0f4;
}
.change-track::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: #667085;
  content: "";
}
.comparison-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
}
.change-track .comparison-fill { left: 50%; }
.negative-fill { transform: translateX(-100%); background: var(--negative); }
.positive-fill { background: var(--positive); }
.level-fill { left: 0; background: var(--blue); }
.comparison-value {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: right;
}
.enhancement-placeholder {
  margin: 0;
  border: 1px dashed #c7d1dc;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overscroll-behavior-inline: contain;
}
table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
caption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 11px 13px;
  text-align: right;
  white-space: nowrap;
}
th:first-child, td:first-child { text-align: left; }
th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f2f5f8;
  color: #3d4a5c;
  font-size: 11px;
  font-weight: 800;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fafc; }
.table-notes { margin-top: 10px; border-top: 0; padding-top: 0; }

.method-intro { max-width: 850px; font-size: 16px; }
.methodology .method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.method-grid article {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fcfdfe;
  padding: 18px;
}
.method-grid h3 { margin: 5px 0; font-size: 17px; }
.method-grid p { margin: 0; font-size: 13px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 850; }
details p { margin-bottom: 0; }
.provenance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}
.provenance > div { min-width: 0; background: #f8fafc; padding: 14px; }
.provenance span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.provenance strong, .provenance a { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; }

.cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-deep), #0b447e);
  color: #fff;
  padding: 30px 32px;
}
.cta h2 { max-width: 760px; font-size: clamp(25px, 3vw, 34px); }
.cta p { margin-bottom: 0; color: #d5e7f8; }
.cta a {
  flex: 0 0 auto;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}
footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 18px;
  margin: auto;
  border-top: 1px solid rgba(133, 184, 231, 0.24);
  background: var(--navy-deep);
  padding: 24px max(28px, calc((100vw - 1200px) / 2)) 50px;
  color: #d5e7f8;
  font-size: 11px;
}
.error-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}
.error-page h1 { margin: 0; }
.error-page p { margin: 0; color: var(--muted); }
.error-link {
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  padding: 11px 14px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .metrics-grid, .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provenance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-label { min-height: 36px; }
  .comparison-head { grid-template-columns: 1fr; }
  .comparison-head .segmented { margin-top: 14px; }
}

@media (max-width: 768px) {
  :root { --header-height: 112px; }
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px 9px;
  }
  nav { width: 100%; gap: 18px; padding: 2px 1px 5px; }
  main { padding: 38px 16px 52px; }
  .callout, .panel { border-radius: 17px; padding: 21px; }
  .panel-head { display: block; }
  .market-select { width: 100%; margin-top: 14px; }
  select { width: 100%; }
  .hero-bar-row { grid-template-columns: minmax(120px, 1fr) 76px; gap: 9px; }
  .hero-bar-row .bar-label { grid-column: 1 / -1; }
  .bar-track { height: 28px; }
  .bar-value { font-size: 21px; }
  .market-row { grid-template-columns: 120px minmax(80px, 1fr) 64px; gap: 7px; padding-inline: 4px; }
  .comparison-legend { justify-content: flex-start; }
  .methodology .method-grid { grid-template-columns: 1fr; }
  .footnotes { grid-template-columns: 1fr; gap: 7px; }
  .cta { display: block; padding: 24px; }
  .cta a { display: block; width: 100%; margin-top: 17px; white-space: normal; }
  footer { display: block; padding-inline: 16px; }
  footer span { display: block; margin-top: 5px; }
  th:first-child, td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    border-right: 1px solid var(--line);
    background: #fff;
  }
  th:first-child { z-index: 3; background: #f2f5f8; }
}

@media (max-width: 520px) {
  :root { --header-height: 140px; }
  nav {
    flex-wrap: wrap;
    gap: 6px 14px;
    overflow: visible;
  }
  nav a { width: calc(50% - 7px); }
  h1 { font-size: clamp(36px, 13vw, 54px); }
  .research-meta { display: block; }
  .research-meta span { margin-inline: 3px; }
  .scope-boundary { gap: 10px; }
  .metrics-grid, .market-grid, .provenance { grid-template-columns: 1fr; }
  .quick-card span, .metric-label { min-height: 0; }
  .market-title-row { display: block; }
  .share-control { max-width: 100%; align-items: stretch; margin-top: 10px; }
  .text-button { align-self: flex-start; }
  .year-row { grid-template-columns: 43px minmax(70px, 1fr) 58px; }
  .market-row { grid-template-columns: 96px minmax(70px, 1fr) 58px; }
  .market-name, .comparison-value { font-size: 11px; }
}

@media (max-width: 460px) {
  .brand-logo { width: 104px; }
  .brand-descriptor {
    margin-left: 11px;
    padding-left: 11px;
    font-size: .72rem;
  }
}

@media (max-width: 430px) {
  .segmented { grid-template-columns: 1fr; }
  .segmented button { min-height: 42px; }
}

@media (max-width: 340px) {
  main { padding-inline: 10px; }
  .callout, .panel { padding: 16px; }
  .cta { padding: 19px 17px; }
  .hero-bar-row { grid-template-columns: minmax(90px, 1fr) 68px; }
  .market-row { grid-template-columns: 84px minmax(62px, 1fr) 54px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header, .skip-link, .share-control, .segmented, .cta { display: none !important; }
  body { background: #fff; }
  main { max-width: none; padding: 0; }
  .callout, .panel, .quick-card { break-inside: avoid; box-shadow: none; }
  .enhancement-placeholder { display: none; }
}
