:root {
  --bg: #0A0B0D;
  --bg2: #0C0D10;
  --surface: #0E1116;
  --surface2: #14181F;
  --border: #1E2127;
  --border2: #2A323E;
  --text0: #FBFBF9;
  --text1: #C2C8D0;
  --text2: #9AA2AC;
  --text3: #7A828D;
  --text4: #868F9D;
  --text5: #7C8492;
  --accent: #2BE08C;
  --accent-hi: #3DED9B;
  --accent-weak: #16201B;
  --accent-ring: rgba(43, 224, 140, 0.32);
  --on-accent: #08140E;
  --info: #4DA3FF;
  --violet: #A78BFA;
  --warn: #F5B23D;
  --danger: #FF6B6B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text1);
  background: var(--bg);
  font-family: "Hanken Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
::selection { background: rgba(43, 224, 140, 0.24); color: var(--text0); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-ring);
  border-radius: 9px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .scan-line { animation: none; }
}

@keyframes recpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes keyglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(43, 224, 140, 0); } 50% { box-shadow: 0 0 0 4px rgba(43, 224, 140, 0.18); } }
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text0);
  text-decoration: none;
}

.logo svg { width: 26px; height: 26px; color: var(--accent); }
.logo span {
  font-family: "Archivo", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(14px);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 18px;
}

.nav-links a,
.footer a,
.text-link {
  color: var(--text2);
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.footer a:hover,
.text-link:hover { color: var(--text0); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 14px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: var(--on-accent);
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(43, 224, 140, 0.25);
}
.btn-primary:hover { background: var(--accent-hi); }
.btn-secondary {
  color: var(--text0);
  background: var(--surface);
  border-color: var(--border2);
}
.btn-secondary:hover { border-color: var(--text4); }
.nav .btn { padding: 10px 18px; font-size: 14px; border-radius: 9px; }

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 78% -8%, rgba(43,224,140,0.14), transparent 60%), radial-gradient(700px 500px at 8% 12%, rgba(77,163,255,0.07), transparent 55%);
}

.hero::after,
.login-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 70% 0%, #000, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 70px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 9px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.beta-chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 2px 9px;
  color: var(--accent);
  background: var(--accent-weak);
  border: 1px solid rgba(43, 224, 140, 0.35);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.dot,
.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: recpulse 2s ease-in-out infinite;
}
.rec-dot { background: #ff5c5c; }

.h1 {
  margin: 0 0 22px;
  color: var(--text0);
  font-family: "Archivo", sans-serif;
  font-size: 74px;
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.035em;
}

.h1 .accent,
.accent { color: var(--accent); }

.hero-copy {
  max-width: 500px;
  margin: 0 0 32px;
  color: var(--text2);
  font-size: 18px;
  line-height: 1.6;
}

.cta-row { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.fine-print {
  color: var(--text4);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.product-glow { position: relative; }
.product-glow::before {
  content: "";
  position: absolute;
  inset: -6% -4% -10%;
  background: radial-gradient(circle at 60% 40%, rgba(43,224,140,0.16), transparent 65%);
  filter: blur(20px);
}

.film-card,
.panel-card,
.login-mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border2);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
}

.chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2c313a; }
.chrome span { margin-left: 8px; color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 11px; }

.score-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, #11201a, var(--surface) 70%);
}
.score-strip img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.team-code { color: var(--text1); font-family: "Archivo", sans-serif; font-size: 13px; font-weight: 800; }
.score { color: var(--accent); font-family: "Archivo", sans-serif; font-size: 26px; font-weight: 900; }
.score.muted { color: var(--text2); }
.clock-chip { border: 1px solid rgba(43,224,140,0.4); border-radius: 5px; padding: 3px 7px; color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 9px; }

.video-still { position: relative; aspect-ratio: 16/9; background: #0b0e12; }
.video-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-tag { position: absolute; top: 11px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(10,11,13,0.55); color: white; font-family: "JetBrains Mono", monospace; font-size: 9px; }
.progress-line { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--surface2); }
.progress-line span { display: block; height: 100%; background: var(--info); }

