/* SafeToTrip design system
   1. Fonts   2. Tokens (themes: ocean · dusk · ink, each light + dark)   3. Base   4. Shared patterns
   5. Header + footer   6. Home   7. Lists   8. Country page   9. Compare, about, offers
   Rules: one card style, one label style, three radii (12 controls · 16 cards · 24 panels), pills for anything
   you can tap that names a place, 4px spacing scale, level colours mean levels and nothing else. */

/* ---------- 1. fonts ---------- */
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. tokens ---------- */
:root {
  /* Ocean (default): creamy ceramic. Cream page, glazed off-white cards, warm charcoal ink, ocean blue */
  --bg: #f5efe3; --bg-2: #ede5d6; --panel: #fffcf6; --panel-2: #faf5eb; --line: #e8dfcd; --line-2: #dcd1bb;
  --ink: #23201b; --ink-2: #57503f; --ink-3: #716958;
  --glaze: inset 0 1px 0 rgb(255 255 255 / .85);
  --brand: #2350d8; --brand-2: #1c3fb8; --brand-ink: #ffffff; --brand-soft: #eaf0ff; --logo-1: #3b6cf0; --logo-2: #1c3fb8;
  --hero-a: color-mix(in srgb, var(--brand) 16%, transparent); --hero-b: color-mix(in srgb, var(--l1) 12%, transparent);

  /* levels: shared by every theme, so a colour always means the same thing.
     solid = badges, bars, map; soft = surfaces; edge = borders; deep = text on light backgrounds */
  --l1: #20c997; --l2: #fcc419; --l3: #ff922b; --l4: #fa5252; --l0: #ced4da;
  --l1-soft: #e6fcf5; --l2-soft: #fff9db; --l3-soft: #fff4e6; --l4-soft: #fff5f5;
  --l1-edge: #96f2d7; --l2-edge: #ffe58f; --l3-edge: #ffd8a8; --l4-edge: #ffc9c9;
  --l1-deep: #087f5b; --l2-deep: #8a5a00; --l3-deep: #c2410c; --l4-deep: #c92a2a;
  --badge-ink: #141a26;
  /* globe */
  --sea-1: #dbeafe; --sea-2: #a9c8f5; --land: #fbf6ea; --land-line: #e3d6ba; --land-focus: #fffdf8; --land-focus-line: #c9b896;
  --grat: rgb(255 255 255 / .55); --halo: rgb(120 160 255 / .22); --state-line: #d9c9a6;

  /* warm, soft shadows with a glaze highlight on top: cards read as smooth ceramic, not flat paper */
  --shadow-sm: var(--glaze), 0 1px 2px rgb(90 66 30 / .06);
  --shadow: var(--glaze), 0 1px 2px rgb(90 66 30 / .05), 0 12px 30px -14px rgb(90 66 30 / .20);
  --shadow-lg: var(--glaze), 0 2px 4px rgb(90 66 30 / .05), 0 22px 50px -18px rgb(90 66 30 / .28);
  --r-sm: 12px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --max: 1120px; --gutter: clamp(16px, 4vw, 32px); --section: clamp(40px, 6vw, 64px);
  --sans: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* Night: chosen in the footer only. The site never follows the device's dark setting: creamy ceramic is the look. */
:root[data-theme="night"] {
    /* softer dark: slate blue, not black */
    --bg: #1b2232; --bg-2: #222a3c; --panel: #262f43; --panel-2: #2c364c; --line: #34405a; --line-2: #414e6a;
    --ink: #eef2f8; --ink-2: #c3cbda; --ink-3: #9aa5ba;
    --brand: #8eaaff; --brand-2: #aec2ff; --brand-ink: #101a3a; --brand-soft: #2a3556;
    --l0: #5b6684;
    /* level surfaces stay close to the panel colour (a faint tint, never brown or olive); the edge carries the colour */
    --l1-soft: color-mix(in srgb, var(--l1) 9%, var(--panel)); --l2-soft: color-mix(in srgb, var(--l2) 7%, var(--panel));
    --l3-soft: color-mix(in srgb, var(--l3) 8%, var(--panel)); --l4-soft: color-mix(in srgb, var(--l4) 8%, var(--panel));
    --l1-edge: color-mix(in srgb, var(--l1) 35%, var(--panel)); --l2-edge: color-mix(in srgb, var(--l2) 35%, var(--panel));
    --l3-edge: color-mix(in srgb, var(--l3) 35%, var(--panel)); --l4-edge: color-mix(in srgb, var(--l4) 35%, var(--panel));
    --l1-deep: #63e6be; --l2-deep: #ffd43b; --l3-deep: #ffa94d; --l4-deep: #ff8787;
    --sea-1: #2c3a5c; --sea-2: #1f2a44; --land: #4a5675; --land-line: #5b6888; --land-focus: #66749a; --land-focus-line: #9aa8c8;
    --grat: rgb(255 255 255 / .06); --halo: rgb(120 160 255 / .16); --state-line: #7d8bad;
    --shadow-sm: none; --shadow: 0 16px 40px -20px rgb(0 0 0 / .45); --shadow-lg: 0 24px 50px -24px rgb(0 0 0 / .55);
    color-scheme: dark;
}
/* Dusk: cool lavender paper, indigo */
:root[data-theme="dusk"] {
  --bg: #f7f6fb; --bg-2: #eeecf7; --panel: #ffffff; --panel-2: #f4f2fa; --line: #e5e2f0; --line-2: #d8d4e8;
  --ink: #1d1a35; --ink-2: #4b4868; --ink-3: #6c6889;
  --brand: #5544d6; --brand-2: #4334b8; --brand-ink: #ffffff; --brand-soft: #efedff; --logo-1: #7a6cf0; --logo-2: #4334b8;
  --hero-b: color-mix(in srgb, #d946ef 9%, transparent);
}
/* Ink: editorial black on paper, no colour except the levels */
:root[data-theme="ink"] {
  --bg: #fbfbf9; --bg-2: #f1f1ee; --panel: #ffffff; --panel-2: #f6f6f3; --line: #e5e5e1; --line-2: #d6d6d1;
  --ink: #111111; --ink-2: #44464c; --ink-3: #6b6e75;
  --brand: #111111; --brand-2: #2b2b2b; --brand-ink: #ffffff; --brand-soft: #f0f0ec; --logo-1: #3a3a3a; --logo-2: #0a0a0a;
  --hero-a: color-mix(in srgb, #111 6%, transparent); --hero-b: transparent;
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .04), 0 22px 50px -20px rgb(0 0 0 / .25);
}

/* ---------- 3. base ---------- */
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } @view-transition { navigation: none; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 750; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
blockquote { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.quiet { color: var(--ink-3); }
.ext { font-size: .8em; margin-left: .2em; opacity: .7; }
[hidden] { display: none !important; }
.flag { display: none; }
.flags .flag { display: inline-block; font-size: 1.1em; line-height: 1; margin-right: .1em; }

main { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 80px; display: grid; gap: var(--section); }
main > * { min-width: 0; }
section { display: grid; gap: 16px; align-content: start; }

/* ---------- 4. shared patterns ---------- */
/* one label style: small caps over cards and groups */
.label, .kicker, .gov h3, .subregion h3, .foot h2, .area-who, .src-grid h3, .popular-label, .place-pick label, .action-bar label {
  font-size: .76rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); line-height: 1.3;
}
/* one card style */
.card, .hz, .region-card, .gov, .action-bar, .offer, .area, .quick-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
/* one big-panel style */
.hero, .verdict, .remind, .place-panel, .cmp-col { border-radius: var(--r-lg); }

.section-head { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.section-head .more { margin-left: auto; font-weight: 700; text-decoration: none; }
.section-head .more:hover { text-decoration: underline; }
.section-note { color: var(--ink-3); margin-top: -6px; }
.page-head { display: grid; gap: 12px; padding-top: 24px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 56ch; }
.fresh { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.fresh .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l1) 20%, transparent); }
.fresh.stale .dot { background: var(--l2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--l2) 20%, transparent); }
.fine-print { font-size: .85rem; color: var(--ink-3); }

