:root {
  color-scheme: light;
  --bg: radial-gradient(circle at top right, #e9f8ff, #fff9f1 50%, #f4f4fb 100%);
  --card: #ffffffd9;
  --stroke: #d9d5e4;
  --text: #242136;
  --muted: #6f6987;
  --accent: #0f8a76;
  --accent-strong: #0a6d5d;
  --danger: #b83b5e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.card {
  width: min(760px, 100%);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: clamp(1rem, 3vw, 1.8rem);
  box-shadow: 0 14px 38px #1d164114;
  backdrop-filter: blur(6px);
}

.header h1 {
  margin: 0.25rem 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.lead {
  margin: 0.2rem 0 1rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 0.85rem;
}

.panel {
  border: 1px solid var(--stroke);
  background: #ffffffbf;
  border-radius: 14px;
  padding: 0.85rem;
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #3d3654;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 0.56rem 0.66rem;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 8.5rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #72cdbf;
  border-color: transparent;
}

button {
  border: none;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  background: linear-gradient(135deg, var(--accent), #1ca48d);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px #0f8a7630;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.grid.two {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status {
  min-height: 1.25rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.status.error {
  color: var(--danger);
}

.status.success {
  color: var(--accent-strong);
}

.hidden {
  display: none;
}

@media (max-width: 720px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}
