:root {
  --c-orange: #FF6B00;
  --c-blue: #0A1E3D;
  --c-lime: #C6FF00;
  --c-blue-soft: #E8EDF2;
  --c-white: #FFFFFF;
  --c-ink: #0D0D0D;
  --c-red: #FF3B30;
  --c-gold: #FFD700;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: 'IBM Plex Mono', Monaco, monospace;
  --container: 1240px;
  --header-h: 72px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.35em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(52px, 8vw, 88px);
}

h2 {
  font-size: clamp(40px, 5.4vw, 48px);
}

h3 {
  font-size: clamp(26px, 3.4vw, 32px);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--c-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--c-lime);
  color: var(--c-blue);
}

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--c-lime);
}

#main-content {
  outline: none;
  scroll-margin-top: 90px;
}

.content-shell {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 300;
  transform: translateY(-140%);
  background: var(--c-lime);
  color: var(--c-blue);
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--c-orange);
  transition: transform 0.16s ease-in-out;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-shell {
  width: min(100% - 32px, var(--container));
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--c-orange);
  color: var(--c-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  transform: skewX(-10deg);
  box-shadow: 3px 3px 0 var(--c-lime);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-name small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1;
  color: var(--c-blue-soft);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  counter-reset: navIndex;
}

.nav-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, transform 0.15s;
}

.nav-list a::before {
  counter-increment: navIndex;
  content: "0" counter(navIndex) " /";
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--c-orange);
  line-height: 1;
}

.nav-list a:hover {
  color: var(--c-lime);
  transform: translateY(-1px);
}

.nav-list a[aria-current="page"] {
  color: var(--c-lime);
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 3px;
  background: var(--c-lime);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(198, 255, 0, 0.6);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--c-lime);
  color: var(--c-blue);
}

.nav-toggle {
  display: none;
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-lime));
  z-index: 5;
}

.site-footer {
  background: var(--c-blue);
  color: var(--c-white);
  padding-top: 56px;
  padding-bottom: 24px;
}

.footer-shell {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.brand--footer .brand-mark {
  background: var(--c-lime);
  color: var(--c-blue);
  box-shadow: none;
}

.brand--footer .brand-name small {
  color: rgba(255, 255, 255, 0.56);
}

.footer-summary {
  max-width: 44em;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.footer-trust {
  max-width: 44em;
  margin-top: 22px;
  padding: 16px;
  border-left: 3px solid var(--c-lime);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-panel {
  min-width: 0;
}

.footer-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--c-lime);
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.footer-links a:hover {
  color: var(--c-lime);
  border-bottom-color: var(--c-lime);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact__label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--c-orange);
  text-transform: uppercase;
}

.footer-contact span:last-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.footer-meta__line {
  margin: 0;
}

.footer-links--legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-links--legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.hero {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  overflow: hidden;
  background: var(--c-blue);
  color: var(--c-white);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-lime);
  text-transform: uppercase;
}

.hero__kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--c-orange);
}

.hero__title {
  max-width: 12ch;
  margin: 0;
  color: var(--c-white);
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.82;
}