.player-rows { display: grid; gap: 9px; padding: 12px 14px; }
.player-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hotkey { width: 20px; height: 20px; display: grid; place-items: center; flex: none; border: 1px solid var(--border2); border-radius: 5px; background: var(--surface2); color: var(--text0); font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700; }
.hotkey.glow { animation: keyglow 2.4s ease-in-out infinite; }
.avatar { width: 28px; height: 28px; flex: none; border-radius: 50%; background-size: cover; background-position: center 18%; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--border2); }
.avatar.warn { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--warn); }
.player-name { flex: 1; min-width: 0; color: var(--text0); font-size: 13px; font-weight: 700; }
.player-name small { color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 10px; }
.tag { border-radius: 6px; padding: 5px 9px; font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; }
.tag.accent-tag { color: var(--accent); background: var(--accent-weak); border: 1px solid rgba(43,224,140,0.3); }
.tag.info-tag { color: var(--info); background: rgba(77,163,255,0.1); border: 1px solid rgba(77,163,255,0.3); }
.tag.violet-tag { color: var(--violet); background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.3); }
.tag.danger-tag { color: var(--danger); background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.3); }
.tag.warn-tag { color: var(--warn); background: rgba(245,178,61,0.1); border: 1px solid rgba(245,178,61,0.3); }

.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.trust-label { color: var(--text5); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.1em; }
.wordmark { color: var(--text3); font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.02em; }

.section { border-top: 1px solid var(--border); padding: 96px 0; }
.section.alt { background: var(--bg2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.12em; }
.eyebrow.violet { color: var(--violet); }
.h2 { margin: 14px 0 18px; color: var(--text0); font-family: "Archivo", sans-serif; font-size: 40px; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.section-copy { max-width: 470px; margin: 0 0 26px; color: var(--text2); font-size: 16px; line-height: 1.65; }
.checklist { display: grid; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text1); font-size: 14.5px; }
.check b { color: var(--text0); }
.check-icon { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--accent-weak); border: 1px solid rgba(43,224,140,0.3); color: var(--accent); }
.check-icon.violet { color: var(--violet); background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.3); }

.panel-card { padding: 16px; box-shadow: 0 30px 70px -34px rgba(0,0,0,0.7); }
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--text3); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; }
.rail-row { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 11px; padding: 9px 11px; background: var(--surface2); }
.rail-row.highlight { border-color: var(--warn); background: linear-gradient(120deg, rgba(245,178,61,0.1), var(--surface) 70%); }
.rail-row + .rail-row { margin-top: 9px; }
.rail-meta { flex: 1; min-width: 0; }
.rail-meta strong { display: block; color: var(--text0); font-size: 13.5px; line-height: 1.1; }
.rail-meta small, .rail-stat { color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 10px; }
.divider { height: 1px; background: var(--border); margin: 13px 0; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.action-grid .tag { text-align: center; padding: 9px 0; }

.scan-card { overflow: hidden; padding: 0; }
.scan-stage { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0b0e12; }
.scan-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 14px 2px rgba(43,224,140,0.5); animation: scan 3.4s linear infinite; }
.floating-label { position: absolute; border: 1.5px solid currentColor; border-radius: 6px; padding: 3px 8px; background: rgba(10,11,13,0.58); font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 700; }
.auto-progress { padding: 14px 16px 16px; }
.progress-header { display: flex; justify-content: space-between; color: var(--text3); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; }
.progress-bar { height: 8px; margin: 10px 0 12px; overflow: hidden; border-radius: 999px; background: var(--surface2); }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--accent)); }
.status-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.status-chips span { color: var(--text2); border: 1px solid var(--border2); border-radius: 999px; padding: 5px 8px; font-family: "JetBrains Mono", monospace; font-size: 9px; }

