:root {
  --cream: #fffdf8;
  --paper: #f4f2ec;
  --navy: #10213f;
  --ink: #18233a;
  --cobalt: #3157d5;
  --amber: #d99022;
  --teal: #2e9d8f;
  --line: #dddcd6;
  --muted: #667085;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background:
    radial-gradient(circle at 50% 48%, rgb(49 87 213 / 7%), transparent 30rem),
    linear-gradient(180deg, var(--cream), #f8f5ee);
  isolation: isolate;
}

.page-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.025;
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(49 87 213 / 8%);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::after {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0.4rem rgb(217 144 34 / 9%);
  content: "";
}

.ambient-one {
  top: -10rem;
  left: -8rem;
}

.ambient-one::after {
  right: 2.5rem;
  bottom: 3rem;
}

.ambient-two {
  right: -11rem;
  bottom: -11rem;
  width: 27rem;
  height: 27rem;
}

.ambient-two::after {
  top: 4rem;
  left: 2.5rem;
  background: var(--teal);
  box-shadow: 0 0 0 0.4rem rgb(46 157 143 / 9%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.8rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand img {
  width: 2.9rem;
  height: 2.9rem;
  filter: drop-shadow(0 0.35rem 0.8rem rgb(16 33 63 / 9%));
}

.hero {
  align-self: center;
  width: min(100%, 62rem);
  margin: clamp(3rem, 8vh, 6rem) auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.45rem;
  color: var(--cobalt);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0.25rem rgb(46 157 143 / 10%);
}

h1 {
  max-width: 58rem;
  margin: 0 auto;
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(3.15rem, 7.5vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.intro {
  max-width: 37rem;
  margin: clamp(1.5rem, 3vw, 2.1rem) auto 0;
  color: rgb(24 35 58 / 68%);
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.7;
}

.waitlist {
  display: grid;
  max-width: 42rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  padding: 0.45rem;
  border: 1px solid rgb(16 33 63 / 13%);
  border-radius: 1rem;
  background: rgb(255 253 248 / 84%);
  box-shadow: 0 1.5rem 4rem -2.2rem rgb(16 33 63 / 42%);
  backdrop-filter: blur(0.75rem);
}

.field {
  min-width: 0;
}

.field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.field input {
  width: 100%;
  height: 3.5rem;
  border: 0;
  border-radius: 0.72rem;
  outline: 0;
  padding: 0 1.1rem;
  color: var(--ink);
  background: transparent;
}

.field input::placeholder {
  color: rgb(24 35 58 / 38%);
}

.field input:focus-visible {
  box-shadow: inset 0 0 0 2px var(--cobalt);
}

.waitlist button {
  display: inline-flex;
  min-width: 12rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 0.72rem;
  padding: 0 1.35rem;
  color: var(--cream);
  background: var(--navy);
  box-shadow: 0 0.65rem 1.4rem -0.8rem rgb(16 33 63 / 75%);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.waitlist button:hover {
  background: #18315b;
  transform: translateY(-1px);
}

.waitlist button:focus-visible {
  outline: 3px solid rgb(49 87 213 / 35%);
  outline-offset: 3px;
}

.waitlist button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.waitlist button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 650;
}

.status[data-state="error"] {
  color: #b42318;
}

footer {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0.55rem;
  color: rgb(24 35 58 / 46%);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.event-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--amber);
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1.35rem;
  }

  .ambient {
    opacity: 0.65;
  }

  .hero {
    margin-block: 3rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }

  .intro {
    max-width: 29rem;
  }

  .waitlist {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .waitlist button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
