/* Trovo marketing site. Tokens follow the app (docs/DESIGN_TOKENS.md); text colours are the AA-safe variants. */
:root {
  --page: #FBF6EE;
  --surface: #F3EADC;
  --surface2: #EADFCC;
  --card: #FFFFFF;
  --ink: #201A14;
  --text: #201A14;
  --text2: #6B5E50;
  --clay: #42BD8A;          /* fills only; text on it is ink */
  --mint: #8CD9B9;
  --stamp: #E0573F;         /* graphics, or text 24px and up */
  --live: #E8325A;          /* dots and rings */
  --green-text: #256B4C;
  --stamp-text: #C8412B;
  --live-text: #B8264A;
  --line: rgba(32, 26, 20, .12);
  --map-land: #EFE2CB;
  --map-mark: rgba(107, 94, 80, .22);
  --shadow: 0 1px 2px rgba(32, 26, 20, .08), 0 18px 40px -12px rgba(32, 26, 20, .28);
  --screen-filter: none;
  --display: "Bricolage Grotesque", "Display Fallback", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", "Body Fallback", ui-sans-serif, system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --wrap: 1160px;
  --gutter: 20px;
  color-scheme: light;
}

@font-face { font-family: "Display Fallback"; src: local("Arial Bold"), local("Arial"); font-weight: 800; size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Body Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 98%; descent-override: 27%; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #FBF6EE; padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; }
.display { font-size: clamp(42px, 8.4vw, 104px); line-height: .95; letter-spacing: -.035em; }
.h2 { font-size: clamp(32px, 5.2vw, 60px); line-height: 1; letter-spacing: -.03em; max-width: 16ch; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.12; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; font-weight: 600; color: var(--text2); max-width: 36em; margin: 20px 0 0; }
.body2 { color: var(--text2); margin: 10px 0 0; max-width: 34em; }
.hand { font: 600 24px/1.1 var(--hand); color: var(--green-text); display: inline-block; transform: rotate(-4deg); }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font: 700 11px/14px var(--body); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: var(--surface2); color: var(--text); white-space: nowrap;
}
.tag.next { background: var(--ink); color: #FBF6EE; }

.tag.live { background: transparent; border: 1.5px solid var(--live); color: var(--live-text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 16px; background: var(--clay); color: var(--ink);
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { background: #3AAD7E; }
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: not-allowed; opacity: .7; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--text); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px 8px 14px;
  border-radius: 14px; background: var(--ink); color: #FBF6EE; text-decoration: none; line-height: 1.15;
  border: 1.5px solid transparent;
}

.store small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mint); }
.store b { font-size: 17px; }
.store[data-soon="true"] { cursor: default; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.soon-note { font-size: 14px; color: var(--text2); min-height: 1.5em; margin: 8px 0 0; }

/* header */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.brand img { border-radius: 9px; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--text2); padding: 10px 10px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-end { display: flex; gap: 8px; align-items: center; margin-left: auto; }
@media (min-width: 940px) { .nav-links { display: flex; } .nav-links + .nav-end { margin-left: 8px; } }

/* the route: each section is a stop */
.stop { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 13px/1 var(--body); color: var(--text2); }
.pin {
  width: 34px; height: 38px; display: grid; place-items: center; flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--ink); color: #FBF6EE; font: 800 12px/1 var(--display); letter-spacing: -.01em;
  transition: background-color .3s ease;
}

