/* MobilityDocs — landing styles. No build step: edit and reload. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-sunk: #eef2f7;
  --ink: #0d1422;
  --ink-2: #3c4658;
  --ink-3: #5b6577;
  --line: #e2e7ef;
  --line-strong: #cfd6e2;
  --brand: #0f2a4f;
  --brand-2: #16396b;
  --accent: #0a6fb8;
  --accent-ink: #075a96;
  --accent-soft: #e6f2fb;
  --ok: #146c35;
  --ok-soft: #e7f5ec;
  --warn: #9a5b00;
  --warn-soft: #fdf3e1;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(13 20 34 / 6%), 0 8px 24px rgb(13 20 34 / 6%);
  --shadow-lg: 0 2px 4px rgb(13 20 34 / 6%), 0 24px 60px rgb(15 42 79 / 14%);
  --wrap: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 8px; border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); box-shadow: 0 4px 14px rgb(15 42 79 / 25%); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-3); background: var(--bg-soft); }
.btn-lg { min-height: 50px; padding: 13px 22px; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
@supports (backdrop-filter: blur(8px)) {
  .header { background: rgb(255 255 255 / 80%); backdrop-filter: saturate(1.4) blur(10px); }
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.logo svg, .logo img { width: 32px; height: 32px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .94rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 20px;
  }
  .nav.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { flex-direction: column; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
main > section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem); }
.section-head p { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 10%, rgb(10 111 184 / 8%), transparent 28rem);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero-copy { max-width: 780px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4rem); letter-spacing: -0.035em; }
.hero h1 .soft { color: var(--accent-ink); white-space: nowrap; }
.hero .lead { margin: 22px auto 0; max-width: 620px; font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--ink-2); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
.hero-note span { white-space: nowrap; }
@media (max-width: 480px) {
  .hero { padding: 48px 0 64px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- App window mockup ----------
   Placeholder for real screenshots. Each .app-window can be replaced by a
   <picture> pointing at assets/img/*.webp (see comments in index.html). */
