@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-900-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-primary: "Archivo", Arial, sans-serif;
  --surface-bg: #000000;
  --surface-panel: #0a0a0a;
  --surface-card: #141414;
  --border-warm: #2a2724;
  --border-default: #262626;
  --text-primary: #f8f7f2;
  --text-secondary: #b8b3aa;
  --text-tertiary: #9b9794;
  --text-on-accent: #0a0a0b;
  --brand-gradient-start: #e65f00;
  --brand-orange: #ff7a00;
  --brand-amber: #ffb340;
  --gradient-orange: linear-gradient(90deg, var(--brand-gradient-start), var(--brand-orange) 50%, var(--brand-amber));
  --shadow-orange: 0 0 40px rgba(255, 122, 0, 0.35);
  --page-inline: clamp(20px, 5.55vw, 80px);
  --content-gap: 46px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-primary);
  background: var(--surface-bg);
  font-family: var(--font-primary);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.launch-page {
  position: relative;
  display: flex;
  isolation: isolate;
  min-height: 994px;
  overflow: hidden;
  padding: 110px var(--page-inline) 120px;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-bg);
}

.background,
.background__shade,
.background__stadium,
.background__glow {
  position: absolute;
  pointer-events: none;
}

.background {
  z-index: -1;
  inset: 0;
}

.background__stadium,
.background__shade {
  top: 0;
  left: 0;
  width: 100%;
  height: 649px;
}

.background__stadium {
  object-fit: cover;
  object-position: center top;
}

.background__shade {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9));
}

.background__glow {
  top: -78px;
  left: 50%;
  width: min(1390px, 96.5vw);
  height: 760px;
  transform: translateX(-50%);
}

.background__glow img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap);
  text-align: center;
}

.logo {
  position: relative;
  display: block;
  width: 338px;
  height: 37.364px;
  flex: 0 0 auto;
  overflow: hidden;
}

.logo__mark,
.logo__wordmark {
  position: absolute;
  display: block;
}

.logo__mark {
  inset: 0 auto 0 0;
  width: 56.75px;
  height: 37.364px;
}

.logo__wordmark {
  top: 7.555px;
  left: 65.64px;
  width: 252.32px;
  height: 22.254px;
}

.logo__trademark {
  position: absolute;
  top: 3px;
  left: 315px;
  color: #fd8002;
  font-size: 11.56px;
  font-weight: 600;
  line-height: 1.25;
}

.hero__title {
  display: flex;
  width: 100%;
  margin: 0;
  flex-direction: column;
  overflow: hidden;
  font-size: inherit;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero__eyebrow,
.hero__headline {
  display: block;
}

.hero__eyebrow {
  color: var(--text-primary);
  font-size: clamp(48px, 5.139vw, 74px);
  letter-spacing: -0.01em;
}

.hero__headline {
  color: transparent;
  background: var(--gradient-orange);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(74px, 8.611vw, 124px);
  letter-spacing: -0.02em;
}

.hero__intro {
  width: min(516px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.hero__intro strong {
  color: var(--text-primary);
  font-weight: 700;
}

.signup {
  display: flex;
  width: min(720px, 100%);
  margin: 0;
  flex-direction: column;
  align-items: center;
  gap: 46px;
}

.signup__controls {
  display: flex;
  width: 100%;
  height: 57px;
  gap: 12px;
}

.signup__input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 17px 22px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  outline: none;
  color: var(--text-primary);
  background: var(--surface-card);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.signup__input::placeholder {
  color: var(--text-tertiary);
  opacity: 1;
}

.signup__input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

.signup__input[aria-invalid="true"] {
  border-color: #ff665f;
}

.signup__button {
  flex: 0 0 auto;
  padding: 18px 26px;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--text-on-accent);
  background: linear-gradient(90deg, var(--brand-gradient-start), var(--brand-orange) 55%, var(--brand-amber));
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: filter 160ms ease, transform 160ms ease;
}

.signup__button:hover {
  filter: brightness(1.08);
}

.signup__button:active {
  transform: translateY(1px);
}

.signup__button:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

.signup__status {
  min-height: 20px;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.signup__status.is-error {
  color: #ff928d;
}

.signup__status.is-success {
  color: var(--brand-amber);
}

.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 (min-width: 761px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .launch-page {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --content-gap: 32px;
  }

  .launch-page {
    min-height: 100svh;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .background__stadium,
  .background__shade {
    height: auto;
  }

  .background__stadium {
    object-position: center top;
  }

  .background__glow {
    top: -30px;
    width: 900px;
    height: 492px;
  }

  .logo {
    width: 270px;
    height: 29.84px;
  }

  .logo__mark {
    width: 45.33px;
    height: 29.84px;
  }

  .logo__wordmark {
    top: 6.04px;
    left: 52.44px;
    width: 201.6px;
    height: 17.78px;
  }

  .logo__trademark {
    top: 2px;
    left: 251px;
    font-size: 9.25px;
  }

  .hero__eyebrow {
    font-size: clamp(36px, 11vw, 58px);
  }

  .hero__headline {
    font-size: clamp(48px, 14.4vw, 82px);
  }

  .hero__intro {
    font-size: 16px;
  }

  .signup {
    gap: 28px;
  }

  .signup__controls {
    height: auto;
    flex-direction: column;
  }

  .signup__input,
  .signup__button {
    width: 100%;
    min-height: 57px;
  }
}

@media (max-width: 430px) {
  .hero__eyebrow {
    font-size: clamp(31px, 10.3vw, 44px);
  }

  .hero__headline {
    font-size: clamp(41px, 13.7vw, 59px);
  }
}

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

/* Error pages (404) — reuses .background, .logo and the palette above. */

.error-page {
  position: relative;
  display: flex;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 110px var(--page-inline) 120px;
  flex-direction: column;
  justify-content: center;
  background: var(--surface-bg);
}

.error {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap);
  text-align: center;
}

.error__title {
  display: flex;
  width: 100%;
  margin: 0;
  flex-direction: column;
  overflow: hidden;
  font-size: inherit;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.error__code {
  display: block;
  color: transparent;
  background: var(--gradient-orange);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(96px, 12.5vw, 180px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.error__headline {
  display: block;
  color: var(--text-primary);
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.error__intro {
  width: min(516px, 100%);
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.error__action {
  display: inline-block;
  padding: 18px 26px;
  border-radius: var(--radius-md);
  color: var(--text-on-accent);
  background: linear-gradient(90deg, var(--brand-gradient-start), var(--brand-orange) 55%, var(--brand-amber));
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.error__action:hover {
  filter: brightness(1.08);
}

.error__action:active {
  transform: translateY(1px);
}

.error__action:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .error-page {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .error__code {
    font-size: clamp(72px, 22vw, 120px);
  }

  .error__headline {
    font-size: clamp(26px, 7.6vw, 40px);
    white-space: normal;
  }

  .error__intro {
    font-size: 16px;
  }
}
