* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }

body {
  font-family: Outfit, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: rgba(255, 246, 232, 0.97);
  background: #142028;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(240, 200, 160, 0.35) 0%, transparent 55%),
    linear-gradient(170deg, #142028 0%, #1A3840 14%, #245550 28%, #6E5888 42%, #986880 52%, #C07850 65%, #D08048 78%, #B86838 92%, #985028 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 45vw 38vw at 50% 55%, rgba(212, 160, 68, 0.42) 0%, rgba(212, 160, 68, 0.20) 30%, rgba(200, 88, 42, 0.07) 60%, rgba(200, 88, 42, 0) 80%),
    radial-gradient(ellipse 80vw 60vw at 50% 55%, rgba(232, 148, 106, 0.12) 0%, rgba(200, 88, 42, 0) 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 68, 0.5) 0%, rgba(212, 98, 43, 0.25) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 720px);
  padding: 0 22px;
  text-align: center;
  transform: translateY(2vh);
}

.hero__eyebrow,
.hero__logo,
.hero__script,
.hero__coming-soon { margin: 0; }

.hero__eyebrow {
  font-size: 0.98rem;
  font-weight: 425;
  letter-spacing: 0.54em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateX(2px);
  color: rgba(255, 246, 232, 0.93);
  text-shadow: 0 1px 18px rgba(20, 18, 16, 0.30);
}

.hero__logo {
  margin-top: 20px;
  font-size: 96px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 246, 232, 0.94);
  text-shadow: 0 1px 18px rgba(20, 18, 16, 0.10);
  padding-left: 0.15em;
}

.hero__script {
  margin-top: 20px;
  font-family: Caveat, cursive;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 246, 232, 0.88);
  text-shadow: 0 1px 14px rgba(20, 18, 16, 0.12);
}

.hero__coming-soon {
  margin-top: 40px;
  color: rgba(255, 246, 232, 0.84);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(20, 18, 16, 0.12);
}

.signup {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 460px);
  margin-top: 26px;
}

.signup label {
  max-width: 100%;
  color: rgba(255, 246, 232, 0.82);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(20, 18, 16, 0.12);
}

.signup label span {
  white-space: nowrap;
}

.signup__fields {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  border: 1px solid rgba(255, 246, 232, 0.42);
  background: rgba(255, 246, 232, 0.06);
  backdrop-filter: blur(10px);
}

input,
button {
  min-height: 52px;
  border-radius: 0;
  font: inherit;
}

input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-right: 1px solid rgba(255, 246, 232, 0.26);
  padding: 0 16px;
  color: rgba(255, 246, 232, 0.96);
  background: transparent;
  outline: none;
}

input::placeholder { color: rgba(255, 246, 232, 0.54); }
input:focus-visible { box-shadow: inset 0 0 0 1px rgba(255, 246, 232, 0.62); }

button {
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  color: rgba(255, 246, 232, 0.95);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

button:hover { background: rgba(255, 246, 232, 0.08); }
button:disabled { cursor: wait; opacity: 0.7; }

.signup__message {
  min-height: 1.35em;
  margin: 0;
  color: rgba(255, 246, 232, 0.76);
  font-size: 0.86rem;
}
.signup__message.is-error { color: rgba(255, 226, 214, 0.94); }

@media (max-width: 749px) {
  .hero::after {
    width: 62vw;
    height: 62vw;
    filter: blur(32px);
  }

  .hero__content {
    width: 100%;
    padding: 0 20px;
    transform: translateY(0);
  }

  .hero__eyebrow {
    font-size: 0.66rem;
    font-weight: 450;
    letter-spacing: 0.38em;
    line-height: 1;
    transform: translateX(2px);
    color: rgba(255, 246, 232, 0.93);
  }

  .hero__logo {
    margin-top: 18px;
    font-size: 48px;
    letter-spacing: 0.15em;
    padding-left: 0.15em;
    line-height: 1;
  }

  .hero__script {
    margin-top: 20px;
    font-size: 24px;
    line-height: 1.2;
  }

  .hero__coming-soon {
    margin-top: 34px;
    font-size: 0.66rem;
    letter-spacing: 0.25em;
  }

  .signup {
    width: min(100%, 342px);
    margin-top: 24px;
    gap: 20px;
  }

  .signup label {
    display: grid;
    gap: 2px;
    max-width: 342px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .signup__fields {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  input {
    border: 1px solid rgba(255, 246, 232, 0.52);
    text-align: center;
    color: rgba(255, 246, 232, 0.96);
    background: rgba(255, 246, 232, 0.04);
    box-shadow: none;
  }

  input::placeholder { color: rgba(255, 246, 232, 0.6); }

  button {
    min-height: 48px;
    border: 1px solid rgba(255, 246, 232, 0.58);
    color: rgba(255, 246, 232, 0.95);
    background: rgba(255, 246, 232, 0.04);
    box-shadow: none;
  }

  button:hover { background: rgba(255, 246, 232, 0.08); }
}
