/* BusBooking.site coming-soon page. Palette, type and components follow the
   public ms10.club site (visited as a visitor; nothing copied from its repo). */
:root {
  --bg: #010921;
  --bg-alt: #020e2c;
  --footer-bg: #020e32;
  --surface: #01133b;
  --surface-2: #031a4d;
  --border: #063d99;
  --hover: #00c6fe;
  --text: #e7ecf3;
  --muted: #9aa6bd;
  --accent: #00f4fc;
  --accent-2: #026cfc;
  --on-accent: #010921;
  --text-gradient: linear-gradient(135deg, var(--accent), #4090fd);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --max: 1140px;
  --gutter: 24px;
  --fs-body: clamp(1rem, 0.953rem + 0.202vw, 1.125rem);
}
@media (max-width: 400px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body {
  font-size: var(--fs-body);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Soft glow behind the hero, like ms10.club's hero, slowly breathing. */
.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 320px at 20% 0%, rgba(2, 108, 252, 0.24), transparent 60%),
    radial-gradient(700px 300px at 90% 10%, rgba(0, 244, 252, 0.11), transparent 60%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

/* Header */
.site-header { padding: 18px 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 244, 252, 0.16), rgba(2, 108, 252, 0.28));
  border: 1px solid var(--border);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
a:focus-visible {
  outline: 2px solid var(--hover);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 0;
  text-align: center;
}
.pill {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 15em;
  text-wrap: balance;
}
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 34em;
  margin: 0 auto 36px;
  text-wrap: pretty;
}

/* Countdown: the glowing card from ms10.club's contact section. */
.countdown-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 22px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(0, 244, 252, 0.55), rgba(2, 108, 252, 0.55)) border-box;
  box-shadow: 0 0 48px rgba(0, 198, 254, 0.12), var(--shadow);
}
.countdown-label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.unit {
  padding: 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}
.num {
  display: block;
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lbl {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}
.launched {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 0;
}
.features li {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* Road with a bus gliding along it. */
.road {
  position: relative;
  height: 96px;
  margin-top: 48px;
  overflow: hidden;
}
.lane {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 70%, transparent);
  opacity: 0.7;
}
.lane::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(154, 166, 189, 0.35) 0 22px, transparent 22px 44px);
}
.bus {
  position: absolute;
  bottom: 21px;
  left: 0;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(0, 198, 254, 0.55));
  animation: drive 14s linear infinite;
}
.bus svg { display: block; }
@keyframes drive {
  from { transform: translateX(-60px); }
  to { transform: translateX(calc(100vw + 60px)); }
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  padding: 22px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 70%, transparent);
}
.site-footer p { margin: 0; }
.site-footer a {
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-radius: 4px;
}
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--hover); }
.site-footer .copy { margin-top: 4px; font-size: 0.8rem; }

/* Phones */
@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .countdown { gap: 8px; }
  .countdown-card { padding: 20px 14px 18px; }
  .unit { padding: 12px 2px 8px; }
  .lbl { font-size: 0.72rem; }
  .road { margin-top: 36px; height: 84px; }
}

/* Calm mode: no gliding bus, no breathing glow. */
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .bus { animation: none; left: 50%; transform: translateX(-50%); }
}
