@font-face {
  font-family: "ITC Machine";
  src: url("/assets/fonts/itc-machine-regular.otf?v=1") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: dark;
  --blue: #082d78;
  --blue-dark: #041b4d;
  --blue-light: #154db7;
  --yellow: #ffa903;
  --cream: #fff4d8;
  --ink: #061d55;
  --ticket-blue: #174bb7;
  --ticket-yellow: #ffa903;
  --brand-font: "ITC Machine", "Rockwell Extra Bold", Rockwell, "Courier New", serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--blue-dark);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.025) 3px 4px),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  font-family: var(--brand-font);
  font-weight: 400;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.12;
  background:
    radial-gradient(circle at 18% 15%, rgba(52, 112, 221, 0.8), transparent 34rem),
    radial-gradient(circle at 82% 88%, rgba(0, 0, 0, 0.8), transparent 38rem);
  pointer-events: none;
}

.page-shell {
  display: grid;
  flex: 1;
  min-height: calc(100svh - 72px);
  place-items: center;
  padding: clamp(42px, 7vh, 70px) 24px clamp(34px, 5vh, 52px);
}

.coming-soon {
  display: flex;
  width: min(820px, 100%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ticket-mark {
  display: block;
  width: clamp(286px, 26vw, 360px);
  height: auto;
}

h1 {
  width: 100%;
  margin: clamp(50px, 7vh, 68px) 0 0;
  font-size: clamp(6.2rem, 13vw, 11rem);
  font-weight: inherit;
  letter-spacing: -0.02em;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.headline-line {
  display: block;
  color: var(--yellow);
  white-space: nowrap;
  transform: scaleX(1.22);
}

.headline-line--cream {
  color: var(--cream);
}

.headline-line + .headline-line {
  margin-top: clamp(12px, 1.6vh, 18px);
}

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 34px);
  margin: clamp(30px, 4.5vh, 42px) auto clamp(28px, 4vh, 38px);
}

.platform-logo {
  width: clamp(32px, 4vw, 42px);
  height: clamp(32px, 4vw, 42px);
  object-fit: contain;
}

.signup-form {
  width: min(660px, 100%);
  min-height: 78px;
  margin: 0 auto;
}

.signup-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 5px;
  background: var(--cream);
  border: 3px solid var(--yellow);
  box-shadow: 8px 8px 0 var(--blue-dark);
}

.signup-form input,
.signup-form button {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  font-family: var(--brand-font);
  font-weight: inherit;
  text-transform: uppercase;
}

.signup-form input {
  min-width: 0;
  padding: 0 18px;
  color: var(--ink);
  background: var(--cream);
  font-size: 1.15rem;
  letter-spacing: 0.035em;
  outline: 0;
}

.signup-form input::placeholder {
  color: #66708b;
  opacity: 1;
}

.signup-form input:focus-visible {
  box-shadow: inset 0 0 0 3px var(--blue-light);
}

.signup-form button {
  padding: 0 24px;
  color: var(--ink);
  background: var(--yellow);
  cursor: pointer;
  font-size: 1.2rem;
  letter-spacing: 0;
  transition: background 120ms ease, transform 120ms ease;
}

.signup-form button:hover {
  background: var(--cream);
}

.signup-form button:active {
  transform: translateY(2px);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--yellow);
  font-family: var(--brand-font);
  font-size: 1rem;
  font-weight: inherit;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.form-status.is-error {
  color: #ff9a92;
}

footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  color: var(--blue);
  background: var(--yellow);
  border-top: 4px solid var(--ticket-blue);
  font-family: var(--brand-font);
  font-size: 1rem;
  font-weight: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 620px) {
  .page-shell {
    min-height: calc(100svh - 62px);
    padding: 30px 14px 26px;
  }

  .ticket-mark {
    width: 210px;
  }

  h1 {
    margin-top: 38px;
    font-size: clamp(3.65rem, 17vw, 4.2rem);
    line-height: 0.8;
  }

  .headline-line + .headline-line {
    margin-top: 8px;
  }

  .platforms {
    flex-wrap: nowrap;
    gap: clamp(12px, 4vw, 17px);
    width: auto;
    margin: 26px auto 24px;
  }

  .platform-logo {
    width: 30px;
    height: 30px;
  }

  .signup-form__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
  }

  .signup-form input {
    min-height: 48px;
    padding: 0 11px;
    font-size: 0.86rem;
    text-align: left;
  }

  .signup-form button {
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  footer {
    min-height: 62px;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    text-align: left;
  }
}

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