/* ============================================================
   Truckee — Coming Soon Landing
   ============================================================ */

:root {
  --bg: oklch(0.16 0.006 60);
  --bg-elev: oklch(0.20 0.008 60);
  --bg-card: oklch(0.22 0.008 60);
  --border: oklch(0.30 0.010 60);
  --border-strong: oklch(0.40 0.012 60);
  --fg: oklch(0.97 0.008 85);
  --fg-muted: oklch(0.70 0.008 70);
  --fg-dim: oklch(0.55 0.008 65);
  --accent: oklch(0.82 0.16 78);          /* warm amber */
  --accent-ink: oklch(0.22 0.05 60);       /* dark text on amber */
  --live: oklch(0.86 0.19 150);            /* electric mint */
  --danger: oklch(0.70 0.20 28);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --font-sans: "Geist", "Inter Tight", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --shadow-soft: 0 0 0 1px var(--border), 0 20px 50px -30px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, oklch(0.24 0.04 75 / 0.4), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, oklch(0.24 0.03 150 / 0.15), transparent 60%),
    var(--bg);
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   Layout
   ============================================================ */

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}

@media (max-width: 640px) {
  .shell { padding: 16px 18px 60px; }
}

/* ============================================================
   Top bar
   ============================================================ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 56px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  position: relative;
}
.brand-mark .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.25;
  filter: blur(6px);
}

.top-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.top-status .live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 oklch(0.86 0.19 150 / 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.86 0.19 150 / 0.6); }
  100% { box-shadow: 0 0 0 12px oklch(0.86 0.19 150 / 0); }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.hero-eyebrow .badge {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
}

.wordmark {
  font-weight: 700;
  font-size: clamp(56px, 9.5vw, 132px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
}
.wordmark .ch {
  display: inline-block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wordmark .ch.flip {
  color: var(--accent);
}

.hero-tag {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--fg);
}
.hero-tag .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  margin: 18px 0 0;
  color: var(--fg-muted);
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-sans);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: oklch(0.86 0.16 78); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elev); border-color: var(--fg-muted); }

.btn-arrow { font-family: var(--font-mono); font-size: 16px; transform: translateY(-1px); }

/* Countdown card */
.countdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.countdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.countdown-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.countdown-cell {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 8px 12px;
  text-align: center;
}
.countdown-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  line-height: 1;
}
.countdown-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 10px;
}
.countdown-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.countdown-foot strong { color: var(--accent); font-weight: 600; }

/* ============================================================
   Section header
   ============================================================ */

.section {
  padding: 80px 0 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  max-width: 720px;
}

/* ============================================================
   Live bid simulator
   ============================================================ */

.auction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 18px;
}
@media (max-width: 900px) { .auction { grid-template-columns: 1fr; } }

.load-card, .bids-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card-head-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--live);
  padding: 4px 9px;
  border: 1px solid oklch(0.86 0.19 150 / 0.4);
  border-radius: 999px;
  background: oklch(0.86 0.19 150 / 0.08);
}
.live-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  animation: pulse-dot 1.4s ease-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Load route */
.route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0 22px;
  border-bottom: 1px dashed var(--border);
}
.route .pin {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.route .pin.from { color: var(--accent); border-color: var(--accent); }
.route .pin.to { color: var(--live); border-color: var(--live); }
.route .city {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.route .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-top: 2px;
}
.route .line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-dim);
}
.route .line .dashes {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--border-strong) 50%, transparent 50%);
  background-size: 6px 1px;
  position: relative;
}
.route .line .truck-glyph {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  padding: 0 6px;
  text-transform: uppercase;
}

.load-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 24px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.spec-value {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ask-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.ask-row .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.ask-row .val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.ask-row .val .strike {
  color: var(--fg-dim);
  text-decoration: line-through;
  font-size: 14px;
  margin-right: 8px;
}

/* Bids list */
.bids-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow: hidden;
  position: relative;
  padding-bottom: 12px;
}

.bid-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
  animation: slidein 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slidein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.bid-row.best {
  border-color: var(--accent);
  background: linear-gradient(90deg, oklch(0.82 0.16 78 / 0.08), transparent);
}
.bid-row.accepted {
  border-color: var(--live);
  background: linear-gradient(90deg, oklch(0.86 0.19 150 / 0.1), transparent);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
}
.bid-row.best .avatar { border-color: var(--accent); color: var(--accent); }
.bid-row.accepted .avatar { border-color: var(--live); color: var(--live); }

