:root {
  --ink: #22303f;
  --ink-soft: #5b6a79;
  --paper: #f7f4ee;
  --card: #ffffff;
  --accent: #b0522a;
  --accent-dark: #8f3f1d;
  --ok: #2f6b3c;
  --line: #e2ddd4;
  --danger: #a33a2e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(34, 48, 63, 0.07);
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  font-weight: bold;
}

h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.lede {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 17px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--card);
}

input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

button:hover { background: var(--accent-dark); }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
button:disabled { opacity: 0.6; cursor: wait; }

.message { margin: 12px 0 0; font-size: 15px; min-height: 1.4em; }
.message.error { color: var(--danger); }
.message.ok { color: var(--ok); }
.message.info { color: var(--ink-soft); }

@media (max-width: 480px) {
  .card { padding: 28px 22px; }
  h1 { font-size: 28px; }
  .row { flex-direction: column; }
  button { width: 100%; }
}
