:root {
  --void: #000000;
  --deep: #0A0604;
  --orange: #FF6B00;
  --amber: #FFA032;
  --burnt: #CC5500;
  --glow: #FF8C00;
  --sand: #1A120C;
  --surface: #120C08;
  --white: #FFFFFF;
  --muted: #9A8A7A;
  --line: rgba(255, 107, 0, 0.18);
  --shadow: 0 24px 64px rgba(255, 107, 0, 0.12);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--void);
  line-height: 1.65;
}
a { color: var(--amber); text-decoration: none; font-weight: 600; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }

.signal-band {
  background: var(--deep);
  border-bottom: 1px solid var(--line);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}
.signal-band strong { color: var(--orange); }

.site-header {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-link img { width: 38px; height: 38px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.site-nav a:hover { color: var(--amber); }
.header-x-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--amber) !important;
}
.header-x-link:hover { border-color: var(--orange); color: var(--orange) !important; }
.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--burnt), var(--orange));
  color: #fff !important;
}
.nav-cta:hover { filter: brightness(1.08); color: #fff !important; }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--deep);
  color: var(--white);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.hero-terrain {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 78% 35%, rgba(255,107,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(204,85,0,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--void) 0%, var(--deep) 100%);
}
.hero-terrain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, transparent 40%, rgba(255,140,0,0.06) 50%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,107,0,0.04) 80px,
      rgba(255,107,0,0.04) 81px
    );
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.hero-terrain h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.hero-terrain h1 span { color: var(--orange); }
.hero-lede { color: var(--muted); margin: 0 0 1.5rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
}
.btn-orange {
  background: linear-gradient(135deg, var(--burnt), var(--orange));
  color: #fff !important;
  box-shadow: var(--shadow);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--white) !important;
  background: rgba(255,255,255,0.04);
}

.insight-panel {
  background: rgba(18, 12, 8, 0.85);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.insight-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.flow-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.flow-step {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  background: rgba(255,107,0,0.06);
  border: 1px solid var(--line);
}
.flow-step .label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.35rem;
}
.flow-step .val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
}
.stream-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}
.stream-bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--burnt), var(--amber));
  opacity: 0.85;
}
.stream-bars span:nth-child(1) { height: 35%; }
.stream-bars span:nth-child(2) { height: 58%; }
.stream-bars span:nth-child(3) { height: 44%; }
.stream-bars span:nth-child(4) { height: 72%; }
.stream-bars span:nth-child(5) { height: 61%; }
.stream-bars span:nth-child(6) { height: 88%; }
.stream-bars span:nth-child(7) { height: 52%; }

.section { padding: 3.75rem 0; }
.section-dark { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}
.section-intro { color: var(--muted); max-width: 38rem; margin: 0 0 2rem; }

.origin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.origin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}
.origin-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  color: var(--amber);
}
.origin-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burnt), var(--amber));
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
}
.bento-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--burnt), var(--amber), var(--orange));
  opacity: 0.45;
}
.tl-step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}
.tl-dot {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  background: var(--void);
  border: 2px solid var(--orange);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.tl-step h3 { font-size: 0.92rem; margin: 0 0 0.35rem; color: var(--white); }
.tl-step p { font-size: 0.82rem; color: var(--muted); margin: 0; }

.contact-band {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,107,0,0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--deep), var(--void));
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 3.5rem 0;
}
.contact-band h2 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}
.contact-band p { color: var(--muted); margin: 0 0 1.35rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-x-btn { margin-left: 0; }

.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,0.55);
  padding: 2rem 0 1.25rem;
  font-size: 0.88rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.footer-brand { display: flex; align-items: flex-start; gap: 0.75rem; max-width: 20rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.footer-brand p { margin: 0.15rem 0 0; font-size: 0.85rem; }
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: rgba(255,255,255,0.65); font-weight: 500; }
.footer-nav a:hover { color: var(--amber); }
.footer-x-pill {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--amber) !important;
  font-size: 0.85rem;
}
.footer-copy { font-size: 0.8rem; opacity: 0.55; }

.legal-page { padding: 3rem 0 4rem; max-width: 42rem; }
.legal-page h1 { font-family: var(--font-display); color: var(--white); letter-spacing: 0.04em; }
.legal-page p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .timeline::before { display: none; }
  .origin-split { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4vw;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
}
