*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #18181B;
  --ink-mid: #52525B;
  --ink-muted: #A1A1AA;
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --accent: #3730A3;
  --accent-mid: #4F46E5;
  --accent-light: #EEF2FF;
  --border: rgba(24,24,27,0.08);
  --border-strong: rgba(24,24,27,0.14);
  --green: #15803D;
  --green-light: #F0FDF4;
  --amber: #B45309;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1100px;
  --r: 10px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px; color: var(--ink); text-decoration: none;
  letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 9px;
}
.nav-logo em { color: var(--accent-mid); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 450; color: var(--ink-mid);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  height: 38px; padding: 0 20px;
  background: var(--accent); color: #fff;
  border-radius: 7px; font-size: 14px; font-weight: 500;
  text-decoration: none; display: flex; align-items: center;
  transition: background 0.15s; letter-spacing: 0.1px;
}
.nav-cta:hover { background: var(--accent); opacity: 0.9; }
.nav-mobile-cta { display: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: #18181B;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-grid {
  max-width: var(--max); width: 100%;
  display: grid; grid-template-columns: 1fr auto;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-right { display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-left { align-items: center; }
  .hero-right { transform: scale(0.82); transform-origin: top center; margin-bottom: calc(536px * -0.18); }
}
@media (max-width: 480px) {
  .hero-right { transform: scale(0.68); transform-origin: top center; margin-bottom: calc(536px * -0.32); }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79,70,229,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(55,48,163,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 20px; position: relative; z-index: 1;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400; color: #fff;
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 em { color: #A5B4FC; font-style: italic; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300; color: rgba(255,255,255,0.55);
  max-width: 480px; line-height: 1.65;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}
.btn-primary {
  height: 52px; padding: 0 28px;
  background: var(--accent-mid); color: #fff;
  border-radius: var(--r); font-size: 15px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s; letter-spacing: 0.2px; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-secondary {
  height: 52px; padding: 0 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.9);
  border-radius: var(--r); font-size: 15px; font-weight: 500; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.hero-stats {
  display: flex; gap: 36px; margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400; color: #fff;
  line-height: 1; margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.4);
  font-weight: 400; letter-spacing: 0.3px;
}

/* ── SECTIONS ── */
section { padding: 96px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-mid);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--accent-mid); }
.section-sub {
  font-size: 17px; font-weight: 300;
  color: var(--ink-mid); line-height: 1.65;
  max-width: 560px;
}

/* ── HOW IT WORKS ── */
#how { background: var(--surface); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 56px;
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden;
}
.step {
  padding: 36px 32px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 400; font-style: italic;
  color: var(--accent-mid); margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.step-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-mid); margin-bottom: 16px;
}
.step h3 {
  font-size: 17px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.step p { font-size: 14px; font-weight: 300; color: var(--ink-mid); line-height: 1.6; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 20px;
}
.about-values { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.value {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
}
.value-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center;
  color: var(--accent-mid); flex-shrink: 0;
}
.value h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.value p { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.5; }

.about-visual {
  background: #18181B; border-radius: 16px;
  padding: 40px 32px; position: relative; overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(79,70,229,0.2) 0%, transparent 60%);
}
.mockup-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-route {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 18px 20px;
  margin-bottom: 10px; position: relative; z-index: 1;
}
.mockup-route-name {
  font-size: 13px; font-weight: 500; color: #fff;
  margin-bottom: 4px;
}
.mockup-route-meta { font-size: 11px; color: rgba(255,255,255,0.4); }
.mockup-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-light); color: var(--green);
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; margin-top: 8px;
}

