:root {
  --bg: #f6f4ef;
  --fg: #1b1a17;
  --muted: #5d5a52;
  --card: #ffffff;
  --line: #d9d4c7;
  --accent: #c2410c;
  --accent-fg: #ffffff;
  --ok: #166534;
  --err: #b91c1c;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f;
    --fg: #ece8de;
    --muted: #a39e91;
    --card: #1f1d18;
    --line: #3a372f;
    --accent: #fb923c;
    --accent-fg: #14130f;
    --ok: #4ade80;
    --err: #f87171;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 36rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
.eyebrow {
  margin: 0 0 .5rem;
  font: 600 .8rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.lede { font-size: 1.2rem; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); }

/* The signup card is styled as a ticket stub: dashed perforation on the left edge. */
.ticket {
  margin: 2rem 0 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px dashed var(--accent);
  border-radius: 12px;
}
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .35rem; }
.row { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 30rem) { .row { flex-direction: row; } }
input[type="email"] {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: .7rem .8rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: .8rem 1.3rem;
  color: var(--accent-fg);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: progress; }
button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.consent { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.status { margin: .75rem 0 0; font-weight: 600; }
.status.success { color: var(--ok); }
.status.error { color: var(--err); }
.fine { font-size: .85rem; color: var(--muted); }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
