:root {
  --ink: #0b0a1e;
  --ink-2: #3a3a4a;
  --muted: #6d6d7c;
  --line: #e6e6ec;
  --surface: #f4f4f7;
  --white: #ffffff;
  --lilac: #c9b8ff;
  --lilac-soft: #ebe5ff;
  --mint: #dff5e6;
  --butter: #fff0bf;
  --stamp: #b1362d;
  --radius: 28px;
  --radius-sm: 20px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "Share Tech Mono", "Courier New", monospace;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* Display type */
.d { font-family: var(--display); font-variation-settings: "wdth" 82, "wght" 800; font-weight: 800; letter-spacing: -0.02em; line-height: 0.98; margin: 0; }
h1, h2, h3, h4 { margin: 0; }
.h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.h3 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); font-variation-settings: "wdth" 85, "wght" 750; line-height: 1.05; }
.sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 44em; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* Pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; border: 1.5px solid transparent; transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #23223a; }
.btn-lilac { background: var(--lilac); color: var(--ink); }
.btn-lilac:hover { background: #bda8ff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f1f5; }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--surface); }
.btn-sm { height: 2.75rem; padding: 0 1.15rem; font-size: 0.95rem; }

/* Header */
.topbar { font-size: 0.85rem; color: var(--muted); }
.topbar .wrap { display: flex; gap: 1.25rem; padding-top: 0.6rem; }
.topbar a { text-decoration: none; color: var(--muted); font-weight: 500; }
.topbar a.on { color: var(--ink); }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4.75rem; }
.brand { font-family: var(--display); font-variation-settings: "wdth" 80, "wght" 800; font-size: 1.45rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink); opacity: 0.85; white-space: nowrap; }
.nav-links a:not(.btn):hover { opacity: 1; }
@media (max-width: 900px) { .nav-links a:not(.btn) { display: none; } }

/* Hero card */
.hero { padding: 0.5rem 0 0; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: clamp(460px, 62vh, 600px); display: flex; align-items: flex-end; isolation: isolate; }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, 70% 35%); z-index: 0; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11,10,30,0.84) 0%, rgba(11,10,30,0.56) 42%, rgba(11,10,30,0.10) 75%, rgba(11,10,30,0) 100%), linear-gradient(0deg, rgba(11,10,30,0.55) 0%, rgba(11,10,30,0) 45%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.hero-inner .h1 { text-wrap: balance; margin-bottom: 1.1rem; }
.hero-inner .sub { color: rgba(255,255,255,0.86); margin-bottom: 1.6rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sticker { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 2.5rem); top: clamp(1rem, 3vw, 2.5rem); background: var(--lilac); color: var(--ink); border-radius: 999px; padding: 0.6rem 1rem; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 10px 30px -12px rgba(11,10,30,0.5); }
.sticker .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink); }


