/* ===========================================================================
   MARKET INTEL — Premium Editorial Design
   =========================================================================== */

:root {
  --paper:      #FFFFFF;
  --panel:      #FFFFFF;
  --ink:        #0A0A0F;
  --ink-soft:   #6C6F78;
  --rule:       #ECECEF;
  --accent:     #2E5BFF;
  --accent-soft:#E3EAFF;
  --chip:       #F4F4F6;

  --serif: "Source Serif 4", "Source Serif Pro", "Times New Roman", Georgia, serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1320px;
  --gutter: 28px;
  --radius: 2px;
  --pad-section-y: 56px;
}
:root[data-density="compact"] { --pad-section-y: 36px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.5vw, 68px); line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: 32px; line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 22px; line-height: 1.2; }
h4 { font-size: 16px; line-height: 1.25; font-weight: 600; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===========================================================================
   TOPBAR
   =========================================================================== */
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(8px);
}
.topbar__inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px var(--gutter);
  max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 32px; height: 32px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
.brand__mark svg { width: 18px; height: 18px; }
.brand__name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; }
.brand__name b { font-weight: 600; }
.brand__name em { font-style: italic; color: var(--ink-soft); font-weight: 400; }

.url-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 7px 7px 7px 14px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.url-bar:focus-within { border-color: var(--ink); }
.url-bar__icon { color: var(--ink-soft); display: grid; place-items: center; }
.url-bar input {
  border: 0; outline: 0; background: transparent; font: inherit;
  font-size: 14px; font-family: var(--sans); color: var(--ink);
  width: 100%;
}
.url-bar input::placeholder { color: var(--ink-soft); }
.url-bar__go {
  padding: 7px 14px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity .15s, background .15s;
}
.url-bar__go:disabled { opacity: 0.55; }
.url-bar__go:hover:not(:disabled) { background: var(--accent); }

.user-tools { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 99px;
  display: grid; place-items: center; color: var(--ink-soft);
  border: 1px solid transparent; transition: border-color .15s, color .15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--rule); }
.avatar {
  width: 34px; height: 34px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
}

/* Suggestions row */
.suggestions-row {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.suggestions-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 7px var(--gutter);
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.sugg-label {
  font-family: var(--sans); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.1em; text-transform: uppercase;
  margin-right: 4px;
}
.suggestion-chip {
  padding: 4px 11px;
  background: var(--chip);
  border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  color: var(--ink-soft); cursor: pointer;
  transition: all .15s;
}
.suggestion-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Search notification */
.search-notification {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--rule);
  padding: 9px var(--gutter);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
}
.search-notification svg { flex-shrink: 0; color: var(--accent); }

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-soft); letter-spacing: 0.04em;
  padding: 11px var(--gutter);
  max-width: var(--container); margin: 0 auto;
  display: flex; gap: 8px; align-items: center;
}
.breadcrumbs span:last-child { color: var(--ink); }
.breadcrumbs .sep { opacity: 0.5; }

/* ===========================================================================
   HERO
   =========================================================================== */
.hero {
  padding: 24px var(--gutter) 40px;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 52px;
  border-bottom: 1px solid var(--rule);
}
.hero__top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--chip);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.tag--check::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--accent);
}
.hero__title { color: var(--ink); }
.hero__sub {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.4; color: var(--ink-soft);
  margin: 16px 0 0; max-width: 680px;
}
.hero__summary {
  font-size: 16px; line-height: 1.6; color: var(--ink);
  margin: 20px 0 0; max-width: 680px;
}
.hero__summary b { font-weight: 600; }
.dateline {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.dateline__item {
  padding: 0 20px 0 0; margin-right: 20px;
  border-right: 1px solid var(--rule);
  font-family: var(--sans); font-size: 13px;
}
.dateline__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.dateline__label {
  display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 3px;
}
.dateline__value { color: var(--ink); font-weight: 500; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 17px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
  border: 1px solid var(--ink);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero aside mini-chart */
.hero__aside {
  background: var(--panel); border: 1px solid var(--rule); padding: 22px;
}
.hero__aside .eyebrow { display: block; margin-bottom: 10px; }
.mini-stat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: 14px;
}
.mini-stat__cell .v { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.mini-stat__cell .v.accent { color: var(--accent); }
.mini-stat__cell .l { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.mini-chart {
  display: flex; align-items: flex-end; gap: 4px; height: 80px;
  border-bottom: 1px solid var(--ink); padding-bottom: 0;
}
.mini-chart > div { flex: 1; background: var(--ink); opacity: 0.8; }
.mini-chart > div:last-child { background: var(--accent); opacity: 1; }
.mini-chart-foot {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft); margin-top: 5px;
}

/* ===========================================================================
   KPI STRIP
   =========================================================================== */
.kpi-strip {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter); border-bottom: 1px solid var(--rule);
}
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); }
.kpi { padding: 22px 22px 22px 0; border-right: 1px solid var(--rule); position: relative; }
.kpi:first-child { padding-left: 0; }
.kpi:last-child { border-right: 0; }
.kpi--hero::before {
  content: ""; position: absolute; left: -2px; top: 22px; bottom: 22px;
  width: 2px; background: var(--accent);
}
.kpi--hero { padding-left: 16px; }
.kpi__label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.kpi__value { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.02em; margin-top: 8px; }
.kpi__delta { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 6px; }

/* ===========================================================================
   3-COLUMN LAYOUT
   =========================================================================== */
.layout {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 200px 1fr 340px; gap: 40px;
}

/* Jump nav */
.jump { position: sticky; top: 90px; align-self: start; padding-top: 32px; }
.jump .eyebrow { margin-bottom: 12px; display: block; }
.jump ol { list-style: none; padding: 0; margin: 0; counter-reset: jmp; }
.jump li { counter-increment: jmp; }
.jump a {
  display: grid; grid-template-columns: 24px 1fr;
  align-items: baseline; gap: 8px; padding: 7px 0;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  border-bottom: 1px dotted var(--rule); transition: color .15s, border-color .15s;
}
.jump a::before {
  content: counter(jmp, decimal-leading-zero);
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft);
}
.jump a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.jump a.is-active::before { color: var(--accent); }
.jump a:hover { color: var(--ink); }

/* Main content */
.main { padding-top: 32px; min-width: 0; }
.section { padding: var(--pad-section-y) 0; border-bottom: 1px solid var(--rule); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section__num { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: 0.1em; }
.section__title { display: flex; align-items: baseline; gap: 14px; }
.section__title .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.section__intro {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft); font-size: 16px; line-height: 1.6;
  max-width: 620px; margin: 0 0 26px;
}

/* ===========================================================================
   TABS
   =========================================================================== */
.tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 32px;
}
.tab {
  padding: 13px 20px 13px 0; margin-right: 20px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tab__count { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); margin-left: 6px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ===========================================================================
   FORECAST BAR CHART
   =========================================================================== */
.chart-card { background: var(--panel); border: 1px solid var(--rule); padding: 24px; }
.chart-card__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 20px;
}
.chart-card__title { font-family: var(--serif); font-size: 19px; }
.chart-card__legend { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }

.fc-chart {
  display: grid; gap: 5px; align-items: end;
  height: 260px; padding: 14px 0 0;
  border-bottom: 1px solid var(--ink); position: relative;
}
.fc-chart::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background-image:
    linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), var(--rule) calc(25% - 1px), var(--rule) 25%),
    linear-gradient(to bottom, transparent 0, transparent calc(50% - 1px), var(--rule) calc(50% - 1px), var(--rule) 50%),
    linear-gradient(to bottom, transparent 0, transparent calc(75% - 1px), var(--rule) calc(75% - 1px), var(--rule) 75%);
  pointer-events: none;
}
.fc-bar {
  display: flex; flex-direction: column; align-items: stretch;
  height: 100%; position: relative; justify-content: flex-end;
}
.fc-bar__fill { background: var(--ink); opacity: 0.85; transition: opacity .15s, background .15s; }
.fc-bar.is-last .fc-bar__fill { background: var(--accent); opacity: 1; }
.fc-bar:hover .fc-bar__fill { opacity: 1; background: var(--accent); }
.fc-bar__year {
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft); text-align: center; padding-top: 6px;
  position: absolute; left: 0; right: 0; top: 100%;
}
.fc-bar__tip {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; padding: 5px 8px; white-space: nowrap;
  margin-bottom: 6px; pointer-events: none; opacity: 0; transition: opacity .12s;
}
.fc-bar:hover .fc-bar__tip { opacity: 1; }

