:root {
  --blue: #0773ef;
  --ink: #07111f;
  --muted: #5c6b7c;
  --faint: #8b97a6;
  --line: #e5eaf0;
  --page: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 520px 380px at 96% 38%, rgba(90, 160, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 680px 460px at 100% 72%, rgba(150, 196, 255, 0.2), transparent 68%),
    var(--page);
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 40px;
}

.wordmark {
  display: block;
  min-width: 0;
  line-height: 0;
}

.wordmark img {
  display: block;
  width: 167px;
  height: 36px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px 7px 10px;
  border: 1px solid #e8edf2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  color: #4b5568;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.hero {
  padding: 72px 40px 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 span {
  display: block;
  color: var(--blue);
}

.lede {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.5;
}

.waitlist {
  margin-top: 28px;
  max-width: 34rem;
}

.fields {
  display: flex;
  gap: 12px;
}

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

input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

input[type="email"]::placeholder {
  color: #9aa6b4;
}

input[type="email"]:focus {
  outline: 2px solid rgba(7, 115, 239, 0.28);
  border-color: #9ec4f8;
}

button {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.011em;
  white-space: nowrap;
  cursor: pointer;
}

button:hover {
  background: #0668d8;
}

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

.form-message {
  min-height: 0;
  margin: 0;
  color: #067647;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-message:empty {
  display: none;
}

.form-message.is-error {
  margin-top: 12px;
  color: #b42318;
  font-weight: 500;
}

.note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .site-header,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .wordmark img {
    width: 139px;
    height: 30px;
  }

  .hero {
    padding-top: 48px;
  }

  .status-pill {
    font-size: 0.8125rem;
  }

  .fields {
    flex-direction: column;
  }

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

  button {
    width: 100%;
  }
}
