:root {
  --bg: #f7f6f3;
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --line: #d8d4cc;
  --card: #ffffff;
  --accent: #1c2b3a;
  --accent-hover: #0f1822;
  --focus: #2a5a8c;
  --ok: #1e5a3a;
  --err: #8a1f1f;
  --radius: 6px;
  --max: 38rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.subhead {
  margin: 0;
  font-size: clamp(1.125rem, 2.6vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.support {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.support p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.support em {
  font-style: italic;
}

.capture {
  margin-top: 2.25rem;
  padding: 1.5rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.form label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #b8b3a9;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form input[type="email"]::placeholder {
  color: #8a857c;
}

.form input[type="email"]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.form button {
  flex: 0 0 auto;
  padding: 0.75rem 1.15rem;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.form button:hover {
  background: var(--accent-hover);
}

.form button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.privacy {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.form-status {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status.is-ok {
  background: #e8f3ec;
  color: var(--ok);
  border: 1px solid #b7d4c2;
}

.form-status.is-err {
  background: #f8eaea;
  color: var(--err);
  border: 1px solid #e0b8b8;
}

.form-status[hidden] {
  display: none;
}

.amazon {
  margin-top: 1.75rem;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-amazon:hover {
  background: var(--ink);
  color: #fff;
}

.btn-amazon:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.footer em {
  font-style: italic;
  color: var(--ink);
}

@media (max-width: 480px) {
  .page {
    width: min(100% - 1.75rem, var(--max));
    padding: 2.5rem 0 3rem;
  }

  .row {
    flex-direction: column;
  }

  .form button {
    width: 100%;
  }
}
