/* ── Veltza waitlist (/waitlist): page-specific styles. Shared shell lives in site.css ── */
/* ── Layout ── */
.waitlist-page main.wl-main {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
}

.wl-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--wl-gutter);
}

.wl-narrow {
  max-width: 760px;
}

.wl-center {
  text-align: center;
}

.wl-section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.wl-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .wl-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.wl-h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 6.4vw, 68px);
  letter-spacing: 0;
}

.wl-h2-light {
  display: block;
  margin-top: 10px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.48em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--wl-dim);
}

.wl-lead {
  margin: 0 0 14px;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}

.wl-lead strong {
  color: #fff;
}

.wl-lead-dim {
  color: var(--wl-faint) !important;
}

.wl-lead-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Light (bright) sections ── */
.wl-light {
  background: var(--wl-light);
  color: var(--wl-light-ink);
}

.wl-light .wl-h2,
.wl-light .wl-lead strong {
  color: var(--wl-light-ink);
}

.wl-light p,
.wl-light .wl-h2-light {
  color: var(--wl-light-dim);
}

.wl-light .wl-eyebrow {
  color: #0a8f7c !important;
}

/* ── Hero ── */
.wl-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--wl-gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.wl-hero-copy,
.wl-hero-visual {
  min-width: 0;
}

@media (min-width: 980px) {
  .wl-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
  }
}

.wl-hero-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(36px, 9.6vw, 56px);
  letter-spacing: 0;
}

@media (min-width: 980px) {
  .wl-hero-title {
    font-size: clamp(48px, 5.2vw, 76px);
  }
}

.wl-hero-title .wl-caps + .wl-caps {
  margin-top: 0.04em;
}

.wl-hero-accent {
  display: block;
  margin-top: 0.22em;
  font-family: "Inter", system-ui, sans-serif;
  font-size: max(19px, 0.4em);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: var(--wl-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wl-hero-sub {
  margin: 0 0 20px;
  max-width: 48ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
}

.wl-proof {
  margin: 16px 0 0;
  font-family: var(--wl-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wl-faint) !important;
}

/* Panel (form + rank view) */
.wl-panel {
  position: relative;
  max-width: 560px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 55%),
    rgba(9, 18, 36, 0.72);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 245, 200, 0.05) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  outline: none;
}

.wl-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(61, 123, 255, 0.7), transparent 40%, rgba(0, 245, 200, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.wl-panel.is-flash {
  animation: wl-flash 1.1s ease;
}

@keyframes wl-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 245, 200, 0.55), 0 30px 80px rgba(0, 0, 0, 0.45);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(0, 245, 200, 0), 0 30px 80px rgba(0, 0, 0, 0.45);
  }
}

.wl-panel .mode-tabs {
  margin-bottom: 16px;
}

.wl-panel .mode-tab {
  padding: 10px;
  font-size: 13px;
}

.wl-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 12px;
}

@media (min-width: 520px) {
  .wl-fields {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.wl-panel .field {
  margin-bottom: 12px;
}

.wl-panel .field label {
  font-family: var(--wl-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wl-faint);
}

.wl-panel .field input {
  background: rgba(3, 8, 18, 0.7);
  border-color: rgba(255, 255, 255, 0.14);
  min-height: 52px;
}

.wl-panel .field input:focus {
  border-color: rgba(0, 245, 200, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 245, 200, 0.14);
}

.wl-submit {
  min-height: 56px;
  border-radius: 999px;
  font-family: var(--wl-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--wl-grad);
  background-size: 200% 100%;
  animation: wl-sheen 6s ease-in-out infinite;
}

@keyframes wl-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.wl-panel .form-hint {
  font-family: var(--wl-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wl-invite {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 200, 0.3);
  background: rgba(0, 245, 200, 0.08);
  color: #c6fff3;
  font-size: 14px;
}

/* Rank view */
.wl-rank-eyebrow {
  margin-bottom: 6px;
}

.wl-rank-title {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--wl-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(26px, 4vw, 34px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0;
}

.wl-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wl-rank-spot,
.wl-rank-tier {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wl-line);
  min-width: 0;
}

.wl-rank-tier {
  --tier: #cd7f32;
  border-color: color-mix(in srgb, var(--tier) 55%, transparent);
  background: color-mix(in srgb, var(--tier) 12%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--tier) 22%, transparent);
}

.wl-rank-spot strong,
.wl-rank-tier strong {
  display: block;
  margin: 4px 0 2px;
  font-family: var(--wl-mono);
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.wl-rank-tier strong {
  color: var(--tier);
  font-family: var(--wl-display);
  font-stretch: 108%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
  overflow-wrap: normal;
}

@media (max-width: 419px) {
  .wl-rank-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.wl-rank-of {
  display: block;
  font-size: 12px;
  color: var(--wl-faint);
}

.wl-progress {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.wl-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--wl-grad);
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wl-rank-next {
  margin: 8px 0 18px;
  font-size: 14px;
}

.wl-share-row {
  display: flex;
  gap: 8px;
  margin: 6px 0 10px;
}

.wl-share-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--wl-line);
  background: rgba(3, 8, 18, 0.7);
  color: #fff;
  font-family: var(--wl-mono);
  font-size: 16px;
}

.wl-share-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.wl-share-actions .wl-btn {
  padding: 0 12px;
  font-size: 12px;
}

.wl-card-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wl-line);
}

