/* Briefs Waitlist Page (/i/waiting-list) — aligned with Briefs 2026 landing system */
:root {
  --wl-ink: #0B0F19;
  --wl-muted: #5B6476;
  --wl-accent: #0B5FFF;
  --wl-accent-dark: #0047D6;
  --wl-accent-soft: #EEF4FF;
  --wl-accent-line: #D6E4FF;
  --wl-surface: #FFFFFF;
  --wl-surface-2: #F8FAFC;
  --wl-border: rgba(11, 15, 25, 0.10);
  --wl-border-strong: rgba(11, 15, 25, 0.16);
  --wl-serif: 'Playfair Display', Georgia, serif;
  --wl-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --wl-mono: 'DM Mono', ui-monospace, SFMono-Regular, monospace;
}

.wl-page {
  font-family: var(--wl-sans);
  color: var(--wl-ink);
  background:
    radial-gradient(760px 440px at 88% 8%, rgba(11, 95, 255, 0.08), transparent 68%),
    radial-gradient(560px 380px at 8% 14%, rgba(11, 95, 255, 0.045), transparent 68%),
    #FFFFFF;
  padding-top: 84px;
  padding-bottom: 84px;
}

.wl-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Split ─────────────────────────────────────────────────────────── */
.wl-hero {
  padding: 40px 0 64px;
}

.wl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: start;
}

.wl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--wl-accent-soft);
  border: 1px solid var(--wl-accent-line);
  font-family: var(--wl-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--wl-accent);
}

.wl-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wl-accent);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.18);
}

.wl-title {
  margin: 20px 0 0;
  font-family: var(--wl-serif);
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--wl-ink);
}

.wl-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--wl-accent);
}

.wl-lead {
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--wl-muted);
  max-width: 540px;
}

.wl-lead strong {
  color: var(--wl-ink);
  font-weight: 600;
}

.wl-bullets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.wl-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #334155;
}

.wl-bullet-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--wl-accent-soft);
  color: var(--wl-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.wl-bullets strong {
  color: var(--wl-ink);
  font-weight: 600;
}

.wl-invited-bar {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--wl-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.875rem;
  color: var(--wl-muted);
}

.wl-invited-bar a {
  color: var(--wl-accent);
  font-weight: 600;
  text-decoration: none;
}

.wl-invited-bar a:hover {
  text-decoration: underline;
}

/* ── Waitlist Form Card ─────────────────────────────────────────────────── */
.wl-card {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow:
    0 24px 56px -20px rgba(11, 15, 25, 0.14),
    0 4px 14px -4px rgba(11, 95, 255, 0.06);
}

.wl-card__head {
  margin-bottom: 20px;
}

.wl-card__title {
  margin: 0;
  font-family: var(--wl-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--wl-ink);
  letter-spacing: -0.02em;
}

.wl-card__sub {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wl-muted);
}

.wl-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.76rem;
  font-weight: 600;
}

.wl-form {
  display: grid;
  gap: 15px;
}

.wl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wl-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
}

.wl-input,
.wl-select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--wl-border-strong);
  background: #FFFFFF;
  color: var(--wl-ink);
  font-family: var(--wl-sans);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wl-input:focus,
.wl-select:focus {
  outline: none;
  border-color: var(--wl-accent);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.12);
}

.wl-input.is-invalid {
  border-color: #DC2626;
}

.wl-field-error {
  font-size: 0.78rem;
  font-weight: 500;
  color: #DC2626;
}

.wl-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--wl-surface-2);
  border: 1px solid var(--wl-border);
  cursor: pointer;
  user-select: none;
}

.wl-check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--wl-accent);
  cursor: pointer;
}

.wl-check span {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #1E293B;
}

.wl-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 500;
}

.wl-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.wl-alert--success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.wl-alert--warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.wl-alert--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.wl-submit {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 11px;
  background: var(--wl-ink);
  color: #FFFFFF;
  font-family: var(--wl-sans);
  font-size: 0.94rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

.wl-submit:hover {
  background: var(--wl-accent);
}

.wl-submit:active {
  transform: scale(0.99);
}

.wl-submit.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.wl-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  animation: wlSpin 0.8s linear infinite;
}

@keyframes wlSpin {
  to { transform: rotate(360deg); }
}

.wl-card__fine {
  margin: 14px 0 0;
  font-size: 0.77rem;
  line-height: 1.5;
  color: var(--wl-muted);
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.wl-section {
  padding: 56px 0;
  border-top: 1px solid var(--wl-border);
}

.wl-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 38px;
}

.wl-section__eyebrow {
  font-family: var(--wl-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wl-accent);
}

.wl-section__title {
  margin: 8px 0 0;
  font-family: var(--wl-serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wl-ink);
  line-height: 1.15;
}

.wl-section__sub {
  margin: 10px 0 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--wl-muted);
}

/* 6-card Capabilities Grid */
.wl-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wl-cap-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.wl-cap-card:hover {
  border-color: var(--wl-accent-line);
  box-shadow: 0 12px 28px -12px rgba(11, 15, 25, 0.10);
  transform: translateY(-2px);
}

.wl-cap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--wl-accent-soft);
  color: var(--wl-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.wl-cap-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wl-ink);
}

.wl-cap-card p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--wl-muted);
}

.wl-cap-tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--wl-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--wl-surface-2);
  border: 1px solid var(--wl-border);
  color: #334155;
}

/* 4-step Workflow */
.wl-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.wl-step {
  padding: 20px;
  border-radius: 14px;
  background: var(--wl-surface-2);
  border: 1px solid var(--wl-border);
}

.wl-step__num {
  font-family: var(--wl-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--wl-accent);
}

.wl-step h3 {
  margin: 8px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--wl-ink);
}

.wl-step p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--wl-muted);
}

/* Beta Perks + Founder Note */
.wl-split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.wl-panel {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--wl-border);
  background: var(--wl-surface);
}

.wl-panel--dark {
  background: var(--wl-ink);
  border-color: var(--wl-ink);
  color: #FFFFFF;
}

.wl-panel h2 {
  margin: 0;
  font-family: var(--wl-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.wl-panel p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--wl-muted);
}

.wl-panel--dark p {
  color: #CBD5E1;
}

.wl-perks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.wl-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wl-perks .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
}

.wl-signature {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--wl-border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--wl-ink);
}

.wl-signature span {
  display: block;
  font-weight: 400;
  color: var(--wl-muted);
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .wl-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wl-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wl-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wl-split-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wl-page {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .wl-hero {
    padding: 24px 0 44px;
  }

  .wl-card {
    padding: 22px 18px;
  }

  .wl-cap-grid,
  .wl-steps {
    grid-template-columns: 1fr;
  }
}
