/* ─── Founding-access funnel ──────────────────────────────────────────────────
   Live price-ladder widget + 2-step (sign up → checkout) funnel.
   Reuses style.css tokens + waitlist.css form/card styles; only adds what's new. */

/* ── Live ladder widget ─────────────────────────────────────────────────────── */

.ladder-widget {
  background: var(--bg-off-black);
  border: 1px solid rgba(126, 123, 255, 0.28);
  border-radius: var(--radius-card);
  padding: var(--space-lg) var(--space-xl);
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(126, 123, 255, 0.06), 0 18px 60px -28px rgba(126, 123, 255, 0.5);
}

.ladder-widget.is-loading { opacity: 0.55; }
.ladder-widget.is-soldout { border-color: rgba(255, 79, 79, 0.4); }

.ladder-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cta-primary);
  margin-bottom: var(--space-md);
}
.ladder-eyebrow .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(0, 255, 155, 0.6);
  animation: ladder-pulse 2s infinite;
}
@keyframes ladder-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 155, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 255, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 155, 0); }
}

.ladder-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.ladder-rrp {
  font-size: 20px;
  color: var(--text-faded);
  text-decoration: line-through;
  text-decoration-color: var(--error);
}
.ladder-price {
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-snow);
  letter-spacing: -1.5px;
}
.ladder-price .ccy { font-size: 18px; font-weight: 600; color: var(--text-faded); margin-left: 6px; letter-spacing: 0; }
.ladder-tagline { font-size: 14px; color: var(--text-faded); margin: 0 0 var(--space-md); line-height: 1.5; }

.ladder-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(252, 252, 252, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}
.ladder-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--grad-ai-highlighter);
  background-size: 200% 100%;
  width: 0%;
  transition: width 0.6s ease;
}

.ladder-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faded);
}
.ladder-meta strong { color: var(--text-snow); font-weight: 700; }
.ladder-spots strong { color: var(--cta-primary); }

/* compact variant inside the form column */
.ladder-widget--compact { padding: var(--space-md) var(--space-lg); max-width: none; }
.ladder-widget--compact .ladder-price { font-size: 40px; }
.ladder-widget--compact .ladder-rrp { font-size: 16px; }

/* ── Promo video slot ───────────────────────────────────────────────────────── */

.founding-video {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--grad-purple-surface);
  border: 1px solid var(--color-border, rgba(252, 252, 252, 0.1));
}
.founding-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Per-entity (operator) intro: a circular portrait the video fills (object-fit: cover). */
.founding-video--circle {
  aspect-ratio: 1 / 1;
  max-width: 380px;
  border-radius: 50%;
}

/* ── OAuth buttons (step 1) ─────────────────────────────────────────────────── */

.oauth-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--space-md); }
.btn-oauth {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px;
  background: #fff; color: #1a1a1a;
  border: 1px solid rgba(252, 252, 252, 0.15);
  border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn-oauth:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-oauth svg { width: 18px; height: 18px; }

.funnel-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-faded); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  margin: var(--space-md) 0;
}
.funnel-divider::before, .funnel-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(252, 252, 252, 0.12);
}

/* ── Checkout (step 2) ──────────────────────────────────────────────────────── */

.order-summary {
  background: var(--bg-off-black);
  border: 1px solid rgba(126, 123, 255, 0.28);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}
.order-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order-summary-row + .order-summary-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(252, 252, 252, 0.08); }
.order-summary-label { color: var(--text-faded); font-size: 14px; }
.order-summary-value { color: var(--text-snow); font-weight: 600; }
.order-summary-total { font-size: 28px; font-weight: 700; color: var(--text-snow); letter-spacing: -0.5px; }
.order-locked { font-size: 12px; color: var(--success); margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; }

.btn-back {
  background: none; border: none; color: var(--text-faded);
  font-family: var(--font-body); font-size: 13px; cursor: pointer; margin-top: 14px; width: 100%;
}
.btn-back:hover { color: var(--text-snow); }

.btn-block { width: 100%; }

/* ── Thank-you ──────────────────────────────────────────────────────────────── */

.thanks-card { max-width: 520px; margin: 0 auto; text-align: center; }
.founder-number {
  font-size: 72px; font-weight: 700; line-height: 1; color: var(--cta-primary);
  letter-spacing: -2px; margin: var(--space-md) 0;
}
