/* Self-hosted: Commissioner (variable wght/FLAR/VOLM) and PT Mono. Generated by tools/fetch_fonts.py */
@font-face{font-family:"Commissioner";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/commissioner-100-900-cyrillic.woff2) format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Commissioner";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/commissioner-100-900-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Commissioner";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/commissioner-100-900-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:"PT Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-mono-400-cyrillic.woff2) format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"PT Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-mono-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"PT Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pt-mono-400-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}

/* VisaInvitation, "consular paper" (October 2026).
   Cool paper ground, ink text, one accent: stamp-ink vermilion.
   Sharp corners everywhere, light and dark themes from the system setting.
   Document motifs (guilloche, stamps, field labels) carry the visuals. */

:root {
  --bg: #efefea;
  --surface: #f7f7f3;
  --paper: #fffffc;
  --ink: #15171c;
  --ink-2: #3b3e45;
  --muted: #555963;
  --line: #d6d6ce;
  --line-2: #e3e3dc;
  --bar: #dcdcd4;
  --accent: #c23b24;
  --accent-ink: #a5311e;
  --accent-soft: #f5ddd5;
  --on-accent: #ffffff;
  --ok: #1f6b3a;
  --focus: #c23b24;
  --shadow: 0 30px 60px -30px rgba(60, 40, 30, .35);
  --max: 1240px;
  --sans: "Commissioner", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "PT Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111216;
    --surface: #17191e;
    --paper: #1d1f25;
    --ink: #ecece5;
    --ink-2: #c9cad0;
    --muted: #a3a6ae;
    --line: #2d3037;
    --line-2: #25282e;
    --bar: #33363e;
    --accent: #f0694c;
    --accent-ink: #f58c74;
    --accent-soft: #3a2019;
    --on-accent: #15171c;
    --ok: #6fcf8f;
    --focus: #f0694c;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }

.skip { position: absolute; left: -9999px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 600; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Notice band (legal: independent, not a government body) ---------- */

.notice-band { border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.notice-band .wrap { display: flex; align-items: center; gap: 10px; min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
.notice-band svg { flex: none; color: var(--muted); }

/* ---------- Header ---------- */

.masthead { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font: 600 13px var(--mono); transform: rotate(-8deg); transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(0); }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }

.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.mainnav a { display: block; padding: 8px 10px; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.mainnav a:hover { color: var(--accent-ink); }
.mainnav a[aria-current="page"] { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent); }
.mainnav a.nav-cta {
  margin-left: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 500;
  transition: background .2s, transform .25s var(--ease);
}
.mainnav a.nav-cta:hover { background: var(--accent-ink); color: var(--on-accent); }
.mainnav a.nav-cta:active { transform: scale(.98); }
.mainnav a.nav-cta[aria-current="page"] { box-shadow: none; }

.head-end { display: flex; align-items: center; gap: 6px; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px;
  padding: 0 10px; font: 500 13px var(--mono); color: var(--muted); text-transform: uppercase;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); }
.lang-switch {
  position: absolute; right: 0; top: 100%; background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 160px; padding: 6px 0; z-index: 20;
}
.lang-switch a { padding: 9px 16px; text-decoration: none; color: var(--ink); font-size: 15px; }
.lang-switch a:hover { background: var(--surface); }
.lang-switch a[aria-current="true"] { color: var(--accent-ink); font-weight: 600; }

.nav-cb, .nav-burger { display: none; }

/* ---------- Breadcrumb ---------- */

.crumbs { font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 18px 0 0; }
.crumbs li + li::before { content: "/"; color: var(--line); margin-right: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Inner page grid ---------- */

.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 40px 0 80px; align-items: start; }
.layout.single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

.sidebar { position: sticky; top: 24px; font-size: 15px; }
.sidebar h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.sidebar ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.sidebar a {
  display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 0 7px 14px; margin-left: -1px;
  text-decoration: none; color: var(--muted); line-height: 1.35; border-left: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.sidebar a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font: 12px/1.9 var(--mono); color: var(--line); }
.sidebar a:hover { color: var(--ink); }
.sidebar a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.sidebar a[aria-current="page"]::before { color: var(--accent); }

.content { max-width: 760px; min-width: 0; }

h1 { font-weight: 600; font-size: 52px; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; }
.eyebrow { font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--accent-ink); margin: 0 0 14px; }
.lead { font-size: 21px; line-height: 1.55; color: var(--muted); margin: 0 0 34px; padding-bottom: 34px; border-bottom: 1.5px solid var(--ink); }

.content h2 { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 64px 0 16px; scroll-margin-top: 24px; }
.content h2 .num { display: block; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--accent-ink); margin-bottom: 10px; }
.content h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 32px 0 10px; }
.content p { margin: 0 0 18px; }

