/* =========================================================
   VISA ATLAS — editorial travel utility
   ========================================================= */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-400.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-600.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-700.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #12130f;
  --ink-2: #1b1d17;
  --ink-3: #292c23;
  --paper: #f2eee5;
  --paper-2: #e9e3d6;
  --paper-3: #ddd6c7;
  --cream: #fbf8f1;
  --acid: #d9ff63;
  --acid-2: #c4f13e;
  --orange: #ff5c35;
  --blue: #3450ff;
  --green: #1d5b45;
  --green-light: #c9e3d5;
  --red: #c93f2a;
  --muted: #6e6c62;
  --muted-light: #a7a398;
  --line: rgba(18, 19, 15, .13);
  --line-light: rgba(251, 248, 241, .16);
  --shadow: 0 24px 60px -30px rgba(18, 19, 15, .42);
  --sans: 'Space Grotesk', 'Noto Sans SC Variable', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
  --serif: 'Instrument Serif', 'Noto Sans SC Variable', 'Songti SC', 'STSong', Georgia, serif;
  --mono: 'SFMono-Regular', 'JetBrains Mono', 'Roboto Mono', Menlo, 'Noto Sans SC Variable', monospace;
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 82px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, svg { display: block; }
.flag-img { display: inline-block; width: 1.35em; height: auto; border-radius: 2px; vertical-align: -.18em; box-shadow: 0 0 0 1px rgba(18,19,15,.08); flex: 0 0 auto; }
.orbit-dot .flag-img { width: 21px; border-radius: 50%; box-shadow: none; }
.country-flag .flag-img { width: 24px; border-radius: 3px; }
.official-country .flag .flag-img { width: 20px; border-radius: 3px; }
.drawer-flag .flag-img { width: 31px; border-radius: 4px; }
.match-item-flag .flag-img { width: 18px; border-radius: 2px; }
.compare-chip .flag-img { width: 14px; }
.compare-flag .flag-img { width: 28px; border-radius: 3px; }
.update-country .flag-img { width: 13px; margin-right: 2px; }

ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.shell { width: min(1340px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.desktop-only { display: initial; }
.mobile-only { display: none; }
.filter-head-actions { display: flex; align-items: center; gap: 9px; }
.filter-close { display: none; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  height: var(--header-h);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background .28s ease, border-color .28s ease, color .28s ease, height .28s ease;
}
.site-header.is-solid {
  height: 68px;
  background: rgba(242, 238, 229, .93);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; }
.brand-mark svg { width: 31px; height: 31px; stroke-width: 1.5; }
.brand-type {
  font-size: 19px; font-weight: 700; letter-spacing: .04em; line-height: .9;
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0;
}
.brand-type > span { color: var(--acid); }
.brand-type > .brand-cn { color: var(--cream); font-size: 21px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.site-header.is-solid .brand-type > .brand-cn { color: var(--ink); }
.site-header.is-solid .brand-type > span { color: var(--green); }
.site-header.is-solid .brand-type > .brand-cn { color: var(--ink); }
.brand-type small {
  width: 100%; font-size: 9px; font-weight: 500; letter-spacing: .32em;
  margin-top: 5px; color: rgba(251, 248, 241, .56);
}
.site-header.is-solid .brand-type small { color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
.main-nav a { font-size: 13.5px; font-weight: 500; opacity: .78; transition: opacity .2s; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1.5px;
  background: currentColor; transition: right .25s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { right: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 17px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .06em; color: rgba(251, 248, 241, .7);
  white-space: nowrap;
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(217,255,99,.6); animation: ping 2.2s infinite; }
.site-header.is-solid .live-pill { color: var(--muted); }
.site-header.is-solid .live-pill i { background: var(--green); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 100px;
  background: var(--acid); color: var(--ink);
  font-size: 12.5px; font-weight: 700; transition: transform .2s, background .2s;
}
.header-cta:hover { transform: translateY(-1px); background: var(--acid-2); }
.header-cta svg { font-size: 14px; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; margin-left: auto; position: relative; }
.mobile-menu-btn span { display: block; width: 21px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .25s ease, opacity .25s ease; }
.mobile-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(217,255,99,.55); }
  70% { box-shadow: 0 0 0 7px rgba(217,255,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,255,99,0); }
}

/* ---------- Mobile top channel menu ---------- */
.channel-shell { display: none; position: relative; z-index: 5; }
.channel-nav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(251,248,241,.15); border-bottom: 1px solid rgba(251,248,241,.15); }
.channel-nav::-webkit-scrollbar { display: none; }
.channel-nav a { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 14px; color: rgba(251,248,241,.72); font-size: 11px; white-space: nowrap; border-right: 1px solid rgba(251,248,241,.08); }
.channel-nav a:first-child { padding-left: 0; }
.channel-nav a:hover { color: var(--acid); }
.channel-nav b { font-family: var(--mono); font-size: 7px; font-weight: 500; color: var(--acid); letter-spacing: .04em; }
@media (max-width: 860px) {
  .channel-shell { display: block; margin-top: calc(var(--header-h) + 14px); margin-bottom: 2px; }
  .channel-nav { margin: 0; }
  .header-inner .main-nav { display: none; }
  .mobile-menu-btn { display: none; }
  .hero { padding-top: 0; }
  .hero-inner { padding-top: 33px; }
}
/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 780px;
  padding: calc(var(--header-h) + 58px) 0 70px;
  background: var(--ink);
  color: var(--cream);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 150px;
  background: linear-gradient(to bottom, rgba(18,19,15,0), var(--ink));
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(251,248,241,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,248,241,.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 85%);
}
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -100px; top: -180px;
  background: radial-gradient(circle, rgba(217,255,99,.13), transparent 67%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr); gap: 40px; align-items: center; }
.hero-copy { padding-top: 12px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero .eyebrow { color: rgba(251,248,241,.55); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); flex: 0 0 auto; }
.eyebrow--light { color: rgba(251,248,241,.55); }
.hero-title {
  margin: 22px 0 22px;
  font-size: clamp(58px, 6.5vw, 98px);
  font-weight: 600; line-height: .99; letter-spacing: -.065em;
}
.hero-title .title-accent {
  position: relative; color: var(--acid); display: inline-block;
}
.hero-title .title-accent::after {
  content: ""; position: absolute; left: 3px; right: 2px; bottom: 4px; height: 9px;
  background: var(--orange); z-index: -1; opacity: .72; transform: rotate(-1.5deg);
}
.hero-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.035em; color: var(--cream);
}
.hero-lead { max-width: 610px; color: rgba(251,248,241,.62); font-size: 15px; line-height: 1.85; }
.hero-search {
  margin-top: 32px; max-width: 660px;
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); color: var(--ink);
  padding: 7px 7px 7px 18px; border-radius: 14px;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.7);
  border: 1px solid rgba(251,248,241,.35);
}
.hero-search .search-icon { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.hero-search input::placeholder { color: #99948a; }
.hero-search kbd {
  font-family: var(--mono); font-size: 10px; color: #8e8b80;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  padding: 3px 6px; white-space: nowrap;
}
.hero-search button {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto;
  background: var(--acid); color: var(--ink); border-radius: 9px;
  padding: 12px 18px; font-size: 13px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.hero-search button:hover { background: var(--acid-2); transform: translateX(1px); }
.quick-searches { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 15px; font-size: 12px; color: rgba(251,248,241,.45); }
.quick-searches button { color: rgba(251,248,241,.72); border-bottom: 1px solid rgba(251,248,241,.23); padding: 1px 0; transition: color .2s, border-color .2s; }
.quick-searches button:hover { color: var(--acid); border-color: var(--acid); }
.hero-metrics { display: flex; gap: 32px; margin-top: 50px; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; padding-right: 30px; border-right: 1px solid rgba(251,248,241,.14); }
.metric:last-child { border-right: 0; padding-right: 0; }
.metric strong { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.metric span { margin-top: 6px; font-size: 10.5px; color: rgba(251,248,241,.45); letter-spacing: .02em; }
.metric .metric-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: .06em; color: var(--acid); padding-top: 8px; }
.metric-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); animation: ping 2.2s infinite; }

/* Hero stage */
.hero-stage { position: relative; height: 590px; min-width: 0; }
.stage-glow { position: absolute; inset: 50% auto auto 50%; width: 440px; height: 440px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(217,255,99,.17), rgba(217,255,99,.03) 48%, transparent 70%); }
.globe-rings { position: absolute; width: 500px; height: 500px; left: 50%; top: 48%; transform: translate(-50%,-50%); opacity: .8; }
.ring { position: absolute; inset: 0; border: 1px solid rgba(251,248,241,.16); border-radius: 50%; }
.ring-2 { inset: 52px; border-style: dashed; animation: spin 38s linear infinite; }
.ring-3 { inset: 117px; border-color: rgba(217,255,99,.28); }
.ring-axis { position: absolute; left: 50%; top: 50%; width: 500px; height: 1px; background: rgba(251,248,241,.10); transform: translate(-50%,-50%) rotate(-24deg); }
.ring-axis::after { content: ""; position: absolute; left: 50%; top: 50%; width: 500px; height: 1px; background: rgba(251,248,241,.08); transform: translate(-50%,-50%) rotate(48deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-dot { position: absolute; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 0 0 1px rgba(251,248,241,.35); font-size: 18px; animation: bob 5s ease-in-out infinite; }
.dot-1 { left: 5%; top: 20%; animation-delay: -.5s; }
.dot-2 { right: 6%; top: 11%; animation-delay: -1.5s; }
.dot-3 { right: 7%; top: 31%; animation-delay: -2.8s; }
.dot-4 { left: 6%; bottom: 14%; animation-delay: -1s; }
.dot-5 { right: 18%; bottom: 3%; animation-delay: -3.5s; }
.dot-6 { left: 24%; top: 2%; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.passport-card {
  position: absolute; z-index: 2; left: 50%; top: 47%; transform: translate(-50%,-50%) rotate(-7deg);
  width: min(365px, 73%); min-height: 475px;
  background: #f6f0e2; color: var(--ink);
  border-radius: 22px; padding: 20px 24px 18px;
  box-shadow: 0 45px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(18,19,15,.14);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.passport-card::before {
  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(18,19,15,.2); border-radius: 15px; pointer-events: none;
}
.passport-card::after {
  content: "出门看看"; position: absolute; right: -6px; top: 58%; transform: rotate(90deg);
  font-size: 10px; letter-spacing: .45em; color: rgba(18,19,15,.35); pointer-events: none;
}
.hero-stage:hover .passport-card { transform: translate(-50%,-50%) rotate(-4deg) translateY(-5px); }
.passport-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: rgba(18,19,15,.5); border-bottom: 1px solid rgba(18,19,15,.18); padding-bottom: 12px; position: relative; z-index: 1; }
.passport-body { position: relative; flex: 1; padding-top: 25px; z-index: 1; }
.passport-label { font-size: 9px; letter-spacing: .17em; text-transform: uppercase; color: rgba(18,19,15,.54); }
.passport-word { margin-top: 10px; font-family: var(--serif); font-size: 86px; line-height: .72; letter-spacing: -.055em; }
.passport-word i { font-size: 74px; letter-spacing: -.04em; }
.passport-stamp {
  position: absolute; right: 4px; bottom: 4px; width: 132px; height: 132px; border-radius: 50%;
  border: 2px solid rgba(201,63,42,.7); box-shadow: inset 0 0 0 4px rgba(201,63,42,.08), inset 0 0 0 5px rgba(201,63,42,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--red); transform: rotate(12deg); opacity: .82;
}
.passport-stamp span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; }
.passport-stamp strong { font-size: 17px; letter-spacing: -.03em; margin: 3px 0; }
.passport-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 22px; border-top: 1px solid rgba(18,19,15,.18); padding-top: 14px; }
.passport-foot > div:not(.barcode) { display: flex; flex-direction: column; gap: 1px; }
.passport-foot span { font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: rgba(18,19,15,.48); }
.passport-foot strong { font-size: 21px; line-height: 1; font-weight: 600; }
.barcode { margin-left: auto; width: 100px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 4px, var(--ink) 4px 5px, transparent 5px 7px, var(--ink) 7px 10px, transparent 10px 12px); opacity: .7; }

