/* Landing page: Notion-calm layout, Apple-sized type, app components rebuilt in HTML. */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --surface: #f5f5f7;
  --surface-muted: #ebebf0;
  --elevated: #ffffff;
  --border: #e5e5ea;
  --text: #0a0a0a;
  --text-2: #6b6b70;
  --text-3: #9a9aa0;
  --primary: #007aff;
  --primary-soft: rgba(0, 122, 255, 0.12);
  --carpool: #28a745;
  --carpool-soft: rgba(40, 167, 69, 0.12);
  --taxi: #f08a24;
  --taxi-soft: rgba(240, 138, 36, 0.15);
  --warning-soft: #fff4dc;
  --danger: #ff3b30;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.06), 0 24px 60px rgba(0, 0, 0, 0.16);
  /* Card edge: inner highlight stroke + outer gray stroke */
  --stroke-in: #ffffff;
  --stroke-out: #dcdce1;
  --stroke: inset 0 0 0 1px var(--stroke-in), 0 0 0 1px var(--stroke-out);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0f0f10;
    --surface: #1c1c1e;
    --surface-muted: #2c2c2e;
    --elevated: #1c1c1e;
    --border: #38383a;
    --text: #f2f2f7;
    --text-2: #a0a0a6;
    --text-3: #6b6b70;
    --primary: #0a84ff;
    --primary-soft: rgba(10, 132, 255, 0.18);
    --carpool: #30d158;
    --carpool-soft: rgba(48, 209, 88, 0.15);
    --taxi: #ff9f0a;
    --taxi-soft: rgba(255, 159, 10, 0.18);
    --warning-soft: rgba(255, 214, 10, 0.14);
    --danger: #ff453a;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 24px 70px rgba(0, 0, 0, 0.75);
    --stroke-in: #000000;
    --stroke-out: #3a3a3c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.menu-open .nav { z-index: 70; background: var(--bg); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text); color: var(--bg) !important;
  padding: 7px 14px; border-radius: 8px; font-weight: 500;
}
.menu-btn {
  display: none; width: 40px; height: 40px; margin-right: -8px;
  background: none; border: 0; color: var(--text); cursor: pointer; position: relative; z-index: 70;
}
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), top 0.3s cubic-bezier(.2,.8,.2,1);
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-open .menu-btn span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 88px 24px 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: clamp(40px, 11vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15;
  padding: 6px 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu nav a:active { color: var(--text-2); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-foot small { color: var(--text-3); font-size: 14px; }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 12px;
  background: var(--text); color: var(--bg);
  transition: transform 0.15s, opacity 0.15s;
}
.store:hover { transform: translateY(-1px); }
.store:active { transform: scale(0.98); }
.store svg { width: 24px; height: 24px; flex: none; }
.store .lbl { display: flex; flex-direction: column; line-height: 1.1; }
.store .lbl small { font-size: 11px; opacity: 0.75; }
.store .lbl b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.store.soon { background: var(--surface); color: var(--text-2); cursor: default; }
.store.soon:hover { transform: none; }
.soon-tag {
  font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-soft);
  padding: 3px 7px; border-radius: 6px; margin-left: 4px;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-2);
  background: var(--surface); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--carpool); }