.stop.here .pin { background: var(--stamp); color: var(--ink); }
.stop .where { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
/* Legs of the route between stops: a dotted base is always there; where the browser supports scroll-driven
   animation (and motion is welcome) a solid line traces over it as you scroll. */
.leg { display: block; width: 100%; height: 120px; overflow: visible; color: var(--text); }
.leg path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 9; opacity: .5; vector-effect: non-scaling-stroke; }
.leg path.draw { display: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .leg path.draw { display: inline; stroke: var(--stamp); stroke-width: 3; stroke-dasharray: 1200; stroke-dashoffset: 1200; opacity: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 60%; vector-effect: none; }
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* device frame */
.device { margin: 0; width: var(--dw, 272px); flex: none; }
.bezel {
  background: var(--ink); padding: 7px; border-radius: 44px; box-shadow: var(--shadow);
  outline: 1px solid rgba(255,255,255,.08); outline-offset: -1px;
}
.bezel picture, .bezel img { border-radius: 37px; overflow: hidden; }
.bezel img { width: 100%; height: auto; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; background: var(--surface); filter: var(--screen-filter); }
.bezel img.bottom { object-position: bottom; }
.device figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; font-size: 14px; line-height: 1.35; color: var(--text2); }
@media (max-width: 420px) { .device { --dw: 232px; } }

/* hero */
.hero { padding: 40px 0 24px; overflow-x: clip; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 64px 0 24px; } .hero .wrap { grid-template-columns: 1.2fr .8fr; } }
.kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--clay) 62%, var(--clay) 92%, transparent 92%); padding: 0 .04em; }

.hero-stage { position: relative; justify-self: center; padding: 10px 34px; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--card); color: var(--text);
  border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; line-height: 1.2;
}
.chip small { display: block; font-weight: 600; color: var(--text2); font-size: 12px; }
.chip.c1 { top: 12%; left: -4px; }
.chip.c2 { bottom: 26%; right: -2px; }
.chip.c3 { bottom: 6%; left: 0; }
.hexstamp {
  width: 44px; height: 48px; display: grid; place-items: center; flex: none; position: relative;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--stamp); color: var(--ink); font: 800 14px/1 var(--display);
}
.hexstamp::after { content: ""; position: absolute; inset: 5px; clip-path: inherit; border: 0; background: transparent; outline: 1.5px dashed rgba(32,26,20,.55); outline-offset: -6px; }
.problem { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--text2); font-weight: 700; font-size: 15px; }
.problem s { text-decoration-thickness: 2px; text-decoration-color: var(--stamp); }

/* waitlist form */
.waitlist { margin-top: 28px; max-width: 520px; }
.waitlist label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--text) 55%, transparent); background: var(--card); font-weight: 600;
}
.field input::placeholder { color: var(--text2); opacity: 1; }
.field .btn { min-height: 52px; flex: 0 0 auto; }
.form-msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--text2); min-height: 1.5em; }
.form-msg.err { color: var(--live-text); }
.form-msg.ok { color: var(--green-text); }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 13px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; }
.or::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 160px; }

