@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #101636;
  --muted: #68708a;
  --line: #e6ebf3;
  --sidebar: #070c34;
  --sidebar-2: #191044;
  --purple: #7137d8;
  --purple-2: #8b3ff4;
  --blue: #0f6fd6;
  --green: #66B96A;
  --yellow: #F2C94C;
  --orange: #F2994A;
  --red: #EB5757;
  --gray: #c8ced8;
  --shadow: 0 18px 50px rgba(16, 22, 54, 0.08);
  --radius: 18px;
  font-family: "Google Sans";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}
button, input, select { font: inherit; }
a { color: inherit; }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #fff;
  background: radial-gradient(circle at 95% 10%, rgba(127, 63, 244, .45), transparent 28%), linear-gradient(180deg, var(--sidebar), var(--sidebar-2));
  box-shadow: 16px 0 40px rgba(16, 22, 54, .08);
}
.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ergo-symbol {
  position: relative;
  width: 46px;
  height: 46px;
}
.ergo-symbol span {
  width: 10px; height: 10px; border-radius: 50%; position: absolute;
}
.ergo-symbol span:nth-child(1) { background:#e2397a; left:20px; top:0; }
.ergo-symbol span:nth-child(2) { background:#7445e8; left:7px; top:9px; }
.ergo-symbol span:nth-child(3) { background:#4c7cec; left:4px; top:26px; }
.ergo-symbol span:nth-child(4) { background:#ff8a2a; left:20px; top:36px; }
.ergo-symbol span:nth-child(5) { background:#ffca35; left:34px; top:24px; }
.brand-box strong { display:block; font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.brand-box small { display:block; margin-top: 8px; font-size: 10px; line-height: 1.25; opacity: .85; letter-spacing: .04em; }

.side-nav { display: grid; gap: 8px; margin-top: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 16px;
  text-decoration: none;
  font-weight: 760;
  border-radius: 12px;
  color: rgba(255,255,255,.9);
}
.side-nav a span { width: 24px; font-size: 21px; text-align:center; }
.side-nav a:hover,
.side-nav a.active {
  background: linear-gradient(135deg, rgba(139,63,244,1), rgba(113,55,216,.76));
  color: #fff;
  box-shadow: 0 12px 30px rgba(113,55,216,.28);
}
.side-info-card {
  margin-top: auto;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(139,63,244,.38), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.09);
}
.side-info-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.35; }
.side-info-card p { margin: 0 0 18px; color: rgba(255,255,255,.78); line-height: 1.55; }
.side-info-card a {
  display:flex; justify-content:space-between; align-items:center;
  padding: 12px 14px; border-radius: 11px;
  text-decoration: none; font-weight: 800;
  background: rgba(139,63,244,.9);
}
.sidebar-footer { display:grid; gap:8px; color: rgba(255,255,255,.84); }
.sidebar-footer small { color: rgba(255,255,255,.58); }
.socials { display:flex; gap:12px; margin-top:8px; }
.socials span { width:33px; height:33px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.25); }

/* Main header */
.main-content { min-width: 0;  }
.topbar {
  min-height: 108px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}
.topbar h1 { margin:0 0 6px; font-size: 31px; letter-spacing:-0.035em; }
.topbar p { margin:0; color: var(--muted); font-size: 16px; }
.top-nav { display:flex; align-items:center; gap: 28px; color:#18204a; font-weight:700; }
.top-nav a { text-decoration:none; }
.top-nav a:hover { color: var(--purple); }
.top-nav button, .compare-controls button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 800;
  color: var(--ink);
}

/* Controls */
.control-row {
  display: grid;
  grid-template-columns: 240px 240px 180px minmax(390px, 1fr);
  gap: 12px;
  margin: 20px 0 16px;
  padding: 0 22px;
}
.control-card, .scale-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 17px;
  box-shadow: var(--shadow);
}
.control-card span, .scale-card > span {
  display:block; margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 850;
}
.control-card select {
  width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-weight:800;
}
.legend { display:flex; align-items:center; gap: 18px; flex-wrap:wrap; }
.legend b { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; white-space:nowrap; }
.dot { display:inline-block; width:13px; height:13px; border-radius:50%; background:var(--gray); }
.dot.good { background: var(--green); }
.dot.moderate { background: var(--yellow); }
.dot.serious { background: var(--orange); }
.dot.critical { background: var(--red); }
.dot.nodata { background: var(--gray); }

/* Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: 315px minmax(420px, 1fr) 540px;
  grid-template-rows: minmax(520px, 1fr) auto;
  gap: 14px;
  padding: 0 22px;
}
.left-panel, .country-panel, .reports-panel, .map-card, .compare-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.left-panel { padding: 14px; display:grid; gap:14px; align-content:start; }
.search-box {
  height: 52px;
  display:flex; align-items:center; gap:10px;
  padding: 0 14px;
  border:1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.search-box span { font-size:21px; color:#1b2651; }
.search-box input { width:100%; border:0; outline:0; color:var(--ink); }

.tab-box, .quick-card { border:1px solid var(--line); border-radius:14px; padding:14px; background:#fff; }
.tabs { display:flex; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs button, .panel-tabs button {
  flex:1; border:0; background:transparent; padding: 11px 6px; font-weight:900; text-transform:uppercase; font-size:12px; color:var(--muted); cursor:pointer;
}
.tabs button.active, .panel-tabs button.active { color: var(--purple); border-bottom: 3px solid var(--purple-2); }
.tab-box h3, .quick-card h3 { margin:0 0 12px; font-size:15px; }
.tab-box h3 span, .quick-card h3 span { color:var(--purple); }
.ranking-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.ranking-list li {
  display:grid; grid-template-columns: 25px 1fr auto; align-items:center; gap:10px;
  padding: 8px 9px; border-radius:10px; cursor:pointer; font-weight:750;
}
.ranking-list li:hover, .ranking-list li.active { background: #f2eaff; box-shadow: inset 0 0 0 1px #dfc8ff; }
.ranking-list img { width:23px; height:16px; border-radius:2px; object-fit:cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ranking-list small { color:var(--muted); }
.link-button { width:100%; margin-top:16px; border:0; background:transparent; color:var(--muted); font-weight:800; padding:8px; cursor:pointer; }
.quick-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:8px; }
.quick-grid article { padding:13px; background: var(--surface-soft); border-radius:12px; border:1px solid var(--line); }
.quick-grid em { display:block; color:var(--muted); font-size:11px; font-style:normal; font-weight:800; text-transform:uppercase; letter-spacing:.04em; margin-bottom:4px; }
.quick-grid strong { display:block; font-size:21px; }
.quick-grid span { display:block; color:var(--muted); font-size:12px; }

.map-card { position: relative; min-height: 620px; overflow: hidden; background: #eaf5ff; }
.map-wrapper { width:100%; height:100%; min-height:620px; }
#europeMap { width:100%; height:100%; display:block; }
.map-country {
  fill: #d3d8df;
  stroke: #fff;
  stroke-width: 2;
  cursor:pointer;
  transition: fill .18s ease, stroke .18s ease, filter .18s ease;
}
.map-country:hover, .map-country.active {
  stroke:#1d214a;
  stroke-width:3;
  filter: drop-shadow(0 8px 12px rgba(16,22,54,.24));
}
.map-label { font-size: 15px; font-weight: 900; fill: rgba(16,22,54,.9); pointer-events:none; text-anchor:middle; }
.map-tools { position:absolute; left:17px; top:98px; z-index:3; display:grid; background:#fff; border-radius:11px; overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line); }
.map-tools button { width:42px; height:42px; border:0; border-bottom:1px solid var(--line); background:#fff; font-size:21px; font-weight:900; cursor:pointer; }
.map-tools button:last-child { border-bottom:0; }
.map-tools button:hover { background:#f2eaff; color:var(--purple); }
.map-help { position:absolute; left:18px; bottom:20px; display:flex; align-items:center; gap:10px; background:#fff; padding:14px 16px; border-radius:10px; border:1px solid var(--line); box-shadow:var(--shadow); font-weight:800; }
.map-help span { display:block; color:var(--muted); font-weight:500; }

.country-panel { overflow-y:scroll; }
.country-header {
  display:grid;
  grid-template-columns: 68px 1fr auto;
  gap:15px;
  align-items:center;
  padding: 24px;
  color:#fff;
  background: radial-gradient(circle at 90% 10%, rgba(139,63,244,.45), transparent 24%), linear-gradient(135deg, #09134b, #26115e);
}
.country-header img { width:58px; height:58px; border-radius:50%; object-fit:cover; box-shadow: 0 0 0 6px rgba(255,255,255,.1); }
.country-header h2 { margin:0; font-size:30px; }
.country-header p { margin:5px 0 0; opacity:.82; font-weight:700; }
.country-header button { background:transparent; border:0; color:#fff; font-size:30px; cursor:pointer; }
.score-line { display:flex; align-items:center; gap:12px; padding: 20px 24px 4px; }
.score-line strong { font-size:42px; line-height:1; }
.score-line span { font-size:24px; color:var(--muted); }
.score-line em { font-style:normal; padding:7px 13px; border-radius:8px; color:#fff; background:var(--gray); font-weight:900; }
.panel-tabs { display:flex; margin: 4px 24px 14px; border-bottom:1px solid var(--line); }
.country-summary { margin:0 24px 20px; color:#5a627d; line-height:1.55; }
.score-list { display:grid; gap:10px; padding:0 24px 22px; }
.score-item { display:grid; grid-template-columns: 42px 1fr auto; align-items:center; gap:12px; }
.score-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#fff; font-weight:900; }
.score-item h4 { margin:0 0 6px; font-size:15px; }
.score-bar { height:5px; background:#e3e7ee; border-radius:999px; overflow:hidden; }
.score-bar span { display:block; height:100%; background:var(--purple); width:0%; }
.score-item strong { font-size:15px; }

.reports-panel { grid-column: 3; padding: 18px 20px; }
.panel-title { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.panel-title h3 { margin:0; }
.panel-title a { color:#1f2759; text-decoration:none; font-weight:800; }
.reports-list { display:grid; gap:10px; }
.report-item { display:grid; grid-template-columns: 40px 1fr auto; align-items:center; gap:13px; padding:12px; border:1px solid var(--line); border-radius:10px; }
.report-icon { width:40px; height:40px; border-radius:8px; display:grid; place-items:center; background:#ff3864; color:#fff; font-weight:900; }
.report-item h4 { margin:0 0 3px; font-size:14px; }
.report-item p { margin:0; color:var(--muted); font-size:12px; }
.report-item a { text-decoration:none; color:#1f2759; font-weight:900; }

.compare-section { margin:18px 0; padding:20px; display:grid; gap:16px; }
.compare-section h2 { margin:0 0 4px; }
.compare-section p { margin:0; color:var(--muted); }
.compare-controls { display:flex; gap:12px; flex-wrap:wrap; }
.compare-controls select { min-width:220px; padding:12px; border:1px solid var(--line); border-radius:10px; background:#fff; font-weight:800; }
.compare-controls button { background: var(--purple); color:#fff; border-color:transparent; }
.compare-result { display:grid; gap:10px; }
.compare-row { display:grid; grid-template-columns: 170px 1fr 1fr; gap:12px; align-items:center; padding:12px; background:var(--surface-soft); border-radius:12px; border:1px solid var(--line); }
.compare-bar { height:8px; background:#e3e7ee; border-radius:999px; overflow:hidden; }
.compare-bar span { display:block; height:100%; background:var(--purple); }

.footer { min-height:55px; display:flex; justify-content:center; align-items:center; gap:80px; color:var(--muted); border-top:1px solid var(--line); }
.footer a { text-decoration:none; }
.map-tooltip {
  position: fixed;
  z-index: 20;
  display: none;
  pointer-events: none;
  padding: 10px 12px;
  color:#fff;
  background:#121737;
  border-radius:10px;
  box-shadow: var(--shadow);
  font-size:13px;
  line-height:1.4;
}

@media (max-width: 1500px) {
  .dashboard-grid { grid-template-columns: 300px minmax(420px, 1fr) 430px; }
  .control-row { grid-template-columns: repeat(3, 1fr); }
  .scale-card { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height:auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .reports-panel { grid-column:auto; }
  .topbar, .footer { flex-direction:column; align-items:flex-start; gap:14px; padding:18px 0; }
  .top-nav { flex-wrap:wrap; }
}
@media (max-width: 760px) {
  .main-content { padding: 0 12px; }
  .control-row { grid-template-columns: 1fr; }
  .scale-card { grid-column:auto; }
  .map-card, .map-wrapper { min-height: 460px; }
  .country-header { grid-template-columns: 54px 1fr auto; padding:18px; }
  .country-header img { width:48px; height:48px; }
  .quick-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   ERGO light mockup match — overrides
   ========================================================== */
body {
  background: #f8fafc;
}
.app-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0a0d3d 0%, #0d123e 54%, #11154a 100%);
  border-radius: 0 0 0 0;
  box-shadow: 18px 0 50px rgba(16, 22, 54, .08);
}
.brand-box {
  min-height: 82px;
}
.main-content {
 /* padding: 0 22px; */
}
.topbar {
  min-height: 112px;
  background: rgba(255,255,255,.92);
}
.topbar h1 {
  font-size: 32px;
}
.control-row {
  grid-template-columns: 290px 220px minmax(560px, 1fr);
  align-items: stretch;
  margin: 20px 0 16px;
}
.control-card,
.scale-card {
  border-radius: 14px;
  box-shadow: 0 14px 45px rgba(16,22,54,.06);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(680px, 1fr) 520px;
  grid-template-rows: 720px auto;
  gap: 14px;
}
.map-card {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 760px;
  border-radius: 18px;
  background: #eaf5ff;
}
.map-wrapper,
#europeMap {
  min-height: 760px;
  height: 100%;
}
.map-wrapper svg > rect {
  fill: #edf7ff;
}
.map-search-wrap {
  position: absolute;
  left: 18px;
  top: 22px;
  z-index: 4;
  width: 250px;
}
.map-search-wrap .search-box {
  height: 52px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 40px rgba(16,22,54,.08);
}
.map-tools {
  top: 100px;
  left: 18px;
}
.map-help {
  left: 18px;
  bottom: 180px;
  z-index: 4;
}
.map-quick-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 0 0 0;
  background: rgba(255,255,255,.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.map-quick-wrap .quick-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 22px 20px;
}
.map-quick-wrap .quick-card h3 {
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.map-quick-wrap .quick-grid {
  grid-template-columns: repeat(4, 1fr);
}
.map-quick-wrap .quick-grid article {
  background: #fff;
  min-height: 86px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
}
.country-panel {
  grid-column: 2;
  grid-row: 1;
  border-radius: 18px;
  min-height: 0;
}
.country-header {
  background: radial-gradient(circle at 90% 20%, rgba(121, 63, 227, .55), transparent 24%), linear-gradient(135deg, #05105a 0%, #190a52 100%);
  padding: 26px 26px 18px;
}
.score-line {
  background: #fff;
  padding-top: 16px;
}
.panel-tabs {
  margin-top: 0;
}
.panel-tabs button {
  flex: 0 0 auto;
  min-width: 120px;
}
.country-reports-tab {
  padding: 0 24px 24px;
}
.country-reports-tab[hidden] {
  display: none !important;
}
.reports-panel {
  grid-column: 2;
  grid-row: 2;
  border-radius: 18px;
  align-self: start;
}
.report-item {
  min-height: 66px;
}
.report-icon {
  font-size: 11px;
}
.compare-section {
  margin-top: 18px;
}
#domainSelect {
  display: none;
}
@media (max-width: 1500px) {
  .dashboard-grid {
    grid-template-columns: minmax(560px, 1fr) 440px;
  }
  .control-row {
    grid-template-columns: 1fr 180px;
  }
  .scale-card {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: auto;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .map-card,
  .country-panel,
  .reports-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .map-card,
  .map-wrapper,
  #europeMap {
    min-height: 590px;
  }
  .map-quick-wrap {
    position: static;
  }
  .map-help {
    bottom: 24px;
  }
}
@media (max-width: 760px) {
  .control-row {
    grid-template-columns: 1fr;
  }
  .map-search-wrap {
    position: static;
    width: auto;
    padding: 14px;
  }
  .map-tools {
    top: 86px;
  }
  .map-quick-wrap .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Uploaded full Europe map compatibility */
.map-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-wrapper #europeMap {
  min-height: 620px;
}
#europeMap.is-panning {
  cursor: grabbing;
}


