/* Seatbid pre-launch landing — Tomorro brand tokens (web/tailwind.config.ts). */
:root {
  --forest: #122314;
  --moss: #273f2b;
  --lichen: #7e8371;
  --palefern: #b7bda5;
  --sprout: #68ef3f;
  --verdant: #26a200;
  --sproutwash: #e7f9dd;
  --onyx: #30322a;
  --bone: #f2f5eb;
  --display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body);
  letter-spacing: -0.01em;
  background: var(--forest);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--sprout); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.bowl {
  position: absolute; inset: 0; width: 100%; height: 100%;
  /* Quiet zone behind the hero copy: dots fade out toward the center so the
     type never fights the constellation. */
  -webkit-mask-image: radial-gradient(ellipse 44% 46% at 50% 46%, transparent 42%, black 96%);
  mask-image: radial-gradient(ellipse 44% 46% at 50% 46%, transparent 42%, black 96%);
}
.seat {
  fill: var(--moss);
  animation: seat-enter 400ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.seat.mid {
  fill: var(--verdant); opacity: .8;
  animation: seat-enter 400ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.seat.on {
  fill: var(--sprout); cursor: pointer;
  animation: seat-enter 400ms cubic-bezier(0.23, 1, 0.32, 1) backwards, pulse 2.4s infinite;
  /* transparent fat stroke = a usable hover hit area on a 3.4px dot */
  stroke: transparent; stroke-width: 14px;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes seat-enter { from { opacity: 0; } }

.nav {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  padding: 10px 22px; border-radius: 9999px; z-index: 4;
  background: rgba(242, 245, 235, .06);
  border: 1px solid rgba(242, 245, 235, .14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}
/* The lockup, sized so its cap height matches the 18px Archivo it replaced. */
.wordmark { display: block; height: 28px; width: auto; }

.hero-copy { position: relative; z-index: 2; padding: 120px 24px 100px; max-width: 960px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sprout); margin: 0 0 16px;
}
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 7vw, 76px); letter-spacing: -.035em; line-height: 1.02;
  margin: 0 0 20px;
}
.sub {
  color: var(--palefern); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.5;
  margin: 0 auto 28px; max-width: 660px; text-wrap: balance;
}

.enter {
  animation: copy-enter 550ms cubic-bezier(0.23, 1, 0.32, 1) backwards;
}
.enter-1 { animation-delay: 150ms; }
.enter-2 { animation-delay: 210ms; }
.enter-3 { animation-delay: 270ms; }
.enter-4 { animation-delay: 330ms; }
.enter-5 { animation-delay: 390ms; }
@keyframes copy-enter {
  from { opacity: 0; transform: translateY(14px); }
}

.signup { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signup input {
  min-width: min(260px, 100%); padding: 14px 20px; border-radius: 9999px;
  border: 1px solid rgba(183, 189, 165, .35); background: rgba(18, 35, 20, .8);
  color: var(--bone); font: inherit;
}
.signup input::placeholder { color: var(--palefern); }
.signup button {
  padding: 14px 22px; border-radius: 9999px; border: 0;
  background: var(--sprout); color: var(--onyx);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: background 150ms, transform 120ms;
}
.signup button:hover { background: #54d92f; }
.signup button:active { transform: scale(.97); }
.signup button:disabled { opacity: .6; cursor: default; }
.form-note { min-height: 1.2em; color: var(--palefern); font-size: 14px; margin: 10px 0 0; }
.success {
  color: var(--sprout); font-weight: 600; font-size: 17px; margin: 8px 0 0;
  animation: note-rise 350ms cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes note-rise { from { opacity: 0; transform: translateY(10px); } }
.count { color: var(--lichen); font-size: 13px; letter-spacing: .05em; margin: 22px 0 0; }

.callout {
  position: absolute; z-index: 3; pointer-events: none; text-align: left;
  background: rgba(18, 35, 20, .92); border: 1px solid rgba(104, 239, 63, .4);
  border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--sprout);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
  opacity: 0; transform: scale(.94) translateY(4px); visibility: hidden;
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 0s 180ms;
}
.callout--visible {
  opacity: 1; transform: scale(1) translateY(0); visibility: visible;
  transition-delay: 0s;
}
.callout b { display: block; color: var(--bone); font-weight: 600; }

.ring {
  fill: none; stroke: #68ef3f; stroke-width: 2;
  /* Stroke is hit-testable by default; a ring expanding under the cursor
     would steal hover from its seat and flicker the callout. */
  pointer-events: none;
  transform-box: fill-box; transform-origin: center;
  animation: ring-flare 700ms ease-out forwards;
}
@keyframes ring-flare {
  from { transform: scale(1); opacity: .6; }
  to { transform: scale(5.5); opacity: 0; }
}

.ticker {
  position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden;
  border-top: 1px solid rgba(183, 189, 165, .18); padding: 12px 0;
  background: rgba(18, 35, 20, .85);
}
.ticker-track {
  display: inline-flex; white-space: nowrap; color: var(--lichen);
  font-size: 14px; animation: marquee 30s linear infinite;
}
.ticker-track span { margin-right: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how { background: var(--bone); color: var(--onyx); padding: 72px 24px; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 960px; margin: 0 auto; padding: 0; list-style: none;
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--onyx); padding-top: 16px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; color: var(--verdant);
  font-size: 14px; letter-spacing: .1em;
}
.steps h2 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 8px 0; }
.steps p { color: #474d3d; line-height: 1.5; margin: 0; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 48px 0 0; }
.chips li {
  background: var(--sproutwash); color: var(--verdant); font-weight: 600;
  font-size: 14px; padding: 8px 16px; border-radius: 9999px;
}

footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 24px; background: var(--forest); color: var(--lichen); font-size: 14px;
}
footer a { color: var(--palefern); }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  /* The desktop two-line break widows words on phones — flow + balance instead. */
  h1 br, .sub br { display: none; }
  h1 { text-wrap: balance; }
  /* Copy spans nearly the full width on phones — widen the quiet zone. */
  .bowl {
    -webkit-mask-image: radial-gradient(ellipse 78% 46% at 50% 45%, transparent 52%, black 100%);
    mask-image: radial-gradient(ellipse 78% 46% at 50% 45%, transparent 52%, black 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .seat, .seat.mid, .seat.on, .ticker-track, .enter, .success { animation: none; }
  .callout { transition: none; }
  /* JS never spawns rings under reduced motion; this also stills one already
     mid-flight when the OS preference flips. */
  .ring { animation: none; display: none; }
}
