/* waitlist.css: the few styles the waitlist home page needs on top of style.css. */
.waitlist .signup {
  max-width: 640px;
  margin: 0 0 var(--s5);
  padding-top: var(--s5);
}
.waitlist .points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s3);
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
  margin-bottom: var(--s5);
}
.waitlist .points p {
  color: var(--muted);
  line-height: 1.6;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#waitlist-status.done {
  color: var(--ink);
  font-weight: 600;
}
.waitlist .how,
.waitlist .more,
.waitlist .pricing,
.waitlist .faq {
  max-width: 760px;
  border-top: 1px solid var(--line);
  padding-top: var(--s4);
  margin-bottom: var(--s5);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.steps li {
  counter-increment: step;
  padding-left: 56px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.steps p,
.faq p,
.checks li {
  color: var(--muted);
  line-height: 1.65;
}
.checks {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.faq h3 {
  margin: var(--s3) 0 6px;
}
.faq p {
  margin: 0;
}
.primary-link {
  display: inline-block;
  margin-top: var(--s3);
  padding: 14px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}
.waitlist .pricing {
  max-width: none;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s2);
  margin-top: var(--s3);
}
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--s3);
}
.tier h3 {
  margin: 0;
}
.tier p {
  color: var(--muted);
  line-height: 1.6;
}
.tier .price {
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  margin: 8px 0;
}
.tier .price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

/* ---- Motion ---- */
.hero-demo {
  display: grid;
  gap: 8px;
  width: min(340px, calc(100% - 56px));
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}
.demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--band-ink);
  font-size: 14px;
}
.demo-row time {
  width: 38px;
  color: var(--band-dim);
  font-variant-numeric: tabular-nums;
}
.demo-row.work {
  background: rgba(134, 180, 255, 0.16);
  border-color: rgba(134, 180, 255, 0.4);
}
.demo-row.work em {
  margin-left: auto;
  font-style: normal;
  color: var(--band-accent);
}
.demo-row.sports {
  border-style: dashed;
}
@media (min-width: 960px) {
  .hero-demo {
    position: absolute;
    right: max(28px, calc((100% - 1136px) / 2 + 28px));
    top: 150px;
    margin: 0;
  }
  body[data-page='waitlist'] .intro > * {
    max-width: 620px;
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes line-up {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}
@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-70px, 50px) scale(1.18);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(90px, -40px) scale(1.12);
  }
}
@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.6);
  }
}
@keyframes pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes swap-a {
  0%,
  10% {
    transform: none;
    box-shadow: none;
  }
  16% {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  }
  34%,
  40% {
    transform: translateY(60px) scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  }
  44%,
  60% {
    transform: translateY(60px);
    box-shadow: none;
  }
  66% {
    transform: translateY(60px) scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  }
  84%,
  88% {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  }
  94%,
  100% {
    transform: none;
    box-shadow: none;
  }
}
@keyframes swap-b {
  0%,
  16% {
    transform: none;
  }
  34%,
  60% {
    transform: translateY(-60px);
  }
  84%,
  100% {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body[data-page='waitlist'] .masthead {
    position: relative;
    overflow: hidden;
  }
  body[data-page='waitlist'] .masthead::before,
  body[data-page='waitlist'] .masthead::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.4;
    pointer-events: none;
  }
  body[data-page='waitlist'] .masthead::before {
    width: 460px;
    height: 460px;
    background: #2f6bff;
    top: -180px;
    right: 4%;
    animation: float-a 14s ease-in-out infinite;
  }
  body[data-page='waitlist'] .masthead::after {
    width: 380px;
    height: 380px;
    background: #ff9d4a; /* warm amber, like late-afternoon light */
    bottom: -200px;
    left: 18%;
    animation: float-b 18s ease-in-out infinite;
  }
  body[data-page='waitlist'] header,
  body[data-page='waitlist'] .intro {
    position: relative;
    z-index: 1;
  }
  body[data-page='waitlist'] header {
    animation: rise-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }
  .brand-dot {
    display: inline-block;
    animation: dot-pulse 2.4s ease-in-out infinite;
  }
  .intro h1 .line {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
  }
  .intro h1 .line > span {
    display: inline-block;
    animation: line-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s backwards;
  }
  .intro h1 .line:nth-of-type(2) > span {
    animation-delay: 0.3s;
  }
  .intro .eyebrow {
    animation: rise-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s backwards;
  }
  .intro > p:last-child {
    animation: rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s backwards;
  }
  .demo-row {
    animation: rise-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }
  .demo-row:nth-child(1) {
    animation-delay: 0.7s;
  }
  .demo-row:nth-child(2) {
    animation:
      rise-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s backwards,
      swap-a 9s ease-in-out 3.2s infinite;
    position: relative;
    z-index: 2;
  }
  .demo-row:nth-child(3) {
    animation:
      rise-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s backwards,
      swap-b 9s ease-in-out 3.2s infinite;
  }
  .demo-row:nth-child(4) {
    animation-delay: 1s;
  }
  .demo-row:nth-child(5) {
    animation-delay: 1.1s;
  }
  html.motion [data-reveal]:not(.in) {
    opacity: 0;
    transform: translateY(26px);
  }
  html.motion [data-reveal].in {
    animation: rise-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms) backwards;
  }
  .steps li.in::before {
    animation: pop 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--d, 0ms) + 200ms) backwards;
  }
  .tier {
    position: relative;
    overflow: hidden;
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.35s ease,
      border-color 0.35s ease;
  }
  .tier::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      260px circle at var(--mx, 50%) var(--my, 0%),
      rgba(29, 79, 216, 0.14),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  @media (hover: hover) {
    .tier:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 40px rgba(10, 23, 49, 0.18);
      border-color: var(--accent);
    }
    .tier:hover::before {
      opacity: 1;
    }
  }
  #waitlist-status.done {
    animation: rise-in 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
  }
}