/* controls */
.button, button[type="submit"], .ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--brand); color: var(--brand-ink); transition: background .15s, border-color .15s, transform .15s;
}
button[type="submit"]:hover, .button:hover { background: var(--brand-2); }
button[type="submit"]:active, .ghost:active { transform: translateY(1px); }
.ghost, .button.ghost { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.ghost:hover, .button.ghost:hover { background: var(--panel-2); border-color: var(--brand); }
.ghost svg { width: 18px; height: 18px; }
input, select {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--panel); color: var(--ink); transition: border-color .15s, box-shadow .15s; min-width: 0;
}
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input::placeholder { color: var(--ink-3); }
/* an explicit caret: Chrome's default one went missing in the empty search boxes */
input, textarea { caret-color: var(--brand); }
/* the mouse pointer over text fields: Windows' I-beam inverts what's under it and fades on our cream panels and
   placeholder text, so text fields use a fixed dark I-beam with a white outline (falls back to the system one) */
input:not([type]), input[type="text"], input[type="search"], input[type="email"], textarea {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24' viewBox='0 0 16 24'%3E%3Cpath d='M5 2.5h6M8 2.5v19M5 21.5h6' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M5 2.5h6M8 2.5v19M5 21.5h6' fill='none' stroke='%2323201b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 8 12, text;
}
/* Chrome's datalist arrow doesn't fit the design; suggestions still appear as you type */
input[list]::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }
.field { display: flex; gap: 8px; }
.field > input, .field > select { flex: 1; }