/* sections */
.section { padding: 8px 0 56px; }
@media (min-width: 900px) { .section { padding: 16px 0 80px; } }
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* how it works: sticky phone on wide screens */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.step { background: var(--surface); border-radius: 24px; padding: 24px; }
.step .n { font: 800 14px/1 var(--display); color: var(--green-text); }
.step h3 { margin-top: 10px; }
.step .inline-device { margin-top: 22px; display: flex; justify-content: center; }
.how-stage { display: none; }
@media (min-width: 900px) {
  .how .split { grid-template-columns: 1.05fr .95fr; }
  .js .how-stage { display: flex; position: sticky; top: 96px; justify-content: center; }
  .js .step .inline-device { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .step { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; background: transparent; padding: 0 0 0 24px; border-left: 3px solid var(--line); border-radius: 0; transition: border-color .3s ease; }
  .js .step.on { border-left-color: var(--clay); }
  .js .step:not(.on) h3 { opacity: .6; transition: opacity .3s ease; }
}
.screens-stack { position: relative; }
.screens-stack picture + picture { position: absolute; inset: 7px; }
.screens-stack picture { transition: opacity .35s ease; }
.screens-stack picture:not(.on) { opacity: 0; }
.screens-stack picture:first-child:not(.on) { opacity: 0; }
.screens-stack picture img { height: 100%; }

/* privacy */
.privacy-card { background: var(--surface); border-radius: 32px; padding: 22px; display: grid; gap: 22px; }
@media (min-width: 900px) { .privacy-card { grid-template-columns: 1fr 1.1fr; padding: 32px; gap: 32px; } }
.controls { display: grid; gap: 18px; align-content: start; border: 0; padding: 0; margin: 0; }
.ctl { border: 0; padding: 0; margin: 0; min-width: 0; }
.ctl legend { font-weight: 800; font-size: 15px; margin-bottom: 8px; padding: 0; }
.seg { display: flex; background: var(--surface2); border-radius: 999px; padding: 4px; gap: 2px; }
.seg label { flex: 1; position: relative; text-align: center; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 6px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--text2); min-height: 44px; display: grid; place-items: center; }
.seg input:checked + span { background: var(--ink); color: #FBF6EE; }

.seg input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 2px; }
.help { font-size: 14px; color: var(--text2); margin: 8px 2px 0; min-height: 3em; }
.help > span { display: none; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--card); border-radius: 18px; padding: 12px 14px; cursor: pointer; }
.switch b { display: block; font-size: 15px; }
.switch small { display: block; color: var(--text2); font-size: 13px; line-height: 1.35; }
.switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 32px; border-radius: 999px; background: var(--surface2); position: relative; flex: none; cursor: pointer; margin: 0; border: 1.5px solid color-mix(in srgb, var(--text) 55%, transparent); transition: background-color .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--text2); transition: transform .2s ease, background-color .2s; }
.switch input:checked { background: var(--ink); border-color: var(--ink); }
.switch input:checked::after { transform: translateX(20px); background: var(--clay); }