.atomic { font-size: 20px; line-height: 1.55; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 16px 20px; margin: 0 0 22px; }

.content ul, .content ol { margin: 0 0 22px; padding-left: 22px; }
.content li { margin-bottom: 8px; }
.content li::marker { color: var(--accent); }

ol.steps { list-style: none; padding-left: 0; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 16px; min-height: 32px; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px;
  display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent-ink);
  font: 500 14px var(--mono);
}

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
caption { text-align: left; font: 500 12px var(--mono); letter-spacing: .04em; color: var(--muted); padding: 14px 16px 0; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font: 500 12.5px var(--mono); letter-spacing: .03em; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
tbody th { font-weight: 600; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: var(--surface); }

/* ---------- Callouts ---------- */

.callout { border: 1px solid var(--line); background: var(--paper); padding: 18px 22px; margin: 0 0 28px; position: relative; }
.callout h2, .callout h3 { margin: 0 0 8px; font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 0; padding: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.alert { border-color: var(--accent); background: var(--accent-soft); }
.callout.alert h2, .callout.alert h3 { color: var(--accent-ink); }

/* ---------- Generic cards (inner pages) ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 34px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 22px; transition: border-color .2s, transform .3s var(--ease); }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }

.facts { border: 1px solid var(--line); background: var(--paper); margin: 0 0 34px; }
.facts dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 240px) 1fr; }
.facts dt { padding: 12px 18px; font: 500 13px/1.6 var(--mono); color: var(--muted); border-bottom: 1px solid var(--line-2); }
.facts dd { padding: 12px 18px; margin: 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
.facts dl > :nth-last-child(-n+2) { border-bottom: 0; }

.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0 0 30px; }
.country-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 16px;
  transition: border-color .2s, transform .3s var(--ease);
}
.country-grid a:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.country-grid .tag { font: 500 11.5px var(--mono); color: var(--accent-ink); }
.country-grid .tag.yes { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { border-top: 1.5px solid var(--ink); margin: 40px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 500; font-size: 19px; line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px var(--mono); color: var(--accent-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }
.faq .answer p { margin: 0; }
.faq > h2 { margin-top: 0; padding-top: 28px; }

/* ---------- Request form ---------- */

.form-panel { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 30px; margin: 0 0 30px; }
.fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.fieldset legend { font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); padding: 0 0 10px; margin-bottom: 18px; width: 100%; border-bottom: 1.5px solid var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: end; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.field .hint { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; min-height: 50px; padding: 10px 12px; border: 1px solid var(--ink);
  background: var(--bg); color: var(--ink); border-radius: 0; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.req { color: var(--accent-ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  font: inherit; font-weight: 500; font-size: 17px; white-space: nowrap; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 0;
  transition: background .2s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-ink); color: var(--on-accent); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.secondary, .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.secondary:hover, .btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.form-msg { padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--line); border-left: 3px solid var(--ink); background: var(--surface); font-size: 16.5px; }
.form-msg.ok { border-left-color: var(--ok); }
.form-msg.err { border-left-color: var(--accent); background: var(--accent-soft); }

/* ---------- Final call to action (all pages) ---------- */

.cta-strip { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); padding: 96px 0; margin-top: 64px; }
.cta-strip .wrap { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 52px; line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0 0 16px; max-width: 14ch; }
.cta-strip p { margin: 0; opacity: .75; max-width: 46ch; font-size: 19px; }
.cta-strip .guil { color: var(--accent); opacity: .35; right: -140px; }

/* ---------- Meta line, related, sources ---------- */

.meta-line { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 48px; display: flex; gap: 18px; flex-wrap: wrap; }
.ref { font-family: var(--mono); font-size: 13px; }

.related { border-top: 1.5px solid var(--ink); padding-top: 24px; margin-top: 48px; }
.related h2 { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 14px; border: 0; padding: 0; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.related li { margin: 0; }
.related a { display: block; height: 100%; background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; text-decoration: none; font-weight: 500; transition: border-color .2s, transform .3s var(--ease); }
.related a:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.related-note { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 400; }

.sources { margin: 36px 0 0; padding: 20px 22px; border: 1px solid var(--line); background: var(--paper); }
.sources h2 { font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; border: 0; padding: 0; }
.sources p { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.sources ul { margin: 0; padding-left: 18px; font-size: 15px; }
.sources li { margin: 0 0 4px; }

.content .q-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.content .q-list li { margin: 0; border-bottom: 1px solid var(--line); }
.content .q-list a { display: block; padding: 11px 0; text-decoration: none; }
.content .q-list a:hover { color: var(--accent-ink); }

/* ---------- Diagrams: kept on a light sheet in both themes ---------- */

.figure { margin: 28px 0; border: 1px solid var(--line); background: #fffffc; box-shadow: var(--shadow); color: #15171c; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { border-top: 1px solid #d6d6ce; background: #f7f7f3; padding: 12px 18px; font-size: 14.5px; color: #3b3e45; }
.figure figcaption b { font-weight: 600; color: #15171c; }
.figure-key { margin: 0 0 28px; padding: 0 0 0 20px; font-size: 16px; }
.figure-key li { margin: 0 0 6px; }
.figure-key li::marker { font-family: var(--mono); color: var(--accent); }

.consent { border: 1px solid var(--line); background: var(--surface); padding: 18px 20px; margin: 26px 0 22px; }
.consent h2 { font: 500 12.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; border: 0; padding: 0; }
.consent p { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.consent-check input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; color: var(--ink); }
.footer a:hover { color: var(--accent-ink); }
.footer p { margin: 0 0 10px; color: var(--muted); max-width: 34em; }
.footer-legal { padding-top: 20px; font: 13px var(--mono); color: var(--muted); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ================================================================== */
/* Home page                                                           */
/* ================================================================== */

.sec { padding: 112px 0 0; }
.sec-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 104px 0 96px; margin-top: 112px; }
.sec-tint + .sec { padding-top: 112px; }
.h2 { margin: 0; font-size: 46px; line-height: 1.05; letter-spacing: -.03em; font-weight: 600; max-width: 20ch; }
.sub { margin: 18px 0 44px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 56ch; }
.more { display: inline-block; margin-top: 22px; font-weight: 500; }

/* hero */
html { overflow-x: clip; }
.home-hero { position: relative; overflow-x: clip; }
.names + .sec-tint { margin-top: 0; border-top: 0; }
.home-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.home-hero h1 { font-size: 62px; line-height: 1.02; max-width: 13ch; margin: 0; }
.hl { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); padding: 0 .06em; }
.home-hero .lead { border: 0; padding: 0; margin: 28px 0 0; font-size: 19px; max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.guil { position: absolute; width: 760px; height: 760px; right: -170px; top: 50%; margin-top: -380px; pointer-events: none; color: var(--accent); opacity: .2; animation: spin 140s linear infinite; }
.guil.g2 { animation-direction: reverse; animation-duration: 200s; opacity: .1; width: 560px; height: 560px; margin-top: -280px; right: -70px; }
@keyframes spin { to { transform: rotate(360deg); } }

.stage { position: relative; perspective: 1600px; padding: 18px 0 0 18px; }
.tilt { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.sheet-back { position: absolute; left: -18px; top: -18px; right: 30px; bottom: 60px; background: var(--surface); border: 1px solid var(--line); transform: rotate(-2.2deg) translateZ(-40px); }
.sheet { position: relative; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px 26px 22px; overflow: hidden; }
.holo { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .55; background: linear-gradient(115deg, transparent 20%, rgba(255,140,120,.28) 34%, rgba(120,200,255,.28) 44%, rgba(190,255,170,.25) 52%, transparent 66%); background-size: 240% 240%; background-position: var(--mx, 50%) 50%; transition: background-position .6s var(--ease); }
@media (prefers-color-scheme: dark) { .holo { mix-blend-mode: screen; opacity: .35; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; }
.sheet-title { font: 500 11.5px var(--mono); letter-spacing: .04em; }
.sheet-sub { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.sheet-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 16px; }
.sheet-col { display: flex; flex-direction: column; gap: 6px; }
.sheet-col + .sheet-col { border-left: 1px dashed var(--line); padding-left: 22px; }
.col-h { font: 500 10.5px var(--mono); letter-spacing: .08em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fld { position: relative; padding: 8px 10px; outline: 1.5px solid transparent; transition: outline-color .25s, background .25s; }
.fld.on { outline-color: var(--accent); background: var(--accent-soft); }
.lbl { font: 500 9.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.br { height: 7px; background: var(--bar); margin-top: 6px; }
.mk {
  position: absolute; right: -13px; top: -11px; width: 26px; height: 26px; z-index: 2; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font: 500 13px var(--mono); border: 1.5px solid var(--accent); background: var(--paper); color: var(--accent-ink);
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.mk:hover { transform: scale(1.15); }
.mk.on { background: var(--accent); color: var(--on-accent); }
.sheet-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sign { width: 160px; border-bottom: 1px solid var(--ink); height: 26px; }
.seal {
  width: 92px; height: 92px; border-radius: 50%; border: 2.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 600 10px/1.25 var(--mono); letter-spacing: .08em; opacity: .92; transform: rotate(-14deg);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6.5px var(--accent);
  animation: stamp .7s .6s cubic-bezier(.2, 1.6, .4, 1) both;
}
.field-note { position: relative; margin: -22px 0 0 -18px; max-width: 380px; background: var(--ink); color: var(--bg); padding: 18px 20px; box-shadow: var(--shadow); transform: translateZ(60px); }
.field-note .n { font: 12px var(--mono); opacity: .7; }
.field-note .t { font-size: 17px; font-weight: 600; margin-top: 6px; }
.field-note .d { font-size: 14.5px; line-height: 1.5; margin-top: 6px; opacity: .85; }
.field-note [hidden] { display: none; }

@keyframes stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.9); } 60% { opacity: 1; } 100% { opacity: .92; transform: rotate(-14deg) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .28s; }

/* glance strip */
.glance { border-top: 1px solid var(--line); }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.glance div { padding: 22px 20px 22px 0; }
.glance div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { font: 500 12px var(--mono); color: var(--muted); }
.glance dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; font-weight: 500; }

/* marquee */
.names { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.names > a { display: block; text-decoration: none; color: var(--ink); }
.mq { display: flex; width: max-content; animation: mq 38s linear infinite; }
.names:hover .mq { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mqi { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 56px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; line-height: 1.15; }
.mqs { width: 16px; height: 16px; border: 2px solid var(--accent); transform: rotate(45deg); flex: none; }
.ghost { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.names .cap { display: block; margin-top: 14px; font: 13px var(--mono); color: var(--muted); }
.names > a:hover .cap { color: var(--accent-ink); }

/* route checker */
.route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ctl { display: flex; flex-direction: column; gap: 28px; }
.ctl-g { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl-g > label, .ctl-g > legend { font-weight: 500; padding: 0; margin-bottom: 8px; }
.ctl select { min-height: 52px; padding: 0 14px; font: inherit; font-size: 17px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; }
.tgs { display: flex; flex-wrap: wrap; gap: 8px; }
.tg { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tg:hover { border-color: var(--ink); }
.tg[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.verdict { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.checks { list-style: none; margin: 0; padding: 8px 28px 4px; }
.chk { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.chk:last-child { border-bottom: 0; }
.chk .ic-no { display: none; color: var(--accent); }
.chk.no .ic-yes { display: none; }
.chk.no .ic-no { display: block; }
.chk .st { font: 500 13px var(--mono); }
.chk .st-no { display: none; color: var(--accent-ink); }
.chk.no .st-yes { display: none; }
.chk.no .st-no { display: inline; }
.result { padding: 28px; border-top: 1.5px solid var(--ink); position: relative; overflow: hidden; }
.result[hidden] { display: none; }
.result .lab { font: 12px var(--mono); color: var(--muted); }
.result .name { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; line-height: 1.15; padding-right: 130px; }
.result .need { font-size: 18px; color: var(--accent-ink); font-weight: 500; margin-top: 4px; }
.result ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 14.5px; line-height: 1.4; }
.result .btn, .result .more { margin-top: 24px; }
.stp { position: absolute; right: 22px; top: 26px; border: 2px solid currentColor; padding: 6px 10px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; animation: stamp .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.stp.bad { color: var(--accent); }
.stp.ok { color: var(--ink); }
.fine { margin: 28px 0 0; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* journey */
.jsvg { display: block; width: 100%; height: auto; overflow: visible; }
.march { stroke-dasharray: 2 10; animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -24; } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
.steps5 { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.steps5 b { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; }
.steps5 span { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* spot the fake */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.duo-item { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mini { position: relative; width: 100%; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; overflow: hidden; }
.mini .sheet-title { border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; margin-bottom: 10px; }
.mini .missing { font: 12px var(--mono); margin-top: 4px; color: var(--muted); min-height: 7px; }
.mini .stp { top: auto; bottom: 22px; right: 18px; font-size: 14px; padding: 8px 12px; display: none; }
.spot.done .mini .stp { display: block; }
.spot.done .mini.fake .ref-f { outline-color: var(--accent); background: var(--accent-soft); }
.spot-out { margin-top: 32px; max-width: 64ch; }
.spot-out .t { font-size: 22px; font-weight: 600; margin: 0; }
.spot-out p { margin: 8px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.js .spot:not(.done) .spot-out { display: none; }
.spot .t-wrong { display: none; }
.spot.wrong .t-right { display: none; }
.spot.wrong .t-wrong { display: block; }

/* cost */
.stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; height: 220px; }
.stairs > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.stairs i { display: block; background: var(--accent); transform-origin: bottom; }
.stairs > div:nth-child(1) i { height: 26%; }
.stairs > div:nth-child(2) i { height: 40%; opacity: .75; }
.stairs > div:nth-child(3) i { height: 66%; background: var(--ink); opacity: .7; }
.stairs > div:nth-child(4) i { height: 100%; background: var(--ink); }
.stairs-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stairs-l b { display: block; font-weight: 600; }
.stairs-l span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.note { font: 12px var(--mono); color: var(--muted); margin: 14px 0 0; }
.flow { margin-top: 56px; border: 1px solid var(--line); background: var(--paper); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow > div { padding: 22px; }
.flow > div + div { border-left: 1px solid var(--line); }
.flow b { display: block; font-size: 19px; font-weight: 600; margin-top: 10px; line-height: 1.3; }
.flow span { display: block; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* document types bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento a { text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 26px; min-height: 160px; display: flex; flex-direction: column; justify-content: flex-start; transition: transform .35s var(--ease), border-color .2s; position: relative; overflow: hidden; }
.bento a:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--ink); }
.bento b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.bento span { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.bento a.big { grid-row: span 2; background: var(--accent); color: var(--on-accent); border-color: var(--accent); justify-content: space-between; min-height: 340px; padding: 32px; }
.bento a.big:hover { color: var(--on-accent); }
.bento a.big b { font-size: 38px; letter-spacing: -.02em; position: relative; }
.bento a.big span { color: inherit; opacity: .9; font-size: 17px; max-width: 30ch; position: relative; }
.bento a.big .tag { font: 13px var(--mono); opacity: .85; margin: 0; }
.bento a.big svg { position: absolute; width: 520px; height: 520px; right: -220px; bottom: -220px; opacity: .25; transition: transform 1.2s var(--ease); }
.bento a.big:hover svg { transform: rotate(30deg); }
.bento a.tint { background: var(--surface); }
.bento a.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bento a.dark span { color: inherit; opacity: .75; }
.bento a.dark:hover { color: var(--bg); }
.bento.n4 a:last-child { grid-column: span 2; }

/* countries split */
.split2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.cbox { background: var(--paper); border: 1px solid var(--line); padding: 26px; }
.cbox.inv { background: var(--accent-soft); }
.cbox-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.cbox-h b { font-size: 20px; font-weight: 600; }
.cbox-h span { font: 12px var(--mono); color: var(--muted); }
.cbox.inv .cbox-h span { color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-size: 15px; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }

.home-faq { max-width: 900px; }

/* scroll reveal where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
  .steps5 .sr { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  .stairs i { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .plane { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .mainnav a { padding: 8px 7px; font-size: 14.5px; }
  .home-hero h1 { font-size: 48px; max-width: 15ch; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 1060px) {
  .masthead .wrap { flex-wrap: wrap; }
  .nav-burger {
    display: flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; padding: 0 4px;
    font: 500 13px var(--mono); text-transform: uppercase; color: var(--ink);
  }
  .nav-burger .bars { position: relative; width: 18px; height: 1.5px; background: currentColor; }
  .nav-burger .bars::before, .nav-burger .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .nav-burger .bars::before { top: -6px; }
  .nav-burger .bars::after { top: 6px; }
  .nav-cb:checked + .nav-burger .bars { background: transparent; }
  .nav-cb:checked + .nav-burger .bars::before { top: 0; transform: rotate(45deg); }
  .nav-cb:checked + .nav-burger .bars::after { top: 0; transform: rotate(-45deg); }
  .nav-cb:focus-visible + .nav-burger { outline: 2px solid var(--focus); outline-offset: 2px; }
  .mainnav { order: 3; width: 100%; }
  .mainnav ul { display: none; flex-direction: column; align-items: stretch; padding: 0 0 16px; gap: 0; }
  .nav-cb:checked ~ .mainnav ul { display: flex; }
  .mainnav li { border-top: 1px solid var(--line); }
  .mainnav a { padding: 13px 0; font-size: 17px; }
  .mainnav a.nav-cta { margin: 12px 0 0; padding: 14px 16px; text-align: center; }
  .head-end { margin-left: auto; order: 1; }
  .nav-burger { order: 2; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .layout > .content { order: 1; }
  .sidebar { order: 2; position: static; margin: 40px 0 0; }
  h1 { font-size: 38px; }
  .lead { font-size: 18.5px; }
  .content h2 { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .cta-strip { padding: 72px 0; }
  .cta-strip h2 { font-size: 38px; }

  .home-hero .wrap { padding-top: 40px; padding-bottom: 64px; }
  .hero-grid, .route, .split2, .duo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .home-hero h1 { font-size: 42px; }
  .sheet { padding: 18px; }
  .sheet-cols { grid-template-columns: minmax(0, 1fr); }
  .sheet-col + .sheet-col { border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 14px; }
  .mk { right: 4px; top: 4px; }
  .guil { width: 520px; height: 520px; margin-top: -260px; right: -220px; }
  .glance dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .glance div, .glance div + div { padding: 16px 12px 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .sec { padding-top: 80px; }
  .sec-tint { padding: 72px 0; margin-top: 80px; }
  .sec-tint + .sec { padding-top: 80px; }
  .h2 { font-size: 34px; }
  .mqi { font-size: 36px; }
  .result ul { grid-template-columns: minmax(0, 1fr); }
  .result .name { font-size: 28px; }
  .jsvg { display: none; }
  .steps5 { grid-template-columns: minmax(0, 1fr); border-left: 2px solid var(--accent); padding-left: 20px; }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .flow > div + div { border-left: 0; }
  .flow > div { border-top: 1px solid var(--line); }
  .flow > div:nth-child(-n+2) { border-top: 0; }
  .flow > div:nth-child(even) { border-left: 1px solid var(--line); }
  .stairs-l span { font-size: 13px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento a.big { grid-row: auto; min-height: 260px; }
  .bento.n4 a:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .home-hero h1 { font-size: 38px; }
  .cta-strip .wrap { flex-direction: column; align-items: flex-start; }
  .notice-band span { font-size: 12.5px; line-height: 1.35; }
}

@media print {
  .mainnav, .lang, .cta-strip, .sidebar, .skip, .notice-band, .guil, .names { display: none; }
  body { font-size: 12pt; background: #fff; color: #000; }
  a { text-decoration: none; color: #000; }
  .layout { grid-template-columns: 1fr; }
}

/* The lead already closes with a rule; a heading straight after it would add a second gap. */
.lead + h2 { margin-top: 12px; }

/* ---------- Cookie notice: honest "no tracking" card, bottom left ---------- */

.cookie-note {
  position: fixed; left: 24px; bottom: 24px; z-index: 40; max-width: 380px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 18px 20px 16px; animation: rise .6s var(--ease) both;
}
.cookie-note[hidden] { display: none; }
.cookie-note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.cookie-h { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.cookie-note p { margin: 6px 0 14px; font-size: 15px; line-height: 1.5; }
.cookie-act { display: flex; align-items: center; gap: 16px; }
.cookie-act .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cookie-act a { font-size: 15px; }
@media (max-width: 560px) {
  .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media print { .cookie-note { display: none; } }

/* ================================================================== */
/* Refinement, 13.10.2026: less template, more paper.                 */
/* Rule: monospace is "typed on the document" and lives only on       */
/* document artefacts (sheet fields, stamps, field numbers, refs).    */
/* Interface labels are set in the text face, sentence case.          */
/* ================================================================== */

body { font-variation-settings: "FLAR" 0, "VOLM" 0; }

/* Display: Commissioner's flared terminals read as engraved lettering,
   the same family of marks as the guilloche. Tracking eased off. */
h1, .h2, .content h2, .cta-strip h2, .mqi, .result .name, .bento b, .spot-out .t, .steps5 b, .flow b {
  font-variation-settings: "FLAR" 100, "VOLM" 0;
}
h1, .home-hero h1, .cta-strip h2 { font-weight: 640; letter-spacing: -.022em; }
.h2, .content h2 { font-weight: 620; letter-spacing: -.018em; }
.mqi { font-weight: 620; letter-spacing: -.015em; }
.result .name, .bento a.big b { letter-spacing: -.012em; }

/* Interface labels: out of uppercase mono, into the text face. */
.sidebar h2, .related h2, .sources h2, .callout h2, .callout h3, .consent h2, .footer h2,
.fieldset legend, .cookie-h, .eyebrow, .content h2 .num, .faq summary::after,
.glance dt, .flow .lbl, .result .lab, .cbox-h span, .bento a.big .tag, .names .cap, .footer-legal,
.lang summary, .nav-burger, caption, thead th, .facts dt {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
}
.sidebar h2, .related h2, .sources h2, .footer h2, .callout h2, .callout h3, .consent h2 { font-size: 14px; font-weight: 600; }
.fieldset legend { font-size: 15px; font-weight: 600; }
.cookie-h { font-size: 13px; font-weight: 600; }
.eyebrow, .content h2 .num { font-size: 14px; font-weight: 500; }
.glance dt, .result .lab, .cbox-h span, .names .cap, .footer-legal, caption { font-size: 13.5px; font-weight: 400; }
.flow .lbl { font-size: 13.5px; font-weight: 400; color: var(--muted); }
thead th, .facts dt { font-size: 14px; font-weight: 600; }
.bento a.big .tag { font-size: 14px; }
.lang summary, .nav-burger { font-size: 14px; font-weight: 500; }
.faq summary::after { font-weight: 300; }

/* No lifting cards: a border is enough to say "clickable". */
.card:hover, .country-grid a:hover, .related a:hover, .chip:hover, .bento a:hover { transform: none; }
.bento a.big:hover svg { transform: rotate(18deg); }

/* Big soft shadows only on physical paper (hero sheet, sample letters, field note). */
.verdict, .form-panel, .figure { box-shadow: none; }

/* The document numbers and stamps keep the mono, slightly larger since PT Mono runs narrow. */
.mk { font-size: 14px; }
.sheet-title { font-size: 12px; }
.lang summary { text-transform: uppercase; }

/* Side stripes on callouts are a template tell: key answers sit on a plain sheet instead. */
.atomic { border-left: 1px solid var(--line); font-variation-settings: "FLAR" 40; }
.cookie-note::before { display: none; }

/* ---------- Invitation checker: a form sheet you type into ---------- */

.checker { position: relative; margin: 0 0 56px; background: var(--paper); border: 1px solid var(--line); padding: 28px 28px 22px; }
.checker::after {
  content: ""; position: absolute; inset: auto 0 -7px 0; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 16px);
}
.content .checker h2 { margin: 0 0 10px; padding: 0; font-size: 28px; }
.checker-lead { margin: 0 0 6px; color: var(--ink-2); max-width: 60ch; }
.checker-note { margin: 0 0 4px; font-size: 15.5px; color: var(--accent-ink); max-width: 60ch; }
.checker-form { margin-top: 22px; }
.checker-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.checker-row { display: flex; gap: 10px; }
.checker-row input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: 0;
  font: 18px var(--mono); letter-spacing: .02em; color: var(--ink);
  background: var(--bg); border: 1px solid var(--ink);
}
.checker-row input::placeholder { color: var(--muted); opacity: 1; }
.checker-row input::-webkit-search-cancel-button { filter: grayscale(1); }
.checker-row .btn { min-height: 54px; }
.checker-hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.checker.busy .checker-row input { background-image: linear-gradient(90deg, transparent, var(--accent-soft), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: ck-scan 1s linear infinite; }
@keyframes ck-scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }

.checker-out:not(:empty) { margin-top: 22px; }
.ck-msg { margin: 0 0 12px; font-size: 16px; }
.ck-msg.wait { color: var(--muted); }
.ck-msg.none, .ck-msg.err { padding: 14px 16px; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--accent); }
.ck-list { border-top: 1.5px solid var(--ink); }
.ck-card { border-bottom: 1px solid var(--line); }
.ck-card summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; min-height: 44px;
}
.ck-card summary::-webkit-details-marker { display: none; }
.ck-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ck-name { font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ck-num { font: 14px var(--mono); color: var(--muted); }
.ck-card .stp { position: static; flex: none; font-size: 11.5px; padding: 6px 9px; white-space: nowrap; animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.ck-body { padding: 0 0 20px; }
.ck-full { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.ck-dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; font-size: 15px; }
.ck-dl div { display: contents; }
.ck-dl dt { color: var(--muted); }
.ck-dl dd { margin: 0; overflow-wrap: anywhere; }
.ck-dl dd.mono { font-family: var(--mono); }
.ck-verdict { margin: 16px 0 0; padding: 12px 14px; font-size: 15.5px; background: var(--surface); border: 1px solid var(--line); }
.ck-card.no .ck-verdict { background: var(--accent-soft); border-color: var(--accent); }
.checker-meta { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

@media (max-width: 560px) {
  .checker { padding: 20px 16px 18px; margin-left: -4px; margin-right: -4px; }
  .content .checker h2 { font-size: 24px; }
  .checker-row { flex-direction: column; }
  .checker-row .btn { justify-content: center; }
  .ck-card summary { align-items: flex-start; }
  .ck-dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ck-dl dd { margin-bottom: 8px; }
}
.ck-card .stp { animation-name: ck-stamp; transform: rotate(-4deg); }
@keyframes ck-stamp { 0% { opacity: 0; transform: rotate(-4deg) scale(1.6); } 100% { opacity: .95; transform: rotate(-4deg) scale(1); } }
@media (max-width: 560px) {
  .ck-card summary { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Related sections: the note sits inside the card, under the title. */
.related a { display: flex; flex-direction: column; gap: 6px; line-height: 1.35; }
.related-note { margin-top: 0; line-height: 1.45; }
.related + .meta-line { margin-top: 32px; }
