:root {
  color-scheme: dark;
  --bg: #050505;
  --card: #0f0f12;
  --border: #1f1f24;
  --muted: #a2a2ad;
  --text: #f8f8f9;
  --accent: #b91c1c;
  --accent-glow: rgba(185, 28, 28, 0.4);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(185, 28, 28, 0.15), transparent 55%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.subhead {
  color: var(--muted);
  max-width: 48rem;
  margin: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.field-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

input,
select,
textarea {
  background: #111117;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.consent {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.primary-button {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.35);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.status {
  min-height: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.status.success {
  color: #22c55e;
}

.status.error {
  color: #f87171;
}

.support {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  color: var(--muted);
}

.support a {
  color: var(--text);
  text-decoration: none;
}

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

@media (max-width: 600px) {
  .card {
    padding: 1.5rem;
  }
}
