:root {
  --ink: #1c1c1e;
  --body: #3a3a3c;
  --muted: #6b6b70;
  --faint: #8e8e93;
  --fill: #f2f2f7;
  --line: #ececf0;
  --blue: #0a7cff;
  --green: #1f9d48;
  --amber: #c47f00;
  --gate: #ffd60a;
  --night: #0b1020;
  --night-2: #151b2e;
  --radius: 28px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
section { padding: 0 20px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 32px; font-size: 15px; color: var(--body); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: var(--fill); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 72px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  max-width: 900px; margin: 0 auto;
}
.hero__lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.stats { list-style: none; padding: 0; margin: 36px auto 0; display: flex; justify-content: center; gap: 44px; }
.stats li { display: flex; flex-direction: column; align-items: center; }
.stats strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }

/* Phones */
.phone {
  position: relative; width: 300px; aspect-ratio: 1206 / 2622;
  border-radius: 52px; padding: 11px; background: #111;
  box-shadow: 0 0 0 2px #2c2c2e inset, 0 40px 80px -20px rgba(20, 30, 60, .35), 0 12px 24px -8px rgba(0, 0, 0, .2);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; }


/* ---------- Scroll scene: one phone, three screens ---------- */
.scene { height: 330vh; margin-top: 56px; padding: 0; position: relative; }
.scene__sticky {
  position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 640px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  overflow: hidden;
}
.scene__stage {
  position: relative; width: 100%; max-width: 1040px; height: min(660px, calc(100vh - 170px));
  display: grid; place-items: center; perspective: 1600px;
}
.hero-phone {
  height: 100%; display: grid; place-items: center;
  transform:
    translateY(calc((1 - var(--enter, 1)) * 90px))
    rotateX(calc((1 - var(--enter, 1)) * 24deg))
    scale(calc(.86 + var(--enter, 1) * .14));
  transform-origin: 50% 100%;
  will-change: transform;
}
.hero-phone .phone { width: auto; height: 100%; max-height: 640px; }
.screens { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #f2f2f7; }
.screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 0 !important; opacity: 0; transform: translateY(26px) scale(1.02);
  transition: opacity .55s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}
.screen.is-active { opacity: 1; transform: none; }
.screen.is-past { opacity: 0; transform: translateY(-26px) scale(.98); }

/* Pop-ups: outer = position + entrance + parallax, middle = idle float, inner = the card */
.pop {
  position: absolute; left: 50%; top: 50%; z-index: 4; pointer-events: none;
  opacity: 0;
  transform:
    translate(calc(var(--px) * var(--kx, var(--k, 1))), calc(var(--py) * var(--k, 1)))
    translate3d(calc(var(--mx, 0) * var(--depth) * 14px), calc(var(--my, 0) * var(--depth) * 10px + var(--drift, 0) * var(--depth) * -40px), 0)
    scale(.72);
  filter: blur(8px);
  transition: opacity .5s ease, transform .9s cubic-bezier(.34, 1.56, .64, 1), filter .5s ease;
}
.pop.is-on {
  opacity: 1; filter: none;
  transform:
    translate(calc(var(--px) * var(--kx, var(--k, 1))), calc(var(--py) * var(--k, 1)))
    translate3d(calc(var(--mx, 0) * var(--depth) * 14px), calc(var(--my, 0) * var(--depth) * 10px + var(--drift, 0) * var(--depth) * -40px), 0)
    scale(1);
}
.pop.is-on:nth-of-type(3n+2) { transition-delay: .08s; }
.pop.is-on:nth-of-type(3n) { transition-delay: .16s; }
.pop__float { will-change: transform; }
.pop__float--a { animation: drift-a 7s ease-in-out infinite; }
.pop__float--b { animation: drift-b 8.5s ease-in-out infinite; }
.pop__float--c { animation: drift-c 6.2s ease-in-out infinite; }
@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  33% { transform: translate3d(6px, -12px, 0) rotate(.6deg); }
  66% { transform: translate3d(-5px, -5px, 0) rotate(-.4deg); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  40% { transform: translate3d(-8px, -10px, 0) rotate(-.8deg); }
  75% { transform: translate3d(4px, -16px, 0) rotate(.5deg); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, -4px, 0) rotate(.4deg); }
  50% { transform: translate3d(7px, -15px, 0) rotate(-1deg); }
}