/* level badges */
.lvl { display: inline-grid; place-items: center; flex: none; min-width: 2.4em; height: 1.9em; padding: 0 .45em; border-radius: 8px; letter-spacing: -.01em; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--badge-ink); background: var(--l0); line-height: 1; }
.lvl.l1 { background: var(--l1); } .lvl.l2 { background: var(--l2); } .lvl.l3 { background: var(--l3); } .lvl.l4 { background: var(--l4); }
.lvl.sm { min-width: 2.2em; height: 1.6em; font-size: .72rem; border-radius: 6px; padding: 0 .4em; }
.lvl.lg { min-width: 2.1em; height: 2.1em; font-size: 1.3rem; border-radius: 10px; }
.lvl.xl { min-width: 2.6em; height: 2.1em; font-size: 1.7rem; border-radius: 16px; }

/* pills: places you can tap, tags, nav */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .region-nav a, .filters button, .tags li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--pill);
  background: var(--panel); border: 1px solid var(--line); color: var(--ink); font-weight: 650; font-size: .92rem; text-decoration: none;
}
.chip { padding-left: 6px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; cursor: pointer; }
.chip:hover, .region-nav a:hover { border-color: var(--brand); }
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.chip .flag { margin: 0 -2px 0 4px; }
.chip:not(:has(.lvl)) { padding-left: 14px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { min-height: 30px; padding: 0 12px; font-size: .86rem; border-color: var(--line-2); }

/* hazards */
.hz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hz-list.compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.hz { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; }
.hz-icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--r-sm); color: var(--l0); background: var(--bg-2); }
.hz.sev-red .hz-icon { color: var(--l4-deep); background: var(--l4-soft); }
.hz.sev-orange .hz-icon { color: var(--l3-deep); background: var(--l3-soft); }
.hz.sev-green .hz-icon { color: var(--l1-deep); background: var(--l1-soft); }
.hz-title { font-weight: 700; line-height: 1.35; }
.hz-title a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.hz-title a:hover { text-decoration: underline; }
.hz-meta { margin-top: 4px; font-size: .86rem; color: var(--ink-3); }
.hz-meta .sev { font-weight: 700; }
.hz.sev-red .sev { color: var(--l4-deep); } .hz.sev-orange .sev { color: var(--l3-deep); } .hz.sev-green .sev { color: var(--l1-deep); }
.all-clear { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--l1-soft); border: 1px solid var(--l1-edge); font-weight: 600; }
.all-clear span, .ok { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--l1); color: var(--badge-ink); font-weight: 800; }

