:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #1e1e1e;
  --text-muted: #757575;
  --border: #d9d9d9;
  --danger: #c5221f;
  --positive: #02542d;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.page {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(440px, 100%);
  height: auto;
  object-fit: contain;
  margin-bottom: 28px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.lede {
  margin: 0 0 32px;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.waitlist {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.waitlist input[type="email"] {
  flex: 1 1 220px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.waitlist input[type="email"]:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.waitlist button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.waitlist button:hover {
  background: #303030;
}

.waitlist button:disabled {
  opacity: 0.6;
  cursor: wait;
}

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

.status {
  flex: 1 0 100%;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

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

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

.points {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.points li + li {
  margin-top: 8px;
}

.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;
}

@media (max-width: 640px) {
  h1 {
    font-size: 32px;
  }

  .waitlist {
    flex-direction: column;
  }

  .waitlist input[type="email"],
  .waitlist button {
    width: 100%;
    flex: none;
  }
}