.wl-card-preview img {
  width: 108px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  -webkit-touch-callout: default;
}

.wl-card-preview-side {
  min-width: 0;
}

.wl-card-preview-side p {
  margin: 0 0 10px;
  font-size: 14px;
}

.wl-card-preview-side .wl-btn {
  white-space: nowrap;
  margin-bottom: 10px;
}

/* Hero visual */
.wl-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 20px;
}

.wl-phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 390 / 844;
  border-radius: 42px;
  padding: 8px;
  background: linear-gradient(160deg, #1b2440, #070c18);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 120px rgba(61, 123, 255, 0.28);
  transform: rotate(-3deg);
}

.wl-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
}

.wl-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 20, 40, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--wl-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wl-dim);
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: wl-float 6s ease-in-out infinite;
}

.wl-chip b {
  color: #fff;
}

.wl-chip-a {
  top: 12%;
  left: max(0px, calc(50% - 210px));
}

.wl-chip-b {
  top: 46%;
  right: max(0px, calc(50% - 215px));
  animation-delay: -2s;
}

.wl-chip-c {
  bottom: 14%;
  left: max(0px, calc(50% - 200px));
  animation-delay: -4s;
}

.wl-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.wl-amber {
  background: var(--wl-amber);
  box-shadow: 0 0 10px var(--wl-amber);
}

.wl-teal {
  background: var(--wl-teal);
  box-shadow: 0 0 10px var(--wl-teal);
}

.wl-gold {
  background: var(--wl-gold);
  box-shadow: 0 0 10px var(--wl-gold);
}

@keyframes wl-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ── Streak demo ── */
.wl-demo {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--wl-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.wl-demo-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.wl-demo-bolt {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--wl-amber);
  background: radial-gradient(circle at 35% 30%, #7a4a12, #3b2208);
  box-shadow: 0 0 40px rgba(255, 176, 32, 0.35);
  flex-shrink: 0;
}

.wl-demo-count {
  font-family: var(--wl-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(48px, 9vw, 72px);
  line-height: 1;
  color: #fff;
  transition: color 0.3s ease;
}

.wl-demo-count.is-zero {
  color: #ff4d6d;
}

.wl-demo-unit {
  margin-left: 8px;
  color: var(--wl-dim);
  font-size: 16px;
}

.wl-demo-week,
.wl-demo-shields {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--wl-line);
  margin-bottom: 10px;
}

.wl-day {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-family: var(--wl-mono);
  font-size: 11px;
  color: var(--wl-faint);
}

.wl-day i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wl-amber);
  box-shadow: 0 0 8px rgba(255, 176, 32, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.wl-day.is-today i {
  background: transparent;
  border: 2px solid var(--wl-amber);
}

.wl-day.is-shielded i {
  background: var(--wl-teal);
  box-shadow: 0 0 10px var(--wl-teal);
}

.wl-day.is-missed i {
  background: #ff4d6d;
  box-shadow: 0 0 10px #ff4d6d;
}

.wl-shield {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 176, 32, 0.8);
  background: rgba(255, 176, 32, 0.16);
  color: var(--wl-amber);
  transition: all 0.35s ease;
}

.wl-shield svg {
  width: 16px;
  height: 16px;
}

.wl-shield.is-used {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
}

.wl-shield.is-popping {
  animation: wl-pop 0.6s ease;
}

@keyframes wl-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
    box-shadow: 0 0 30px var(--wl-teal);
  }
  100% {
    transform: scale(1);
  }
}

