:root {
  color-scheme: light;
  --bg: #f2f5f8;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #6b7280;
  --line: #dce4ee;
  --accent: #126a8f;
  --accent-strong: #0a4f6f;
  --ok: #166534;
  --sky: #d9edf7;
  --runway: #1f2937;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  background:
    linear-gradient(145deg, rgba(18, 106, 143, 0.12) 0 22%, transparent 22% 100%),
    linear-gradient(180deg, #edf5f9 0%, var(--bg) 48%, #f8fafc 100%);
  color: var(--ink);
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.nav-links {
  gap: 14px;
  font-size: 0.94rem;
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 50px 0 34px;
}

.hero-copy {
  min-width: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}

p,
li {
  color: var(--muted);
  line-height: 1.62;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  font-size: 1.08rem;
}

.meta {
  margin-top: 14px;
  color: var(--soft);
  font-size: 0.94rem;
}

.device {
  justify-self: end;
  width: min(100%, 360px);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  padding: 20px;
}

.device-screen {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.app-icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  display: block;
  margin-bottom: 18px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.map-preview {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(140deg, #cbe8e5 0 30%, #dbeed7 30% 55%, #bddbea 55% 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.map-preview::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -10px;
  top: 66px;
  height: 36px;
  transform: rotate(-13deg);
  border-radius: 999px;
  background: var(--runway);
  box-shadow: inset 0 0 0 11px rgba(255, 255, 255, 0.16);
}

.route {
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 106, 143, 0.58);
}

.route-a {
  width: 164px;
  left: 82px;
  top: 40px;
  transform: rotate(20deg);
}

.route-b {
  width: 118px;
  left: 32px;
  bottom: 32px;
  transform: rotate(-18deg);
}

.station {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
}

.station-a {
  left: 62px;
  top: 34px;
}

.station-b {
  right: 64px;
  top: 72px;
}

.station-c {
  left: 138px;
  bottom: 36px;
}

.mock-line {
  height: 10px;
  margin: 10px 0;
  border-radius: 999px;
  background: #d8e2ef;
}

.mock-line.short {
  width: 58%;
  background: rgba(18, 106, 143, 0.24);
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mock-badge {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e5f4f8;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
}

.band {
  padding: 18px 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.summary ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.summary li {
  margin: 6px 0;
  color: var(--ok);
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.policy {
  display: grid;
  gap: 14px;
  padding: 16px 0 42px;
}

.contact {
  margin-bottom: 56px;
}

.source-link {
  margin-top: 10px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--soft);
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 28px, 1040px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    padding-top: 9px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .device {
    justify-self: stretch;
    width: 100%;
  }

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

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }
}
