:root {
  --bg: #fafaf5;
  --ink: #2a2a2a;
  --muted: #6a6a6a;
  --accent: #b04d12;
  --field-bg: #ffffff;
  --field-border: #d4d4cc;
  --field-border-focus: #b04d12;
  --max-width: 36rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

header.brand {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--field-border);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.brand-tagline {
  font-size: 0.875rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1.25rem; font-size: 1.0625rem; }

p.lede { font-size: 1.125rem; color: var(--muted); }
p.fine-print { font-size: 0.875rem; color: var(--muted); }

form.signup {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 2rem 0 1rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-family: inherit;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 0.375rem;
  color: var(--ink);
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--field-border-focus);
  box-shadow: 0 0 0 3px rgba(176, 77, 18, 0.15);
}

button[type="submit"] {
  padding: 0.875rem 1.25rem;
  font-size: 1.0625rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.15s;
}

button[type="submit"]:hover { background: #913f0f; }

a { color: var(--accent); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9375em;
  background: rgba(0,0,0,0.04);
  padding: 0.1em 0.35em;
  border-radius: 0.25em;
}

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

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin-top: 0.25rem; }
