:root {
  --ink: #090909;
  --muted: #72706f;
  --line: rgba(18, 18, 18, 0.1);
  --panel: rgba(255, 255, 255, 0.78);
  --green: #10c874;
  --violet: #7657ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7f6f4;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.95), transparent 24rem),
    linear-gradient(135deg, #fbfaf8 0%, #f3f1ef 100%);
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.hero-card {
  position: relative;
  width: min(100%, 1120px);
  min-height: min(92vh, 820px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 41%, rgba(255, 255, 255, 0.95) 100%),
    #fff;
  box-shadow: 0 28px 90px rgba(35, 28, 20, 0.12);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(700px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: clamp(46px, 7vh, 74px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 2.3vw, 25px);
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  margin: 0 auto;
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.subhead {
  width: min(540px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 24px 0 28px;
  border: 1px solid rgba(15, 15, 15, 0.72);
  border-radius: 999px;
  color: #111;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.12);
}

.cta svg,
.close svg,
.check svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: absolute;
  z-index: 2;
  inset: 42% 0 -30px;
  display: grid;
  place-items: end center;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 50% 0 auto;
  width: min(54vw, 560px);
  height: 56%;
  translate: 50% 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 52%, transparent 76%);
  filter: blur(10px);
}

.aurora {
  position: absolute;
  left: 50%;
  width: 118%;
  max-width: 1300px;
  height: 330px;
  translate: -50% 0;
  filter: blur(18px);
  opacity: 0.88;
}

.aurora-one {
  bottom: 120px;
  background:
    radial-gradient(ellipse at 28% 42%, rgba(255, 139, 61, 0.52), transparent 28%),
    radial-gradient(ellipse at 50% 42%, rgba(230, 71, 152, 0.55), transparent 31%),
    radial-gradient(ellipse at 73% 44%, rgba(116, 93, 255, 0.5), transparent 31%);
}

.aurora-two {
  bottom: 48px;
  height: 260px;
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 30% 38%, rgba(251, 192, 95, 0.58), transparent 26%),
    radial-gradient(ellipse at 51% 40%, rgba(161, 72, 255, 0.38), transparent 35%),
    radial-gradient(ellipse at 72% 44%, rgba(91, 190, 255, 0.3), transparent 33%);
}

.phone-hand {
  position: relative;
  z-index: 3;
  width: min(58vw, 680px);
  max-height: 58vh;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 34px 62px rgba(9, 9, 9, 0.28));
  user-select: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.52);
  backdrop-filter: blur(18px);
}

.waitlist-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(21, 25, 31, 0.86), rgba(10, 11, 14, 0.9)),
    rgba(14, 15, 18, 0.86);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(28px);
}

.waitlist-panel::before {
  content: "";
  position: absolute;
  inset: -90px -80px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(16, 200, 116, 0.18);
  filter: blur(22px);
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 10px;
  color: #62ffc0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.modal-copy {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.6;
}

.waitlist-form {
  margin-top: 28px;
}

.number-label {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.phone-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.country-wrap,
.phone-row input {
  min-width: 0;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.country-wrap {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.7);
}

.country-wrap input {
  width: 100%;
  border: 0;
  padding: 0 0 0 4px;
  color: #fff;
  background: transparent;
  outline: 0;
}

.phone-row > input {
  padding: 0 16px;
}

.phone-row input:focus,
.country-wrap:focus-within {
  border-color: rgba(98, 255, 192, 0.74);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(98, 255, 192, 0.08);
}

.phone-row input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.consent {
  margin: 13px 2px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.submit {
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  border: 0;
  border-radius: 18px;
  color: #06110b;
  background: linear-gradient(135deg, #76ffd0, var(--green));
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(16, 200, 116, 0.24);
}

.submit.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.error {
  min-height: 18px;
  margin: 12px 0 0;
  color: #ff9a9a;
  font-size: 13px;
}

.success-state {
  text-align: center;
}

.check {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #39e796, #079b59);
  box-shadow: 0 20px 46px rgba(16, 200, 116, 0.32);
}

.check svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.5;
}

@media (max-width: 720px) {
  .shell {
    padding: 10px;
  }

  .hero-card {
    min-height: 92vh;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding-top: 36px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.03;
  }

  .subhead {
    max-width: 310px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .cta {
    min-height: 48px;
    margin-top: 18px;
    padding: 0 20px 0 22px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    flex: 1;
    min-height: 250px;
    margin-top: -2px;
  }

  .hero-visual::after {
    width: 92vw;
    height: 72%;
  }

  .aurora {
    width: 145%;
    height: 230px;
  }

  .aurora-one {
    bottom: 94px;
  }

  .aurora-two {
    bottom: 20px;
  }

  .phone-hand {
    width: min(72vw, 330px);
    max-height: 38vh;
  }

  .waitlist-panel {
    padding: 28px 20px 22px;
    border-radius: 24px;
  }

  h2 {
    font-size: 30px;
  }
}
