:root {
  color-scheme: light;
  --ink: #132743;
  --muted: #4f627b;
  --blue: #1754ba;
  --navy: #102747;
  --line: #dce5ef;
  --surface: #f4f7fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #4786ef; outline-offset: 3px; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 750; letter-spacing: -.035em; }
.brand img { width: 34px; height: 34px; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 32px;
  padding: 38px 46px 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(112deg, #102747 26%, #184372 100%);
}
.hero::before, .hero::after { content: ""; z-index: -1; position: absolute; pointer-events: none; }
.hero::before {
  inset: 0 0 0 60%;
  opacity: .26;
  background-image: linear-gradient(#9ac5ed 1px, transparent 1px), linear-gradient(90deg, #9ac5ed 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.hero::after {
  width: 280px; height: 280px; right: -62px; bottom: -101px;
  border: 1px solid #82bded69; border-radius: 50%;
  box-shadow: 0 0 0 31px #7bb7ef26, 0 0 0 62px #7bb7ef17;
}
h1, h2, h3, p { margin: 0; }
h1 { max-width: 17ch; font-size: clamp(34px, 5vw, 62px); line-height: 1.04; letter-spacing: -.054em; }
.hero p { max-width: 55ch; margin-top: 15px; font-size: clamp(15px, 1.9vw, 17px); color: #deeafd; }
.editions { margin-block: 24px 0; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.024em; }
.section-heading p { margin-top: 3px; color: var(--muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px #10294a08;
}
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.country {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 9px; background: #e6efff; color: #194a9e; font-weight: 750; font-size: 12px;
}
.ng .country { background: #e0f4eb; color: #0a634a; }
.card-title h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.024em; }
.currency { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.tools { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 5px; }
.tool-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #e4ecf5;
  border-radius: 8px;
  background: #f7faff;
  min-height: 46px;
}
.tool-link:hover { border-color: #94b6ec; background: #edf4ff; text-decoration: none; }
.tool-link strong { display: block; font-size: 14px; }
.tool-link small { display: block; color: var(--muted); font-size: 12px; }
.arrow { color: var(--blue); flex: none; }
.source-note { margin: 1px 2px 10px; font-size: 13px; color: var(--muted); }
.source-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.edition-link {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 700; min-height: 44px; border-bottom: 1px solid transparent;
}
.privacy-note { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 22px; color: var(--muted); font-size: 13px; }
.privacy-note a { color: var(--blue); text-decoration: underline; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { padding-block: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .topbar { min-height: 58px; gap: 10px; }
  .brand { font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  .nav { gap: 10px; }
  .nav a { font-size: 12px; }
  .hero { margin-top: 16px; padding: 23px 19px 25px; border-radius: 16px; }
  .hero::after { right: -155px; bottom: -135px; }
  .hero p { margin-top: 11px; }
  .editions { margin-top: 18px; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { padding: 13px; }
}
@media (max-width: 360px) {
  .topbar { flex-wrap: wrap; padding-top: 8px; gap: 0 12px; }
  .nav { margin-left: 0; }
}
