:root {
  color-scheme: dark;
  --bg: #030405;
  --panel: #101820;
  --line: #243241;
  --text: #f4f7fb;
  --muted: #a9b6c3;
  --blue: #60a5fa;
  --amber: #f59e0b;
  --green: #86efac;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Monaco, Consolas, "Liberation Mono", monospace;
  --brand-logo-width: 430px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

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

.landing-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.72fr);
  overflow: hidden;
  background: #030405;
}

.visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.sports-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
  filter: saturate(1.05) contrast(1.08);
}

.image-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.02) 0%, rgba(3, 4, 5, 0.18) 42%, rgba(3, 4, 5, 0.92) 84%, #030405 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.08) 0%, rgba(3, 4, 5, 0.2) 45%, rgba(3, 4, 5, 0.72) 100%);
}

.brand-row {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-row img {
  width: 100%;
  max-width: calc(100vw - 56px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(251, 191, 36, 0.18));
}

.brand-home {
  display: block;
  flex: 0 0 var(--brand-logo-width);
  width: var(--brand-logo-width);
  max-width: calc(100vw - 56px);
  color: inherit;
  text-decoration: none;
}

.brand-home:focus-visible,
.beta-login:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.86);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand-row span,
.pill,
.market-tape,
.feature-grid span,
.waitlist-form label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-row span {
  border: 1px solid rgba(134, 239, 172, 0.28);
  border-radius: 999px;
  background: rgba(8, 27, 20, 0.58);
  color: var(--green);
  padding: 9px 12px;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.market-tape {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(760px, calc(100% - 56px));
  color: var(--muted);
}

.market-tape span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.56);
  padding: 12px 14px;
  backdrop-filter: blur(16px);
}

.market-tape strong {
  margin-left: 6px;
  color: var(--green);
}

.content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px clamp(30px, 4vw, 72px) 38px;
  background:
    radial-gradient(circle at 86% 22%, rgba(96, 165, 250, 0.12), transparent 20rem),
    linear-gradient(90deg, rgba(3, 4, 5, 0.1), #030405 18%, #030405 100%);
  box-shadow: -42px 0 80px rgba(3, 4, 5, 0.74);
}

.pill {
  width: fit-content;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  padding: 9px 12px;
}

h1 {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(44px, 4.4vw, 66px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

h1 span {
  display: block;
  margin-top: 12px;
  color: #c8d2dc;
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 750;
  line-height: 1.1;
}

.content p {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.beta-login {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(14px);
  color: var(--text);
  padding: 0 15px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.beta-login:hover {
  border-color: rgba(251, 191, 36, 0.58);
  color: #fbbf24;
}

.waitlist-form {
  width: min(100%, 540px);
  margin-top: 24px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  min-height: 54px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 8px;
  background: rgba(17, 24, 33, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.field-row input {
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0 16px;
}

.field-row button {
  margin: 4px;
  border: 0;
  border-radius: 6px;
  background: var(--amber);
  color: #050505;
  font-weight: 850;
  cursor: pointer;
}

.field-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.form-status.error {
  color: #f87171;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 680px);
  margin-top: 22px;
}

.feature-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 33, 0.68);
  padding: 16px;
}

.feature-grid span {
  display: block;
  color: var(--muted);
}

.feature-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--text);
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .landing-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.78fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .beta-login {
    top: 18px;
    right: 18px;
  }

  .landing-shell {
    display: block;
  }

  .visual {
    min-height: 46vh;
  }

  .brand-row {
    top: 18px;
    left: 18px;
    right: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-row img {
    width: 100%;
    max-width: none;
  }

  .brand-home {
    flex-basis: min(300px, 70vw);
    width: min(300px, 70vw);
    max-width: min(300px, 70vw);
  }

  .market-tape {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .market-tape span:nth-child(n + 3) {
    display: none;
  }

  .content {
    min-height: 54vh;
    padding: 30px 18px 42px;
    box-shadow: none;
  }

  h1 {
    font-size: 40px;
  }

  h1 span {
    font-size: 28px;
  }

  .content p {
    font-size: 15px;
  }
}
