/* Take Ride public website — brand (logo): black #0a0a0a, orange #f57c00, yellow #f5b800, green #1fa51f; Poppins. */
:root {
  --brand: #f57c00;
  --brand-dark: #c95f00;
  --brand-soft: #fff1e3;
  --green: #1fa51f;
  --navy: #0a0a0a;
  --navy-2: #1c1c1c;
  --yellow: #f5b800;
  --orange: #f57c00;
  --red: #e5383b;
  --ink: #0a0a0a;
  --muted: #5f6368;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --radius: 20px;
  --shadow: 0 18px 50px -18px rgba(10, 10, 10, 0.28);
  --shadow-sm: 0 6px 20px -8px rgba(10, 10, 10, 0.18);
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- boot screen ---------- */
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 64px; animation: pulse 1.2s ease-in-out infinite; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 10, 10, 0.4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; }
.brand img { width: auto; height: 62px; }
.brand picture { display: block; }
.brand b { background: linear-gradient(90deg, var(--brand), var(--yellow) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 17px; color: #3c4043;
  padding: 8px 12px; border-radius: 10px; position: relative; transition: color 0.2s;
}
.nav nav a:not(.btn)::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav nav a:not(.btn):hover, .nav nav a.active { color: var(--ink); }
.nav nav a:not(.btn):hover::after, .nav nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; border-radius: 10px; }
.nav-toggle .ico { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brand); color: var(--navy); font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(245, 124, 0, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(245, 124, 0, 0.8); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 14px; margin-left: 8px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--brand-dark); }
.link-arrow.light { color: var(--brand); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform 0.25s var(--ease); }

