:root {
  --ink: #1b2a4a;
  --paper: #f7f5f2;
  --accent: #c8532b;
  --accent-dark: #9c3f20;
  --success: #2a6b3f;
  --error: #a13326;
  --line: #d8d2c8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  max-width: 460px;
  width: 100%;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

h1 {
  font-size: 32px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.lede {
  margin: 0 0 24px;
  font-size: 16px;
}

form {
  display: flex;
  gap: 8px;
}

input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

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

button {
  flex: 0 0 auto;
  padding: 11px 20px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover { background: var(--accent-dark); }
button[disabled] { opacity: 0.6; cursor: wait; }

.message { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; }
.message.success { color: var(--success); }
.message.duplicate, .message.error { color: var(--error); }

.footnote {
  margin: 20px 0 0;
  font-size: 13px;
  color: #5c5a54;
  font-family: Arial, Helvetica, sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .card { padding: 24px; }
  form { flex-direction: column; }
  button { width: 100%; }
}
