:root {
  --nav: 64px;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #3b6ef5;
  --blue-deep: #1d4ed8;
  --paper: #fbfcfe;
  --cream: #f4efe4;
  --gold: #c6a15b;
  --navy: #12203a;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% 18%, rgba(255, 255, 255, 0.9), transparent 70%),
    #e7eef6;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
a { color: var(--blue-deep); }
::selection { background: #dbe7ff; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.wordmark { font-weight: 700; letter-spacing: -0.03em; font-size: 18px; }
.wordmark span { font-weight: 600; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: #334155;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 600;
}
.lang span, .lang a {
  min-width: 28px;
  text-align: center;
  text-decoration: none;
  color: #64748b;
  border-radius: 999px;
  padding: 4px 6px;
}
.lang span { background: white; color: var(--ink); }
.login { color: #334155; text-decoration: none; font-size: 14.5px; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #2f5eeb; }
.btn-green { background: #16a34a; color: white; }
.btn-green:hover { background: #15803d; }
.btn-light { background: white; color: var(--blue-deep); }
.btn-ghost-light {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
button:disabled { opacity: 0.38; cursor: not-allowed; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.stage {
  position: fixed;
  z-index: 1;
  top: var(--nav);
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  padding: 12px 64px 36px;
  pointer-events: none;
}
.passport, .hint, .pager { pointer-events: auto; }

.passport {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  height: min(760px, 100%);
  padding: 14px 14px 14px 42px;
  border-radius: 16px 22px 22px 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(165deg, #24365c 0%, #10192e 46%, #1a2b4c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(198, 161, 91, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 60px rgba(15, 23, 42, 0.28);
}
.cover-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  margin: 0;
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.book {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  perspective: 2800px;
  perspective-origin: 50% 45%;
  border-radius: 10px;
}
.board { min-width: 0; min-height: 0; position: relative; }
.board.right { grid-column: 2; }

.id-page, .endpaper, .face {
  height: 100%;
  position: relative;
}
.id-page {
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  padding: 26px 28px 18px 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(198, 161, 91, 0.16), transparent 28%),
    repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(30, 58, 138, 0.025) 6px),
    var(--cream);
  color: #2c261c;
  display: flex;
  flex-direction: column;
}
.id-page::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 26px;
  background: linear-gradient(270deg, rgba(16, 24, 48, 0.16), transparent);
  pointer-events: none;
}
.id-kicker, .stamp-page > p:first-child {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: #8a7040;
}
.id-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
}
.id-sub { margin: 6px 0 0; color: #5c5346; }
.emblem { width: 78px; height: 78px; margin-top: 12px; }
.emblem svg { width: 100%; height: 100%; }
.id-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 16px 0 0;
}
.id-grid div { margin: 0; }
.id-grid dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7040;
}
.id-grid dd { margin: 2px 0 0; font-family: var(--serif); font-size: 16px; }
.id-backed {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.yc {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #f26522;
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.mrz {
  margin: 10px 0 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6b6254;
  line-height: 1.45;
}
.id-foot, .page-foot {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}
.id-foot { color: #8a7040; }

.endpaper {
  border-radius: 0 10px 10px 0;
  background:
    repeating-linear-gradient(135deg, rgba(198, 161, 91, 0.08) 0 2px, transparent 2px 10px),
    #efe6d4;
  display: grid;
  place-items: center;
  color: rgba(138, 112, 64, 0.7);
  font-family: var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.leaf {
  --shade: 0;
  --cast: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  pointer-events: none;
}
.leaf.is-current { pointer-events: auto; }
.face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 0 12px 12px 0;
}
.face.front {
  transform: translateZ(1px);
  display: flex;
  flex-direction: column;
  padding: 22px 20px 12px 26px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(59, 110, 245, 0.05), transparent 46%),
    linear-gradient(#fbfcfe, #f7f8fb);
  color: var(--ink);
}
.face.back { transform: rotateY(180deg) translateZ(1px); }
.face.front::before,
.face.back::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 24, 48, 0.16), transparent);
}
.face.front::after,
.face.back::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(16, 24, 48, 0.5), transparent 40%);
  opacity: max(var(--shade), var(--cast, 0));
}
.face.back::after {
  background: linear-gradient(270deg, rgba(16, 24, 48, 0.45), transparent 46%);
}
.tone-slate { background: linear-gradient(#fbfcfe, #f1f5f9); }
.tone-amber { background: linear-gradient(#fffdf8, #fff4e0); }
.tone-grid {
  background-color: #fbfcfe;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.tone-blue {
  background: linear-gradient(155deg, #4f84ff 0%, #2f5fe0 48%, #1e4fd0 100%);
  color: white;
}
.tone-blue .lede,
.tone-blue .fine,
.tone-blue .page-foot { color: rgba(255, 255, 255, 0.82); }
.tone-blue .h-page { color: white; }

.page-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  container-type: inline-size;
}
.can-scroll { overflow: auto; }
.page-foot { position: relative; z-index: 1; flex: none; }

.curl {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 34px 34px;
  border-color: transparent transparent #e7eefc transparent;
  opacity: 0;
  pointer-events: none;
}
.leaf.is-resting .curl { opacity: 1; }

.kicker {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, .h-page {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(28px, 5cqi, 40px); }
h1 span { color: var(--blue); }
.h-page { font-size: clamp(24px, 4.4cqi, 34px); }
.lede { margin: 8px 0 0; color: #475569; font-size: 15px; line-height: 1.45; }
.fine { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.yc-row {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
}
.yc-row strong { color: var(--ink); font-weight: 650; }

.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.cta-row p { margin: 0; color: var(--muted); font-size: 12.5px; }

.scapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.scape {
  position: relative;
  min-height: 84px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.scape span { position: relative; z-index: 1; }
.scape .go { font-weight: 500; opacity: 0.9; }
.scene-us { background: linear-gradient(180deg, #8ec6f5 0%, #f2b56b 46%, #ef7a45 100%); }
.scene-uk { background: linear-gradient(180deg, #f7c1d4 0%, #8aa4e8 52%, #3e4d86 100%); }
.scene-ca { background: linear-gradient(180deg, #f3b0cf 0%, #7d8fe0 42%, #314e86 100%); }
.scene-eu, .scene-hr { background: linear-gradient(180deg, #ffe0a3 0%, #f08a5d 48%, #2f6f91 100%); }
.scene-fi { background: linear-gradient(180deg, #d7e7f7, #7ea2c9 50%, #1f3b5b); }
.scene-dk { background: linear-gradient(180deg, #f3c1b8, #c4554a 55%, #6d2e3a); }
.scene-no { background: linear-gradient(180deg, #d5e8df, #6f9e96 40%, #1e3d4c); }
.scape::after, .country .scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background:
    linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath fill='rgba(255,255,255,.45)' d='M0 50V32h10V22h8v10h8V14h14v18h12V8h8v16h14v8h16V20h12v12h18V12h8v20h16V24h10v8h18V16h8v16h12V50z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.link-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 8px 0 0; font-size: 13px; }
.link-row a { text-decoration: none; font-weight: 600; }
.link-row.muted a { color: #64748b; font-weight: 500; }
.trust { margin-top: auto; padding-top: 8px; }
.trust p {
  margin: 0 0 4px;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  color: #94a3b8;
}
.trust ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.process {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  margin-top: 12px;
  min-height: 0;
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.step h3 { margin: 2px 0 4px; font-size: 15px; }
.step p { margin: 0; color: #475569; font-size: 13px; line-height: 1.4; }
.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: #64748b;
  box-shadow: inset 0 0 0 1px #cbd5e1;
  font-size: 11px;
  font-weight: 700;
}
.step:first-child .num { background: var(--blue); color: white; box-shadow: none; }
.mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.mock header, .review header, .phone header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 11px;
}
.mock-card {
  margin-top: 10px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px;
}
.mock-card p { margin: 0 0 8px; font-weight: 650; font-size: 13px; }
.opt {
  display: flex;
  justify-content: space-between;
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.opt.is-on { box-shadow: inset 0 0 0 1.5px #93c5fd; background: #f8fbff; }
.opt em { font-style: normal; color: var(--blue); }
.mock-caption { margin: 10px 0 6px; font-size: 12px; color: #334155; }
.bar { display: flex; gap: 4px; }
.bar i { height: 3px; border-radius: 99px; background: #e2e8f0; flex: 1; }
.bar i:first-child { background: var(--blue); }

.toolbar { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.search { flex: 1; }
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 14px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
  font-size: 13px;
}
.stepper button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.stepper strong { min-width: 12px; text-align: center; }
.countries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.country {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.country:hover { border-color: #93c5fd; }
.country .scene { height: 48px; position: relative; }
.country .info { padding: 8px 10px 10px; }
.country h3 { margin: 0; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.pills span { font-size: 11px; color: #64748b; }
.pills .hot { color: var(--blue); font-weight: 700; }
.price { margin: 0; display: flex; gap: 4px; align-items: baseline; }
.price b { font-size: 18px; }
.price span, .save, .was { color: #64748b; font-size: 12px; }
.was:empty, .was[hidden] { display: none; }
.save { margin: 2px 0 0; }
.empty { margin: 12px 0; }
.empty button {
  border: 0;
  background: none;
  color: var(--blue-deep);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.quizzes, .tiers, .compare, .duo, .split {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.quizzes, .tiers { grid-template-columns: repeat(3, 1fr); }
.tiers { grid-template-columns: repeat(4, 1fr); }
.compare, .duo, .split { grid-template-columns: 1fr 1fr; align-items: start; }
.quiz, .tier, .compare section, .panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
}
.quiz h3, .panel .h-page { font-size: 18px; }
.quiz p, .panel p { color: #475569; font-size: 13.5px; line-height: 1.45; }
.text-link { font-weight: 700; text-decoration: none; font-size: 14px; }
.tier { text-align: center; padding: 12px 8px; }
.tier p { margin: 0; color: #64748b; font-size: 12px; }
.tier s { color: #94a3b8; font-size: 13px; }
.tier strong { display: block; font-size: 28px; letter-spacing: -0.04em; }
.tier span { color: #64748b; font-size: 12px; }
.tier em {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  color: #047857;
  font-weight: 700;
  font-size: 12px;
}
.tier.is-hot { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59, 110, 245, 0.15); }
.muted-panel { background: #f8fafc; }

.review-wrap { margin-top: 12px; }
.review {
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #f3e3c3;
}
.review header strong { display: block; }
.review header p { margin: 2px 0 0; }
.badge {
  align-self: center;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}
.review ul { list-style: none; margin: 12px 0; padding: 0; }
.review li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; }
.review li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 700; }
.review > p { margin: 0; color: #64748b; font-size: 13px; }

.phone {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.phone header { justify-content: flex-start; align-items: center; margin-bottom: 8px; }
.phone header p { margin: 0; }
.orb { width: 28px; height: 28px; border-radius: 50%; background: #22c55e; flex: none; }
.bubble {
  background: white;
  border-radius: 12px 12px 12px 4px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.bubble.out {
  background: #dcfce7;
  border-radius: 12px 12px 4px 12px;
  margin-left: 24px;
}
.phone-note { margin: 8px 0 0; font-size: 11px; color: #94a3b8; }

.compare h3 { margin: 0 0 8px; font-size: 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  line-height: 1.4;
  border-top: 1px solid #f1f5f9;
}
.compare .yes li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 700; }
.compare .no li::before { content: "–"; position: absolute; left: 0; color: #94a3b8; }

.faq { margin-top: 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 9px 0;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item button::after { content: "+"; color: #94a3b8; font-weight: 500; }
.faq-item button[aria-expanded="true"]::after { content: "–"; }
.faq-item p { margin: 0 0 10px; color: #475569; font-size: 13.5px; line-height: 1.45; }

.cta-page { justify-content: center; }
.cta-page .h-page { max-width: 16ch; }
.colophon { margin-top: auto; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.colophon button {
  background: none;
  border: 0;
  color: white;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.colophon p { color: rgba(255, 255, 255, 0.75); font-size: 12px; }

.stamp-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, transparent 18%, rgba(198, 161, 91, 0.18) 19%, transparent 27%),
    repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(30, 58, 138, 0.03) 5px),
    var(--cream);
  color: #5c5346;
}
.stamp-page > p:first-child { letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; }
.stamp {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 2px currentColor, 0 0 0 5px currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: rotate(var(--tilt, -8deg));
  text-transform: uppercase;
}
.stamp strong { font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em; }
.stamp em { font-style: normal; font-size: 10px; letter-spacing: 0.16em; }
.stamp span { font-size: 11px; letter-spacing: 0.14em; }
.ink-blue { color: #1d4ed8; }
.ink-red { color: #b42318; }
.ink-green { color: #047857; }
.stamp-note { margin: 0; font-family: var(--serif); font-style: italic; font-size: 16px; max-width: 18ch; }

.stitches {
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 12px;
  transform: translateX(calc(-50% - 8px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 45;
  pointer-events: none;
}
.stitches i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6d7c9b, #0e1830 62%);
  box-shadow: 0 0 0 2px #d9c27a;
}

.hint {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  margin: 0;
  z-index: 3;
  background: white;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transition: opacity 0.35s ease;
}
.hint.is-hidden { opacity: 0; }
.pager {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pager button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}
.pager button.is-active { background: var(--blue); transform: scale(1.25); }

#run { width: 100%; }
.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: white;
  padding: 12px 14px;
  border-radius: 12px;
}

@container (max-width: 560px) {
  .scapes, .countries, .quizzes { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .process, .split, .compare, .duo { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .stage { padding: 10px 18px 46px; }
  .pager {
    flex-direction: row;
    top: auto;
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
  }
  .hint { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .lang { display: none; }
  .board.left { display: none; }
  .book { display: block; }
  .leaf { left: 0; width: 100%; }
  .stitches, .cover-spine { display: none; }
  .passport { padding: 10px; }
  .face.front, .face.back { border-radius: 10px; }
}
@media (max-width: 640px) {
  .login { display: none; }
  .nav { padding: 0 12px; }
}
@media (max-height: 760px) {
  .face.front { padding: 14px 14px 8px 20px; }
  .id-page { padding-top: 16px; }
  .emblem { width: 56px; height: 56px; }
  .id-title { font-size: 26px; }
  .scape { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .hint { transition: none; }
  .badge { animation: none; }
}