/* ── SAFETY ── */
#safety { background: var(--surface); }
.safety-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 48px;
}
.safety-card {
  padding: 28px; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--bg);
}
.safety-card.accent {
  background: var(--accent-light);
  border-color: rgba(79,70,229,0.15);
}
.safety-icon { display: flex; margin-bottom: 12px; color: var(--ink-mid); }
.safety-card h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.safety-card p { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.6; }
.legal-note {
  margin-top: 40px; padding: 24px 28px;
  background: #FFFBEB; border: 1px solid rgba(180,83,9,0.15);
  border-radius: var(--r);
}
.legal-note p { font-size: 13px; color: #92400E; line-height: 1.7; }
.legal-note strong { font-weight: 600; }

/* ── COMMUNITY GUIDELINES ── */
#guidelines { background: var(--bg); }
.guidelines-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 48px;
}
.guideline {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
}
.guideline-icon { display: flex; margin-bottom: 10px; }
.guideline.do .guideline-icon { color: var(--green); }
.guideline.dont .guideline-icon { color: #EF4444; }
.guideline h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.guideline p { font-size: 13px; font-weight: 300; color: var(--ink-mid); line-height: 1.55; }
.guideline.dont { border-left: 3px solid #FECACA; }
.guideline.do { border-left: 3px solid #BBF7D0; }

/* ── FAQ ── */
#faq { background: var(--surface); }
.faq-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 56px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 8px;
}
.faq-q {
  width: 100%; padding: 18px 20px;
  background: var(--bg); border: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink); cursor: pointer; text-align: left;
  transition: background 0.15s; gap: 16px;
}
.faq-q:hover { background: #F4F4F5; }
.faq-q.open { background: var(--accent-light); color: var(--accent); }
.faq-chevron { font-size: 12px; flex-shrink: 0; transition: transform 0.2s; color: var(--ink-muted); }
.faq-q.open .faq-chevron { transform: rotate(180deg); color: var(--accent-mid); }
.faq-a {
  display: none; padding: 0 20px 18px;
  background: var(--bg);
  font-size: 13px; font-weight: 300; color: var(--ink-mid);
  line-height: 1.65;
}
.faq-a.open { display: block; }
.faq-aside {
  background: #18181B; border-radius: 14px;
  padding: 36px 32px; position: sticky; top: 84px;
}
.faq-aside h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400; color: #fff;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.faq-aside p { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 24px; }
.faq-aside-link {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; text-decoration: none;
  color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 450;
  margin-bottom: 8px; transition: background 0.15s;
}
.faq-aside-link:hover { background: rgba(255,255,255,0.1); }
.faq-aside-icon { display: flex; flex-shrink: 0; }

/* ── CTA ── */
#cta {
  background: #18181B;
  text-align: center; padding: 120px 24px;
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,70,229,0.2) 0%, transparent 65%);
  pointer-events: none;
}
#cta .section-inner { position: relative; z-index: 1; }
#cta .section-title { color: #fff; max-width: 600px; margin: 0 auto 16px; }
#cta .section-sub { color: rgba(255,255,255,0.45); margin: 0 auto 44px; }
.cta-badges {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-top: 20px;
}
.cta-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; font-size: 13px; color: rgba(255,255,255,0.6);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.footer-logo em { color: var(--accent-mid); font-style: italic; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: var(--ink-muted);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--ink-muted); }

/* ── HERO DEMO BUTTON (mobile only, lives inside .hero-actions) ── */
.hero-demo-btn {
  display: none;
  align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--r);
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.hero-demo-btn:hover { background: rgba(255,255,255,0.16); }
@media (max-width: 960px) {
  .hero-demo-btn { display: inline-flex; }
}
@media (max-width: 720px) {
  .btn-primary, .btn-secondary, .hero-demo-btn { height: 46px; font-size: 14px; }
  .btn-primary { padding: 0 18px; }
  .btn-secondary { padding: 0 15px; }
  .hero-demo-btn { padding: 0 14px; gap: 7px; }
  .hero-actions { gap: 8px; }
}
@media (max-width: 540px) {
  .btn-primary, .btn-secondary, .hero-demo-btn { height: 42px; font-size: 12.5px; }
  .btn-primary { padding: 0 13px; }
  .btn-secondary { padding: 0 11px; }
  .hero-demo-btn { padding: 0 10px; gap: 5px; }
  .hero-actions { gap: 6px; }
}

/* ── HERO FACTS ── */
.hero-facts {
  display: flex; gap: 16px; flex-wrap: wrap;
  width: 100%; margin-bottom: 28px;
}
.hero-fact {
  display: flex; align-items: center; gap: 10px;
  text-align: left; color: rgba(255,255,255,0.45);
}
.hero-fact-icons {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0; color: rgba(255,255,255,0.85);
}
.hero-fact-text strong {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.75); letter-spacing: -0.1px;
}
.hero-fact-text span { display: none; }
@media (max-width: 960px) {
  .hero-facts { flex-direction: column; align-items: center; gap: 8px; }
  .hero-fact { text-align: center; }
}

