@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #161616;
  --ink-soft: #55524a;
  --ink-band: #3a2e05;
  --marigold: #eda91a;
  --marigold-deep: #b97d06;
  --marigold-pale: #fdf4de;
  --mist: #f8f5ee;
  --line: #e7e2d6;
  --text: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1120px;
  --read: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--text); font-feature-settings: "kern"; }
a { color: var(--ink); text-decoration-color: var(--marigold-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--text); font-weight: 700; color: var(--ink); letter-spacing: -0.025em; }
strong, b { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.draft-banner { background: var(--ink); color: var(--marigold); font-weight: 700; text-align: center; padding: 8px 16px; font-size: 15px; }
.draft-tag { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--marigold-pale); padding: 1px 7px; border-radius: 99px; vertical-align: 3px; margin-left: 6px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header--band { background: var(--marigold); border-bottom: 0; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark-tag { font-weight: 500; font-size: 13.5px; letter-spacing: 0; color: var(--ink-soft); }
.site-header--band .wordmark-tag { color: var(--ink-band); }
.wordmark-mark { display: inline-block; width: 11px; height: 11px; background: var(--ink); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--ink); }
.site-header:not(.site-header--band) .nav a:hover, .site-header:not(.site-header--band) .nav a[aria-current] { border-bottom-color: var(--marigold); }
.nav-toggle { display: none; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); background: none; border: 1.5px solid var(--ink); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: var(--ink); transition: transform .15s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
.guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0 0 18px; }
.guide-list a { font-weight: 700; }

