:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: #020309;
  color: #f7f8fc;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: #020309; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(50, 170, 255, .18), transparent 31rem),
    radial-gradient(circle at 88% 22%, rgba(224, 41, 255, .14), transparent 29rem),
    radial-gradient(circle at 55% 100%, rgba(255, 82, 76, .10), transparent 34rem),
    #020309;
}

img { display: block; max-width: 100%; }

a { color: #73caff; }

main {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22%;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, .42),
    0 0 24px rgba(227, 23, 255, .22),
    inset 0 1px rgba(255, 255, 255, .08);
}

.card {
  margin-top: 42px;
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background: rgba(14, 17, 27, .76);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(40px, 9vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  letter-spacing: -.025em;
}

p, li {
  color: #b9c1d1;
  font-size: 17px;
  line-height: 1.62;
}

.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: #d7dcea;
  font-size: clamp(19px, 4vw, 23px);
  line-height: 1.45;
}

.code-label {
  margin: 38px 0 8px;
  color: #8e97aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.code {
  margin: 0;
  color: #fff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: clamp(35px, 10vw, 58px);
  font-weight: 600;
  letter-spacing: .16em;
}

.button {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #f7f8fc;
  color: #080a10;
  font-weight: 700;
  text-decoration: none;
}

.meta {
  margin-top: 36px;
  color: #7f899c;
  font-size: 14px;
}

ul { padding-left: 22px; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 4px 0;
  color: #778195;
  font-size: 14px;
}

footer a { color: #9ba5b8; text-decoration: none; }

.footer-links { display: flex; gap: 22px; }

/* Marketing landing page */
.marketing-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background: #020309;
}

.sports-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(1, 3, 9, .96) 0%, rgba(1, 3, 9, .82) 34%, rgba(1, 3, 9, .48) 76%, rgba(1, 3, 9, .72) 100%),
    linear-gradient(90deg, rgba(1, 3, 9, .60), transparent 45%, rgba(1, 3, 9, .55)),
    url("/sports-background.png") center bottom / cover no-repeat;
  filter: saturate(.88);
}

.sports-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(194, 32, 255, .16), transparent 30%),
    radial-gradient(circle at 20% 54%, rgba(37, 155, 255, .13), transparent 28%),
    linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .48));
}

.marketing-main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  padding: 26px 0 30px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header nav { display: flex; gap: 28px; }

.site-header nav a {
  color: #b9c1d1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover, footer a:hover { color: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(54px, 8vw, 118px);
  min-height: calc(100svh - 150px);
  padding: 60px 0 36px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-icon {
  width: clamp(112px, 12vw, 168px);
  height: auto;
  margin: 0 0 20px -12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22%;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, .50),
    0 0 42px rgba(233, 25, 255, .20),
    inset 0 1px rgba(255, 255, 255, .10);
}

.eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 6.3vw, 86px);
  line-height: .96;
  text-wrap: balance;
}

.hero .lead {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(231, 237, 247, .85);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  text-wrap: pretty;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.feature-row span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(7, 10, 18, .56);
  color: rgba(240, 244, 251, .78);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.device-stage {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  padding: 2px;
}

.device-glow {
  position: absolute;
  inset: 15% 0 4%;
  background: radial-gradient(ellipse, rgba(125, 43, 255, .23), rgba(255, 45, 130, .09) 42%, transparent 72%);
  filter: blur(36px);
}

.device-frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(205, 224, 242, .58);
  border-radius: 66px;
  background: linear-gradient(145deg, #78838d 0%, #202832 7%, #07090d 52%, #53606b 94%, #b7c6d1 100%);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 1px 1px rgba(255, 255, 255, .65);
  transform: rotate(1.2deg);
}

.device-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 29%;
  height: 25px;
  border-radius: 20px;
  background: #050608;
  transform: translateX(-50%);
  box-shadow: inset 0 -1px rgba(255, 255, 255, .06);
}

.device-frame img {
  width: 100%;
  border-radius: 56px;
  background: rgba(0, 0, 0, .76);
}

.marketing-main footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 2px 0;
}

@media (max-width: 820px) {
  .marketing-main { width: min(680px, calc(100% - 36px)); }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero-icon { margin: 0 auto 18px; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .feature-row { justify-content: center; }
  .device-stage { width: min(78vw, 390px); margin-top: 12px; }
}

@media (max-width: 520px) {
  main { padding-top: 34px; }
  .card { margin-top: 28px; border-radius: 24px; }
  .marketing-main { width: min(100% - 30px, 600px); padding-top: 18px; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 14px; }
  .hero { min-height: auto; gap: 42px; padding: 60px 0 54px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 62px); }
  .hero .lead { font-size: 19px; }
  .feature-row { gap: 8px; }
  .feature-row span { font-size: 12px; }
  .device-stage { width: min(88vw, 360px); }
  .device-frame { padding: 8px; border-radius: 54px; }
  .device-frame img { border-radius: 46px; }
  .device-frame::before { top: 19px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .device-frame { transform: none; }
}
