*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #000;
  --paper: #fff;
  --muted: #6b6b6b;
  --line: #000;
  --error: #b00020;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

a {
  color: inherit;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
  text-align: center;
}

.logo {
  margin: 0;
  width: min(420px, 78vw);
  line-height: 0;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.tagline {
  display: flex;
  gap: 0.75em;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.waitlist {
  width: min(420px, 100%);
}

.row {
  display: flex;
  border: 1px solid var(--line);
}

.row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}

.row input::placeholder {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.row input:focus {
  outline: none;
}

.row:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.row button {
  flex: none;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.row button:hover {
  background: #222;
}

.row button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -5px;
}

.row button[disabled] {
  cursor: progress;
  background: #444;
}

.waitlist.is-done .row {
  display: none;
}

.turnstile:empty {
  display: none;
}

.turnstile {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status.is-error {
  color: var(--error);
}

.waitlist.is-done .status {
  font-size: 14px;
}

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

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

.footer {
  padding: 24px 20px 28px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 10px;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.footer a[href^="mailto:"] {
  text-transform: none;
  letter-spacing: 0.02em;
}

.footer p {
  margin: 0;
}

/* Text pages (privacy, 404) */
.page {
  flex: 1;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 40px 20px 24px;
}

.page .home {
  display: inline-block;
  width: 140px;
  line-height: 0;
  margin-bottom: 40px;
}

.page .home img {
  width: 100%;
  height: auto;
}

.page h1 {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.page h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 32px 0 8px;
}

.page p,
.page li {
  font-size: 14px;
  line-height: 1.65;
}

.page .meta {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 24px;
}
