:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --line: #d1d5db;
  --accent: #00a86b;
  --accent-dark: #047857;
  --surface: #f8fafc;
  --error: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

.page {
  min-height: 100vh;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 48px 20px;
}

.hero__content {
  width: min(680px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.copy {
  max-width: 540px;
  margin: 20px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.form {
  max-width: 560px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: white;
}

button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: white;
  background: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
}

.message[data-state="success"] {
  color: var(--accent-dark);
}

.message[data-state="error"] {
  color: var(--error);
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