.band { position: relative; overflow: hidden; background: var(--marigold); color: var(--ink); margin-top: -1px; }
.world-map { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px); mask-image: linear-gradient(to bottom, transparent 0, #000 110px); }
.world-map--whole { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.world-land { opacity: .55; }
.country-shape { fill: var(--ink); fill-opacity: .3; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.home-band .country-shape { fill-opacity: .16; stroke-opacity: .25; }
.route { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: .8; vector-effect: non-scaling-stroke; }
.route-end { fill: var(--ink); opacity: .8; }
.route-home { fill: var(--ink); }
.band-text { position: relative; z-index: 1; }
.band h1, .band-lede, .hub-lede, .hub-band .byline { text-shadow: 0 0 18px var(--marigold), 0 0 6px var(--marigold); }

.home-band { padding: 36px 0 136px; }
.home-band h1 { font-size: clamp(44px, 6.6vw, 84px); line-height: .98; letter-spacing: -0.04em; max-width: 13ch; margin: 0 0 20px; }
.band-lede { font-size: 20px; line-height: 1.5; max-width: 46ch; margin: 0; color: var(--ink-band); }

.home-cards { position: relative; z-index: 2; list-style: none; margin: -120px -24px -24px; padding: 24px 24px 40px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: thin; scrollbar-color: var(--marigold) transparent; }
.home-cards > li { scroll-snap-align: start; }
.card-nav-wrap { position: relative; }
.card-nav { position: absolute; right: 24px; top: -6px; display: flex; gap: 8px; }
.card-nav[hidden] { display: none; }
.card-nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font: 700 18px/1 var(--text); cursor: pointer; box-shadow: 0 4px 14px rgba(22, 22, 22, .15); }
.card-nav-btn:hover { background: var(--ink); color: var(--paper); }
.card-nav-btn:disabled { opacity: .4; cursor: default; background: var(--paper); color: var(--ink); }
.home-card { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 168px; background: var(--paper); border-radius: 10px; box-shadow: 0 16px 40px rgba(22, 22, 22, .14); padding: 20px 18px 16px; color: var(--ink); text-decoration: none; }
.home-card:hover { color: var(--ink); box-shadow: 0 18px 44px rgba(22, 22, 22, .2); }
.home-card-name { font-size: 23px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.home-card-fact { font-size: 15px; line-height: 1.45; color: var(--ink-soft); flex: 1; }
.home-card-go { font-size: 15px; font-weight: 600; }
.home-card-go::after { content: " \2192"; }
.home-card:hover .home-card-go { text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.section-title { font-size: 32px; line-height: 1.15; margin: 64px 0 16px; }
.empty-note { color: var(--ink-soft); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.45; }
.compare thead th { position: sticky; top: 0; z-index: 2; background: var(--paper); border-top: 2px solid var(--ink); }
.compare tbody td, .compare thead th:not(:first-child) { text-align: center; }
.sort-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; display: inline-flex; align-items: center; gap: 4px; }
.sort-btn::after { content: "\2195"; font-size: 12px; color: var(--marigold-deep); opacity: .7; }
th[aria-sort="ascending"] .sort-btn::after { content: "\2191"; opacity: 1; }
th[aria-sort="descending"] .sort-btn::after { content: "\2193"; opacity: 1; }
.sort-btn:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mark { display: inline-block; min-width: 1.6em; font-weight: 700; }
.mark-yes, .mark-some { color: var(--ink); }
.mark-no { color: var(--ink-soft); }
.mark-unknown { color: #b3ad9f; font-weight: 600; }
.mark-none { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.compare-note .mark { min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding-top: 10px; padding-bottom: 10px; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare-note { font-size: 15px; color: var(--ink-soft); margin: 12px 0 0; }
.compare-by { font-size: 16px; font-weight: 600; margin: 16px 0 0; }
.status { font-weight: 600; white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; border: 2px solid var(--ink); }
.status-good::before { background: var(--ink); }
.status-watch::before { background: transparent; }
.home-by { color: var(--ink-soft); font-size: 16px; margin: 36px 0 0; }

.start-list, .topic-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.start-card, .topic-card { display: grid; align-content: start; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; height: 100%; }
.start-card-title, .topic-card-title { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--marigold-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.start-card-title::after, .topic-card-title::after { content: "\2192"; display: inline-block; margin-left: 8px; color: var(--marigold-deep); text-decoration: none; transition: transform .15s ease; }
.start-card:hover .start-card-title::after, .topic-card:hover .topic-card-title::after { transform: translateX(3px); }
.start-card-lede, .topic-card-lede { color: var(--ink-soft); font-size: 16px; line-height: 1.55; max-width: 48ch; }
.start-card:hover, .topic-card:hover { color: var(--ink); }
.start-card:hover .start-card-title, .topic-card:hover .topic-card-title { text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
.home-start { padding-bottom: 80px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: 15px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #b3ad9f; }
.crumbs a { color: var(--ink-soft); }
.band .crumbs ol, .band .crumbs a { color: var(--ink-band); }
.band .crumbs li + li::before { color: var(--ink-band); opacity: .5; }

.guide-head { padding: 28px 0 36px; border-bottom: 4px solid var(--marigold); }
.guide-head h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 16px; max-width: 20ch; }
.byline { margin: 0; font-size: 16px; color: var(--ink-soft); }
.byline a { color: var(--ink-soft); }
.hub-band { padding: 28px 0 52px; }
.hub-band .byline, .hub-band .byline a { color: var(--ink-band); }
.hub-country { font-size: clamp(64px, 11vw, 140px); font-weight: 700; line-height: .9; letter-spacing: -0.05em; margin: 8px 0 18px; color: var(--ink); }
.hub-band h1 { font-size: 26px; line-height: 1.25; margin: 0 0 12px; }
.hub-lede { font-size: 20px; line-height: 1.55; max-width: 46ch; margin: 0 0 14px; color: var(--ink-band); }
.hub-lede .fact-src a { color: var(--ink-band); }
.hub-main { padding-top: 36px; padding-bottom: 72px; }
.hub-main .glance, .hub-body, .hub-main .not-advice, .hub-main .sources { max-width: var(--read); }

.guide > .wrap { padding-top: 36px; padding-bottom: 72px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, var(--read)) minmax(240px, 300px); gap: 64px; justify-content: space-between; align-items: start; }
.sidebar { font-size: 15px; line-height: 1.5; padding-top: 6px; }
.side-card { border-top: 2px solid var(--ink); padding: 12px 0 0; margin: 0 0 32px; }
.side-title { font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 10px; }
.side-marks { margin: 0; }
.side-marks div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.side-marks dt { color: var(--ink-soft); }
.side-marks dd { margin: 0; text-align: right; }
.side-more { margin: 12px 0 0; font-weight: 600; }
.side-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.side-toc a, .side-links a { text-decoration-thickness: 1px; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.side-trust { border-top: 0; background: var(--mist); border-radius: 10px; padding: 16px 18px; }
.side-trust p { margin: 0 0 8px; }
.side-trust p:last-child { margin: 0; font-weight: 600; }
.ads-on .ad-slot--sidebar { min-height: 600px; position: sticky; top: 24px; }
.guide-body { max-width: var(--read); }
.guide > .guide-wide { padding-top: 32px; padding-bottom: 0; }
.guide-wide + .wrap { padding-top: 8px; }
.guide-body > :first-child { margin-top: 0; }
.guide-wide .short-answer, .guide-wide .table-note { max-width: var(--read); }
.table-note { color: var(--ink-soft); margin: 16px 0 0; }
.guide-wide .table-scroll { margin: 24px 0 40px; }
.hub-table th, .hub-table td { padding-right: 24px; }
.hub-table tbody td, .hub-table thead th:not(:first-child) { text-align: left; }
.hub-table td { min-width: 9em; }
.short-answer { font-size: 21px; line-height: 1.55; margin: 0 0 8px; }

.prose { font-size: 19px; line-height: 1.7; }
.prose h2 { font-size: 29px; line-height: 1.2; margin: 48px 0 12px; }
.prose h3 { font-size: 22px; line-height: 1.3; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; margin: 24px 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; }

.glance { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--mist); border-radius: 12px; margin: 28px 0 32px; font-size: 16px; line-height: 1.45; }
.glance caption { text-align: left; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); padding: 0 0 12px; }
.glance th, .glance td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-top: 2px solid var(--paper); }
.glance tr:first-child th, .glance tr:first-child td { border-top: 0; }
.glance th { font-weight: 400; color: var(--ink-soft); width: 42%; }
.glance td { font-weight: 700; color: var(--ink); }

.calc-box { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--marigold-pale); color: var(--ink); border-left: 4px solid var(--marigold); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; font-size: 17px; }
.calc-box p { margin: 0; max-width: 40ch; }
.calc-box-label { font-weight: 700; margin-right: 6px; }
.btn { display: inline-block; font-family: var(--text); font-weight: 700; font-size: 17px; border-radius: 8px; padding: 12px 20px; text-decoration: none; border: 0; cursor: pointer; }
.btn-calc { background: var(--marigold); color: var(--ink); }
.btn-calc:hover { background: #f4bb3e; color: var(--ink); text-decoration: none; }

.faqs h3 { margin-top: 26px; }
.related { margin-top: 40px; }
.related ul { padding-left: 20px; }
.not-advice { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 40px 0 0; }

.sources { font-size: 14px; line-height: 1.5; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.prose .sources h2, .sources h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--ink); margin: 0 0 6px; }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 2px; }
.sources a { color: var(--ink-soft); }
.sources li:target { background: var(--marigold-pale); border-radius: 4px; }
.sources-checked { margin: 8px 0 0; }
.fact-src { font-size: 11px; line-height: 0; margin-left: 2px; font-weight: 700; }
.fact-src a { color: var(--ink-soft); text-decoration: none; }
.fact-src a:hover { text-decoration: underline; }

.calc-form { display: grid; gap: 16px; max-width: 520px; background: var(--mist); border-radius: 12px; padding: 24px; }
.calc-form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.calc-form select, .calc-form input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #d3ccba; border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.money-input { display: flex; align-items: center; gap: 8px; }
.money-input span { font-weight: 700; color: var(--ink-soft); }
.calc-error { background: #fdecef; border: 1px solid #f4b3c0; color: #8a1f35; border-radius: 8px; padding: 14px 16px; }
.calc-result { margin-top: 28px; }
.calc-assumptions { color: var(--ink-soft); font-size: 16px; }

.ads-on .ad-slot { background: var(--mist); }
.ads-on .ad-slot--in-content { min-height: 280px; margin: 28px 0; }
.ads-on .ad-slot--footer-sticky { position: fixed; bottom: 0; left: 0; right: 0; min-height: 60px; }

.site-footer { background: var(--ink); color: #cfcac0; padding: 48px 0 36px; font-size: 16px; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark-mark { background: var(--marigold); }
.site-footer a { color: #fff; text-decoration-color: var(--marigold); }
.footer-lede { max-width: 56ch; margin: 14px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 28px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #34322d; padding-top: 18px; }
.footer-company { font-size: 14px; color: #a8a398; margin: 0; max-width: 70ch; }
.footer-maker { display: inline-flex; align-items: center; gap: 6px; color: #cfcac0; text-decoration: none; font-size: 14px; }
.footer-maker svg { width: 20px; height: 20px; }
.footer-maker rect { fill: #fff; }
.footer-maker text { fill: var(--ink); font: 700 20px var(--text); }
.footer-maker-word { font-weight: 700; color: #fff; }

@media (max-width: 1040px) {
  .home-cards { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
  .with-sidebar { display: block; }
  .sidebar { max-width: var(--read); margin-top: 48px; }
  .side-toc { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav { gap: 2px 18px; flex-wrap: wrap; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .nav { display: none; }
  .nav-ready.nav-open .nav { display: flex; flex-direction: column; width: 100%; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
  .nav-ready.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header--band.nav-open .nav, .site-header--band.nav-open .nav a { border-color: rgba(22, 22, 22, .2); }
  .nav-ready.nav-open .nav a:last-child { border-bottom: 0; }
  .home-band { padding: 20px 0 96px; }
  .hub-country { font-size: 13vw; overflow-wrap: anywhere; }
  .hub-band .world-map--hub { position: relative; display: block; height: 190px; margin: -12px 0 6px; -webkit-mask-image: none; mask-image: none; }
  .band-lede { font-size: 18px; }
  .home-cards { margin-top: -88px; grid-auto-columns: 74%; gap: 10px; }
  .home-card { min-height: 0; padding: 16px 14px 14px; }
  .home-card-name { font-size: 20px; }
  .start-list, .topic-cards { grid-template-columns: 1fr; }
  .prose { font-size: 18px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px 3px; }
  .compare tbody th { white-space: normal; }
  .compare .status::before { margin-right: 5px; }
  .compare thead th { font-size: 12px; }
  .mark-none { font-size: 12px; }
  .glance th, .glance td { display: block; width: auto; }
  .glance td { border-top: 0; padding-top: 0; }
  .glance th { padding-bottom: 4px; }
}


@media (prefers-reduced-motion: reduce) {
  .start-card-title::after, .topic-card-title::after, .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; }
}

@media (max-width: 720px) {
  .hub-table thead { display: none; }
  .hub-table, .hub-table tbody, .hub-table tr, .hub-table th, .hub-table td { display: block; }
  .hub-table tr { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
  .hub-table tbody th { border: 0; padding: 0 0 6px; font-size: 18px; }
  .hub-table td { border: 0; padding: 3px 0; min-width: 0; display: grid; grid-template-columns: 9em 1fr; gap: 10px; }
  .hub-table td::before { content: attr(data-label); color: var(--ink-soft); }
  .hub-table td[colspan]::before { content: none; }
  .hub-table td[colspan] { display: block; }
}