/* Final changes: score colors, no-data states, removed reports card, mobile popup */
.country-summary .empty-state,
.country-reports-tab .empty-state,
.mobile-country-modal .empty-state {
  min-height: 180px;
  padding: 24px 16px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}
.country-summary .empty-icon,
.country-reports-tab .empty-icon,
.mobile-country-modal .empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 10px;
  background: #f1f4f9;
  font-size: 28px;
}
.country-summary .empty-state h3,
.country-reports-tab .empty-state h3,
.mobile-country-modal .empty-state h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}
.country-summary .empty-state p,
.country-reports-tab .empty-state p,
.mobile-country-modal .empty-state p { margin: 0; line-height: 1.55; }
.score-item strong { font-weight: 900; }
.score-item-empty { opacity: .78; }
.score-item-empty .score-bar span { width: 0 !important; }
/* Reports & Resources card restored */
body.modal-open { overflow: hidden; }
.mobile-country-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.mobile-country-modal.open { display: block; }
.mobile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 32, .58);
  backdrop-filter: blur(6px);
}
.mobile-modal-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 -20px 70px rgba(16, 22, 54, .22);
  border: 1px solid var(--line);
}
.mobile-modal-close {
  position: sticky;
  top: 10px;
  float: right;
  z-index: 2;
  margin: 10px 10px 0 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}
