:root {
  --ink: #171a1f;
  --ink-soft: #3f454e;
  --muted: #69717d;
  --line: #dfe3e8;
  --line-dark: #c8cdd3;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --soft-2: #eceef0;
  --accent: #4f5c66;
  --positive: #597865;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --shadow: 0 22px 70px rgba(24, 29, 34, 0.09);
}

/* Référentiel d’indicateurs, comparateurs et hubs géographiques */
.indicator-directory{display:grid;gap:70px}.indicator-directory-title{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:17px;border-bottom:2px solid var(--ink)}.indicator-directory-title .eyebrow{margin:0}.indicator-directory-title span{color:var(--muted);font-size:10px}.indicator-directory-list>a{display:grid;grid-template-columns:minmax(320px,1fr) 140px 150px 20px;align-items:center;gap:25px;min-height:95px;padding:18px 16px;border-bottom:1px solid var(--line);transition:background 160ms ease,padding 160ms ease}.indicator-directory-list>a:hover{padding-right:22px;padding-left:22px;background:var(--soft)}.indicator-directory-list>a>span{display:flex;flex-direction:column;gap:8px}.indicator-directory-list b{font-family:var(--serif);font-size:23px;font-weight:400}.indicator-directory-list small{max-width:700px;color:var(--muted);font-size:11px;line-height:1.55}.indicator-directory-list code,.indicator-directory-list em{color:var(--muted);font-size:9px;font-style:normal}
.indicator-proof{display:grid;grid-template-columns:repeat(4,1fr);margin-top:46px;border-top:1px solid var(--line-dark);border-left:1px solid var(--line-dark)}.indicator-proof>div{min-height:92px;display:flex;flex-direction:column;gap:10px;padding:18px;background:rgba(255,255,255,.55);border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.indicator-proof span{color:var(--muted);font-size:8px;letter-spacing:.08em;text-transform:uppercase}.indicator-proof strong{font-family:var(--serif);font-size:17px;font-weight:400;line-height:1.3}
.indicator-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:85px;align-items:start;padding-top:90px;padding-bottom:110px}.indicator-reference{padding-bottom:80px;border-bottom:1px solid var(--line-dark)}.indicator-reference h2,.indicator-ranking h2,.indicator-page-rail h2{margin:0;font-family:var(--serif);font-size:clamp(34px,3.5vw,52px);font-weight:400;letter-spacing:-.035em;line-height:1.08}.indicator-reference>div{display:grid;grid-template-columns:repeat(2,1fr);gap:45px;margin:30px 0 35px}.indicator-reference>div p{margin:0;color:var(--ink-soft);font-size:14px;line-height:1.85}.indicator-reference dl{display:grid;grid-template-columns:repeat(2,1fr);margin:0;border-top:1px solid var(--line-dark);border-left:1px solid var(--line-dark)}.indicator-reference dl>div{min-height:95px;padding:18px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.indicator-reference dt{color:var(--muted);font-size:9px}.indicator-reference dd{margin:12px 0 0;font-family:var(--serif);font-size:18px}
.indicator-ranking{padding-top:80px}.indicator-ranking-heading{display:grid;grid-template-columns:1fr .65fr;gap:45px;align-items:end;margin-bottom:34px}.indicator-ranking-heading>p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.indicator-ranking-table{border-top:2px solid var(--ink)}.indicator-ranking-table>a{display:grid;grid-template-columns:42px minmax(210px,.8fr) 1fr minmax(155px,auto);gap:18px;align-items:center;min-height:67px;padding:10px 12px;border-bottom:1px solid var(--line);transition:background 160ms ease}.indicator-ranking-table>a:hover{background:var(--soft)}.indicator-ranking-table>a>span:first-child{color:var(--muted);font-size:10px}.indicator-ranking-table>a>span:nth-child(2){display:grid;grid-template-columns:34px 1fr;align-items:center;gap:4px 12px}.indicator-ranking-table img{width:34px;height:23px;grid-row:1/3;object-fit:cover;border:1px solid var(--line)}.indicator-ranking-table b{font-family:var(--serif);font-size:17px;font-weight:400}.indicator-ranking-table small{color:var(--muted);font-size:8px}.indicator-ranking-table i{height:3px;overflow:hidden;background:var(--soft-2)}.indicator-ranking-table i em{height:100%;display:block;background:var(--accent)}.indicator-ranking-table strong{font-size:10px;text-align:right}.indicator-page-rail{position:sticky;top:105px}.indicator-page-rail section{padding:25px 0;border-top:2px solid var(--ink)}.indicator-page-rail section+section{margin-top:30px}.indicator-page-rail h2{font-size:27px}.indicator-page-rail p:not(.eyebrow){color:var(--muted);font-size:11px;line-height:1.75}.indicator-page-rail a{display:block;padding:11px 0;border-bottom:1px solid var(--line);font-size:10px;font-weight:700}
.continent-index,.region-index{border-top:2px solid var(--ink)}.continent-index>a,.region-index>a{display:grid;grid-template-columns:70px 1fr 260px 25px;align-items:center;gap:25px;min-height:118px;padding:18px 20px;border-bottom:1px solid var(--line-dark);transition:background 160ms ease,padding 160ms ease}.continent-index>a:hover,.region-index>a:hover{padding-right:28px;padding-left:28px;background:var(--soft)}.continent-index>a>span,.region-index>a>span{color:var(--muted);font-size:10px}.continent-index h2,.region-index h2{margin:0;font-family:var(--serif);font-size:29px;font-weight:400}.continent-index p,.region-index p{margin:7px 0 0;color:var(--muted);font-size:10px}.continent-index strong,.region-index strong{font-size:11px;text-align:right}.region-proof{grid-template-columns:repeat(3,1fr)}.region-note{margin-bottom:35px}
.country-directory{border-top:2px solid var(--ink)}.country-directory-row{display:grid;grid-template-columns:45px 1fr 70px 20px;gap:18px;align-items:center;min-height:74px;padding:12px;border-bottom:1px solid var(--line)}.country-directory-row:hover{background:var(--soft)}.country-directory-row img{width:38px;height:25px;object-fit:cover;border:1px solid var(--line)}.country-directory-row>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.country-directory-row strong{font-family:var(--serif);font-size:18px;font-weight:400}.country-directory-row small,.country-directory-row>span:nth-child(3){color:var(--muted);font-size:9px}.country-directory-row i{font-style:normal}
.ranking-controls-rich{grid-template-columns:repeat(3,1fr)}.ranking-controls-rich label{display:flex;flex-direction:column;gap:8px}.ranking-controls-rich label>span{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ranking-context{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:18px 0;border-bottom:2px solid var(--ink)}.ranking-context p{margin:0;font-size:11px}.ranking-context p strong{font-family:var(--serif);font-size:23px;font-weight:400}.ranking-context span{color:var(--muted);font-size:9px}
.comparison-toolbar{padding:28px;background:var(--soft);border:1px solid var(--line-dark)}.comparison-layout-rich{grid-template-columns:repeat(3,1fr);border:0}.comparison-layout-rich .comparison-select{padding:0 18px;border-right:1px solid var(--line-dark)}.comparison-layout-rich .comparison-select:first-child{padding-left:0}.comparison-layout-rich .comparison-select:last-child{padding-right:0;border-right:0}.comparison-options{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-top:24px;padding-top:24px;border-top:1px solid var(--line-dark)}.comparison-options label{min-width:280px;display:flex;flex-direction:column;gap:8px}.comparison-options label>span{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.comparison-country-head{display:grid;margin-top:45px;border-top:2px solid var(--ink);border-left:1px solid var(--line-dark)}.comparison-country-head-2{grid-template-columns:repeat(2,1fr)}.comparison-country-head-3{grid-template-columns:repeat(3,1fr)}.comparison-country-head>div{min-height:145px;display:flex;align-items:center;gap:18px;padding:25px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.comparison-country-head img{width:68px;height:46px;object-fit:cover;border:1px solid var(--line)}.comparison-country-head span{display:flex;flex-direction:column}.comparison-country-head small{color:var(--muted);font-size:9px}.comparison-country-head h2{margin:5px 0 0;font-family:var(--serif);font-size:29px;font-weight:400}.comparison-matrix-wrap{overflow-x:auto}.comparison-matrix{width:100%;border-collapse:collapse}.comparison-matrix th,.comparison-matrix td{padding:18px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:middle}.comparison-matrix thead th{color:var(--muted);background:var(--soft);font-size:9px;letter-spacing:.08em;text-transform:uppercase}.comparison-matrix tbody th{width:230px;font-family:var(--serif);font-size:17px;font-weight:400}.comparison-matrix th small,.comparison-matrix td small{display:block;margin-top:5px;color:var(--muted);font-family:var(--sans);font-size:8px}.comparison-matrix td{font-size:11px}.comparison-matrix td strong{font-size:11px;font-weight:650}.comparison-matrix td.winner{background:#eef2ef}.comparison-method{display:grid;grid-template-columns:180px 1fr;gap:30px;margin-top:28px;padding:24px 0;border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.comparison-method strong{font-size:10px;letter-spacing:.08em;text-transform:uppercase}.comparison-method p{max-width:850px;margin:0;color:var(--muted);font-size:11px;line-height:1.7}
.download-integrity{display:grid;grid-template-columns:.75fr 1.25fr;gap:75px;margin-top:70px;padding:55px 0;border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.download-integrity h2{margin:0;font-family:var(--serif);font-size:42px;font-weight:400}.download-integrity p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.8}.download-integrity a{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-size:10px;font-weight:700}
.method-deep,.about-charter,.about-responsibility{margin-top:85px;padding-top:70px;border-top:1px solid var(--line-dark)}.method-deep-heading{display:grid;grid-template-columns:1fr .65fr;gap:65px;align-items:end;margin-bottom:38px}.method-deep h2,.about-charter h2,.about-responsibility h2{margin:0;font-family:var(--serif);font-size:clamp(36px,4vw,55px);font-weight:400;letter-spacing:-.04em;line-height:1.08}.method-deep-heading>p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.source-indicator-groups{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line-dark);border-left:1px solid var(--line-dark)}.source-indicator-groups>div{padding:25px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.source-indicator-groups h3{margin:0 0 18px;font-family:var(--serif);font-size:23px;font-weight:400}.source-indicator-groups ul{margin:0;padding:0;list-style:none}.source-indicator-groups li a{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-top:1px solid var(--line);font-size:10px}.source-indicator-groups code{color:var(--muted);font-size:8px}.publication-flow{display:grid;grid-template-columns:repeat(5,1fr);margin:0;padding:0;border-top:1px solid var(--line-dark);border-left:1px solid var(--line-dark);list-style:none}.publication-flow li{min-height:230px;display:flex;flex-direction:column;padding:22px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.publication-flow li>span{color:var(--muted);font-size:9px}.publication-flow li>div{margin-top:auto}.publication-flow h3{margin:0 0 11px;font-family:var(--serif);font-size:22px;font-weight:400}.publication-flow p{margin:0;color:var(--muted);font-size:10px;line-height:1.7}.scope-cases{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-dark);border-left:1px solid var(--line-dark)}.scope-cases article{padding:28px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}.scope-cases h3{margin:0 0 15px;font-family:var(--serif);font-size:24px;font-weight:400}.scope-cases p{margin:0;color:var(--muted);font-size:11px;line-height:1.75}.changelog{display:grid;grid-template-columns:.65fr 1.35fr;gap:75px}.changelog article{padding:22px 0;border-top:1px solid var(--line-dark)}.changelog time{font-size:10px;font-weight:750}.changelog article p{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.75}
.about-charter{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px}.about-charter ol{margin:0;padding:0;border-top:2px solid var(--ink);list-style:none}.about-charter li{display:grid;grid-template-columns:45px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.about-charter li span{color:var(--muted);font-size:9px}.about-charter li p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.7}.about-responsibility>div:first-child{margin-bottom:35px}.about-responsibility dl{margin:0;border-top:2px solid var(--ink)}.about-responsibility dl>div{display:grid;grid-template-columns:250px 1fr;gap:35px;padding:25px 0;border-bottom:1px solid var(--line)}.about-responsibility dt{font-size:10px;font-weight:750}.about-responsibility dd{display:flex;flex-direction:column;gap:8px;margin:0}.about-responsibility dd strong{font-family:var(--serif);font-size:22px;font-weight:400}.about-responsibility dd span{max-width:750px;color:var(--muted);font-size:11px;line-height:1.7}
@media(max-width:900px){.indicator-directory-list>a{grid-template-columns:1fr 120px 20px}.indicator-directory-list em{display:none}.indicator-proof{grid-template-columns:repeat(2,1fr)}.indicator-page-grid{grid-template-columns:1fr}.indicator-page-rail{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.comparison-layout-rich{grid-template-columns:1fr}.comparison-layout-rich .comparison-select,.comparison-layout-rich .comparison-select:first-child,.comparison-layout-rich .comparison-select:last-child{padding:16px 0;border-right:0;border-bottom:1px solid var(--line)}.comparison-country-head>div{align-items:flex-start;flex-direction:column}.publication-flow{grid-template-columns:repeat(2,1fr)}.scope-cases{grid-template-columns:1fr}.about-charter{grid-template-columns:1fr;gap:35px}}
@media(max-width:620px){.indicator-directory-list>a{grid-template-columns:1fr 18px}.indicator-directory-list code{display:none}.indicator-proof,.region-proof,.indicator-reference>div,.indicator-reference dl,.indicator-ranking-heading,.indicator-page-rail,.ranking-controls-rich,.download-integrity,.method-deep-heading,.source-indicator-groups,.publication-flow,.changelog{grid-template-columns:1fr}.ranking-context,.comparison-options{align-items:flex-start;flex-direction:column}.comparison-options label{width:100%;min-width:0}.comparison-country-head{grid-template-columns:1fr}.comparison-country-head>div{min-height:100px;align-items:center;flex-direction:row}.comparison-matrix{min-width:680px}.comparison-method{grid-template-columns:1fr;gap:10px}.about-responsibility dl>div{grid-template-columns:1fr;gap:10px}.indicator-ranking-table>a{grid-template-columns:30px 1fr auto}.indicator-ranking-table i{display:none}.continent-index>a,.region-index>a{grid-template-columns:38px 1fr 20px;min-height:100px;gap:15px;padding-right:10px;padding-left:10px}.continent-index strong,.region-index strong{display:none}}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 12px 18px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 227, 232, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.brand b {
  margin-left: 4px;
  padding: 3px 6px 2px;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 42px);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 29px 0 27px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    linear-gradient(110deg, rgba(244, 245, 246, 0.98), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 8% 20%, #d9dde1 0 1px, transparent 1.5px);
  background-size: auto, 19px 19px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -280px;
  bottom: -310px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 132px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.3vw, 94px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero h1 em {
  color: #737a82;
  font-weight: 400;
}

.hero-intro {
  max-width: 640px;
  margin: 30px 0 32px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.country-search {
  position: relative;
  max-width: 650px;
}

.search-box {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  background: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 12px 35px rgba(26, 30, 35, 0.06);
}

.search-box:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.search-box svg {
  width: 21px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.7;
}

.search-box input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #8a9098;
}

.search-box kbd {
  padding: 5px 7px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 10px;
}

.search-results {
  position: absolute;
  z-index: 30;
  right: 0;
  left: 0;
  top: calc(100% + 7px);
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-results button,
.search-results a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.search-results button:hover,
.search-results button:focus,
.search-results a:hover,
.search-results a:focus {
  background: var(--soft);
}

.search-results img {
  width: 34px;
  height: 24px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-results span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.search-results b {
  font-size: 13px;
}

.search-results small {
  color: var(--muted);
  font-size: 11px;
}

.search-results i {
  color: var(--muted);
  font-style: normal;
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--positive);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(89, 120, 101, 0.13);
}

.spotlight {
  position: relative;
  padding: 29px 31px 26px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.spotlight::before {
  position: absolute;
  width: 72px;
  height: 3px;
  top: -1px;
  left: -1px;
  background: var(--ink);
  content: "";
}

.spotlight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.micro-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotlight h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.spotlight h2 img {
  width: 36px;
  height: 25px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.source-pill {
  padding: 6px 9px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
}

.spotlight-map {
  position: relative;
  height: 205px;
  display: grid;
  place-items: center;
  margin: 12px 0 6px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.spotlight-map img {
  width: 180px;
  height: 175px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.76;
}

.map-label {
  position: absolute;
  top: 76px;
  left: 49%;
  padding: 4px 7px;
  background: var(--ink);
  color: white;
  font-size: 9px;
  font-weight: 700;
}

.map-label::before {
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: -8px;
  background: var(--ink);
  border-radius: 50%;
  content: "";
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-grid > div {
  min-height: 97px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 13px 12px;
  border-right: 1px solid var(--line);
}

.metric-grid > div:first-child {
  padding-left: 0;
}

.metric-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.metric-grid span,
.metric-grid small {
  color: var(--muted);
  font-size: 9px;
}

.metric-grid strong {
  font-size: 14px;
  font-weight: 750;
}

.sparkline {
  width: 100%;
  height: 25px;
  margin-top: auto;
}

.sparkline polyline {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 750;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.proof-strip {
  background: var(--ink);
  color: white;
}

.proof-grid {
  min-height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.proof-grid > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 28px;
  border-right: 1px solid #383c42;
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.proof-grid span {
  color: #adb3bb;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.section-heading h2,
.methodology-teaser h2,
.page-title {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 48px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  transition: background 180ms ease;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card:hover {
  background: var(--soft);
}

.feature-primary {
  background: var(--soft);
}

.feature-index {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
}

.feature-card h3 {
  margin: 28px 0 11px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.feature-card p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  font-size: 11px;
  font-weight: 800;
}

.compare-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 19px;
  margin-top: 45px;
}

.compare-visual > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  font-size: 12px;
}

.compare-visual img {
  width: 35px;
  height: 25px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.compare-visual > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}

.mini-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50px;
}

.mini-bars div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-bars span {
  width: 12px;
  color: var(--muted);
  font-size: 9px;
}

.mini-bars div::after {
  height: 1px;
  flex: 1;
  background: var(--line-dark);
  content: "";
}

.mini-bars i {
  position: absolute;
  height: 6px;
  max-width: calc(100% - 92px);
  margin-left: 22px;
  background: var(--ink-soft);
}

.quiz-visual {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 45px;
}

.quiz-visual > span {
  margin-right: 12px;
  font-size: 52px;
  filter: grayscale(0.6);
}

.quiz-visual i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.row-heading .text-link {
  margin-bottom: 6px;
}

.continent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  gap: 1px;
}

.continent-grid a {
  position: relative;
  min-height: 235px;
  padding: 24px;
  background: #fff;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.continent-grid a:hover {
  background: var(--ink);
  color: white;
}

.continent-grid span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 11px;
}

.continent-grid h3 {
  margin: 74px 0 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.continent-grid p {
  color: var(--muted);
  font-size: 10px;
}

.continent-grid i {
  position: absolute;
  top: 24px;
  right: 24px;
  font-style: normal;
}

.methodology-teaser {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 105px;
  align-items: center;
}

.methodology-teaser > div:last-child {
  padding-left: 35px;
  border-left: 1px solid var(--line-dark);
}

.methodology-teaser p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-light {
  background: white;
  color: var(--ink);
}

.site-footer {
  padding: 75px 0 26px;
  background: #171a1f;
  color: white;
}

.brand-inverse b {
  background: white;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.65fr);
  gap: 65px;
}

.footer-grid > div:first-child p {
  max-width: 360px;
  margin-top: 22px;
  color: #a9afb7;
  font-size: 12px;
  line-height: 1.8;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  color: #7f8791;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid > div:not(:first-child) p {
  margin: 0;
  color: #d4d7db;
  font-size: 11px;
  line-height: 1.6;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid #34383e;
  color: #777f88;
  font-size: 9px;
}

/* Inner pages */
.page-hero {
  padding: 70px 0 56px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 10px;
}

.breadcrumbs span {
  color: #a2a7ae;
}

.page-title {
  max-width: 940px;
}

.page-lead {
  max-width: 750px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-content {
  padding-top: 64px;
  padding-bottom: 100px;
}

.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.field,
.select-field {
  min-height: 48px;
  padding: 0 15px;
  background: white;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  outline: none;
}

.field:focus,
.select-field:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(23, 26, 31, 0.08);
}

.field {
  min-width: min(340px, 100%);
}

.country-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.country-list a {
  min-height: 102px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 160ms ease;
}

.country-list a:hover {
  background: var(--soft);
}

.country-list img {
  width: 39px;
  height: 28px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.country-list b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.country-list small {
  color: var(--muted);
  font-size: 9px;
}

.country-list i {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.empty-state {
  padding: 50px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
}

.country-hero {
  padding: 50px 0 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.country-identity {
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: center;
  gap: 80px;
}

.country-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.country-title-row > img {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.07);
}

.country-title-row h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.country-kicker {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.country-map {
  height: 250px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.country-map img {
  width: 250px;
  height: 210px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.75;
}

.country-nav {
  display: flex;
  gap: 28px;
  margin-top: 38px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.country-nav a {
  padding: 18px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.country-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 62px;
  padding-top: 58px;
  padding-bottom: 100px;
}

.answer-box {
  padding: 24px 26px;
  background: var(--soft);
  border-left: 3px solid var(--ink);
}

.answer-box h2 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.answer-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.stat-card {
  min-height: 135px;
  padding: 20px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat-card > span {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.stat-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.content-section {
  padding-top: 50px;
}

.content-section h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.content-section > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.trend-list {
  border-top: 1px solid var(--line-dark);
}

.trend-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 130px;
  align-items: center;
  gap: 25px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.trend-row h3 {
  margin: 0 0 5px;
  font-size: 12px;
}

.trend-row small {
  color: var(--muted);
  font-size: 9px;
}

.trend-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  text-align: right;
}

.sidebar-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line-dark);
}

.sidebar-card h2 {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.definition-list {
  margin: 0;
}

.definition-list div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.5;
}

.definition-list div:last-child {
  border-bottom: 0;
}

.definition-list dt {
  color: var(--muted);
}

.definition-list dd {
  margin: 0;
  text-align: right;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list a,
.tag-list span {
  padding: 6px 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 9px;
}

.source-card {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.source-card p {
  color: #c1c6cc;
  font-size: 10px;
  line-height: 1.7;
}

.source-card a {
  color: white;
  font-size: 10px;
  font-weight: 750;
}

.muted-small {
  color: var(--muted);
  font-size: 11px;
}

.comparison-note {
  margin-top: 22px;
  font-size: 11px;
}

.download-license {
  margin-top: 28px;
}

.widget-kicker {
  margin: 4px 0 0;
}

.widget-source {
  margin-top: 16px;
}

.widget-help {
  font-size: 12px;
}

.not-found-button {
  margin-top: 28px;
}

.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-dark);
}

.comparison-select {
  padding: 25px;
}

.comparison-select:first-child {
  border-right: 1px solid var(--line-dark);
}

.comparison-select label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.comparison-select select {
  width: 100%;
}

.comparison-head {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  margin: 35px 0;
  text-align: center;
}

.comparison-head img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-head h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.comparison-vs {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-align: left;
}

.comparison-table td {
  width: 31%;
  font-family: var(--serif);
  font-size: 19px;
}

.comparison-table td:last-child {
  text-align: right;
}

.winner {
  background: #f1f4f2;
}

.ranking-controls {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
  margin-bottom: 30px;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th {
  padding: 12px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-dark);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.ranking-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.ranking-table td:first-child {
  width: 60px;
  color: var(--muted);
  font-family: var(--serif);
}

.ranking-table td:last-child {
  text-align: right;
}

.rank-country {
  display: flex;
  align-items: center;
  gap: 13px;
}

.rank-country img {
  width: 33px;
  height: 23px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.quiz-shell {
  max-width: 780px;
  margin-inline: auto;
}

.quiz-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.quiz-tabs button {
  min-height: 42px;
  padding: 0 16px;
  background: white;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.quiz-tabs button.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.quiz-card {
  padding: 42px;
  background: var(--soft);
  border: 1px solid var(--line-dark);
  text-align: center;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.quiz-prompt {
  margin: 42px 0 30px;
}

.quiz-prompt img {
  width: 115px;
  height: 80px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.quiz-prompt .shape-image {
  width: 220px;
  height: 150px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  filter: grayscale(1) contrast(0.8);
}

.quiz-prompt h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.quiz-result-score {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 84px);
  line-height: 1;
}

.quiz-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.quiz-answers button {
  min-height: 54px;
  padding: 10px 15px;
  background: white;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  font-size: 12px;
}

.quiz-answers button:hover {
  border-color: var(--ink);
}

.quiz-answers button.correct {
  background: #eaf0ec;
  border-color: #688070;
}

.quiz-answers button.wrong {
  background: #f4eaea;
  border-color: #9b6d6d;
}

.quiz-feedback {
  min-height: 28px;
  margin: 18px 0 0;
  font-size: 11px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.method-card {
  padding: 30px;
  border: 1px solid var(--line-dark);
}

.method-card h2 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.method-card p,
.method-card li {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.method-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.download-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line-dark);
}

.download-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.download-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.download-card .button {
  margin-top: auto;
}

.widget-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.widget-card {
  padding: 25px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.widget-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.widget-card-head img {
  width: 47px;
  height: 33px;
  object-fit: cover;
}

.widget-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.widget-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.widget-stats div {
  padding: 15px 8px;
  border-right: 1px solid var(--line);
}

.widget-stats div:last-child {
  border-right: 0;
}

.widget-stats span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.widget-stats strong {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}

.code-block {
  overflow-x: auto;
  padding: 22px;
  background: var(--ink);
  color: #e4e7ea;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 440px;
    gap: 45px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .proof-grid > div {
    flex-direction: column;
    gap: 2px;
  }

  .continent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .country-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 36px, 680px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 24px;
  }

  .menu-toggle {
    width: 44px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: 0;
  }

  .menu-toggle span {
    width: 22px;
    height: 1px;
    margin-left: auto;
    background: var(--ink);
  }

  .menu-toggle i {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 22px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .spotlight {
    max-width: 620px;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 18px;
  }

  .proof-grid > div {
    min-height: 70px;
    padding: 10px;
    border-bottom: 1px solid #383c42;
  }

  .proof-grid > div:nth-child(2) {
    border-right: 0;
  }

  .split-heading,
  .methodology-teaser,
  .footer-grid,
  .method-grid,
  .widget-demo {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 350px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .continent-grid {
    grid-template-columns: 1fr 1fr;
  }

  .methodology-teaser > div:last-child {
    padding-left: 0;
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .country-list {
    grid-template-columns: 1fr 1fr;
  }

  .country-identity {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .country-map {
    height: 190px;
  }

  .country-main {
    grid-template-columns: 1fr;
  }

  .comparison-head {
    grid-template-columns: 1fr 60px 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    letter-spacing: -0.045em;
  }

  .hero-intro {
    margin-top: 23px;
  }

  .search-box kbd {
    display: none;
  }

  .spotlight {
    padding: 23px 20px;
  }

  .spotlight-map {
    height: 170px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid > div {
    min-height: 75px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid > div:last-child {
    border-bottom: 0;
  }

  .proof-grid strong {
    font-size: 25px;
  }

  .section-heading h2,
  .methodology-teaser h2,
  .page-title {
    font-size: 38px;
  }

  .continent-grid,
  .country-list,
  .stat-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .continent-grid a {
    min-height: 160px;
  }

  .continent-grid h3 {
    margin-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .country-title-row {
    align-items: flex-start;
  }

  .country-title-row > img {
    width: 53px;
    height: 37px;
  }

  .country-main {
    padding-top: 38px;
  }

  .trend-row {
    grid-template-columns: 1fr 95px;
  }

  .trend-row .sparkline {
    display: none;
  }

  .comparison-layout {
    grid-template-columns: 1fr;
  }

  .comparison-select:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .comparison-head {
    grid-template-columns: 1fr 36px 1fr;
  }

  .comparison-head img {
    width: 55px;
    height: 38px;
  }

  .comparison-head h2 {
    font-size: 20px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 8px;
  }

  .comparison-table td {
    font-size: 14px;
  }

  .ranking-controls {
    grid-template-columns: 1fr;
  }

  .ranking-table th:nth-child(3),
  .ranking-table td:nth-child(3) {
    display: none;
  }

  .quiz-card {
    padding: 24px 16px;
  }

  .quiz-answers {
    grid-template-columns: 1fr;
  }
}
