:root {
  color-scheme: light;
  --background: #F3EEE4;
  --ink: #111111;
  --charcoal: #1E1E1E;
  --muted: #1E1E1E;
  --line: rgba(220, 37, 0, 0.2);
  --panel: rgba(255, 253, 247, 0.9);
  --accent: #DC2500;
  --accent-ink: #F3EEE4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    linear-gradient(rgba(220, 37, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 37, 0, 0.055) 1px, transparent 1px),
    var(--background);
  background-size: 72px 72px;
  color: var(--ink);
  margin: 0;
  overflow-x: hidden;
}

#field {
  height: 100%;
  inset: 0;
  position: fixed;
  width: 100%;
  z-index: 0;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  display: block;
  height: auto;
  width: 142px;
}

.signal {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 9px 13px;
}

.hero {
  align-items: flex-start;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 820px;
  padding: 80px 0 72px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 900px;
}

.subcopy {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.55;
  margin: 30px 0 0;
  max-width: 620px;
}

.waitlist {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-top: 38px;
  max-width: 560px;
  padding: 8px;
  width: 100%;
}

input {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  min-width: 0;
  outline: none;
  padding: 0 12px;
}

input::placeholder {
  color: #9b8677;
}

button {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: var(--accent-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

button:disabled {
  cursor: default;
  opacity: 0.62;
}

.form-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  min-height: 20px;
  margin: 12px 0 0;
}

.hints {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 22px;
}

.hints span {
  color: rgba(220, 37, 0, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

@media (max-width: 720px) {
  .page {
    padding: 22px 18px;
  }

  .signal {
    display: none;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .waitlist {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  button {
    width: 100%;
  }

  .hints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