/* ---------- 5. header + footer ---------- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); view-transition-name: top; }
.top-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.brand b { color: var(--brand); font-weight: 750; }
.brand svg { flex: none; }
.lg1 { stop-color: var(--logo-1); } .lg2 { stop-color: var(--logo-2); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: var(--pill); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.search { position: relative; display: flex; gap: 8px; flex: 1 1 240px; max-width: 360px; margin-left: auto; }
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search input { flex: 1; padding-left: 38px; min-height: 40px; }
.search button { min-height: 40px; padding: 0 14px; }
@media (max-width: 720px) {
  .top-inner { gap: 10px 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -8px; }
  .search { order: 2; flex-basis: 100%; max-width: none; margin-left: 0; }
}

.foot { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--ink-2); font-size: .92rem; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: 32px; }
.foot-grid > div, .foot-grid > nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--brand); text-decoration: underline; }
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.promise { font-weight: 650; color: var(--ink); }
.promise span { color: var(--l1-deep); margin-right: 4px; }
.theme-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.theme-pick > span { font-size: .85rem; font-weight: 650; color: var(--ink-3); margin-right: 4px; }
.theme-pick button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); font-weight: 650; font-size: .85rem; cursor: pointer; }
.theme-pick button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.sw { display: block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .1); }
.sw.ocean { background: linear-gradient(135deg, #3b6cf0 50%, #f5efe3 50%); }
.sw.dusk { background: linear-gradient(135deg, #5544d6 50%, #f7f6fb 50%); }
.sw.ink { background: linear-gradient(135deg, #111 50%, #fbfbf9 50%); }
.sw.night { background: linear-gradient(135deg, #8eaaff 50%, #1b2232 50%); }
.fine { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 6. home ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px);
  padding: clamp(16px, 3vw, 32px) 0 0;
}
.hero-text { display: grid; gap: 20px; position: relative; z-index: 1; }
.eyebrow { font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -.035em; line-height: 1.02; }
.hero-search { position: relative; display: flex; gap: 8px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 580px; }
.hero-search svg { position: absolute; left: 24px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--ink-3); pointer-events: none; }
.hero-search input { flex: 1; border: 0; min-height: 56px; padding-left: 48px; font-size: 1.1rem; background: transparent; }
.hero-search input:focus { box-shadow: none; }
.hero-search:focus-within { border-color: var(--brand); box-shadow: var(--shadow-lg), 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.hero-search button { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.popular-label { margin-right: 4px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .hero-search { flex-direction: column; padding: 6px; }
  .hero-search svg { top: 34px; }
  .hero-search button { width: 100%; }
}
.chip.place { padding-left: 12px; }
.pin { width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); flex: none; }
.chip[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }

/* ---------- the globe widget ---------- */
.globe-card { position: relative; display: grid; justify-items: center; gap: 6px; margin: 0; padding: 18px 18px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.globe { width: 100%; max-width: 500px; aspect-ratio: 1; display: block; overflow: visible; }
.globe-sea { fill: var(--sea-2); opacity: .5; }
.globe .sea-1 { stop-color: var(--sea-1); } .globe .sea-2 { stop-color: var(--sea-2); }
.globe .halo { fill: none; stroke: var(--halo); stroke-width: 14; }
.globe .grat { fill: none; stroke: var(--grat); stroke-width: .6; }
.globe .land { fill: var(--land); stroke: var(--land-line); stroke-width: .7; stroke-linejoin: round; transition: fill .6s; }
.globe .land.focus { fill: var(--land-focus); stroke: var(--land-focus-line); stroke-width: 1.2; }
.globe .land.on { stroke: rgb(0 0 0 / .18); stroke-width: 1; }
.globe .land.on.l1 { fill: var(--l1); } .globe .land.on.l2 { fill: var(--l2); } .globe .land.on.l3 { fill: var(--l3); } .globe .land.on.l4 { fill: var(--l4); }
.globe .state { fill: none; stroke: var(--state-line); stroke-width: .9; stroke-dasharray: 2 2.5; transition: fill .6s; }
.globe .state.on { stroke: rgb(0 0 0 / .22); stroke-width: 1.2; stroke-dasharray: none; }
.globe .state.on.l1 { fill: color-mix(in srgb, var(--l1) 60%, var(--land)); } .globe .state.on.l2 { fill: color-mix(in srgb, var(--l2) 70%, var(--land)); }
.globe .state.on.l3 { fill: color-mix(in srgb, var(--l3) 72%, var(--land)); } .globe .state.on.l4 { fill: color-mix(in srgb, var(--l4) 72%, var(--land)); }
/* the beacon: colour rising from the destination */
.beacon { --c: var(--l0); color: var(--c); transition: opacity .4s; }
.beacon.hidden { opacity: 0; }
.beacon.l1 { --c: var(--l1); } .beacon.l2 { --c: var(--l2); } .beacon.l3 { --c: var(--l3); } .beacon.l4 { --c: var(--l4); }
.beacon .ring { fill: none; stroke: currentColor; stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; opacity: 0; }
.beacon .ring.b { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.beacon .beam { transform-box: fill-box; transform-origin: bottom; animation: rise 1.1s cubic-bezier(.2, .8, .2, 1), shimmer 3s ease-in-out 1.1s infinite; }
@keyframes rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes shimmer { 50% { opacity: .7; } }
.beacon .core { fill: currentColor; stroke: #fff; stroke-width: 2.5; }
.beacon .spark { fill: currentColor; animation: spark 2.6s ease-out infinite; transform-box: fill-box; opacity: 0; }
.beacon .spark.b { animation-delay: .9s; } .beacon .spark.c { animation-delay: 1.7s; }
@keyframes spark { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-70px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .beacon .ring, .beacon .spark { display: none; } }
.globe-caption { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 10px; border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line); font-weight: 650; text-align: left; }
.globe-caption .lvl { min-width: 2.6em; height: 2em; font-size: .9rem; border-radius: var(--pill); }
.globe-caption small { display: block; color: var(--ink-3); font-weight: 600; font-size: .82rem; }
.globe-hint { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--sea-1), var(--sea-2)); border: 1px solid var(--line); flex: none; }
.globe-note { font-size: .8rem; color: var(--ink-3); text-align: center; max-width: 44ch; }