/* ── DELETE ACCOUNT PAGE ── */
.page-header {
  background: var(--surface);
  padding: 128px 24px 56px;
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 780px; margin: 0 auto; }
.page-header .section-title { margin-bottom: 18px; }
.page-header .section-sub { max-width: 640px; }
.page-breadcrumb {
  margin-top: 28px;
}
.page-breadcrumb a {
  font-size: 13px; color: var(--ink-mid);
  text-decoration: none; font-weight: 500;
  transition: color 0.15s;
}
.page-breadcrumb a:hover { color: var(--accent-mid); }
.page-body { background: var(--bg); padding: 72px 24px 96px; }
.page-narrow { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.delete-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 26px;
  display: flex; gap: 18px; align-items: flex-start;
}
.delete-card-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(55,48,163,0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.delete-card-body { flex: 1; }
.delete-card h3,
.delete-clause h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 400; color: var(--ink);
  margin-bottom: 12px; letter-spacing: -0.2px;
}
.delete-card p,
.delete-clause p {
  font-size: 15px; color: var(--ink-mid);
  line-height: 1.7; margin-bottom: 8px;
}
.delete-card ol,
.delete-card ul,
.delete-clause ul {
  margin: 4px 0 0 20px;
  font-size: 15px; color: var(--ink-mid);
  line-height: 1.7;
}
.delete-card li,
.delete-clause li { margin-bottom: 6px; }
.delete-card strong,
.delete-clause strong { color: var(--ink); font-weight: 600; }
.delete-card a,
.delete-clause a { color: var(--accent-mid); text-decoration: none; border-bottom: 1px solid rgba(99,102,241,0.3); }
.delete-card a:hover,
.delete-clause a:hover { border-bottom-color: var(--accent-mid); }
.delete-clause {
  padding: 4px 4px 0;
}
.delete-updated {
  font-size: 12px; color: var(--ink-muted);
  margin-top: 12px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .page-header { padding: 104px 20px 40px; }
  .delete-card { flex-direction: column; gap: 12px; padding: 22px; }
  .delete-card-icon { width: 36px; height: 36px; }
}

