/* Home page. Tokens, header, buttons, FAQ and footer live in site.css. */
.home svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home h1, .home h2 { text-wrap: balance; }

/* Hero: same 12 columns as the header. Copy on 1–7, phone on 9–12. */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; padding-block: 56px 48px; }
.hero-copy { grid-column: 1 / span 7; }
.hero-stage { grid-column: 9 / -1; position: relative; justify-self: end; width: min(100%, 340px); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.hero h1 .amber { box-shadow: inset 0 -.18em 0 var(--amber); }
.hero .lead { color: var(--muted); max-width: 40ch; font-size: 1.2rem; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: .95rem; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: 6px; }
.proof svg.i { width: 16px; height: 16px; stroke: var(--green-text); stroke-width: 2.4; }
/* The dashed route from the logo, behind the phone. */
.route-art { position: absolute; z-index: 0; left: -120px; top: -30px; width: 260px; height: auto; opacity: .9; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 24px; }
  .hero-copy, .hero-stage { grid-column: 1 / -1; }
  .hero-stage { justify-self: center; width: min(86vw, 330px); }
  .route-art { display: none; }
}

/* Phone with an illustration of the stop list (not a screenshot). */
.phone { position: relative; z-index: 1; border-radius: 48px; padding: 10px; background: var(--navy); box-shadow: 0 40px 80px -24px rgba(15, 27, 45, .45), 0 18px 36px -18px rgba(15, 27, 45, .3); }
.screen { position: relative; border-radius: 38px; overflow: hidden; background: var(--bg); aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.island { width: 32%; height: 24px; margin: 10px auto 0; background: #000; border-radius: 99px; flex: none; }
.app-head { padding: 14px 16px 8px; }
.app-head b { display: block; font: 800 20px var(--head); letter-spacing: -.01em; }
.app-head span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.bar { height: 6px; margin: 8px 0 0; border-radius: 6px; background: var(--border); overflow: hidden; }
.bar i { display: block; width: 22%; height: 100%; background: var(--green); border-radius: 6px; }
.stops { list-style: none; margin: 0; padding: 4px 12px 12px; display: grid; gap: 8px; }
.stop { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.stop .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font: 800 12px var(--head); font-variant-numeric: tabular-nums; }
.stop b { display: block; font-weight: 600; font-size: 13px; }
.stop small { color: var(--muted); font-size: 11.5px; }
.stop.done { opacity: .72; }
.stop.done .n { background: var(--green); color: #fff; }
.stop.done .n svg.i { width: 14px; height: 14px; stroke-width: 3; }
.stop.next { border: 2px solid var(--amber); box-shadow: 0 6px 18px rgba(15, 27, 45, .10); }
.stop.next .n { background: var(--amber); color: var(--navy); }
.tag-next { display: inline-block; font: 700 10.5px var(--head); color: var(--navy); background: var(--amber-soft); border-radius: 6px; padding: 1px 6px; margin-bottom: 3px; }
.actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.actions span { text-align: center; padding: 7px 4px; border-radius: 9px; background: var(--chip); font-weight: 600; font-size: 11.5px; }
.actions .go { grid-column: 1 / -1; background: var(--amber); color: var(--navy); font: 800 13px var(--head); padding: 9px; }
.actions .ok { background: #E3F5EC; color: var(--green-text); }
.screen .fade { margin-top: auto; height: 40px; background: linear-gradient(transparent, var(--bg)); }

/* Benefits: Plan, Drive, Log */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.benefit .step { display: inline-flex; align-items: center; gap: 8px; font: 800 .85rem var(--head); color: var(--navy); margin-bottom: 14px; }
.benefit .step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); font-style: normal; font-variant-numeric: tabular-nums; }
.benefit h3 { font-size: 1.35rem; }
.benefit p { color: var(--muted); }
.benefit ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.benefit li { display: flex; gap: 10px; align-items: flex-start; }
.benefit li svg.i { margin-top: 3px; width: 18px; height: 18px; stroke: var(--green-text); stroke-width: 2.4; }
.mini { margin-top: auto; background: var(--bg); border-radius: 12px; padding: 12px; font-size: .88rem; display: grid; gap: 6px; }
.mini .row { display: flex; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; }
.mini .row.warn { border-color: var(--amber); }
.mini .row em { font-style: normal; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mini .row.warn em { color: #8A5A00; }
.mini .apps { display: flex; flex-wrap: wrap; gap: 6px; }
.mini .apps span { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 7px 10px; font-weight: 600; }
.mini .apps span.on { border: 2px solid var(--navy); }
.mini .status { display: flex; gap: 6px; }
.mini .status span { flex: 1; text-align: center; border-radius: 9px; padding: 7px 4px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); }
.mini .status .ok { background: #E3F5EC; border-color: #BFE6D3; color: var(--green-text); }
.mini table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mini th, .mini td { text-align: left; padding: 5px 4px; border-bottom: 1px solid var(--border); }
.mini th { color: var(--muted); font-weight: 600; font-size: .8rem; }
.mini td:last-child, .mini th:last-child { text-align: right; }
.mini .csv { justify-self: start; background: var(--navy); color: #fff; border-radius: 9px; padding: 7px 12px; font-weight: 600; }
@media (max-width: 960px) { .benefits { grid-template-columns: 1fr; max-width: 560px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.plan.pro { border: 2px solid var(--amber); }
.plan h3 { font-size: 1.5rem; margin-bottom: .2em; }
.plan .sub { color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg.i { margin-top: 3px; stroke: var(--green-text); stroke-width: 2.4; width: 18px; height: 18px; }
.ribbon { position: absolute; top: -13px; left: 26px; background: var(--amber); color: var(--navy); font: 800 .8rem var(--head); padding: 4px 12px; border-radius: 8px; }
.fine { color: var(--muted); font-size: .9rem; margin-top: 18px; max-width: 860px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Privacy band (navy, dark logo) */
.band { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; background: var(--navy); color: #fff; border-radius: 20px; padding: 36px 40px; }
.band img { width: 120px; }
.band h2 { color: #fff; }
.band p { color: #C9CFDA; max-width: 62ch; }
.band a { color: var(--amber); font-weight: 600; }
@media (max-width: 640px) { .band { grid-template-columns: 1fr; padding: 28px 22px; } .band img { width: 88px; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.more { margin-top: 18px; font-weight: 600; }

/* Final call */
.final { text-align: center; }
.final .section-head { margin-inline: auto; }
.final .cta-row { justify-content: center; }
.final .lead { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (min-width: 901px) { .hero h1 .l1, .hero h1 .amber { display: inline-block; } }
