:root {
  color-scheme: light;
  --canvas: #f7f1e7;
  --canvas-deep: #efe1cf;
  --ink: #111316;
  --ink-soft: #3b3f45;
  --stroke: #ded2bf;
  --cloud: rgba(255, 255, 255, 0.76);
  --sun: #f6c445;
  --pulse: #ff6b35;
  --lume: #1fbfba;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 196, 69, 0.45), transparent 18rem),
    radial-gradient(circle at 84% 18%, rgba(255, 107, 53, 0.32), transparent 20rem),
    radial-gradient(circle at 72% 88%, rgba(31, 191, 186, 0.28), transparent 18rem),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100dvh;
  padding: clamp(18px, 4vw, 48px);
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  content: "";
  pointer-events: none;
  border-radius: 999px;
}

.page-shell::before {
  width: min(44vw, 520px);
  aspect-ratio: 1;
  right: -9vw;
  bottom: -20vh;
  background: var(--ink);
  opacity: 0.94;
}

.page-shell::after {
  width: min(28vw, 320px);
  aspect-ratio: 1;
  left: -7vw;
  top: -10vh;
  border: clamp(18px, 4vw, 44px) solid rgba(255, 107, 53, 0.42);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(18px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 clamp(14px, 2vh, 22px);
  padding: 9px 13px;
  border: 1px solid rgba(17, 19, 22, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(4.8rem, 14vw, 11rem);
  line-height: 0.74;
  letter-spacing: -0.1em;
  text-transform: uppercase;
}

.intro {
  max-width: 600px;
  margin: clamp(18px, 3vh, 30px) 0 0;
  color: rgba(17, 19, 22, 0.7);
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
}

.waitlist-card {
  display: grid;
  gap: clamp(12px, 2.2vh, 20px);
  width: 100%;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(17, 19, 22, 0.1);
  border-radius: 30px;
  background: var(--cloud);
  box-shadow: 0 24px 70px rgba(17, 19, 22, 0.14);
  backdrop-filter: blur(18px);
}

.form-header span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(31, 191, 186, 0.16);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.form-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.form-header p {
  margin: 10px 0 0;
  color: rgba(17, 19, 22, 0.62);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  font-weight: 600;
  line-height: 1.45;
}

.form-fields {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-width: 0;
  height: clamp(48px, 7vh, 58px);
  border: 1px solid rgba(17, 19, 22, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 700;
  outline: none;
}

input:focus {
  border-color: var(--pulse);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.14);
}

button {
  width: 100%;
  height: clamp(50px, 7vh, 60px);
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px rgba(17, 19, 22, 0.24);
}

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

.form-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(16px, 3vh, 28px);
  }

  h1 {
    font-size: clamp(4.1rem, 22vw, 7rem);
  }

  .intro {
    max-width: 34rem;
  }

  .waitlist-card {
    max-width: 520px;
  }
}

@media (max-width: 420px), (max-height: 700px) {
  .page-shell {
    padding: 14px;
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 7px 10px;
    letter-spacing: 0.18em;
  }

  h1 {
    font-size: clamp(3.2rem, 19vw, 4.8rem);
  }

  .intro {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .waitlist-card {
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
  }

  .form-header p {
    display: none;
  }
}
