/* WORLDPAD. A tourist board for impossible places: passport paper, pinned postcards, rubber visa stamps, perforated tickets.
   Single light theme on purpose (passport paper); prefers-color-scheme is ignored by design. One accent: --stamp, meaning only. */
:root {
  --paper: #EDEEE8; --card: #F8F8F4; --well: #E2E4DC; --ink: #17202B; --ink-2: #4E5866; --ink-3: #5E6670; --ink-4: #858D97;
  --rule: rgba(23, 32, 43, .14); --rule-strong: rgba(23, 32, 43, .28); --stamp: #BF2E22;
  --raise: 0 1px 0 rgba(23, 32, 43, .06), 0 10px 24px -14px rgba(23, 32, 43, .22);
  --f-word: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-num: "Barlow Condensed", "Schibsted Grotesk", ui-sans-serif, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: 16px; --wrap: 1160px; --gap-section: 80px;
  --s-h1: 36px; --s-h2: 32px; --s-h3: 28px; --s-body: 16px; --s-small: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap-section: 104px; --s-h1: 52px; --s-h2: 40px; --s-h3: 32px; --s-body: 17px; --s-small: 13px; } }
@media (min-width: 1200px) { :root { --gutter: 140px; --gap-section: 128px; --s-h1: 64px; --s-h2: 48px; --s-h3: 40px; } }
@media (min-width: 1200px) { :root { --gutter: max(32px, calc((100vw - var(--wrap)) / 2)); } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-body)/1.55 var(--f-word); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rule-strong); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--card); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.num { font-family: var(--f-num); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ink2 { color: var(--ink-2); } .ink3 { color: var(--ink-3); }
.burnc { color: var(--stamp); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--rule); }
.wordmark { font: 600 26px/1 var(--f-word); letter-spacing: -.03em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.wordmark svg { width: 26px; height: 26px; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; background: var(--ink); color: var(--card); border: 1px solid var(--ink); font: 500 16px/1 var(--f-word); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s; }
.btn:hover { background: #26323f; text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn.ghost:hover { background: var(--well); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 16px; }
.hdr-r { display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: inline-grid; place-items: center; cursor: pointer; border-radius: 6px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }
.hdr .btn.l-full { display: none; }
@media (min-width: 1024px) { .nav { display: flex; margin-left: auto; } .menu-btn { display: none; } .hdr .btn.l-full { display: inline-flex; margin-left: 8px; } .hdr-r { display: none; } .hdr { height: 72px; } }
.nav a.btn, .nav a.btn:hover { color: var(--card); text-decoration: none; }
.sheet-nav { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: none; flex-direction: column; padding: 12px var(--gutter) 32px; }
.sheet-nav.open { display: flex; }
.sheet-nav .top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.sheet-nav nav { display: flex; flex-direction: column; margin-top: 24px; }
.sheet-nav nav a { font: 600 32px/1.2 var(--f-word); letter-spacing: -.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sheet-nav .btn { margin-top: 28px; }
.close-btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

/* ---------- section rhythm: passport double hairline between sections only ---------- */
.sec { padding-top: var(--gap-section); }
.rule2 { height: 5px; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); margin: var(--gap-section) var(--gutter) 0; }
.rule2 + .sec { padding-top: var(--gap-section); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; margin: 0; }
h2 { font-size: var(--s-h2); line-height: 1.05; }
h2 .t2 { color: var(--ink-2); }
.lead { color: var(--ink-2); font-size: calc(var(--s-body) + 3px); margin: 10px 0 0; max-width: 62ch; line-height: 1.4; }
.guide { font-style: italic; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { padding-top: 24px; }
.hero h1 { font-size: var(--s-h1); line-height: 1.02; letter-spacing: -.035em; max-width: 100%; }
.hero h1 .l2 { color: var(--ink-2); display: block; }
@media (min-width: 1024px) { .hero h1 { font-size: min(64px, calc((100vw - 2 * var(--gutter)) / 19.8)); } .hero h1 span { display: block; white-space: nowrap; } }
.hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 22px; }
.hero-sub p { margin: 0; font-size: calc(var(--s-body) + 1px); }
.hero-sub p b { font-weight: 600; color: var(--ink); }
.hero-sub p span { color: var(--ink-2); }
.hero-ctas { display: flex; align-items: center; gap: 24px; }
@media (max-width: 767px) { .hero-sub p b, .hero-sub p span { display: block; } .hero-ctas .btn { flex: 1 1 auto; max-width: 300px; } }
.window { position: relative; margin-top: 40px; height: 440px; background: #1d2129; overflow: hidden; outline: none; touch-action: none; }
@media (min-width: 768px) { .window { height: 500px; } }
@media (min-width: 1200px) { .window { height: 560px; } }
.window canvas.splat { position: absolute; inset: 0; width: 100%; height: 100%; }
.window .flat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: clip-path; }
.window .seam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.window .shade { position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to top, rgba(10, 14, 20, .28), transparent); pointer-events: none; }
.window:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.keys { position: absolute; left: var(--gutter); bottom: 22px; display: grid; grid-template-columns: repeat(3, 40px) auto; grid-template-rows: 40px 40px; gap: 6px; align-items: center; z-index: 3; }
@media (max-width: 1199px) { .keys { left: 16px; } }
kbd { font: 500 14px/1 var(--f-mono); color: var(--ink); background: var(--card); border: 1px solid var(--ink-4); border-bottom-width: 2px; border-radius: 5px; display: inline-grid; place-items: center; width: 40px; height: 40px; box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.keys kbd:nth-child(1) { grid-column: 2; grid-row: 1; } .keys kbd:nth-child(2) { grid-column: 1; grid-row: 2; } .keys kbd:nth-child(3) { grid-column: 2; grid-row: 2; } .keys kbd:nth-child(4) { grid-column: 3; grid-row: 2; }
.keys .hint { grid-column: 4; grid-row: 2; margin-left: 8px; background: var(--card); border: 1px solid var(--ink-4); border-radius: 5px; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; font: 500 14px/1 var(--f-word); }
.keys kbd.on { background: var(--ink); color: var(--card); }
.keys .hint-m { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 767px) { .keys kbd { display: none; } .keys { grid-template-columns: auto; } .keys .hint { grid-column: 1; grid-row: 2; margin: 0; } .keys .hint-d { display: none; } .keys .hint-m { display: inline-flex; } }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2s var(--ease) infinite; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(248, 248, 244, .0); } 50% { box-shadow: 0 0 0 6px rgba(248, 248, 244, .35); } }
.caption { position: absolute; right: var(--gutter); bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 6px; padding: 6px 6px 6px 14px; box-shadow: var(--raise); font-size: 14px; max-width: calc(100% - 32px); }
@media (max-width: 1199px) { .caption { right: 16px; } }
.caption .where { font-weight: 500; white-space: nowrap; }
.caption .where b { font-family: var(--f-num); font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.walking { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stamp); flex: none; }
@media (prefers-reduced-motion: no-preference) { .dot.live { animation: dotp 2s ease-in-out infinite; } }
@keyframes dotp { 50% { opacity: .35; } }
.clip-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; font: 500 14px/1 var(--f-word); cursor: pointer; white-space: nowrap; }
.clip-btn:hover { background: var(--well); }
@media (max-width: 767px) {
  .caption { flex-wrap: wrap; gap: 6px 10px; width: auto; max-width: 200px; padding: 10px 12px; }
  .caption .clip-btn { width: 100%; }
  .keys { bottom: 16px; } .caption { bottom: 16px; }
}
.hero .guide { margin: 16px 0 0; font-size: calc(var(--s-body)); }
.win-status { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 3; font: 500 13px/1 var(--f-word); background: rgba(248, 248, 244, .92); border-radius: 4px; padding: 7px 10px; color: var(--ink-2); display: none; }
.win-status.on { display: block; }