.fc-foot {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule);
}
.fc-foot__cell .l { font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.fc-foot__cell .v { font-family: var(--serif); font-size: 26px; line-height: 1; margin-top: 6px; }
.fc-foot__cell.is-accent .v { color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  padding: 6px 13px; border: 1px solid var(--rule); background: var(--paper);
  font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-soft);
  transition: all .15s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===========================================================================
   SEGMENTS
   =========================================================================== */
.seg-grid { display: flex; flex-direction: column; gap: 16px; }
.seg {
  padding: 14px 18px; border: 1px solid var(--rule); background: var(--panel); transition: border-color .15s;
}
.seg.is-top { border-left: 3px solid var(--accent); padding-left: 16px; }
.seg:hover { border-color: var(--ink-soft); }
.seg__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.seg__name { font-family: var(--serif); font-size: 17px; }
.seg__share { font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; }
.seg.is-top .seg__share { color: var(--accent); }
.seg__track { height: 6px; background: var(--paper); border: 1px solid var(--rule); overflow: hidden; }
.seg__bar { height: 100%; background: var(--ink); transition: width .4s ease; }
.seg.is-top .seg__bar { background: var(--accent); }
.seg__meta { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-top: 8px; }

/* ===========================================================================
   REGIONS TABLE
   =========================================================================== */
.rg-table { border: 1px solid var(--rule); background: var(--panel); }
.rg__row {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 0.8fr 0.9fr 0.8fr;
  align-items: center; gap: 18px; padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 14px; transition: background .15s;
}
.rg__row:last-child { border-bottom: 0; }
.rg__row:not(.rg__row--head):hover { background: var(--chip); }
.rg__row--head {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper);
}
.rg__name { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 16px; }
.rg__code { font-family: var(--mono); font-size: 11px; padding: 3px 7px; background: var(--ink); color: var(--paper); min-width: 46px; text-align: center; }
.rg__share { display: flex; align-items: center; gap: 10px; }
.rg__sparkbar { flex: 1; height: 6px; background: var(--paper); border: 1px solid var(--rule); display: inline-block; max-width: 100px; overflow: hidden; }
:root[data-spark="off"] .rg__sparkbar { display: none; }
.rg__sparkbar > span { display: block; height: 100%; background: var(--accent); }
.rg__cagr { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.rg__filter {
  padding: 5px 9px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-soft); border: 1px solid var(--rule); background: var(--paper); transition: all .15s;
}
.rg__filter:hover { color: var(--ink); border-color: var(--ink); }

/* ===========================================================================
   DRIVERS / RESTRAINTS
   =========================================================================== */
