@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");}
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");}
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");}
/* Trip Rulebook. Passport-inspired: cool paper, navy ink, one accent in stamp violet.
   The accent never encodes risk; it marks links, focus, scales and interactive tools. */
:root {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --ink: #16213a;
  --muted: #5a677d;
  --line: #dce2eb;
  --brand: #4a36b8;
  --brand-2: #6b58d6;
  --brand-soft: #eeebfb;
  --brand-ink: #ffffff;
  --sky: #3d7fc4;
  --ok: #1d7a55;
  --ok-soft: #e5f4ed;
  --warn: #8a5300;
  --warn-soft: #fff3dc;
  --alert: #b42318;
  --alert-soft: #fdecea;
  --shadow: 0 1px 2px rgba(22, 33, 58, 0.06), 0 8px 24px rgba(22, 33, 58, 0.06);
  --radius: 16px;
  --radius-sm: 10px;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.8rem);
  --measure: 68ch;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f131b;
    --surface: #171d28;
    --surface-2: #1c2330;
    --ink: #e8ecf3;
    --muted: #a3aec0;
    --line: #2a3342;
    --brand: #a797f5;
    --brand-2: #c1b5ff;
    --brand-soft: #231e42;
    --brand-ink: #14102b;
    --sky: #7fb3ea;
    --ok: #6fd3a5;
    --ok-soft: #12291f;
    --warn: #f3c46b;
    --warn-soft: #2c2412;
    --alert: #ff8a80;
    --alert-soft: #2e1614;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: var(--step-0); line-height: 1.55; }
a { color: var(--brand); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; max-width: 20ch; }
h2 { font-size: var(--step-2); font-weight: 700; display: flex; align-items: center; gap: 0.55rem; }
h3 { font-size: var(--step-1); font-weight: 700; }
h4 { font-size: var(--step-0); font-weight: 700; }
p, ul, ol, dl { margin: 0 0 1em; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }
.icon-sm { width: 1em; height: 1em; }
.icon-h { width: 1.6rem; height: 1.6rem; padding: 0.35rem; box-sizing: content-box; color: var(--brand); background: var(--brand-soft); border-radius: 10px; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.page { padding-block: 1rem 2rem; }
.narrow { max-width: 50rem; padding-top: 2.5rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--surface); color: var(--ink); padding: 0.5rem 0.75rem; z-index: 20; border-radius: 8px; }
.skip:focus { left: 0.5rem; }

