/* ===== Tokens — mirror my-app/src/theme/palette.js (light) ===== */
:root {
  --blue: #0069e0;
  --blue-600: #0057bb;
  --blue-50: #eef5ff;
  --blue-100: #dbeaff;
  --ink: rgba(0, 0, 0, 0.88);
  --ink-2: rgba(0, 0, 0, 0.62);
  --ink-3: rgba(0, 0, 0, 0.44);
  --line: rgba(0, 0, 0, 0.10);
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --success: #1a8b3f;
  --rating: #f5a623;
  --footer: #0b1220;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 60, 140, 0.35);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Baloo 2', var(--font);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid rgba(0, 105, 224, 0.45); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 105, 224, .6); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-50); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.18); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { height: 30px; width: auto; object-fit: contain; }
/* Footer uses logo-tile.png: the mark pre-composited on a white tile so it reads on the dark footer */
.footer-logo { width: 76px; height: 56px; border-radius: 14px; box-shadow: 0 6px 18px -8px rgba(0,105,224,.6); }
.site-footer .brand { gap: 12px; }
.site-footer .brand-name { font-size: 26px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--blue); line-height: 1; padding-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--blue); background: var(--blue-50); }
.btn-header { padding: 10px 18px; font-size: 14px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-inner { gap: 12px; }
  .btn-header { margin-left: auto; padding: 9px 14px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; margin: 0; padding: 12px 16px 20px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
}
@media (max-width: 380px) { .btn-header { display: none; } .nav-toggle { margin-left: auto; } }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--blue-100), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, var(--blue-50), transparent 60%),
    var(--surface);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 80px; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .2s;
}
.announce:hover { border-color: var(--blue); color: var(--ink); }
.announce-tag { background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.announce .ico { color: var(--blue); }

.tagline {
  margin-top: 22px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--ink);
}
.tagline span { display: block; }
.tagline em, .app-tagline em { font-style: normal; color: var(--blue); }

