:root {
  --ink: #07192b;
  --ink-2: #12314c;
  --teal: #008f95;
  --teal-2: #00b8ad;
  --cyan: #8ce2df;
  --blue: #2f63ff;
  --sky: #e7f7f7;
  --paper: #f5f8fb;
  --white: #ffffff;
  --line: #d8e2e9;
  --muted: #617384;
  --muted-2: #8493a0;
  --gold: #d88a19;
  --orange: #f4a640;
  --green: #15946a;
  --purple: #6b5bd2;
  --red: #c94f4f;
  --shadow-sm: 0 6px 20px rgba(7, 25, 43, 0.08);
  --shadow-md: 0 18px 52px rgba(7, 25, 43, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin: 0 auto; }
.section { padding: 92px 0; }
.section-sm { padding: 58px 0; }
.section-muted { background: var(--paper); }
.section-dark { color: var(--white); background: var(--ink); }
.section-teal { color: var(--white); background: linear-gradient(135deg, #007f84 0%, #004b64 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 226, 233, .9);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 265px;
}
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-name { display: block; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.brand-sub { display: block; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 11px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  border-radius: 9px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); background: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--white); background: var(--teal); box-shadow: 0 10px 24px rgba(0,143,149,.22); }
.btn-primary:hover { background: #007d83; }
.btn-secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn-secondary:hover { box-shadow: var(--shadow-sm); }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-ghost { color: var(--teal); background: transparent; border-color: rgba(0,143,149,.28); }
.btn-small { min-height: 38px; padding: 8px 13px; font-size: 13px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .section-teal .eyebrow { color: var(--cyan); }
.display {
  margin: 0;
  max-width: 920px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 850;
}
.h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 850;
}
.h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.lead { max-width: 790px; margin: 22px 0 0; color: var(--ink-2); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.section-dark .lead, .section-teal .lead { color: rgba(255,255,255,.82); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-intro p { max-width: 640px; margin: 0; color: var(--muted); font-size: 18px; }
.kicker { color: var(--muted); font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 73% 22%, rgba(0,184,173,.22), transparent 27%),
    radial-gradient(circle at 96% 86%, rgba(47,99,255,.14), transparent 25%),
    linear-gradient(180deg, #fbfdfd 0%, #f3f8fb 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(7,25,43,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(7,25,43,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 90%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; }
.hero-copy { padding: 30px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); }
.hero-visual { position: relative; }
.hero-map-card {
  position: relative;
  min-height: 510px;
  padding: 18px;
  border: 1px solid rgba(216,226,233,.9);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}
.hero-map-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 8px 2px; }
.hero-map-head strong { display: block; font-size: 14px; }
.hero-map-head > div span { display: block; margin-top: 2px; }
.hero-map-head span { color: var(--muted); font-size: 12px; }
.hero-map-wrap { margin-top: 8px; }
.hero-float {
  position: absolute;
  right: -22px;
  bottom: 30px;
  width: 245px;
  padding: 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.hero-float b { display: block; font-size: 28px; line-height: 1; }
.hero-float span { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 12px; }

.world-map { width: 100%; display: block; }
.world-map path { stroke: #ffffff; stroke-width: .55; vector-effect: non-scaling-stroke; transition: fill .2s ease, opacity .2s ease, transform .2s ease; }
.world-map.interactive path { cursor: pointer; }
.world-map.interactive path:hover, .world-map.interactive path:focus { stroke: var(--ink); stroke-width: 1.2; filter: brightness(.96); outline: none; }
.map-ocean { fill: #edf5f7; }
.map-frame { position: relative; min-height: 460px; border: 1px solid var(--line); border-radius: 20px; background: #eef6f7; overflow: hidden; }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.map-tabs, .tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.map-tab, .tab-button { min-height: 38px; padding: 7px 14px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 750; }
.map-tab.active, .tab-button.active { color: var(--white); background: var(--ink); }
.map-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.legend-gradient { width: 120px; height: 9px; border-radius: 99px; background: linear-gradient(90deg, #dce8eb, #76d2cf, #007f84); }
.legend-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.map-tooltip {
  position: fixed;
  z-index: 200;
  min-width: 210px;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(7,25,43,.96);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .12s ease, transform .12s ease;
}
.map-tooltip.visible { opacity: 1; transform: translateY(0); }
.map-tooltip strong { display: block; font-size: 14px; }
.map-tooltip span { display: block; margin-top: 3px; color: rgba(255,255,255,.74); font-size: 12px; }

.metrics-strip { position: relative; z-index: 2; margin-top: -30px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.metric { min-height: 118px; padding: 24px 26px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -.035em; }
.metric span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.metric small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 11px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(7,25,43,.035);
}
.card-soft { background: var(--paper); box-shadow: none; }
.card-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.card h3 { margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); }
.card-dark p { color: rgba(255,255,255,.72); }
.card-link { text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 13px; color: var(--teal); background: var(--sky); }
.icon-box svg { width: 24px; height: 24px; }
.domain-card { position: relative; overflow: hidden; }
.domain-card::after { content: attr(data-number); position: absolute; right: 16px; top: 5px; color: rgba(7,25,43,.045); font-size: 82px; font-weight: 900; line-height: 1; }

.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison-row { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; border-top: 1px solid var(--line); }
.comparison-row:first-child { border-top: 0; color: var(--white); background: var(--ink); font-size: 13px; font-weight: 750; }
.comparison-cell { padding: 18px 20px; }
.comparison-row:not(:first-child) .comparison-cell:first-child { font-weight: 750; background: var(--paper); }
.check { color: var(--green); font-weight: 850; }
.muted-x { color: var(--muted-2); }

.principle-banner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 42px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(135deg, var(--ink) 0%, #0b3a55 100%); box-shadow: var(--shadow-md); }
.principle-banner blockquote { margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 850; line-height: 1.12; letter-spacing: -.035em; }
.principle-banner p { margin: 0; color: rgba(255,255,255,.74); }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step { position: relative; padding: 25px 22px 24px; border-top: 3px solid var(--teal); background: var(--paper); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 28px; color: var(--teal); font-size: 13px; font-weight: 850; letter-spacing: .1em; }
.step h3 { margin-bottom: 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.page-hero { padding: 72px 0 58px; background: linear-gradient(180deg, #f5fafb 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.notice { display: flex; gap: 15px; padding: 17px 19px; border: 1px solid #f0d4a6; border-radius: 12px; background: #fff8ea; color: #6d4c15; }
.notice strong { display: block; }
.notice p { margin: 2px 0 0; font-size: 13px; }
.notice-icon { flex: 0 0 24px; width: 24px; height: 24px; }
.info-note { padding: 18px 20px; border-left: 3px solid var(--teal); background: var(--sky); color: var(--ink-2); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-research { color: #006e73; background: #dff5f3; }
.status-unmeasured { color: #65737e; background: #e9eef2; }
.status-pilot { color: #5f50bd; background: #ebe8ff; }
.status-official { color: #0d7b58; background: #dcf3e9; }
.status-longitudinal { color: #945e0b; background: #fff0cf; }

.explore-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); gap: 26px; align-items: start; }
.explore-sidebar { position: sticky; top: 100px; }
.search-box { position: relative; }
.search-box input { width: 100%; min-height: 48px; padding: 11px 42px 11px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--white); }
.search-box svg { position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; color: var(--muted); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.filter-chip { min-height: 34px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--white); font-size: 12px; font-weight: 700; }
.filter-chip.active { color: var(--white); border-color: var(--ink); background: var(--ink); }
.country-list { margin-top: 18px; max-height: 620px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.country-list-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 15px; border-top: 1px solid var(--line); text-decoration: none; }
.country-list-item:first-child { border-top: 0; }
.country-list-item:hover { background: var(--paper); }
.country-list-item strong { display: block; font-size: 14px; }
.country-list-item small { display: block; margin-top: 3px; color: var(--muted); }
.country-score { min-width: 52px; text-align: right; font-size: 18px; font-weight: 850; }
.country-score small { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.list-empty { padding: 28px; text-align: center; color: var(--muted); }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); }
.data-table th { padding: 13px 15px; color: var(--muted); background: var(--paper); font-size: 11px; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 14px 15px; border-top: 1px solid var(--line); font-size: 14px; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table a { font-weight: 750; text-decoration: none; }
.data-table a:hover { color: var(--teal); }

.profile-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.score-card { padding: 30px; border-radius: 22px; color: var(--white); background: linear-gradient(145deg, var(--ink), #0b4357); box-shadow: var(--shadow-md); }
.score-card-head { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.score-label { color: rgba(255,255,255,.68); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.score-value { margin-top: 24px; font-size: clamp(64px, 10vw, 98px); font-weight: 850; line-height: .9; letter-spacing: -.06em; }
.score-unit { margin-left: 8px; color: rgba(255,255,255,.63); font-size: 14px; }
.score-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 30px; }
.score-meta div { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.08); }
.score-meta strong { display: block; font-size: 18px; }
.score-meta span { display: block; margin-top: 3px; color: rgba(255,255,255,.65); font-size: 11px; }
.domain-bars { display: grid; gap: 17px; }
.domain-row { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 13px; }
.domain-row span { font-size: 13px; font-weight: 700; }
.domain-track { height: 10px; border-radius: 99px; background: #e4ecef; overflow: hidden; }
.domain-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal-2), var(--teal)); }
.domain-value { text-align: right; font-variant-numeric: tabular-nums; }
.profile-section { margin-top: 26px; }
.profile-section h2 { margin-bottom: 18px; font-size: 25px; letter-spacing: -.025em; }
.profile-tab-panel[hidden] { display: none; }

.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat-box { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.stat-box strong { display: block; font-size: 22px; }
.stat-box span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

.ladder { display: grid; gap: 10px; }
.ladder-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.ladder-row p { margin: 0; color: var(--muted); font-size: 14px; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 0 0 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal); font-size: 13px; font-weight: 850; }
.timeline-item h3 { margin: 3px 0 6px; font-size: 18px; }
.timeline-item p { margin: 0; color: var(--muted); }

.chart-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.chart-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.chart-head h3 { margin: 0; font-size: 17px; }
.chart-head span { color: var(--teal); font-size: 13px; font-weight: 850; }
.scatter-chart { min-height: 320px; }
.scatter-chart svg { width: 100%; height: auto; overflow: visible; }
.chart-axis { stroke: #b9c7d0; stroke-width: 1; }
.chart-grid { stroke: #e5ecef; stroke-width: 1; }
.chart-label { fill: var(--muted); font-size: 10px; }
.chart-point { fill: rgba(0,143,149,.72); stroke: #fff; stroke-width: 1; cursor: pointer; }
.chart-point:hover { fill: var(--blue); }
.chart-line { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 5; }

.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 750; }
.accordion-button span:last-child { color: var(--teal); font-size: 24px; transition: transform .2s ease; }
.accordion-button[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.accordion-panel { padding: 0 0 20px; color: var(--muted); }
.accordion-panel[hidden] { display: none; }

.form-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,143,149,.12); }
.form-field textarea { min-height: 126px; resize: vertical; }
.form-help { color: var(--muted); font-size: 11px; }
.form-consent { display: flex; align-items: start; gap: 10px; color: var(--muted); font-size: 12px; }
.form-consent input { margin-top: 3px; }
.form-message { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.form-message.success { display: block; color: #0b6d4f; background: #def4ea; }
.form-message.error { display: block; color: #8b2929; background: #fde7e7; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.estimator { padding: 28px; border-radius: var(--radius); color: var(--white); background: var(--ink); }
.estimator-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.estimator .form-field label { color: rgba(255,255,255,.76); }
.estimator .form-field select, .estimator .form-field input { border-color: rgba(255,255,255,.18); color: var(--white); background: rgba(255,255,255,.08); }
.estimator select option { color: var(--ink); }
.estimate-result { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.estimate-result div { padding: 17px; border-radius: 12px; background: rgba(255,255,255,.08); }
.estimate-result strong { display: block; font-size: 28px; }
.estimate-result span { display: block; margin-top: 4px; color: rgba(255,255,255,.64); font-size: 11px; }

.download-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.download-card + .download-card { margin-top: 12px; }
.download-card strong { display: block; }
.download-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.region-card .region-count { display: block; margin-top: 20px; color: var(--teal); font-size: 30px; font-weight: 850; }
.country-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.country-cloud a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: var(--white); font-size: 12px; text-decoration: none; }
.country-cloud a:hover { color: var(--teal); border-color: var(--teal); }

.footer { padding: 62px 0 28px; color: rgba(255,255,255,.75); background: #061521; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 36px; }
.footer-brand p { max-width: 390px; margin: 16px 0 0; font-size: 14px; }
.footer h3 { margin: 0 0 14px; color: var(--white); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.68); font-size: 13px; text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: 11px; }
.footer-bottom p { margin: 0; }

.prose { color: var(--ink-2); }
.prose h2 { margin: 48px 0 16px; color: var(--ink); font-size: 30px; letter-spacing: -.03em; }
.prose h3 { margin: 30px 0 10px; color: var(--ink); font-size: 20px; }
.prose p { margin: 0 0 17px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose blockquote { margin: 28px 0; padding: 23px 26px; border-left: 4px solid var(--teal); color: var(--ink); background: var(--sky); font-size: 20px; font-weight: 700; }

.cta-band { padding: 52px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(135deg, #007e83 0%, #0c3b57 100%); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { margin: 0; max-width: 700px; font-size: clamp(30px,4vw,47px); line-height: 1.12; letter-spacing: -.035em; }
.cta-band p { max-width: 660px; margin: 14px 0 0; color: rgba(255,255,255,.76); }
.cta-band .btn-secondary { flex: 0 0 auto; }

@media (max-width: 1050px) {
  .site-nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px; }
  .header-actions .btn { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-copy { max-width: 850px; }
  .hero-map-card { min-height: 450px; }
  .hero-float { right: 18px; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4, .steps { grid-template-columns: repeat(2,1fr); }
  .explore-layout { grid-template-columns: 1fr; }
  .explore-sidebar { position: static; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, .8fr); }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 46px 0; }
  .header-inner { min-height: 68px; }
  .brand { min-width: 0; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 9px; }
  .site-nav { top: 68px; left: 14px; right: 14px; }
  .hero { min-height: 0; padding: 44px 0 50px; }
  .display { font-size: 45px; }
  .hero-map-card { min-height: 330px; padding: 12px; border-radius: 20px; }
  .hero-float { position: relative; right: auto; bottom: auto; width: auto; margin: -16px 12px 0; }
  .metrics-strip { margin-top: 0; padding-top: 16px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 105px; padding: 19px; }
  .metric strong { font-size: 25px; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 15px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-row:first-child { display: none; }
  .comparison-row .comparison-cell { border-top: 1px solid var(--line); }
  .comparison-row .comparison-cell:first-child { border-top: 0; }
  .principle-banner { grid-template-columns: 1fr; padding: 30px; }
  .map-frame { min-height: 290px; }
  .page-hero { padding: 50px 0 42px; }
  .form-grid, .estimator-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .ladder-row { grid-template-columns: 1fr; gap: 10px; }
  .domain-row { grid-template-columns: 92px 1fr 42px; gap: 9px; }
  .cta-band { padding: 32px 25px; }
  .cta-band-inner { display: block; }
  .cta-band .btn { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .stat-grid, .score-meta, .estimate-result { grid-template-columns: 1fr; }
  .download-card { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