/* Header and footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: center; justify-content: space-between; padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step-1); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--brand); color: var(--brand-ink); }
.brand-mark .icon { width: 1.25rem; height: 1.25rem; }
.header-tools { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.site-header nav { display: flex; gap: 0.25rem; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: var(--step--1); padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 40; list-style: none; margin: 0; padding: 0.35rem; min-width: 10rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(22, 33, 58, 0.16); }
.lang-switch a { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.lang-switch a:hover { background: var(--surface-2); }
.lang-switch a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.site-header nav a { color: var(--ink); text-decoration: none; padding: 0.4rem 0.8rem; border-radius: 999px; }
.site-header nav a:hover { background: var(--surface-2); }
.site-header nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

.site-footer { margin-top: 3rem; background: var(--surface); border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.footer-grid { display: grid; gap: 1rem; padding-block: 2rem 2.5rem; }
.footer-grid p { max-width: var(--measure); margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Hero with a light guilloche, like the security pattern on a passport page */
.hero {
  position: relative;
  z-index: 1; /* above the page, so the search suggestions can overflow it */
  padding-block: clamp(2rem, 5vw, 3.75rem) clamp(1.75rem, 4vw, 3rem);
  background:
    repeating-radial-gradient(circle at 105% -10%, transparent 0 22px, color-mix(in srgb, var(--brand) 9%, transparent) 22px 23px),
    repeating-radial-gradient(circle at -5% 120%, transparent 0 30px, color-mix(in srgb, var(--brand) 6%, transparent) 30px 31px),
    linear-gradient(180deg, var(--brand-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}
.eyebrow { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--brand); background: var(--surface); border: 1px solid var(--line); padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.intro { font-size: var(--step-1); max-width: 56ch; color: var(--ink); }
.crumb { font-size: var(--step--1); margin-bottom: 1rem; }
.crumb a { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; font-weight: 700; }

.search { max-width: 40rem; margin-top: 1.5rem; }
.search label { display: block; font-weight: 700; margin-bottom: 0.5rem; }
.search-box { display: flex; align-items: center; gap: 0.6rem; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 0.2rem 1rem; box-shadow: var(--shadow); }
.search-box:focus-within { border-color: var(--brand); }
.search-box .icon { color: var(--muted); }
.search-box input { flex: 1; font: inherit; font-size: var(--step-1); border: 0; padding: 0.7rem 0; background: transparent; color: var(--ink); outline: none; }
.filter-empty { margin-top: 0.75rem; color: var(--muted); }

/* Section navigation on destination pages */
.subnav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0.55rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; text-decoration: none; color: var(--ink); font-size: var(--step--1); font-weight: 700; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.subnav a:hover { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

/* Blocks and cards */
.block { margin-top: 3rem; }
.lede, .muted { color: var(--muted); max-width: var(--measure); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.card h3 { display: flex; align-items: center; gap: 0.5rem; }
.card h3 .icon { color: var(--brand); }
.btn-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }
.btn-ghost { font: inherit; font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 0; border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 18%, var(--surface)); }

/* Verdicts: one card per government, each on its own scale */
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.verdict-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.monogram { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--ink); font-weight: 700; font-size: var(--step--1); letter-spacing: 0.02em; flex: none; }
.card h3.verdict-source { display: block; font-size: var(--step-0); margin: 0; }
.verdict-source span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.advisory + .advisory { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.advisory .scope { font-size: var(--step--1); color: var(--muted); font-weight: 700; margin-bottom: 0.3rem; }
.advisory .label { font-size: var(--step-2); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.advisory .label + .label { font-size: var(--step-1); }
.advisory-missing p { color: var(--muted); }
.scale { display: flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); color: var(--muted); font-weight: 700; }
.segs { display: inline-flex; gap: 3px; }
.seg { width: 1.6rem; height: 0.5rem; border-radius: 999px; background: var(--line); }
.seg.on { background: var(--brand); }
.scale-none { font-style: italic; font-weight: 400; }
.updated { font-size: var(--step--1); margin-bottom: 0.5rem; }
.change { font-size: var(--step--1); color: var(--muted); background: var(--surface-2); border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; }
.change span { display: block; font-weight: 700; color: var(--ink); }
.more { margin: 1rem 0 0; font-size: var(--step--1); }
.notice { background: var(--warn-soft); color: var(--warn); padding: 0.6rem 0.8rem; font-size: var(--step--1); border-radius: var(--radius-sm); border-left: 4px solid currentColor; margin-top: 0.75rem; }

/* Official text */
.provenance { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--step--1); color: var(--muted); max-width: var(--measure); }
.provenance .icon { margin-top: 0.2em; color: var(--brand); }
.official { max-width: 52rem; }
.official-card, .official-intro { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.5rem); }
.official-intro { margin-bottom: 0.75rem; }
.official-card > :last-child, .official-intro > :last-child, .topic-body > :last-child { margin-bottom: 0; }
.official h3, .official h4 { margin-top: 1.25rem; }
.official .application-notice, .official .call-to-action { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 0.75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1em; }
.official .application-notice p:last-child, .official .call-to-action p:last-child { margin-bottom: 0; }
.official abbr[title] { text-decoration: none; }
.accordion-tools { margin-bottom: 0.75rem; }
.topic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.5rem; }
.topic summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; font-weight: 700; }
.topic summary::-webkit-details-marker { display: none; }
.topic summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); flex: none; }
.topic[open] summary::after { content: "−"; }
.topic[open] summary { border-bottom: 1px solid var(--line); }
.topic summary:hover { background: var(--surface-2); border-radius: var(--radius-sm); }
.topic-body { padding: 1rem 1.1rem 1.1rem; }
.emergency .official-card { border-color: color-mix(in srgb, var(--alert) 35%, var(--line)); background: linear-gradient(0deg, var(--surface), var(--surface)) padding-box; box-shadow: inset 5px 0 0 var(--alert), var(--shadow); padding-left: calc(clamp(1rem, 2.5vw, 1.5rem) + 5px); }
.emergency .icon-h { color: var(--alert); background: var(--alert-soft); }

/* What to pack */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; align-items: start; }
.plug-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.plug-facts > div { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0.65rem 0.8rem; }
.fact-label { display: block; font-size: var(--step--1); color: var(--muted); }
.fact-value { font-weight: 700; }
.plugs { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.2rem; }
.plug { display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.power-check { background: var(--brand-soft); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1rem; }
.power-check label, .month-picker label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
select { font: inherit; width: 100%; max-width: 24rem; padding: 0.55rem 0.7rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
select:focus { border-color: var(--brand); }
.power-result { margin-top: 0.75rem; }
.result { padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); margin-bottom: 0.5rem; font-weight: 700; }
.result-ok { background: var(--ok-soft); color: var(--ok); }
.result-warn { background: var(--warn-soft); color: var(--warn); }
.result-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.source-line { font-size: var(--step--1); color: var(--muted); }
.month-picker { margin-bottom: 1rem; }
.climate-chart { width: 100%; max-width: 30rem; height: auto; display: block; }
.climate-chart .bar { fill: color-mix(in srgb, var(--sky) 35%, transparent); }
.climate-chart .bar.active { fill: var(--sky); }
.climate-chart .temp-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; }
.climate-chart text { font-size: 11px; fill: var(--muted); text-anchor: middle; font-family: inherit; }
.chart-key { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.key-bar { width: 0.8rem; height: 0.8rem; border-radius: 3px; background: color-mix(in srgb, var(--sky) 60%, transparent); }
.key-line { width: 1rem; height: 3px; border-radius: 3px; background: var(--brand); margin-left: 0.6rem; }
.month-panels { display: grid; gap: 0.75rem; margin-block: 1rem; }
.month-panel { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.month-panel h4 { margin-bottom: 0.5rem; }
.month-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.4rem 1rem; margin-bottom: 0.75rem; }
.month-stats dt { font-size: var(--step--1); color: var(--muted); }
.month-stats dd { margin: 0; font-weight: 700; }
.suggestions { list-style: none; padding: 0; margin: 0; }
.suggestions li { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.35rem; }
.suggestions .icon { color: var(--ok); margin-top: 0.25em; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.check-group { border: 0; padding: 0; margin: 0; }
.check-group legend { font-weight: 700; margin-bottom: 0.5rem; color: var(--brand); }
.check-item { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.check-item input { width: 1.2rem; height: 1.2rem; margin-top: 0.2em; accent-color: var(--brand); flex: none; }
.check-item input:checked + label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--muted); }
.check-note { display: block; font-size: var(--step--1); color: var(--muted); text-decoration: none; }
.partners { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 0.9rem 1rem; margin-top: 1rem; }
.partners-note { font-size: var(--step--1); color: var(--muted); }

/* Entry links */
.link-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; }
.link-card { display: block; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); color: var(--ink); }
.link-card:hover { border-color: var(--brand); }
.link-who { display: block; font-weight: 700; margin-bottom: 0.25rem; }
.link-where { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--brand); font-size: var(--step--1); }
.small-print { font-size: var(--step--1); color: var(--muted); max-width: var(--measure); }
.small-print h2 { font-size: var(--step-0); }