.bidder-name {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.bidder-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bidder-meta .star { color: var(--accent); }

.bid-amount {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bid-row.best .bid-amount { color: var(--accent); }

.bid-action {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  transition: all 0.15s ease;
}
.bid-action.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.bid-action.primary:hover { background: oklch(0.86 0.16 78); }
.bid-action.success {
  background: var(--live);
  border-color: var(--live);
  color: var(--accent-ink);
}

.bids-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.bids-stats {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.bids-stats strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 6px;
}

.try-hint {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.try-hint kbd {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
}

/* ============================================================
   Stats strip
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  background: var(--bg-card);
  padding: 28px 26px 26px;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-value .unit {
  color: var(--fg-muted);
  font-size: 0.55em;
  margin-left: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 12px;
}
.stat-foot {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 8px;
  line-height: 1.4;
}

/* ============================================================
   How it works
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-tab {
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  padding: 16px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  transition: all 0.2s ease;
  color: var(--fg-muted);
  position: relative;
}
.step-tab:hover { color: var(--fg); background: var(--bg-elev); }
.step-tab.active {
  background: var(--bg-elev);
  border-color: var(--border-strong);
  color: var(--fg);
}
.step-tab .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  background: var(--bg);
}
.step-tab.active .num {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.step-tab .title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.step-panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.step-panel-num {
  font-family: var(--font-mono);
  font-size: 110px;
  font-weight: 600;
  color: oklch(0.30 0.010 60);
  position: absolute;
  right: 24px;
  bottom: -28px;
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
}
.step-panel-eye {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-panel-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.step-panel-desc {
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.55;
  font-size: 16px;
}
.step-panel-visual {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.step-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--fg);
}

/* ============================================================
   Roadmap / map
   ============================================================ */

.roadmap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
@media (max-width: 980px) { .roadmap { grid-template-columns: 1fr; } }

.map-card, .timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.map-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}
.tline {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
  cursor: pointer;
  transition: background 0.2s ease;
}
.tline:last-child { border-bottom: none; }
.tline:hover { background: oklch(0.82 0.16 78 / 0.02); }
.tline.active .when { color: var(--accent); }
.tline.active .what { color: var(--fg); }
.tline .when {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  padding-top: 2px;
}
.tline .what {
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.tline .what-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 4px;
}
.tline .what-sub {
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
   Waitlist
   ============================================================ */

.waitlist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px 44px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .waitlist { grid-template-columns: 1fr; padding: 30px 26px; gap: 28px; } }

.waitlist::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, oklch(0.82 0.16 78 / 0.07), transparent 60%);
  pointer-events: none;
}

.waitlist-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 16px;
}
.waitlist-sub { color: var(--fg-muted); line-height: 1.55; max-width: 440px; }

.role-toggle {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  position: relative;
  margin-bottom: 24px;
}
.role-toggle button {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.role-toggle button.active { color: var(--accent-ink); }
.role-toggle .slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: var(--accent);
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), width 0.3s ease;
  z-index: 0;
}

.role-perks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-perks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.role-perks .check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* form */
.form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  z-index: 1;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field input, .field select {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}
.field input.invalid { border-color: var(--danger); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-top: 8px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.submit:hover { background: oklch(0.86 0.16 78); }
.submit:disabled { opacity: 0.5; cursor: not-allowed; }

.waitlist-counter {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.waitlist-counter .num {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.success-state {
  text-align: center;
  padding: 30px 10px;
}
.success-state .checkmark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--live);
  color: var(--accent-ink);
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.success-state .pos {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 6px;
}
.success-state .pos-num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 14px 0 4px;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Footer
   ============================================================ */

.foot {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.foot a:hover { color: var(--accent); }
.foot .links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   Map cities
   ============================================================ */
.city-node circle.core {
  fill: var(--accent);
  transition: opacity 0.4s ease, r 0.4s ease;
}
.city-node circle.ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.4s ease, r 0.6s ease;
}
.city-node.dim circle.core { fill: var(--fg-dim); opacity: 0.4; }
.city-node.active circle.ring { opacity: 0.4; animation: ring-pulse 2.2s ease-out infinite; }
@keyframes ring-pulse {
  0% { r: 6; opacity: 0.5; }
  100% { r: 22; opacity: 0; }
}
.city-node text {
  fill: var(--fg);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.city-node.dim text { fill: var(--fg-dim); }
.city-node.active text { fill: var(--accent); }

/* small noise/grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
