:root {
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --field: rgba(255, 255, 255, 0.1);
  --violet: #6c28d9;
  --magenta: #c13695;
  --coral: #e16a5a;
  --ink: #25113c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1f1538;
}

button,
input,
select {
  font: inherit;
}

.hero,
.signup {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  place-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--violet), var(--magenta) 54%, var(--coral));
}

.hero::after,
.signup::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.join-waitlist {
  position: relative;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 11vw, 130px);
  line-height: 1;
}

h2 {
  font-size: clamp(20px, 10vw, 90px);
  line-height: 1;
}

.hero-copy {
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.scroll-link:hover {
  color: var(--white);
  transform: translateY(2px);
}

.scroll-link svg {
  width: 24px;
  height: 24px;
}

.timeline {
  position: relative;
  width: min(1060px, 92vw);
  height: 310px;
  opacity: 0.36;
  margin-top: 20px;
  filter: blur(0.1px);
}

.phase-labels,
.sprint-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.sprint-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.timeline-grid {
  position: absolute;
  inset: 34px 0 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-grid span {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lane,
.milestone {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 70px rgba(72, 10, 82, 0.24);
}

.lane {
  height: 38px;
  border-radius: 999px;
}

.lane-one {
  top: 74px;
  left: 7%;
  width: 28%;
}

.lane-two {
  top: 148px;
  left: 28%;
  width: 42%;
}

.lane-three {
  top: 222px;
  left: 56%;
  width: 30%;
}

.milestone {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.milestone-one {
  top: 117px;
  left: 46%;
}

.milestone-two {
  top: 192px;
  left: 78%;
}

.signup {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 62% 16%, rgba(214, 76, 154, 0.28), transparent 34%),
    linear-gradient(135deg, #3d2174, #2e174c 48%, #4d1c61);
}

.signup-inner {
  position: relative;
  z-index: 1;
  width: min(448px, 100%);
}

.signup header {
  margin-bottom: 32px;
}

.signup h2 {
  font-size: clamp(44px, 7vw, 54px);
  line-height: 1;
}

.signup p {
  margin: 14px 0 0;
  color: var(--soft-white);
  line-height: 1.6;
}

.wishlist-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 90px rgba(16, 5, 35, 0.36);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

input,
select {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--white);
  background: var(--field);
  padding: 0 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.65) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.65) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 16px,
    calc(100% - 13px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

option {
  color: #24143b;
}

input:focus,
select:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.wishlist-form button {
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  color: #7021a4;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, background 160ms ease;
}

.wishlist-form button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .hero,
  .signup {
    padding: 36px 18px;
  }

  .timeline {
    width: 118vw;
    height: 260px;
    opacity: 0.28;
  }

  .phase-labels,
  .sprint-labels {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .scroll-link {
    margin-top: 42px;
  }

  .wishlist-form {
    padding: 24px;
  }

  .google-frame-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .google-frame-container iframe {
    width: 100%;
    height: 90vh; /* important for mobile */
    border: none;
  }
}
