@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #1a1a1a;
  --muted: #595959;
  --rule: #d9d9d9;
  --blue: #2340ff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--ink); }
a:hover { color: var(--blue); }

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { display: block; }
.brand span {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.header-link { font-size: 16px; }

section { display: flex; flex-direction: column; gap: 16px; }

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }
p { margin: 0; }

.label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

form { display: flex; flex-direction: column; gap: 8px; }
form label { font-size: 15px; font-weight: 600; }
.field-row { display: flex; gap: 8px; flex-wrap: wrap; }
input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: 17px;
  background: #fff;
  color: var(--ink);
}
input[type="email"]:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
button {
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
.hint { font-size: 15px; color: var(--muted); }
.status { font-size: 16px; font-weight: 600; min-height: 1.6em; }
.status.error { color: #b00020; }

/* Honeypot: hidden from people, visible to naive bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.list { border-top: 1px solid var(--ink); }
.list p { padding: 14px 0; border-bottom: 1px solid var(--rule); }

.site-footer {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; }