.shot { position: relative; }
.shot img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.app-window {
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.4; text-align: left;
}
.app-bar {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: var(--bg-sunk); border-bottom: 1px solid var(--line);
}
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.app-bar b { margin-left: 10px; font-weight: 600; font-size: 12px; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- How it works ---------- */
.flow {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.flow li { background: #fff; padding: 24px; }
.flow .n { display: block; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 16px; letter-spacing: .04em; }
.flow h3 { font-size: 1.2rem; }
.flow p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.flow-note { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: 1.08rem; }
.flow-note strong { color: var(--brand); }
.demo { position: relative; margin: 40px auto 0; max-width: 960px; }
.demo video { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--brand); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow li { padding: 20px; } }

/* ---------- Documents ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin-inline: auto; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.compare-col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.compare-col ul { list-style: none; display: grid; gap: 12px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.compare-col li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--warn); }
.compare-col.good { border-color: var(--accent); box-shadow: var(--shadow); }
.compare-col.good li { color: var(--ink); }
.compare-col.good li svg { color: var(--ok); }
@media (max-width: 700px) { .compare { grid-template-columns: minmax(0, 1fr); } .compare-col { padding: 20px; } }
/* ---------- Features ---------- */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 40px; }
.card { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 24px 0 16px; border-top: 1px solid var(--line-strong); }
.card .ico { grid-row: span 2; color: var(--accent-ink); padding-top: 2px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; }
.card p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 0; } .card { padding: 20px 0 12px; } }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.aud h3 { font-size: 1.4rem; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 2px; }
.origin { margin-top: 24px; display: flex; gap: 16px; align-items: flex-start; padding: 24px 32px; border-radius: var(--radius-lg); border: 1px solid #bfdcf1; background: var(--accent-soft); color: var(--ink-2); }
.origin p { max-width: 75ch; }
.origin svg { width: 24px; height: 24px; flex: none; color: var(--accent-ink); margin-top: 2px; }
.origin strong { color: var(--ink); }
@media (max-width: 800px) { .audience { grid-template-columns: minmax(0, 1fr); } .aud { padding: 24px; } .origin { padding: 20px; } }

/* ---------- Pricing ---------- */
.price-card { max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.1rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.price b { font-size: clamp(2.8rem, 2rem + 3vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.price span { color: var(--ink-3); font-weight: 500; }
.price-card > p { margin-top: 12px; color: var(--ink-2); }
.price-card .price-sub { font-weight: 600; color: var(--ink); }
.price-card .fund { margin-top: 16px; }
@media (max-width: 800px) { .price-card { padding: 24px; } }

/* ---------- Pilot ---------- */
.pilot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 40px; border-radius: var(--radius-lg); border: 1px solid #bfdcf1; background: var(--accent-soft);
}
.pilot h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.pilot p { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; }
.pilot-cta { display: grid; gap: 12px; margin: 0; }
.pilot-cta div { background: #fff; border: 1px solid #bfdcf1; border-radius: var(--radius); padding: 12px 18px; min-width: 220px; }
.pilot-cta dt { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.pilot-cta dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; color: var(--brand); }
.price-card .launch-note { margin-top: 28px; padding: 14px; border-radius: 8px; background: var(--accent-soft); color: var(--brand); font-weight: 600; text-align: center; }
@media (max-width: 800px) { .pilot { grid-template-columns: minmax(0, 1fr); padding: 24px; } .pilot-cta div { min-width: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 600; font-size: 1.05rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 4px 24px; color: var(--ink-2); max-width: 640px; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: .92rem; color: var(--ink-3); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 12px 0; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer .legal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.footer .legal p { max-width: 640px; }

/* ---------- Legal pages ---------- */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 40px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc .updated { margin-top: 10px; color: var(--ink-3); font-size: .92rem; }
.pending { background: var(--warn-soft); color: var(--warn); font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound p { margin: 16px 0 28px; color: var(--ink-2); }

/* ---------- Reveal on scroll (JS adds .js to <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

@media print {
  .header, .pilot, .menu-btn { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Wide screens: app beside the copy so it is visible without scrolling. */
@media (min-width: 1100px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hero-copy { text-align: left; margin: 0; }
  .hero h1 { font-size: clamp(2.6rem, 1.2rem + 2.4vw, 3.6rem); }
  .hero .lead { margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
}

/* ---------- Waiting list form ---------- */
.waitlist[hidden] { display: none; }
.waitlist {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px;
  background: #fff; border: 1px solid #bfdcf1; border-radius: var(--radius-lg); padding: 28px;
}
.waitlist p { margin: 0; }
.waitlist .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 0; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.check label { font-weight: 400; margin: 0; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status:empty { display: none; }
.status { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.error { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 640px) { .waitlist { grid-template-columns: minmax(0, 1fr); padding: 20px; } .waitlist .btn { width: 100%; } }

/* ---------- Tablet frame around app views ---------- */
.tablet { background: var(--ink); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); }
.tablet > .app-window, .tablet > img { border: 0; border-radius: 18px; box-shadow: none; }
@media (max-width: 560px) { .tablet { border-radius: 18px; padding: 6px; } .tablet > .app-window, .tablet > img { border-radius: 13px; } }

/* ---------- Hero app view: batch generation ---------- */
.gen { padding: 24px; display: grid; gap: 16px; font-size: 14px; }
.gen-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gen-head .gen-title { font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.gen-head small { color: var(--ink-3); font-size: 12.5px; }
.gen-head .pill { font-size: 12px; padding: 5px 10px; flex: none; }
.gen-check { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.gen-check svg { width: 26px; height: 26px; flex: none; }
.gen-check b { display: block; font-size: 15px; }
.gen-check span { color: #2f6b45; font-size: 12.5px; }
.gen-q { font-weight: 700; font-size: 15px; margin-top: 4px; }
.gen-docs { list-style: none; display: grid; gap: 6px; }
.gen-docs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.gen-docs svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.gen-docs b { margin-left: auto; font-size: 13px; color: var(--ink-2); background: var(--bg-sunk); border-radius: 99px; padding: 1px 9px; }
.gen-btn { justify-self: stretch; text-align: center; background: var(--brand); color: #fff; font-weight: 700; border-radius: 8px; padding: 12px; }
@media (max-width: 560px) { .gen { padding: 16px; gap: 12px; } }
