:root {
  color-scheme: dark;
  --bg: #091112;
  --panel: #0d1819;
  --line: #213031;
  --text: #edf5f2;
  --muted: #94a6a1;
  --lake: #78d9c0;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; }
.topbar, main, footer { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.brand span { color: var(--lake); font-size: 27px; line-height: 1; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.topbar i { width: 6px; height: 6px; border-radius: 50%; background: var(--lake); }

.hero { max-width: 760px; padding: 88px 0 82px; }
.eyebrow { margin: 0 0 18px; color: var(--lake); font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .18em; }
h1 { margin: 0; font-size: clamp(50px, 8vw, 82px); line-height: 1.02; letter-spacing: -.055em; }
.intro { max-width: 670px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-actions a { display: inline-flex; gap: 18px; align-items: center; text-decoration: none; font-weight: 650; }
.hero-actions a:not(.primary) { color: var(--muted); }
.primary { padding: 13px 18px; border-radius: 9px; color: #071211; background: var(--lake); }

.routes { padding: 58px 0 22px; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 26px; }
.section-title h2 { margin: 0; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.035em; }
.route-list { border-top: 1px solid var(--line); }
.route {
  min-height: 150px;
  display: grid;
  grid-template-columns: 54px 1fr 24px;
  gap: 22px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.route.featured { background: var(--panel); padding-inline: 20px; }
.number { color: var(--muted); font: 700 12px/1 ui-monospace, monospace; }
.route p { margin: 0 0 10px; color: var(--lake); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .13em; }
.route h3 { margin: 0 0 9px; font-size: 24px; letter-spacing: -.02em; }
.route small { display: block; max-width: 680px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.route b { color: var(--lake); font-size: 17px; }

.utilities { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 30px 0 64px; }
.utilities a { color: var(--muted); font-size: 13px; text-underline-offset: 4px; }

footer {
  min-height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer span:first-child { color: var(--text); }
footer a { color: var(--muted); text-underline-offset: 4px; }

@media (max-width: 640px) {
  .topbar, main, footer { width: min(100% - 28px, 1040px); }
  .topbar p { font-size: 10px; }
  .hero { padding: 68px 0 64px; }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .route { grid-template-columns: 38px 1fr 18px; gap: 12px; padding-block: 24px; }
  .route.featured { padding-inline: 12px; }
  .route h3 { font-size: 21px; }
  footer { padding: 26px 0; }
}