.forces { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.forces__col h3 {
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
  margin-bottom: 18px; display: flex; justify-content: space-between; align-items: baseline;
}
.forces__col h3 .marker { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.forces__list { display: flex; flex-direction: column; gap: 18px; }
.force { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.force__num { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.restraints .force__num { color: var(--ink-soft); }
.force__body h4 { font-family: var(--serif); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.force__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* ===========================================================================
   PLAYERS
   =========================================================================== */
.players { display: flex; flex-direction: column; gap: 4px; }
.player {
  display: grid; grid-template-columns: 36px 1.5fr 1.4fr 56px;
  align-items: center; gap: 18px; padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.player:last-child { border-bottom: 0; }
.player__rank { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.player__name { display: block; font-family: var(--serif); font-size: 17px; }
.player__meta { display: block; font-family: var(--sans); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.player__bar { height: 8px; background: var(--paper); border: 1px solid var(--rule); }
.player__bar > div { height: 100%; background: var(--ink); transition: width .4s ease; }
.player:first-child .player__bar > div { background: var(--accent); }
.player__share { font-family: var(--mono); font-size: 13px; text-align: right; }

/* ===========================================================================
   PURCHASE RAIL
   =========================================================================== */
.rail { position: sticky; top: 90px; align-self: start; padding-top: 32px; }
.purchase { background: var(--panel); border: 1px solid var(--ink); padding: 24px; position: relative; }
.purchase__badge {
  position: absolute; top: -1px; right: -1px;
  padding: 4px 10px; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
}
.purchase__eyebrow { margin-bottom: 6px; }
.purchase__title { font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.purchase__hint { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }

.licenses { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.lic {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 12px;
  align-items: center; padding: 12px 14px;
  border: 1px solid var(--rule); background: var(--paper); text-align: left;
  transition: border-color .15s, background .15s;
}
.lic:hover { border-color: var(--ink-soft); }
.lic.is-active { border-color: var(--ink); background: var(--panel); }
.lic__radio {
  width: 16px; height: 16px; border-radius: 99px; border: 1.5px solid var(--ink-soft);
  display: grid; place-items: center; transition: border-color .15s;
}
.lic.is-active .lic__radio {
  border-color: var(--accent);
  background: radial-gradient(var(--accent) 0 4px, transparent 5px);
}
.lic__body { display: flex; flex-direction: column; }
.lic__name { font-family: var(--serif); font-size: 15px; }
.lic__blurb { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.lic__price { font-family: var(--serif); font-size: 17px; letter-spacing: -0.01em; }

.cta-buy {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 500; transition: background .15s;
}
.cta-buy:hover { background: var(--ink); }
.cta-buy b { font-family: var(--serif); font-size: 17px; font-weight: 500; }

.purchase__alt { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.purchase__alt a, .purchase__alt button {
  display: flex; justify-content: space-between; width: 100%; text-align: left;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  padding: 6px 0; border: 0; border-bottom: 1px dotted var(--rule);
  background: none; cursor: pointer; transition: color .15s;
}
.purchase__alt a:hover, .purchase__alt button:hover { color: var(--accent); }
.purchase__alt a:last-child, .purchase__alt button:last-child { border-bottom: 0; }
.purchase__alt span:last-child { color: var(--ink-soft); }

.trust { margin-top: 14px; padding: 16px; border: 1px solid var(--rule); background: var(--panel); }
.trust__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.trust__head .v { font-family: var(--serif); font-size: 20px; }
.trust__head .l { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.trust__logos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--rule); }
.trust__logos > div {
  aspect-ratio: 2/1; background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; color: var(--ink-soft); letter-spacing: 0.1em;
}

.analyst-card {
  margin-top: 14px; padding: 18px; background: var(--panel); border: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.analyst-card__avatar {
  width: 44px; height: 44px; border-radius: 99px;
  background: linear-gradient(135deg, var(--accent-soft), var(--chip));
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px; color: var(--accent);
}
.analyst-card .l { font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.analyst-card .n { font-family: var(--serif); font-size: 16px; margin: 2px 0; }
.analyst-card .b { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

/* ===========================================================================
   TOC PANEL
   =========================================================================== */
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li {
  display: grid; grid-template-columns: 38px 1fr 44px;
  align-items: baseline; gap: 12px; padding: 12px 0;
  border-bottom: 1px dotted var(--rule); font-family: var(--serif); font-size: 16px;
}
.toc__num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.toc__name { }
.toc__page { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); text-align: right; }

/* ===========================================================================
   METHODOLOGY
   =========================================================================== */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.method-step { border: 1px solid var(--rule); background: var(--panel); padding: 22px; }
.method-step__num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.12em; }
.method-step h4 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 6px 0 10px; }
.method-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ===========================================================================
   RELATED + FOOTER
   =========================================================================== */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.related__item {
  background: var(--panel); padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 16px; transition: background .15s;
}
.related__item:hover { background: var(--chip); }
.related__arr { font-family: var(--sans); font-size: 16px; color: var(--ink-soft); }
.related__item:hover .related__arr { color: var(--accent); }

footer {
  margin-top: 60px; padding: 40px var(--gutter);
  border-top: 1px solid var(--rule); background: var(--panel);
}
footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h5 {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; font-family: var(--serif); font-size: 15px; color: var(--ink); }
footer li:hover { color: var(--accent); cursor: pointer; }
.footer-bottom {
  max-width: var(--container); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 12px; color: var(--ink-soft);
}

/* ===========================================================================
   ABSTRACT / TAKEAWAYS / PROSE / FAQ
   =========================================================================== */
.section--abstract { padding-top: 40px; }
.abstract { column-count: 2; column-gap: 40px; column-rule: 1px solid var(--rule); margin-bottom: 36px; }
.abstract p { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 14px; break-inside: avoid; }
.abstract p:first-child::first-letter {
  font-family: var(--serif); font-size: 56px; line-height: 0.85;
  float: left; padding: 4px 8px 0 0; color: var(--accent); font-weight: 500;
}
@media (max-width: 880px) { .abstract { column-count: 1; } }

.takeaways__title {
  font-family: var(--serif); font-size: 20px; margin: 8px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.takeaways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 16px; background: var(--panel); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
}
.tk__num { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.tk__body h4 { font-family: var(--serif); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.tk__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 720px) { .takeaways { grid-template-columns: 1fr; } }

.prose { margin-top: 22px; max-width: 700px; }
.prose p { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

.faqs { border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 0; cursor: pointer;
  font-family: var(--serif); font-size: 17px; color: var(--ink); transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__icon {
  width: 24px; height: 24px; display: grid; place-items: center;
  border: 1px solid var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 500;
  transition: transform .2s, background .15s, color .15s; flex-shrink: 0;
}
.faq[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq__a { padding: 0 0 20px; max-width: 680px; }
.faq__a p { margin: 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* ===========================================================================
   TWEAKS PANEL
   =========================================================================== */
#tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; width: 280px; z-index: 100;
  background: var(--panel); border: 1px solid var(--ink); padding: 16px; display: none;
  font-family: var(--sans); box-shadow: 6px 6px 0 var(--accent);
}
#tweaks-panel.is-open { display: block; }
.tw__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tw__head b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.tw__close { color: var(--ink-soft); font-size: 16px; }
.tw__close:hover { color: var(--ink); }
.tw__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 12px 0 6px; }
.tw__palettes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tw__sw {
  display: flex; align-items: center; gap: 5px; padding: 8px;
  border: 1px solid var(--rule); background: var(--paper); font-size: 12px; transition: border-color .15s;
}
.tw__sw:hover { border-color: var(--ink-soft); }
.tw__sw.is-active { border-color: var(--ink); }
.tw__sw span { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--rule); }
.tw__sw em { font-style: normal; margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }
.tw__row { display: flex; gap: 6px; }
.tw__pill { padding: 6px 12px; border: 1px solid var(--rule); background: var(--paper); font-size: 12px; font-family: var(--sans); transition: all .15s; }
.tw__pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===========================================================================
   MODALS
   =========================================================================== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 15, 0.55); backdrop-filter: blur(4px);
  place-items: center;
}
.modal-overlay.active { display: grid; }
.modal-box {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 36px; width: 100%; max-width: 460px; position: relative;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.1), 8px 8px 0 var(--accent-soft);
}
.modal-box-center { text-align: center; }
.modal-close-btn { position: absolute; top: 16px; right: 18px; font-size: 22px; color: var(--ink-soft); transition: color .15s; }
.modal-close-btn:hover { color: var(--ink); }
.modal-title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.modal-subtitle { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 22px; }
.modal-body-text { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 20px; }

.sidebar-form-group { margin-bottom: 14px; }
.sidebar-form-group label {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.sidebar-form-group input,
.sidebar-form-group textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--rule); background: var(--panel);
  font: inherit; font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: 0; transition: border-color .15s; resize: vertical;
}
.sidebar-form-group input:focus,
.sidebar-form-group textarea:focus { border-color: var(--ink); }
.sidebar-submit-btn {
  width: 100%; padding: 13px 18px; background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; transition: background .15s;
}
.sidebar-submit-btn:hover { background: var(--ink); }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 1380px) {
  .layout { grid-template-columns: 170px 1fr 300px; gap: 28px; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .layout { grid-template-columns: 1fr; max-width: 780px; }
  .jump { display: none; }
  .rail { position: static; padding-top: 0; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi { padding: 18px 16px 18px 0; }
  .kpi--hero { padding-left: 12px; }
  .kpi:nth-child(3) { border-right: 0; }
  .kpi:nth-child(4), .kpi:nth-child(5) { border-top: 1px solid var(--rule); padding-top: 18px; }
  .forces, .method-grid, .related-grid { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar__inner { grid-template-columns: auto 1fr auto; }
  .hero { padding: 16px var(--gutter) 24px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-right: 0; border-bottom: 1px solid var(--rule); }
  .rg__row { grid-template-columns: 1.4fr 0.9fr 0.7fr; gap: 8px; padding: 12px 14px; font-size: 13px; }
  .rg__row > :nth-child(4), .rg__row > :nth-child(5) { display: none; }
  footer .container { grid-template-columns: 1fr; }
}

/* ===========================================================================
   HOME — FULL HERO (new 2-col design)
   =========================================================================== */
.hero-full-wrap {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  background-image: radial-gradient(circle, var(--rule) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-full {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  min-height: calc(100vh - 57px);
  max-height: 920px;
  align-items: center;
  padding: 80px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.hero-full__eyebrow {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 24px;
}
.hero-full__eyebrow strong { color: var(--accent); }
.hero-full__eyebrow .sep { color: var(--rule); }
.hero-full__title {
  font-family: var(--serif);
  font-size: clamp(62px, 7.8vw, 104px);
  line-height: .91; letter-spacing: -.03em;
  margin-bottom: 28px;
}
.hero-full__title em { font-style: italic; color: var(--accent); }
.hero-full__body {
  font-family: var(--sans); font-size: 18px; color: var(--ink-soft);
  line-height: 1.55; max-width: 480px; margin-bottom: 36px;
}
.hero-full__actions { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.hero-btn-primary {
  padding: 15px 30px; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  border: 0; cursor: pointer; transition: background .15s; text-decoration: none; display: inline-block;
}
.hero-btn-primary:hover { background: var(--accent); color: var(--paper); }
.hero-btn-secondary {
  padding: 14px 24px; background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  border: 1.5px solid var(--rule); cursor: pointer; transition: all .15s;
  text-decoration: none; display: inline-block;
}
.hero-btn-secondary:hover { border-color: var(--ink); }
.hero-full__search {
  display: flex; border: 2px solid var(--ink); background: var(--paper); max-width: 520px; margin-bottom: 16px;
}
.hero-full__search input {
  flex: 1; padding: 14px 18px; border: 0; background: transparent;
  font-family: var(--sans); font-size: 15px; color: var(--ink); outline: 0;
}
.hero-full__search input::placeholder { color: var(--ink-soft); }
.hero-full__search button {
  padding: 0 26px; background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.hero-full__search button:hover { background: var(--ink); }
.hero-full__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 520px; }
.hero-full__chips .try-label { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); }

/* ---- Hero preview card ---- */
.hero-preview {
  border: 1px solid var(--rule); background: var(--paper);
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--accent-soft);
}
.hero-preview__accentbar { height: 3px; background: var(--accent); }
.hero-preview__inner { padding: 24px; }
.hero-preview__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hero-preview__tag {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; background: var(--accent-soft); color: var(--accent);
}
.hero-preview__cagr {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--accent); background: var(--accent-soft); padding: 4px 8px;
}
.hero-preview__title { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin-bottom: 3px; }
.hero-preview__sub { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.hero-preview__chart {
  display: flex; align-items: flex-end; gap: 3px; height: 72px; margin-bottom: 4px;
}
.hp-bar { flex: 1; background: var(--chip); min-height: 4px; transition: background .2s; }
.hp-bar.last { background: var(--accent); }
.hero-preview__chart-row {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft); margin-bottom: 18px;
}
.hero-preview__kpis {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 18px;
}
.hp-kpi { padding: 12px 14px; border-right: 1px solid var(--rule); }
.hp-kpi:last-child { border-right: 0; }
.hp-kpi__val { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.hp-kpi__label { display: block; font-family: var(--sans); font-size: 10.5px; color: var(--ink-soft); margin-top: 1px; }
.hero-preview__excerpt { position: relative; margin-bottom: 4px; }
.preview-lines { display: flex; flex-direction: column; gap: 6px; }
.preview-line { height: 9px; background: var(--chip); }
.preview-line.s { width: 60%; } .preview-line.m { width: 85%; } .preview-line.f { width: 100%; }
.preview-blur {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--paper) 55%);
  display: flex; align-items: flex-end; padding-bottom: 2px;
}
.preview-lock { font-family: var(--sans); font-size: 11.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.hero-preview__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule);
}
.hp-cta {
  text-align: center; padding: 10px 14px; font-family: var(--sans);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s;
  text-decoration: none; display: block;
}
.hp-cta--primary { background: var(--accent); color: var(--paper); border: 0; }
.hp-cta--primary:hover { background: var(--ink); }
.hp-cta--ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.hp-cta--ghost:hover { border-color: var(--ink); }

/* Responsive hero-full */
@media (max-width: 1080px) {
  .hero-full { grid-template-columns: 1fr; min-height: auto; padding: 64px var(--gutter); max-height: none; }
  .hero-preview { display: none; }
}
@media (max-width: 720px) {
  .hero-full { padding: 48px var(--gutter); }
  .hero-full__title { font-size: clamp(48px, 11vw, 72px); }
  .hero-full__body { font-size: 16px; }
}

/* Bigger section headings on home */
.section-home__hd h2 { font-size: 28px; letter-spacing: -.01em; }
.section-home--accent-border { border-top: 3px solid var(--accent); }

/* ===========================================================================
   TOPBAR — NAV VARIANT (all pages except report)
   =========================================================================== */
.topbar--nav .topbar__inner { grid-template-columns: 200px 1fr auto; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 7px 14px; color: var(--ink-soft); transition: color .15s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); border-bottom: 2px solid var(--accent); }

/* ===========================================================================
   BREADCRUMB
   =========================================================================== */
.breadcrumb-nav {
  padding: 11px var(--gutter); background: var(--chip);
  border-bottom: 1px solid var(--rule);
}
.breadcrumb-nav__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb-nav a, .breadcrumb-nav span {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft);
}
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav .sep { color: var(--rule); font-size: 14px; }
.breadcrumb-nav .current { color: var(--ink); }

/* ===========================================================================
   SITE FOOTER
   =========================================================================== */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 56px 0 32px;
}
.footer__top {
  display: grid; grid-template-columns: 260px 1fr; gap: 60px;
  padding: 0 var(--gutter) 48px;
  max-width: var(--container); margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand__mark { background: rgba(255,255,255,.15); color: var(--paper); }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__name em { color: rgba(255,255,255,.45); }
.footer__tagline {
  font-family: var(--sans); font-size: 13px;
  color: rgba(255,255,255,.45); margin-top: 14px; line-height: 1.6; max-width: 220px;
}
.footer__cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.footer__col h5 {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.footer__col a {
  display: block; font-family: var(--sans); font-size: 13.5px;
  color: rgba(255,255,255,.6); margin-bottom: 9px; transition: color .15s;
}
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter) 0; max-width: var(--container); margin: 0 auto;
  flex-wrap: wrap; gap: 16px;
}
.footer__certs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__cert {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .06em; color: rgba(255,255,255,.35);
  padding: 5px 10px; border: 1px solid rgba(255,255,255,.15);
}
.footer__copy {
  font-family: var(--sans); font-size: 12.5px; color: rgba(255,255,255,.3); margin: 0;
}

/* ===========================================================================
   HOME — HERO
   =========================================================================== */
.hero-home {
  padding: 88px var(--gutter) 80px;
  max-width: var(--container); margin: 0 auto; text-align: center;
}
.hero-home__eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hero-home__eyebrow::before, .hero-home__eyebrow::after {
  content: ''; display: block; height: 1px; width: 36px; background: var(--accent-soft);
}
.hero-home__title {
  font-family: var(--serif); font-size: clamp(44px, 5.5vw, 78px);
  line-height: .95; letter-spacing: -.025em; margin-bottom: 26px;
}
.hero-home__title em { font-style: italic; color: var(--ink-soft); }
.hero-home__sub {
  font-family: var(--sans); font-size: 17px; color: var(--ink-soft);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.55;
}
.hero-home__search {
  max-width: 700px; margin: 0 auto 16px;
  display: flex; border: 2px solid var(--ink); background: var(--paper);
}
.hero-home__search input {
  flex: 1; padding: 15px 18px; border: 0; background: transparent;
  font-family: var(--sans); font-size: 15px; color: var(--ink); outline: 0;
}
.hero-home__search input::placeholder { color: var(--ink-soft); }
.hero-home__search button {
  padding: 0 26px; background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.hero-home__search button:hover { background: var(--ink); }
.hero-home__chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 640px; margin: 0 auto;
}
.hero-home__chips .try-label {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft);
  display: flex; align-items: center;
}
.hero-chip {
  padding: 5px 13px; background: var(--chip); border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12.5px; cursor: pointer; transition: all .15s;
}
.hero-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ===========================================================================
   HOME — TRUST BAR
   =========================================================================== */
.trust-bar { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-bar__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.trust-bar__item { padding: 24px 28px; border-right: 1px solid var(--rule); }
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__num {
  display: block; font-family: var(--serif); font-size: 28px;
  font-weight: 600; letter-spacing: -.02em;
}
.trust-bar__label { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* ===========================================================================
   HOME — SECTION WRAPPER
   =========================================================================== */
.section-home { padding: var(--pad-section-y) var(--gutter); max-width: var(--container); margin: 0 auto; }
.section-home--border { border-top: 1px solid var(--rule); }
.section-home__hd {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px;
}
.section-home__hd h2 { font-size: 24px; }
.section-home__hd a { font-family: var(--sans); font-size: 13.5px; color: var(--accent); }
.section-home__hd a:hover { text-decoration: underline; }

/* ===========================================================================
   INDUSTRY GRID + CATEGORY TILES
   =========================================================================== */
.industry-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.cat-tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--tile-accent, var(--accent));
  padding: 24px 20px 20px;
  display: flex; flex-direction: column; gap: 0;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.cat-tile:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  transform: translateY(-3px);
}
.cat-tile:hover .cat-tile__name { color: var(--tile-accent, var(--accent)); }
.cat-tile__icon-wrap {
  width: 44px; height: 44px; border-radius: 3px;
  background: var(--tile-bg, var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.cat-tile__icon { width: 22px; height: 22px; color: var(--tile-accent, var(--accent)); }
.cat-tile__icon svg { width: 100%; height: 100%; display: block; }
.cat-tile__name {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  transition: color .15s; line-height: 1.3; margin-bottom: 4px;
}
.cat-tile__count {
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  margin-bottom: 14px;
}
.cat-tile__example {
  font-family: var(--sans); font-size: 11.5px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-top: 1px solid var(--rule); padding-top: 11px;
  margin-top: auto;
}
/* 14th "View all" tile */
.cat-tile--more {
  background: var(--chip);
  border: 1px dashed var(--rule);
  border-top: 3px solid var(--accent);
  align-items: center; justify-content: center; text-align: center;
  min-height: 148px;
}
.cat-tile--more:hover { background: var(--accent-soft); box-shadow: none; transform: none; }
.cat-tile--more .cat-tile__name { color: var(--accent); font-size: 13.5px; margin-bottom: 6px; }
.cat-tile--more .cat-tile__count { margin-bottom: 0; }

/* ===========================================================================
   REPORTS STRIP (horizontal scroll)
   =========================================================================== */
.reports-strip-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.reports-strip-wrap::-webkit-scrollbar { display: none; }
.reports-strip { display: flex; gap: 16px; padding: 4px 2px 16px; min-width: max-content; }

/* ===========================================================================
   REPORT CARD
   =========================================================================== */
.rcard {
  background: var(--panel); border: 1px solid var(--rule);
  padding: 20px; width: 272px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
  text-decoration: none; color: inherit;
}
.rcard:hover { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent-soft); }
.rcard--grid { width: auto; }
.rcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rcard__cat {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px;
  background: var(--accent-soft); color: var(--accent);
}
.rcard__date { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.rcard__title {
  font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rcard__desc {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule);
}
.rcard__cagr {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--accent); background: var(--accent-soft); padding: 3px 7px;
}
.rcard__cta { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); transition: color .15s; }
.rcard:hover .rcard__cta { color: var(--accent); }

/* ===========================================================================
   HOW IT WORKS
   =========================================================================== */
.how-it-works { padding: var(--pad-section-y) var(--gutter); border-top: 1px solid var(--rule); }
.how-it-works__inner { max-width: var(--container); margin: 0 auto; }
.how-it-works__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; margin-top: 32px; }
.how-step { display: flex; flex-direction: column; gap: 12px; position: relative; }
.how-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -28px; top: 12px;
  font-size: 20px; color: var(--rule);
}
.how-step__num { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--accent); }
.how-step__title { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.how-step__desc { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ===========================================================================
   AWARDS BAR
   =========================================================================== */
.awards-bar { border-top: 1px solid var(--rule); padding: 32px var(--gutter); }
.awards-bar__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.awards-bar__label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.awards-bar__logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.award-badge {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .05em; color: var(--ink-soft); padding: 6px 12px; border: 1px solid var(--rule);
}

/* ===========================================================================
   CTA BANNER (dark)
   =========================================================================== */
.cta-banner { background: var(--ink); color: var(--paper); padding: 72px var(--gutter); text-align: center; }
.cta-banner__inner { max-width: var(--container); margin: 0 auto; }
.cta-banner__title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 12px; }
.cta-banner__sub { font-family: var(--sans); font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.cta-banner__stats { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.cta-banner__stat { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; }
.cta-banner__stat::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; display: block; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer; transition: background .15s; text-decoration: none;
}
.btn-cta:hover { background: var(--paper); color: var(--ink); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; background: transparent;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .15s; text-decoration: none; margin-left: 12px;
}
.btn-cta-ghost:hover { border-color: var(--paper); color: var(--paper); }

/* ===========================================================================
   PAGE HEADER (browse, category, pricing, about, contact)
   =========================================================================== */
.page-hdr { padding: 36px var(--gutter) 30px; border-bottom: 1px solid var(--rule); }
.page-hdr__inner { max-width: var(--container); margin: 0 auto; }
.page-hdr__title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 6px; }
.page-hdr__sub { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }
.page-hdr__search {
  display: flex; max-width: 520px; margin-top: 20px;
  border: 1px solid var(--rule); background: var(--panel);
}
.page-hdr__search input {
  flex: 1; padding: 10px 14px; border: 0; background: transparent;
  font-family: var(--sans); font-size: 14px; outline: 0; color: var(--ink);
}
.page-hdr__search button {
  padding: 0 16px; background: var(--chip); border: 0; cursor: pointer;
  color: var(--ink-soft); transition: all .15s;
}
.page-hdr__search button:hover { background: var(--accent); color: var(--paper); }

/* ===========================================================================
   FILTER BAR
   =========================================================================== */
.filter-bar {
  position: sticky; top: 57px; z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.filter-bar__inner {
  max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; flex-wrap: wrap;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-chip {
  padding: 6px 13px; background: var(--chip); border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft);
  cursor: pointer; white-space: nowrap; transition: all .15s; flex-shrink: 0;
}
.filter-chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-divider { width: 1px; height: 18px; background: var(--rule); flex-shrink: 0; }
.filter-select {
  padding: 6px 10px; background: var(--chip); border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); cursor: pointer; outline: 0;
}
.filter-count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); white-space: nowrap; flex-shrink: 0; }

/* ===========================================================================
   BROWSE LAYOUT
   =========================================================================== */
.browse-layout {
  max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter);
  display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start;
}
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
.browse-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 115px; }
.sidebar-panel { border: 1px solid var(--rule); padding: 20px; background: var(--panel); }
.sidebar-panel__title {
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.sidebar-contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
}
.sidebar-contact-row:last-child { border-bottom: 0; }
.sidebar-contact-row__icon { width: 30px; height: 30px; background: var(--chip); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.sidebar-contact-row__label { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.sidebar-contact-row__val { font-family: var(--sans); font-size: 11.5px; color: var(--ink-soft); }
.popular-list { list-style: none; margin: 0; padding: 0; }
.popular-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 13px; }
.popular-list li:last-child { border-bottom: 0; }
.popular-list li a { color: var(--ink); transition: color .15s; }
.popular-list li a:hover { color: var(--accent); }
.popular-list li span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.sidebar-cta-card { background: var(--accent); color: var(--paper); padding: 20px; }
.sidebar-cta-card h4 { font-family: var(--serif); font-size: 17px; font-weight: 500; margin-bottom: 8px; color: var(--paper); }
.sidebar-cta-card p { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 14px; line-height: 1.5; }
.sidebar-cta-card a { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.4); }

