:root {
  --navy: #0b66c3;
  --navy-deep: #074a8f;
  --navy-soft: #2b86de;
  --blue: #1d9bf0;
  --blue-deep: #0969c3;
  --ink: #142033;
  --muted: #607089;
  --line: #dbe3ee;
  --surface: #ffffff;
  --section: #f4f7fb;
  --section-warm: #eef7ff;
  --shadow: 0 24px 60px rgba(7, 74, 143, 0.18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.section {
  padding: 76px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 74, 143, 0.96);
  box-shadow: 0 10px 30px rgba(7, 74, 143, 0.22);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: #0b7bd3;
  box-shadow: 0 0 0 0 rgba(29, 155, 240, 0.45);
  animation: heartbeat 2.6s ease-in-out infinite;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heartbeat {
  0%,
  48%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(29, 155, 240, 0.38);
  }

  12% {
    transform: scale(1.08);
    box-shadow: 0 0 0 11px rgba(29, 155, 240, 0);
  }

  24% {
    transform: scale(1.01);
  }
}

.brand-text {
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: var(--radius);
  color: #fff !important;
  background: #0a7bdc;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #168ef3;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(29, 155, 240, 0.22), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 54%, #eaf5ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-subhead {
  max-width: 740px;
  color: #44546d;
  font-size: 1.1rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 42px;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(26, 46, 74, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: #2b3d56;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  top: 10px;
  color: var(--blue-deep);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 26px rgba(11, 102, 195, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1684e5;
}

.button-secondary {
  color: var(--navy);
  border: 1px solid rgba(26, 46, 74, 0.2);
  background: #fff;
}

.phone-stage {
  min-height: 600px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-brand-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 158px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(7, 74, 143, 0.2);
  transform: rotate(4deg);
  z-index: 2;
}

.hero-brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup {
  width: min(100%, 330px);
  aspect-ratio: 9 / 18.8;
  padding: 14px;
  border: 10px solid #142033;
  border-radius: 36px;
  background: #0d1726;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: #27364a;
  transform: translateX(-50%);
  z-index: 2;
}

.app-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #f7fafc;
  position: relative;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 44px 18px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  font-size: 0.82rem;
  font-weight: 800;
}

.app-topbar strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: #14331d;
  background: #86efac;
  font-size: 0.72rem;
}

.map-grid {
  height: 310px;
  margin: 14px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(26, 46, 74, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(26, 46, 74, 0.08) 1px, transparent 1px), #e8eff6;
  background-size: 34px 34px;
  position: relative;
}

.route-line {
  position: absolute;
  inset: 54px 78px 62px 62px;
  border-left: 5px solid var(--blue);
  border-bottom: 5px solid var(--blue);
  border-radius: 4px 0 0 18px;
}

.route-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(16, 32, 53, 0.22);
}

.route-pin-a {
  top: 44px;
  left: 50px;
}

.route-pin-b {
  right: 62px;
  bottom: 50px;
  background: var(--navy);
}

.fare-panel,
.ptt-panel {
  margin: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fare-panel span,
.ptt-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.fare-panel strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.ptt-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ptt-panel button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.about,
.privacy {
  background: var(--section);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.about-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
  color: #43536a;
  font-size: 1.03rem;
}

.facts-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fact-card,
.feature-card,
.permission-card,
.policy-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
}

.fact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.fact-card strong,
.fact-card span {
  display: block;
}

.fact-card strong {
  color: var(--navy);
}

.fact-card span:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}

.features {
  background: #fff;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.split-heading h2 {
  max-width: 760px;
}

.floating-pill-demo {
  min-width: 236px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow: 0 18px 36px rgba(7, 74, 143, 0.22);
  font-weight: 800;
}

.pill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.floating-pill-demo strong {
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: #168ef3;
  font-size: 0.78rem;
}

.feature-card {
  min-height: 250px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(29, 155, 240, 0.1), rgba(29, 155, 240, 0) 58%),
    #fff;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  margin-bottom: 0;
  color: #4c5d74;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.policy-nav span {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: #516178;
  font-size: 0.9rem;
  font-weight: 700;
}

.policy-nav a:hover,
.policy-nav a:focus-visible,
.policy-nav a.active {
  color: var(--navy);
  background: #eaf5ff;
}

.policy-title {
  margin-bottom: 24px;
}

.policy-block {
  padding: 24px;
  margin-bottom: 16px;
}

.policy-block h3 {
  margin-bottom: 12px;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  color: #46566f;
}

.policy-list li + li {
  margin-top: 8px;
}

.permission-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.permission-card {
  padding: 18px;
  box-shadow: 0 10px 24px rgba(16, 32, 53, 0.04);
}

.permission-card h4 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.04rem;
}

code {
  display: inline-block;
  max-width: 100%;
  padding: 6px 9px;
  overflow-wrap: anywhere;
  border: 1px solid #9ed3ff;
  border-radius: 6px;
  color: #075796;
  background: #eef8ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.permission-card p {
  margin: 13px 0 0;
  color: #4c5c72;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 28px;
  padding: 40px 0;
  align-items: start;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-meta p,
.site-footer p {
  margin-bottom: 8px;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}

.download-modal.is-open {
  display: grid;
}

.download-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 46, 0.62);
  backdrop-filter: blur(8px);
}

.download-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 74, 143, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.modal-close span {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.download-dialog-header {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-right: 40px;
  margin-bottom: 22px;
}

.dialog-brand {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-color: rgba(11, 102, 195, 0.14);
  animation: none;
}

.download-dialog h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 6vw, 2.35rem);
}

.download-options {
  display: grid;
  gap: 12px;
}

.download-option {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.download-option:hover,
.download-option:focus-visible {
  border-color: rgba(11, 102, 195, 0.45);
  box-shadow: 0 12px 28px rgba(7, 74, 143, 0.12);
  transform: translateY(-2px);
}

.download-option strong,
.download-option span {
  display: block;
}

.download-option strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.download-option span {
  margin-top: 4px;
  color: var(--muted);
}

.primary-option {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.primary-option strong,
.primary-option span {
  color: #fff;
}

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

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--navy);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 13px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-copy,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .facts-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .policy-nav span {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 54px 0;
  }

  .nav-shell,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-text {
    font-size: 0.94rem;
  }

  .check-list,
  .facts-grid,
  .feature-grid,
  .policy-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 470px;
  }

  .hero-brand-image {
    width: 118px;
    top: 0;
    right: 0;
    border-width: 6px;
    border-radius: 18px;
  }

  .phone-mockup {
    width: min(100%, 288px);
    border-width: 8px;
  }

  .map-grid {
    height: 250px;
  }

  .floating-pill-demo {
    width: 100%;
    min-width: 0;
  }

  .feature-card {
    min-height: auto;
  }

  .policy-block {
    padding: 18px;
  }

  .permission-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