h1 {
  font-size: clamp(44px, 8vw, 88px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700;
  margin: 0 auto 20px; max-width: 900px;
}
h1 .muted { color: var(--text-3); }
.lead { font-size: clamp(19px, 2.2vw, 23px); color: var(--text-2); max-width: 620px; margin: 0 auto 32px; letter-spacing: -0.015em; }
.hero .stores { justify-content: center; }

/* Phone stage */
.stage { position: relative; margin-top: 64px; display: flex; justify-content: center; }
.phone {
  width: 340px; border-radius: 52px; padding: 12px;
  background: #1d1d1f; box-shadow: var(--shadow), inset 0 0 0 2px #3a3a3c;
  position: relative; z-index: 2;
}
.screen {
  border-radius: 41px; overflow: hidden; background: var(--bg);
  height: 690px; position: relative; text-align: left;
}
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 30px 0; font-size: 15px; font-weight: 600; }
.statusbar .island { width: 100px; height: 30px; background: #000; border-radius: 20px; }
.screen-body { padding: 10px 16px 0; }
.app-top { display: flex; justify-content: flex-end; gap: 10px; margin: 6px 0 2px; }
.circle-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; position: relative; color: var(--text);
}
.circle-btn.primary { background: var(--primary); color: #fff; }
.circle-btn svg { width: 18px; height: 18px; }
.badge-dot {
  position: absolute; top: -3px; right: -5px; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--danger); border-radius: 999px; padding: 1px 5px; border: 2px solid var(--bg);
}
.app-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.search {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: var(--surface); border-radius: 12px; color: var(--text-3); font-size: 16px; margin-bottom: 12px;
}
.search svg { width: 16px; height: 16px; }
.chips { display: flex; gap: 8px; margin-bottom: 16px; overflow: hidden; }
.chip {
  flex: none; font-size: 15px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 0; font-family: inherit; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chip.on { background: var(--primary); color: #fff; }
.section-h { font-size: 14px; color: var(--text-2); margin: 0 0 8px 2px; }

/* Ride card (RouteCard) */
.ride {
  background: var(--surface); border-radius: 18px; box-shadow: var(--stroke);
  padding: 13px 15px; margin-bottom: 10px;
  transition: opacity 0.25s, transform 0.25s;
}
.ride.mine { box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 1px var(--stroke-out); }
.ride.hide { display: none; }
.ride-top { display: flex; align-items: center; gap: 12px; }
.ride-route { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ride-dep { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.ride-dep span:first-child { overflow: hidden; text-overflow: ellipsis; }
.ride-arr { display: flex; align-items: center; gap: 6px; font-size: 16px; white-space: nowrap; overflow: hidden; }
.ride-arr svg { width: 14px; height: 14px; color: var(--text-2); flex: none; }
.tag { font-size: 12px; font-weight: 500; padding: 2px 7px; border-radius: 6px; flex: none; }
.tag.carpool { color: var(--carpool); background: var(--carpool-soft); }
.tag.taxi { color: var(--taxi); background: var(--taxi-soft); }
.time-pill { background: var(--primary-soft); color: var(--primary); font-weight: 500; padding: 7px 11px; border-radius: 10px; font-size: 16px; }
.ride hr { border: 0; height: 1px; background: var(--border); margin: 12px 0 10px; }
.ride-bot { display: flex; align-items: center; gap: 7px; }
.ride-bot .who { flex: 1; min-width: 0; }
.ride-bot .price { font-size: 15px; }
.ride-bot .name { font-size: 14px; color: var(--text-2); }
.joined { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 999px; }
.seats { display: inline-flex; align-items: center; gap: 5px; color: var(--text-2); font-size: 15px; }
.seats svg { width: 18px; height: 18px; }
.chev { width: 14px; height: 14px; color: var(--text-3); }

/* Glass tab bar */
.tabbar {
  position: absolute; left: 14px; right: 14px; bottom: 16px; height: 58px;
  display: flex; align-items: center; justify-content: space-around; padding: 0 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--elevated) 72%, transparent);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.12);
  color: var(--text);
}
.tabbar .tab { width: 64px; height: 46px; display: grid; place-items: center; border-radius: 999px; position: relative; }
.tabbar .tab.on { background: color-mix(in srgb, var(--text) 9%, transparent); }
.tabbar svg { width: 23px; height: 23px; }
.tabbar .badge-dot { top: 4px; right: 12px; }

/* Floating cards around the phone */
.float {
  position: absolute; z-index: 5; background: var(--elevated); border-radius: 18px; box-shadow: var(--stroke), var(--shadow-lift);
  text-align: left; animation: bob 6s ease-in-out infinite;
}
.float.notif { left: calc(50% - 400px); top: 250px; width: 300px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.float.saving { right: calc(50% - 450px); top: 430px; width: 240px; padding: 16px 18px; animation-delay: -3s; }
.app-icon { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.notif b { font-size: 14px; display: block; }
.notif p { margin: 1px 0 0; font-size: 13.5px; color: var(--text-2); line-height: 1.35; }
.notif .when { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--text-3); }
.saving small { color: var(--text-2); font-size: 13px; }
.saving .big { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 2px; }
.saving .up { color: var(--carpool); font-size: 13px; font-weight: 600; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Logos strip / steps ---------- */
.trust { text-align: center; color: var(--text-3); font-size: 15px; padding: 48px 0 8px; }

section.block { padding: 112px 0; }
.kicker { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
h2 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 18px; font-weight: 700; }
.sub { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 600px; margin: 0; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.mode-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 240px; margin: 40px auto 0;
  padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--stroke);
}
.mode-switch button {
  position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 500;
  padding: 9px 0; border-radius: 999px; color: var(--text-2); cursor: pointer; transition: color 0.2s;
}
.mode-switch button[aria-selected="true"] { color: var(--text); font-weight: 600; }
.mode-switch .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--elevated); box-shadow: var(--stroke), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.mode-switch[data-mode="taxi"] .thumb { transform: translateX(100%); }
.step-media img { transition: opacity 0.18s, transform 0.3s; }
.step-media img.swap { opacity: 0; transform: scale(0.98); }
.step { background: var(--bg-soft); border-radius: 34px; padding: 14px 14px 26px; box-shadow: var(--stroke); }
.step-media { position: relative; aspect-ratio: 1; margin-bottom: 20px; }
.step-media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 26px;
  background: var(--surface-muted); box-shadow: var(--stroke);
}
.step .n {
  position: absolute; left: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: var(--text);
  background: color-mix(in srgb, var(--elevated) 78%, transparent);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--stroke);
}
.step h3, .step p { padding: 0 12px; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 6px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Feature rows (Notion-style alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 14px; }
.feature p { color: var(--text-2); margin: 0 0 18px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ticks svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 1px; }
.panel {
  background: var(--bg-soft); border-radius: 28px; padding: 32px; box-shadow: var(--stroke);
  display: flex; flex-direction: column; justify-content: center; min-height: 420px;
}
.panel-inner { background: var(--bg); border-radius: 22px; padding: 18px; box-shadow: var(--stroke), var(--shadow); max-width: 400px; width: 100%; margin: 0 auto; }

/* Create form mock (CreateAdvertScreen) */
.create-frame { padding: 0; overflow: hidden; }
.create-shell {
  padding: 18px; height: 470px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 36px), transparent 100%);
}
.create-shell::-webkit-scrollbar { display: none; }
.create { padding-bottom: 14px; }
@media (max-width: 480px) { .create-shell { height: 440px; } }
.create-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 4px 4px !important; color: var(--text) !important; }
.feature .create .sec { font-size: 12.5px; color: var(--text-2); margin: 16px 0 6px 14px; letter-spacing: 0.01em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-muted); border-radius: 9px; padding: 2px; }
.seg button { border: 0; background: none; font: inherit; font-size: 14px; padding: 6px; border-radius: 7px; color: var(--text); cursor: pointer; }
.seg button.on { background: var(--elevated); box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.04); font-weight: 600; }
.group { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--stroke); }
.group .pad { padding: 11px 14px; }
.group .pad + .pad, .group .pad + .row, .group .row + .row, .group .row + .pad, .group .carpool-only + .row, .group .row + .map-wrap { border-top: 1px solid var(--border); margin-left: 14px; padding-left: 0; }
.group .row + .map-wrap { border-top: 0; margin-left: 0; }
.group .note { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; min-height: 46px; font-size: 16px; }
.row .val { margin-left: auto; color: var(--text-2); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.row .val.strong { color: var(--text); }
.row.link { justify-content: flex-start; gap: 6px; color: var(--primary); font-size: 15px; min-height: 42px; }
.ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.ic svg { width: 16px; height: 16px; }
.map-wrap { padding: 0 10px 10px; }
.map { display: block; width: 100%; height: 108px; border-radius: 10px; }
.m-land { fill: #eef0e8; } .m-water { fill: #b9d7f2; } .m-park { fill: #cfe8c6; }
.m-road { fill: none; stroke: #ffffff; stroke-width: 7; stroke-linecap: round; }
.m-road.thin { stroke-width: 4; }
.m-route { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round; }
.m-pin-a { fill: #34c759; stroke: #fff; stroke-width: 2.5; }
.m-pin-b { fill: #ff3b30; stroke: #fff; stroke-width: 2.5; }
@media (prefers-color-scheme: dark) {
  .m-land { fill: #2a2b2e; } .m-water { fill: #1d3550; } .m-park { fill: #23382a; }
  .m-road { stroke: #3d3e42; }
}
.map-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 4px 0; }
.map-meta span { font-size: 14px; white-space: nowrap; }
.map-meta small { font-size: 12.5px; color: var(--text-2); text-align: right; }
.seg.small button { font-size: 13.5px; }
.create[data-type="taxi"] .carpool-only { display: none; }
.create[data-type="taxi"] .carpool-only + .row { border-top: 0; margin-left: 0; padding-left: 14px; }
#seatLabel b { font-weight: 400; }
.stepper { display: inline-flex; align-items: center; background: var(--surface-muted); border-radius: 9px; height: 32px; }
.stepper button { border: 0; background: none; width: 42px; height: 32px; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.stepper button:disabled { color: var(--text-3); cursor: default; }
.stepper button + button { border-left: 1px solid var(--border); }
.chip-time { background: var(--surface-muted); color: var(--text); padding: 5px 10px; border-radius: 8px; font-size: 15px; }
.create .btn-primary { margin-top: 18px; height: 50px; border-radius: 12px; }
.btn-primary {
  width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--primary); color: #fff;
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
.btn-primary:active { opacity: 0.85; }

/* Chat mock */
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.chat-head b { font-size: 15px; display: block; }
.chat-head small { color: var(--text-2); font-size: 12.5px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: end center; overflow: hidden; flex: none; background: var(--surface-muted); color: var(--text-3); }
.avatar svg { width: 82%; height: 82%; }
.msgs { display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 18px; font-size: 15px; line-height: 1.35; position: relative; }
.msg .from { font-size: 12px; font-weight: 600; display: block; margin-bottom: 1px; }
.msg.in { background: var(--surface); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.out { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg .react {
  position: absolute; bottom: -10px; right: 8px; font-size: 12px; background: var(--elevated);
  border-radius: 999px; padding: 1px 6px; box-shadow: 0 0 0 1px var(--border);
}
.msg.reply { border-left: 3px solid rgba(255,255,255,.6); }
.quote { font-size: 12.5px; opacity: 0.85; border-left: 2px solid rgba(255,255,255,0.7); padding-left: 7px; margin-bottom: 4px; }
.read { align-self: flex-end; font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.typing { align-self: flex-start; background: var(--surface); border-radius: 18px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%,60%,100% { opacity: 0.3; } 30% { opacity: 1; } }

/* Safety mock */
.banner { display: flex; gap: 12px; align-items: center; background: var(--warning-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.banner b { font-size: 15px; display: block; }
.banner span { font-size: 13px; color: var(--text-2); }
.banner svg { width: 22px; height: 22px; color: #f4a100; flex: none; }
.profile { display: flex; align-items: center; gap: 12px; padding: 4px 2px 14px; }
.profile .avatar { width: 52px; height: 52px; }
.profile b { font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 5px; }
.profile b svg { width: 17px; height: 17px; color: var(--primary); }
.profile small { color: var(--text-2); font-size: 14px; }
.stars { color: #ffb800; letter-spacing: 1px; font-size: 14px; }

/* Impact */
.saving-row { display: flex; align-items: center; gap: 14px; padding: 4px 4px 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.saving-row > div { flex: 1; }
.saving-row small { display: block; font-size: 15px; color: var(--text); }
.saving-row b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--carpool); margin: 2px 0 1px; }
.saving-row span { font-size: 13px; color: var(--text-2); }
.lira-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--carpool); color: #fff !important; font-size: 21px !important; font-weight: 600; flex: none; }
.impact-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.itile { border-radius: 14px; padding: 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.itile svg { width: 20px; height: 20px; }
.itile b { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.itile small { font-size: 13px; color: var(--text-2); }
.itile.green { background: rgba(52, 199, 89, 0.12); color: #34c759; }
.itile.orange { background: rgba(255, 159, 10, 0.12); color: #ff9f0a; }
.itile b { color: var(--text); }
.feature .chart-title { font-size: 16px; font-weight: 600; color: var(--text); margin: 20px 0 12px; }
.month-chart { display: flex; gap: 8px; height: 118px; }
.month-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.month-chart .v { font-size: 12px; font-weight: 600; }
.month-chart .track { flex: 1; width: 70%; display: flex; align-items: flex-end; }
.month-chart .bar { width: 100%; border-radius: 6px; background: color-mix(in srgb, var(--primary) 53%, transparent); }
.month-chart .now .bar { background: var(--primary); }
.month-chart .m { font-size: 12px; color: var(--text-2); }
.month-chart .now .m { color: var(--text); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.badges .b { font-size: 12px; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.badges .b i {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
}
.badges .b i svg { width: 21px; height: 21px; }
.badges .b.off { opacity: 0.45; }
.badges .b.off i { color: var(--text-3); background: var(--surface-muted); }

/* Places grid */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.place { background: var(--bg-soft); border-radius: 34px; padding: 22px; box-shadow: var(--stroke); }
.place-media { position: relative; aspect-ratio: 4 / 3.4; margin: 6px 4px 22px; }
.place-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 26px; background: var(--surface-muted); box-shadow: var(--stroke);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.place-media .front { box-shadow: var(--stroke), 0 8px 24px rgba(0, 0, 0, 0.14); }
.place-media.stacked .back { transform: rotate(-9deg) translate(-7%, -4%) scale(0.86); }
.place-media.stacked .front { transform: rotate(3deg) translate(5%, 3%) scale(0.9); }
.place:hover .place-media.stacked .back { transform: rotate(-13deg) translate(-11%, -6%) scale(0.86); }
.place:hover .place-media.stacked .front { transform: rotate(4deg) translate(8%, 3%) scale(0.9); }
.place b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.place span { color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; color: var(--text-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--text-2); font-size: 17px; }

/* CTA */
.cta { text-align: center; padding: 120px 0; background: var(--bg-soft); }
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 28px; box-shadow: var(--shadow); }
.cta .stores { justify-content: center; margin-top: 32px; }

footer { padding: 40px 0 56px; font-size: 14px; color: var(--text-3); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .typing i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .float, .float.notif { display: none; }
  .places { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .feature.flip .copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step-media { aspect-ratio: 4 / 3; }
  section.block { padding: 80px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .stage { margin-top: 48px; }
  .phone { width: 100%; max-width: 330px; padding: 10px; }
  .screen-body { padding: 8px 12px 0; }
  .ride { padding: 12px 13px; }
  .ride-dep, .ride-arr { font-size: 15px; }
  .ride-bot .price { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .joined { display: none; }
  .panel { padding: 16px; border-radius: 22px; min-height: 0; }
  .panel-inner { padding: 14px; }
  .places { grid-template-columns: 1fr 1fr; gap: 10px; }
  .place { padding: 18px; }
  .store { flex: 1 1 100%; justify-content: center; }
  .cta { padding: 88px 0; }
}
