:root {
  --ink: #07090f;
  --ink-800: #0c111a;
  --card: rgba(14, 20, 32, 0.88);
  --line: rgba(94, 234, 255, 0.14);
  --crimson: #e50914;
  --punch: #ff3b6b;
  --ai: #5ee7ff;
  --ai-2: #c4b5fd;
  --ai-3: #5eead4;
  --ai-4: #86efac;
  --mute: #93a4bc;
  --white: #f4f7fb;
  --radius: 16px;
  --shadow: 0 0 36px rgba(229, 9, 20, 0.2);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(94, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 231, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 18%, transparent 78%);
}

body::after {
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(229, 9, 20, 0.22), transparent 58%),
    radial-gradient(720px 420px at 92% 0%, rgba(94, 231, 255, 0.12), transparent 52%),
    radial-gradient(640px 380px at 80% 100%, rgba(124, 58, 237, 0.1), transparent 55%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand-title {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
}

p {
  margin: 0;
}

.muted {
  color: var(--mute);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--crimson);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.wrap {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 15, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--ai) 42%, var(--crimson) 68%, transparent 95%);
  opacity: 0.85;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  max-width: min(280px, 62vw);
}

.logo-img {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(94, 231, 255, 0.18));
}

.seo-copy {
  display: grid;
  gap: 1rem;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: none;
}

.prose a {
  color: #fff;
  text-decoration: underline;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 9, 20, 0.8);
  border-radius: 10px;
  background: var(--ink-800);
  box-shadow: var(--shadow);
}

.logo-kicker {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--crimson);
}

.logo-name {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.nav {
  display: none;
  gap: 0.25rem;
}

.nav a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  padding: 0.55rem 0.8rem;
  color: var(--mute);
}

.nav a:hover,
.nav a.is-active {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.35);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 8px;
}

.menu-btn > span:first-child,
.menu-btn > span:first-child::before,
.menu-btn > span:first-child::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}

.menu-btn > span:first-child::before,
.menu-btn > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn > span:first-child::before {
  top: -6px;
}

.menu-btn > span:first-child::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ink-800);
  padding: 0.5rem 0 1rem;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 0.85rem 0;
  color: var(--mute);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  display: grid;
  align-items: end;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(0.92) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("/images/neural-net.svg") center / cover no-repeat,
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(7, 9, 15, 0.08) 3px 4px);
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #07090f 10%, rgba(7, 9, 15, 0.72) 48%, rgba(7, 9, 15, 0.22)),
    linear-gradient(180deg, rgba(7, 9, 15, 0.5), transparent 38%, #07090f);
}

.hero-copy {
  padding: 5rem 0 4rem;
}

.hero-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.hero-readout span,
.sys-line {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ai);
  border: 1px solid rgba(94, 231, 255, 0.22);
  background: rgba(7, 14, 24, 0.55);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.sys-line {
  display: inline-flex;
  margin-top: 1rem;
}

.kicker {
  color: var(--ai);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  margin-top: 0.85rem;
  max-width: 16ch;
  text-shadow: 0 0 42px rgba(229, 9, 20, 0.28);
}

.lede {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--mute);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-primary,
.btn-ghost {
  padding: 0.85rem 1.15rem;
}

.btn-primary {
  background: linear-gradient(180deg, #ff2e45, #c20612);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--punch), #e50914);
}

.btn-ghost {
  border: 1px solid rgba(94, 231, 255, 0.28);
  background: rgba(94, 231, 255, 0.06);
  color: var(--ai);
}

.btn-ghost:hover {
  border-color: var(--crimson);
  color: #fff;
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.muted a {
  color: #fff;
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(var(--ai), var(--ai)) 0 0 / 14px 1px no-repeat,
    linear-gradient(var(--ai), var(--ai)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--ai), var(--ai)) 100% 0 / 14px 1px no-repeat,
    linear-gradient(var(--ai), var(--ai)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--crimson), var(--crimson)) 0 100% / 14px 1px no-repeat,
    linear-gradient(var(--crimson), var(--crimson)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--crimson), var(--crimson)) 100% 100% / 14px 1px no-repeat,
    linear-gradient(var(--crimson), var(--crimson)) 100% 100% / 1px 14px no-repeat;
  opacity: 0.7;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.pill {
  border: 1px solid rgba(94, 231, 255, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  color: var(--ai);
  background: rgba(94, 231, 255, 0.06);
}

.match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(94, 231, 255, 0.18);
  background: var(--ink-800);
  box-shadow: 0 0 24px rgba(94, 231, 255, 0.08);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, 0.08), transparent 30%, rgba(7, 9, 15, 0.45)),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, 0.1) 3px 4px);
  opacity: 0.28;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(94, 231, 255, 0.18);
  border-radius: 6px;
  box-shadow: 12px 0 0 -11px var(--ai), -12px 0 0 -11px var(--crimson);
}