/* Delivery partners */
.providers { padding: 3rem 0 2.25rem; }
.providers .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
.providers p { margin: 0; color: var(--muted); font-size: 0.875rem; }
.provider-logos { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.provider-logos a { display: flex; align-items: center; min-height: 44px; }
.provider-logos img { height: auto; object-fit: contain; }
.provider-peoplexyz { width: 142px; }
.provider-cloudfo { width: 164px; }
@media (max-width: 640px) {
  .providers { padding: 2.25rem 0 2rem; }
  .providers .wrap { flex-direction: column; gap: 0.75rem; }
  .provider-peoplexyz { width: 114px; }
  .provider-cloudfo { width: 132px; }
}

/* Stats */
.stats { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.stats .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.stats .h3 { padding-top: 0.35rem; font-size: clamp(1.35rem, 1.8vw, 1.6rem); padding-right: 1rem; }
.stat .n { font-family: var(--display); font-variation-settings: "wdth" 80, "wght" 800; font-size: clamp(2.6rem, 4.5vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.stat .l { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
@media (max-width: 1000px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stats .h3 { grid-column: 1 / -1; } }


/* Sections */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section.tight { padding-top: 0; }
.section-head { max-width: 800px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head .h2 { margin-bottom: 1rem; text-wrap: balance; }

/* Quiz */
.quiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.stack { position: relative; aspect-ratio: 1 / 1.05; }
.stack img { position: absolute; border-radius: var(--radius-sm); object-fit: cover; box-shadow: 0 30px 60px -30px rgba(11,10,30,0.45); }
.stack .a { left: 0; top: 0; width: 72%; height: 66%; }
.stack .b { right: 0; bottom: 0; width: 62%; height: 56%; }
.stack .chip { position: absolute; left: 4%; bottom: 10%; background: #fff; border-radius: 999px; padding: 0.7rem 1.1rem; font-weight: 600; font-size: 0.9rem; box-shadow: 0 16px 40px -18px rgba(11,10,30,0.4); display: flex; gap: 0.6rem; align-items: center; white-space: nowrap; }
.stack .chip::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #2fbf71; }
.qlist { list-style: none; margin: 0; padding: 0; }
.qlist li + li { margin-top: 0.35rem; }
.qlist label { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: start; cursor: pointer; padding: 0.55rem 0; }
.qlist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qlist .box { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; margin-top: 0.3rem; transition: background 150ms, border-color 150ms; flex: none; }
.qlist .box svg { width: 1rem; height: 1rem; opacity: 0; transform: scale(0.6); transition: opacity 120ms, transform 180ms cubic-bezier(.2,.9,.3,1.3); }
.qlist .t { font-family: var(--display); font-variation-settings: "wdth" 84, "wght" 700; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.015em; color: #9a9aab; transition: color 180ms; }
.qlist label:hover .t { color: var(--ink-2); }
.qlist input:checked + .box { background: var(--ink); border-color: var(--ink); }
.qlist input:checked + .box svg { opacity: 1; transform: scale(1); }
.qlist input:checked ~ .t { color: var(--ink); }
.qlist input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.verdict { margin: 1.5rem 0 1.25rem; font-size: 1.1rem; color: var(--muted); }
.verdict strong { color: var(--ink); }
.quiz.is-match .verdict { color: var(--ink); }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } .stack { max-width: 520px; width: 100%; } }

/* Offer cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { border-radius: var(--radius-sm); padding: 1.75rem 1.6rem 1.9rem; background: var(--surface); min-height: 300px; display: flex; flex-direction: column; gap: 0.9rem; }
.card.lilac { background: var(--lilac-soft); }
.card.mint { background: var(--mint); }
.card.butter { background: var(--butter); }
.card .h3 { margin-top: auto; }
.card p { color: var(--ink-2); font-size: 0.975rem; }
.card .k { font-family: var(--display); font-variation-settings: "wdth" 80, "wght" 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* Dark passport panel */
.panel { border-radius: var(--radius); background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 4.5rem); overflow: clip; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.panel .sub { color: rgba(255,255,255,0.72); }
.panel .h2 { text-wrap: balance; margin-bottom: 1.1rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.fact { border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.3rem; }
.fact .n { font-family: var(--display); font-variation-settings: "wdth" 80, "wght" 800; font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.fact .l { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.35rem; }
.fact p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-top: 0.7rem; }
@media (max-width: 900px) { .panel-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.step { border-radius: var(--radius-sm); background: var(--surface); padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; }
.step.hi { background: var(--lilac-soft); }
.step .num { font-family: var(--display); font-variation-settings: "wdth" 78, "wght" 800; font-size: 3.2rem; letter-spacing: -0.04em; line-height: 1; }
.step .h3 { margin: 2.25rem 0 0.5rem; }
.step p { color: var(--ink-2); font-size: 0.975rem; }
.step .tag { align-self: flex-start; background: var(--ink); color: #fff; border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.75rem; font-weight: 600; margin-top: 0.75rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Photo splits */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.flip .media { order: 2; }
.media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.split .h2 { margin-bottom: 1rem; text-wrap: balance; }
.split .sub { margin-bottom: 1.5rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip .media { order: 0; } }
.bring { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.bring > div { border-radius: var(--radius-sm); padding: 1.25rem 1.3rem; background: var(--surface); }
.bring h4 { margin: 0 0 0.5rem; font: 600 1rem var(--text); }
.bring ul { margin: 0; padding: 0; list-style: none; }
.bring li { padding: 0.35rem 0 0.35rem 1.4rem; position: relative; font-size: 0.95rem; color: var(--ink-2); }
.bring li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ink); }
.bring .no li::before { background: #c9c9d3; }
@media (max-width: 560px) { .bring { grid-template-columns: 1fr; } }

/* Tinted panel */
.tint { border-radius: var(--radius); background: var(--mint); padding: clamp(2rem, 5vw, 4.5rem); }
.tint.lilac { background: var(--lilac-soft); }
.tint .media { aspect-ratio: 4 / 4.6; }
.tint .sub { color: var(--ink-2); }
.tracks { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.track { background: #fff; border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.9rem; font-weight: 600; }

/* Crosslink card */
.cross { border-radius: var(--radius); background: var(--surface); padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cross .h3 { margin-bottom: 0.35rem; }
.cross p { color: var(--muted); max-width: 40em; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 2.25rem; gap: 1rem; align-items: center; padding: 1.35rem 0; font: 600 1.15rem/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 1.4rem; font-weight: 400; transition: transform 200ms, background 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lilac); }
.faq .answer { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); max-width: 66ch; }

/* CTA and footer */
.cta { border-radius: var(--radius); background: var(--lilac); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.cta .h2 { max-width: 16ch; margin: 0 auto 1rem; }
.cta .sub { color: rgba(11,10,30,0.7); margin: 0 auto 2rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.875rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.footer p { max-width: 62ch; }
.footer a { color: var(--ink); }

/* ---------- Booklet ---------- */
.book-wrap { display: flex; flex-direction: column; align-items: center; padding-left: calc(var(--pw, 240px) * 1.08); }
.book-col { --pw: clamp(170px, 17vw, 240px); width: var(--pw); }
@media (max-width: 900px) { .book-wrap { padding-left: 0; } .book-col { --pw: 290px; } }
@media (max-width: 340px) { .book-col { --pw: 260px; } }
.book { --ph: calc(var(--pw) * 1.46); --open: 0; --gold: #c9a65c; position: relative; width: var(--pw); height: var(--ph); font-size: calc(var(--pw) * 0.05333); perspective: 1800px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.book:focus-visible { outline: 3px solid #fff; outline-offset: 8px; border-radius: 0.5em; }
.book::before { content: ""; position: absolute; inset: 0.35em -0.4em -0.4em 0.3em; border-radius: 0.25em 0.8em 0.8em 0.25em; background: repeating-linear-gradient(135deg, #f7f8f5 0 1.5px, #cfd8d0 1.5px 2.5px); box-shadow: 0 30px 50px -28px rgba(0,0,0,0.7); }
.page { position: absolute; inset: 0; z-index: 1; margin: 0; border-radius: 0.25em 0.75em 0.75em 0.25em; overflow: hidden; padding: 1.1em 1.1em 0.9em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cg fill='none' stroke='%238fb0a7' stroke-width='0.6' opacity='0.55'%3E%3Cpath d='M0 20 C 20 0, 40 0, 60 20 S 100 40, 120 20 S 160 0, 180 20'/%3E%3Cpath d='M0 20 C 20 40, 40 40, 60 20 S 100 0, 120 20 S 160 40, 180 20'/%3E%3Cpath d='M-20 20 C 0 6, 20 6, 40 20 S 80 34, 100 20 S 140 6, 160 20'/%3E%3Cpath d='M-20 20 C 0 34, 20 34, 40 20 S 80 6, 100 20 S 140 34, 160 20'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, #e9efec 0%, #d6e3de 100%); border: 1px solid #b9c9c3; color: #142a3d; font-family: var(--text); }
.page::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,42,61,0.30), rgba(20,42,61,0) 22%); opacity: var(--open); }
.passport-head { padding-bottom: 0.7em; margin-bottom: 0.85em; border-bottom: 1px solid rgba(20,42,61,0.25); }
.passport-head .title { display: block; font-family: var(--serif); font-size: 1.3em; line-height: 1.1; }
.passport-head .subt { display: block; font-size: 0.66em; color: #435567; margin-top: 0.3em; line-height: 1.35; }
.page dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em 0.9em; }
.page dl div { min-width: 0; }
.page dt { font-size: 0.6em; color: #78889a; margin-bottom: 0.2em; }
.page dd { margin: 0; font-size: 0.76em; font-weight: 500; line-height: 1.3; }
.page dd.muted { color: #435567; font-weight: 400; font-style: italic; font-family: var(--serif); font-size: 0.9em; }
.endorse { position: relative; height: 6.4em; margin-top: 0.4em; }
.mrz { margin-top: 0.2em; padding-top: 0.5em; border-top: 1px solid rgba(20,42,61,0.25); font-family: var(--mono); font-size: 0.56em; line-height: 1.5; letter-spacing: 0.06em; color: #2a3b4c; white-space: nowrap; overflow: hidden; }
.mrz span { display: block; }
.stamp { --r: -8deg; position: absolute; padding: 0.35em 0.65em 0.4em; border: 0.13em solid var(--stamp); outline: 1px solid var(--stamp); outline-offset: 0.18em; border-radius: 0.3em; color: var(--stamp); text-align: center; line-height: 1.1; mix-blend-mode: multiply; opacity: 0; transform: rotate(var(--r)) scale(1.6); transition: opacity 220ms ease, transform 380ms cubic-bezier(.2,.9,.3,1.25); -webkit-mask-image: radial-gradient(140% 110% at 35% 30%, #000 50%, rgba(0,0,0,0.45) 100%); mask-image: radial-gradient(140% 110% at 35% 30%, #000 50%, rgba(0,0,0,0.45) 100%); pointer-events: none; z-index: 2; }
.stamp.is-on { opacity: 0.88; transform: rotate(var(--r)) scale(1); }
.stamp b { display: block; font-weight: 700; font-size: 0.78em; }
.stamp span { display: block; font-size: 0.56em; margin-top: 0.15em; opacity: 0.9; }
.stamp-1 { top: 0.3em; left: 0.1em; --r: -7deg; }
.stamp-2 { top: 3.2em; left: 22%; --r: 3deg; }
.stamp-3 { top: 0.5em; right: 0.2em; --r: -5deg; }
@media (prefers-reduced-motion: reduce) { .stamp { transition: none; } }
.cover { position: absolute; inset: 0; z-index: 2; transform-origin: 0 50%; transform: rotateY(calc(var(--open) * -180deg)); transform-style: preserve-3d; will-change: transform; }
.cover-face { position: absolute; inset: 0; border-radius: 0.25em 0.75em 0.75em 0.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.cover-front { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(130% 90% at 25% 15%, #24406c 0%, #142a4f 45%, #0c1a35 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset -0.05em 0 0.3em rgba(0,0,0,0.35), 0 24px 40px -20px rgba(0,0,0,0.8); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 2.1em 1.2em 1.6em; text-align: center; color: var(--gold); font-family: var(--text); }
.cover-front::before { content: ""; position: absolute; inset: 0.7em; border-radius: 0.2em 0.5em 0.5em 0.2em; border: 1px solid rgba(201,166,92,0.18); pointer-events: none; }
.foil { background: linear-gradient(100deg, #a98735 0%, #e9cf82 40%, #c9a65c 60%, #f0d98f 85%, #a98735 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover-country { font-size: 0.72em; letter-spacing: 0.08em; font-weight: 500; }
.cover-emblem { width: 7.2em; height: 7.2em; }
.cover-title { font-family: var(--serif); font-size: 1.55em; line-height: 1.1; }
.cover-sub { font-size: 0.6em; letter-spacing: 0.06em; margin-top: 0.5em; opacity: 0.85; font-weight: 500; }
.cover-chip { width: 1.7em; height: 1.2em; margin-top: 1.4em; opacity: 0.9; }
.cover-back { transform: rotateY(180deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cg fill='none' stroke='%238fb0a7' stroke-width='0.6' opacity='0.4'%3E%3Cpath d='M0 20 C 20 0, 40 0, 60 20 S 100 40, 120 20 S 160 0, 180 20'/%3E%3Cpath d='M0 20 C 20 40, 40 40, 60 20 S 100 0, 120 20 S 160 40, 180 20'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(200deg, #eef2ee, #dde6e2); border: 1px solid #b9c9c3; box-shadow: 0 24px 40px -22px rgba(0,0,0,0.7); padding: 1.4em 1.3em; color: #435567; font-family: var(--text); }
.cover-back::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(20,42,61,0.22), rgba(20,42,61,0) 20%); }
.inside { display: flex; flex-direction: column; height: 100%; font-size: 0.78em; line-height: 1.5; }
.inside .t { font-family: var(--serif); font-size: 1.25em; color: #142a3d; margin-bottom: 0.6em; }
.inside p { margin: 0 0 0.9em; }
.inside .sig { margin-top: auto; padding-top: 0.5em; border-top: 1px solid rgba(20,42,61,0.35); font-size: 0.78em; color: #78889a; }
.inside .sig i { font-family: var(--serif); color: #435567; }
.book-hint { margin: 1.1rem 0 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: opacity 200ms; }
@media (max-width: 900px) { .inside { display: none; } }

/* On smaller screens the passport opens within one page, not a desktop spread. */
@media (max-width: 900px) {
  .book-col { --pw: clamp(190px, 62vw, 260px); }
  .book .cover { transform: none; opacity: 1; transition: opacity 180ms ease; }
  .book.is-open .cover { opacity: 0; }
  .book .cover-back { display: none; }
}

/* Phone layout: compact sections, readable text and full-width touch targets. */
@media (max-width: 640px) {
  :root { --gutter: 1rem; --radius: 20px; --radius-sm: 16px; }
  body { font-size: 1rem; line-height: 1.55; }
  .h1 { font-size: clamp(2.15rem, 9.6vw, 2.75rem); line-height: 1.05; }
  .h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); line-height: 1.08; }
  .h3 { font-size: 1.4rem; line-height: 1.15; }
  .sub { font-size: 1rem; line-height: 1.55; }
  .btn { min-height: 48px; height: auto; padding: 0.85rem 1.1rem; white-space: normal; line-height: 1.25; text-align: center; }
  .topbar .wrap { margin: 0.5rem var(--gutter) 0; padding: 0.25rem; gap: 0.25rem; background: var(--surface); border-radius: 12px; }
  .topbar a { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 9px; }
  .topbar a.on { background: var(--ink); color: #fff; }
  .nav .wrap { height: 64px; gap: 0.75rem; }
  .brand { font-size: 1.2rem; }
  .nav-links { gap: 0; }
  .nav .btn-sm { min-height: 44px; padding: 0.65rem 1rem; font-size: 0.875rem; }
  .hero { padding-top: 0; }
  .hero-card { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-card img { position: relative; height: clamp(170px, 48vw, 220px); object-position: var(--hero-focus, 65% 35%); }
  .hero-card::after { content: none; }
  .hero-inner { padding: 1.5rem 1.25rem; }
  .hero-inner .h1 { margin-bottom: 0.9rem; text-wrap: balance; }
  .hero-inner .sub { margin-bottom: 1.25rem; }
  .hero-actions { flex-direction: column; gap: 0.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-ghost { border-color: rgba(255,255,255,0.3); }
  .sticker { top: 0.75rem; left: 0.75rem; right: auto; padding: 0.4rem 0.65rem; font-size: 0.7rem; }
  .sticker .dot { width: 0.4rem; height: 0.4rem; }
  .stats { padding: 2rem 0 2.5rem; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .stats .h3 { padding: 0; font-size: 1.25rem; }
  .stat { border-top: 1px solid var(--line); padding-top: 1rem; }
  .stat .n { font-size: 2.35rem; }
  .stat .l { font-size: 0.8125rem; line-height: 1.45; }
  .section { padding: 0 0 3rem; }
  .section-head { text-align: left; margin-bottom: 1.5rem; }
  .section-head .h2 { margin-bottom: 0.75rem; text-wrap: initial; }
  .quiz { gap: 0; }
  .quiz .stack { display: none; }
  .qlist label { grid-template-columns: 1.5rem 1fr; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .qlist li + li { margin-top: 0; }
  .qlist .box { width: 1.5rem; height: 1.5rem; margin-top: 0; }
  .qlist .t { font-size: 1.2rem; line-height: 1.25; color: var(--ink-2); }
  .verdict { font-size: 0.9375rem; margin: 1rem 0; }
  .quiz .btn, .split .btn, .cross .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .card { min-height: 0; padding: 1.25rem; gap: 0.6rem; }
  .card .k { font-family: var(--text); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; }
  .card .h3 { margin-top: 0; }
  .card p, .step p { font-size: 0.9375rem; line-height: 1.55; }
  .panel { padding: 1.5rem 1.25rem; }
  .panel-grid { gap: 1.75rem; }
  .panel-grid > .book-wrap { order: 2; }
  .panel .h2 { text-wrap: initial; }
  .facts { margin-top: 1.25rem; gap: 0.75rem; }
  .fact { padding: 1rem; }
  .fact .n { font-size: 1.5rem; }
  .fact .l { font-size: 0.8125rem; }
  .fact p { margin-top: 0.5rem; }
  .book-hint { font-size: 0.75rem; }
  .steps { grid-template-columns: 1fr; gap: 0.75rem; }
  .step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem 0.75rem; padding: 1.25rem; align-content: start; }
  .step .num { grid-column: 1; grid-row: 1 / 4; font-size: 1.65rem; color: var(--muted); }
  .step .h3 { grid-column: 2; margin: 0; font-size: 1.25rem; }
  .step p { grid-column: 2; margin: 0; }
  .step .tag { grid-column: 2; justify-self: start; margin-top: 0.25rem; }
  .split { gap: 1.5rem; }
  .media { aspect-ratio: 16 / 9; }
  .bring { margin-top: 1.25rem; gap: 0.75rem; }
  .bring > div { padding: 1rem; }
  .faq summary { font-size: 1rem; padding: 1rem 0; gap: 0.75rem; }
  .faq .answer { padding: 0 0 1.25rem; font-size: 0.9375rem; }
  .cta { padding: 2rem 1.25rem; text-align: left; }
  .cta .h2 { max-width: none; margin: 0 0 0.75rem; }
  .cta .sub { margin-bottom: 1.25rem; }
  .cta .actions { flex-direction: column; gap: 0.5rem; }
  .cross { padding: 1.5rem 1.25rem; gap: 1rem; }
  .cross p { font-size: 0.9375rem; }
  .footer { padding: 0 0 2rem; }
  .footer .wrap { padding-top: 1.5rem; }
}
