:root {
  --beta-bg: #0f172a;
  --beta-card: #ffffff;
  --beta-muted: #94a3b8;
  --beta-primary: #2563eb;
  --beta-success: #22c55e;
  --beta-error: #ef4444;
}

body.beta {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.25), transparent 55%),
    var(--beta-bg);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.beta-page {
  width: 100%;
  max-width: 640px;
}

.beta-card {
  background: var(--beta-card);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
}

@media (max-width: 640px) {
  .beta-card {
    padding: 32px 24px;
  }
}

.beta-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--beta-muted);
  margin: 0 0 8px 0;
}

.beta-header h1 {
  margin: 0 0 12px 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.beta-header .lead {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.beta-form {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}

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

.field label {
  font-weight: 600;
  color: #0f172a;
}

.field input,
.field textarea {
  border: 1px solid #cbd5f5;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--beta-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--beta-primary);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.beta-alert {
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 600;
  line-height: 1.4;
}

.beta-alert--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.beta-alert--error {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.footnote {
  margin: 8px 0 0 0;
  color: #64748b;
  font-size: 14px;
}

.footnote a {
  color: var(--beta-primary);
  text-decoration: none;
}

.footnote a:hover {
  text-decoration: underline;
}