/* ---------- stamps (one style, three scales) ---------- */
.stamp { --rot: -7deg; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--stamp);
  font: 600 22px/1.02 var(--f-num); letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; border: 3px solid currentColor; border-radius: 6px;
  outline: 1.5px solid currentColor; outline-offset: -8px; transform: rotate(var(--rot)); filter: url(#ink); background: transparent; }
.stamp .big { font-size: 1.3em; }
.slam { position: absolute; z-index: 4; pointer-events: none; font-size: 26px; padding: 14px 22px; opacity: 0; }
.slam.landed { opacity: .92; }
@media (prefers-reduced-motion: no-preference) { .slam.dropping { animation: slam 160ms cubic-bezier(.5, 0, .9, .4) forwards; } .slam.landed.spread { animation: spread 280ms ease-out forwards; } }
@keyframes slam { from { opacity: 0; transform: rotate(var(--rot)) scale(1.9); } to { opacity: .95; transform: rotate(var(--rot)) scale(1); } }
@keyframes spread { from { letter-spacing: .06em; text-shadow: 0 0 0 currentColor; } to { letter-spacing: .065em; text-shadow: 0 0 .6px currentColor, 0 0 1.2px rgba(191, 46, 34, .5); } }
.hero .slam { right: max(16px, calc(var(--gutter) + 10px)); top: -46px; --rot: -7deg; }
@media (max-width: 767px) { .hero .slam { right: 12px; top: 18px; --rot: -6deg; font-size: 19px; padding: 10px 14px; } }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border: 1.5px solid var(--stamp); border-radius: 3px; color: var(--stamp); font: 600 12px/1 var(--f-num); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); white-space: nowrap; filter: url(#ink); }
.chip.ink { color: var(--ink-2); border-color: var(--ink-3); }
.chip.demo { color: var(--ink-2); border-color: var(--ink-4); text-transform: lowercase; letter-spacing: .04em; font-family: var(--f-mono); font-weight: 500; font-size: 11px; }

/* ---------- departures ---------- */
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.board-top h2 { font-size: 20px; letter-spacing: -.01em; color: var(--ink-3); font-weight: 600; }
.clock { font-family: var(--f-num); font-weight: 600; font-size: 22px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .board { grid-template-columns: 1fr 1fr 1.25fr auto; gap: 24px; } }
.board .cell .v { font: 600 52px/1 var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; display: block; overflow: hidden; height: 1em; }
@media (min-width: 768px) { .board .cell .v { font-size: 76px; } }
.board .cell .k { display: block; margin-top: 10px; font: 600 15px/1 var(--f-num); letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; }
.roll { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .roll.go { animation: roll 120ms ease-out; } }
@keyframes roll { from { transform: translateY(-40%); opacity: .2; } to { transform: none; opacity: 1; } }

/* ---------- atlas postcards ---------- */
.tabs { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid var(--rule); }
.tabs a, .tabs button { background: none; border: 0; padding: 10px 2px; min-height: 44px; font: 500 14px/1 var(--f-word); letter-spacing: .03em; color: var(--ink-3); text-transform: uppercase; text-decoration: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs [aria-selected="true"], .tabs [aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px 18px; margin-top: 26px; }
.pc { grid-column: span 4; position: relative; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); padding: 10px 10px 14px; transform: rotate(var(--tilt, 0deg)); transition: transform .25s var(--ease), box-shadow .25s; text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.pc:hover, .pc:focus-visible { transform: rotate(0deg) translateY(-2px); box-shadow: 0 1px 0 rgba(23, 32, 43, .06), 0 16px 30px -14px rgba(23, 32, 43, .3); text-decoration: none; }
.pc.feat { grid-column: span 6; }
.cards.home .pc:nth-child(2), .cards.home .pc:nth-child(3) { grid-column: span 3; }
.pc .ph { position: relative; aspect-ratio: 16 / 10; background: var(--well); overflow: hidden; }
.pc.feat .ph { aspect-ratio: 2 / 1; }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; }
.pc .ph .chip { position: absolute; right: 8px; bottom: 10px; background: var(--card); }
.pc .t { margin-top: 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 17px; }
.pc .t b { font: 600 19px/1 var(--f-num); letter-spacing: .01em; }
.pc .t span { font-weight: 600; }
.pc .meta { display: flex; gap: 14px; align-items: center; margin-top: 4px; font-size: 14px; flex-wrap: wrap; }
.pc .meta .vis { font-weight: 500; }
.pc .gl { margin: 6px 0 0; font-style: italic; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.pc .url { margin-top: auto; padding-top: 8px; font: 400 13px/1 var(--f-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.pc .stampchip { position: absolute; right: 18px; top: calc(62% - 8px); }
.pc .demo-mark { position: absolute; left: 18px; top: 18px; background: var(--card); }
.empty { padding: 48px 0; color: var(--ink-2); font-style: italic; }
@media (prefers-reduced-motion: no-preference) { .js .fade { opacity: 0; transform: translateY(12px) rotate(var(--tilt, 0deg)); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); } .js .fade.in { opacity: 1; transform: rotate(var(--tilt, 0deg)); } .js .pc.fade.in:hover { transform: rotate(0) translateY(-2px); } }
@media (max-width: 899px) {
  .cards.home { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 2px 18px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .cards.home::-webkit-scrollbar { display: none; }
  .cards.home .pc { flex: 0 0 calc(100% - 64px); scroll-snap-align: start; }
  .tabs.sticky { position: sticky; top: 64px; background: var(--paper); z-index: 5; }
  .cards.grid { grid-template-columns: 1fr; }
  .cards.grid .pc, .cards.grid .pc.feat { grid-column: 1 / -1; }
}
@media (min-width: 900px) and (max-width: 1199px) { .cards.grid .pc { grid-column: span 6; } .cards.grid .pc.feat { grid-column: span 12; } }
.more { margin-top: 26px; }

/* ---------- how it works ---------- */
.how { position: relative; margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; align-items: start; }
.how .route { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.how .route path { fill: none; stroke: var(--ink-4); stroke-width: 1.5; stroke-dasharray: 6 6; }
.step { position: relative; z-index: 1; }
.step:nth-child(2) { margin-top: 0; } .step:nth-child(3) { margin-top: 150px; } .step:nth-child(4) { margin-top: 140px; } .step:nth-child(5) { margin-top: 186px; }
.step h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 22px; }
.step p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; max-width: 30ch; }
.art { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); padding: 12px; }
.art.form img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.art.form label { display: block; font-size: 12px; color: var(--ink-3); margin: 10px 0 4px; }
.art.form .f { border: 1px solid var(--rule-strong); border-radius: 4px; padding: 7px 10px; font-size: 15px; background: var(--paper); }
.art.form .btn { width: 100%; margin-top: 12px; min-height: 44px; }
.ticket { position: relative; background: var(--card); box-shadow: var(--raise); padding: 26px 18px 22px 28px; transform: rotate(-3deg); text-align: center;
  -webkit-mask: radial-gradient(circle 6px at 0 12px, transparent 5.5px, #000 6px) 0 0 / 100% 24px repeat-y; mask: radial-gradient(circle 6px at 0 12px, transparent 5.5px, #000 6px) 0 0 / 100% 24px repeat-y; }
.ticket .stamp { font-size: 22px; --rot: -4deg; padding: 6px 12px; outline-offset: -6px; }
.ticket .tk { display: block; font: 600 42px/1 var(--f-num); margin-top: 16px; }
.ticket .pos { display: block; font: 400 16px/1.3 var(--f-mono); color: var(--ink-2); margin-top: 8px; }
.art.walk { transform: rotate(-2deg); }
.art.walk img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.art.walk .t { margin-top: 10px; font-weight: 600; font-size: 17px; display: flex; gap: 10px; } .art.walk .t b { font-family: var(--f-num); font-size: 19px; }
.art.walk .k { display: flex; gap: 6px; margin-top: 10px; } .art.walk kbd { width: 32px; height: 32px; font-size: 13px; }
.art.walk .gl { font-style: italic; font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.deed { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); padding: 16px; }
.deed h4 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; }
.deed img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.deed .t { margin-top: 10px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .deed .t b { font-family: var(--f-num); font-size: 19px; }
.deed .w { font: 400 13px/1.4 var(--f-mono); color: var(--ink-3); }
.deed .stats { margin-top: 8px; font: 600 19px/1.3 var(--f-num); letter-spacing: .005em; }
.deed .parts { font: 400 12px/1.4 var(--f-mono); color: var(--ink-3); margin-top: 4px; }
.deed .u { font: 400 13px/1 var(--f-mono); color: var(--ink-2); margin-top: 10px; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .how { grid-template-columns: 1fr; gap: 56px; padding-left: 20px; }
  .how .route { left: 0; }
  .step, .step:nth-child(n) { margin-top: 0; }
  .ticket { transform: rotate(-2deg); }
}

/* ---------- passport ---------- */
.pp-head h2 { font-size: var(--s-h2); }
.pp-head .lead { margin-left: 0; }
.pp-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 36px; align-items: start; }
@media (min-width: 900px) { .pp-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; } }
.book { display: grid; grid-template-columns: 1fr 1fr; background: var(--well); border-radius: 10px; box-shadow: 0 2px 0 rgba(23, 32, 43, .08), 0 24px 40px -24px rgba(23, 32, 43, .4); transform: rotate(-1deg); padding: 8px; position: relative; }
.book::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; background: var(--rule-strong); }
.page { background: var(--card); min-height: 260px; padding: 22px 20px; position: relative; overflow: hidden;
  background-image: repeating-radial-gradient(circle at 30% 120%, transparent 0 9px, rgba(23, 32, 43, .035) 9px 10px); }
.page.l { border-radius: 6px 0 0 6px; } .page.r { border-radius: 0 6px 6px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.page dt { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; margin-top: 18px; }
.page dt:first-child { margin-top: 0; }
.page dd { margin: 6px 0 0; font: 400 19px/1.1 var(--f-mono); }
.page dd.big { font: 600 44px/1 var(--f-num); }
.page.r .stamp { font-size: 15px; padding: 7px 8px; outline-offset: -5px; border-width: 2px; justify-self: center; }
.page.r .stamp:nth-child(1) { --rot: -6deg; } .page.r .stamp:nth-child(2) { --rot: 4deg; opacity: .82; } .page.r .stamp:nth-child(3) { --rot: -3deg; opacity: .72; } .page.r .stamp:nth-child(4) { --rot: 5deg; opacity: .64; }
.ghost-stamp { grid-column: 1 / -1; border: 2px dotted var(--ink-4); border-radius: 6px; padding: 26px 12px; text-align: center; color: var(--ink-3); font: 500 14px/1.4 var(--f-word); }
.clipcard { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); padding: 12px; }
.clipcard .lbl { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; display: block; }
.clipcard .frame { position: relative; aspect-ratio: 16 / 10; background: #1d2129; overflow: hidden; }
.clipcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.clipcard .burnin { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 4px 2px; }
.clipcard .burnin b { font: 600 20px/1 var(--f-num); } .clipcard .burnin span { font: 400 13px/1 var(--f-mono); color: var(--ink-2); overflow-wrap: anywhere; text-align: right; }
.clipcol .btn { width: 100%; margin-top: 14px; }
.clipcol .note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* ---------- burns ---------- */
.readout { display: flex; flex-wrap: wrap; gap: 20px 0; margin-top: 30px; }
.readout .r { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--rule-strong); }
.readout .r:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.readout .v { font: 600 40px/1 var(--f-num); font-variant-numeric: tabular-nums; display: block; }
@media (min-width: 768px) { .readout .v { font-size: 64px; } }
.readout .k { font: 600 15px/1 var(--f-num); letter-spacing: .07em; color: var(--ink-3); text-transform: uppercase; margin-top: 8px; display: block; }
@media (max-width: 599px) { .readout .r:first-child { flex-basis: 100%; border-right: 0; margin-right: 0; } }
.burn-lead { margin-top: 30px; font-weight: 500; font-size: calc(var(--s-body) + 1px); max-width: 80ch; }
.burn-lead + p { margin: 4px 0 0; color: var(--ink-2); max-width: 90ch; }
.sheet { margin-top: 30px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); border-radius: 4px; overflow: hidden; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sheet th { text-align: left; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); padding: 16px 14px 12px; border-bottom: 1px solid var(--rule); }
.sheet td { padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: middle; white-space: nowrap; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet td.m { font-family: var(--f-mono); font-size: 13.5px; }
.sheet td.b { color: var(--stamp); font-family: var(--f-mono); font-size: 13.5px; }
.sheet tr.zero td { background: var(--well); }
.sheet tr.zero td.b { color: var(--ink-2); font-family: var(--f-word); }
.sheet .tx { display: inline-flex; gap: 8px; align-items: center; }
.sheet .latest-stamp { margin-left: 10px; }
@media (prefers-reduced-motion: no-preference) { .sheet tr.new td { animation: slidein .5s var(--ease); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 899px) {
  .sheet table, .sheet tbody { display: block; } .sheet thead { display: none; }
  .sheet tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .sheet tr:last-child { border-bottom: 0; }
  .sheet td { padding: 0; border: 0; white-space: normal; font-size: 13px; }
  .sheet td.tm { grid-column: 1; } .sheet td.ev { grid-column: 2; text-align: right; }
  .sheet td.c, .sheet td.l, .sheet td.bu { display: none; }
  .sheet tr.open td.c, .sheet tr.open td.l, .sheet tr.open td.bu { display: block; grid-column: 1 / -1; color: var(--ink-2); }
  .sheet td.b { grid-column: 1; } .sheet td.txc { grid-column: 2; text-align: right; }
  .sheet tr.zero { background: var(--well); }
}

/* ---------- buy ---------- */
.buy-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 26px; align-items: start; }
@media (min-width: 900px) { .buy-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.hold { font-size: calc(var(--s-body) + 3px); margin: 0; line-height: 1.4; }
.hold b { font-weight: 600; } .hold span { color: var(--ink-2); }
.perks { list-style: none; padding: 0; margin: 20px 0 0; }
.perks li { margin: 0 0 10px; max-width: 62ch; }
.stub { position: relative; background: var(--card); box-shadow: var(--raise); border: 1px solid var(--rule); border-left: 0; padding: 22px 22px 22px 34px; border-radius: 0 6px 6px 0;
  -webkit-mask: radial-gradient(circle 7px at 0 14px, transparent 6.5px, #000 7px) 0 0 / 100% 28px repeat-y; mask: radial-gradient(circle 7px at 0 14px, transparent 6.5px, #000 7px) 0 0 / 100% 28px repeat-y; }
.stub::before { content: ""; position: absolute; left: 18px; top: 10px; bottom: 10px; border-left: 2px dashed var(--rule-strong); }
.stub .live { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-2); text-transform: uppercase; }
.stub .ca { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; }
.stub .ca code { font: 400 15px/1.45 var(--f-mono); overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.copy-glyph { flex: none; width: 36px; height: 36px; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.copy-glyph svg { width: 16px; height: 16px; }
.stub .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 20px; }
.stub .tkt { position: absolute; right: 18px; top: 16px; }
.copied { color: var(--ink); font-weight: 600; }

/* ---------- footer: the passport's back cover well (no rule above; the band tone is the divider) ---------- */
.foot { background: var(--well); margin-top: var(--gap-section); padding: 56px var(--gutter) 48px; }
.foot .row1 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.foot .wm { font: 600 28px/1 var(--f-word); letter-spacing: -.03em; text-decoration: none; padding: 4px 0; }
@media (min-width: 768px) { .foot .wm { font-size: 40px; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot nav a { text-decoration: none; color: var(--ink-2); font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 767px) { .foot .row1 { flex-direction: column; align-items: flex-start; } }
.foot .short { margin-top: 40px; font: 400 13px/1 var(--f-mono); color: var(--ink-3); }
.foot .fine { margin-top: 24px; color: var(--ink-2); font-size: 14px; }
.foot .fine p { margin: 2px 0; }

/* ---------- world page ---------- */
body.wp { overflow: hidden; }
.wbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 56px; background: rgba(237, 238, 232, .96); display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px; transition: opacity .4s; border-bottom: 1px solid var(--rule); }
.wbar .wordmark { font-size: 20px; }
.wbar .wt { display: flex; gap: 8px; align-items: baseline; min-width: 0; overflow: hidden; white-space: nowrap; }
.wbar .wt b { font: 600 18px/1 var(--f-num); } .wbar .wt span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.wbar .sp { flex: 1; }
.wbar .ctl { display: flex; gap: 6px; align-items: center; }
.wbar .ctl button, .wbar .ctl a { min-height: 40px; min-width: 40px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; font: 500 14px/1 var(--f-word); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.wbar .pp-icon { position: relative; }
@media (max-width: 767px) { .wbar .wordmark .wmt, .wbar .hide-m { display: none; } .wbar { gap: 8px; } }
.idle .wbar, .idle .wsheet, .idle .wctl { opacity: 0; pointer-events: none; }
.wstage { position: fixed; inset: 0; background: #1d2129; }
.wstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.wstage .flat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wctl { position: fixed; left: 16px; bottom: 96px; z-index: 20; transition: opacity .4s; }
.wctl .keys { position: static; }
.wcap { position: fixed; right: 16px; bottom: 96px; z-index: 20; }
.wsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--card); border-top: 1px solid var(--rule); box-shadow: 0 -10px 30px -18px rgba(23, 32, 43, .4); max-height: 78vh; transform: translateY(calc(100% - 76px)); transition: transform .35s var(--ease), opacity .4s; border-radius: 12px 12px 0 0; display: flex; flex-direction: column; }
.wsheet.open { transform: none; }
.wsheet .handle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; min-height: 76px; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; }
.wsheet .handle::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 2px; background: var(--rule-strong); transform: translateX(-50%); }
.wsheet .handle .gl { font-style: italic; color: var(--ink-2); font-size: 15px; }
.wsheet .body { overflow: auto; padding: 0 16px 28px; }
.wsheet .grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .wsheet { left: auto; right: 16px; bottom: 16px; width: 440px; border-radius: 10px; border: 1px solid var(--rule); transform: translateY(calc(100% - 76px)); } .wsheet.open { transform: none; } }
.lock { border: 1px dashed var(--rule-strong); border-radius: 6px; padding: 14px; color: var(--ink-2); font-size: 15px; }
.wstate { position: fixed; inset: 0; display: grid; place-items: center; z-index: 15; pointer-events: none; }
.wstate .card { pointer-events: auto; background: var(--card); box-shadow: var(--raise); border: 1px solid var(--rule); padding: 22px; max-width: 360px; text-align: center; transform: rotate(-1deg); }
.wstate .card .stamp { font-size: 22px; margin-bottom: 14px; }
.wstate .card p { margin: 8px 0 0; color: var(--ink-2); }
.replay-chip { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 22; background: var(--card); }

/* ---------- forms, launch ---------- */
.launch-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 30px; }
@media (min-width: 1000px) { .launch-grid { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.stepbox { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--raise); padding: 22px; margin-bottom: 22px; }
.stepbox h2 { font-size: 24px; letter-spacing: -.02em; display: flex; gap: 12px; align-items: baseline; }
.stepbox h2 .n { font: 600 20px/1 var(--f-num); color: var(--ink-3); }
.field { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; }
.field .help { font-size: 13px; color: var(--ink-2); }
.field .err { font-size: 14px; color: var(--stamp); min-height: 0; }
.field input[type=text] { font: 400 17px/1.3 var(--f-word); padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper); color: var(--ink); min-height: 48px; width: 100%; }
.field input.mono { font-family: var(--f-mono); font-size: 15px; }
.field input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.drop { border: 2px dashed var(--rule-strong); border-radius: 8px; padding: 28px 18px; text-align: center; background: var(--paper); cursor: pointer; display: block; }
.drop.over { border-color: var(--ink); background: var(--well); }
.drop img { max-height: 240px; margin: 0 auto 10px; object-fit: contain; }
.drop .big { font-weight: 600; font-size: 18px; }
.decoded { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: ix; }
.decoded li { counter-increment: ix; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.decoded li::before { content: counter(ix); font: 600 16px/1 var(--f-num); color: var(--ink-3); }
.decoded li .amt { font-family: var(--f-mono); font-size: 14px; white-space: nowrap; }
.decoded li .what { font-size: 15px; } .decoded li .what small { display: block; font-family: var(--f-mono); color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }
.simline { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; flex-wrap: wrap; }
.costs { margin-top: 16px; font-size: 15px; }
.costs div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.costs div.tot { font-weight: 600; border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 4px; }
.costs span:last-child { font-family: var(--f-mono); font-size: 14px; }
.preview { position: sticky; top: 96px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--well); margin-top: 16px; font-size: 15px; }
.notice.bad { border-color: var(--stamp); }
.wallets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.demo-sheet { position: fixed; inset: 0; z-index: 85; background: rgba(23, 32, 43, .45); display: none; place-items: center; padding: 16px; }
.demo-sheet.open { display: grid; }
.demo-sheet .card { background: var(--card); max-width: 460px; width: 100%; padding: 26px; border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); text-align: center; }
.demo-sheet .card .stamp { font-size: 24px; margin: 4px 0 16px; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
@media (min-width: 1000px) { .docs { grid-template-columns: 240px 1fr; gap: 56px; } .toc { position: sticky; top: 96px; align-self: start; } }
.toc details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
@media (min-width: 1000px) { .toc details summary { display: none; } }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.doc h2 { font-size: 30px; margin: 56px 0 12px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 20px; letter-spacing: -.015em; margin: 26px 0 8px; }
.doc p, .doc li { max-width: 72ch; }
.doc table { border-collapse: collapse; margin: 14px 0; font-size: 15px; width: 100%; max-width: 720px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.doc th { font: 500 12px/1 var(--f-mono); letter-spacing: .06em; color: var(--ink-3); }
.doc td.n { font-family: var(--f-mono); }
.doc .tw { overflow-x: auto; }
.doc code { font-family: var(--f-mono); font-size: .9em; background: var(--well); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; word-break: break-all; }
.doc { min-width: 0; } .docs > * { min-width: 0; }
.doc svg.diagram { width: 100%; max-width: 760px; height: auto; margin: 16px 0; }
.faq details { border-bottom: 1px solid var(--rule); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }

/* ---------- generic page bits ---------- */
.ph-head { padding-top: 40px; }
.ph-head h1 { font-size: var(--s-h2); line-height: 1.05; }
.pager { display: flex; gap: 16px; margin-top: 28px; align-items: center; }
.search { display: flex; gap: 10px; margin-top: 18px; max-width: 420px; }
.search input { flex: 1; font: 400 16px/1 var(--f-word); padding: 0 14px; min-height: 48px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper); }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf .stamp { font-size: 28px; margin-bottom: 26px; }
.nf h1 { font-size: var(--s-h2); max-width: 20ch; margin: 0 auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--card); padding: 12px 16px; border-radius: 6px; font-size: 15px; display: none; max-width: calc(100vw - 32px); }
.toast.on { display: block; }
.feat-rot { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; } }
[hidden] { display: none !important; }
.stepbox .drop { margin-top: 16px; }
.search input { min-width: 0; }
@media (max-width: 380px) { .caption { max-width: 168px; font-size: 13px; padding: 8px 10px; } .keys .hint { padding: 0 10px; font-size: 13px; } }
