/* Deliberately plain. System fonts, one accent color, no framework. */

:root {
  --bg: #fbfaf7;
  --fg: #1c1c1a;
  --muted: #5f5e59;
  --accent: #b23a2e;
  --rule: #e2dfd6;
  --max: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --fg: #ecebe6;
    --muted: #a09e96;
    --accent: #e0655a;
    --rule: #2c2c29;
  }
}

* { box-sizing: border-box; }

html { font-size: 112.5%; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

header, main, footer {
  max-width: var(--max);
  margin: 0 auto;
}

header { padding: 4rem 0 2rem; }

/* Reads as a shell prompt: lowercase, mono, no letter-spacing. The muted
   `:~$` is what sells it; the name alone just looks like an email address. */
.brand {
  margin: 0 0 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  color: var(--fg);
}

.brand .prompt {
  color: var(--muted);
}

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

h2 {
  font-size: 1.35rem;
  margin: 3rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.25rem;
}

p, li { margin: 0 0 1rem; }

.lede { font-size: 1.2rem; color: var(--muted); }

/* The one status line on the page: says plainly how early this is. */
.phase {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

ul { padding-left: 1.25rem; }

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

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  border-radius: 3px;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
  margin: 1rem 0;
}

.signup label { flex-basis: 100%; font-size: 0.85rem; color: var(--muted); }

.signup input[type=email] {
  flex: 1 1 14rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--bg);
  color: var(--fg);
}

.signup button {
  padding: 0.6rem 1.1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note { color: var(--accent); }

.small { font-size: 0.85rem; color: var(--muted); }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}