/* ---------- shared bits ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.center { text-align: center; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.dot.live { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.6); animation: ping 1.8s infinite; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: 16px; margin-bottom: 22px;
  border: 1.5px solid rgba(245, 124, 0, 0.35);
}
.pill .ico { width: 22px; height: 22px; color: var(--brand); fill: var(--brand); stroke: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px;
  padding: 64px max(16px, calc((100% - var(--max)) / 2)) 120px; overflow: hidden;
  background: linear-gradient(115deg, #fff 0%, #fff7ee 45%, #fdeedd 100%); isolation: isolate;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.chips li { display: flex; align-items: center; gap: 8px; }
.chips .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.chips .tick .ico { color: #fff; width: 15px; height: 15px; stroke-width: 3; }

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.b1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(245, 124, 0, 0.45), transparent 70%); top: -180px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 185, 0, 0.4), transparent 70%); bottom: -200px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%);
}

.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; z-index: -1; }
.street { display: none; }

/* animated phone scene */
.scene { position: relative; height: 560px; display: grid; place-items: center; }
.phone {
  position: relative; width: 290px; height: 540px; border-radius: 42px; background: var(--navy);
  padding: 12px; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: rise 1s var(--ease) both 0.2s, floaty 6s ease-in-out infinite 1.2s;
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%); background: var(--navy); border-radius: 0 0 14px 14px; z-index: 3; }
.map { position: absolute; inset: 12px; border-radius: 32px; overflow: hidden; background: #f4f4f1; }
.map-svg { width: 100%; height: 100%; }
.streets path { stroke: #fff; stroke-width: 11; fill: none; }
.streets.thin path { stroke-width: 6; }
.parks path { fill: #cdeec0; }
.dest path { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.route-path {
  fill: none; stroke: url(#route); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 7s var(--ease) infinite;
}
.pin { stroke: #fff; stroke-width: 4; }
.pin-a { fill: var(--brand); }
.pin-b { fill: var(--orange); animation: pinpop 7s infinite; transform-origin: 225px 50px; transform-box: view-box; }
.mover-halo { fill: #fff; stroke: #e5383b; stroke-width: 3; filter: drop-shadow(0 4px 6px rgba(10, 10, 10, 0.25)); }
.sheet {
  position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 0 0 32px 32px; padding: 18px 18px 20px;
  background: #fff; box-shadow: 0 -10px 30px -12px rgba(10, 10, 10, 0.3);
}
.sheet-row { display: flex; align-items: center; gap: 12px; }
.sheet-row small { display: block; color: var(--muted); font-size: 12px; }
.sheet-row strong { font-size: 15px; display: block; white-space: nowrap; }
.eta { margin-left: auto; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #ffe2c2; display: grid; place-items: center; font-size: 24px; }
.progress { margin-top: 14px; height: 8px; border-radius: 99px; background: #eceff1; overflow: hidden; }
.progress span { display: block; height: 100%; width: 62%; border-radius: inherit; background: #2fbf2f; animation: progress 7s ease-in-out infinite; }
@keyframes progress { 0% { width: 18%; } 85%, 100% { width: 100%; } }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-size: 14px; white-space: nowrap;
  animation: pop 0.8s var(--ease) both, floaty 5s ease-in-out infinite;
}
.float small { display: block; color: var(--muted); font-size: 12px; }
.float strong { font-weight: 600; }
.f-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--brand); font-weight: 800; }
.f-ico.dark { background: var(--navy); }
.f-ico.dark .ico { width: 24px; height: 24px; }
.f-ico.amber { background: #ffd8a8; color: var(--brand-dark); font-size: 20px; }
.f-ico.red { background: #fde8e8; color: var(--red); }
.float strong { font-size: 15px; }
.f1 { top: 70px; left: 0; animation-delay: 0.6s, 1.4s; }
.f2 { top: 250px; right: -6px; animation-delay: 0.9s, 0.4s; }
.f3 { bottom: 165px; left: 14px; animation-delay: 1.2s, 2s; }

/* ---------- sections ---------- */
.section { padding: 96px max(16px, calc((100% - var(--max)) / 2)); position: relative; }
.section.narrow { max-width: 860px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 20px; margin: 14px 0 8px; }
.card p { color: var(--muted); }
.card a { color: var(--brand-dark); font-weight: 600; }
.card.alert { border-color: #f5c2c3; background: #fff7f7; }
.card.alert .card-ico { background: #fde8e8; color: var(--red); }
.card-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); }
.card-ico .ico { width: 24px; height: 24px; }

.ride-card { text-align: left; position: relative; overflow: hidden; }
.ride-card::before {
  content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.18), transparent 70%); transition: transform 0.5s var(--ease);
}
.ride-card:hover::before { transform: scale(1.5); }
.ride-art { width: 180px; height: 96px; object-fit: contain; object-position: left center; transition: transform 0.5s var(--ease); }
.ride-card:hover .ride-art { transform: translateX(14px); }
.tag { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }

.steps-section { background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 30px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px); opacity: 0.6;
}
.steps li { position: relative; text-align: center; padding: 0 12px; }
.step-n {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--brand); font-weight: 800; font-size: 22px; position: relative;
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.section.dark { background: var(--navy); color: #fff; overflow: hidden; }
.section.dark::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -300px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245, 124, 0, 0.18), transparent 70%); pointer-events: none;
}
.section.dark .eyebrow { color: var(--brand); }
.section.dark .section-head p { color: #b7c3d1; }
.card.glass { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: #fff; }
.card.glass p { color: #b7c3d1; }
.card.glass:hover { background: rgba(255, 255, 255, 0.09); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.card.glass .card-ico { background: rgba(245, 124, 0, 0.14); color: var(--brand); }
.section.dark .center { margin-top: 40px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.split .lead { margin-bottom: 28px; }
.perks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; }
.perks strong { display: block; }
.perks span:not(.card-ico) { color: var(--muted); }
.doc-card { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.doc-card h3 { font-size: 20px; margin-bottom: 20px; }
.doc-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); margin-bottom: 10px;
  opacity: 0; transform: translateX(16px);
}
.doc-card.in .doc-row { animation: slidein 0.6s var(--ease) forwards; animation-delay: calc(0.25s + var(--i) * 0.18s); }
.tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--navy); }
.tick .ico { width: 16px; height: 16px; }
.doc-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #b7c3d1; font-size: 14px; }

.download { padding-top: 32px; padding-bottom: 32px; }
.download-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border-radius: 32px; padding: 48px; color: var(--navy); position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand), #fb9a1e 50%, var(--yellow));
}
.download-inner::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%); animation: shine 5s ease-in-out infinite 1s; pointer-events: none;
}
.download h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.download p { max-width: 420px; }
.stores { display: flex; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.stores > div { display: grid; gap: 8px; }
.store-label { font-weight: 700; font-size: 14px; }
.store {
  display: flex; flex-direction: column; min-width: 170px; padding: 9px 18px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.store:hover { transform: translateY(-2px); }
.store.disabled { opacity: 0.75; cursor: default; }
.store.disabled:hover { transform: none; }
.store-sub { font-size: 11px; opacity: 0.8; }
.store-name { font-size: 17px; font-weight: 600; line-height: 1.2; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; background: #fff; transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 20px; animation: fadeup 0.4s var(--ease); }
.plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding: 72px 16px 48px; background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; max-width: 860px; margin: 0 auto 14px; }
.page-hero .lead { margin: 0 auto; }
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-top: 56px; }
.policy-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.policy-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.policy-nav a { text-decoration: none; padding: 9px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: background 0.2s, color 0.2s; }
.policy-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.policy-nav a.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.policy { max-width: 760px; font-size: 16.5px; }
.policy h2 { font-size: 22px; margin: 36px 0 12px; }
.policy h2:first-child { margin-top: 0; }
.policy p { margin: 0 0 14px; color: #2c3a49; }
.policy ul, .policy ol { margin: 0 0 16px; padding-left: 22px; color: #2c3a49; }
.policy li { margin-bottom: 8px; }
.policy ul li::marker { color: var(--brand-dark); }
.policy-contact { margin-top: 40px; padding: 20px 22px; border-radius: 16px; background: var(--bg-soft); }
.policy-contact a { color: var(--brand-dark); font-weight: 600; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: #fff8e6; border: 1px solid #ffe2a3; }
.notice .ico { color: #b37400; width: 26px; height: 26px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #b7c3d1; padding: 64px max(16px, calc((100% - var(--max)) / 2)) 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { width: 200px; height: auto; margin-bottom: 14px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-top a { display: block; text-decoration: none; padding: 5px 0; transition: color 0.2s, transform 0.2s; }
.footer-top a:hover { color: var(--brand); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 14px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245, 124, 0, 0); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pop { from { opacity: 0; transform: scale(0.7) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { 0% { stroke-dashoffset: 520; } 75%, 100% { stroke-dashoffset: 0; } }
@keyframes pinpop { 0%, 80% { transform: scale(1); } 86% { transform: scale(1.5); } 92%, 100% { transform: scale(1); } }
@keyframes slidein { to { opacity: 1; transform: none; } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.9); opacity: 0.6; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; gap: 24px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .actions, .chips { justify-content: center; }
  .scene { height: 520px; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .policy-nav h3 { width: 100%; }
}
@media (max-width: 760px) {
  .brand img { height: 74px; }
  .hero { padding-bottom: 0; background: linear-gradient(170deg, #fff8ef 0%, #fff 45%, #f1fae9 100%); }
  .hero .pill { background: #fff; border-color: var(--brand); }
  .hero .actions { flex-direction: column; align-items: center; }
  .hero .actions .btn { width: min(100%, 340px); justify-content: center; }
  .chips { gap: 8px 0; font-size: 14px; }
  .chips li + li { border-left: 1px solid #ccc; padding-left: 12px; margin-left: 12px; }
  .scene { display: none; }
  .hero-waves { display: none; }
  .street { display: block; position: relative; margin: 8px -16px 0; min-height: 280px; }
  .street-img { width: 100%; height: 280px; object-fit: cover; object-position: 45% bottom; }
  .mini-phone {
    position: absolute; right: 12px; bottom: 12px; width: 124px; height: 246px; border-radius: 24px; background: #fff;
    border: 6px solid #111; box-shadow: var(--shadow); padding: 8px 8px 10px; text-align: left; overflow: hidden;
    transform: rotate(4deg); animation: floaty 6s ease-in-out infinite;
  }
  .mini-status { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; }
  .mini-bars { width: 22px; height: 6px; border-radius: 2px; background: linear-gradient(90deg, #111 70%, #ccc 70%); align-self: center; }
  .mini-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0; }
  .mini-head img { height: 22px; width: auto; }
  .mini-menu .ico { width: 14px; height: 14px; }
  .mini-map { width: 100%; height: 88px; border-radius: 10px; background: #f6f7f8; }
  .mini-tiles { display: flex; gap: 4px; margin: 6px 0; }
  .mini-tiles span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 8px; font-weight: 600; border: 1px solid #e5e5e5; border-radius: 8px; padding: 3px 0; }
  .mini-tiles span.on { border-color: var(--brand); background: var(--brand-soft); }
  .mini-tiles img { width: 30px; height: 18px; object-fit: contain; }
  .mini-book { background: var(--brand); color: #fff; text-align: center; font-size: 10px; font-weight: 700; padding: 7px; border-radius: 20px; }
  .nav-toggle { display: inline-flex; }
  .nav nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10, 10, 10, 0.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav nav a:not(.btn) { padding: 12px; font-size: 16px; }
  .nav nav a:not(.btn)::after { display: none; }
  .btn-sm { margin: 8px 0 0; padding: 14px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cards.three, .cards.two, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .download-inner { padding: 32px 24px; }
  .stores { width: 100%; }
  .store { min-width: 0; width: 100%; }
  .stores > div { flex: 1 1 140px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand img { height: 64px; }
  .street-img { height: 250px; }
  .street { min-height: 250px; }
  .mini-phone { width: 112px; height: 222px; }
  .mini-map { height: 72px; }
  .chips li + li { padding-left: 8px; margin-left: 8px; }
  .float { font-size: 13px; padding: 10px 12px; }
  .f2 { right: -24px; }
  .f1, .f3 { left: -16px; }
  .lead { font-size: 16px; }
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .route-path { stroke-dashoffset: 0; }
  .reveal, .doc-row { opacity: 1; transform: none; }
}
