/* Hitlane's coming-soon page: the website's own tokens (apps/web/assets/css/00-tokens.css), one page, no scripts. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-opsz-normal.woff2) format('woff2-variations');
}

:root {
  --bg: #08090a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --sodium: #f5b94a;
  --sodium-bg: rgba(245, 185, 74, 0.12);
  --sodium-line: rgba(245, 185, 74, 0.38);
  --sans: 'Inter Variable', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --page-pad: clamp(24px, 5.4vw, 78px);
  --page-max: 1344px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- header ---------- */
.hdr {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--page-max);
  height: 72px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 590;
  letter-spacing: -0.02em;
}
.logo-mark {
  flex: none;
}

/* ---------- the message ---------- */
.hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px var(--page-pad) 64px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0 0 28px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--sodium-line);
  border-radius: 9999px;
  background: var(--sodium-bg);
  color: var(--sodium);
  font-size: 13px;
  font-weight: 510;
  line-height: 1.4;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.title {
  max-width: 14em;
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 7.2vw, 64px);
  font-weight: 510;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead {
  max-width: 34em;
  margin: 24px 0 0;
  color: var(--text-3);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  letter-spacing: -0.011em;
  text-wrap: pretty;
}
.contact {
  margin: 32px 0 0;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.6;
}
.contact a {
  color: var(--text-2);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 3px;
  transition: color 0.1s, text-decoration-color 0.1s;
}
.contact a:hover {
  color: var(--text);
  text-decoration-color: var(--text-3);
}
.contact a:focus-visible {
  outline: 2px solid var(--sodium);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- the lane band: one lane per member site, amber dashes are visits ---------- */
.lanes {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 56px;
}
.lane {
  height: 44px;
  border-top: 1px solid var(--line);
}
.lane:last-child {
  border-bottom: 1px solid var(--line);
}
.track {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.24);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.lane.yours .track {
  color: var(--sodium);
}
.visit {
  position: absolute;
  inset: 0;
}
.visit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: currentColor;
}
/* Where each dash rests when nothing moves, */
.v1 { transform: translateX(14%); }
.v2 { transform: translateX(61%); }
.v3 { transform: translateX(33%); }
.v4 { transform: translateX(84%); }
.v5 { transform: translateX(8%); }
.v6 { transform: translateX(42%); }
.v7 { transform: translateX(76%); }
.v8 { transform: translateX(22%); }
.v9 { transform: translateX(67%); }
.v10 { transform: translateX(49%); }
/* and how each one travels when motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .visit {
    animation: lane-run 9s linear infinite;
  }
  .v1 { animation-delay: -1s; }
  .v2 { animation-delay: -5.5s; }
  .v3 { animation-duration: 12s; animation-delay: -3s; }
  .v4 { animation-duration: 12s; animation-delay: -9s; }
  .v5 { animation-duration: 7s; animation-delay: -0.5s; }
  .v6 { animation-duration: 7s; animation-delay: -2.8s; }
  .v7 { animation-duration: 7s; animation-delay: -5.1s; }
  .v8 { animation-duration: 10s; animation-delay: -2s; }
  .v9 { animation-duration: 10s; animation-delay: -7s; }
  .v10 { animation-duration: 14s; animation-delay: -6s; }
  .dot {
    animation: dot-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes lane-run {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(104%);
  }
}
@keyframes dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 640px) {
  .hero {
    justify-content: flex-start;
    padding-top: 40px;
  }
  .lane {
    height: 36px;
  }
}
