/* Passmio landing — minimal, indigo + mint from the app icon */

:root {
  --bg: #f7f8fc;
  --bg-2: #eef0f9;
  --card: #ffffff;
  --ink: #0d1130;
  --ink-2: #4a5073;
  --ink-3: #8a90ae;
  --line: #e1e4f1;
  --accent: #3446ec;
  --accent-ink: #ffffff;
  --accent-soft: #e6e9ff;
  --mint: #12b391;
  --mint-bright: #64f2d4;
  --warn: #e57a12;
  --warn-soft: #fff0e0;
  --ok-soft: #dcf7ef;
  --phone: #0d1130;
  --screen: #f4f5fb;
  --shadow: 0 1px 2px rgb(13 17 48 / .05), 0 12px 40px -12px rgb(13 17 48 / .18);
  --radius: 22px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080a18;
    --bg-2: #0e1126;
    --card: #131733;
    --ink: #eef0ff;
    --ink-2: #a8adcf;
    --ink-3: #6c7198;
    --line: #232849;
    --accent: #6b7bff;
    --accent-ink: #ffffff;
    --accent-soft: #1c2152;
    --mint: #64f2d4;
    --warn: #ffa24a;
    --warn-soft: #3a2611;
    --ok-soft: #10332c;
    --phone: #1d2247;
    --screen: #0c0f22;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 20px 50px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.sm { font-size: 13px; line-height: 1.45; }
.row { display: flex; align-items: center; gap: 8px; }
.between { justify-content: space-between; }
.center { text-align: center; justify-content: center; }

.wrap {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wrap.narrow { max-width: 760px; }

/* ---------- buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; padding: 12px 20px;
  transition: transform .25s var(--ease), opacity .25s;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 186px;
  padding: 11px 20px 11px 16px; border-radius: 14px;
  background: var(--ink); color: var(--bg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgb(13 17 48 / .45); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; opacity: .75; letter-spacing: .02em; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
h1 { font-size: clamp(38px, 5.6vw, 74px); margin-top: 22px; }
h1 .nw { white-space: nowrap; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-top: 22px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }

/* phone mockup */
.phone {
  position: relative; z-index: 2; width: 290px; aspect-ratio: 290 / 600; max-width: 100%;
  padding: 10px; border-radius: 50px; background: var(--phone);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgb(255 255 255 / .08);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--screen);
  padding: 46px 14px 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px;
}
.island { position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #000; }
.scr-head { position: absolute; top: 14px; left: 28px; font: 600 13px var(--sans); }
.scr-title { font-size: 26px; font-weight: 700; letter-spacing: -.03em; margin: 2px 4px 2px; }
.scr-card { background: var(--card); border-radius: 18px; padding: 12px 14px; display: grid; gap: 6px; box-shadow: 0 1px 2px rgb(13 17 48 / .06); }
.scr-card > .row span:first-child { font-weight: 600; }
.ring-row { display: flex; align-items: center; gap: 14px; margin: 4px 0; }
.ring { width: 82px; height: 82px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 11; }
.ring-bg { stroke: var(--bg-2); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.8s var(--ease) .6s forwards; }
@keyframes ring { to { stroke-dashoffset: 31; } }
.num { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sm-num { font-size: 24px; }
.num small { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.pill { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--mint); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 1.4s var(--ease) .3s; }
.in .bar i, .phone .bar i { width: var(--w); }
.phone .bar i { animation: grow 1.4s var(--ease) 1s both; }
@keyframes grow { from { width: 0; } }
.bar.warn i { background: var(--warn); }
.bar.lg { height: 8px; margin: 4px 0 2px; }
.tabbar {
  margin-top: auto; margin-inline: -14px; padding: 12px 30px 22px; display: flex; justify-content: space-between;
  background: color-mix(in srgb, var(--card) 85%, transparent); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 18px;
}
.tabbar .on { color: var(--accent); }

/* passport stamps (ink look) */
.stamp {
  --r: 0deg;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 14px; border: 2.5px solid var(--c); border-radius: 12px; color: var(--c);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4.5px var(--c);
  rotate: var(--r); font-family: var(--mono); line-height: 1.1;
}
.stamp.round { border-radius: 50%; width: 112px; height: 112px; justify-content: center; padding: 0; }
.stamp .f { font-size: 24px; line-height: 1; margin-bottom: 2px; }
.stamp b { font-size: 12px; letter-spacing: .12em; font-weight: 500; }
.stamp i { font-style: normal; font-size: 10px; letter-spacing: .06em; opacity: .8; }
@media (prefers-color-scheme: dark) { .stamp { --c-mix: 1; filter: brightness(1.5) saturate(.9); } }

.stamps-orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stamps-orbit .stamp { position: absolute; opacity: 0; animation: stamp .55s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.s1 { --r: -10deg; top: 5%; left: 2%; animation-delay: .5s !important; }
.s2 { --r: 8deg; top: 12%; right: 0; animation-delay: .75s !important; }
.s3 { --r: 6deg; top: 52%; left: -4%; animation-delay: 1s !important; }
.s4 { --r: -7deg; bottom: 14%; right: -2%; animation-delay: 1.25s !important; }
.s5 { --r: -3deg; bottom: -1%; left: 2%; animation-delay: 1.5s !important; }
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.9); }
  60% { opacity: .95; transform: scale(.94); }
  100% { opacity: .92; transform: scale(1); }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding-block: 18px; }
.track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; gap: 44px; margin: 0; padding: 0 22px; list-style: none; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.sec-head { margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head h2 { font-size: clamp(36px, 5vw, 60px); }
.kicker { font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 140px); }
.feature.flip .f-copy { order: 2; }
.f-copy { min-width: 0; max-width: 30em; }
.f-num { font: 500 13px var(--mono); color: var(--accent); }
.f-copy h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 12px 0 16px; }
.f-copy > p { color: var(--ink-2); }
.f-visual { min-width: 0; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='%233446ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}

/* counters demo */
.counters-demo { display: grid; gap: 14px; background: var(--bg-2); }
.cd-card { background: var(--card); border-radius: 20px; padding: 18px 20px; display: grid; gap: 6px; }
.cd-t { font-weight: 600; }
.cd-big { display: flex; align-items: baseline; gap: 8px; font-size: 56px; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cd-big small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.warn-t { color: var(--warn); font-weight: 600; }

/* photo scan demo */
.scan-top { display: flex; align-items: center; gap: 14px; }
.scan-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #8b5cf61f; color: #8b5cf6; flex: none; }
.scan-title { font-weight: 600; }
.slider { position: relative; height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin: 18px 0 8px; transition: opacity .4s; }
.slider i { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: #8b5cf6; animation: sweep 1.1s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.scan-demo.done .slider { opacity: 0; }
.found { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.found li {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 140ms);
}
.found li:first-child { border-top: 0; }
.scan-demo.done .found li { opacity: 1; transform: none; }
.found li.saved { color: var(--ink-3); }
.scan-demo.done .found li.saved { opacity: .55; }
.found .fl { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-2); display: grid; place-items: center; font-size: 20px; flex: none; }
.found b { display: block; font-weight: 600; }
.found em { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); }
.chk { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink-3); flex: none; position: relative; transition: background .3s, border-color .3s; transition-delay: calc(var(--i) * 140ms + 300ms); }
.scan-demo.done .found li:not(.saved) .chk { background: var(--accent); border-color: var(--accent); }
.scan-demo.done .found li:not(.saved) .chk::after {
  content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg;
}