/* ── STORE BADGES (Coming soon) ── */
.store-badges {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin: 0 auto 36px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  color: rgba(255,255,255,0.92);
}
.store-badge svg { flex-shrink: 0; }
.store-badge-text {
  display: flex; flex-direction: column;
  text-align: left; line-height: 1.15;
}
.store-badge-eyebrow {
  font-size: 10px; letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.store-badge-name {
  font-size: 15px; font-weight: 600;
  color: #fff;
}

/* ── CTA STEPS ── */
.cta-steps {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 44px;
}
.cta-step {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 14px 20px;
  text-align: left; max-width: 220px;
}
.cta-step-num {
  font-family: var(--font-display);
  font-size: 22px; font-style: italic; font-weight: 400;
  color: #A5B4FC; line-height: 1; flex-shrink: 0;
}
.cta-step-text {
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.45;
}
.cta-step-text strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.cta-step-arrow {
  font-size: 16px; color: rgba(255,255,255,0.2); flex-shrink: 0;
}
@media (max-width: 768px) {
  .cta-step-arrow { display: none; }
  .cta-step { max-width: 100%; width: 100%; }
}

/* ── HERO PREVIEW ── */
.hero-preview {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  margin-top: 52px; position: relative; z-index: 1;
  max-width: 700px; width: 100%;
}
.hero-preview-label {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); text-align: center;
  width: 100%; margin-bottom: 4px;
}
.hero-preview-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 14px 18px;
  text-align: left; min-width: 175px; flex: 1; max-width: 215px;
}
.hero-preview-route {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.hero-preview-meta {
  font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 10px;
}
.hero-preview-badge {
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; display: inline-block;
}
.hero-preview-badge.open { background: rgba(21,128,61,0.25); color: #4ADE80; }
.hero-preview-badge.full { background: rgba(180,83,9,0.2); color: #FCD34D; }
@media (max-width: 768px) { .hero-preview { display: none; } }

/* ── DEMO SECTION ── */
#demo { background: var(--surface); }
.demo-wrap { display: flex; flex-direction: column; align-items: center; margin-top: 52px; }
.demo-phone {
  width: 268px; height: 536px; border-radius: 38px; overflow: hidden;
  position: relative; background: #f8fafc;
  box-shadow: 0 0 0 8px #1e293b, 0 0 0 9px rgba(255,255,255,0.07), 0 40px 90px rgba(0,0,0,0.18);
  font-family: system-ui, -apple-system, sans-serif;
}
.demo-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 72px; height: 22px; background: #1e293b;
  border-radius: 0 0 14px 14px; z-index: 200;
}
.demo-screen { position: absolute; inset: 0; opacity: 0; overflow: hidden; background: #f8fafc; }
.demo-s1 { animation: ds1 20s ease-in-out infinite; }
.demo-s2 { animation: ds2 20s ease-in-out infinite; }
.demo-s3 { animation: ds3 20s ease-in-out infinite; }
.demo-s4 { animation: ds4 20s ease-in-out infinite; }
@keyframes ds1 { 0%{opacity:0} 2%{opacity:1} 22%{opacity:1} 24%{opacity:0} 100%{opacity:0} }
@keyframes ds2 { 0%,24%{opacity:0} 26%{opacity:1} 49%{opacity:1} 51%{opacity:0} 100%{opacity:0} }
@keyframes ds3 { 0%,51%{opacity:0} 53%{opacity:1} 74%{opacity:1} 76%{opacity:0} 100%{opacity:0} }
@keyframes ds4 { 0%,76%{opacity:0} 78%{opacity:1} 98%{opacity:1} 100%{opacity:0} }

/* shared app-bar */
.d-appbar { background:#fff; border-bottom:1px solid #e5e7eb; padding:26px 14px 10px; display:flex; align-items:center; }
.d-appbar-logo { font-size:13px; font-weight:700; color:#18181B; flex:1; letter-spacing:-0.3px; }
.d-appbar-logo em { color:#4F46E5; font-style:italic; }
.d-appbar-sub { font-size:9px; color:#94a3b8; }

/* S1: browse */
.d-content { padding:12px 12px 0; }
.d-page-title { font-size:14px; font-weight:700; color:#18181B; line-height:1.3; margin-bottom:10px; }
.d-search { display:flex; align-items:center; background:#f1f5f9; border-radius:7px; padding:7px 10px; margin-bottom:10px; font-size:10px; color:#64748b; }
.d-search-btn { margin-left:auto; background:#4F46E5; color:#fff; border:none; border-radius:5px; padding:3px 8px; font-size:9px; font-weight:600; }
.d-tabs { display:flex; gap:5px; margin-bottom:10px; }
.d-tab { font-size:9px; font-weight:500; padding:3px 8px; border-radius:20px; background:#f1f5f9; color:#64748b; }
.d-tab.on { background:#4F46E5; color:#fff; }
.d-card { background:#fff; border:1px solid #e5e7eb; border-radius:9px; padding:9px 10px; margin-bottom:7px; display:flex; gap:8px; align-items:center; }
.d-avatar { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:9px; font-weight:700; color:#fff; flex-shrink:0; }
.d-card-body { flex:1; min-width:0; }
.d-card-name { font-size:9px; font-weight:600; color:#374151; margin-bottom:2px; }
.d-card-route { font-size:10px; font-weight:600; color:#18181B; margin-bottom:1px; }
.d-card-time { font-size:9px; color:#94a3b8; }
.d-card-btn { font-size:9px; font-weight:600; padding:5px 7px; border-radius:6px; border:none; white-space:nowrap; flex-shrink:0; }
.d-card-btn.req { background:#4F46E5; color:#fff; }
.d-card-btn.take { background:#dbeafe; color:#1d4ed8; }

/* S2: messages */
.d-msg-header { background:#1e3a5f; padding:24px 12px 10px; display:flex; align-items:center; gap:8px; }
.d-back { color:rgba(255,255,255,0.7); font-size:18px; line-height:1; }
.d-msg-driver { font-size:12px; font-weight:700; color:#fff; }
.d-msg-route-line { font-size:9px; color:rgba(255,255,255,0.55); margin-top:1px; }
.d-infobanner { background:#253d5b; padding:5px 12px; font-size:8.5px; color:rgba(255,255,255,0.65); }
.d-safety { background:#fffbeb; border-left:3px solid #f59e0b; padding:6px 10px; margin:8px 10px; font-size:8.5px; color:#92400e; line-height:1.4; border-radius:0 4px 4px 0; }
.d-msgs { padding:6px 10px; }
.d-bubble { padding:7px 9px; border-radius:10px; font-size:9.5px; line-height:1.45; margin-bottom:5px; opacity:0; transform:translateY(8px); }
.d-bubble.out { background:#1e3a5f; color:#fff; border-radius:10px 10px 2px 10px; max-width:88%; margin-left:auto; }
.d-bubble.in  { background:#f1f5f9; color:#374151; border-radius:10px 10px 10px 2px; max-width:80%; }
.d-approve { background:#4F46E5; color:#fff; border:none; border-radius:7px; font-size:9.5px; font-weight:600; padding:7px 10px; width:calc(100% - 20px); margin:2px 10px 8px; display:block; opacity:0; transform:translateY(6px); }
.d-typing { display:inline-flex; align-items:center; gap:3px; background:#f1f5f9; padding:7px 9px; border-radius:10px 10px 10px 2px; margin-bottom:5px; opacity:0; }
.d-dot { width:5px; height:5px; border-radius:50%; background:#94a3b8; }
.d-dot:nth-child(1){animation:dotB 1s 0s infinite}
.d-dot:nth-child(2){animation:dotB 1s 0.18s infinite}
.d-dot:nth-child(3){animation:dotB 1s 0.36s infinite}
@keyframes dotB { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-3px)} }
.d-input-bar { position:absolute; bottom:44px; left:0; right:0; background:#fff; border-top:1px solid #e5e7eb; padding:7px 10px; display:flex; gap:6px; align-items:center; }
.d-input-field { flex:1; background:#f1f5f9; border-radius:20px; padding:5px 10px; font-size:9.5px; color:#94a3b8; }
.d-send-btn { width:24px; height:24px; border-radius:50%; background:#4F46E5; flex-shrink:0; display:flex; align-items:center; justify-content:center; }

/* S3: my routes */
.d-s3-header { background:#fff; padding:24px 14px 12px; border-bottom:1px solid #e5e7eb; }
.d-s3-title { font-size:15px; font-weight:700; color:#18181B; }
.d-s3-sub { font-size:9px; color:#94a3b8; margin-top:2px; }
.d-section-label { font-size:9px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#94a3b8; padding:10px 14px 5px; }
.d-route-card { background:#fff; border:1px solid #e5e7eb; margin:0 10px 8px; border-radius:9px; padding:10px 12px; }
.d-route-row { display:flex; align-items:flex-start; justify-content:space-between; gap:6px; }
.d-route-name { font-size:11px; font-weight:600; color:#18181B; }
.d-route-meta { font-size:9px; color:#94a3b8; margin-top:2px; }
.d-badge { font-size:8.5px; font-weight:600; padding:3px 7px; border-radius:4px; white-space:nowrap; flex-shrink:0; }
.d-badge.confirmed { background:#dcfce7; color:#16a34a; opacity:0; transform:scale(0.85); }
.d-badge.approved  { background:#dcfce7; color:#16a34a; }
.d-badge.pending   { background:#fef9c3; color:#854d0e; }

/* shared bottom nav */
.d-nav { position:absolute; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #e5e7eb; display:flex; justify-content:space-around; padding:5px 0 8px; }
.d-nav-item { display:flex; flex-direction:column; align-items:center; gap:2px; font-size:7.5px; font-weight:500; color:#94a3b8; }
.d-nav-item.on { color:#4F46E5; }

/* element animations (20s loop) — message=slot3 53-74%, confirmed=slot4 78-98% */
.d-bubble.out { animation: msg1   20s ease-in-out infinite; }
.d-approve    { animation: appBtn 20s ease-in-out infinite; }
.d-typing     { animation: typInd 20s ease-in-out infinite; }
.d-bubble.in  { animation: msg2   20s ease-in-out infinite; }
.d-badge.confirmed { animation: confBadge 20s ease-in-out infinite; }
@keyframes msg1   { 0%,54%{opacity:0;transform:translateY(8px)} 58%,73%{opacity:1;transform:translateY(0)} 76%,100%{opacity:0} }
@keyframes appBtn { 0%,58%{opacity:0;transform:translateY(6px)} 62%,73%{opacity:1;transform:translateY(0)} 76%,100%{opacity:0} }
@keyframes typInd { 0%,64%{opacity:0} 66%,70%{opacity:1} 72%,100%{opacity:0} }
@keyframes msg2   { 0%,69%{opacity:0;transform:translateY(8px)} 73%,74%{opacity:1;transform:translateY(0)} 76%,100%{opacity:0} }
@keyframes confBadge { 0%,88%{opacity:0;transform:scale(0.85)} 92%{opacity:1;transform:scale(1.04)} 96%,98%{opacity:1;transform:scale(1)} 100%{opacity:0} }

/* step indicator */
.demo-steps-ind { display:flex; align-items:center; gap:16px; }
.demo-step-btn {
  display:flex; flex-direction:column; align-items:center; gap:7px;
  opacity:0.35; background:none; border:none; cursor:pointer; padding:4px 6px;
  transition: opacity 0.2s;
}
.demo-step-btn:hover { opacity:0.65; }
.demo-step-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.3); }
.demo-step-lbl { font-size:10px; color:rgba(255,255,255,0.6); font-weight:500; }

/* phone shadow for dark hero bg */
.hero-right .demo-phone {
  box-shadow: 0 0 0 8px rgba(255,255,255,0.1), 0 0 0 9px rgba(79,70,229,0.25), 0 32px 80px rgba(0,0,0,0.5);
}

/* map screen */
.d-map-container { position:absolute; top:117px; bottom:44px; left:0; right:0; overflow:hidden; }
.d-map-img { position:absolute; top:0; left:0; width:100%; height:calc(100% - 68px); object-fit:cover; display:block; }
.d-map-pins { position:absolute; top:0; left:0; width:100%; height:calc(100% - 68px); pointer-events:none; }
.d-map-pin { position:absolute; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#EF4444; border:2px solid #fff; color:#fff; font-weight:700; transform:translate(-50%,-50%); }
.d-map-popup { position:absolute; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #e5e7eb; padding:6px 10px; }

/* step click override — animation:none !important kills the keyframe, then opacity takes effect */
.demo-frozen .demo-screen { animation:none !important; opacity:0 !important; }
.demo-frozen .d-bubble,
.demo-frozen .d-approve,
.demo-frozen .d-typing,
.demo-frozen .d-badge.confirmed { animation:none !important; }
.demo-frozen .demo-screen.d-active { opacity:1 !important; }
.demo-frozen .demo-s3.d-active .d-bubble.out,
.demo-frozen .demo-s3.d-active .d-approve,
.demo-frozen .demo-s3.d-active .d-bubble.in { opacity:1 !important; transform:translateY(0) !important; }
.demo-frozen .demo-s3.d-active .d-typing { opacity:0 !important; }
.demo-frozen .demo-s4.d-active .d-badge.confirmed { opacity:1 !important; transform:scale(1) !important; }
/* list screen extras */
.d-toggle-row { display:flex; gap:5px; margin-bottom:8px; }
.d-toggle { font-size:9px; font-weight:600; padding:3px 9px; border-radius:5px; border:1px solid #e5e7eb; background:#f1f5f9; color:#64748b; }
.d-toggle.on { background:#4F46E5; color:#fff; border-color:#4F46E5; }
.d-seat-badge { font-size:9px; font-weight:700; width:18px; height:18px; border-radius:50%; background:#dcfce7; color:#16a34a; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:auto; }
.d-needs-badge { font-size:7.5px; font-weight:600; padding:2px 5px; border-radius:4px; background:#fef3c7; color:#92400e; flex-shrink:0; white-space:nowrap; margin-left:auto; }
.demo-step-btn.a1{animation:si1 20s infinite} .demo-step-btn.a2{animation:si2 20s infinite} .demo-step-btn.a3{animation:si3 20s infinite} .demo-step-btn.a4{animation:si4 20s infinite}
.demo-step-btn.a1 .demo-step-dot{animation:sd1 20s infinite} .demo-step-btn.a2 .demo-step-dot{animation:sd2 20s infinite} .demo-step-btn.a3 .demo-step-dot{animation:sd3 20s infinite} .demo-step-btn.a4 .demo-step-dot{animation:sd4 20s infinite}
@keyframes si1 { 0%,2%{opacity:1} 22%{opacity:1} 24%,100%{opacity:0.3} }
@keyframes si2 { 0%,24%{opacity:0.3} 26%{opacity:1} 49%{opacity:1} 51%,100%{opacity:0.3} }
@keyframes si3 { 0%,51%{opacity:0.3} 53%{opacity:1} 74%{opacity:1} 76%,100%{opacity:0.3} }
@keyframes si4 { 0%,76%{opacity:0.3} 78%{opacity:1} 98%{opacity:1} 100%{opacity:0.3} }
@keyframes sd1 { 0%,2%{background:#4F46E5;transform:scale(1.3)} 22%{background:#4F46E5;transform:scale(1.3)} 24%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes sd2 { 0%,24%{background:#CBD5E1;transform:scale(1)} 26%{background:#4F46E5;transform:scale(1.3)} 49%{background:#4F46E5;transform:scale(1.3)} 51%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes sd3 { 0%,51%{background:#CBD5E1;transform:scale(1)} 53%{background:#4F46E5;transform:scale(1.3)} 74%{background:#4F46E5;transform:scale(1.3)} 76%,100%{background:#CBD5E1;transform:scale(1)} }
@keyframes sd4 { 0%,76%{background:#CBD5E1;transform:scale(1)} 78%{background:#4F46E5;transform:scale(1.3)} 98%{background:#4F46E5;transform:scale(1.3)} 100%{background:#CBD5E1;transform:scale(1)} }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-cta { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .safety-grid { grid-template-columns: 1fr; }
  .guidelines-grid { grid-template-columns: 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
  .faq-aside { display: none; }
  .hero-stats { gap: 28px; flex-wrap: wrap; justify-content: center; }
  section { padding: 64px 20px; }
}

/* ── PRIVACY / TERMS ── */
#privacy { background: var(--bg); }
#terms { background: var(--surface); }
.legal-section-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; margin-top: 48px; align-items: start;
}
.legal-toc {
  position: sticky; top: 84px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.legal-toc-title {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 12px;
}
.legal-toc a {
  display: block; font-size: 13px; color: var(--ink-mid);
  text-decoration: none; padding: 5px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--accent-mid); }
.legal-body { display: flex; flex-direction: column; gap: 32px; }
.legal-clause h3 {
  font-size: 15px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px; letter-spacing: -0.1px;
}
.legal-clause p {
  font-size: 13px; color: var(--ink-mid);
  line-height: 1.75; margin-bottom: 8px;
}
.legal-clause ul {
  margin: 8px 0 8px 16px;
  font-size: 13px; color: var(--ink-mid); line-height: 1.75;
}
.legal-date {
  font-size: 12px; color: var(--ink-muted);
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .legal-section-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* ── Mobile section collapse ── */
.mob-expand-btn { display: none; }
@media (max-width: 768px) {
  .mob-collapsible { display: none; }
  .mob-collapsible.open { display: block; }
  .faq-list .mob-collapsible.open { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
  .mob-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 20px;
    padding: 11px 20px;
    border: 1px solid rgba(79,70,229,0.22);
    border-radius: 8px;
    background: var(--accent-light);
    color: var(--accent-mid);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .mob-expand-btn:hover {
    background: rgba(79,70,229,0.1);
    border-color: rgba(79,70,229,0.38);
  }
}
/* ── HERO CARPOOL ANIMATION ── */
.lp-car-scene {
  position: relative; width: 100%;
  aspect-ratio: 520 / 50;   /* height tracks width — no letterboxing at any size */
  margin-top: 32px; overflow: hidden; flex-shrink: 0;
}
.lp-road-line {
  position: absolute; bottom: 5px; left: 0; right: 0;
  height: 1.5px; background: rgba(255,255,255,0.08);
}
.lp-road-dashes {
  position: absolute; bottom: 5px; left: 0; right: 0; height: 1.5px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.16) 0px, rgba(255,255,255,0.16) 18px, transparent 18px, transparent 36px);
  animation: lpDashMove 0.9s linear infinite;
}
@keyframes lpDashMove { to { background-position: -36px 0; } }
.lp-anim-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Car: enters left → parks → lurch → exits right */
.lp-car-grp { animation: lpCarGrp 13s linear infinite; }
@keyframes lpCarGrp {
  0%     { transform: translateX(-72px); animation-timing-function: cubic-bezier(0.2,0,0.45,1); }
  9%     { transform: translateX(80px);  animation-timing-function: linear; }
  55%    { transform: translateX(80px);  animation-timing-function: linear; }
  57%    { transform: translateX(74px);  animation-timing-function: cubic-bezier(0.4,0,0.6,1); }
  72%    { transform: translateX(560px); }
  72.5%  { transform: translateX(-72px); }
  100%   { transform: translateX(-72px); }
}
.lp-wheel { transform-box: fill-box; transform-origin: center; animation: lpWheelSpin 0.5s linear infinite; }
@keyframes lpWheelSpin { to { transform: rotate(360deg); } }

/* Door below car body — clearly visible, never behind car */
.lp-door-open { animation: lpDoorFade 13s linear infinite; }
@keyframes lpDoorFade {
  0%, 11% { opacity: 0; } 13% { opacity: 1; }
  54%     { opacity: 1; } 56% { opacity: 0; } 100% { opacity: 0; }
}

/* Person 1 (driver): exits car right edge (x=148), walks to meeting (x=245), boards */
.lp-person1-grp { animation: lpPerson1Walk 13s linear infinite; }
@keyframes lpPerson1Walk {
  0%, 12% { transform: translate(148px,8px); opacity: 0; }
  15%     { transform: translate(148px,8px); opacity: 1; }
  22%     { transform: translate(245px,8px); opacity: 1; }
  44%     { transform: translate(245px,8px); opacity: 1; }
  53%     { transform: translate(148px,8px); opacity: 1; }
  56%     { transform: translate(148px,8px); opacity: 0; }
  100%    { transform: translate(148px,8px); opacity: 0; }
}
/* Person 2 (rider): exits building door (x=359), walks to meeting (x=257), boards */
/* Building at translate(330,0), door rect x=29 → scene x=359 */
.lp-person2-grp { animation: lpPerson2Walk 13s linear infinite; }
@keyframes lpPerson2Walk {
  0%, 13% { transform: translate(359px,8px); opacity: 0; }
  16%     { transform: translate(359px,8px); opacity: 1; }
  23%     { transform: translate(257px,8px); opacity: 1; }
  44%     { transform: translate(257px,8px); opacity: 1; }
  54%     { transform: translate(148px,8px); opacity: 1; }
  57%     { transform: translate(148px,8px); opacity: 0; }
  100%    { transform: translate(148px,8px); opacity: 0; }
}
/* Wave arms: slightly out of phase so they wave back and forth at each other */
.lp-arm-up    { animation: lpArmToggle 0.65s 0s     linear infinite; }
.lp-arm-down  { animation: lpArmToggle 0.65s 0.325s linear infinite; }
.lp-arm2-up   { animation: lpArmToggle 0.65s 0.15s  linear infinite; }
.lp-arm2-down { animation: lpArmToggle 0.65s 0.475s linear infinite; }
@keyframes lpArmToggle { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (max-width: 960px) {
  /* On mobile the hero-left is centered; cap the scene width so it doesn't get too tall */
  .lp-car-scene { max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-car-grp, .lp-wheel, .lp-door-open, .lp-person1-grp, .lp-person2-grp,
  .lp-arm-up, .lp-arm-down, .lp-arm2-up, .lp-arm2-down,
  .lp-road-dashes { animation: none; }
  .lp-car-grp { transform: translateX(80px); }
  .lp-person1-grp, .lp-person2-grp { opacity: 0; }
}
