:root {
  --black: #050708;
  --panel: #0d1117;
  --panel-2: #111510;
  --charcoal: #1a1a1a;
  --radar: #7cff00;
  --yellow: #ffd400;
  --silver: #e8e8e8;
  --muted: #8a8f89;
  --line: rgba(124, 255, 0, 0.22);
  --hot-line: rgba(255, 212, 0, 0.5);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--silver);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(124, 255, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 0, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 16%, rgba(124, 255, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 80% 10%, rgba(255, 212, 0, 0.15), transparent 26rem),
    linear-gradient(135deg, var(--black), #090b0c 55%, #000);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
  opacity: 0.18;
  z-index: 10;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.section,
.hero,
.page-hero,
.launch-hero,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.brand .code3 {
  color: var(--yellow);
}

.brand-mark,
.outlier-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--yellow);
  font-weight: 950;
  filter: drop-shadow(0 0 16px rgba(255, 212, 0, 0.38));
}

.brand-mark::before,
.outlier-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--muted);
  transform: rotate(45deg) skew(-8deg, -8deg);
  background: rgba(255, 212, 0, 0.05);
}

.bolt {
  position: relative;
  z-index: 1;
  font-size: 1.55rem;
  line-height: 1;
}

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

.site-nav a {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--silver);
  border-color: var(--line);
  background: rgba(124, 255, 0, 0.07);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  color: var(--silver);
  background: var(--panel);
  border: 1px solid var(--line);
  text-transform: uppercase;
  font-weight: 900;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}

.storm-field,
.radar-disc {
  position: absolute;
  pointer-events: none;
}

.storm-field {
  inset: 4rem 0 2rem;
  border: 1px solid rgba(124, 255, 0, 0.13);
  background:
    linear-gradient(115deg, transparent, rgba(255, 212, 0, 0.08) 48%, transparent 49%),
    radial-gradient(circle at 70% 22%, rgba(255,255,255,0.18), transparent 1.2rem),
    linear-gradient(rgba(124,255,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,0,0.08) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(90deg, black, transparent 92%);
  animation: gridDrift 14s linear infinite;
}

.radar-disc {
  right: 8%;
  top: 10%;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(124, 255, 0, 0.32);
  background:
    radial-gradient(circle, transparent 17%, rgba(124,255,0,0.1) 18%, transparent 19%, transparent 36%, rgba(124,255,0,0.08) 37%, transparent 38%, transparent 58%, rgba(255,212,0,0.08) 59%, transparent 60%),
    conic-gradient(from 0deg, transparent, rgba(124,255,0,0.42), transparent 70deg);
  opacity: 0.78;
  animation: radarSpin 7s linear infinite;
}

.hero-content,
.hero-panel,
.page-hero,
.launch-panel,
.section {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.8rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.35rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #000, 0 0 30px rgba(255, 212, 0, 0.18);
}

.hero h1 {
  font-size: clamp(3.1rem, 7.2vw, 6.35rem);
  max-width: 100%;
}

.metal {
  background: linear-gradient(180deg, #fff, #8f8f8f 45%, #f7f7f7 58%, #555);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.code3 {
  color: var(--yellow);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle,
.page-hero p {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--line);
  color: var(--silver);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #050708;
  background: linear-gradient(135deg, var(--yellow), #9dff00);
  border-color: var(--yellow);
  box-shadow: 0 0 30px rgba(255, 212, 0, 0.24);
}

.button-secondary {
  background: rgba(124, 255, 0, 0.09);
  border-color: rgba(124, 255, 0, 0.48);
}

.button-ghost {
  background: rgba(232, 232, 232, 0.035);
}

.hero-panel,
.project-card,
.feature-tile,
.contact-card,
.launch-panel,
.visual-placeholder,
.video-placeholder,
.warning-box {
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 23, 0.95), rgba(5, 7, 8, 0.95));
  border: 1px solid var(--line);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  align-self: end;
  padding: 1.25rem;
}

.hero-panel strong {
  display: block;
  margin: 0.4rem 0 1rem;
  color: var(--yellow);
  font-size: 1.45rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  color: var(--muted);
  border-top: 1px solid rgba(124, 255, 0, 0.12);
}

.status-line span {
  width: 8px;
  height: 8px;
  background: var(--radar);
  box-shadow: 0 0 12px var(--radar);
}

.section {
  padding: 4.25rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.card-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-card,
.feature-tile,
.contact-card {
  padding: 1.25rem;
}

.project-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--hot-line);
}

.product-section,
.diecast-section,
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.visual-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 50%, rgba(124,255,0,0.15), transparent 38%),
    linear-gradient(rgba(124,255,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,0,0.08) 1px, transparent 1px),
    var(--panel);
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.diecast-card {
  border-color: var(--hot-line);
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #111, #050708);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.25rem 0 1.8rem;
}

.tag-row span {
  padding: 0.62rem 0.78rem;
  color: var(--silver);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
}

.page-hero,
.launch-hero {
  padding: 7rem 0 3rem;
}

.page-hero h1,
.launch-hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
}

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

.feature-tile {
  min-height: 180px;
}

.feature-tile h2 {
  font-size: 1.12rem;
}

.launch-hero {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
}

.launch-panel {
  width: min(780px, 100%);
  padding: clamp(1.4rem, 5vw, 3rem);
}

.launch-panel .outlier-mark {
  width: 76px;
  height: 76px;
  margin-bottom: 1rem;
}

.warning-box {
  margin: 1.4rem 0;
  padding: 1rem;
  color: #ffe58c;
  border-color: var(--hot-line);
}

.direct-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--radar);
  font-weight: 800;
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 52vw, 560px);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.12em;
}

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

.contact-card {
  min-height: 140px;
}

.contact-card span {
  display: block;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 950;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.footer-links a {
  color: var(--silver);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 34px 34px, 34px 34px; }
}

@media (max-width: 980px) {
  .hero,
  .product-section,
  .diecast-section,
  .split-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 4.4rem;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(5, 7, 8, 0.97);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .radar-disc {
    width: 86vw;
    right: -24vw;
  }

  .card-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