.float-card { position: absolute; z-index: 4; background: rgba(28,30,23,.92); border: 1px solid rgba(251,248,241,.17); backdrop-filter: blur(15px); border-radius: 13px; box-shadow: 0 24px 50px -25px #000; }
.float-live { left: -4%; bottom: 1%; width: 252px; padding: 14px 15px 12px; }
.float-card-top { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 8px; letter-spacing: .13em; color: rgba(251,248,241,.53); border-bottom: 1px solid rgba(251,248,241,.12); padding-bottom: 9px; }
.float-card-top > span:last-child { margin-left: auto; color: var(--acid); letter-spacing: .04em; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: ping 2s infinite; flex: 0 0 auto; }
.float-live ul { padding: 8px 0 5px; }
.float-live li { display: flex; gap: 9px; font-size: 10.5px; color: rgba(251,248,241,.72); padding: 4px 0; line-height: 1.45; }
.float-live li b { font-family: var(--mono); color: var(--acid); font-size: 8.5px; font-weight: 500; padding-top: 1px; flex: 0 0 auto; }
.float-live a { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: rgba(251,248,241,.48); transition: color .2s; }
.float-live a:hover { color: var(--acid); }
.float-live a svg { width: 10px; height: 10px; }
.float-fx { right: -4%; top: 52%; width: 186px; padding: 13px 14px; background: var(--acid); color: var(--ink); border-color: transparent; transform: rotate(3deg); }
.fx-head { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; letter-spacing: .03em; border-bottom: 1px solid rgba(18,19,15,.18); padding-bottom: 8px; }
.fx-head svg { width: 13px; height: 13px; }
.fx-head i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 7.5px; color: rgba(18,19,15,.55); }
.fx-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0 0; font-size: 10px; }
.fx-row strong { font-size: 14px; letter-spacing: -.02em; }
.fx-note { font-size: 7.5px; color: rgba(18,19,15,.52); margin-top: 7px; }
.hero-note { position: absolute; bottom: 2%; right: 0; font-size: 8.5px; color: rgba(251,248,241,.3); max-width: 250px; text-align: right; line-height: 1.6; }

/* ---------- Ticker ---------- */
.ticker { background: var(--acid); color: var(--ink); height: 42px; display: flex; align-items: center; border-bottom: 1px solid rgba(18,19,15,.2); overflow: hidden; }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 22px 0 max(32px, calc((100vw - 1340px) / 2 + 32px)); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; font-weight: 700; border-right: 1px solid rgba(18,19,15,.22); height: 100%; white-space: nowrap; }
.ticker-label .pulse-dot { background: var(--ink); animation: none; }
.ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 20px), transparent); }
.ticker-track { display: flex; align-items: center; gap: 56px; white-space: nowrap; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-size: 10.5px; color: rgba(18,19,15,.78); display: inline-flex; align-items: center; gap: 9px; }
.ticker-track b { font-family: var(--mono); font-size: 8.5px; background: var(--ink); color: var(--acid); padding: 2px 5px; border-radius: 3px; font-weight: 500; letter-spacing: .03em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-more { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; padding: 0 24px; border-left: 1px solid rgba(18,19,15,.22); height: 100%; white-space: nowrap; }
.ticker-more svg { width: 12px; height: 12px; }

/* ---------- Section basics ---------- */
.section { padding: 112px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.section-title { margin-top: 17px; font-size: clamp(36px, 4vw, 57px); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; }
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; color: var(--green); }
.section-intro { max-width: 400px; color: var(--muted); font-size: 13.5px; line-height: 1.85; padding-bottom: 8px; }
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--acid); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 20px; border-radius: 9px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); }
.btn-acid { background: var(--acid); color: var(--ink); }
.btn-acid:hover { background: var(--acid-2); }
.btn-ghost-light { border: 1px solid rgba(251,248,241,.25); color: var(--cream); }
.btn-ghost-light:hover { background: rgba(251,248,241,.08); }
.btn-block { width: 100%; }

