@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format('woff2');
}

:root {
  --bg: #0c0d0f;
  --surface: #12141a;
  --line: #22252a;
  --line-strong: #33373e;
  --fg: #e8e6df;
  --fg-soft: #c9c7bf;
  --muted: #8a8d94;
  --faint: #5b5f66;
  --accent: #c8ff3d;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --display: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 12px/1.5 var(--mono);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 720px; margin: 0 auto; }

/* nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px 12px;
}
.logo { font: 700 14px var(--mono); letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--accent); }

/* sections */
.section { padding: 28px 20px; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.label { color: var(--muted); margin-bottom: 12px; }
.link-accent { color: var(--accent); text-decoration: none; }
.link-accent:hover { text-decoration: underline; }

/* hero */
.hero { padding-top: 28px; padding-bottom: 24px; }
.kicker { color: var(--accent); margin-bottom: 18px; }
.hero h1 {
  margin: 0;
  font: 700 54px/0.95 var(--display);
  letter-spacing: -0.04em;
}

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font: 700 14px var(--mono);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}
.btn:hover { color: var(--bg); filter: brightness(1.08); }
.btn.center { justify-content: center; }

.lede { margin: 0; font: 500 17px/1.45 var(--display); text-wrap: pretty; }

/* register */
.muted-p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.form { display: flex; flex-direction: column; gap: 8px; }
.input {
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--fg);
  font: 13px var(--mono);
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.field em { font-style: normal; color: var(--faint); }
.form .btn { margin-top: 8px; }
.btn:disabled { opacity: .6; cursor: wait; }
.hero-lede { margin-top: 24px; color: var(--fg-soft); }
.hero-date { margin-top: 16px; color: var(--accent); }
.hero-communities { margin: 12px 0 0; color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.privacy { margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: var(--faint); }
.privacy a { color: var(--muted); }
.form-note { min-height: 1.5em; color: var(--accent); }
.footer { margin-top: 32px; font-size: 11px; line-height: 1.6; color: var(--faint); }
.footer a { color: var(--faint); }

/* wider screens */
@media (min-width: 640px) {
  .nav { padding-top: 32px; }
  .hero h1 { font-size: 88px; }
}