.hero__lead {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.2vw, 18px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__index {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 300px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 20px;
  padding: 16px 0;
  color: var(--c-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 12px;
  color: var(--c-orange);
}

.breadcrumb a {
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  border-bottom-color: currentColor;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--c-orange);
}

.section-title {
  margin-bottom: 12px;
}

.section-desc {
  max-width: 640px;
  color: var(--c-blue);
  opacity: 0.82;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--c-blue);
  background: var(--c-white);
  color: var(--c-blue);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: var(--c-blue);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--primary {
  border-color: var(--c-orange);
  background: var(--c-orange);
  color: var(--c-blue);
  box-shadow: 5px 5px 0 var(--c-blue);
}

.btn--primary:hover {
  background: var(--c-lime);
  border-color: var(--c-blue);
  color: var(--c-blue);
  box-shadow: 6px 6px 0 var(--c-blue);
  transform: translate(-2px, -2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.btn--ghost:hover {
  background: var(--c-blue);
  color: var(--c-white);
}

.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--c-white);
}

.hero .btn--ghost:hover {
  background: var(--c-white);
  color: var(--c-blue);
}

.btn--small {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--c-blue);
  background: var(--c-white);
  color: var(--c-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tag--live {
  background: var(--c-lime);
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.tag--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 1.4s ease-in-out infinite;
}

.tag--gold {
  background: var(--c-gold);
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.tag--blue {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
}

@keyframes livePulse {
  50% {
    opacity: 0.35;
  }
}

.stat {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-blue-soft);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--c-orange);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  text-transform: uppercase;
}

.bar {
  display: flex;
  height: 8px;
  overflow: hidden;
  background: var(--c-blue-soft);
  border: 1px solid var(--c-blue);
}

.bar__fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--c-orange), var(--c-lime));
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table th {
  padding: 10px 12px;
  background: var(--c-blue);
  color: var(--c-white);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table td {
  padding: 12px;
  border-bottom: 1px solid var(--c-blue-soft);
}

.index-list {
  display: grid;
}

.index-list__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-blue-soft);
}

.figure {
  position: relative;
  z-index: 0;
  margin: 0;
  background: var(--c-blue-soft);
}

.figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--c-blue-soft);
}

.figure__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(10, 30, 61, 0.55));
  pointer-events: none;
}

.figure--wide .figure__media {
  aspect-ratio: 21 / 9;
}

.figure--tall .figure__media {
  aspect-ratio: 3 / 4;
}

.figure--score .figure__media {
  background: var(--c-blue);
}

.figure--empty .figure__media {
  background:
    repeating-linear-gradient(-45deg, rgba(10, 30, 61, 0.07) 0 12px, transparent 12px 24px),
    var(--c-blue-soft);
}

.figure--stack::before {
  content: "";
  position: absolute;
  inset: 14px auto auto 14px;
  width: 100%;
  height: 100%;
  background: var(--c-blue);
  z-index: -1;
}

.figure__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  padding-left: 24px;
  border-left: 2px solid var(--c-blue-soft);
}

.timeline__item {
  position: relative;
  padding: 0 0 24px 20px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--c-orange);
  border: 2px solid var(--c-white);
  outline: 1px solid var(--c-blue);
}

.card {
  position: relative;
  padding: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-blue);
  box-shadow: 6px 6px 0 var(--c-blue);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  box-shadow: 8px 8px 0 var(--c-orange);
  transform: translate(-2px, -2px);
}

.card--flat {
  box-shadow: none;
  border-color: var(--c-blue-soft);
}

.card--flat:hover {
  box-shadow: none;
  border-color: var(--c-blue);
}

.card--blue {
  background: var(--c-blue);
  color: var(--c-white);
}

.card--blue .card__index {
  color: var(--c-lime);
}

.card__index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-orange);
}

.print-border {
  border: 1px solid var(--c-blue);
  outline: 1px solid var(--c-blue);
  outline-offset: 4px;
}

.slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.mono {
  font-family: var(--font-mono);
}

@media (max-width: 960px) {
  .header-shell {
    min-height: 60px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--c-white);
  }

  .nav-toggle__box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
  }

  .nav-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.18s, opacity 0.18s;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    z-index: 120;
    width: min(360px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px 0 16px;
    background: var(--c-blue);
    border-left: 4px solid var(--c-orange);
    box-shadow: 12px 12px 0 rgba(198, 255, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: none;
    width: 100%;
  }

  .nav-list a::after {
    left: 20px;
    right: auto;
    bottom: 0;
    width: 0;
  }

  .nav-list a[aria-current="page"]::after {
    width: 28px;
  }

  .nav-cta {
    margin: 16px 20px 4px;
    justify-content: center;
  }

  .hero__index {
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .grid--4,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
