/* Airport Rush website. Built from the Claude Design mockup in docs/ui-design/website/.
   No inline styles anywhere: the Content-Security-Policy in _headers allows styles from this file only. */

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/baloo2-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dmsans-latin.woff2) format('woff2');
}

:root {
  color-scheme: light;
  --bg: #f6fbff;
  --ink: #14204a;
  --muted: #40507a;
  --card: rgba(255, 255, 255, .72);
  --cardBorder: rgba(255, 255, 255, .95);
  --shadow: 0 14px 40px -12px rgba(40, 80, 160, .18);
  --sky: linear-gradient(180deg, #7cc8ff 0%, #b5e2ff 38%, #ffe3c6 74%, #ffbf96 100%);
  --cloud: rgba(255, 255, 255, .75);
  --soft: #edf5ff;
  --chip: #f1f5ff;
  --line: rgba(20, 32, 74, .08);
  --ctaInk: #14204a;
  --ctaBg: linear-gradient(120deg, #5ab8ff 0%, #9fd6ff 35%, #ffc7a0 70%, #ff8f6b 100%);
  --dot: rgba(20, 32, 74, .18);
  --accent: #c2471f;
  --red: #ff5a5f;
  --yellow: #ffb400;
  --green: #22b574;
  --blue: #3b82f6;
  --pink: #ff6fd8;
  --pinkInk: #c93ea3;
}

/* Dark: follows the phone or computer unless the toggle picked light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1230;
    --ink: #eef2ff;
    --muted: #b3bcdf;
    --card: rgba(255, 255, 255, .06);
    --cardBorder: rgba(255, 255, 255, .12);
    --shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
    --sky: linear-gradient(180deg, #0b1230 0%, #1c2163 40%, #4f2c77 74%, #b4557a 100%);
    --cloud: rgba(180, 170, 255, .14);
    --soft: #0f183b;
    --chip: rgba(255, 255, 255, .06);
    --line: rgba(255, 255, 255, .1);
    --ctaInk: #ffffff;
    --ctaBg: linear-gradient(120deg, #2b3a8f 0%, #5a3b9a 40%, #c4587e 75%, #ff8f6b 100%);
    --dot: rgba(255, 255, 255, .25);
    --accent: #ff8a6b;
    --pinkInk: #ff8fe0;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1230;
  --ink: #eef2ff;
  --muted: #b3bcdf;
  --card: rgba(255, 255, 255, .06);
  --cardBorder: rgba(255, 255, 255, .12);
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  --sky: linear-gradient(180deg, #0b1230 0%, #1c2163 40%, #4f2c77 74%, #b4557a 100%);
  --cloud: rgba(180, 170, 255, .14);
  --soft: #0f183b;
  --chip: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .1);
  --ctaInk: #ffffff;
  --ctaBg: linear-gradient(120deg, #2b3a8f 0%, #5a3b9a 40%, #c4587e 75%, #ff8f6b 100%);
  --dot: rgba(255, 255, 255, .25);
  --accent: #ff8a6b;
  --pinkInk: #ff8fe0;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .4s, color .4s;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: #ffcf6e; color: #14204a; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 18px; border-radius: 999px; background: #0e1530; color: #fff; font-weight: 700; }
.skip:focus { top: 16px; color: #fff; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* Colours for the SVG planes and the step numbers. */
.c-red { color: var(--red); fill: var(--red); }
.c-yellow { color: #d99a00; fill: var(--yellow); }
.c-green { color: var(--green); fill: var(--green); }
.c-blue { color: var(--blue); fill: var(--blue); }
.plane-white { fill: #fff; }

.glass {
  background: var(--card);
  border: 1px solid var(--cardBorder);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; border-radius: 999px; background: var(--cloud); }
.cloud.c1 { top: 14%; left: 6%; width: 220px; height: 70px; filter: blur(14px); }
.cloud.c2 { top: 30%; right: 8%; width: 300px; height: 90px; filter: blur(18px); }
.cloud.c3 { bottom: 22%; left: 30%; width: 260px; height: 80px; filter: blur(20px); opacity: .8; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); }

.flyer {
  position: absolute; top: 84px; left: 0;
  display: flex; align-items: center;
  animation: arFly 22s linear infinite;
  will-change: transform;
}
.flyer-trail { width: min(46vw, 420px); height: 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); filter: blur(.6px); }
.flyer-bob { animation: arBob 3s ease-in-out infinite; }
.flyer svg { display: block; transform: rotate(90deg); filter: drop-shadow(0 6px 6px rgba(20,32,74,.2)); }

@keyframes arFly { 0% { transform: translate(-40vw, 24px) rotate(-3deg); } 100% { transform: translate(120vw, -40px) rotate(-3deg); } }
@keyframes arBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes arPulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.nav { position: relative; z-index: 2; padding-top: 20px; padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; box-shadow: 0 6px 16px rgba(30,90,200,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 4px; margin: 0 8px 0 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.nav-links a:hover { background: var(--card); color: inherit; }
@media (max-width: 860px) { .nav-links { display: none; } }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  border: 1px solid var(--cardBorder); background: var(--card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: inherit; display: grid; place-items: center; cursor: pointer;
}
.theme-toggle .sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

.hero-body {
  position: relative; z-index: 1;
  padding-top: clamp(16px, 4vw, 40px); padding-bottom: clamp(72px, 10vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(48px, 6vw, 72px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--cardBorder);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 600;
}
.badge-dot { width: 8px; height: 8px; border-radius: 999px; background: #3ccf8e; box-shadow: 0 0 0 4px rgba(60,207,142,.25); }
.hero-logo { width: clamp(260px, 34vw, 400px); height: auto; margin: -6px 0 -10px -10px; filter: drop-shadow(0 14px 22px rgba(20,32,74,.22)); }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.lede { margin: 0; max-width: 32ch; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.cta-note { font-size: 15px; font-weight: 500; color: var(--muted); }

/* Google's own badge artwork (play.google.com/intl/en_us/badges), unmodified apart from its outer padding. */
.play-badge { display: inline-block; border-radius: 10px; transition: transform .2s; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { width: 188px; height: auto; }
.cta .play-badge img { width: 210px; }

/* ---------- Phone with real gameplay ---------- */
.phone-col { display: flex; flex-direction: column; align-items: center; position: relative; gap: 22px; }
.phone-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(255,255,255,.7), transparent 65%); top: 10%; }
.phone {
  position: relative; width: clamp(250px, 70vw, 300px); aspect-ratio: 9 / 16; padding: 10px; border-radius: 44px;
  background: linear-gradient(160deg, #2a3358, #0e1530);
  box-shadow: 0 40px 80px -20px rgba(20,32,74,.45), 0 0 0 1px rgba(255,255,255,.15) inset;
  transform: rotate(3deg);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #c9e9ff; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: rgba(14,21,48,.62); color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-toggle[hidden] { display: none; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.phone-hint { position: relative; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section h2 { margin: 0; font-weight: 800; font-size: clamp(36px, 5.5vw, 56px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }

/* How to play */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 14px 14px 24px; border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.step-art { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.step-art.a1 { background: linear-gradient(160deg, #ffe1e2, #ffc4c6); }
.step-art.a2 { background: linear-gradient(160deg, #fff2c9, #ffe08a); display: block; }
.step-art.a3 { background: linear-gradient(160deg, #d3f7e6, #a8ecd0); display: flex; align-items: center; justify-content: center; gap: 14px; }
.step-art.a4 { background: linear-gradient(160deg, #dbe9ff, #b4d1ff); display: block; }
.step-art svg.big { filter: drop-shadow(0 6px 4px rgba(0,0,0,.12)); }
.step-art .arrow-mark { stroke: #14204a; stroke-opacity: .45; }
.step-num { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 999px; background: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 800; display: grid; place-items: center; }
.ripple { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 999px; border: 3px solid #fff; animation: arPulse 1.6s ease-out infinite; pointer-events: none; }
.taxi-line { position: absolute; left: 18%; right: 18%; top: 52%; border-top: 4px dashed rgba(20,32,74,.25); }
.taxi-plane { position: absolute; left: 10%; top: 52%; transform: translateY(-50%) rotate(90deg); filter: drop-shadow(0 5px 3px rgba(0,0,0,.12)); }
.taxi-gate { position: absolute; right: 10%; top: 52%; transform: translateY(-50%); width: 56px; height: 64px; border-radius: 14px; background: #fff; border-bottom: 6px solid var(--yellow); display: grid; place-items: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; color: #14204a; }
.riders { display: flex; gap: 6px; }
.riders span { width: 16px; height: 22px; border-radius: 8px 8px 5px 5px; background: #3ccf8e; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.climb-trail { position: absolute; left: 8%; bottom: 26%; width: 58%; height: 5px; border-radius: 999px; transform: rotate(-24deg); transform-origin: left; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95)); }
.climb-plane { position: absolute; right: 16%; top: 16%; transform: rotate(66deg); filter: drop-shadow(0 10px 6px rgba(0,0,0,.14)); }
.full-tag { position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px; background: #fff; color: #2f6fe0; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; }
.step-text { padding: 0 8px; display: flex; flex-direction: column; gap: 6px; }
.step h3, .feature h3 { margin: 0; font-weight: 700; font-size: 23px; line-height: 1.15; }
.step p, .feature p { margin: 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* Features */
.features-band { background: var(--soft); transition: background .4s; }
.features { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.feature { flex: 1 1 300px; padding: 28px; border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.feature-icon.blue { background: #3b82f622; color: var(--blue); }
.feature-icon.pink { background: #ff6fd822; color: var(--pinkInk); }
.feature-icon.yellow { background: #ffb4002a; color: #e09b00; }
.feature-icon.red { background: #ff5a5f22; color: var(--red); }
.feature-icon.green { background: #22b57422; color: var(--green); }
.feature-icon.orange { background: #ff7a5922; color: var(--accent); }
.feature h3 { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* Screenshots */
.shots-head { margin-bottom: clamp(32px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.shots-title { display: flex; flex-direction: column; gap: 14px; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: inherit;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding: 0 max(24px, calc((100vw - 1112px) / 2));
  padding: 8px max(24px, calc((100vw - 1112px) / 2)) 28px;
  margin: 0; list-style: none;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { .track { scroll-padding: 0 16px; padding-left: 16px; padding-right: 16px; } }
.shot { flex: 0 0 clamp(220px, 64vw, 264px); scroll-snap-align: start; }
.shot figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.shot-frame { aspect-ratio: 9 / 16; padding: 8px; border-radius: 36px; background: linear-gradient(160deg, #2a3358, #0e1530); box-shadow: 0 24px 48px -20px rgba(20,32,74,.4); }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: #c9e9ff; }
.shot figcaption { padding: 0 6px; display: flex; flex-direction: column; gap: 2px; }
.shot strong { font-family: 'Baloo 2', sans-serif; font-size: 20px; font-weight: 700; }
.shot figcaption span { font-size: 15px; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 0; margin-top: 8px; }
.dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--dot); transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 44px; }
.dots button[aria-current="true"]::before { width: 28px; background: var(--accent); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { border-radius: 22px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq a { color: var(--accent); font-weight: 600; }

/* Call to action */
.cta-band { padding-bottom: clamp(72px, 10vw, 128px); }
.cta {
  position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 72px);
  background: var(--ctaBg); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
  box-shadow: 0 30px 60px -30px rgba(255,120,90,.5);
}
.cta-blob { position: absolute; border-radius: 999px; background: rgba(255,255,255,.35); }
.cta-blob.b1 { top: -40px; left: -40px; width: 200px; height: 200px; filter: blur(30px); }
.cta-blob.b2 { bottom: -60px; right: -20px; width: 260px; height: 260px; filter: blur(36px); opacity: .85; }
.cta-icon { position: relative; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 30px -10px rgba(20,32,74,.45); }
.cta h2 { position: relative; margin: 0; font-weight: 800; font-size: clamp(40px, 6.5vw, 68px); line-height: .95; letter-spacing: -.02em; color: var(--ctaInk); text-wrap: balance; }
.cta p { position: relative; margin: 0; max-width: 36ch; font-size: clamp(17px, 2vw, 20px); color: var(--ctaInk); }
.cta .play-badge { position: relative; margin-top: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 15px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.legal-note { flex-basis: 100%; margin: 0; font-size: 13px; opacity: .8; }

/* Scroll reveal: main.js hides only what's below the fold, so the page reads fine without it. */
.reveal-wait { opacity: 0; transform: translateY(28px); }
.reveal-go { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.d90 { transition-delay: 90ms; }
.d180 { transition-delay: 180ms; }
.d270 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flyer, .flyer-bob, .ripple { animation: none; }
  .flyer { display: none; }
  .play-badge, .reveal-go { transition: none; }
}