.hero-sub { margin-top: 20px; max-width: 540px; font-size: 18px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; border-radius: 14px; background: #000; color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 10px; letter-spacing: .08em; opacity: .85; }
.store-badge strong { font-size: 18px; font-weight: 600; }
.hero-actions .btn-ghost { padding: 14px 22px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { color: var(--success); }

/* Phone mock — a simplified SearchScreen */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone {
  position: relative; z-index: 2; width: 300px; aspect-ratio: 300 / 610;
  padding: 12px; border-radius: 44px; background: #0f172a; box-shadow: var(--shadow-lg);
  transition: transform .3s ease-out;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; border-radius: 999px; background: #0f172a; z-index: 3; }
.phone-screen { height: 100%; border-radius: 34px; background: #fff; padding: 52px 16px 16px; overflow: hidden; font-size: 13px; text-align: left; }
.app-top { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.app-top img { width: 26px; height: 26px; object-fit: contain; }
.app-tagline { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.1; white-space: nowrap; }
.app-form { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 6px 12px 12px; box-shadow: var(--shadow-sm); }
.app-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--ink-3); }
.app-field { flex: 1; font-weight: 600; color: var(--ink); }
.app-field.muted { font-weight: 500; }
.app-seats { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.app-divider { height: 1px; background: var(--line); margin-left: 22px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot-hollow { border: 2.5px solid var(--ink); }
.dot-solid { background: var(--ink); }
.app-btn { margin-top: 8px; background: var(--blue); color: #fff; text-align: center; font-weight: 700; padding: 10px; border-radius: 12px; }
.app-label { margin: 16px 2px 8px; font-weight: 700; font-size: 14px; }
.app-ride { display: grid; grid-template-columns: auto 10px 1fr auto; gap: 10px; align-items: stretch; padding: 12px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; }
.app-ride-times, .app-ride-places { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; font-size: 12px; }
.app-ride-times strong, .app-ride-places strong { font-size: 13px; }
.app-ride-times span, .app-ride-places span { font-weight: 600; }
.app-ride-line { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 4px 0; background: linear-gradient(var(--ink), var(--ink)) center / 2px calc(100% - 16px) no-repeat; }
.app-ride-line i { width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.app-ride-price { font-weight: 800; font-size: 15px; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 13px; text-align: left;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13px; }
.float-card small { color: var(--ink-2); font-size: 12px; }
.float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.float-icon.green { background: #e8f6ee; color: var(--success); }
.float-1 { top: 1%; right: -18%; }
.float-2 { bottom: 12%; right: -14%; animation-delay: -3s; }
.glow { position: absolute; z-index: 1; width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0,105,224,.28), transparent 65%); filter: blur(10px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { font-size: 16px; }
  .hero-actions, .hero-points { justify-content: center; }
  .phone { width: 260px; }
  .app-tagline { font-size: 15px; }
  .float-1 { top: 22%; right: auto; left: calc(50% - 310px); }
  .float-2 { right: calc(50% - 310px); }
}
/* Phones: tagline first, then the app visual, then the supporting copy —
   .hero-copy dissolves so its children and .hero-visual can be reordered. */
@media (max-width: 760px) {
  .hero-inner { display: flex; flex-direction: column; align-items: center; gap: 0; padding-top: 28px; padding-bottom: 44px; }
  .hero-copy { display: contents; }
  .announce { order: 1; }
  .tagline { order: 2; margin-top: 18px; font-size: clamp(42px, 12.5vw, 60px); }
  .hero-visual { order: 3; width: 100%; margin-top: 24px; height: 450px; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .hero-sub { order: 4; margin-top: 8px; }
  .hero-actions { order: 5; margin-top: 24px; }
  .hero-points { order: 6; margin-top: 20px; }
  .phone { width: 250px; flex-shrink: 0; align-self: flex-start; }
  .glow { top: 45%; width: 320px; height: 320px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 12px; }
  .float-card strong { font-size: 12px; }
  .float-card small { font-size: 11px; }
  .float-icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-1 { top: 14px; left: 0; right: auto; }
  .float-2 { top: 318px; bottom: auto; right: 0; }
}
@media (max-width: 480px) {
  .announce { font-size: 13px; text-align: left; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions > * { width: 100%; justify-content: center; }
}

/* ===== Value strip ===== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 12px; font-weight: 600; font-size: 15px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .ico { color: var(--blue); }
@media (max-width: 800px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { justify-content: flex-start; font-size: 14px; padding: 16px 8px; }
  .strip-item + .strip-item { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ===== Sections ===== */
section { position: relative; }
.features, .how, .faq, .spotlight { padding: 96px 0; }
@media (max-width: 768px) { .features, .how, .faq, .spotlight { padding: 64px 0; } }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .spotlight h2, .download h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.section-sub a { color: var(--blue); font-weight: 600; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* ===== Spotlight ===== */
.spotlight { background: linear-gradient(180deg, var(--surface) 0%, var(--blue-50) 100%); }
.spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spotlight-copy > p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.check-list strong { color: var(--ink); }
.check-list .ico { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }

.repeat-demo { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 24px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-head strong { display: block; font-size: 18px; }
.demo-head small { color: var(--ink-3); font-size: 13px; }
.switch { position: relative; width: 52px; height: 32px; border-radius: 999px; border: 0; background: var(--ink-3); flex-shrink: 0; transition: background .2s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch[aria-checked="true"] .switch-knob { transform: translateX(20px); }
.demo-route { display: grid; gap: 4px; margin: 18px 0 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); }
.demo-stop { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-weight: 600; font-size: 15px; }
.demo-stop span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-stop time { color: var(--ink-2); font-weight: 500; font-size: 14px; }
.demo-label { margin: 18px 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekdays button { aspect-ratio: 1; max-height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: all .15s; }
.weekdays button:hover { border-color: var(--blue); }
.weekdays button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.upcoming { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.upcoming li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; animation: pop .25s ease-out; }
.upcoming li .ico { color: var(--success); }
.upcoming li strong { flex: 1; }
.upcoming li span { color: var(--ink-3); font-size: 13px; }
.upcoming .empty { color: var(--ink-3); justify-content: center; border-style: dashed; }
.demo-off { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .spotlight-inner { grid-template-columns: 1fr; gap: 40px; }
  .repeat-demo { padding: 18px; }
}

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.feature-card.highlight { background: var(--blue); border-color: var(--blue); color: #fff; }
.feature-card.highlight p { color: rgba(255,255,255,.85); }
.feature-card.highlight .feature-icon { background: rgba(255,255,255,.18); color: #fff; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .feature-card { padding: 18px; } }
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature-card h3 { margin-bottom: 4px; align-self: end; }
}

/* ===== How it works ===== */
.how { background: var(--surface-2); }
.tabs { display: flex; width: max-content; max-width: 100%; margin: -16px auto 40px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tab { padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .2s; }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps[hidden] { display: none; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); animation: pop .3s ease-out; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 800; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 12px; } .step { padding: 20px; } .tab { padding: 10px 16px; font-size: 14px; } }

/* ===== FAQ ===== */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: none; text-align: left; font-weight: 600; font-size: 16px; }
.faq-icon { position: relative; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--blue); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; gap: 28px; } .section-head.left { text-align: center; } }

/* ===== Download ===== */
.download { padding: 0 0 96px; }
.download-card {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 56px; border-radius: 32px; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #0069e0 0%, #0047a3 100%);
}
.download-copy p { margin-top: 12px; font-size: 17px; color: rgba(255,255,255,.85); }
.download-copy .btn { margin-top: 28px; }
.download-copy .ios-note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.qr-card img { width: 160px; height: 160px; }
@media (max-width: 760px) {
  .download { padding-bottom: 64px; }
  .download-card { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; border-radius: 24px; }
  .download-qr { display: none; } /* on a phone, just tap the button */
}

/* ===== Footer ===== */
.site-footer { background: var(--footer); color: rgba(255,255,255,.72); padding-top: 64px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 280px; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: 14px; transition: background .2s; }
.footer-badge:hover { background: rgba(255,255,255,.08); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { transition: color .2s; width: max-content; max-width: 100%; }
.footer-col a:hover { color: #fff; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer-text { font-size: 14px; color: rgba(255,255,255,.55); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 28px; position: relative; font-size: 14px; color: rgba(255,255,255,.5); }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: rgba(255,255,255,.1); }
@media (min-width: 768px) { .footer-bottom::before { left: 32px; right: 32px; } }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer { padding-top: 48px; } .footer-top { gap: 32px 20px; } .footer-bottom { flex-direction: column; } }

/* ===== Mobile sticky CTA ===== */
.mobile-cta-bar { display: none; }
@media (max-width: 760px) {
  .mobile-cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-cta-bar.visible { transform: none; }
  .mobile-cta-bar .btn { width: 100%; padding: 14px; }
  .site-footer { padding-bottom: 76px; }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
