/* Passbook marketing site — homepage styles.
   Design source: Figma "Passbook Website · Desktop 1440" (1673:306) and "Mobile 390" (1680:390).
   Tokens mirror the Figma "Website" variable collection and "Web/*" text styles. */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff;
  --surface: #f5f5f7;
  --surface-warm: #fbf3ec;
  --surface-cool: #eef4ff;
  --text: #0b0b0c;
  --text-2: #5f5f66;
  --text-3: #8e8e93;
  --border: #e6e6eb;
  --accent: #0a7aff;
  --coral: #f0675a;
  --green: #45b649;
  --blue: #2f95dc;
  --amber: #f5a524;
  --purple: #8e5ce6;
  --star: #ff9f0a;
  --ok: #34c759;
  --inverse: #000;
  --on-inverse: #fff;
  --on-inverse-2: #a1a1a6;
  --shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
  --section-pt: 160px;
  --mobile: 0; /* read by home.js */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* no scroll container, so the sticky nav keeps working */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; stroke-width: 2; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Typography (Web/* styles) ---------- */
.t-display { font-size: 76px; line-height: 1.02; letter-spacing: -0.032em; font-weight: 700; }
.t-h1 { font-size: 56px; line-height: 1.06; letter-spacing: -0.026em; font-weight: 700; }
.t-h2 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.t-h3 { font-size: 28px; line-height: 1.2; letter-spacing: -0.012em; font-weight: 700; }
.t-title { font-size: 20px; line-height: 1.3; letter-spacing: -0.006em; font-weight: 600; }
.t-body-l { font-size: 21px; line-height: 1.5; letter-spacing: -0.006em; }
.t-body { font-size: 17px; line-height: 1.55; letter-spacing: -0.003em; }
.t-strong { font-size: 17px; line-height: 1.4; letter-spacing: -0.003em; font-weight: 600; }
.t-label { font-size: 15px; line-height: 1.3; letter-spacing: -0.002em; font-weight: 600; }
.t-caption { font-size: 13px; line-height: 1.3; font-weight: 500; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.c2 { color: var(--text-2); }
.c3 { color: var(--text-3); }
.accent { color: var(--accent); }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px 12px 18px; border-radius: 999px;
  background: var(--inverse); color: var(--on-inverse);
  font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: -0.002em;
  white-space: nowrap; transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn.secondary { background: var(--surface); color: var(--text); }
.btn.plain { padding: 12px 22px; }
.badge img { height: 54px; width: auto; }
.chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: var(--surface);
  font-size: 15px; line-height: 1.3; font-weight: 600; white-space: nowrap;
}
.chip.on { background: var(--inverse); color: var(--on-inverse); }
.stars { display: inline-flex; gap: 3px; color: var(--star); }
.stars .i { width: 20px; height: 20px; }
.stars .off { color: var(--border); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.link-arrow .i { width: 16px; height: 16px; stroke-width: 2.5; }
.featured {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #1ac8fc, #1f6cf2);
}
.featured .i { width: 24px; height: 24px; }
.app-icon { border-radius: 22.5%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }

/* ---------- Visibility helpers ---------- */
.m-only { display: none !important; }

/* ---------- Announcement + navigation ---------- */
.announce {
  position: relative; height: 44px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--inverse); color: var(--on-inverse);
  font-size: 15px; font-weight: 600;
}
.announce strong { color: var(--star); font-weight: 600; }
.announce .i { width: 16px; height: 16px; color: var(--star); stroke-width: 2.5; }
.announce .sticker { position: absolute; width: 40px; transform: rotate(var(--r)); }

.nav-wrap { position: sticky; top: 0; z-index: 50; padding-top: 20px; }
.nav {
  position: relative;
  display: grid; grid-template-columns: 240px 1fr 240px; align-items: center;
  height: 64px; padding: 0 10px 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.006em; }
.logo img { width: 38px; height: 38px; }
.nav-links { display: flex; justify-content: center; gap: 40px; font-size: 16px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--surface); place-items: center;
}
.nav-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  flex-direction: column; padding: 8px; border-radius: 24px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.nav-menu a { padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.nav-menu a:hover { background: var(--surface); }
.nav.open .nav-menu { display: flex; }

/* ---------- Sections ---------- */
.section { padding-top: var(--section-pt); }
.head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.head h1, .head h2 { max-width: 1100px; }
.head p { max-width: 780px; }
.head.left { align-items: flex-start; text-align: left; }
.head.left h2 { max-width: 700px; }
.head.left p { max-width: 640px; }
.head .chips { padding: 8px 0 8px; }
.head + .stage-wrap, .head + .panel-block { margin-top: 40px; }

/* Fixed-size illustration scenes. home.js zooms a scene down when its row is narrower
   than the design width (--dw on desktop, --mw on mobile). */
.stage-wrap { display: flex; justify-content: center; }
.stage { position: relative; flex: none; width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px); transform-origin: top center; }
.panel { border-radius: 40px; overflow: hidden; }
.clip { overflow: hidden; }
.abs { position: absolute; left: var(--x); top: var(--y); }
.glow {
  position: absolute; left: var(--x); top: var(--y); width: var(--s, 380px); height: var(--s, 380px);
  border-radius: 50%; background: var(--c); opacity: var(--o, 0.22); filter: blur(80px);
}
.sticker-abs {
  position: absolute; left: var(--x); top: var(--y); width: var(--tw);
  transform: rotate(var(--r)); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}