/* ---------- Explorer ---------- */
.explorer { background: var(--paper); position: relative; }
.explorer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(217,255,99,.16), transparent 45%); pointer-events: none; }
.explorer .shell { position: relative; }
.explorer-toolbar {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 14px; background: var(--cream); border: 1px solid var(--line);
  border-radius: 13px; box-shadow: 0 8px 28px -22px rgba(18,19,15,.4); margin-bottom: 22px;
}
.toolbar-search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 200px; padding: 0 2px; }
.toolbar-search > svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.toolbar-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; padding: 7px 0; }
.toolbar-search input::placeholder { color: #9a968c; }
.clear-search { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper-2); color: var(--muted); }
.clear-search svg { width: 12px; height: 12px; }
.toolbar-meta { display: flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); padding-left: 18px; }
#resultCount { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
#resultCount b { color: var(--ink); }
.filter-toggle { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.filter-toggle svg { width: 15px; height: 15px; }
.filter-toggle i { display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 9px; font-style: normal; }
.sort-select { position: relative; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); flex: 0 0 auto; }
.sort-select select { appearance: none; border: 0; outline: 0; background: transparent; padding: 5px 23px 5px 0; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.sort-select > svg { position: absolute; right: 0; width: 13px; height: 13px; pointer-events: none; }

.explorer-layout { display: grid; grid-template-columns: 244px minmax(0,1fr); gap: 35px; align-items: start; }
.filters { position: sticky; top: 94px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 21px 20px 96px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.filter-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 19px; }
.filter-head strong { font-size: 12px; letter-spacing: .04em; }
.filter-head button { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); }
.filter-head button svg { width: 10px; height: 10px; }
.filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.filter-title span { font-weight: 400; letter-spacing: 0; text-transform: none; color: #a19d92; }
.segmented { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.segmented button { flex: 1; padding: 6px 4px; border-radius: 5px; font-size: 10.5px; color: var(--muted); transition: background .2s, color .2s; }
.segmented button.active { background: var(--ink); color: var(--cream); font-weight: 600; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 100px; font-size: 10.5px; color: #56564c; background: transparent; transition: all .18s; white-space: nowrap; }
.filter-chip:hover { border-color: rgba(18,19,15,.35); }
.filter-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-chip .chip-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }
.filter-chips--types .filter-chip { padding-left: 8px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.switch-row > span { display: flex; flex-direction: column; gap: 1px; }
.switch-row b { font-size: 11.5px; font-weight: 500; }
.switch-row small { font-size: 9px; color: var(--muted); line-height: 1.5; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 33px; height: 19px; border-radius: 100px; background: var(--paper-3); position: relative; flex: 0 0 auto; transition: background .2s; }
.switch::after { content: ""; position: absolute; width: 13px; height: 13px; top: 3px; left: 3px; border-radius: 50%; background: var(--cream); transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch-row input:checked + .switch { background: var(--green); }
.switch-row input:checked + .switch::after { transform: translateX(14px); }
.field-label { display: block; font-size: 10px; color: var(--muted); margin: 11px 0 5px; }
.input-suffix { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; height: 34px; gap: 5px; transition: border-color .2s, box-shadow .2s; }
.input-suffix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,19,15,.06); }
.input-suffix input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 11.5px; padding: 2px 0; }
.input-suffix span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.input-suffix .prefix { padding-right: 1px; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); padding: 0 26px 0 9px; font-size: 10.5px; outline: 0; cursor: pointer; }
.select-wrap > svg { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; pointer-events: none; color: var(--muted); }
.filter-apply { position: sticky; bottom: -21px; z-index: 4; margin: 18px -20px -21px; padding: 12px 20px 18px; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px rgba(18,19,15,.06); }
.filter-apply > span { display: block; font-size: 8.5px; color: var(--muted); line-height: 1.45; margin-bottom: 7px; }
.filter-apply .btn { font-size: 10.5px; padding: 10px; gap: 6px; }
.filter-apply .btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.filter-apply .btn b { font-family: var(--mono); font-size: 8px; font-weight: 500; }
.filter-note { display: flex; gap: 8px; margin-top: 18px; padding: 11px; background: rgba(29,91,69,.07); border-radius: 8px; color: var(--green); }
.filter-note svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 2px; }
.filter-note p { font-size: 9px; line-height: 1.65; color: #52675b; }

.results { min-width: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.result-note { display: flex; align-items: flex-start; gap: 8px; background: rgba(216,138,45,.09); border: 1px solid rgba(216,138,45,.2); color: #75511e; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 9.5px; line-height: 1.65; }
.result-note::before { content: "i"; display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid rgba(117,81,30,.45); border-radius: 50%; font-family: var(--mono); font-size: 8px; font-weight: 700; flex: 0 0 auto; margin-top: 1px; }
.result-note b { color: var(--ink); }
.active-filter { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: var(--cream); border-radius: 100px; padding: 5px 8px 5px 10px; font-size: 9.5px; }
.active-filter button { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: rgba(251,248,241,.18); }
.active-filter svg { width: 8px; height: 8px; }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.country-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 18px 0; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.country-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--card-accent, var(--green)); opacity: 0; transition: opacity .25s; }
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(18,19,15,.28); }
.country-card:hover::before { opacity: 1; }
.country-top { display: flex; align-items: flex-start; gap: 10px; }
.country-flag { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 21px; line-height: 1; }
.country-name-wrap { min-width: 0; flex: 1; }
.country-name { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.country-en { display: block; margin-top: 2px; font-family: var(--mono); font-size: 8px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-badge { flex: 0 0 auto; font-size: 8px; font-weight: 600; letter-spacing: .04em; padding: 3px 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.dev-badge.developed { color: var(--green); border-color: rgba(29,91,69,.25); background: rgba(29,91,69,.06); }
.dev-badge.developing { color: #8a5a1b; border-color: rgba(138,90,27,.2); background: rgba(200,130,43,.08); }
.country-blurb { font-size: 10.5px; line-height: 1.6; color: var(--muted); margin: 10px 0 14px; min-height: 34px; }
.program-list-mini { border-top: 1px solid var(--line); }
.program-mini {
  width: 100%; display: flex; align-items: center; gap: 8px; text-align: left;
  padding: 9px 0; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s;
}
.program-mini:hover { padding-left: 4px; }
.type-dot { width: 7px; height: 7px; border-radius: 2px; flex: 0 0 auto; background: var(--type-color, var(--muted)); }
.program-mini-name { font-size: 10.8px; font-weight: 500; min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.program-mini-meta { font-family: var(--mono); font-size: 8px; color: var(--muted); white-space: nowrap; }
.program-mini > svg { width: 11px; height: 11px; color: #aaa69b; flex: 0 0 auto; }
.program-mini:hover > svg { color: var(--ink); }
.program-mini--more { justify-content: center; color: var(--muted); font-size: 9.5px; gap: 4px; border-bottom: 0; padding: 8px 0; }
.program-mini--more svg { width: 10px; height: 10px; }
.country-foot { margin: 8px -18px 0; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(233,227,214,.5); border-top: 1px dashed rgba(18,19,15,.16); }
.official-mini { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: var(--muted); max-width: 55%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color .2s; }
.official-mini:hover { color: var(--ink); }
.official-mini svg { width: 10px; height: 10px; flex: 0 0 auto; }
.country-open { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; color: var(--ink); }
.country-open svg { width: 11px; height: 11px; transition: transform .2s; }
.country-open:hover svg { transform: translateX(2px); }
.country-open .link-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-light); }
.skeleton-card { height: 330px; border-radius: 14px; background: linear-gradient(100deg, var(--paper-2) 25%, var(--cream) 42%, var(--paper-2) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 70px 20px; background: var(--cream); border: 1px dashed var(--line); border-radius: 14px; }
.empty-icon { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); }
.empty-icon svg { width: 27px; height: 27px; color: var(--muted); }
.empty-state h3 { font-size: 19px; font-weight: 600; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 7px 0 19px; }
.load-more { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 24px auto 0; padding: 12px 24px; border: 1px solid var(--line); background: var(--cream); border-radius: 100px; font-size: 11.5px; font-weight: 500; }
.load-more:hover { background: var(--paper-2); }
.load-more svg { width: 13px; height: 13px; }


/* ---------- Budget / diploma routes ---------- */
.budget { background: var(--paper-2); position: relative; overflow: hidden; }
.budget::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border: 1px solid rgba(18,19,15,.08); border-radius: 50%; box-shadow: 0 0 0 60px rgba(18,19,15,.018), 0 0 0 120px rgba(18,19,15,.012); }
.budget-head { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; margin-bottom: 38px; }
.budget-copy { padding-bottom: 6px; }
.budget-copy > p { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 550px; }
.budget-copy > p strong { color: var(--ink); }
.budget-principles { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.budget-principles span { display: inline-flex; align-items: center; gap: 7px; font-size: 9.5px; color: #56564c; }
.budget-principles b { font-family: var(--mono); font-size: 7.5px; font-weight: 500; color: var(--green); }
.budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.budget-card { background: var(--cream); border: 1px solid var(--line); border-radius: 13px; padding: 18px; display: flex; flex-direction: column; min-height: 255px; transition: transform .2s, box-shadow .2s; }
.budget-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.budget-card-head { display: flex; align-items: flex-start; gap: 9px; }
.budget-flag { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; background: var(--paper); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.budget-flag img { width: 21px; border-radius: 2px; }
.budget-card-title { flex: 1; min-width: 0; }
.budget-card-title b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.budget-card-title small { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.budget-type { flex: 0 0 auto; font-size: 7px; font-weight: 600; color: var(--green); background: rgba(29,91,69,.08); border: 1px solid rgba(29,91,69,.16); border-radius: 3px; padding: 2px 5px; white-space: nowrap; }
.budget-summary { color: #56564c; font-size: 10px; line-height: 1.65; margin: 11px 0 13px; flex: 1; }
.budget-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.budget-facts div { background: var(--cream); padding: 8px 9px; min-width: 0; }
.budget-facts span { display: block; font-family: var(--mono); font-size: 6.5px; letter-spacing: .04em; color: #928d81; text-transform: uppercase; }
.budget-facts strong { display: block; font-size: 9.5px; font-weight: 600; margin-top: 3px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.budget-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.budget-tag { font-size: 7px; color: var(--green); background: rgba(29,91,69,.06); border-radius: 3px; padding: 2px 5px; }
.budget-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px dashed var(--line); padding-top: 11px; margin-top: 12px; }
.budget-card-foot button, .budget-card-foot a { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; }
.budget-card-foot button { font-weight: 600; color: var(--ink); }
.budget-card-foot a { color: var(--muted); }
.budget-card-foot svg { width: 10px; height: 10px; }
.budget-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.budget-bottom p { color: var(--muted); font-size: 9px; line-height: 1.7; max-width: 720px; }
.budget-bottom b { color: var(--ink); }
.budget-skeleton { height: 255px; border-radius: 13px; background: linear-gradient(100deg, var(--paper-3) 25%, var(--cream) 42%, var(--paper-3) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.budget-empty { grid-column: 1/-1; padding: 35px; text-align: center; color: var(--muted); font-size: 11px; border: 1px dashed var(--line); border-radius: 12px; }

/* ---------- World index ---------- */
.world { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.world::before { content: ""; position: absolute; right: -220px; top: -260px; width: 760px; height: 760px; border: 1px solid rgba(217,255,99,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(217,255,99,.018), 0 0 0 160px rgba(217,255,99,.012); pointer-events: none; }
.world .shell { position: relative; }
.world .eyebrow { color: rgba(251,248,241,.48); }
.world .section-title { color: var(--cream); }
.world .section-title em { color: var(--acid); }
.world-head { align-items: flex-end; }
.world-summary { max-width: 390px; padding-bottom: 7px; }
.world-summary > p { color: rgba(251,248,241,.5); font-size: 11px; line-height: 1.8; }
.world-progress { margin-top: 17px; }
.world-progress-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 8.5px; color: rgba(251,248,241,.42); }
.world-progress-label b { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--acid); }
.world-progress-bar { height: 3px; background: rgba(251,248,241,.13); border-radius: 100px; margin-top: 7px; overflow: hidden; }
.world-progress-bar i { display: block; height: 100%; width: 0; background: var(--acid); border-radius: inherit; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.world-toolbar { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; padding: 11px 13px; border: 1px solid rgba(251,248,241,.15); background: rgba(251,248,241,.035); border-radius: 11px; margin-bottom: 18px; }
.world-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 190px; color: rgba(251,248,241,.45); }
.world-search svg { width: 16px; height: 16px; flex: 0 0 auto; }
.world-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--cream); font-size: 11px; padding: 5px 0; }
.world-search input::placeholder { color: rgba(251,248,241,.3); }
.world-regions { display: flex; gap: 5px; flex-wrap: wrap; }
.world-region { padding: 5px 9px; border: 1px solid rgba(251,248,241,.16); border-radius: 100px; font-size: 9px; color: rgba(251,248,241,.55); transition: all .18s; }
.world-region:hover { border-color: rgba(217,255,99,.4); color: var(--cream); }
.world-region.active { background: var(--acid); color: var(--ink); border-color: var(--acid); font-weight: 600; }
.world-only { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; color: rgba(251,248,241,.5); white-space: nowrap; cursor: pointer; }
.world-only input { accent-color: var(--acid); width: 12px; height: 12px; }
.world-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 6px; }
.world-country { min-width: 0; display: flex; align-items: center; gap: 7px; text-align: left; padding: 8px 8px; border: 1px solid rgba(251,248,241,.1); border-radius: 7px; color: rgba(251,248,241,.62); transition: background .18s, border-color .18s, transform .18s; position: relative; }
.world-country:hover { background: rgba(251,248,241,.06); border-color: rgba(251,248,241,.24); transform: translateY(-1px); }
.world-country.is-deep { border-color: rgba(217,255,99,.26); color: var(--cream); background: rgba(217,255,99,.035); }
.world-country.is-deep:hover { border-color: rgba(217,255,99,.62); background: rgba(217,255,99,.08); }
.world-country img { width: 17px; height: 12px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(251,248,241,.12); }
.world-country-main { min-width: 0; flex: 1; }
.world-country-main b { display: block; font-size: 8.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.world-country-main small { display: block; font-family: var(--mono); font-size: 5.5px; color: rgba(251,248,241,.28); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.world-country em { flex: 0 0 auto; font-style: normal; font-size: 6px; color: rgba(251,248,241,.28); }
.world-country.is-deep em { color: var(--acid); }
.world-country.is-deep::after { content: ""; position: absolute; right: 4px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: var(--acid); }
.world-more { display: block; margin: 18px auto 0; padding: 9px 18px; border: 1px solid rgba(251,248,241,.2); border-radius: 100px; color: rgba(251,248,241,.65); font-size: 9px; }
.world-more:hover { border-color: var(--acid); color: var(--acid); }
.world-empty { grid-column: 1/-1; padding: 35px; text-align: center; color: rgba(251,248,241,.4); font-size: 10px; border: 1px dashed rgba(251,248,241,.14); border-radius: 9px; }
.world-skeleton { height: 42px; border-radius: 7px; background: linear-gradient(100deg, rgba(251,248,241,.04), rgba(251,248,241,.09), rgba(251,248,241,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.world-note { margin-top: 16px; color: rgba(251,248,241,.27); font-size: 8px; line-height: 1.7; max-width: 860px; }

/* ---------- Verified stories ---------- */
.stories { background: var(--paper-2); padding-top: 20px; }
.stories-panel { background: var(--green); color: var(--cream); border-radius: var(--r-xl); padding: 50px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; position: relative; overflow: hidden; }
.stories-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(251,248,241,.12) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(135deg, #000, transparent 60%); opacity: .35; pointer-events: none; }
.stories-copy { position: relative; z-index: 1; }
.stories-copy p { color: rgba(251,248,241,.64); font-size: 12.5px; line-height: 1.85; max-width: 500px; margin-top: 18px; }
.stories-rule { display: flex; gap: 10px; margin: 22px 0; border-top: 1px solid rgba(251,248,241,.18); border-bottom: 1px solid rgba(251,248,241,.18); padding: 14px 0; max-width: 520px; }
.stories-rule-mark { width: 18px; height: 18px; border: 1px solid var(--acid); color: var(--acid); border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 9px; flex: 0 0 auto; margin-top: 1px; }
.stories-rule p { margin: 0; font-size: 9.5px; line-height: 1.7; color: rgba(251,248,241,.55); }
.stories-rule b { color: rgba(251,248,241,.9); }
.stories-copy .btn { margin-top: 4px; }
.stories-side { position: relative; z-index: 1; background: rgba(18,19,15,.26); border: 1px solid rgba(251,248,241,.15); border-radius: 15px; padding: 20px; align-self: start; }
.stories-stat { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid rgba(251,248,241,.12); padding: 8px 0; }
.stories-stat:first-child { padding-top: 0; }
.stories-stat strong { font-family: var(--serif); font-size: 35px; font-weight: 400; color: var(--acid); line-height: 1; }
.stories-stat span { font-size: 8.5px; color: rgba(251,248,241,.45); }
.stories-flow { padding: 10px 0 4px; }
.stories-flow div { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(251,248,241,.08); }
.stories-flow b { font-family: var(--mono); font-size: 7px; font-weight: 500; color: var(--acid); width: 17px; flex: 0 0 auto; padding-top: 2px; }
.stories-flow span { font-size: 9px; line-height: 1.6; color: rgba(251,248,241,.58); }
.stories-foot { font-size: 7.5px !important; color: rgba(251,248,241,.3) !important; line-height: 1.7; margin: 10px 0 0 !important; }

/* ---------- Matcher ---------- */
.matcher { background: var(--paper-2); position: relative; overflow: hidden; }
.matcher::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -500px; border: 1px solid rgba(18,19,15,.07); border-radius: 50%; box-shadow: 0 0 0 90px rgba(18,19,15,.02), 0 0 0 180px rgba(18,19,15,.015); }
.matcher-panel { position: relative; background: var(--green); color: var(--cream); border-radius: var(--r-xl); padding: 54px; display: grid; grid-template-columns: minmax(0,.88fr) minmax(420px,1.12fr); gap: 60px; overflow: hidden; }
.matcher-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(251,248,241,.12) 1px, transparent 1px); background-size: 20px 20px; opacity: .4; mask-image: linear-gradient(120deg, #000, transparent 60%); pointer-events: none; }
.matcher-copy { position: relative; z-index: 1; padding-top: 5px; }
.matcher-copy p { color: rgba(251,248,241,.66); font-size: 14px; line-height: 1.85; margin-top: 22px; max-width: 410px; }
.matcher-copy .section-title { margin-top: 18px; }
.matcher-note { display: flex; gap: 9px; margin-top: 30px; padding-top: 21px; border-top: 1px solid rgba(251,248,241,.2); color: rgba(251,248,241,.48); font-size: 10px; line-height: 1.7; max-width: 390px; }
.matcher-note svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--acid); margin-top: 2px; }
.match-form { position: relative; z-index: 1; background: rgba(18,19,15,.25); border: 1px solid rgba(251,248,241,.15); border-radius: 19px; padding: 25px; }
.match-step { margin-bottom: 17px; position: relative; }
.match-step > label { display: block; font-size: 10.5px; font-weight: 500; color: rgba(251,248,241,.63); margin-bottom: 8px; letter-spacing: .02em; }
.step-num { position: absolute; right: 0; top: 0; font-family: var(--mono); font-size: 8px; color: rgba(251,248,241,.3); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.choice-grid button { text-align: left; background: rgba(251,248,241,.055); border: 1px solid rgba(251,248,241,.15); border-radius: 8px; padding: 10px 11px; transition: background .2s, border-color .2s, transform .2s; }
.choice-grid button:hover { background: rgba(251,248,241,.1); }
.choice-grid button.active { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.choice-grid b { display: block; font-size: 11.5px; font-weight: 600; }
.choice-grid small { display: block; font-size: 8.5px; color: rgba(251,248,241,.45); margin-top: 1px; }
.choice-grid button.active small { color: rgba(18,19,15,.58); }
.match-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 11px; }
.select-wrap--dark select { background: rgba(251,248,241,.055); border-color: rgba(251,248,241,.15); color: var(--cream); }
.select-wrap--dark > svg { color: rgba(251,248,241,.45); }
.select-wrap--dark select option { color: var(--ink); background: var(--cream); }
.match-form .input-suffix { background: rgba(251,248,241,.055); border-color: rgba(251,248,241,.15); height: 39px; color: var(--cream); }
.match-form .input-suffix:focus-within { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(217,255,99,.1); }
.match-form .input-suffix input::placeholder { color: rgba(251,248,241,.33); }
.match-form .input-suffix span { color: rgba(251,248,241,.43); }
.match-form .btn { margin-top: 5px; height: 45px; }
.form-hint { text-align: center; margin-top: 10px; font-size: 8.5px; color: rgba(251,248,241,.33); }
.match-results { position: relative; z-index: 2; scroll-margin-top: 88px; background: var(--ink); border-radius: 19px; padding: 26px; border: 1px solid rgba(251,248,241,.14); align-self: start; }
.match-results-head { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line-light); padding-bottom: 16px; margin-bottom: 14px; }
.match-results-head h3 { font-size: 22px; margin-top: 5px; letter-spacing: -.03em; }
.match-results-head button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); color: rgba(251,248,241,.65); }
.match-results-head button svg { width: 13px; height: 13px; }
.match-score-note { color: rgba(251,248,241,.55); font-size: 10.5px; line-height: 1.65; margin-bottom: 10px; }
.match-list { display: flex; flex-direction: column; }
.match-item { border-bottom: 1px solid var(--line-light); padding: 12px 0; }
.match-item:last-child { border-bottom: 0; }
.match-item-top { display: flex; align-items: center; gap: 9px; }
.match-item-flag { width: 29px; height: 29px; display: grid; place-items: center; background: rgba(251,248,241,.08); border-radius: 7px; font-size: 15px; }
.match-item-name { flex: 1; min-width: 0; }
.match-item-name b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-item-name span { display: block; font-size: 9px; color: rgba(251,248,241,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-score { font-family: var(--mono); font-size: 12px; color: var(--acid); font-weight: 600; }
.match-item-reason { margin: 7px 0 0 38px; font-size: 9.5px; color: rgba(251,248,241,.48); line-height: 1.65; }
.match-item-reason button { color: var(--acid); border-bottom: 1px solid rgba(217,255,99,.3); float: right; margin-left: 8px; font-size: 9px; }
.match-results .btn { margin-top: 14px; height: 39px; font-size: 11px; }

/* ---------- Official ---------- */
.official { background: var(--paper); padding-top: 100px; }
.section-head--official { align-items: flex-end; }
.official-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; padding-bottom: 7px; }
.live-check-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.live-check-meta small { font-size: 9px; color: var(--muted); }
.live-pill--paper { color: var(--muted); }
.live-pill--paper i { background: var(--green); }
.official-board { background: var(--ink); color: var(--cream); border-radius: 19px; overflow: hidden; position: relative; }
.official-board::after { content: ""; position: absolute; right: -100px; top: -150px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(217,255,99,.1), transparent 65%); pointer-events: none; }
.official-thead, .official-row { display: grid; grid-template-columns: 1.15fr 2.25fr .7fr .95fr 40px; gap: 18px; align-items: center; padding: 0 25px; }
.official-thead { height: 43px; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: rgba(251,248,241,.38); border-bottom: 1px solid var(--line-light); text-transform: uppercase; }
.official-list { position: relative; z-index: 1; }
.official-row { min-height: 61px; border-bottom: 1px solid rgba(251,248,241,.08); transition: background .2s; }
.official-row:last-child { border-bottom: 0; }
.official-row:hover { background: rgba(251,248,241,.035); }
.official-country { display: flex; align-items: center; gap: 10px; min-width: 0; }
.official-country .flag { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; background: rgba(251,248,241,.09); font-size: 16px; flex: 0 0 auto; }
.official-country b { display: block; font-size: 12px; font-weight: 500; line-height: 1.3; }
.official-country small { display: block; font-size: 8.5px; color: rgba(251,248,241,.4); }
.official-link-cell { min-width: 0; }
.official-link-cell a { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: rgba(251,248,241,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: color .2s; }
.official-link-cell a:hover { color: var(--acid); }
.official-link-cell a svg { width: 10px; height: 10px; flex: 0 0 auto; }
.official-link-cell small { display: block; font-family: var(--mono); font-size: 8px; color: rgba(251,248,241,.28); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.official-programs { font-family: var(--mono); font-size: 10px; color: rgba(251,248,241,.55); }
.official-programs b { font-family: var(--sans); font-size: 14px; color: var(--cream); margin-right: 2px; }
.link-status { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; white-space: nowrap; color: rgba(251,248,241,.35); }
.link-status i { width: 5px; height: 5px; border-radius: 50%; background: rgba(251,248,241,.3); flex: 0 0 auto; }
.link-status.is-ok { color: var(--acid); }
.link-status.is-ok i { background: var(--acid); box-shadow: 0 0 7px rgba(217,255,99,.55); }
.link-status.is-restricted { color: #ffc46b; }
.link-status.is-restricted i { background: #ffc46b; }
.link-status.is-unreachable { color: #ff8b75; }
.link-status.is-unreachable i { background: #ff8b75; }
.link-status.is-checking { color: rgba(251,248,241,.6); }
.link-status.is-checking i { background: rgba(251,248,241,.6); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.row-check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(251,248,241,.15); color: rgba(251,248,241,.55); transition: all .2s; }
.row-check:hover { border-color: var(--acid); color: var(--acid); background: rgba(217,255,99,.06); }
.row-check svg { width: 12px; height: 12px; }
.row-check.is-spinning svg { animation: spin 1s linear infinite; }
.official-skeleton { height: 61px; border-bottom: 1px solid rgba(251,248,241,.06); background: linear-gradient(90deg, rgba(251,248,241,.03), rgba(251,248,241,.08), rgba(251,248,241,.03)); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.official-disclaimer { display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--line); border-radius: 11px; padding: 15px 17px; margin-top: 14px; color: var(--muted); }
.official-disclaimer svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--green); margin-top: 2px; }
.official-disclaimer p { font-size: 10px; line-height: 1.75; }
.official-disclaimer b { color: var(--ink); }

/* ---------- Updates ---------- */
.updates { background: var(--paper-2); }
.updates-layout { display: grid; grid-template-columns: minmax(0,1fr) 344px; gap: 22px; align-items: start; }
.updates-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.update-card { background: var(--cream); border: 1px solid var(--line); border-radius: 13px; padding: 20px; display: flex; flex-direction: column; min-height: 190px; transition: transform .2s, box-shadow .2s; }
.update-card:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -28px rgba(18,19,15,.4); }
.update-card--featured { grid-column: span 2; background: var(--ink); color: var(--cream); border-color: var(--ink); position: relative; overflow: hidden; }
.update-card--featured::after { content: "FLAGSHIP CHANGE"; position: absolute; right: 18px; bottom: -8px; font-family: var(--serif); font-size: 54px; color: rgba(251,248,241,.045); letter-spacing: -.02em; pointer-events: none; }
.update-card--featured p { color: rgba(251,248,241,.56); max-width: 640px; }
.update-card--featured h3 { max-width: 640px; }
.update-card--featured a { color: var(--acid); }
.update-meta { display: flex; align-items: center; gap: 7px; font-size: 8.5px; color: var(--muted); flex-wrap: wrap; }
.update-date { font-family: var(--mono); letter-spacing: .02em; }
.update-card--featured .update-meta { color: rgba(251,248,241,.45); }
.tag { font-size: 7.5px; font-weight: 600; letter-spacing: .04em; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; color: var(--muted); }
.tag--hot { background: rgba(255,92,53,.1); border-color: rgba(255,92,53,.22); color: var(--orange); }
.update-card--featured .tag--hot { background: rgba(255,92,53,.16); border-color: rgba(255,92,53,.35); color: #ff9b84; }
.update-country { margin-left: auto; }
.update-card h3 { font-size: 15px; line-height: 1.45; letter-spacing: -.02em; margin: 12px 0 8px; font-weight: 600; }
.update-card p { font-size: 10.5px; line-height: 1.75; color: var(--muted); flex: 1; }
.update-card a { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 500; color: var(--ink); margin-top: 13px; }
.update-card a svg { width: 10px; height: 10px; }
.update-card a:hover { color: var(--green); }
.updates-side { display: flex; flex-direction: column; gap: 13px; }
.radar-card { background: var(--cream); border: 1px solid var(--line); border-radius: 13px; padding: 22px; }
.radar-card-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.radar-card-head .pulse-dot { background: var(--green); animation: none; }
.radar-card ol { padding-top: 4px; }
.radar-card li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.radar-card li:last-child { border-bottom: 0; }
.radar-card li b { font-size: 10.5px; font-weight: 600; }
.radar-card li span { font-size: 9px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.subscribe-card { background: var(--green); color: var(--cream); border-radius: 13px; padding: 22px; position: relative; overflow: hidden; }
.subscribe-card::after { content: "✉"; position: absolute; right: 13px; top: 3px; font-size: 90px; opacity: .05; transform: rotate(-12deg); }
.subscribe-card .eyebrow { font-size: 8px; }
.subscribe-card h3 { font-size: 20px; letter-spacing: -.03em; margin: 8px 0 5px; }
.subscribe-card p { font-size: 10px; line-height: 1.7; color: rgba(251,248,241,.62); }
.subscribe-row { display: flex; margin-top: 14px; background: rgba(251,248,241,.1); border: 1px solid rgba(251,248,241,.18); border-radius: 8px; overflow: hidden; }
.subscribe-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--cream); padding: 10px 11px; font-size: 10px; }
.subscribe-row input::placeholder { color: rgba(251,248,241,.35); }
.subscribe-row button { background: var(--acid); color: var(--ink); font-size: 9.5px; font-weight: 700; padding: 0 12px; }
.subscribe-card small { display: block; font-size: 8px; color: rgba(251,248,241,.32); margin-top: 8px; }

/* ---------- Methodology ---------- */
.methodology { background: var(--paper); padding-bottom: 90px; }
.method-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; margin-bottom: 60px; }
.method-intro p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-top: 22px; max-width: 400px; }
.method-intro p.method-fineprint { font-size: 9px; line-height: 1.7; color: #8b877c; margin-top: 14px; border-left: 2px solid var(--paper-3); padding-left: 9px; max-width: 350px; }
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-cards article { padding: 24px 24px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; min-height: 158px; }
.method-num { font-family: var(--mono); font-size: 8px; color: var(--green); }
.method-cards h3 { font-size: 15px; font-weight: 600; margin: 14px 0 7px; letter-spacing: -.02em; }
.method-cards p { font-size: 10.5px; line-height: 1.75; color: var(--muted); }
.data-strip { background: var(--ink); color: var(--cream); border-radius: 14px; padding: 23px 27px; display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.data-strip > div:not(.data-strip-note) { display: flex; flex-direction: column; gap: 2px; }
.data-strip span { font-family: var(--mono); font-size: 8px; letter-spacing: .07em; color: rgba(251,248,241,.4); text-transform: uppercase; }
.data-strip strong { font-size: 23px; font-weight: 500; letter-spacing: -.03em; font-family: var(--serif); }
.data-strip-note { margin-left: auto; display: flex; gap: 8px; align-items: flex-start; max-width: 370px; }
.data-strip-note svg { width: 15px; height: 15px; color: var(--acid); flex: 0 0 auto; margin-top: 3px; }
.data-strip-note p { font-size: 8.5px; line-height: 1.65; color: rgba(251,248,241,.4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 64px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 70px; padding-bottom: 55px; }
.footer-brand { max-width: 330px; }
.brand--footer .brand-mark { color: var(--cream); }
.brand--footer .brand-type > span { color: var(--acid); }
.brand-type > .brand-cn { color: var(--cream); font-size: 21px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.site-header.is-solid .brand-type > .brand-cn { color: var(--ink); }
.brand--footer .brand-type small { color: rgba(251,248,241,.45); }
.footer-brand > p { margin: 23px 0 30px; color: rgba(251,248,241,.47); font-size: 11.5px; }
.footer-badge { display: inline-block; font-family: var(--mono); font-size: 8px; line-height: 1.7; letter-spacing: .12em; color: rgba(251,248,241,.28); border: 1px solid rgba(251,248,241,.15); border-radius: 6px; padding: 9px 11px; transform: rotate(-1deg); }
.footer-links { display: flex; gap: 80px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links h4 { font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,248,241,.32); margin-bottom: 7px; }
.footer-links a { font-size: 10.5px; color: rgba(251,248,241,.65); transition: color .2s; }
.footer-links a:hover { color: var(--acid); }
.footer-bottom { border-top: 1px solid rgba(251,248,241,.13); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 8.5px; color: rgba(251,248,241,.32); flex-wrap: wrap; }
.footer-bottom b { color: rgba(251,248,241,.55); font-weight: 500; }

/* ---------- Drawer ---------- */
.drawer-overlay, .modal-overlay, .sheet-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(18,19,15,.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer-overlay.is-visible, .modal-overlay.is-visible, .sheet-overlay.is-visible { opacity: 1; }
.drawer {
  position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(710px, 94vw);
  background: var(--paper); box-shadow: -30px 0 80px rgba(0,0,0,.25);
  transform: translateX(102%); transition: transform .38s cubic-bezier(.22,.8,.24,1);
  overflow: hidden; display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.drawer-topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 15px 27px; background: rgba(242,238,229,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.drawer-breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 9.5px; color: var(--muted); min-width: 0; }
.drawer-breadcrumb b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-breadcrumb svg { width: 10px; height: 10px; flex: 0 0 auto; }
.drawer-close { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); flex: 0 0 auto; transition: all .2s; }
.drawer-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.drawer-close svg { width: 14px; height: 14px; }
.drawer-hero { padding: 28px 30px 24px; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.drawer-hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -60px; top: -120px; border: 1px solid rgba(217,255,99,.16); border-radius: 50%; box-shadow: 0 0 0 40px rgba(217,255,99,.03), 0 0 0 80px rgba(217,255,99,.018); pointer-events: none; }
.drawer-hero-top { display: flex; align-items: flex-start; gap: 15px; position: relative; z-index: 1; }
.drawer-flag { width: 55px; height: 55px; display: grid; place-items: center; overflow: hidden; background: rgba(251,248,241,.1); border: 1px solid rgba(251,248,241,.15); border-radius: 13px; font-size: 29px; flex: 0 0 auto; }
.drawer-country { min-width: 0; flex: 1; }
.drawer-country .eyebrow { font-size: 8.5px; margin-bottom: 5px; }
.drawer-country h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.12; letter-spacing: -.04em; }
.drawer-country h2 i { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--acid); }
.drawer-country .drawer-en { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; color: rgba(251,248,241,.42); margin-top: 5px; text-transform: uppercase; }
.drawer-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.drawer-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 4px; font-size: 8px; font-weight: 500; border: 1px solid rgba(251,248,241,.2); color: rgba(251,248,241,.68); }
.drawer-badge--acid { background: var(--acid); color: var(--ink); border-color: var(--acid); font-weight: 700; }
.drawer-badge--orange { background: rgba(255,92,53,.15); border-color: rgba(255,92,53,.35); color: #ffad9c; }
.drawer-hero-note { position: relative; z-index: 1; margin-top: 19px; color: rgba(251,248,241,.55); font-size: 11px; line-height: 1.75; max-width: 570px; border-left: 2px solid rgba(217,255,99,.5); padding-left: 11px; }
.drawer-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.drawer-hero-actions .btn { font-size: 11px; padding: 10px 14px; }
.drawer-hero-actions .btn-outline-cream { border: 1px solid rgba(251,248,241,.24); color: rgba(251,248,241,.8); }
.drawer-hero-actions .btn-outline-cream:hover { background: rgba(251,248,241,.08); }
.drawer-body { padding: 25px 30px 50px; }
.drawer-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.drawer-tabs::-webkit-scrollbar { display: none; }
.drawer-tab { padding: 9px 12px; font-size: 10.5px; color: var(--muted); border-bottom: 1.5px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.drawer-tab.active { color: var(--ink); font-weight: 600; border-color: var(--ink); }
.program-switcher { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 19px; }
.program-switch { padding: 6px 9px; border: 1px solid var(--line); border-radius: 100px; font-size: 9px; color: var(--muted); background: var(--cream); }
.program-switch.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.program-heading { padding: 2px 0 20px; border-bottom: 1px solid var(--line); }
.program-heading .eyebrow { font-size: 8px; margin-bottom: 7px; }
.program-heading h3 { font-size: 26px; font-weight: 600; line-height: 1.23; letter-spacing: -.035em; }
.program-heading h3 span { display: block; font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .01em; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.program-summary { margin-top: 14px; font-size: 12px; line-height: 1.8; color: #56564c; }
.status-banner { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0; padding: 10px 12px; background: rgba(29,91,69,.07); border: 1px solid rgba(29,91,69,.16); border-radius: 8px; }
.status-banner.warn { background: rgba(255,92,53,.06); border-color: rgba(255,92,53,.2); }
.status-banner.muted { background: var(--paper-2); border-color: var(--line); }
.status-banner > span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; margin-top: 6px; }
.status-banner.warn > span { background: var(--orange); }
.status-banner.muted > span { background: var(--muted); }
.status-banner p { font-size: 9.5px; line-height: 1.7; color: #52675b; }
.status-banner.warn p { color: #895244; }
.status-banner.muted p { color: var(--muted); }
.status-banner b { color: var(--ink); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 23px; }
.fact { padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 83px; }
.fact span { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.fact span svg { width: 10px; height: 10px; }
.fact strong { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.4; letter-spacing: -.02em; }
.fact small { display: block; font-size: 8px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.fact--wide { grid-column: span 2; }
.section-block { margin-top: 30px; }
.section-block-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; margin-bottom: 13px; }
.section-block-title::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.section-block-title span { font-family: var(--mono); font-size: 7.5px; font-weight: 400; letter-spacing: .05em; color: var(--muted); margin-left: auto; }
.check-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; line-height: 1.7; color: #4f4f45; }
.check-list li::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: rgba(29,91,69,.1); color: var(--green); display: grid; place-items: center; font-size: 8px; font-weight: 700; flex: 0 0 auto; margin-top: 1px; }
.doc-list { counter-reset: doc; display: flex; flex-direction: column; }
.doc-list li { counter-increment: doc; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; line-height: 1.65; color: #4f4f45; }
.doc-list li::before { content: counter(doc, decimal-leading-zero); font-family: var(--mono); font-size: 8px; color: var(--muted); width: 17px; flex: 0 0 auto; padding-top: 2px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pros-cons > div { border-radius: 9px; padding: 14px 15px; }
.pros-cons .pros { background: rgba(29,91,69,.06); }
.pros-cons .cons { background: rgba(255,92,53,.055); }
.pros-cons h4 { display: flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 7px; }
.pros-cons .pros h4 { color: var(--green); }
.pros-cons .cons h4 { color: var(--orange); }
.pros-cons h4 svg { width: 11px; height: 11px; }
.pros-cons li { position: relative; padding-left: 10px; font-size: 9.5px; line-height: 1.65; color: #56564c; margin-bottom: 4px; }
.pros-cons li::before { content: "·"; position: absolute; left: 0; top: -1px; font-weight: 700; }
.verdict-box { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.verdict-box > div { background: var(--paper-2); border-radius: 8px; padding: 11px 12px; }
.verdict-box span { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.verdict-box p { font-size: 9.5px; line-height: 1.65; color: #4f4f45; margin-top: 4px; }
.cost-block { border-top: 1px solid var(--line); padding-top: 22px; }
.cost-intro { font-size: 9.5px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; }
.cost-table { border-top: 1px solid var(--line); }
.cost-row { display: grid; grid-template-columns: minmax(0,1fr) 155px 34px; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cost-label b { display: block; font-size: 10px; font-weight: 600; }
.cost-label span { display: block; font-size: 8px; line-height: 1.55; color: var(--muted); margin-top: 2px; }
.cost-amount { font-family: var(--mono); font-size: 9px; line-height: 1.55; text-align: right; color: var(--ink); overflow-wrap: anywhere; }
.cost-tag { justify-self: end; font-size: 7px; padding: 2px 4px; border-radius: 3px; white-space: nowrap; }
.cost-tag--official { color: var(--green); background: rgba(29,91,69,.09); }
.cost-tag--estimate { color: #8a5a1b; background: rgba(200,130,43,.1); }
.cost-tag--proof { color: var(--blue); background: rgba(52,80,255,.07); }
.cost-tag--varies { color: var(--muted); background: var(--paper-2); }
.cost-total { margin-top: 12px; padding: 10px 12px; background: var(--paper-2); border-radius: 6px; font-size: 8.5px; line-height: 1.7; color: #5b5a50; }
.cost-total b { color: var(--ink); }
.profile-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding: 10px 12px; border-left: 2px solid rgba(29,91,69,.3); background: rgba(29,91,69,.035); border-radius: 0 6px 6px 0; font-size: 9px; line-height: 1.65; color: #5d5c51; }
.profile-note b { color: var(--green); font-weight: 600; margin-right: 2px; }
.official-box { margin-top: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: 11px; padding: 17px 18px; display: flex; align-items: center; gap: 13px; }
.official-box-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: var(--acid); display: grid; place-items: center; flex: 0 0 auto; }
.official-box-icon svg { width: 18px; height: 18px; }
.official-box-text { flex: 1; min-width: 0; }
.official-box-text span { display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; }
.official-box-text b { display: block; font-size: 10.5px; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.official-box-text a { display: inline-flex; align-items: center; gap: 3px; font-family: var(--mono); font-size: 8px; color: var(--green); margin-top: 2px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.official-box-text a svg { width: 9px; height: 9px; }
.official-box .btn { font-size: 9.5px; padding: 9px 11px; flex: 0 0 auto; }
.source-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 8.5px; color: var(--muted); }
.source-links > span { font-family: var(--mono); font-size: 7px; letter-spacing: .04em; color: #8a867a; }
.source-links a { display: inline-flex; align-items: center; gap: 3px; border-bottom: 1px solid var(--line); color: #5c5c50; }
.source-links a:hover { color: var(--green); border-color: var(--green); }
.source-links a svg { width: 8px; height: 8px; }
.data-source { margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 8px; color: var(--muted); }
.data-source b { color: #4f4f45; font-weight: 500; }
.source-status { display: inline-flex; align-items: center; gap: 4px; }
.source-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.source-status.reference i { background: #c8822b; }
.source-status.varies i { background: var(--blue); }
.drawer-country-programs { display: flex; flex-direction: column; gap: 9px; }
.drawer-program-card { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; display: flex; align-items: center; gap: 12px; text-align: left; transition: border-color .2s, transform .2s; }
.drawer-program-card:hover { border-color: rgba(18,19,15,.35); transform: translateX(2px); }
.drawer-program-card.is-ineligible { opacity: .72; background: rgba(255,92,53,.035); }
.drawer-program-card.is-ineligible:hover { opacity: 1; }
.ineligible-tag { display: inline-block; font-size: 7px; font-style: normal; font-weight: 600; color: var(--orange); background: rgba(255,92,53,.09); border: 1px solid rgba(255,92,53,.2); border-radius: 3px; padding: 1px 4px; margin-left: 3px; vertical-align: 1px; }
.drawer-program-card .type-dot { width: 9px; height: 9px; border-radius: 3px; }
.drawer-program-main { flex: 1; min-width: 0; }
.drawer-program-main b { display: block; font-size: 11.5px; font-weight: 600; }
.drawer-program-main small { display: block; font-size: 8.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-program-meta { text-align: right; flex: 0 0 auto; }
.drawer-program-meta strong { display: block; font-size: 10px; font-weight: 600; }
.drawer-program-meta span { display: block; font-size: 7.5px; color: var(--muted); margin-top: 2px; }
.drawer-program-card > svg { width: 14px; height: 14px; color: var(--muted); flex: 0 0 auto; }
.drawer-empty { color: var(--muted); font-size: 12px; }
.mobile-drawer-cta { display: none; }

/* ---------- Compare ---------- */
.compare-tray { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--cream); border-top: 1px solid rgba(251,248,241,.2); box-shadow: 0 -20px 50px rgba(0,0,0,.2); transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.compare-tray.is-visible { transform: translateY(0); }
.compare-tray-inner { display: flex; align-items: center; gap: 18px; padding: 11px 0; min-height: 65px; }
.compare-tray-label { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; font-size: 10px; color: rgba(251,248,241,.55); }
.compare-tray-label svg { width: 15px; height: 15px; color: var(--acid); }
.compare-tray-label b { display: grid; place-items: center; min-width: 17px; height: 17px; border-radius: 50%; background: var(--acid); color: var(--ink); font-size: 9px; }
.compare-chips { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.compare-chips::-webkit-scrollbar { display: none; }
.compare-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(251,248,241,.08); border: 1px solid rgba(251,248,241,.14); padding: 5px 6px 5px 9px; border-radius: 6px; font-size: 9px; white-space: nowrap; flex: 0 0 auto; }
.compare-chip .flag { font-size: 12px; }
.compare-chip button { width: 15px; height: 15px; display: grid; place-items: center; background: rgba(251,248,241,.12); border-radius: 50%; color: rgba(251,248,241,.7); }
.compare-chip button svg { width: 8px; height: 8px; }
.compare-tray-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.compare-clear { font-size: 9.5px; color: rgba(251,248,241,.45); }
.compare-clear:hover { color: var(--cream); }
.compare-tray .btn { padding: 9px 15px; font-size: 10.5px; }
.compare-tray .btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.compare-modal { position: fixed; z-index: 130; left: 50%; top: 50%; transform: translate(-50%,-48%) scale(.98); width: min(1180px, 95vw); max-height: 90vh; background: var(--paper); border-radius: 19px; box-shadow: 0 40px 100px rgba(0,0,0,.4); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .28s, transform .28s; }
.compare-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
.compare-modal-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 25px 28px 18px; border-bottom: 1px solid var(--line); }
.compare-modal-head .eyebrow { font-size: 8px; }
.compare-modal-head h2 { font-size: 30px; letter-spacing: -.04em; margin-top: 4px; }
.modal-close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.modal-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.modal-close svg { width: 14px; height: 14px; }
.compare-modal-body { overflow: auto; padding: 24px 28px 30px; scrollbar-width: thin; }
.compare-grid { display: grid; gap: 8px; min-width: 760px; }
.compare-col-head { background: var(--ink); color: var(--cream); border-radius: 10px; padding: 16px; position: relative; }
.compare-col-head .compare-flag { font-size: 25px; }
.compare-col-head h3 { font-size: 15px; margin-top: 8px; letter-spacing: -.02em; line-height: 1.3; }
.compare-col-head p { font-size: 9px; color: rgba(251,248,241,.5); margin-top: 3px; line-height: 1.5; min-height: 27px; }
.compare-col-head button { position: absolute; right: 11px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: rgba(251,248,241,.1); color: rgba(251,248,241,.6); display: grid; place-items: center; }
.compare-col-head button svg { width: 10px; height: 10px; }
.compare-row-label { font-family: var(--mono); font-size: 8px; letter-spacing: .03em; color: var(--muted); padding: 11px 12px; background: var(--paper-2); border-radius: 6px; display: flex; align-items: center; }
.compare-cell { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; font-size: 10px; line-height: 1.65; color: #4f4f45; }
.compare-cell strong { font-weight: 600; color: var(--ink); }
.compare-cell .mini-tag { display: inline-block; font-size: 8px; padding: 1px 5px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); margin: 0 3px 3px 0; }
.compare-cell--good { background: rgba(29,91,69,.06); }
.compare-cell--warn { background: rgba(255,92,53,.05); }
.compare-actions { display: flex; gap: 6px; margin-top: 9px; }
.compare-actions .btn { flex: 1; padding: 8px 7px; font-size: 9px; }
.compare-empty-note { text-align: center; color: var(--muted); font-size: 11px; padding: 30px; }

/* ---------- Toast / misc ---------- */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); border: 1px solid rgba(251,248,241,.2); border-radius: 9px; padding: 11px 17px; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 15px 40px rgba(0,0,0,.25); max-width: calc(100vw - 40px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--acid); }
.noscript { position: fixed; inset: auto 20px 20px; background: var(--ink); color: var(--cream); padding: 15px 20px; border-radius: 10px; z-index: 300; font-size: 12px; }
body:has(.compare-tray.is-visible) .drawer-body { padding-bottom: 90px; }

/* reveal animation */
.reveal { opacity: 1; transform: translateY(18px); animation: revealUp .8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-copy .reveal:nth-child(1) { animation-delay: .05s; }
.hero-copy .reveal:nth-child(2) { animation-delay: .12s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .2s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .27s; }
.hero-copy .reveal:nth-child(5) { animation-delay: .32s; }
.hero-copy .reveal:nth-child(6) { animation-delay: .38s; }
.hero-stage.reveal { animation-delay: .25s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
.js .observe { opacity: 1; transform: translateY(22px); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.js .observe.is-in { opacity: 1; transform: translateY(0); }
/* ---------- Hero globe ---------- */
.globe-shell {
  position: absolute; z-index: 2; left: 50%; top: 47%;
  width: min(560px, 96%); aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  isolation: isolate;
}
.globe-shell::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(217,255,99,.22);
  box-shadow: 0 0 0 18px rgba(217,255,99,.018), 0 0 70px rgba(217,255,99,.09);
  pointer-events: none;
}
.globe-shell::after {
  content: ""; position: absolute; inset: 7%; border-radius: 50%;
  border: 1px dashed rgba(247,242,232,.08);
  pointer-events: none;
}
#globeCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; display: block; cursor: grab; touch-action: none;
  -webkit-user-select: none; user-select: none;
}
#globeCanvas.is-dragging { cursor: grabbing; }
.globe-hud {
  position: absolute; left: 8%; right: 8%; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em;
  color: rgba(247,242,232,.45); pointer-events: none; text-transform: uppercase;
}
.globe-hud--top { top: 8%; }
.globe-hud--bottom { bottom: 9%; font-family: var(--sans); font-size: 8.5px; letter-spacing: .01em; text-transform: none; }
.globe-hud--bottom span { display: inline-flex; align-items: center; gap: 6px; }
.globe-hud--bottom b { color: var(--acid); font-family: var(--mono); font-weight: 500; }
.globe-hud--bottom .pulse-dot { background: var(--acid); }
.globe-tooltip {
  position: absolute; z-index: 8; display: flex; flex-direction: column; gap: 1px;
  background: rgba(18,19,15,.94); border: 1px solid rgba(217,255,99,.28);
  border-radius: 6px; padding: 7px 9px; color: var(--cream);
  box-shadow: 0 12px 30px rgba(0,0,0,.4); pointer-events: none; max-width: 150px;
}
.globe-tooltip b { font-size: 9.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.globe-tooltip span { font-size: 7.5px; color: rgba(247,242,232,.48); white-space: nowrap; }
.globe-caption {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 7px; letter-spacing: .18em;
  color: rgba(247,242,232,.26); white-space: nowrap; z-index: 4; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .js .observe { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: minmax(0,1.08fr) minmax(365px,.92fr); gap: 20px; }
  .hero-stage { height: 550px; }
  .passport-card { width: 320px; min-height: 430px; }
  .passport-word { font-size: 74px; }
  .passport-word i { font-size: 64px; }
  .float-live { left: -2%; width: 245px; }
  .float-fx { right: -3%; width: 180px; }
  .country-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-title { font-size: clamp(56px, 6.8vw, 82px); }
  .matcher-panel { padding: 42px; gap: 38px; }
  .updates-layout { grid-template-columns: minmax(0,1fr) 300px; }
}
@media (max-width: 1024px) {
  .shell { width: calc(100% - 44px); }
  .main-nav { gap: 19px; }
  .header-cta { display: none; }
  .hero { padding-top: calc(var(--header-h) + 42px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero-stage { width: min(560px, 100%); margin: 8px auto 0; height: 560px; }
  .hero-note { right: auto; left: 0; bottom: 0; text-align: left; max-width: 340px; }
  .float-fx { right: 0; }
  .hero-lead br { display: none; }
  .section { padding: 84px 0; }
  .section-head { gap: 35px; }
  .explorer-layout { grid-template-columns: 215px minmax(0,1fr); gap: 22px; }
  .country-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .matcher-panel { grid-template-columns: 1fr; gap: 32px; padding: 38px; }
  .matcher-copy p { max-width: 600px; }
  .matcher-note { max-width: 600px; }
  .match-form { max-width: 620px; }
  .match-results { max-width: 620px; }
  .updates-layout { grid-template-columns: 1fr; }
  .updates-side { display: grid; grid-template-columns: 1fr 1fr; }
  .method-grid { gap: 40px; }
  .official-thead, .official-row { grid-template-columns: 1.05fr 2fr .6fr .9fr 34px; gap: 12px; padding: 0 18px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 24px 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 25px 40px rgba(0,0,0,.12); }
  .main-nav.is-open a { color: var(--ink); font-size: 16px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu-btn { display: block; }
  .live-pill { display: none; }
  .header-inner { gap: 0; }
  .brand { margin-right: auto; }
  .section-head { display: block; margin-bottom: 36px; }
  .section-intro { max-width: 560px; margin-top: 18px; padding-bottom: 0; }
  .explorer-toolbar { flex-wrap: wrap; gap: 10px; }
  .toolbar-search { flex-basis: calc(100% - 1px); }
  .toolbar-meta { border-left: 0; padding-left: 0; flex: 1; gap: 8px; }
  .filter-toggle { display: inline-flex; }
  .sort-select { margin-left: auto; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; z-index: 115; inset: auto 0 0; top: auto; max-height: 85vh; border-radius: 18px 18px 0 0; padding: 22px 24px 128px; transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(0,0,0,.18); overflow-y: auto; }
  .filters.is-open { transform: translateY(0); }
  .filter-head { position: sticky; top: -22px; background: var(--cream); z-index: 2; padding-top: 2px; }
  .filter-close { display: grid; }
  .filter-apply { bottom: -30px; margin: 18px -24px -30px; padding: 12px 24px 28px; }
  .explorer-layout { display: block; }
  .official-thead { display: none; }
  .official-row { grid-template-columns: 1fr auto; grid-template-areas: "country check" "link status"; gap: 7px 12px; padding: 14px 17px; min-height: 0; }
  .official-country { grid-area: country; }
  .official-link-cell { grid-area: link; padding-left: 41px; }
  .official-programs { display: none; }
  .link-status { grid-area: status; justify-self: end; align-self: center; }
  .row-check { grid-area: check; justify-self: end; align-self: center; }
  .official-country small { display: none; }
  .official-board::after { display: none; }
  .section-head--official { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .official-actions { align-items: flex-start; width: 100%; }
  .live-check-meta { align-items: flex-start; }
  .official-actions .live-pill { display: inline-flex; }
  .updates-feed { grid-template-columns: 1fr; }
  .update-card--featured { grid-column: auto; }
  .method-grid { grid-template-columns: 1fr; }
  .method-cards { max-width: 680px; }
  .data-strip { gap: 27px; }
  .data-strip-note { margin-left: 0; max-width: none; flex-basis: 100%; padding-top: 16px; border-top: 1px solid rgba(251,248,241,.13); }
  .footer-top { gap: 30px; flex-direction: column; }
  .footer-links { gap: 55px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  :root { --header-h: 66px; }
  section[id] { scroll-margin-top: 68px; }
  .site-header.is-solid { height: 60px; }
  .hero { min-height: 0; padding-bottom: 52px; }
  .hero-title { font-size: clamp(49px, 13vw, 64px); margin: 17px 0; letter-spacing: -.07em; }
  .hero-lead { font-size: 12.5px; }
  .hero-search { padding: 6px 6px 6px 12px; border-radius: 11px; }
  .hero-search kbd { display: none; }
  .hero-search input { font-size: 12px; padding: 8px 0; }
  .hero-search button { padding: 10px 13px; font-size: 11px; }
  .quick-searches { font-size: 10px; gap: 7px; }
  .hero-metrics { gap: 16px; margin-top: 32px; }
  .metric { padding-right: 16px; }
  .metric strong { font-size: 28px; }
  .metric span { font-size: 8px; }
  .metric .metric-live { font-size: 14px; padding-top: 5px; }
  .hero-stage { height: 410px; margin-top: 23px; }
  .globe-shell { width: min(390px, 100%); top: 48%; }
  .globe-hud { left: 9%; right: 9%; font-size: 6px; }
  .globe-hud--bottom { font-size: 7px; }
  .globe-hud--top { top: 9%; }
  .globe-hud--bottom { bottom: 10%; }
  .float-live, .float-fx { display: none; }
  .stage-glow { width: 320px; height: 320px; }
  .globe-rings { width: 340px; height: 340px; }
  .ring-2 { inset: 36px; }
  .ring-3 { inset: 77px; }
  .ring-axis, .ring-axis::after { width: 340px; }
  .passport-card { width: 240px; min-height: 325px; padding: 16px 17px 14px; border-radius: 16px; }
  .passport-word { font-size: 56px; }
  .passport-word i { font-size: 48px; }
  .passport-stamp { width: 90px; height: 90px; }
  .passport-stamp strong { font-size: 12px; }
  .passport-stamp span { font-size: 6px; }
  .passport-label { font-size: 7px; }
  .passport-head { font-size: 6px; padding-bottom: 8px; }
  .passport-foot { gap: 13px; padding-top: 10px; }
  .passport-foot strong { font-size: 16px; }
  .barcode { width: 62px; height: 25px; }
  .float-live { left: 0; bottom: 0; width: 195px; padding: 10px; }
  .float-live li { font-size: 8px; gap: 6px; padding: 3px 0; }
  .float-live li b { font-size: 6.5px; }
  .float-live a { font-size: 7.5px; }
  .float-card-top { font-size: 6px; padding-bottom: 6px; }
  .float-fx { right: 0; top: 44%; width: 136px; padding: 9px; transform: rotate(2deg); }
  .fx-head { font-size: 7px; gap: 4px; }
  .fx-head svg { width: 10px; height: 10px; }
  .fx-head i { font-size: 5.5px; }
  .fx-row { font-size: 7px; padding-top: 5px; }
  .fx-row strong { font-size: 10px; }
  .fx-note { font-size: 5.5px; margin-top: 4px; }
  .orbit-dot { width: 25px; height: 25px; border-width: 2px; font-size: 12px; }
  .dot-1 { left: 1%; top: 16%; }
  .dot-2 { right: 2%; top: 8%; }
  .dot-3 { display: none; }
  .dot-4 { left: 1%; bottom: 22%; }
  .dot-5 { right: 15%; bottom: 1%; }
  .dot-6 { left: 22%; top: 0; }
  .hero-note { display: none; }
  .ticker { height: 38px; }
  .ticker-label { padding-left: 16px; padding-right: 12px; font-size: 7.5px; }
  .ticker-more { display: none; }
  .ticker-track { gap: 32px; }
  .ticker-track span { font-size: 8.5px; gap: 6px; }
  .ticker-track b { font-size: 6.5px; }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(30px, 8.2vw, 38px); margin-top: 12px; }
  .mobile-only { display: block; }
  .section-head .section-title em { display: inline; }
  .eyebrow { font-size: 8.5px; }
  .country-grid { grid-template-columns: 1fr; gap: 10px; }
  .country-card { padding: 15px 15px 0; }
  .country-foot { margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; }
  .explorer-toolbar { padding: 10px; }
  .sort-select span { display: none; }
  .sort-select select { font-size: 10px; }
  .filter-toggle { font-size: 10.5px; }
  #resultCount { font-size: 9.5px; }
  .matcher-panel { padding: 26px 17px; border-radius: 20px; }
  .matcher-copy .section-title { font-size: 36px; }
  .matcher-copy p { font-size: 12px; margin-top: 15px; }
  .matcher-note { margin-top: 20px; }
  .match-form { padding: 17px 14px; border-radius: 14px; }
  .match-row { grid-template-columns: 1fr; gap: 0; }
  .choice-grid button { padding: 8px 9px; }
  .choice-grid b { font-size: 10.5px; }
  .choice-grid small { font-size: 7.5px; }
  .match-step > label { font-size: 9.5px; }
  .match-results { padding: 19px 15px; }
  .match-item-name b { font-size: 11px; }
  .official-actions .btn { width: 100%; }
  .official-list { margin: 0; }
  .official-link-cell { padding-left: 38px; }
  .official-link-cell a { font-size: 8.5px; }
  .official-country .flag { width: 27px; height: 27px; font-size: 14px; }
  .official-country b { font-size: 11px; }
  .official-disclaimer { padding: 12px; gap: 8px; }
  .official-disclaimer p { font-size: 9px; }
  .updates-side { grid-template-columns: 1fr; }
  .update-card { min-height: 0; padding: 17px; }
  .update-card h3 { font-size: 14px; }
  .method-cards { grid-template-columns: 1fr; }
  .method-cards article { min-height: 0; padding: 19px; }
  .data-strip { padding: 19px; gap: 18px 26px; }
  .data-strip strong { font-size: 19px; }
  .data-strip > div { flex: 1 0 40%; }
  .footer-links { gap: 0; justify-content: space-between; width: 100%; }
  .footer-links > div { gap: 8px; }
  .footer-links a { font-size: 9.5px; }
  .footer-top { padding-bottom: 35px; }
  .footer-bottom { display: block; line-height: 2; }
  .footer-bottom span { display: block; }
  .source-links { font-size: 8px; }
  .drawer { width: 100vw; }
  .drawer-topbar { padding: 12px 16px; }
  .drawer-hero { padding: 20px 17px 19px; }
  .drawer-flag { width: 45px; height: 45px; font-size: 24px; }
  .drawer-country h2 { font-size: 27px; }
  .drawer-hero-note { font-size: 10px; margin-top: 14px; }
  .drawer-hero-actions { gap: 6px; margin-top: 14px; }
  .drawer-hero-actions .btn { font-size: 9px; padding: 8px 10px; }
  .drawer-body { padding: 18px 17px 45px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact--wide { grid-column: span 2; }
  .program-heading h3 { font-size: 22px; }
  .pros-cons { grid-template-columns: 1fr; }
  .verdict-box { grid-template-columns: 1fr; }
  .cost-row { grid-template-columns: minmax(0,1fr) 100px 30px; gap: 6px; }
  .cost-amount { font-size: 8px; }
  .cost-label span { font-size: 7.5px; }
  .official-box { flex-wrap: wrap; }
  .official-box .btn { width: 100%; }
  .drawer-tab { font-size: 9.5px; padding: 8px 9px; }
  .compare-tray-inner { padding: 9px 0; gap: 9px; flex-wrap: wrap; }
  .compare-tray-label { font-size: 8px; }
  .compare-chips { flex-basis: calc(100% - 115px); }
  .compare-tray-actions { flex-basis: 100%; justify-content: space-between; padding-top: 2px; }
  .compare-tray .btn { flex: 0 0 auto; }
  .compare-modal { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; top: 0; left: 0; transform: translate(0, 3%) scale(1); }
  .compare-modal.is-open { transform: translate(0,0) scale(1); }
  .compare-modal-head { padding: 16px 17px 13px; }
  .compare-modal-head h2 { font-size: 24px; }
  .compare-modal-body { padding: 15px 17px 25px; }
  .compare-grid { min-width: 680px; }
  .toast { bottom: 90px; font-size: 10px; }
  .compare-tray.is-visible ~ .toast { bottom: 125px; }
}

/* ---------- V2 responsive ---------- */
@media (max-width: 1024px) {
  .budget-head { grid-template-columns: 1fr; gap: 20px; }
  .budget-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .world-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stories-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .stories-side { max-width: 560px; }
}
@media (max-width: 680px) {
  .budget { padding-top: 64px; }
  .budget-head { margin-bottom: 24px; }
  .budget-copy > p { font-size: 12px; }
  .budget-principles { gap: 7px 12px; }
  .budget-grid { grid-template-columns: 1fr; gap: 9px; }
  .budget-card { min-height: 0; padding: 15px; }
  .budget-bottom { display: block; }
  .budget-bottom .btn { width: 100%; margin-top: 14px; }
  .world-head { margin-bottom: 24px; }
  .world-summary { max-width: none; }
  .world-toolbar { padding: 9px; }
  .world-search { flex-basis: 100%; }
  .world-regions { flex: 1; }
  .world-region { font-size: 8px; padding: 4px 8px; }
  .world-only { font-size: 8px; }
  .world-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .world-country { padding: 7px 6px; gap: 5px; }
  .world-country-main b { font-size: 7.5px; }
  .world-country em { display: none; }
  .world-note { font-size: 7px; }
  .stories { padding-top: 0; }
  .stories-panel { padding: 26px 17px; border-radius: 20px; }
  .stories-copy p { font-size: 11px; }
  .stories-rule p { font-size: 9px; }
  .stories-stat strong { font-size: 29px; }
}

/* Mobile channel menu needs to win over the base hero padding. */
@media (max-width: 860px) {
  .hero { padding-top: 0; }
  .hero-inner { padding-top: 33px; }
}

/* The channel bar is the mobile top menu; hide the legacy hamburger. */
@media (max-width: 860px) {
  .mobile-menu-btn { display: none !important; }
  .channel-shell { display: block !important; }
  .channel-nav { pointer-events: auto; }
}

/* All seven channel links stay visible on small phones. */
@media (max-width: 680px) {
  .channel-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; }
  .channel-nav a { padding: 10px 8px; border-right: 1px solid rgba(251,248,241,.08); border-bottom: 1px solid rgba(251,248,241,.08); font-size: 10px; }
  .channel-nav a:nth-child(4n) { border-right: 0; }
  .channel-nav a:nth-last-child(-n+3) { border-bottom: 0; }
  .channel-nav b { font-size: 6.5px; }
}

/* ---------- Two-channel verified stories ---------- */
.stories-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn-outline-light { border: 1px solid rgba(251,248,241,.34); color: var(--cream); background: transparent; }
.btn-outline-light:hover { border-color: var(--acid); color: var(--acid); }
.story-list { margin-top: 28px; display: grid; gap: 10px; }
.story-card { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 18px 20px; }
.story-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.story-card-head h3 { color: var(--ink); font-size: 18px; line-height: 1.35; }
.story-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 6px; color: var(--muted); font-size: 9px; }
.story-card-channel { flex: 0 0 auto; font-family: var(--mono); font-size: 7px; letter-spacing: .04em; padding: 4px 6px; border-radius: 4px; color: var(--green); border: 1px solid rgba(29,91,69,.24); background: rgba(29,91,69,.05); }
.story-card-channel--official { color: var(--orange); border-color: rgba(200,106,50,.3); background: rgba(200,106,50,.06); }
.story-card-body { margin-top: 14px; white-space: pre-wrap; color: #4f4f45; font-size: 11px; line-height: 1.9; }
.story-card-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; font-size: 8.5px; color: var(--muted); }
.story-card-foot a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.official-channels { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.official-channels h4 { color: var(--ink); font-size: 12px; margin-bottom: 10px; }
.channel-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 9px; color: var(--muted); }
.channel-row a { color: var(--green); }

/* Story dialog */
.story-dialog { width: min(760px, calc(100% - 28px)); max-height: min(90vh, 900px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); overflow: auto; }
.story-dialog::backdrop { background: rgba(18,19,15,.72); backdrop-filter: blur(4px); }
.story-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.story-dialog-head h3 { font-size: 24px; letter-spacing: -.03em; margin-top: 8px; }
.story-dialog-head .drawer-close { color: var(--ink); border-color: var(--line); }
.story-channel-tabs { display: flex; gap: 4px; padding: 12px 26px 0; }
.story-channel-tabs button { border: 1px solid var(--line); background: transparent; color: var(--muted); font-family: inherit; font-size: 9px; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.story-channel-tabs button.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.story-form { padding: 18px 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.story-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-form label { display: flex; flex-direction: column; gap: 5px; font-size: 8px; color: var(--muted); }
.story-form input, .story-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #fffdf8; color: var(--ink); font: inherit; font-size: 11px; padding: 9px 10px; outline: none; }
.story-form textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.story-form input:focus, .story-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,91,69,.08); }
.story-form .optional { color: #99978a; font-size: 7px; }
.story-check { flex-direction: row !important; align-items: flex-start; gap: 7px !important; font-size: 8.5px !important; color: #5b5a50 !important; line-height: 1.5; }
.story-check input { width: 13px; height: 13px; margin-top: 1px; accent-color: var(--green); flex: 0 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.official-fields { padding-top: 2px; }
.story-form-error { min-height: 14px; color: #a33b2b; font-size: 8.5px; }
.story-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.story-form-actions > span { font-size: 8px; color: var(--muted); }
.story-form-actions .btn { font-size: 10px; padding: 10px 14px; }
@media (max-width: 640px) {
  .story-form-grid { grid-template-columns: 1fr; }
  .story-dialog-head { padding: 20px 18px 14px; }
  .story-dialog-head h3 { font-size: 20px; }
  .story-channel-tabs { padding: 10px 18px 0; }
  .story-form { padding: 14px 18px 20px; }
  .story-card { padding: 15px; }
  .stories-actions { flex-direction: column; align-items: flex-start; }
}

body.modal-open { overflow: hidden; }