/* Home */
.how-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.how-grid h3 { margin-top: 0.75rem; }
.how-grid p { color: var(--muted); margin: 0; }
.az ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.az a { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.az a:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.legend { font-size: var(--step--1); }
.letter-group { margin-top: 1.75rem; }
.letter { font-size: var(--step-2); color: var(--brand); border-bottom: 2px solid var(--line); padding-bottom: 0.3rem; }
.dest-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.85rem; }
.dest-card { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.12s ease, border-color 0.12s ease; }
.dest-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.dest-name { display: block; font-size: var(--step-1); font-weight: 700; margin-bottom: 0.6rem; }
.mini { margin: 0; display: grid; gap: 0.35rem; font-size: var(--step--1); }
.mini-row { display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; align-items: start; }
.mini dt { font-weight: 700; color: var(--muted); }
.mini dd { margin: 0; }
.mini-item { display: block; }
.mini-item + .mini-item { margin-top: 0.2rem; }
.mini-scope { color: var(--muted); }
.mini-none { color: var(--muted); font-style: italic; }
.mini-segs { display: inline-flex; gap: 2px; margin-right: 0.4rem; vertical-align: 0.1em; }
.mini-segs span { width: 0.7rem; height: 0.35rem; border-radius: 999px; background: var(--line); }
.mini-segs span.on { background: var(--brand); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-1); margin-top: 2rem; }

/* Motion: smooth jumps to sections, a brief highlight on arrival, gentle reveals.
   Everything here is switched off when the system asks for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .block:target > h2 .icon-h { animation: arrive 1.4s ease-out; }
  .block:target > h2 { animation: arrive-text 1.4s ease-out; }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .letter-group.enter .dest-item { animation: rise 0.35s ease both; }
  .letter-group.enter .dest-item:nth-child(2) { animation-delay: 0.03s; }
  .letter-group.enter .dest-item:nth-child(3) { animation-delay: 0.06s; }
  .letter-group.enter .dest-item:nth-child(4) { animation-delay: 0.09s; }
  .letter-group.enter .dest-item:nth-child(n + 5) { animation-delay: 0.12s; }
  .search-list:not([hidden]) { animation: drop 0.15s ease-out; }
}
@keyframes arrive { 0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); } 30% { transform: scale(1.12); } 100% { transform: scale(1); box-shadow: 0 0 0 14px transparent; } }
@keyframes arrive-text { 0%, 40% { color: var(--brand); } 100% { color: inherit; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.subnav a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Search suggestions */
.search { position: relative; }
.search-list { position: absolute; left: 0; right: 0; z-index: 30; list-style: none; margin: 0.4rem 0 0; padding: 0.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(22, 33, 58, 0.16); max-height: 22rem; overflow-y: auto; }
.search-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.85rem; border-radius: 10px; cursor: pointer; }
.search-opt[aria-selected="true"], .search-opt:hover { background: var(--brand-soft); }
.opt-name { font-weight: 700; }
.opt-name mark { background: none; color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.opt-alt { font-size: var(--step--1); color: var(--muted); text-align: right; }

/* Letter browsing */
.az-bar { display: flex; align-items: center; gap: 0.5rem; }
.az-bar ul { flex: 1; margin: 0; }
.az-step { font: inherit; font-size: 1.4rem; line-height: 1; width: 2.4rem; height: 2.4rem; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--brand); cursor: pointer; box-shadow: var(--shadow); }
.az-step:hover:not(:disabled) { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.az-step:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.az a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.az-status { font-size: var(--step--1); color: var(--muted); margin: 0.75rem 0 0; }

@media (max-width: 40rem) {
  .advisory .label { font-size: var(--step-1); }
  .header-row { padding-block: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