/* quick view: a destination's answer, in place, no page load */
.quick { max-width: 580px; }
.quick-card { display: grid; gap: 14px; padding: 20px; box-shadow: var(--shadow); animation: rise .2s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.quick-top { display: flex; align-items: center; gap: 14px; }
.quick-top h2 { font-size: 1.25rem; }
.quick-top p { color: var(--ink-2); font-weight: 600; }
.quick-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.quick-govs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.quick-govs li { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-2); }
.quick-govs b { color: var(--ink); }
.quick-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-3); }


.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.region-card { display: grid; gap: 6px; padding: 20px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.region-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.rc-name { font-size: 1.15rem; font-weight: 750; letter-spacing: -.01em; }
.rc-count { color: var(--ink-3); font-size: .9rem; }
.rc-bar { display: flex; height: 8px; border-radius: var(--pill); overflow: hidden; gap: 2px; margin-top: 8px; background: var(--bg-2); }
.rc-bar span { display: block; }
.b1 { background: var(--l1); } .b2 { background: var(--l2); } .b3 { background: var(--l3); } .b4 { background: var(--l4); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: .85rem; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: block; width: 10px; height: 10px; border-radius: 3px; }
@media (max-width: 560px) { .region-grid { grid-template-columns: 1fr 1fr; } .region-card { padding: 16px; } }
/* bar widths in 2% steps (the CSP allows no inline styles) */
.p1{width:2%}.p2{width:4%}.p3{width:6%}.p4{width:8%}.p5{width:10%}.p6{width:12%}.p7{width:14%}.p8{width:16%}.p9{width:18%}.p10{width:20%}
.p11{width:22%}.p12{width:24%}.p13{width:26%}.p14{width:28%}.p15{width:30%}.p16{width:32%}.p17{width:34%}.p18{width:36%}.p19{width:38%}.p20{width:40%}
.p21{width:42%}.p22{width:44%}.p23{width:46%}.p24{width:48%}.p25{width:50%}.p26{width:52%}.p27{width:54%}.p28{width:56%}.p29{width:58%}.p30{width:60%}
.p31{width:62%}.p32{width:64%}.p33{width:66%}.p34{width:68%}.p35{width:70%}.p36{width:72%}.p37{width:74%}.p38{width:76%}.p39{width:78%}.p40{width:80%}
.p41{width:82%}.p42{width:84%}.p43{width:86%}.p44{width:88%}.p45{width:90%}.p46{width:92%}.p47{width:94%}.p48{width:96%}.p49{width:98%}.p50{width:100%}

/* how much of the world is normal today */
.world-stat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 32px; align-items: center; padding: clamp(20px, 3vw, 28px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-top: calc(-1 * var(--section) + 28px); }
.ws-pct { font-size: 1.15rem; font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; line-height: 1.3; }
.ws-pct strong { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; color: var(--l1-deep); line-height: 1; }
.ws-sub { color: var(--ink-3); font-size: .92rem; margin-top: 8px; }
.ws-bar { display: flex; height: 14px; border-radius: var(--pill); overflow: hidden; gap: 3px; background: var(--bg-2); grid-column: 2; }
.ws-bar span { display: block; }
.ws-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; grid-column: 2; }
.ws-legend li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: .82rem; color: var(--ink-2); }
.ws-legend i { width: 10px; height: 10px; border-radius: 3px; grid-row: span 2; }
.ws-legend b { font-size: 1.1rem; color: var(--ink); grid-column: 2; }
.ws-legend span { grid-column: 2; font-weight: 600; } .ws-legend small { grid-column: 2; color: var(--ink-3); }
.world-stat .ws-big { grid-row: span 2; }
/* compact: the footer of the home page's globe card, flush to its edges; the level bar is the card's bottom edge */
.ws-compact { justify-self: stretch; width: calc(100% + 36px); margin: 12px -18px -16px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }
.ws-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 14px 20px; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.ws-line strong { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.ws-line a { margin-left: auto; font-size: .85rem; font-weight: 650; text-decoration: none; }
.ws-line a:hover { text-decoration: underline; }
.ws-edge { display: flex; height: 6px; }
.ws-edge span { display: block; }
@media (max-width: 760px) { .world-stat { grid-template-columns: 1fr; } .ws-bar, .ws-legend { grid-column: 1; } .world-stat .ws-big { grid-row: auto; } .ws-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.recent li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.recent li > span { color: var(--ink-3); font-size: .9rem; }

/* ---------- 7. lists (all countries) ---------- */
.filter-bar { position: sticky; top: 65px; z-index: 5; display: grid; gap: 10px; padding: 12px 0; margin: calc(-1 * var(--section) + 16px) 0 calc(-1 * var(--section) + 24px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 720px) { .filter-bar { position: static; } }
.region-nav, .filters { display: flex; flex-wrap: wrap; gap: 6px; }
.region-nav a, .filters button { min-height: 36px; font-size: .88rem; }
.filters button { background: transparent; border-color: var(--line-2); color: var(--ink-2); cursor: pointer; padding-left: 8px; }
.filters button[data-level="all"] { padding-left: 14px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.region { gap: 20px; }
.region > h2 { font-size: 1.6rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.subregion { display: grid; gap: 10px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 4px 12px; }
.clist a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.clist a:hover { background: var(--panel); box-shadow: var(--shadow-sm); }
.clist .flag { width: 1.2em; text-align: center; }
.subregion:not(:has(li:not([hidden]))) { display: none; }

/* ---------- 8. country page ---------- */
.crumbs { font-size: .9rem; color: var(--ink-3); padding-top: 20px; margin-bottom: calc(-1 * var(--section) + 8px); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.country-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.country-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; }
.country-side { position: sticky; top: 84px; }
/* phones and small tablets: one column that never grows past the screen; the answer first, the globe after it */
@media (max-width: 900px) {
  .country-layout { grid-template-columns: minmax(0, 1fr); }
  .country-side { position: static; }
  .country-side .globe { max-width: 300px; margin-inline: auto; }
}
.place-search { position: relative; display: flex; gap: 8px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.place-search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.place-search input { flex: 1; border: 0; min-height: 48px; padding-left: 10px; background: transparent; }
/* the search's scope, inside the box: "In France" */
.place-search .scope { align-self: center; margin-left: 40px; padding: 4px 10px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand-2); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.ai-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r-sm); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); font-size: .9rem; color: var(--ink-2); margin-top: -6px; }
.ai-tag { flex: none; padding: 1px 8px; border-radius: var(--pill); background: var(--brand); color: var(--brand-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fixed-note { font-size: .92rem; color: var(--ink-3); margin-top: -8px; }
.fixed-note strong { color: var(--ink-2); }
.did-you-mean { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.did-you-mean a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; font-weight: 700; }
.did-you-mean a:hover { border-color: var(--brand); }
.did-you-mean small { color: var(--ink-3); font-weight: 600; font-size: .82rem; }
.nf-note { display: grid; gap: 8px; justify-items: start; padding: 16px 18px; border-radius: var(--r); background: var(--l2-soft); border: 1px solid var(--l2-edge); }
.nf-note p { color: var(--ink-2); }
.nf-note strong { color: var(--ink); }
.place-search input:focus { box-shadow: none; }
.place-search:focus-within { border-color: var(--brand); }
.place-search button { min-height: 48px; }
.place-chips .chip { min-height: 36px; font-size: .88rem; }
.chip.whole { padding-left: 14px; background: var(--bg-2); }
.country-title .flag { margin-right: .3em; }
.place-pick { display: grid; gap: 8px; max-width: 560px; }
.place-pick select { flex: 1; }

/* verdict + its action bar sit together */
.verdict { --soft: var(--panel); --edge: var(--line); --accent: var(--l0);
  display: grid; gap: 18px; padding: clamp(20px, 3vw, 28px); background: var(--soft); border: 1px solid var(--edge); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.verdict::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--accent); }
.verdict.l1, .place-panel.l1 { --soft: var(--l1-soft); --edge: var(--l1-edge); --accent: var(--l1); }
.verdict.l2, .place-panel.l2 { --soft: var(--l2-soft); --edge: var(--l2-edge); --accent: var(--l2); }
.verdict.l3, .place-panel.l3 { --soft: var(--l3-soft); --edge: var(--l3-edge); --accent: var(--l3); }
.verdict.l4, .place-panel.l4 { --soft: var(--l4-soft); --edge: var(--l4-edge); --accent: var(--l4); }
.verdict-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.kicker { color: var(--ink-2); }
.verdict-main { display: flex; gap: 18px; align-items: center; }
.verdict-level { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.verdict-sub { color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.agree { color: var(--ink-2); }
.agree strong { color: var(--ink); }
.parts { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.parts strong { color: var(--ink); }
.why { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--edge); }
.why-label { font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.missing { font-size: .9rem; color: var(--ink-2); padding: 10px 14px; background: var(--panel); border-radius: var(--r-sm); border: 1px dashed var(--line-2); }
.scale-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scale-bar li { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--ink-3); font-weight: 600; line-height: 1.25; }
.scale-bar li span { display: block; height: 6px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink-3) 20%, transparent); font-size: 0; }
.scale-bar .s1.on span { background: var(--l1); } .scale-bar .s2.on span { background: var(--l2); }
.scale-bar .s3.on span { background: var(--l3); } .scale-bar .s4.on span { background: var(--l4); }
.scale-bar li.on { color: var(--ink); font-weight: 750; }
@media (max-width: 520px) { .scale-bar li { font-size: .7rem; } }

/* compare on the left, share on the right, always one row */
.action-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 16px; padding: 16px 20px; }
.action-bar .compare { display: grid; gap: 6px; min-width: 0; }
@media (max-width: 520px) { .action-bar { grid-template-columns: minmax(0, 1fr); align-items: stretch; } }
.share { display: flex; align-items: center; gap: 12px; }
.share-msg:empty { display: none; }
.share-msg { font-size: .88rem; color: var(--ink-3); }

/* the picked place */
.place-panel { --soft: var(--panel); --edge: var(--line); --accent: var(--brand);
  display: grid; gap: 16px; padding: clamp(20px, 3vw, 26px); background: var(--soft); border: 1px solid var(--edge); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.place-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--accent); }
.place-panel.clear-panel { --soft: var(--l1-soft); --edge: var(--l1-edge); --accent: var(--l1); }
.place-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.place-head .kicker { flex-basis: 100%; }
.place-head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.place-head .clear { margin-left: auto; font-size: .9rem; font-weight: 650; }
.place-answer { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pm { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.pm > div { display: grid; gap: 8px; }
.pm blockquote, .area-say blockquote { padding: 10px 14px; border-left: 3px solid var(--line-2); background: var(--panel); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); font-size: .92rem; }
.pm-src { font-size: .86rem; color: var(--ink-3); }

.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; } /* six governments: 3 × 2 */
.gov { display: grid; gap: 12px; align-content: start; padding: 20px; }
.gov.none { background: transparent; border-style: dashed; color: var(--ink-3); box-shadow: none; }
.gov-level { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.gov-note { font-size: .88rem; color: var(--ink-2); }
.gov-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .86rem; color: var(--ink-3); padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.gov-meta a { font-weight: 650; text-decoration: none; }
.gov-meta a:hover { text-decoration: underline; }

/* advice for specific areas */
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.area { overflow: hidden; }
.area.hit { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.area summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.area summary::-webkit-details-marker { display: none; }
.area summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--ink-3); line-height: 1; }
.area details[open] summary::after { content: "–"; }
.area-name { font-weight: 700; }
.area-level { font-size: .88rem; color: var(--ink-2); }
.area-govs { font-size: .8rem; font-weight: 650; color: var(--ink-3); padding: 2px 10px; border-radius: var(--pill); background: var(--bg-2); }
.area-say { display: grid; gap: 8px; padding: 0 18px 16px; }
.area-say + .area-say { padding-top: 12px; border-top: 1px solid var(--line); }
.area-say p:last-child { font-size: .86rem; }

.remind { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; padding: clamp(20px, 3vw, 32px); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
.remind > div { display: grid; gap: 8px; }
.remind > div p { color: var(--ink-2); }
.remind form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.remind label { display: grid; gap: 6px; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.remind .date-echo { flex-basis: 100%; font-size: .9rem; color: var(--ink-2); }
.remind .date-echo:empty { display: none; }
@media (max-width: 760px) { .remind { grid-template-columns: 1fr; } }
/* compact: sits in the country page's left column, under compare/share */
.remind.compact { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.remind.compact h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.remind.compact h2 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.remind.compact > p { color: var(--ink-2); font-size: .94rem; }
.remind.compact form { gap: 10px; }
.remind.compact label { flex: 1 1 150px; }
.remind.compact input, .remind.compact select { width: 100%; }

.sources { padding-top: 24px; border-top: 1px solid var(--line); }
.src-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.src-grid > div { display: grid; gap: 10px; align-content: start; }
.src-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.src-grid a { font-weight: 600; }

/* ---------- 9. compare, about, offers ---------- */
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.cmp-col { --soft: var(--panel); --edge: var(--line); display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--soft); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.cmp-col.l1 { --soft: var(--l1-soft); --edge: var(--l1-edge); } .cmp-col.l2 { --soft: var(--l2-soft); --edge: var(--l2-edge); }
.cmp-col.l3 { --soft: var(--l3-soft); --edge: var(--l3-edge); } .cmp-col.l4 { --soft: var(--l4-soft); --edge: var(--l4-edge); }
.cmp-col h2 { font-size: 1.5rem; }
.cmp-col h2 .flag { margin-right: .3em; }
.cmp-level { display: flex; gap: 14px; align-items: center; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.cmp-govs { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; padding-top: 14px; border-top: 1px solid var(--edge); font-size: .92rem; }
.cmp-govs dt { color: var(--ink-3); font-weight: 650; }
.cmp-govs dd { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.cmp-hz { font-size: .92rem; color: var(--ink-2); }
.cmp-col .button { justify-self: start; }
.compare.inline { display: grid; gap: 10px; max-width: 560px; }
.compare.inline label { font-weight: 700; }

.prose { display: grid; gap: 16px; max-width: 68ch; padding-top: 24px; }
.prose h2 { margin-top: 16px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--ink-2); }

.offers h2 { font-size: 1rem; color: var(--ink-2); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.offer { display: grid; gap: 4px; padding: 16px; color: var(--ink); text-decoration: none; }
.offer:hover { border-color: var(--brand); }
.offer span:last-child:not(.offer-tag) { color: var(--ink-2); font-size: .9rem; }
.offer-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.disclosure { font-size: .82rem; color: var(--ink-3); }
.footer-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 32px; }

/* private /stats dashboard */
.p0{width:0}
.st-ranges a { margin-right: 10px; }
.st-ranges a[aria-current] { font-weight: 800; text-decoration: none; color: var(--ink); }
.st-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 8px 0 20px; }
.st-kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 16px 18px; display: grid; gap: 4px; }
.st-kpi strong { font-size: 1.8rem; line-height: 1.1; }
.st-kpi span { color: var(--ink-3); font-size: .86rem; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.st-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 16px 18px; overflow-x: auto; }
.st-card h2 { font-size: 1rem; margin: 4px 0 10px; }
.st-card h2 + .st-table, .st-card h2 + .st-empty { margin-bottom: 14px; }
.st-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.st-table th { text-align: left; color: var(--ink-3); font-weight: 700; font-size: .78rem; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.st-table td { padding: 6px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.st-table small { color: var(--ink-3); }
.st-bar { display: block; width: 120px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.st-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.st-empty, .st-note { color: var(--ink-3); font-size: .88rem; }
.st-note { margin-top: 18px; max-width: 720px; }
.st-send { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.st-send small { color: var(--ink-3); }

/* phones: long chip lists become one row you swipe sideways, so the answer stays near the top */
@media (max-width: 600px) {
  .place-chips, .hero .popular {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
  }
  .place-chips::-webkit-scrollbar, .hero .popular::-webkit-scrollbar { display: none; }
  .place-chips > *, .hero .popular > * { flex: none; scroll-snap-align: start; }
}

/* phones: the answer, Remind me and Share pinned to the bottom once the answer has scrolled away */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--panel) 94%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px color-mix(in srgb, var(--ink) 10%, transparent);
    transform: translateY(110%); transition: transform .22s ease; }
  .mbar.on { transform: none; }
  .mbar .lvl { flex: none; }
  .mbar-text { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .mbar-text strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mbar-text small { font-size: .78rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mbar-remind { flex: none; min-height: 40px; padding: 0 14px; }
  .mbar-share { flex: none; width: 40px; min-height: 40px; padding: 0; display: inline-grid; place-items: center; }
  .mbar-share svg { width: 18px; height: 18px; }
  body.has-mbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