/* calendar demo */
.cal-head { margin-bottom: 14px; font-size: 17px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.cal-dow { font: 500 11px var(--mono); color: var(--ink-3); margin-bottom: 6px; }
.cal-grid span {
  width: 100%; min-width: 0; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 14px; font-variant-numeric: tabular-nums;
  opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .4s var(--ease), background .4s;
  transition-delay: calc(var(--i) * 18ms);
}
.in .cal-grid span { opacity: 1; transform: none; }
.cal-grid .empty { visibility: hidden; }
.cal-grid .abroad { background: #c8102e1f; color: #c8102e; font-weight: 600; }
.cal-grid .planned { border: 1.5px dashed #0f7a4f; color: #0f7a4f; font-weight: 600; }
.cal-grid .today { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
@media (prefers-color-scheme: dark) { .cal-grid .abroad { color: #ff6b7f; } .cal-grid .planned { border-color: #4fd39a; color: #4fd39a; } }
.fit { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--ok-soft); }
.fit-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }

/* passport demo */
.passport-demo { display: grid; gap: 22px; }
.pp-cover {
  border-radius: 20px; padding: 22px; color: #eef0ff;
  background: linear-gradient(135deg, #2a3be0, #1a2394 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
}
.pp-label { font: 500 11px var(--mono); letter-spacing: .2em; opacity: .7; }
.pp-stats { display: flex; gap: 28px; margin: 18px 0; flex-wrap: wrap; }
.pp-stats b { display: block; font-size: 38px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-stats span { font-size: 12px; opacity: .75; }
.pp-mrz { font-size: 11px; letter-spacing: .1em; opacity: .55; white-space: nowrap; overflow: hidden; }
.pp-stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; justify-items: center; align-items: center; }
.stamp.mini { padding: 8px 10px; }
.stamp.mini.round { width: 88px; height: 88px; padding: 0; }
.stamp.mini b { font-size: 10px; }
.pp-stamps .stamp { opacity: 0; transform: scale(1.7); transition: opacity .35s, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.in .pp-stamps .stamp { opacity: .92; transform: none; }
.in .pp-stamps .stamp:nth-child(1) { transition-delay: .2s; }
.in .pp-stamps .stamp:nth-child(2) { transition-delay: .35s; }
.in .pp-stamps .stamp:nth-child(3) { transition-delay: .5s; }
.in .pp-stamps .stamp:nth-child(4) { transition-delay: .65s; }
.in .pp-stamps .stamp:nth-child(5) { transition-delay: .8s; }
.in .pp-stamps .stamp:nth-child(6) { transition-delay: .95s; }

/* small features grid */
.grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(96px, 12vw, 150px); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .8s var(--ease) var(--d, 0ms); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.t-ico { font-size: 26px; }
.tile h4 { font-size: 19px; margin: 14px 0 8px; }
.tile p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* who */
.who { background: var(--bg-2); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { background: var(--card); border-radius: var(--radius); padding: 26px; }
.who-flag { font-size: 30px; }
.who-card h4 { font-size: 19px; margin: 16px 0 8px; }
.who-card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* privacy */
.privacy-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.privacy h2 { font-size: clamp(36px, 5vw, 60px); }
.lock svg { width: clamp(120px, 18vw, 200px); height: auto; }
.lk-ring { fill: var(--accent-soft); }
.lk-body { fill: var(--accent); }
.lk-shackle { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; transform-origin: 75px 54px; }
.in .lk-shackle { animation: shackle 1.4s var(--ease) .4s both; }
@keyframes shackle { 0% { transform: translateY(-9px); } 60% { transform: translateY(1px); } 100% { transform: none; } }
.lk-dot { fill: var(--mint-bright); }
.priv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 40px; }
.priv-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.priv-list span { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* pricing */
.sec-head.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 32px 28px; }
.plan h4 { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price { font-size: 48px; font-weight: 700; letter-spacing: -.04em; margin-top: 14px; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan .muted { font-size: 14px; margin-top: 8px; }
.plan.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.fine { margin-top: 28px; font-size: 13px; color: var(--ink-3); }

/* faq */
.faq { background: var(--bg-2); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--ink-3); transition: rotate .35s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* cta */
.cta { padding-block: clamp(90px, 12vw, 160px); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; max-width: 160vw;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  pointer-events: none;
}
.cta-in { position: relative; text-align: center; display: grid; justify-items: center; }
.cta-icon { border-radius: 22px; box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(36px, 5.4vw, 64px); margin-top: 28px; max-width: 14em; }
.cta p { color: var(--ink-2); margin-top: 14px; font-size: 18px; }
.cta .stores { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.foot .muted { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .f-copy { order: 0; }
  .grid-sm { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero { padding-block: 32px 56px; }
  .hero-visual { min-height: 540px; }
  .phone { width: 236px; }
  .stamp.round { width: 92px; height: 92px; }
  .stamps-orbit .stamp { scale: .7; }
  .s1 { left: 0; } .s3 { left: -2%; } .s4 { right: 0; } .s2 { right: 0; }
  .privacy-in { grid-template-columns: 1fr; }
  .priv-list { grid-template-columns: 1fr; gap: 20px; }
  .grid-sm, .who-grid { grid-template-columns: 1fr; }
  .cd-big { font-size: 46px; }
  .foot .muted { margin-left: 0; width: 100%; }
}
@media (max-width: 400px) {
  .store { min-width: 0; flex: 1 1 100%; justify-content: center; }
  .pp-stamps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .track { animation: none; }
  .slider i { animation: none; width: 100%; }
}

/* ---------- legal pages (privacy, terms) ---------- */
.legal { padding-block: clamp(48px, 8vw, 96px) clamp(72px, 10vw, 120px); }
.legal-head { margin-bottom: 48px; }
.legal-head h1 { font-size: clamp(40px, 6vw, 64px); margin-top: 0; }
.legal-head .muted { margin-top: 14px; font-size: 15px; }
.legal-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 48px; }
.legal-summary h2 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 12px; }
.legal-summary .ticks { margin-top: 0; }
.legal-body { max-width: 68ch; }
.legal-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 14px; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -.01em; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.legal-toc a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.legal-body th { color: var(--ink); font-weight: 600; background: var(--bg-2); }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body .table-wrap + p { margin-top: 16px; }