.map-card { background: var(--card); border-radius: 24px; padding: 12px; position: relative; }
.map-card svg { width: 100%; height: auto; border-radius: 16px; }
.viewers { display: flex; align-items: center; gap: 10px; margin: 12px 4px 2px; font-size: 14px; color: var(--text2); font-weight: 600; }
.avs { display: flex; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--body); color: var(--ink); border: 2px solid var(--card); margin-left: -8px; }
.av:first-child { margin-left: 0; }
.av.cf { box-shadow: 0 0 0 2px var(--clay); }
/* map states, driven by the radios above (works without JS where :has() is supported) */
.m-dot, .m-city, .m-ghost, .m-later, .m-hidden, .m-home-route { transition: opacity .3s ease; }
.m-city, .m-ghost, .m-later, .m-hidden { opacity: 0; }
.privacy-card:has(#p-city:checked) .m-dot, .privacy-card:has(#p-ghost:checked) .m-dot { opacity: 0; }
.privacy-card:has(#p-city:checked) .m-city { opacity: 1; }
.privacy-card:has(#p-ghost:checked) .m-ghost { opacity: 1; }
.privacy-card:has(#p-city:checked) .m-route, .privacy-card:has(#p-ghost:checked) .m-route { opacity: .18; }
.privacy-card:has(#p-city:checked) .m-later, .privacy-card:has(#p-ghost:checked) .m-later { opacity: 1; }
.privacy-card:has(#p-hide:checked) .m-home-route { opacity: 0; }
.privacy-card:has(#p-hide:checked) .m-hidden { opacity: 1; }
.help .h-exact { display: inline; }
.privacy-card:has(#p-city:checked) .help .h-exact, .privacy-card:has(#p-ghost:checked) .help .h-exact { display: none; }
.privacy-card:has(#p-city:checked) .help .h-city { display: inline; }
.privacy-card:has(#p-ghost:checked) .help .h-ghost { display: inline; }
.av.circle-only { transition: opacity .25s ease; }
.privacy-card:has(#a-close:checked) .av.circle-only { opacity: .18; }
.v-close { display: none; }
.privacy-card:has(#a-close:checked) .v-close { display: inline; }
.privacy-card:has(#a-close:checked) .v-circle { display: none; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { background: var(--surface); border-radius: 20px; padding: 18px; font-size: 15px; color: var(--text2); }
.facts b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.privacy-more { display: grid; gap: 28px; align-items: center; margin-top: 40px; }
@media (min-width: 900px) { .privacy-more { grid-template-columns: auto 1fr; gap: 56px; } .privacy-more .device { --dw: 240px; } }

/* passport */
.passport-card { background: #1D3F52; color: #F3ECE2; border-radius: 32px; padding: 22px; display: grid; gap: 24px; overflow: hidden; }
@media (min-width: 900px) { .passport-card { grid-template-columns: 1.05fr .95fr; padding: 36px; } }
.passport-card .h3 { color: #F3ECE2; }
.count { font: 800 clamp(56px, 8vw, 84px)/1 var(--display); letter-spacing: -.04em; display: flex; align-items: baseline; gap: 6px; }
.count small { font-size: .4em; color: #C9BBA8; letter-spacing: 0; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; margin: 10px 0 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--clay); border-radius: inherit; transition: width .35s ease; }
.rank { font-weight: 700; color: #E9DFD0; margin: 0; min-height: 1.6em; }
.india { width: 100%; max-width: 480px; margin: 0 auto; height: auto; }
.india path { fill: #F3E3C8; stroke: #1D3F52; stroke-width: 1; stroke-linejoin: round; cursor: pointer; transition: fill .25s ease; }
.india path:hover { fill: #FFF4E0; }
.india path.on { fill: #C8412B; stroke-width: 1.5; }
.india path.on:hover { fill: #D44E37; }
.states { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 0; list-style: none; }
.states button {
  min-height: 44px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid rgba(243,236,226,.35); background: transparent;
  color: #F3ECE2; font-size: 14px; font-weight: 700; cursor: pointer;
}
.states button[aria-pressed="true"] { background: var(--stamp); border-color: var(--stamp); color: var(--ink); }
.states button[aria-pressed="true"]::before { content: "✓ "; }
.passport-card :focus-visible { outline-color: #F3ECE2; }
.passport-card .reset { margin-top: 14px; background: transparent; border: 0; color: #E9DFD0; text-decoration: underline; cursor: pointer; font-weight: 700; padding: 8px 0; min-height: 44px; }
.stamp-fly { position: absolute; pointer-events: none; z-index: 5; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: no-preference) {
  .stamp-fly { animation: press .7s cubic-bezier(.2, .9, .3, 1.2) forwards; }
}
@keyframes press { 0% { transform: translate(-50%, -50%) scale(1.8) rotate(-12deg); opacity: 0; } 35% { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 0; } }
.map-wrap { position: relative; }
.map-note { font-size: 13px; color: #C9BBA8; margin: 10px 0 0; text-align: center; }
.passport-real { display: grid; gap: 28px; align-items: center; margin-top: 40px; }
@media (min-width: 900px) { .passport-real { grid-template-columns: auto 1fr; } }

/* together */
.cards2 { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 900px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--surface); border-radius: 32px; padding: 24px; display: grid; gap: 22px; align-content: start; }
.panel .row { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.panel .row > div { flex: 1 1 220px; }
.offer { background: var(--card); border-radius: 22px; padding: 16px; }
.offer-head { display: flex; gap: 10px; align-items: center; }
.offer-head .av { width: 36px; height: 36px; background: #8FA3C7; margin: 0; }
.offer-head b { display: block; font-size: 15px; }
.offer-head small { color: var(--text2); font-size: 13px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; }
.thumbs img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.offer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.offer-actions .btn { flex: 1 1 auto; min-height: 44px; font-size: 15px; padding: 8px 14px; }
.offer-actions .accept { background: var(--ink); color: #FBF6EE; border: 1.5px solid color-mix(in srgb, var(--text) 40%, transparent); }
.offer-actions .link { background: transparent; color: var(--green-text); text-decoration: underline; }
.offer-msg { font-size: 14px; color: var(--text2); margin: 10px 2px 0; min-height: 1.5em; }
.offer-msg.ok { color: var(--green-text); font-weight: 700; }
.fine { font-size: 13px; color: var(--text2); margin: 10px 2px 0; }

/* discover */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.duo { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.duo .device { --dw: 248px; }
@media (max-width: 420px) { .duo .device { --dw: 232px; } }

/* roadmap */
.road { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .road { grid-template-columns: repeat(3, 1fr); } }
.road li { background: var(--surface); border-radius: 24px; padding: 22px; }
.road h3 { font-size: 22px; margin: 0 0 6px; }
.road p { margin: 0; color: var(--text2); font-size: 15px; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 800 20px/1.25 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 500 28px/1 var(--body); color: var(--text2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text2); max-width: 40em; }

/* final */
.final { text-align: left; padding-bottom: 72px; }
.final-card { background: var(--ink); color: #FBF6EE; border-radius: 36px; padding: 32px 22px; position: relative; overflow: hidden; }
@media (min-width: 720px) { .final-card { padding: 56px; } }
.final-card .h2 { max-width: 14ch; }
.final-card .waitlist label, .final-card .form-msg { color: #E9DFD0; }
.final-card .form-msg.ok { color: var(--mint); }
.final-card .form-msg.err { color: #FF8FA3; }
.final-card .field input { background: #2A231C; color: #FBF6EE; border-color: rgba(251,246,238,.5); }
.final-card .field input::placeholder { color: #B8AA97; }
.final-card .store { border-color: rgba(251,246,238,.25); }
.final-card .soon-note { color: #D9CDBB; }
.final-card :focus-visible { outline-color: #FBF6EE; }
.done-stamp {
  position: absolute; right: 22px; top: 22px; width: 96px; height: 104px; display: grid; place-items: center; text-align: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--stamp); color: var(--ink);
  font: 800 13px/1.1 var(--display); transform: rotate(-8deg); text-transform: uppercase; letter-spacing: .02em;
}
@media (max-width: 560px) { .done-stamp { position: static; margin-bottom: 18px; width: 76px; height: 84px; font-size: 11px; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--text2); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { font-weight: 700; color: var(--text); padding: 8px 0; display: inline-block; }
.foot p { margin: 0; max-width: 60em; }

/* motion: prints land once, only with JS and only when motion is welcome; never starts invisible */
@media (prefers-reduced-motion: no-preference) {
  .js .land { transform: translateY(16px); transition: transform .5s cubic-bezier(.2, .9, .3, 1.15); }
  .js .land.in { transform: none; }
  .chip .dot { animation: pulse 1.8s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,50,90,.55); } 100% { box-shadow: 0 0 0 10px rgba(232,50,90,0); } }

/* legal pages */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.03em; line-height: 1; margin: 18px 0 10px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text2); }
.doc strong { color: var(--text); }
.draft { background: #FCE3DD; color: #6B1E10; border: 2px dashed var(--stamp); border-radius: 16px; padding: 14px 16px; font-weight: 700; margin: 18px 0; }
.todo { background: var(--surface2); border-radius: 6px; padding: 0 6px; font-weight: 700; color: var(--text); }
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface); }
td a { word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* small-screen fixes */
.hero .wrap { grid-template-columns: minmax(0, 1fr); }
.hero .wrap > * { min-width: 0; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.nav .btn.sm { white-space: nowrap; }
@media (max-width: 400px) { .nav .btn .long { display: none; } .brand { font-size: 20px; } }
@media (max-width: 899px) { .passport-card .map-wrap { order: -1; } }
.pair { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 719px) {
  .pair { flex-wrap: nowrap; }
  .pair .device { --dw: calc((100vw - 2 * var(--gutter) - 16px) / 2); }
  .duo { flex-wrap: nowrap; gap: 14px; }
  .duo .device { --dw: calc((100vw - 2 * var(--gutter) - 14px) / 2); }
  .pair .device figcaption, .duo .device figcaption { font-size: 12px; }
  .pair .bezel, .duo .bezel { padding: 5px; border-radius: 28px; }
  .pair .bezel picture, .pair .bezel img, .duo .bezel picture, .duo .bezel img { border-radius: 23px; }
}

/* Windows High Contrast: selected / on / pressed states must not rely on background colour alone */
@media (forced-colors: active) {
  .seg input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; outline: 2px solid Highlight; }
  .switch input:checked { background: Highlight; border-color: Highlight; }
  .switch input::after { background: CanvasText; }
  .switch input:checked::after { background: HighlightText; }
  .states button[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: -3px; }
  .js .step.on { border-left-color: Highlight; }
}

/* ── Passport v2: place stamps on shelves, rarity tiers, the States strip, the World passport ── */
.places-card { display: block; }
.pc-head { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .pc-head { grid-template-columns: 1fr auto; } }
.tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.tiers li { flex: 1 1 auto; }
@media (min-width: 900px) { .tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 112px)); } }
@media (max-width: 899px) { .tiers li { padding: 7px 10px; } .tiers b { display: inline; margin-right: 6px; } }
.tiers li { border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(243,236,226,.2); font-size: 13px; line-height: 1.3; color: #E9DFD0; }
.tiers b { display: block; font: 800 12px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.tiers .r-common b { color: #E9DFD0; }
.tiers .r-uncommon b { color: #8CD9B9; }
.tiers .r-rare b { color: #9CC3FF; }
.tiers .r-epic b { color: #D7B8FF; }
.tiers .r-legendary b { color: #FFD27A; }
.tiers .r-epic, .tiers .r-legendary { border-color: transparent; background: linear-gradient(#24495E, #24495E) padding-box, conic-gradient(from 0deg, #FFD27A, #F06E56, #D7B8FF, #9CC3FF, #8CD9B9, #FFD27A) border-box; }
.shelf-tabs { display: flex; gap: 6px; margin: 26px 0 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.shelf-tabs button { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(243,236,226,.35); background: transparent; color: #F3ECE2; font-weight: 800; font-size: 15px; cursor: pointer; }
.shelf-tabs button[aria-selected="true"] { background: #F3ECE2; color: var(--ink); border-color: #F3ECE2; }
.shelf-h { font: 800 18px/1.2 var(--display); margin: 18px 0 10px; color: #F3ECE2; }
.js .shelf-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .shelf:not(.on) { display: none; }
.pstamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 8px; }
@media (min-width: 900px) { .pstamps { grid-template-columns: repeat(8, 1fr); } }
.pstamp { width: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; background: transparent; border: 0; border-radius: 16px; color: #F3ECE2; cursor: pointer; text-align: center; }
.pstamp:hover .ps-art { transform: translateY(-2px); }
.ps-art { position: relative; width: 64px; height: 64px; display: grid; place-items: center; flex: none; transition: transform .18s ease; color: rgba(243,236,226,.55); }
.ps-art::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.07); outline: 1.5px dashed rgba(243,236,226,.45); outline-offset: -4px; }
.ps-art svg { position: relative; width: 30px; height: 30px; }
.s-postmark .ps-art::before { border-radius: 50%; }
.s-perforated .ps-art::before { border-radius: 6px; }
.s-pennant .ps-art::before { clip-path: polygon(50% 100%, 0 6%, 100% 6%); outline: 0; background: rgba(243,236,226,.16); }
.s-pennant .ps-art svg { margin-top: -10px; width: 26px; height: 26px; }
.ps-name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.ps-tier { font: 700 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #C9BBA8; }
.pstamp[aria-pressed="true"] .ps-art { color: #FFFFFF; }
.pstamp[aria-pressed="true"] .ps-art::before { outline-color: rgba(255,255,255,.8); outline-style: dashed; background: var(--kind); }
.pstamp[aria-pressed="true"] .ps-tier { color: #F3ECE2; }
.k-trek { --kind: #4C6FD0; } .k-beach, .k-island { --kind: #1F8C88; } .k-hill-station { --kind: #3E8A57; }
.k-city { --kind: #C8412B; } .k-heritage { --kind: #B7661F; } .k-summit-pass { --kind: #7A55C7; }
.pstamp.r-epic[aria-pressed="true"] .ps-art, .pstamp.r-legendary[aria-pressed="true"] .ps-art { filter: drop-shadow(0 0 0 #FFD27A); }
.pstamp.r-epic[aria-pressed="true"] .ps-art::after, .pstamp.r-legendary[aria-pressed="true"] .ps-art::after {
  content: ""; position: absolute; inset: -5px; z-index: -1; background: conic-gradient(from var(--holo, 0deg), #FFD27A, #F06E56, #D7B8FF, #9CC3FF, #8CD9B9, #FFD27A);
}
.ps-art { isolation: isolate; }
.s-postmark .ps-art::after { border-radius: 50%; }
.s-perforated .ps-art::after { border-radius: 9px; }
.s-pennant .ps-art::after { clip-path: polygon(50% 100%, 0 0, 100% 0); }
.pstamp.r-legendary .ps-tier { color: #FFD27A; }
.pstamp.r-epic .ps-tier { color: #D7B8FF; }
.pstamp:focus-visible { outline: 3px solid #F3ECE2; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .pstamp.pressing .ps-art { animation: slam .5s cubic-bezier(.2, .9, .3, 1.3); }
}
@keyframes slam { 0% { transform: scale(1.5) rotate(-10deg); } 55% { transform: scale(.92) rotate(2deg); } 100% { transform: none; } }
.shelf-note { text-align: left; margin-top: 18px; max-width: 60em; }

.states-strip { margin-top: 18px; background: var(--surface); border-radius: 28px; }
.states-strip > summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; display: grid; gap: 4px; border-radius: 28px; }
.states-strip > summary::-webkit-details-marker { display: none; }
.states-strip > summary::after { content: "+"; position: absolute; right: 22px; top: 18px; font: 500 30px/1 var(--body); color: var(--text2); transition: transform .2s ease; }
.states-strip[open] > summary::after { transform: rotate(45deg); }
.states-strip > summary .body2 { margin: 0; }
.states-strip .states-card { margin: 0 12px 12px; }

.trio { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 719px) {
  .trio { flex-wrap: nowrap; gap: 10px; }
  .trio .device { --dw: calc((100vw - 2 * var(--gutter) - 20px) / 3); }
  .trio .device figcaption { font-size: 11px; }
  .trio .device figcaption .tag { font-size: 9px; padding: 3px 6px; }
  .trio .bezel { padding: 4px; border-radius: 20px; }
  .trio .bezel picture, .trio .bezel img { border-radius: 16px; }
}
.passport-real { grid-template-columns: 1fr !important; }
.stamp-rules { margin-top: 32px; }

.world { display: grid; gap: 28px; align-items: center; margin-top: 56px; }
@media (min-width: 900px) { .world { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.world-copy { min-width: 0; }
.globe-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #0B1630 0 60%, transparent 70%); }
.globe-wrap img, .globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.globe-wrap canvas { opacity: 0; transition: opacity .6s ease; }
.globe-wrap.live canvas { opacity: 1; }
.globe-wrap.live img { opacity: 0; transition: opacity .6s ease; }
.globe-wrap::after { content: ""; position: absolute; inset: -3%; border-radius: 50%; box-shadow: 0 0 60px 6px rgba(120,170,255,.25); pointer-events: none; }
.globe-note { text-align: left; color: var(--text2); }
@media (max-width: 599px) {
  .pstamps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 4px; }
  .pstamp { min-height: 118px; }
  .ps-art { width: 54px; height: 54px; }
  .ps-art svg { width: 26px; height: 26px; }
  .ps-name { font-size: 12px; }
}
@media (max-width: 599px) { .globe-wrap { width: min(78%, 300px); } }