.wl-demo-msg {
  min-height: 3.2em;
  margin: 12px 0 14px;
  font-size: 15px;
}

.wl-demo-msg strong {
  color: #fff;
}

.wl-demo-actions {
  display: flex;
  gap: 10px;
}

/* ── Before / after ── */
.wl-vs {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--wl-light-card);
  border: 1px solid var(--wl-light-line);
  box-shadow: 0 20px 60px rgba(7, 16, 31, 0.08);
}

.wl-vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 16px 18px;
  border-top: 1px solid var(--wl-light-line);
}

.wl-vs-row:first-child {
  border-top: 0;
}

.wl-vs-row [role="rowheader"] {
  font-family: var(--wl-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wl-light-dim);
}

.wl-vs-row [role="cell"]:nth-child(2) {
  color: #8a94a6;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 109, 0.6);
}

.wl-vs-row [role="cell"]:nth-child(2)::before {
  content: "Other apps: ";
  text-decoration: none;
  display: inline;
  font-weight: 600;
}

.wl-vs-row [role="cell"]:nth-child(3) {
  color: var(--wl-light-ink);
  font-weight: 700;
}

.wl-vs-head {
  display: none;
}

@media (min-width: 760px) {
  .wl-vs-row {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 20px;
    align-items: center;
    padding: 20px 28px;
  }
  .wl-vs-head {
    display: grid;
    background: var(--wl-light-ink);
  }
  .wl-vs-head span {
    font-family: var(--wl-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
  }
  .wl-vs-head span:last-child {
    color: var(--wl-teal);
  }
  .wl-vs-row [role="cell"]:nth-child(2)::before {
    content: none;
  }
}

/* ── Ranks ladder ── */
.wl-ranks {
  overflow: hidden;
}

.wl-ranks::before {
  content: "";
  position: absolute;
  inset: 20% -10% auto;
  height: 60%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 92, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.wl-ladder {
  position: relative;
  list-style: none;
  margin: 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .wl-ladder {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .wl-ladder {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.wl-tier {
  --tier: #cd7f32;
  position: relative;
  padding: 18px 14px 16px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 16%, transparent), rgba(255, 255, 255, 0.02));
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px color-mix(in srgb, var(--tier) 35%, transparent);
}

.wl-tier-gem {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  transform: rotate(45deg);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--tier) 55%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--tier) 70%, transparent);
}

.wl-tier strong {
  display: block;
  font-family: var(--wl-display);
  font-stretch: 112%;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tier);
}

.wl-tier span {
  display: block;
  margin-top: 4px;
  font-family: var(--wl-mono);
  font-size: 11px;
  color: var(--wl-faint);
}

.wl-tier.is-mine {
  outline: 2px solid var(--tier);
  outline-offset: 3px;
}

/* ── Coach chat ── */
.wl-chat {
  padding: 18px;
  border-radius: 28px;
  background: var(--wl-bg);
  box-shadow: 0 30px 80px rgba(7, 16, 31, 0.25);
}

.wl-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wl-line);
}

.wl-chat-head strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.wl-chat-head span {
  font-family: var(--wl-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wl-faint);
}

.wl-chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wl-grad);
  color: #fff;
  font-family: var(--wl-display);
  font-weight: 900;
}

.wl-chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 16px 0;
}

.wl-bubble {
  max-width: 86%;
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  animation: wl-rise 0.35s ease both;
}

.wl-bubble-user {
  align-self: flex-end;
  background: var(--wl-cobalt);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.wl-bubble-coach {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--wl-ink);
  border-bottom-left-radius: 6px;
}

.wl-typing {
  display: inline-flex;
  gap: 4px;
}

.wl-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wl-faint);
  animation: wl-blink 1s infinite;
}

.wl-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.wl-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes wl-blink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@keyframes wl-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wl-chat-next {
  width: 100%;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  border-color: var(--wl-line) !important;
}

/* ── FAQ ── */
.wl-faq {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.wl-faq details {
  border-radius: 18px;
  border: 1px solid var(--wl-line);
  background: var(--wl-card);
  overflow: hidden;
}

.wl-faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.wl-faq summary::-webkit-details-marker {
  display: none;
}

.wl-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--wl-mono);
  font-size: 20px;
  color: var(--wl-teal);
  transition: transform 0.2s ease;
}