.mobile-country-head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 26px 22px 10px;
  align-items: center;
}
.mobile-country-head img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.mobile-country-head h2 { margin: 0 0 4px; font-size: 26px; }
.mobile-country-head p { margin: 0; color: var(--muted); }
.mobile-score-line { display:flex; align-items:center; gap:10px; padding: 6px 22px 16px; }
.mobile-score-line strong { font-size: 42px; line-height:1; }
.mobile-score-line span { color: var(--muted); font-size: 22px; }
.mobile-score-line em { font-style:normal; border-radius: 9px; color:#fff; padding: 7px 12px; font-weight:900; }
.mobile-summary { padding: 0 22px 12px; color: var(--muted); line-height: 1.6; }
.mobile-country-modal .score-list { padding: 0 22px 20px; }
.mobile-reports-title { padding: 0 22px; margin: 4px 0 12px; }
.mobile-country-modal .reports-list { padding: 0 22px 24px; }
@media (max-width: 760px) {
  .country-panel { display: none !important; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .map-card { grid-column: 1; }
}

/* About page */
.about-main { max-width: 1180px; margin: 0 auto; padding: 34px 24px 70px; }
.about-page-shell { background: #f7f9fc; min-height: 100vh; }
.about-hero { display:grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap:24px; align-items:stretch; margin-top: 24px; }
.about-card { background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); padding:28px; }
.about-eyebrow { display:inline-flex; color:var(--purple); font-weight:900; text-transform:uppercase; letter-spacing:.08em; font-size:12px; margin-bottom:14px; }
.about-hero h1 { font-size: clamp(42px, 6vw, 72px); line-height:.92; margin:0 0 12px; letter-spacing:-.06em; }
.about-lead { color:var(--muted); font-size:18px; line-height:1.65; max-width:760px; }
.about-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.about-actions a { text-decoration:none; border-radius:12px; padding:13px 16px; font-weight:900; }
.about-primary { background:var(--purple); color:#fff; }
.about-secondary { border:1px solid var(--line); background:#fff; }
.about-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.about-stats div { background:var(--surface-soft); border:1px solid var(--line); border-radius:18px; padding:18px; display:grid; gap:5px; }
.about-stats strong { font-size:28px; color:var(--ink); }
.about-section { margin-top:24px; }
.about-section h2 { font-size:32px; margin:0 0 10px; letter-spacing:-.035em; }
.about-section > p { margin:0 0 18px; color:var(--muted); line-height:1.6; }
.about-grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.about-feature { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:0 10px 32px rgba(16,22,54,.05); }
.about-feature span { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; margin-bottom:14px; color:#fff; font-weight:950; }
.about-feature h3 { margin:0 0 8px; }
.about-feature p { margin:0; color:var(--muted); line-height:1.55; }
.about-process { display:grid; grid-template-columns: repeat(5, 1fr); gap:12px; }
.about-process article { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; }
.about-process b { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--purple); color:#fff; margin-bottom:12px; }
.about-two-col { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.about-score-row { display:grid; grid-template-columns: 90px 1fr; gap:14px; padding:14px; border-radius:14px; background:#f8fbff; margin-top:10px; border:1px solid var(--line); }
.about-score-row strong { color:#fff; border-radius:10px; padding:12px; text-align:center; }
.about-score-row.good strong { background:var(--green); }
.about-score-row.moderate strong { background:var(--yellow); color:var(--ink); }
.about-score-row.serious strong { background:var(--orange); }
.about-score-row.critical strong { background:var(--red); }
.about-score-row.nodata strong { background:var(--gray); }
.about-score-row span { font-weight:900; display:block; margin-bottom:4px; }
.about-score-row p { margin:0; color:var(--muted); }
@media (max-width: 900px) {
  .about-hero, .about-grid-3, .about-process, .about-two-col { grid-template-columns:1fr; }
}


/* Map default view fix: show full Europe map zoomed out */
.map-wrapper #europeMap {
  object-fit: contain;
  overflow: visible;
}
.map-card {
  background: #edf6fb;
}

.empty-state .country-empty-state{
  padding: 0 16px;
}