.portrait b {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  font-family: Oswald, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}

.portrait.right b {
  left: auto;
  right: 0.7rem;
}

.fighter-name {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 1.15rem;
}

.vs {
  font-family: Oswald, sans-serif;
  color: var(--crimson);
  font-size: 1.6rem;
  margin-bottom: 0;
  text-shadow: 0 0 18px rgba(229, 9, 20, 0.55);
}

.ai-box,
.ai-panel {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(229, 9, 20, 0.38);
  background:
    linear-gradient(100deg, rgba(229, 9, 20, 0.16), transparent 42%),
    rgba(6, 8, 14, 0.72);
  box-shadow: 0 0 28px rgba(229, 9, 20, 0.12);
}

.ai-panel {
  margin-top: 2rem;
  padding: 1.4rem;
}

.ai-box .label {
  color: var(--ai);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ai-pick {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-top: 0.35rem;
}

.bar {
  height: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px),
    #151b26;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--punch), var(--ai));
  box-shadow: 0 0 12px rgba(94, 231, 255, 0.45);
}

.models {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.model {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(7, 11, 18, 0.85);
  border: 1px solid rgba(94, 231, 255, 0.1);
  border-left: 2px solid var(--ai);
  font-size: 0.92rem;
}

.model:nth-child(2) {
  border-left-color: var(--ai-2);
}

.model:nth-child(3) {
  border-left-color: var(--ai-3);
}

.model:nth-child(4) {
  border-left-color: var(--ai-4);
}

.model small,
.model-name {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ai);
}

.model:nth-child(2) small,
.models-grid > :nth-child(2) .model-name {
  color: var(--ai-2);
}

.model:nth-child(3) small,
.models-grid > :nth-child(3) .model-name {
  color: var(--ai-3);
}

.model:nth-child(4) small,
.models-grid > :nth-child(4) .model-name {
  color: var(--ai-4);
}

.model-pick {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.model-method {
  color: var(--mute);
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

.models-grid > .card {
  overflow: hidden;
}

.models-grid > .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ai);
  box-shadow: 0 0 12px var(--ai);
}

.models-grid > :nth-child(2)::after {
  background: var(--ai-2);
  box-shadow: 0 0 12px var(--ai-2);
}

.models-grid > :nth-child(3)::after {
  background: var(--ai-3);
  box-shadow: 0 0 12px var(--ai-3);
}

.models-grid > :nth-child(4)::after {
  background: var(--ai-4);
  box-shadow: 0 0 12px var(--ai-4);
}

.conf {
  color: var(--punch);
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
}

.empty {
  text-align: center;
  padding: 3rem 1.25rem;
  position: relative;
}

.empty h2 {
  font-size: 1.8rem;
}

.stats {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.stats th,
.stats td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

.stats th {
  background: rgba(7, 11, 18, 0.9);
  color: var(--ai);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.prose {
  color: var(--mute);
  display: grid;
  gap: 1rem;
  font-size: 0.95rem;
}

.prose h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 0.5rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.form input,
.form textarea {
  background: rgba(6, 8, 14, 0.9);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-family: Inter, system-ui, sans-serif;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ai);
  box-shadow: 0 0 0 3px rgba(94, 231, 255, 0.12);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.92);
}

.footer-seo {
  padding: 2.25rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.foot-links {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.foot-links a {
  color: var(--mute);
}

.foot-links a:hover {
  color: var(--ai);
}

.legal-bar {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
  color: var(--mute);
  font-size: 0.78rem;
  display: grid;
  gap: 0.35rem;
}

.ring-art {
  width: min(420px, 100%);
  margin: 0 auto;
  color: rgba(94, 231, 255, 0.45);
  filter: drop-shadow(0 0 16px rgba(94, 231, 255, 0.25));
}

.center {
  text-align: center;
}

.page.center {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.page {
  padding: 2.5rem 0 1rem;
}

.models-grid {
  display: grid;
  gap: 1rem;
}

.compare {
  margin-top: 1.5rem;
  overflow-x: auto;
}

@media (min-width: 720px) {
  .grid,
  .models-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .menu-btn,
  .mobile-nav {
    display: none !important;
  }

  .nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .models-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1440px) {
  .wrap {
    width: min(1280px, calc(100% - 4rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
