:root {
  --bg: #f6f4ef;
  --fg: #1c1b19;
  --muted: #5f5c55;
  --line: #d6d2c8;
  --accent: #8a3b12;
  --field: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151514;
    --fg: #ecebe6;
    --muted: #a5a298;
    --line: #3a3935;
    --accent: #e39a6c;
    --field: #1e1e1c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, "Iowan Old Style", "Charter", "Georgia", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
main {
  flex: 1;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 8rem) 1rem 2rem;
}
.eyebrow, label, button, input, footer, .note, #status {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.lead { font-size: 1.3rem; line-height: 1.5; }
p { margin: 0 0 1.1rem; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; }
.note { font-size: 0.95rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 0.75rem; }
form { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
form > label { display: block; font-size: 0.95rem; margin-bottom: 0.6rem; }
.row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  color: var(--fg);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
}
button {
  flex: 0 0 auto;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  color: var(--bg);
  background: var(--fg);
  border: 1px solid var(--fg);
  border-radius: 6px;
  cursor: pointer;
}
button[disabled] { opacity: 0.6; cursor: default; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#status { min-height: 1.5em; margin-top: 0.75rem; font-size: 0.95rem; color: var(--muted); }
#status.error { color: var(--accent); }
footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { button { transition: opacity 0.15s; } }