.wl-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.wl-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Final CTA ── */
.wl-final {
  border-top: 1px solid var(--wl-line);
  background: radial-gradient(60% 80% at 50% 100%, rgba(61, 123, 255, 0.25), transparent 70%);
}

.wl-final-title {
  margin: 0 0 32px;
  color: #fff;
  font-size: clamp(38px, 8vw, 96px);
  letter-spacing: 0;
}

/* Room under the footer for the sticky mobile CTA (waitlist only) */
@media (max-width: 899px) {
  .waitlist-page footer.wl-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}

/* ── Sticky mobile CTA ── */
.wl-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px var(--wl-gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(7, 16, 31, 0.92) 35%);
  transform: translateY(110%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.wl-sticky .wl-btn {
  width: 100%;
  min-height: 54px;
}

.wl-sticky.is-visible {
  transform: none;
  pointer-events: auto;
}

@media (min-width: 900px) {
  .wl-sticky {
    display: none;
  }
}

/* ── JS-only controls / reveal ── */
.no-js .js-only {
  display: none !important;
}

.js .reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js.reveal-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .wl-bg-orb,
  .wl-chip,
  .wl-submit,
  .wl-shield.is-popping,
  .wl-bubble,
  .wl-typing i {
    animation: none !important;
  }
  .js.reveal-ready .reveal:not(.is-in) {
    opacity: 1;
    transform: none;
  }
  .wl-btn,
  .wl-tier,
  .wl-progress-bar,
  .wl-sticky {
    transition: none;
  }
}

/* ── v3: email-only form, founding counter, name-after-join ── */
.wl-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.wl-email-row input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 8, 18, 0.75);
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.wl-email-row input:focus {
  outline: none;
  border-color: rgba(0, 245, 200, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 245, 200, 0.14);
}

.wl-email-row .wl-submit {
  width: 100%;
  margin-top: 0;
  padding: 0 24px;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .wl-email-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .wl-email-row .wl-submit {
    width: auto;
  }
}

.wl-account-fields {
  display: grid;
  gap: 0 12px;
  margin-top: 14px;
}

@media (min-width: 520px) {
  .wl-account-fields {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.wl-mode-link {
  margin-top: 6px;
}

.wl-founding {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--wl-dim) !important;
}

.wl-founding b {
  color: #fff;
  font-family: var(--wl-mono);
}

/* Two-line text block next to the dot */
.wl-founding-text b,
.wl-founding-text .wl-founding-sub {
  display: block;
}

.wl-founding-center {
  justify-content: center;
  margin-top: 20px;
}

.wl-founding::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wl-teal);
  box-shadow: 0 0 0 0 rgba(0, 245, 200, 0.6);
  animation: wl-ping 1.8s ease-out infinite;
}

@keyframes wl-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 245, 200, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(0, 245, 200, 0);
  }
}

.wl-name-save {
  margin-top: 16px;
}

.wl-name-save .wl-small {
  margin: 0;
}

.wl-wave {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 200, 0.28);
  background: rgba(0, 245, 200, 0.07);
  font-size: 14px;
  color: #c6fff3 !important;
}

.wl-wave:empty {
  display: none;
}

.wl-phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .wl-founding::before {
    animation: none;
  }
}

.wl-founding-text b {
  font-family: inherit;
  font-weight: 700;
}

/* Bottom-of-page founding line.
   Phone (default): two stacked lines, same as the top line.
   Browser (≥768px): one row with a middle-dot separator. */
.wl-founding-sep {
  display: none;
  margin: 0 4px;
  white-space: pre;
  color: rgba(245, 248, 255, 0.45);
  font-weight: 900;
  font-size: 1.35em;
  line-height: 0;
  vertical-align: -0.08em;
}

@media (min-width: 768px) {
  .wl-founding-text.is-responsive b,
  .wl-founding-text.is-responsive .wl-founding-sub {
    display: inline;
  }
  .wl-founding-text.is-responsive .wl-founding-sep {
    display: inline;
  }
  .wl-founding-text.is-responsive .wl-founding-period {
    display: none;
  }
}

.wl-founding-center .wl-founding-text {
  text-align: center;
}

/* Phones: keep "The top 2,500 get the first launch invite." on one line inside the form card
   (no orphaned "invite."); balance as a fallback on very narrow screens. */
@media (max-width: 419px) {
  .wl-panel {
    padding: 18px;
  }
  .wl-founding {
    gap: 8px;
  }
  .wl-founding-sub {
    font-size: 13px;
    text-wrap: balance;
  }
}