.callouts { display: grid; gap: 12px; margin-top: 26px; }
.callout { border-left: 3px solid var(--accent); border-radius: 12px; padding: 15px 16px; background: var(--surface); color: var(--text2); }
.callout.warn { border-left-color: var(--warn); }
.callout strong { display: block; color: var(--text0); margin-bottom: 5px; }
.lineup-panel { padding: 18px; }
.lineup-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.lineup-row:last-of-type { border-bottom: 0; }
.lineup-name { color: var(--text1); font-weight: 700; font-size: 13.5px; }
.rating { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat-tile { border: 1px solid var(--border); border-radius: 11px; padding: 10px; background: var(--surface2); }
.stat-tile small { display: block; color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 9px; }
.stat-tile strong { display: block; margin-top: 4px; color: var(--text0); font-family: "Archivo", sans-serif; font-size: 21px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature-card, .price-card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: linear-gradient(165deg, var(--surface2), var(--surface) 62%); }
.feature-card h3, .price-card h3 { color: var(--text0); font-family: "Archivo", sans-serif; margin: 0 0 9px; }
.feature-card p, .price-card p { color: var(--text2); line-height: 1.6; margin: 0; }
.price { color: var(--accent); font-family: "Archivo", sans-serif; font-size: 38px; font-weight: 900; margin: 18px 0 8px; }

.cta-section { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--border); padding: 88px 0; }
.cta-section::before { content: ""; position: absolute; inset: auto 10% -35% 10%; height: 280px; background: radial-gradient(circle, rgba(43,224,140,0.16), transparent 70%); }
.cta-section .container { position: relative; max-width: 824px; }
.cta-section h2 { color: var(--text0); font-family: "Archivo", sans-serif; font-size: 46px; font-weight: 900; letter-spacing: -0.035em; margin: 0 0 16px; }
.cta-section p { color: var(--text2); font-size: 17px; line-height: 1.6; margin: 0 auto 26px; max-width: 680px; }

.footer { border-top: 1px solid var(--border); background: var(--bg2); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-top: 42px; padding-bottom: 34px; }
.footer p { color: var(--text3); line-height: 1.6; max-width: 320px; }
.footer h4 { color: var(--text5); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.12em; margin: 0 0 14px; }
.footer nav { display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 18px; }

.login-grid { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; background: var(--bg); color: var(--text1); }
.login-form-pane { display: flex; flex-direction: column; padding: 32px 40px; }
.login-box { flex: 1; display: flex; flex-direction: column; justify-content: center; width: min(100%, 380px); margin: 0 auto; padding: 40px 0; }
.login-box h1 { margin: 0 0 8px; color: var(--text0); font-family: "Archivo", sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -0.025em; }
.login-box p { color: var(--text2); margin: 0 0 30px; }
.sso-stack { display: grid; gap: 10px; margin-bottom: 22px; }
.sso-button { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--border2); border-radius: 11px; padding: 12px; color: var(--text0); background: var(--surface); font-weight: 600; cursor: pointer; }
.sso-button:hover { border-color: var(--text4); }
.or-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.or-divider span:not(.or-label) { flex: 1; height: 1px; background: var(--border); }
.or-label { color: var(--text4); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.08em; }
.login-form { display: grid; gap: 16px; }
.login-form label { display: block; margin-bottom: 7px; color: var(--text2); font-size: 12.5px; font-weight: 600; }
.input-row { display: flex; justify-content: space-between; align-items: center; }
.login-form input[type="email"], .login-form input[type="password"] { width: 100%; border: 1px solid var(--border2); border-radius: 11px; padding: 12px 14px; color: var(--text0); background: var(--surface); }
.login-form input::placeholder { color: var(--text4); }
.login-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43,224,140,0.14); }
.remember { display: flex !important; align-items: center; gap: 9px; margin: 0 !important; color: var(--text2); cursor: pointer; }
.remember input { width: 16px; height: 16px; accent-color: var(--accent); }
.login-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 48px; border-left: 1px solid var(--border); background: linear-gradient(160deg, #0d1713, var(--bg2) 60%); }
.login-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 480px at 70% 20%, rgba(43,224,140,0.14), transparent 60%); }
.login-brand > div { position: relative; max-width: 440px; z-index: 1; }
.login-mini-card { border-radius: 14px; }
.login-footer { color: var(--text5); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.status-line { min-height: 1.4em; color: var(--text3); font-size: 13px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .split, .cards-3 { grid-template-columns: 1fr; gap: 44px; }
  .split-rev .split-media { order: -1; }
  .h1 { font-size: 54px; }
  .section { padding: 66px 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-brand { display: none; }
}

@media (max-width: 560px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .h1 { font-size: 42px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .footer-cols, .stat-tiles { grid-template-columns: 1fr; }
  .score-strip { gap: 8px; }
  .player-row { flex-wrap: wrap; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section h2 { font-size: 38px; }
}
