@charset "UTF-8";

:root {
  --bg: #0B0F19;
  --bg-raised: #1A2332;
  --blue: #00D4FF;
  --yellow: #F2FF00;
  --red: #FF3B30;
  --violet: #6B21FF;
  --white: #FFFFFF;
  --muted: #A0AABF;
  --font-headline: Impact, "Arial Black", "PingFang SC", sans-serif;
  --font-body: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Courier New", Consolas, "DIN Alternate", monospace;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --speed-gradient: linear-gradient(90deg, var(--violet), var(--blue) 45%, var(--yellow));
  --shadow-blue: 0 0 24px rgba(0, 212, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(107, 33, 255, 0.16), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(0, 212, 255, 0.1), transparent 28%),
    linear-gradient(115deg, transparent 0%, rgba(0, 212, 255, 0.05) 48%, transparent 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--yellow);
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

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

#main-content {
  display: block;
  min-height: 60vh;
}

.skip-link {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(242, 255, 0, 0.4);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--bg);
}

.shell {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3.5rem);
}

.header-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 0;
  height: 4px;
  background: var(--speed-gradient);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: clamp(0.5rem, 2vw, 0.9rem);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 25, 0.82);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

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

.brand:hover {
  color: var(--white);
}

.brand-mark {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet) 70%);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.35);
  transform: rotate(-6deg);
  transition: transform 0.25s ease;
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  transform: translateY(-50%) rotate(-12deg);
  transition: transform 0.25s ease;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.brand:hover .brand-mark {
  transform: rotate(0deg) scale(1.04);
}

.brand:hover .brand-mark::before {
  transform: translateY(-50%) rotate(0deg) scaleX(1.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-headline);
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--bg);
  background: var(--blue);
  box-shadow: var(--shadow-blue);
}

.button-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
  padding: 0.72rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue), var(--violet));
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-cta:hover {
  transform: translateY(-2px);
  color: var(--bg);
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.4);
}

.button-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  margin-left: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: var(--radius-pill);
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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(-6px) rotate(-45deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 6rem;
  border-top: 1px solid rgba(0, 212, 255, 0.16);
  background: linear-gradient(180deg, var(--bg), #060910 80%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--speed-gradient);
}

.site-footer::after {
  content: "RACE BOB";
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  z-index: 0;
  font-family: var(--font-headline);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-trust {
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-list a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-list a:hover {
  padding-left: 0.3rem;
  color: var(--blue);
}

.footer-meta p {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-support-note {
  max-width: 38ch;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-copy {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back-to-top:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--bg);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section--narrow {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
}

.display-title {
  max-width: 11ch;
  font-family: var(--font-headline);
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.text-block {
  max-width: 72ch;
  color: var(--muted);
}

.text-block p {
  margin-bottom: 1.25em;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.9), rgba(11, 15, 25, 0.85));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.5);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.card-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
}

.data-cell {
  padding: 1.25rem;
  background: var(--bg);
}

.data-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: var(--blue);
}

.data-label {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.tag--hot {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--bg);
}

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

.tag--red {
  border-color: rgba(255, 59, 48, 0.5);
  background: rgba(255, 59, 48, 0.14);
  color: var(--white);
}

.tag--red::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
  background: var(--blue);
  color: var(--bg);
  box-shadow: var(--shadow-blue);
}

.button--primary:hover {
  background: var(--yellow);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(242, 255, 0, 0.3);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.chip-filter:hover {
  border-color: var(--blue);
  color: var(--white);
}

.chip-filter[aria-pressed="true"] {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(242, 255, 0, 0.25);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

.breadcrumb span {
  color: var(--muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--yellow);
}

.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}

.page-title {
  max-width: 12ch;
  font-family: var(--font-headline);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--white);
}

.page-summary {
  max-width: 60ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.8), rgba(11, 15, 25, 0.4));
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, transparent 40%, rgba(0, 212, 255, 0.14) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.image-frame:hover::after {
  transform: translateX(100%);
}

.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--tall {
  aspect-ratio: 3 / 4;
}

.image-frame--hero {
  aspect-ratio: 21 / 9;
}

.speedline {
  position: relative;
  display: block;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35) 30%, var(--yellow) 50%, rgba(0, 212, 255, 0.35) 70%, transparent);
}

.speedline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--white));
  transform: skewX(-20deg);
  animation: race-line 1.8s linear infinite;
}

@keyframes race-line {
  to {
    left: 120%;
  }
}

@media (max-width: 960px) {
  .header-shell {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
  }

  .button-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 0.25rem 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link {
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    padding-inline: 1rem;
  }

  .header-shell {
    padding: 0.55rem 0.75rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

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

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

  .footer-bottom .back-to-top {
    align-self: flex-end;
  }

  .section-head--split {
    flex-direction: column;
    align-items: stretch;
  }

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

  .image-frame--hero {
    aspect-ratio: 4 / 3;
  }
}

@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;
  }

  .speedline::after,
  .button-cta-dot {
    display: none;
  }
}
