/* SafeBus public website. Static, no external requests. */
:root {
  color-scheme: light;
  --navy: #0b1f3a;
  --navy-2: #12315c;
  --navy-3: #1c4478;
  --accent: #17c3a1;
  --accent-strong: #0a8f76;
  --accent-soft: #e3f8f3;
  --yellow: #f6b800;
  --yellow-soft: #fff4cc;
  --red: #e5484d;
  --ink: #0f1b2d;
  --muted: #4a5a73;
  --line: #dbe3ee;
  --bg: #f5f8fc;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.22);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-strong);
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(23, 195, 161, 0.35);
}

.btn-primary:hover {
  background: #2bd9b6;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--navy);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.92rem;
  border-radius: 10px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo b {
  color: var(--accent);
  font-weight: 800;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.nav-links a {
  display: block;
  color: #d4def0;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle .ic {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

@media (min-width: 1021px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(23, 195, 161, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 56px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cde7ff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .sub {
  margin: 20px 0 30px;
  font-size: 1.12rem;
  color: #c9d8ee;
  max-width: 34rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #b9cbe6;
  font-size: 0.9rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chips .ic {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  padding: 20px 0 90px;
  min-height: 460px;
}

.map-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-card svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.route-panel {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  width: min(250px, 62%);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}

.route-panel .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.route-panel strong {
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pill.warn {
  background: var(--yellow-soft);
  color: #7a5a00;
}

.pill.grey {
  background: #eef2f7;
  color: var(--muted);
}

.bar {
  height: 6px;
  border-radius: 99px;
  background: #e5ecf4;
  margin: 10px 0 6px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 99px;
}

.demo-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(11, 31, 58, 0.85);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.phone {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 190px;
  background: var(--navy);
  border-radius: 30px;
  padding: 9px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 3;
}

.phone .screen {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  font-size: 0.72rem;
}

.phone .bar-top {
  background: var(--navy-2);
  color: #fff;
  padding: 9px 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.phone .info {
  padding: 10px 12px 12px;
}

.phone .info .big {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.phone .info small {
  color: var(--muted);
}

.notif {
  position: absolute;
  right: 0;
  top: -6px;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  max-width: 260px;
}

.notif .badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.notif b {
  display: block;
  font-size: 0.85rem;
}

.notif span {
  color: var(--muted);
}

.hero-bus {
  position: absolute;
  left: -2%;
  bottom: 6px;
  width: min(330px, 56%);
  z-index: 2;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35));
}

.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: #091a31;
  border-top: 3px solid rgba(255, 255, 255, 0.08);
}

.road::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  border-top: 3px dashed rgba(246, 184, 0, 0.7);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding-bottom: 100px;
  }
}

@media (max-width: 520px) {
  .phone {
    width: 150px;
    right: 2%;
  }

  .hero-visual > .notif {
    display: none;
  }

  .notif {
    max-width: 200px;
    font-size: 0.72rem;
  }

  .route-panel {
    width: 58%;
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}

/* ---------- Generic sections ---------- */
section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.sec-head {
  max-width: 44rem;
  margin: 0 0 40px;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

h2.title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
}

.sec-head p.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.dark h2.title {
  color: #fff;
}

.dark .sec-head p.lead {
  color: #c1d1ea;
}

.dark .kicker {
  color: var(--accent);
}

.white {
  background: #fff;
}

/* ---------- Two products ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.product:last-child {
  margin-bottom: 0;
}

.product.flip {
  grid-template-columns: 1.2fr 1fr;
}

.product.flip .product-text {
  order: 2;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.label.parent {
  background: var(--yellow-soft);
  color: #7a5a00;
}

.label.school {
  background: #e4ecfb;
  color: var(--navy-3);
}

.product h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 12px;
}

.product p.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticks .ic {
  color: var(--accent-strong);
  margin-top: 3px;
}

.privacy-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid #bdeadf;
  border-radius: 14px;
  padding: 14px 16px;
  color: #0a5c4b;
  font-size: 0.95rem;
}

.stage {
  position: relative;
  border-radius: 26px;
  padding: 34px;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.stage.warm {
  background: linear-gradient(160deg, #fff4cc, #ffe8a3);
}

.stage.cool {
  background: linear-gradient(160deg, #e4ecfb, #cddcf7);
  padding: 24px;
}

.stage .phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 230px;
}

.stage .phone .screen {
  font-size: 0.8rem;
}

.stage .notif {
  right: 8%;
  top: 14px;
}

.stage .notif.second {
  left: 2%;
  right: auto;
  top: auto;
  bottom: 18px;
  max-width: 165px;
}

.timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.timeline li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
}

.timeline li i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d5e5;
  flex: none;
}

.timeline li.done i {
  background: var(--accent-strong);
}

.timeline li.now i {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(246, 184, 0, 0.3);
}

.timeline li.now {
  color: var(--ink);
  font-weight: 700;
}

/* Desktop dashboard mockup */
.dash {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #cdd8e8;
  font-size: 0.72rem;
}

.dash-top {
  background: #eef2f8;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #dbe3ee;
}

.dash-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3cddb;
}

.dash-top span {
  margin-left: 10px;
  background: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  color: var(--muted);
  font-size: 0.68rem;
}

.dash-body {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 300px;
}

.dash-side {
  background: var(--navy);
  color: #c7d6ec;
  padding: 12px 8px;
}

.dash-side b {
  display: block;
  color: #fff;
  padding: 2px 8px 10px;
  font-size: 0.78rem;
}

.dash-side span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 7px;
}

.dash-side span.on {
  background: rgba(23, 195, 161, 0.2);
  color: #fff;
}

.dash-side .ic {
  width: 14px;
  height: 14px;
}

.dash-main {
  padding: 12px;
  background: #f3f6fb;
}

.dash-main h4 {
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
}

.stat small {
  color: var(--muted);
  display: block;
  font-size: 0.64rem;
}

.stat b {
  font-size: 1.2rem;
  color: var(--navy);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
}

.dash-grid .map-mini {
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.dash-grid svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.trip-list {
  display: grid;
  gap: 6px;
  align-content: start;
}

.trip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 8px;
}

.trip b {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
}

.trip small {
  color: var(--muted);
  font-size: 0.64rem;
}

@media (max-width: 920px) {
  .product,
  .product.flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product.flip .product-text {
    order: 0;
  }
}

@media (max-width: 560px) {
  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-side {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 34px;
  border-top: 3px dashed rgba(23, 195, 161, 0.55);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.step .num {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.step .num .ic {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.step .num b {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Features ---------- */
.feature-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.feature-big {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-big.navy {
  background: linear-gradient(165deg, var(--navy), var(--navy-3));
  color: #fff;
  border-color: transparent;
}

.feature-big.navy p {
  color: #c3d3ec;
}

.feature-big h3 {
  font-size: 1.25rem;
}

.feature-big p {
  color: var(--muted);
}

.ficon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
}

.ficon .ic {
  width: 24px;
  height: 24px;
}

.navy .ficon {
  background: rgba(23, 195, 161, 0.18);
  color: var(--accent);
}

.mini-map {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-map svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px 28px;
  margin-top: 28px;
}

.fl {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 6px 0;
}

.fl .ficon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.fl h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--navy);
}

.fl p {
  color: var(--muted);
  font-size: 0.92rem;
}

.dev-box {
  margin-top: 36px;
  border: 2px dashed #c6d3e6;
  border-radius: 16px;
  padding: 18px 22px;
  background: #fff;
}

.dev-box h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.dev-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .feature-hero {
    grid-template-columns: 1fr;
  }
}

/* ---------- Demo tabs ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 26px;
}

.tab {
  font: inherit;
  font-weight: 700;
  color: #cfe0f7;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab[aria-selected='true'] {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.panel[hidden] {
  display: none;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.demo-map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #e8eef5;
}

.demo-map svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.demo-side {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-side h3 {
  font-size: 1.15rem;
  color: var(--navy);
}

.eta-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.eta-big b {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.eta-big span {
  color: var(--muted);
  font-weight: 600;
}

.demo-side .timeline li {
  font-size: 0.88rem;
}

.demo-side .timeline li i {
  width: 11px;
  height: 11px;
}

.demo-side .bar {
  margin: 6px 0 4px;
}

.demo-side small {
  color: var(--muted);
}

.quote .kicker {
  color: var(--accent);
}

.foot-about {
  margin-top: 12px;
  max-width: 24rem;
}

.demo-note {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--muted);
  background: #f1f5fa;
  border-radius: 10px;
  padding: 8px 12px;
}

.cta-line {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.cta-line p {
  color: #c1d1ea;
}

@media (max-width: 920px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

/* SVG map parts */
.route-bg {
  fill: none;
  stroke: #9db4d3;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-line {
  fill: none;
  stroke: var(--navy-3);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 11;
}

.route-line.r2 {
  stroke: var(--accent-strong);
}

.route-line.r3 {
  stroke: #c08a00;
}

.stop circle {
  fill: #fff;
  stroke: #7f95b5;
  stroke-width: 4;
}

.stop.done circle {
  fill: var(--accent-strong);
  stroke: #fff;
}

.stop.next circle {
  fill: var(--yellow);
  stroke: var(--navy);
}

.stop text {
  font-size: 15px;
  font-weight: 700;
  fill: var(--navy);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
}

.school-pin rect {
  fill: var(--navy);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lbl {
  font-size: 15px;
  font-weight: 700;
  fill: var(--navy);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
}

.halo {
  fill: rgba(246, 184, 0, 0.35);
  animation: pulse 2s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ---------- Compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.col {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.col h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.col .sub {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.col.us {
  background: linear-gradient(165deg, var(--navy), var(--navy-3));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.col.us .sub {
  color: #bcd0ee;
}

.col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.col.them .ic {
  color: #9aa8bd;
  margin-top: 3px;
}

.col.us .ic {
  color: var(--accent);
  margin-top: 3px;
}

.status {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  vertical-align: 2px;
}

.status.live {
  background: rgba(23, 195, 161, 0.2);
  color: #6ff0d3;
}

.status.test {
  background: rgba(246, 184, 0, 0.25);
  color: #ffd75e;
}

.fine {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #b4c6e2;
}

@media (max-width: 860px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Audiences ---------- */
.aud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aud-card {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--accent);
}

.aud-card:nth-child(2) {
  border-top-color: var(--yellow);
}

.aud-card:nth-child(3) {
  border-top-color: var(--navy-3);
}

.aud-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 12px 0 14px;
}

@media (max-width: 920px) {
  .aud {
    grid-template-columns: 1fr;
  }
}

/* ---------- Showcase map ---------- */
.showcase {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #e8eef5;
}

.showcase svg.map {
  display: block;
  width: 100%;
  height: auto;
}

.showcase .route-panel {
  width: min(300px, 70%);
  font-size: 0.9rem;
}

.legend {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.78rem;
  box-shadow: var(--shadow-sm);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  background: #7f95b5;
}

.legend i.d {
  background: var(--accent-strong);
}

.legend i.n {
  background: var(--yellow);
  border: 2px solid var(--navy);
}

.legend i.b {
  background: var(--yellow);
}

/* ---------- Privacy ---------- */
.priv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.priv-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
}

.priv-card .ficon {
  background: rgba(23, 195, 161, 0.18);
  color: var(--accent);
  margin-bottom: 12px;
}

.priv-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.priv-card p {
  color: #c1d1ea;
  font-size: 0.95rem;
}

.priv-foot {
  margin-top: 26px;
}

.priv-foot a {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Quote ---------- */
.quote {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(23, 195, 161, 0.2), transparent 60%),
    linear-gradient(165deg, var(--navy), var(--navy-2));
  color: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.quote h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
}

.quote .lead {
  margin: 14px 0 22px;
  color: #c5d4ec;
  font-size: 1.08rem;
}

.quote .ticks .ic {
  color: var(--accent);
}

.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.seg {
  display: inline-flex;
  background: #eef2f8;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label {
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--muted);
}

.seg input:checked + label {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.seg input:focus-visible + label {
  outline: 3px solid var(--yellow);
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 11px 12px;
  border: 1.5px solid #c9d5e6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(23, 195, 161, 0.45);
  border-color: var(--accent-strong);
}

.field .err {
  color: #b42318;
  font-size: 0.8rem;
  min-height: 1.1em;
}

.field.bad input,
.field.bad textarea,
.field.bad select {
  border-color: #b42318;
}

.form-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-actions .btn {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.status-msg {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.status-msg[hidden] {
  display: none;
}

.status-msg.ok {
  background: var(--accent-soft);
  color: #0a5c4b;
  border: 1px solid #bdeadf;
}

.status-msg.fail {
  background: #fdecea;
  color: #8a1c13;
  border: 1px solid #f5c2bd;
}

.status-msg button {
  font: inherit;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 920px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */
.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 50rem;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-strong);
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #b4c6e2;
  padding: 48px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}

footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

footer a {
  color: #cfe0f7;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Privacy page ---------- */
.doc {
  max-width: 46rem;
  padding: 48px 20px 64px;
  margin: 0 auto;
}

.doc h1 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.doc h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 30px 0 8px;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 6px;
}

.notice {
  background: var(--yellow-soft);
  border: 1px solid #f2d680;
  color: #6b4d00;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