.gradient-panel { background: linear-gradient(135deg, #f4eeff 0%, #eaf3ff 50%, #fff0e6 100%); }

/* iPhone mockup (Device / iPhone component, 340 × 716 base) */
.phone {
  --w: var(--pw, 340px);
  width: var(--w); padding: calc(var(--w) * 10 / 340);
  border-radius: calc(var(--w) * 58 / 340);
  background: #1c1c1e;
  box-shadow: inset 0 0 0 2px #5a5a5e, 0 32px 64px -8px rgba(0, 0, 0, 0.16);
}
.phone img { width: 100%; height: auto; aspect-ratio: 402 / 874; object-fit: cover; border-radius: calc(var(--w) * 48 / 340); }
.phone::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--w) * 19 / 340); transform: translateX(-50%);
  width: calc(var(--w) * 98 / 340); height: calc(var(--w) * 29 / 340); border-radius: 999px; background: #000;
}
.phone.flat { box-shadow: inset 0 0 0 2px #5a5a5e; }

/* Floating UI cards inside scenes */
.card {
  position: absolute; left: var(--x); top: var(--y); width: var(--cw);
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  border-radius: 24px; background: #fff; box-shadow: var(--shadow); text-align: left;
}
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.tile { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; background: var(--c, #000); }
.tile .i { width: 17px; height: 17px; }
.tile.sm { width: 28px; height: 28px; border-radius: 8px; }
.tile.sm .i { width: 16px; height: 16px; }
.okdot { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ok); color: #fff; }
.okdot .i { width: 18px; height: 18px; stroke-width: 3; }

.boarding .code { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.boarding .route { flex: 1; display: flex; align-items: center; gap: 8px; }
.boarding .route::before, .boarding .route::after { content: ""; flex: 1; height: 2px; background: var(--border); }
.plane-pill { padding: 6px 12px; border-radius: 999px; background: var(--surface-cool); color: var(--accent); display: grid; }
.plane-pill .i { width: 18px; height: 18px; }

.stamp-card { background: #7a5539; color: #fff; gap: 16px; padding: 20px; }
.stamp-card .meta { text-align: right; }
.stamp-card .meta small { display: block; color: rgba(255, 255, 255, 0.6); }
.stamps { display: grid; grid-template-columns: repeat(5, 38px); justify-content: space-between; row-gap: 10px; }
.stamps span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); }
.stamps span.on { background: #fff; border-color: #fff; }

.list-card { gap: 2px; padding: 18px; }
.list-card .list-head { padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.list-card .row { padding: 9px 0; }

.wallet-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: 14px; background: #000; color: #fff;
  font-size: 15px; font-weight: 600;
}
.wallet-glyph { position: relative; width: 28px; height: 21px; border-radius: 5px; overflow: hidden; background: #3a3a3c; flex: none; }
.wallet-glyph i { position: absolute; left: 3px; width: 22px; height: 5px; border-radius: 1.5px; }
.wallet-glyph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: #2c2c2e; }

.barcode { display: block; width: 100%; height: 40px; color: var(--text); }
.mini-pass { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #14505c; color: #fff; white-space: nowrap; }
.mini-pass small, .pass small { display: block; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.02em; }

.field { padding: 10px 14px; border-radius: 12px; background: var(--surface); }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -4px; background: var(--accent); }
.swatches { display: flex; gap: 12px; align-items: center; }
.swatches span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); }
.swatches span.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent); }

.checks { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.check { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.003em; }
.check .dot { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--inverse); color: #fff; }
.check .dot .i { width: 15px; height: 15px; stroke-width: 3; }
.checks.on-dark .check { color: #fff; }
.checks.on-dark .dot { background: #fff; color: #000; }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; text-align: center; }
.hero .head { gap: 24px; }
.proof { display: flex; justify-content: center; align-items: center; gap: 40px; padding: 16px 0 48px; }
.proof .item { display: flex; align-items: center; gap: 12px; text-align: left; }
.proof small { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); }
.proof b { font-size: 17px; font-weight: 600; letter-spacing: -0.003em; }
.proof .divider { width: 1px; height: 40px; background: var(--border); }
.proof .app-icon { width: 44px; height: 44px; }

/* ---------- Recognition ---------- */
.recognition { --section-pt: 140px; }
.rec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.rec-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 48px 40px; border-radius: 32px; background: var(--surface); text-align: center;
}
.rec-card.warm { background: var(--surface-warm); }
.rec-card .visual { height: 56px; display: grid; place-items: center; margin-bottom: 4px; }
.rec-card .featured { width: 56px; height: 56px; border-radius: 14px; }
.rec-card .featured .i { width: 30px; height: 30px; }
.rec-card .stars .i { width: 30px; height: 30px; }
.rec-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Wallet (dark) scene ---------- */
.dark-panel { background: #000; }
.notif {
  position: absolute; left: var(--x); top: var(--y); width: var(--cw);
  display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 22px;
  background: rgba(44, 44, 46, 0.92); color: #fff; text-align: left;
}
.notif small { display: block; font-size: 13px; font-weight: 500; color: var(--on-inverse-2); }
.notif .app-icon { width: 36px; height: 36px; }
.notif .na { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; background: #12324a; font-size: 13px; font-weight: 600; }
.watch { position: absolute; left: var(--x); top: var(--y); width: 210px; height: 330px; transform-origin: top left; }
.watch .band { position: absolute; left: 30px; width: 150px; height: 70px; border-radius: 18px; background: #3a3a3c; }
.watch .band.b { top: 260px; }
.watch .crown { position: absolute; left: 196px; top: 110px; width: 12px; height: 40px; border-radius: 4px; background: #5a5a5e; }
.watch .case { position: absolute; top: 47px; width: 200px; height: 236px; padding: 12px; border-radius: 56px; background: #1c1c1e; box-shadow: inset 0 0 0 3px #5a5a5e; }
.watch .screen { height: 100%; padding: 20px 16px 16px; border-radius: 44px; background: #12324a; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.watch .screen small { font-size: 13px; font-weight: 500; }
.watch .screen small:last-child { color: var(--on-inverse-2); }
.watch .codes { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.012em; }
.watch .qr { width: 84px; height: 84px; align-self: center; }

/* ---------- Share ---------- */
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.share-card { display: flex; flex-direction: column; gap: 14px; padding: 40px 40px 44px; border-radius: 32px; background: var(--surface-warm); text-align: left; }
.share-card .tile, .prevent .tile { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 6px; }
.share-card .tile .i, .prevent .tile .i { width: 28px; height: 28px; }
.prevent { display: flex; align-items: center; gap: 64px; margin-top: 20px; padding: 56px; border-radius: 32px; background: var(--surface); text-align: left; }
.prevent .copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.settings { width: 440px; flex: none; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.settings .row { justify-content: space-between; padding: 16px 20px; }
.settings .row + .row { border-top: 1px solid var(--border); }
.toggle { position: relative; width: 51px; height: 31px; border-radius: 16px; background: var(--ok); flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 22px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); }

/* ---------- Everything you carry ---------- */
.carry .head { gap: 4px; }
.carry .head p { margin-top: 16px; }
.pass {
  position: absolute; left: var(--x); top: var(--y); width: var(--pw); height: var(--h);
  display: flex; flex-direction: column; gap: 18px; padding: 18px 22px 22px;
  border-radius: 18px; background: var(--bg-c); color: #fff; text-align: left;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
}
.pass .name { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.006em; }
.pass .meta { text-align: right; font-size: 15px; font-weight: 600; }
.pass .fields { display: flex; gap: 48px; font-size: 17px; font-weight: 600; }
.pass .code-box { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 18px 10px; border-radius: 10px; background: #fff; color: var(--text); font-size: 13px; font-weight: 500; }
.pass .code-box svg { width: 140px; height: 48px; }
.pill {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r));
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.pill .tile { width: 32px; height: 32px; border-radius: 50%; }

/* ---------- Pro ---------- */
.pro {
  position: relative; display: grid; grid-template-columns: 1fr 440px; min-height: 640px;
  border-radius: 40px; overflow: hidden; background: #000; color: #fff; text-align: left;
}
.pro .copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 84px 0 72px 72px; }
.pro .copy p { max-width: 520px; color: var(--on-inverse-2); }
.pro .eyebrow {
  font-size: 20px; font-weight: 600; letter-spacing: -0.006em;
  background: linear-gradient(90deg, #ff7a6b, #f5b82e 35%, #5cd65f 70%, #4fb2f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pro .checks { padding: 8px 0 16px; gap: 14px; }
.pro .ctas { display: flex; align-items: center; gap: 16px; }
.pro .bf { color: var(--star); font-size: 15px; font-weight: 600; }
.pro .visual { position: relative; }
.pro .visual .phone { position: absolute; left: 30px; top: 72px; box-shadow: inset 0 0 0 2px #5a5a5e; }

/* ---------- Alternative ---------- */
.alternative { --section-pt: 180px; padding-bottom: 40px; }

/* ---------- Reviews ---------- */
.reviews { --section-pt: 120px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; margin-top: 48px; }
.review-col { display: flex; flex-direction: column; gap: 24px; }
.review-col:nth-child(2) { padding-top: 48px; }
.review-col:nth-child(3) { padding-top: 16px; }
.review {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04); text-align: left;
}
.review .stars .i { width: 18px; height: 18px; }
.review-more { display: flex; justify-content: center; padding-top: 32px; }

/* ---------- Final CTA ---------- */
.cta { padding-bottom: 160px; }
.cta-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.cta-content .app-icon { width: 112px; height: 112px; margin-bottom: 4px; box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.2); }
.cta-content h2 { font-size: 76px; line-height: 1.02; letter-spacing: -0.032em; font-weight: 700; }
.cta-content p { font-size: 21px; line-height: 1.5; color: var(--text-2); }
.cta-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 48px; background: #000; color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(140px, 170px)); gap: 40px; }
.footer .brand p { margin-top: 14px; max-width: 280px; color: var(--on-inverse-2); }
.footer .logo img { width: 36px; height: 36px; }
.footer h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer li + li { margin-top: 12px; }
.footer li a { font-size: 17px; color: var(--on-inverse-2); }
.footer li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom small { font-size: 13px; font-weight: 500; color: var(--on-inverse-2); }
.footer-bottom .social { display: flex; gap: 16px; color: var(--on-inverse-2); }

/* =========================================================
   Tablet & small laptops (iPad portrait/landscape): desktop structure,
   scenes zoom down via home.js, dense rows reflow.
   ========================================================= */
@media (max-width: 1023px) and (min-width: 761px) {
  .t-display { font-size: 64px; }
  .t-h1 { font-size: 48px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .proof { flex-wrap: wrap; gap: 20px 32px; }
  .proof .divider { display: none; }
  .prevent { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px; }
  .settings { width: auto; }
  .pro { display: block; min-height: 0; }
  .pro .copy { padding: 56px 56px 0; }
  .pro .visual { height: 460px; }
  .pro .visual .phone { left: 50%; top: 48px; transform: translateX(-50%); }
  .review-grid { display: block; columns: 2; column-gap: 24px; }
  .review-col { display: contents; }
  .review { break-inside: avoid; margin-bottom: 24px; }
  .footer-top { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
  .footer .brand { grid-column: 1 / -1; }
}

/* =========================================================
   Mobile — Figma "Passbook Website · Mobile 390" (1680:390)
   ========================================================= */
@media (max-width: 760px) {
  :root { --section-pt: 96px; --mobile: 1; }
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
  .m-only.flex { display: flex !important; }

  .t-display { font-size: 42px; line-height: 1.04; letter-spacing: -0.03em; }
  .t-h1 { font-size: 34px; line-height: 1.08; letter-spacing: -0.024em; }
  .t-h2 { font-size: 28px; line-height: 1.12; letter-spacing: -0.018em; }
  .t-body-l { font-size: 17px; line-height: 1.55; letter-spacing: -0.003em; }
  .head { gap: 16px; }
  .head p { max-width: 560px; }
  .head.left p { max-width: none; }
  .head + .stage-wrap, .head + .panel-block { margin-top: 24px; }

  /* Chip rows scroll sideways, bleeding to the screen edges */
  .head .chips {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    width: 100vw; margin-inline: calc(50% - 50vw); padding: 0 20px;
  }
  .head.left .chips { margin-inline: -20px; }
  .head .chips::-webkit-scrollbar { display: none; }

  .announce { height: 40px; font-size: 13px; gap: 6px; }
  .announce .sticker { width: 34px; }
  .nav-wrap { padding-top: 12px; }
  .nav { grid-template-columns: auto 1fr; height: 56px; padding: 0 6px 0 10px; }
  .nav .logo img { width: 32px; height: 32px; }
  .nav-links { display: none; }
  .nav-actions .btn { padding: 12px 18px; }
  .nav-actions .btn .i { display: none; }
  .menu-btn { display: grid; }

  /* Scenes switch to their mobile design width and coordinates */
  .stage { width: calc(var(--mw) * 1px); height: calc(var(--mh) * 1px); }
  .stage-wrap.bleed { width: 100vw; margin-inline: calc(50% - 50vw); }
  .abs, .card, .notif, .pass, .glow, .watch { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .sticker-abs { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: var(--mtw, var(--tw)); transform: rotate(var(--mr, var(--r))); }
  .glow { --s: 220px; filter: blur(60px); }
  .phone { --w: var(--mpw, var(--pw, 340px)); }
  .panel { border-radius: 28px; }
  .card { width: var(--mcw, var(--cw)); padding: 14px; border-radius: 18px; gap: 8px; }
  .notif { width: var(--mcw, var(--cw)); padding: 14px; border-radius: 20px; }
  .boarding { gap: 4px; }
  .boarding .code { font-size: 28px; line-height: 1.2; letter-spacing: -0.012em; }
  .plane-pill { padding: 4px 8px; }
  .plane-pill .i { width: 14px; height: 14px; }
  .okdot { width: 28px; height: 28px; }
  .okdot .i { width: 15px; height: 15px; }
  .wallet-btn { padding: 11px; border-radius: 12px; }
  .barcode { height: 30px; }
  .swatches { gap: 10px; }
  .swatches span { width: 28px; height: 28px; }
  .watch { transform: scale(0.66); }

  .hero { padding-top: 44px; }
  .hero .head { gap: 16px; }
  .hero .btn.m-only { display: inline-flex !important; }
  .proof-m { flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 16px; }
  .proof-m .row { gap: 8px; justify-content: center; }
  .proof-m .stars .i { width: 16px; height: 16px; }
  .proof-m .app-icon, .proof-m .featured { width: 22px; height: 22px; border-radius: 6px; }
  .proof-m .featured .i { width: 13px; height: 13px; }

  .recognition { --section-pt: 72px; }
  .rec-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .rec-card { padding: 32px 24px; border-radius: 28px; gap: 10px; }
  .rec-card .featured { width: 52px; height: 52px; }
  .rec-card .stars .i { width: 28px; height: 28px; }
  .rec-more { margin-top: 24px; }

  .stage-dots { justify-content: center; gap: 6px; margin-top: 4px; }
  .stage-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
  .stage-dots span.on { width: 8px; height: 8px; background: var(--text); }
  .customize .checks { margin-top: 28px; }

  .share-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .share-card { padding: 28px 24px; border-radius: 24px; gap: 10px; }
  .share-card .tile, .prevent .tile { width: 48px; height: 48px; border-radius: 14px; }
  .share-card .tile .i, .prevent .tile .i { width: 24px; height: 24px; }
  .prevent { flex-direction: column; align-items: stretch; gap: 20px; margin-top: 14px; padding: 28px 24px; border-radius: 24px; }
  .settings { width: auto; border-radius: 16px; }
  .settings .row { padding: 14px 16px; }

  .carry .head p { margin-top: 12px; }
  .carry .head .chips { margin-top: 16px; }
  .pass { width: var(--mpw2, var(--pw)); height: var(--mh2, var(--h)); padding: 12px 16px 16px; gap: 14px; border-radius: 14px; }
  .pass .name { font-size: 15px; line-height: 1.3; }
  .pass .meta { font-size: 15px; }
  .pass .fields { gap: 32px; font-size: 15px; }
  .pass .code-box { padding: 10px 14px 8px; gap: 4px; }
  .pass .code-box svg { width: 120px; height: 38px; }

  .pro { display: block; min-height: 0; border-radius: 28px; }
  .pro .copy { padding: 32px 24px 0; gap: 14px; }
  .pro h2 { font-size: 28px; line-height: 1.12; letter-spacing: -0.018em; }
  .pro .checks { gap: 12px; padding: 4px 0 8px; }
  .pro .check { font-size: 15px; }
  .pro .check .dot { width: 22px; height: 22px; }
  .pro .check .dot .i { width: 13px; height: 13px; }
  .pro .ctas { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pro .bf { font-size: 13px; }
  .pro .visual { height: 380px; }
  .pro .visual .phone { left: 50%; top: 36px; transform: translateX(-50%); }

  .alternative { --section-pt: 96px; padding-bottom: 0; }
  .reviews { --section-pt: 96px; }
  .review-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .review-col { gap: 16px; padding-top: 0 !important; }
  .review-more { padding-top: 16px; }

  .cta { padding-bottom: 96px; }
  .cta-content { gap: 16px; }
  .cta-content .app-icon { width: 88px; height: 88px; }
  .cta-content h2 { font-size: 34px; line-height: 1.08; letter-spacing: -0.024em; }
  .cta-content p { font-size: 17px; max-width: 260px; }
  .cta-actions { flex-direction: column; gap: 12px; margin-top: 4px; }

  .footer { padding: 48px 0 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer .brand { grid-column: 1 / -1; }
  .footer li + li { margin-top: 10px; }
  .footer h3 { margin-bottom: 12px; }
  .footer-bottom { margin-top: 36px; padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
