/* ============================================================
   JOBO DESIGN SYSTEM — tokens
   ============================================================ */
:root {
  /* Colour — dark tech palette */
  --bg: #0a0b10;
  --bg-raised: #11131c;
  --bg-card: #151826;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f2f4f8;
  --text-dim: #9aa1b5;
  --text-faint: #5d6478;

  --violet: #7c5cff;
  --blue: #3e8bff;
  --green: #2ee6a8;
  --gold: #ffc94d;

  --gradient: linear-gradient(120deg, var(--violet), var(--blue) 55%, var(--green));

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing scale */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92vw); margin-inline: auto; }
.container--narrow { width: min(780px, 92vw); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--s3);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-full);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

.btn--primary {
  background: var(--gradient);
  color: #0a0b10;
  box-shadow: 0 4px 24px rgba(62, 139, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(62, 139, 255, 0.55);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

/* shimmer sweep — the dopamine button */
.btn--shimmer { position: relative; overflow: hidden; }
.btn--shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 2.8s infinite;
}
@keyframes shimmer { to { transform: translateX(120%); } }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 11, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s3);
  gap: var(--s5);
}
.nav__logo { color: var(--text); display: flex; }
.nav__links { display: flex; gap: var(--s5); font-size: 0.92rem; color: var(--text-dim); }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; gap: var(--s3); }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: var(--s9) 0 var(--s8); overflow: hidden; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.hero__glow--1 { width: 560px; height: 560px; background: var(--violet); top: -200px; left: -120px; }
.hero__glow--2 { width: 480px; height: 480px; background: var(--blue); bottom: -180px; right: -100px; opacity: 0.25; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s8);
  align-items: center;
}
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__sub { color: var(--text-dim); font-size: 1.15rem; max-width: 34rem; margin-block: var(--s5); }
.hero__cta { display: flex; gap: var(--s3); flex-wrap: wrap; }

.hero__social { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); color: var(--text-dim); font-size: 0.9rem; }
.avatars { display: flex; }
.avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: var(--bg-card);
}
.avatars img:first-child { margin-left: 0; }

/* live pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  background: rgba(46, 230, 168, 0.06);
  color: var(--green);
  margin-bottom: var(--s5);
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.6); }
  60% { box-shadow: 0 0 0 9px rgba(46, 230, 168, 0); }
}

/* ============================================================
   Phone mock + live feed
   ============================================================ */
.hero__visual { position: relative; display: flex; justify-content: center; }

.phone {
  width: 300px;
  border-radius: 40px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #181b2a, #0e1018);
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone__notch {
  width: 110px; height: 24px;
  background: #0a0b10;
  border-radius: var(--r-full);
  margin: 4px auto 10px;
}
.phone__screen {
  background: var(--bg);
  border-radius: 28px;
  padding: var(--s4);
  height: 440px;
  overflow: hidden;
}
.phone__header { margin-bottom: var(--s3); }
.phone__live {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green);
}

.feed { display: flex; flex-direction: column; gap: var(--s3); }
.feed__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3);
  display: flex;
  gap: var(--s3);
  align-items: center;
  animation: slideIn 0.5s var(--ease) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.feed__emoji {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  background: rgba(124, 92, 255, 0.12);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.feed__item strong { font-size: 0.82rem; display: block; }
.feed__item span { font-size: 0.72rem; color: var(--text-dim); }
.feed__rate { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: var(--green); font-size: 0.85rem; white-space: nowrap; }

/* floating cards */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: var(--s3);
  background: rgba(21, 24, 38, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
}
.float-card strong { display: block; font-family: var(--font-display); }
.float-card span { color: var(--text-dim); font-size: 0.75rem; }
.float-card__emoji { font-size: 1.4rem; }
.float-card--1 { top: 14%; left: -8%; animation: floaty 5s ease-in-out infinite 0.6s; }
.float-card--2 { bottom: 12%; right: -10%; animation: floaty 5.5s ease-in-out infinite 1.1s; }
@media (max-width: 920px) {
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  display: flex;
  align-items: stretch;
  border-block: 1px solid var(--border);
  background: var(--bg-raised);
  overflow: hidden;
}
.ticker__label {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s5);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green);
  border-right: 1px solid var(--border);
  background: var(--bg);
  white-space: nowrap;
  z-index: 2;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: var(--s7);
  padding-left: var(--s5);
  animation: tick 40s linear infinite;
  white-space: nowrap;
}
.ticker__track:hover { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick-item { display: inline-flex; gap: var(--s2); align-items: baseline; font-size: 0.88rem; padding-block: var(--s3); }
.tick-item__trade { font-weight: 600; }
.tick-item__loc { color: var(--text-dim); }
.tick-item__rate { font-family: var(--font-display); font-weight: 700; color: var(--green); }
.tick-item__new {
  font-size: 0.62rem; font-weight: 700;
  background: rgba(255, 201, 77, 0.15);
  color: var(--gold);
  padding: 0.1rem 0.45rem;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
}

/* ============================================================
   Stats
   ============================================================ */
.stats { padding: var(--s8) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  text-align: center;
}
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--text-dim); font-size: 0.9rem; }