.chip {
  display: flex; align-items: center; gap: 12px; text-align: left; white-space: nowrap;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 20px; padding: 12px 18px 12px 12px;
  box-shadow: 0 24px 48px -18px rgba(20, 30, 60, .32), 0 4px 10px -4px rgba(20, 30, 60, .12);
}
.chip b { display: block; font-size: 15px; }
.chip small { display: block; font-size: 13px; color: var(--muted); }
.chip__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; flex: none; }
.chip__icon--green { background: var(--green); }
.chip__icon--blue { background: var(--blue); font-size: 14px; }
.chip__icon--amber { background: #fff3d6; font-size: 18px; }
.chip__icon--red { background: #e0383e; }
.chip__icon--ink { background: var(--ink); }
.chip__icon--gate { background: var(--gate); color: #000; font-size: 20px; }
.chip__gate { background: var(--gate); color: #000; font-weight: 800; font-size: 14px; padding: 8px 10px; border-radius: 9px; flex: none; }
.chip__count { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; flex: none; }

.scene__steps { list-style: none; padding: 5px; margin: 0; display: flex; gap: 4px; background: var(--fill); border-radius: 999px; }
.scene__steps li { font-size: 14px; font-weight: 600; color: var(--faint); padding: 8px 16px; border-radius: 999px; transition: background .3s, color .3s, box-shadow .3s; }
.scene__steps li.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

/* ---------- Cards strip ---------- */
.cards-strip { text-align: center; padding: 48px 0 0; border-top: 1px solid var(--line); position: relative; z-index: 5; background: #fff; }
.cards-strip p { font-size: 14px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.marquee { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; padding: 4px 0 8px; }
.marquee__track span { white-space: nowrap; font-weight: 600; font-size: 16px; padding: 12px 20px; border-radius: 14px; background: var(--fill); color: var(--body); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.section-head p:not(.kicker) { margin-top: 18px; font-size: 19px; color: var(--muted); }
.section-head--light h2 { color: #fff; }
.section-head--light p:not(.kicker) { color: rgba(255, 255, 255, .62); }
.kicker { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 14px !important; }
.kicker--blue { color: var(--blue); }
.kicker--gate { color: var(--gate); }

/* ---------- How ---------- */
.how { padding-top: 120px; }
.steps { list-style: none; padding: 0; margin: 56px auto 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--fill); border-radius: var(--radius); padding: 32px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; }
.steps h3 { font-size: 22px; margin-top: 22px; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------- Feature ---------- */
.feature {
  max-width: var(--max); margin: 140px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.feature h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.feature__copy > p:not(.kicker) { margin-top: 20px; font-size: 19px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; font-size: 16px; color: var(--body); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(31, 157, 72, .12); color: var(--green); font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
.feature__art { display: grid; place-items: center; padding: 40px 0; border-radius: 40px; background: radial-gradient(circle at 50% 40%, #e8f1ff, #f6f7fb 60%); }
.phone--solo { width: 290px; }

/* ---------- Dark band ---------- */
.band { background: var(--night); color: #fff; margin-top: 140px; padding: 120px 20px; }
.band__inner { max-width: var(--max); margin: 0 auto; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.tile {
  background: linear-gradient(180deg, var(--night-2), #10162a);
  border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius);
  padding: 36px; overflow: hidden; position: relative; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.tile h3 { font-size: 24px; }
.tile p { margin-top: 10px; color: rgba(255, 255, 255, .62); font-size: 16px; max-width: 420px; }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; min-height: 420px; padding-bottom: 0; }
.tile--wide .tile__copy { flex: 1; align-self: center; padding-bottom: 36px; }
.tile--flip { flex-direction: row-reverse; }
.tile__phone { width: 300px; flex: none; align-self: flex-end; margin-bottom: -130px; border-radius: 44px 44px 0 0; padding: 10px 10px 0; background: #000; box-shadow: 0 0 0 1.5px #2c2c2e inset; }
.tile__phone img { border-radius: 36px 36px 0 0; }
.terminals { display: flex; gap: 10px; flex-wrap: wrap; }
.t { font-weight: 700; font-size: 17px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .4); }
.t--on { background: #fff; color: var(--ink); }
.offline { display: flex; align-items: center; gap: 14px; color: var(--gate); font-weight: 700; font-size: 17px; }
.offline svg { width: 48px; height: 48px; }

/* ---------- Mini grid ---------- */
.grid-section { padding-top: 140px; }
.mini-grid { max-width: var(--max); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--fill); border-radius: 24px; padding: 28px; }
.mini__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; font-size: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.mini h3 { font-size: 18px; margin-top: 18px; }
.mini p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- Airports ---------- */
.airports { padding-top: 140px; }
.airport-search {
  display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 40px auto 0;
  background: var(--fill); border-radius: 14px; padding: 0 16px; height: 52px; color: var(--faint);
}
.airport-search svg { width: 20px; height: 20px; flex: none; }
.airport-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); outline: none; min-width: 0; }
.codes { max-width: 980px; margin: 32px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.code {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; transition: border-color .15s, transform .15s;
}
.code:hover { border-color: #d1d1d6; transform: translateY(-1px); }
.code b { font-size: 17px; letter-spacing: .02em; }
.code span { font-size: 13px; color: var(--muted); }
.code i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(31,157,72,.1); padding: 1px 7px; border-radius: 999px; }
.codes__empty { text-align: center; margin-top: 24px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding-top: 140px; }
.faq__list { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 19px; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--faint); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 17px; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; padding: 160px 20px 140px; }
.cta__icon { margin: 0 auto; border-radius: 20px; box-shadow: 0 20px 40px -14px rgba(10, 60, 160, .35); }
.cta h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; margin-top: 28px; }
.cta p { margin: 16px auto 30px; font-size: 19px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); background: #fafafa; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px 20px 56px; display: grid; gap: 16px; }
.footer p { font-size: 13px; color: var(--faint); max-width: 720px; }
.footer .brand { font-size: 17px; }
.footer .brand img { border-radius: 7px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pop__float, .marquee__track { animation: none; }
  .pop { transition: opacity .3s; filter: none; }
  .screen { transition: opacity .3s; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .scene__stage { --k: .78; }
  .nav__links { display: none; }
  .steps, .mini-grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .tile--wide, .tile--flip { flex-direction: column; align-items: stretch; }
  .tile--wide .tile__copy { padding-bottom: 0; }
  .tile__phone { align-self: center; margin-bottom: -150px; }
}
@media (max-width: 640px) {
  .scene { height: 300vh; margin-top: 36px; }
  .scene__stage { height: min(560px, calc(100vh - 150px)); }
  .hero-phone .phone { max-height: 540px; }
  .scene__stage { --kx: 0; --k: .78; }
  .pop--l { left: 10px; }
  .pop--r { left: auto; right: 10px; }
  .scene__steps { max-width: calc(100vw - 32px); }
  .scene__steps li { padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .pop .chip { padding: 9px 13px 9px 9px; gap: 9px; border-radius: 16px; }
  .pop .chip b { font-size: 13px; }
  .pop .chip small { font-size: 11.5px; }
  .chip__icon, .chip__count { width: 30px; height: 30px; font-size: 14px; border-radius: 9px; }
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .stats { gap: 24px; }
  .stats strong { font-size: 24px; }
  .phone { width: 250px; border-radius: 44px; padding: 9px; }
  .phone img { border-radius: 36px; }
  .steps, .mini-grid, .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { padding: 28px; }
  .tile__phone { width: 250px; }
  .how, .grid-section, .airports, .faq { padding-top: 96px; }
  .feature { margin-top: 96px; }
  .band { margin-top: 96px; padding: 88px 16px; }
  section { padding-left: 16px; padding-right: 16px; }
  .code span { display: none; }
  .cta { padding: 110px 16px 100px; }
}

/* ---------- Privacy / support pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 20px 120px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.doc h2 { font-size: 24px; margin-top: 48px; }
.doc h3 { font-size: 18px; margin-top: 28px; }
.doc p, .doc li { font-size: 17px; color: var(--body); line-height: 1.6; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--blue); font-weight: 500; }
.doc__lede { font-size: 20px !important; color: var(--muted) !important; margin-top: 18px !important; }
.doc__date { font-size: 14px !important; color: var(--faint) !important; }
.doc__cards { display: grid; gap: 12px; margin-top: 32px; }
.doc__card { display: block; background: var(--fill); border-radius: 18px; padding: 20px 22px; color: var(--ink) !important; transition: transform .15s; }
.doc__card:hover { transform: translateY(-1px); }
.doc__card b { display: block; font-size: 17px; }
.doc__card span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); font-weight: 400; }
.doc__fine { margin-top: 48px !important; font-size: 14px !important; color: var(--faint) !important; }
.footer a { color: var(--muted); }
