:root {
  --hero-base: #04050c;
  --heading: #eef0f6;
  --body-muted: #b9becf;
  --on-media: #ffffff;
  --action-inverse: #ffffff;
  --action-inverse-fg: #2f2f33;
  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.16);
  --scrim: rgba(4, 5, 12, 0.46);
  --scrim-strong: rgba(4, 5, 12, 0.68);
  --scrim-soft: rgba(4, 5, 12, 0.12);
  --duration-fast: 150ms;
  --ease-entrance: cubic-bezier(0.2, 0, 0, 1);
}

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

@media (max-width: 1920px) {
  html { font-size: 0.833333vw; }
}

@media (max-width: 1440px) {
  html { font-size: 1.111111vw; }
}

@media (max-width: 1024px) {
  html { font-size: 1.5625vw; }
}

@media (max-width: 640px) {
  html { font-size: 4.444444vw; }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

input {
  font: inherit;
  border: none;
  outline: none;
}

body {
  font-family: "Onest", sans-serif;
  font-weight: 400;
  background: var(--hero-base);
  color: var(--heading);
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100lvh;
  width: 100vw;
  overflow: hidden;
  background: var(--hero-base);
  text-align: center;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 0 2.5rem;
  }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    115% 95% at 50% 46%,
    var(--scrim-strong) 0%,
    var(--scrim-strong) 24%,
    var(--scrim) 52%,
    var(--scrim-soft) 100%
  );
}

.hero-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance);
}

.hero-header.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-header {
    padding: 1.75rem 2.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--on-media);
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .brand {
    font-size: 1.375rem;
  }
}

.brand-glyph {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  stroke: currentColor;
}

@media (min-width: 640px) {
  .brand-glyph {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.nav-pill {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3rem;
  align-items: center;
  gap: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .nav-pill {
    display: flex;
  }
}

.nav-pill a {
  font-size: 0.95rem;
  color: var(--body-muted);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-entrance);
}

.nav-pill a:hover {
  color: var(--heading);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--action-inverse);
  padding: 0 1.125rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--action-inverse-fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background var(--duration-fast) var(--ease-entrance);
}

@media (min-width: 640px) {
  .pill {
    height: 2.75rem;
    padding: 0 1.375rem;
    font-size: 0.95rem;
  }
}

.pill:hover {
  background: rgba(255, 255, 255, 0.85);
}

.pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.hero-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 640px) {
  .hero-center {
    max-width: 40rem;
  }
}

@media (min-width: 1024px) {
  .hero-center {
    max-width: 52rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 0.4rem 0.875rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--body-muted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance);
}

.badge.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .badge {
    font-size: 0.8rem;
  }
}

.hero-heading {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-align: center;
}

@media (min-width: 640px) {
  .hero-heading {
    margin-top: 1.75rem;
    max-width: 34rem;
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    max-width: 46rem;
    font-size: 5rem;
  }
}

.hero-heading .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms cubic-bezier(0.33, 1, 0.68, 1),
              transform 720ms cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-heading.is-in .word {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body-muted);
}

@media (min-width: 640px) {
  .hero-sub {
    margin-top: 1.25rem;
    max-width: 34rem;
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .hero-sub {
    max-width: none;
    font-size: 1.2rem;
  }
}

.hero-sub .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.33, 1, 0.68, 1),
              transform 600ms cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-sub.is-in .word {
  opacity: 1;
  transform: translateY(0);
}

.waitlist {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance);
}

.waitlist.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .waitlist {
    margin-top: 2.5rem;
  }
}

.waitlist-form {
  width: 37rem;
  max-width: 100%;
}

.waitlist-bar {
  display: flex;
  align-items: center;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding-left: 1.25rem;
  padding-right: 0.35rem;
}

@media (min-width: 640px) {
  .waitlist-bar {
    height: 4rem;
    padding-left: 1.5rem;
    padding-right: 0.4rem;
  }
}

.waitlist-bar input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  color: var(--heading);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .waitlist-bar input[type="email"] {
    font-size: 1.15rem;
  }
}

.waitlist-bar input[type="email"]::placeholder {
  color: var(--body-muted);
}

.hero-footer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  font-size: 0.72rem;
  color: var(--body-muted);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance);
}

.hero-footer.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero-footer {
    padding: 1.5rem 2.5rem;
    font-size: 0.8rem;
  }
}