/* ============================================================
   Trades marquee
   ============================================================ */
.trades { padding: var(--s8) 0; text-align: center; }
.trades h2 { margin-bottom: var(--s7); }

.marquee {
  display: flex; flex-direction: column; gap: var(--s4);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee__row { display: flex; gap: var(--s4); width: max-content; }
.marquee__row span {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  background: var(--bg-card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.marquee__row span:hover {
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
}
.marquee__row--left { animation: tick 36s linear infinite; }
.marquee__row--right { animation: tick-rev 36s linear infinite; }
@keyframes tick-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ============================================================
   Audience cards
   ============================================================ */
.audience { padding: var(--s8) 0; }
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
@media (max-width: 820px) { .audience__grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
}
.card--glow { position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.card--glow:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 24px 60px rgba(124, 92, 255, 0.18);
}
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--text-dim); margin-bottom: var(--s5); }

.card__badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  background: rgba(124, 92, 255, 0.14);
  color: #b3a1ff;
  margin-bottom: var(--s4);
}
.card__badge--alt { background: rgba(46, 230, 168, 0.12); color: var(--green); }

.ticks { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.ticks li { padding-left: 1.8rem; position: relative; font-size: 0.95rem; }
.ticks li::before {
  content: "✓";
  position: absolute; left: 0;
  width: 1.25rem; height: 1.25rem;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700;
  border-radius: 50%;
  background: var(--gradient);
  color: #0a0b10;
}

/* ============================================================
   How it works
   ============================================================ */
.how { padding: var(--s9) 0; text-align: center; }
.how h2 { margin-bottom: var(--s7); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  text-align: left;
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(62, 139, 255, 0.5); }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: var(--s3);
}
.step h4 { margin-bottom: var(--s2); }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ============================================================
   Quote
   ============================================================ */