/* ===========================================================================
   PAGINATION
   =========================================================================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 24px 0; border-top: 1px solid var(--rule); }
.pg-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--rule); background: var(--panel);
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  cursor: pointer; transition: all .15s;
}
.pg-btn:hover { border-color: var(--accent); color: var(--accent); }
.pg-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===========================================================================
   CATEGORY HERO
   =========================================================================== */
.cat-hero { background: var(--chip); border-bottom: 1px solid var(--rule); padding: 36px var(--gutter); }
.cat-hero__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.cat-hero__icon { width: 56px; height: 56px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.cat-hero__icon svg { width: 28px; height: 28px; }
.cat-hero__title { font-family: var(--serif); font-size: 32px; margin-bottom: 4px; }
.cat-hero__desc { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
.cat-hero__count { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-top: 4px; }

/* ===========================================================================
   PRICING
   =========================================================================== */
.pricing-hero { text-align: center; padding: 60px var(--gutter) 52px; border-bottom: 1px solid var(--rule); }
.pricing-hero__title { margin-bottom: 10px; }
.pricing-hero__sub { font-family: var(--sans); font-size: 16px; color: var(--ink-soft); }
.pricing-toggle-wrap {
  display: flex; border: 1px solid var(--rule); width: fit-content; margin: 26px auto 0;
}
.ptoggle { padding: 9px 24px; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: all .15s; background: var(--panel); border: 0; }
.ptoggle.is-active { background: var(--ink); color: var(--paper); }

.pricing-section { padding: 52px var(--gutter); max-width: 1100px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--rule); background: var(--rule); margin-bottom: 60px; }
.price-card { background: var(--paper); padding: 32px 26px; display: flex; flex-direction: column; position: relative; }
.price-card--popular { background: var(--ink); color: var(--paper); }
.price-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--paper);
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px;
}
.price-card__name {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
  color: var(--ink-soft);
}
.price-card--popular .price-card__name { color: rgba(255,255,255,.45); }
.price-card__amount { font-family: var(--serif); font-size: 44px; letter-spacing: -.025em; line-height: 1; margin-bottom: 4px; }
.price-card__period { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.price-card--popular .price-card__period { color: rgba(255,255,255,.45); }
.price-card__sub { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); margin: 16px 0; line-height: 1.55; }
.price-card--popular .price-card__sub { color: rgba(255,255,255,.55); }
.price-card__divider { border: 0; border-top: 1px solid var(--rule); margin: 18px 0; }
.price-card--popular .price-card__divider { border-color: rgba(255,255,255,.15); }
.price-card__features { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-card__feature { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.price-card__feature::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-card--popular .price-card__feature { color: rgba(255,255,255,.65); }
.price-card--popular .price-card__feature::before { color: #7FA8FF; }
.price-card__cta {
  display: block; text-align: center; margin-top: auto;
  padding: 12px 20px; font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  background: var(--accent); color: var(--paper); border: 0; cursor: pointer;
  transition: background .15s; text-decoration: none;
}
.price-card__cta:hover { background: var(--ink); }
.price-card--popular .price-card__cta { background: var(--paper); color: var(--ink); }
.price-card--popular .price-card__cta:hover { background: var(--accent); color: var(--paper); }

.feature-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13.5px; margin-bottom: 60px; }
.feature-table th { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--ink); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.feature-table th:first-child { width: 42%; }
.feature-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.feature-table tr:hover td { background: var(--chip); }
.feature-table .chk { color: var(--accent); font-weight: 700; }
.feature-table .dash { color: var(--rule); }

.faq-pricing { padding: 0 var(--gutter) 56px; max-width: 1100px; margin: 0 auto; }
.faq-pricing h2 { margin-bottom: 28px; font-size: 26px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; gap: 16px; color: var(--ink);
}
.faq-q__icon { font-size: 22px; flex-shrink: 0; color: var(--ink-soft); transition: transform .2s; }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 18px; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.enterprise-cta { background: var(--accent-soft); border-top: 1px solid var(--rule); padding: 52px var(--gutter); text-align: center; }
.enterprise-cta__inner { max-width: var(--container); margin: 0 auto; }
.enterprise-cta h2 { margin-bottom: 10px; font-size: 28px; }
.enterprise-cta p { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }
.btn-enterprise { display: inline-block; padding: 13px 28px; background: var(--accent); color: var(--paper); font-family: var(--sans); font-size: 14px; font-weight: 500; border: 0; cursor: pointer; transition: background .15s; text-decoration: none; }
.btn-enterprise:hover { background: var(--ink); }

/* ===========================================================================
   ABOUT
   =========================================================================== */
.about-hero { padding: 68px var(--gutter) 60px; border-bottom: 1px solid var(--rule); }
.about-hero__inner { max-width: var(--container); margin: 0 auto; max-width: 820px; }
.about-hero__title { margin-bottom: 18px; }
.about-hero__body { font-family: var(--sans); font-size: 17px; color: var(--ink-soft); line-height: 1.7; max-width: 640px; }

.story-section { padding: var(--pad-section-y) var(--gutter); border-bottom: 1px solid var(--rule); }
.story-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-text h2 { margin-bottom: 18px; font-size: 26px; }
.story-text p { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 14px; }
.milestone { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.milestone:last-child { border-bottom: 0; }
.milestone__year { font-family: var(--mono); font-size: 12.5px; color: var(--accent); width: 44px; flex-shrink: 0; padding-top: 2px; }
.milestone__text { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.method-section { padding: var(--pad-section-y) var(--gutter); border-bottom: 1px solid var(--rule); }
.method-section__inner { max-width: var(--container); margin: 0 auto; }
.method-section h2 { margin-bottom: 28px; font-size: 26px; }

.team-section { padding: var(--pad-section-y) var(--gutter); }
.team-section__inner { max-width: var(--container); margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 28px; }
.team-card { border: 1px solid var(--rule); padding: 24px; background: var(--panel); transition: border-color .15s; }
.team-card:hover { border-color: var(--accent); }
.team-card__avatar { width: 52px; height: 52px; background: var(--accent); color: var(--paper); display: grid; place-items: center; font-family: var(--sans); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.team-card__name { font-family: var(--serif); font-size: 17px; margin-bottom: 3px; }
.team-card__title { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.team-card__spec { font-family: var(--sans); font-size: 12px; color: var(--accent); }

.offices-section { padding: var(--pad-section-y) var(--gutter); background: var(--chip); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.offices-inner { max-width: var(--container); margin: 0 auto; }
.offices-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 28px; }
.office-card { background: var(--paper); border: 1px solid var(--rule); padding: 22px; }
.office-card__flag { font-size: 22px; margin-bottom: 10px; }
.office-card__city { font-family: var(--serif); font-size: 18px; margin-bottom: 3px; }
.office-card__role { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.office-card__addr { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }

.certs-section { padding: 36px var(--gutter); }
.certs-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cert-badge { padding: 8px 16px; border: 1px solid var(--rule); font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--ink-soft); }

/* ===========================================================================
   CONTACT
   =========================================================================== */
.contact-hero { padding: 52px var(--gutter) 44px; border-bottom: 1px solid var(--rule); }
.contact-hero__inner { max-width: var(--container); margin: 0 auto; }
.contact-hero__title { margin-bottom: 8px; }
.contact-hero__sub { font-family: var(--sans); font-size: 16px; color: var(--ink-soft); }

.contact-methods { border-bottom: 1px solid var(--rule); background: var(--chip); }
.contact-methods__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3,1fr); }
.contact-method { padding: 24px 20px; border-right: 1px solid var(--rule); display: flex; align-items: center; gap: 14px; }
.contact-method:last-child { border-right: 0; }
.contact-method__icon { width: 40px; height: 40px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.contact-method__label { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-method__val { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); }

.contact-layout { max-width: var(--container); margin: 0 auto; padding: 44px var(--gutter); display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 22px; font-size: 24px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform-group { margin-bottom: 16px; }
.cform-group label { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.cform-group input, .cform-group select, .cform-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--rule); background: var(--panel); font-family: var(--sans); font-size: 14px; color: var(--ink); outline: 0; transition: border-color .15s; }
.cform-group input:focus, .cform-group select:focus, .cform-group textarea:focus { border-color: var(--ink); }
.cform-group textarea { resize: vertical; min-height: 120px; }
.cform-submit { padding: 13px 28px; background: var(--accent); color: var(--paper); border: 0; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 500; transition: background .15s; }
.cform-submit:hover { background: var(--ink); }

.contact-sidebar { }
.contact-info-card { border: 1px solid var(--rule); padding: 22px; background: var(--panel); margin-bottom: 16px; }
.contact-info-card h4 { margin-bottom: 14px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 13.5px; }
.contact-info-row:last-child { border-bottom: 0; }
.contact-info-row__label { color: var(--ink-soft); width: 72px; flex-shrink: 0; }
.contact-info-row__val { color: var(--ink); font-weight: 500; }
.response-badge { background: var(--accent-soft); color: var(--accent); padding: 10px 14px; font-family: var(--sans); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }

.custom-services-section { padding: var(--pad-section-y) var(--gutter); border-top: 1px solid var(--rule); }
.custom-services-section__inner { max-width: var(--container); margin: 0 auto; }
.custom-services-section h2 { margin-bottom: 6px; font-size: 26px; }
.custom-services-section__sub { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin-bottom: 32px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-tile { border: 1px solid var(--rule); padding: 24px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.service-tile:hover { border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent-soft); }
.service-tile__icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 12px; }
.service-tile__icon svg { width: 100%; height: 100%; }
.service-tile__name { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; }
.service-tile__desc { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }
.service-tile__count { font-family: var(--mono); font-size: 11px; color: var(--accent); }

.testimonials-section { padding: var(--pad-section-y) var(--gutter); background: var(--chip); border-top: 1px solid var(--rule); }
.testimonials-inner { max-width: var(--container); margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px; }
.testimonial-card { background: var(--paper); border: 1px solid var(--rule); padding: 28px; }
.testimonial-card__quote { font-family: var(--serif); font-size: 16px; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testimonial-card__author { font-family: var(--sans); font-size: 13px; font-weight: 600; }
.testimonial-card__role { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); }

/* ===========================================================================
   BADGE — 13 industry colours
   =========================================================================== */
.badge { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; }
.badge--technology  { background: #E3EAFF; color: #2E5BFF; }
.badge--healthcare  { background: #E3F9F0; color: #1A7F4B; }
.badge--energy      { background: #FFF4DE; color: #B85C00; }
.badge--chemicals   { background: #F3E8FF; color: #7B2FBE; }
.badge--automotive  { background: #E8F4FE; color: #0264C8; }
.badge--food        { background: #FFF0ED; color: #C9381B; }
.badge--consumer    { background: #FFF8E1; color: #A07400; }
.badge--industrial  { background: #E8F6FF; color: #006B9F; }
.badge--packaging   { background: #F0F7E8; color: #3E7E00; }
.badge--oilgas      { background: #FFF0F3; color: #B0003A; }
.badge--travel      { background: #E3F0FF; color: #1455BE; }
.badge--services    { background: #F2F2F2; color: #555; }
.badge--testing     { background: #F5EEF8; color: #6C3483; }

/* ===========================================================================
   RESPONSIVE ADDITIONS
   =========================================================================== */
@media (max-width: 1080px) {
  .browse-layout { grid-template-columns: 1fr; }
  .browse-sidebar { display: none; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .industry-grid { grid-template-columns: repeat(3,1fr); }
  .how-it-works__grid { grid-template-columns: 1fr; gap: 28px; }
  .how-step:not(:last-child)::after { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .offices-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-methods__inner { grid-template-columns: 1fr; }
  .contact-method { border-right: 0; border-bottom: 1px solid var(--rule); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero-home { padding: 52px var(--gutter) 44px; }
  .trust-bar__inner { grid-template-columns: repeat(2,1fr); }
  .trust-bar__item:nth-child(2) { border-right: 0; }
  .trust-bar__item:nth-child(3), .trust-bar__item:nth-child(4) { border-top: 1px solid var(--rule); }
  .industry-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cat-tile { padding: 18px 16px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .offices-grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .how-it-works__grid { grid-template-columns: 1fr; }
  .cform-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGES (privacy / terms / cookies / disclaimer)
   ============================================================ */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.legal-doc { font-family: var(--sans); }
.legal-note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--chip);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin-bottom: 28px;
}
.legal-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.legal-updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}
.legal-h2 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 30px 0 10px;
}
.legal-p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.72;
  color: #34363D;
  margin: 0 0 12px;
}
.legal-p strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 32px);
  max-width: 720px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0,0,0,.28);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-banner__text {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: #D6D7DC;
  flex: 1;
}
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn--decline {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.cookie-btn--decline:hover { border-color: #fff; }
.cookie-btn--accept { background: var(--accent); color: #fff; }
.cookie-btn--accept:hover { filter: brightness(1.08); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ============================================================
   BLOG INDEX + ARTICLE PAGES (auto-generated SEO content)
   ============================================================ */
.blog-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 24px 72px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 22px 22px 20px;
  text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-3px); }
.blog-card__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.blog-card__title {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  line-height: 1.3; margin: 0 0 10px; color: var(--ink);
}
.blog-card__dek {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0 0 16px; flex: 1;
}
.blog-card__date {
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  border-top: 1px solid var(--rule); padding-top: 12px;
}

.article-wrap { max-width: 720px; margin: 0 auto; padding: 44px 24px 72px; }
.article-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.article-headline {
  font-family: var(--serif); font-size: 36px; font-weight: 600;
  line-height: 1.18; letter-spacing: -.01em; color: var(--ink);
  margin: 10px 0 14px;
}
.article-dek {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  line-height: 1.5; color: var(--ink-soft); margin: 0 0 18px;
}
.article-meta {
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  border-bottom: 1px solid var(--rule); padding-bottom: 20px; margin-bottom: 28px;
}
.article-body { font-family: var(--sans); }
.article-body h2 {
  font-family: var(--sans); font-size: 20px; font-weight: 600;
  color: var(--ink); margin: 32px 0 12px;
}
.article-body p {
  font-family: var(--serif); font-size: 17px; line-height: 1.7;
  color: #1c1d22; margin: 0 0 16px;
}
.article-body ul { margin: 0 0 16px; padding-left: 22px; }
.article-body li {
  font-family: var(--serif); font-size: 16.5px; line-height: 1.6;
  color: #1c1d22; margin-bottom: 8px;
}
.article-cta {
  margin-top: 36px; padding: 24px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}
.article-cta p {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.6;
  color: var(--ink); margin: 0 0 14px;
}
.article-cta__btn {
  display: inline-block; font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  padding: 11px 22px; background: var(--accent); color: var(--paper);
  text-decoration: none; border-radius: 3px;
}
.article-cta__btn:hover { filter: brightness(1.08); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-headline { font-size: 28px; }
}

/* ============================================================
   REPORT HERO (light) + COVER + SNAPSHOT STAT BAND
   ============================================================ */
.rhero { position: relative; }
.rhero__band {
  background: linear-gradient(180deg, #FBFCFE 0%, #EFF2F8 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 44px var(--gutter) 64px;
}
.rhero__inner {
  max-width: var(--container, 1200px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,360px);
  gap: 52px; align-items: center;
}
.rhero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.rtag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 3px;
  border: 1px solid var(--rule); color: var(--ink-soft); background: var(--paper);
}
.rtag--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.rhero__title {
  font-family: var(--serif); font-size: 44px; font-weight: 600;
  line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; max-width: 18ch;
  color: var(--ink);
}
.rhero__statement {
  font-family: var(--serif); font-size: 20px; line-height: 1.5;
  color: var(--ink-soft); max-width: 60ch; margin: 0 0 28px;
}
.rhero__statement strong { color: var(--ink); font-weight: 600; }
.rhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.rbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 4px; cursor: pointer;
  border: 1px solid transparent; transition: filter .15s, border-color .15s, background .15s;
}
.rbtn--primary { background: var(--accent); color: #fff; }
.rbtn--primary:hover { filter: brightness(1.1); }
.rbtn--ghost { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.rbtn--ghost:hover { border-color: var(--ink); }
.rhero__meta {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.rhero__meta strong { color: var(--ink); font-weight: 600; }
.rhero__meta .dot { color: var(--rule); }

/* Report cover (portrait "book cover") */
.rhero__cover { display: flex; justify-content: flex-end; }
.report-cover {
  position: relative; overflow: hidden;
  width: 100%; max-width: 340px; min-height: 408px;
  border-radius: 7px;
  background: linear-gradient(158deg, #18213c 0%, #243a73 45%, var(--accent) 100%);
  color: #fff;
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 26px 64px rgba(24,33,60,.34);
}
.report-cover__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}
.report-cover__top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.report-cover__brand { font-family: var(--serif); font-size: 17px; color: #fff; }
.report-cover__brand b { font-weight: 700; }
.report-cover__brand em { font-style: italic; font-weight: 400; opacity: .85; }
.report-cover__badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 3px; color: rgba(255,255,255,.85);
}
.report-cover__body { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.report-cover__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 14px;
}
.report-cover__title {
  font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.12;
  letter-spacing: -.01em; margin: 0 0 18px; color: #fff;
}
.report-cover__period {
  font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.85);
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); display: inline-block;
}
.report-cover__foot { position: relative; z-index: 1; }
.report-cover__spark { width: 100%; height: 30px; display: block; margin-bottom: 10px; opacity: .9; }
.report-cover__sub { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,.7); }

/* Snapshot stat band */
.snapshot {
  max-width: var(--container, 1200px);
  margin: -36px auto 44px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 2;
}
.snap {
  background: var(--paper); border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 22px 22px 20px;
  box-shadow: 0 12px 36px rgba(10,10,20,.10);
  display: flex; flex-direction: column; gap: 10px;
}
.snap--accent { border-top-color: var(--accent); }
.snap__lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}
.snap__val {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); line-height: 1;
}
.snap--accent .snap__val { color: var(--accent); }

@media (max-width: 900px) {
  .rhero__inner { grid-template-columns: 1fr; gap: 32px; }
  .rhero__cover { justify-content: flex-start; }
  .report-cover { max-width: 320px; min-height: 360px; }
  .rhero__title { font-size: 34px; }
  .rhero__statement { font-size: 18px; }
  .snapshot { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
}
@media (max-width: 520px) {
  .snapshot { grid-template-columns: 1fr; }
  .snap__val { font-size: 30px; }
}

/* ============================================================
   REGIONAL DONUT · OPPORTUNITIES CALLOUT · STICKY BUY BAR
   ============================================================ */
.region-viz { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; margin-bottom: 26px; }
.donut { width: 180px; height: 180px; flex-shrink: 0; }
.donut__c1 { font-family: var(--serif); font-size: 30px; font-weight: 700; fill: var(--ink); }
.donut__c2 { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; fill: var(--ink-soft); }
.donut-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.donut-legend li { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13.5px; color: var(--ink); }
.donut-legend .dot { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }

.opps {
  background: linear-gradient(135deg, var(--accent) 0%, #1b2a52 125%);
  color: #fff; padding: 30px 32px; border-radius: 6px; margin: 4px 0 8px;
  box-shadow: 0 16px 44px rgba(46,91,255,.22);
}
.opps__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.opps__title { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0; line-height: 1.2; }
.opps__big { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.78); white-space: nowrap; }
.opps__big b { color: #fff; font-weight: 600; }
.opps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.opp { display: flex; gap: 12px; }
.opp__n { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.55); padding-top: 2px; }
.opp__t { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.94); }

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: #fff;
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 -8px 30px rgba(0,0,0,.22);
}
.buybar.is-visible { transform: translateY(0); }
.buybar__inner {
  max-width: var(--container, 1200px); margin: 0 auto;
  padding: 13px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.buybar__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.buybar__title { font-family: var(--serif); font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__meta { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,.6); }
.buybar__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.buybar__price { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.7); }
.buybar__price b { color: #fff; font-size: 16px; font-family: var(--serif); }
.buybar .rbtn--ghost { background: transparent; border-color: rgba(255,255,255,.32); color: #fff; }
.buybar .rbtn--ghost:hover { border-color: #fff; }
@media (max-width: 720px) {
  .opps__grid { grid-template-columns: 1fr; }
  .donut-legend { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .buybar__meta, .buybar__price { display: none; }
  .buybar__title { font-size: 15px; }
}

/* Segmentation — colored bar chart upgrade */
.seg { margin-bottom: 18px; }
.seg__name { display: inline-flex; align-items: center; gap: 9px; }
.seg__dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.seg__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--chip); padding: 3px 8px; border-radius: 3px;
}
.seg__track { height: 10px; border-radius: 2px; background: var(--chip); border: 1px solid var(--rule); }
.seg__bar { border-radius: 2px; }

/* Consensus / triangulation note (multi-source reports) */
.consensus-note {
  max-width: var(--container, 1200px);
  margin: -24px auto 40px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft); line-height: 1.5;
}
.consensus-note__badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); padding: 4px 9px; border-radius: 3px;
  font-weight: 600; flex-shrink: 0;
}
.consensus-note b { color: var(--ink); font-weight: 600; }

/* ============================================================
   REPORT SNAPSHOT — scope & coverage table
   ============================================================ */
.snapshot-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--rule); margin-top: 4px;
  font-family: var(--sans);
}
.snapshot-table thead th {
  text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 600;
  padding: 12px 18px; background: var(--chip); border-bottom: 1px solid var(--rule);
}
.snapshot-table tbody tr { border-bottom: 1px solid var(--rule); }
.snapshot-table tbody tr:last-child { border-bottom: 0; }
.snapshot-table tbody tr:nth-child(even) { background: #FBFBFC; }
.snapshot-table td { padding: 13px 18px; vertical-align: top; font-size: 13.5px; line-height: 1.55; }
.snapshot-table .snap-attr {
  width: 34%; font-weight: 600; color: var(--ink);
  border-right: 1px solid var(--rule);
}
.snapshot-table .snap-detail { color: #34363D; }
@media (max-width: 640px) {
  .snapshot-table .snap-attr { width: 42%; }
  .snapshot-table td { padding: 11px 12px; font-size: 12.5px; }
}

/* one-item-per-line list inside snapshot cells */
.snapshot-table .snap-list { margin: 0; padding: 0; list-style: none; }
.snapshot-table .snap-list li {
  position: relative; padding-left: 14px; margin: 0 0 4px; line-height: 1.5;
}
.snapshot-table .snap-list li:last-child { margin-bottom: 0; }
.snapshot-table .snap-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}

/* Segmentation — one explained block per axis */
.segblock {
  padding: 18px 0 20px; border-bottom: 1px solid var(--rule);
}
.segblock:last-child { border-bottom: 0; }
.segblock__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.segblock__dot { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }
.segblock__name {
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); margin: 0;
}
.segblock .seg__tag { margin-left: auto; }
.segblock .seg__track { height: 8px; border-radius: 2px; background: var(--chip); border: 1px solid var(--rule); margin-bottom: 12px; }
/* Snapshot "Segments covered" — each axis followed by its members, one per line */
.snap-seg__axis {
  font-weight: 600; color: var(--ink, #1c1d22); font-size: 14px;
  margin: 10px 0 4px;
}
.snap-seg > .snap-seg__axis:first-child { margin-top: 0; }
.snap-seg__items { margin: 0 0 2px; padding-left: 16px; }
.snap-seg__items li { padding: 1px 0; }
.segblock__desc {
  font-family: var(--serif); font-size: 15.5px; line-height: 1.65; color: #1c1d22; margin: 0; max-width: 70ch;
}

/* ============================================================================
   Pre-launch mobile responsiveness pass
   ============================================================================ */
/* Report hero: stack the cover under the title before it squishes */
@media (max-width: 1080px) {
  .rhero__inner { grid-template-columns: 1fr; gap: 28px; }
  .rhero__cover { justify-content: flex-start; }
  .rhero__title { font-size: 36px; }
}

/* Phones / small tablets */
@media (max-width: 760px) {
  /* Topbar: brand on the left, hamburger on the right. The inline nav is hidden
     and drops down as an absolutely-positioned panel when the hamburger toggles
     .is-open (the hamburger is injected by shared.js). */
  .topbar__inner {
    display: flex; align-items: center; gap: 12px;
    position: relative;
  }
  .topbar__inner > .brand { margin-right: auto; }
  /* The wide "Browse reports" CTA would crowd the bar; nav lives in the menu */
  .topbar--nav .user-tools > a { display: none; }
  .topbar__inner > .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 4px var(--gutter);
    box-shadow: 0 14px 26px rgba(0,0,0,.09); z-index: 70;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link {
    padding: 13px 2px; font-size: 15px;
    border-bottom: 1px solid var(--rule);
  }
  .main-nav .nav-link:last-child { border-bottom: 0; }

  /* Report hero sizing */
  .rhero__band { padding: 26px var(--gutter) 38px; }
  .rhero__title { font-size: 29px; }
  .rhero__statement { font-size: 17px; }
  .rhero__actions { width: 100%; }
  .rhero__actions .rbtn { flex: 1 1 auto; justify-content: center; }

  /* Snapshot table breathes on narrow screens */
  .snapshot-table td { padding: 11px 12px; font-size: 13px; }
  .snapshot-table .snap-attr { width: 44%; }

  /* Buy bar compresses */
  .buybar__inner { gap: 10px; }
  .buybar__actions { gap: 8px; }
  .buybar .rbtn { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .rhero__title { font-size: 25px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .report-cover { width: 154px; }
  .rhero__meta { font-size: 12px; gap: 8px; }
}
