:root {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background: #f5f6fb;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #e0edff 0, #f5f6fb 60%);
  padding: 2rem 1rem;
}

main.page {
  width: min(900px, 100%);
}

.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  padding: clamp(1.5rem, 4vw, 3rem);
}

header {
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #475467;
  margin: 0 0 0.4rem;
}

h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.lead {
  margin: 0;
  color: #475467;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.field-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

input,
select,
button {
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  padding: 0.85rem 1rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
button:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

button {
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  font-weight: 600;
  margin-top: 0.5rem;
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

#form-message {
  min-height: 1.5rem;
  color: #b42318;
  font-weight: 500;
  margin: 0;
}

#form-message.success {
  color: #027a48;
}

.note {
  margin: -0.5rem 0 0;
  font-size: 0.9rem;
  color: #475467;
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  .card {
    border-radius: 16px;
    padding: 1.5rem;
  }
}