.quote { padding: var(--s8) 0; }
.quote blockquote {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(46, 230, 168, 0.05));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: var(--s7);
  max-width: 860px;
  margin-inline: auto;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--s5);
}
.quote footer { display: flex; align-items: center; gap: var(--s3); }
.quote footer img { width: 48px; height: 48px; border-radius: 50%; }
.quote footer strong { display: block; }
.quote footer span { color: var(--text-dim); font-size: 0.85rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--s8) 0 var(--s9); text-align: center; }
.faq h2 { margin-bottom: var(--s7); }
.faq__list { display: flex; flex-direction: column; gap: var(--s3); text-align: left; }

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(124, 92, 255, 0.45); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; margin-left: var(--s4); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--green);
  transition: transform 0.25s var(--ease);
}
.faq__icon::before { width: 14px; height: 2px; top: 6px; }
.faq__icon::after { width: 2px; height: 14px; left: 6px; }
.faq details[open] .faq__icon::after { transform: scaleY(0); }
.faq details p { padding-top: var(--s3); color: var(--text-dim); font-size: 0.95rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: var(--s9) 0; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  background: var(--violet);
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.22;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__inner { position: relative; text-align: center; }
.cta p { color: var(--text-dim); font-size: 1.1rem; margin-block: var(--s4) var(--s6); }
.cta #cta-counter { color: var(--gold); font-weight: 700; }
.cta__buttons { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }

.store-btn {
  display: flex; align-items: center; gap: var(--s3);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  padding: 0.7rem 1.5rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 36px rgba(255, 255, 255, 0.18); }
.store-btn small { display: block; font-size: 0.65rem; opacity: 0.7; }
.store-btn span { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: var(--s6) 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.85rem;
}
.footer img { filter: none; }
.footer nav { display: flex; gap: var(--s5); }
.footer a:hover { color: var(--text); }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(62, 139, 255, 0.14), transparent 32rem),
    var(--bg);
}
.legal-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 11, 16, 0.76);
  backdrop-filter: blur(16px);
}
.legal-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s4);
}
.legal-nav__logo {
  display: inline-flex;
  align-items: center;
}
.legal-main {
  width: min(780px, 92vw);
  margin-inline: auto;
  padding: var(--s8) 0 var(--s9);
}
.legal-main h1 {
  font-size: clamp(2.35rem, 6vw, 4rem);
  margin-bottom: var(--s2);
}
.legal-updated {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: var(--s7);
}
.legal-content {
  display: grid;
  gap: var(--s6);
  color: var(--text-dim);
}
.legal-content section {
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--border);
}
.legal-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.legal-content h2 {
  color: var(--text);
  font-size: 1.35rem;
  margin-bottom: var(--s3);
}
.legal-content p + p,
.legal-content ul + p,
.legal-content p + ul {
  margin-top: var(--s3);
}
.legal-content ul {
  padding-left: 1.2rem;
}
.legal-content li {
  margin-top: var(--s2);
}
.legal-content a {
  color: var(--green);
  font-weight: 600;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-footer {
  border-top: 1px solid var(--border);
  padding: var(--s6) var(--s4);
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.legal-footer a {
  color: var(--text-dim);
}
.legal-footer a:hover {
  color: var(--text);
}

/* ============================================================
   Waitlist modal
   ============================================================ */
body.waitlist-open { overflow: hidden; }

.waitlist-modal[hidden] { display: none; }
.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--s4);
}

.waitlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.76);
  backdrop-filter: blur(14px);
}

.waitlist-modal__panel {
  position: relative;
  width: min(92vw, 480px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: var(--s5);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.24), transparent 38%),
    linear-gradient(180deg, #151826, #0d0f17);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: modalIn 0.28s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.waitlist-modal__close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.waitlist-modal__close:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.waitlist-modal__eyebrow { margin-bottom: var(--s3); }
.waitlist-modal h2 {
  max-width: 22rem;
  padding-right: var(--s7);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.waitlist-modal__intro,
.waitlist-success p {
  color: var(--text-dim);
  margin-top: var(--s3);
}

.waitlist-form {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s5);
}
.waitlist-form__field {
  display: grid;
  gap: var(--s2);
}
.waitlist-form label {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}
.waitlist-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: rgba(10, 11, 16, 0.72);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.waitlist-form input::placeholder { color: var(--text-faint); }
.waitlist-form input:focus {
  border-color: var(--green);
  background: rgba(10, 11, 16, 0.9);
  box-shadow: 0 0 0 4px rgba(46, 230, 168, 0.12);
}
.waitlist-form__error {
  color: #ff8a8a;
  font-size: 0.9rem;
}
.waitlist-form__submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  margin-top: var(--s1);
}
.waitlist-form__submit[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.waitlist-success {
  text-align: center;
  padding-block: var(--s5) var(--s2);
}
.waitlist-success__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto var(--s4);
  border-radius: 50%;
  background: var(--gradient);
  color: var(--bg);
  font-size: 1.7rem;
  font-weight: 800;
}
.waitlist-success h2 {
  max-width: none;
  padding-right: 0;
}
.waitlist-success .btn {
  min-width: 150px;
  border: 0;
  margin-top: var(--s5);
}

.waitlist-modal button:focus-visible,
.waitlist-modal input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .waitlist-modal {
    align-items: end;
    padding: var(--s3);
  }
  .waitlist-modal__panel {
    width: 100%;
    padding: var(--s5);
    border-radius: var(--r-md);
  }
  .waitlist-modal h2 {
    padding-right: var(--s6);
  }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease) var(--d, 0s), transform 0.7s var(--ease) var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* confetti bits */
.confetti {
  position: fixed;
  width: 10px; height: 10px;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
