@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

:root {
  --bg:       #090b0d;
  --fg:       #f5f7f9;
  --border:   #1c2228;
  --primary:  #0A84FF;
  --muted:    #131619;
  --muted-fg: #8a9099;
  --sans:     'Outfit', sans-serif;
  --mono:     'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--primary); color: #000; }

/* ── Grid background ── */
.grid-bg {
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── HUD brackets ── */
.hud-tl { position: relative; }
.hud-tl::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-top:  1px solid var(--primary);
  border-left: 1px solid var(--primary);
}
.hud-br { position: relative; }
.hud-br::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 8px; height: 8px;
  border-bottom: 1px solid var(--primary);
  border-right:  1px solid var(--primary);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(9,11,13,.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav a { text-decoration: none; }
.nav-logo { height: 24px; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.nav-links a { color: var(--muted-fg); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links .nav-cta { color: var(--primary); display: flex; align-items: center; gap: 8px; }
.nav-links .nav-cta::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 0;
}
.nav-links .nav-cta:hover { color: #fff; }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ── Section wrapper ── */
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section.alt { background: rgba(255,255,255,.015); }
.inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Section header ── */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 64px;
}
.sec-title {
  font-family: var(--mono);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.sec-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
}
@media (max-width: 768px) { .sec-tag { display: none; } }

/* ── Typography helpers ── */
.mono { font-family: var(--mono); }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .15em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tag::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--primary); }
h1 { font-size: clamp(40px, 8vw, 90px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 500; line-height: 1.15; }
h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 500; }
.lead { font-size: clamp(16px, 1.5vw, 20px); color: var(--muted-fg); font-weight: 300; line-height: 1.7; }
.muted { color: var(--muted-fg); }
.accent { color: var(--primary); }

/* ── Grid layouts ── */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 900px) {
  .grid-12 { grid-template-columns: 1fr; gap: 32px; }
  .col-7, .col-5, .col-6, .col-4 { grid-column: span 1; }
}

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

.cell-border { border: 1px solid var(--border); }
.gap-px { gap: 1px; background: var(--border); }
.gap-px > * { background: var(--bg); }

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
  border-top: none;
}
.hero-grid { position: absolute; inset: 0; opacity: .3; }
.hero-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1800px;
  opacity: .6;
}
.hero-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,11,13,.4) 0%, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-specs { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; padding-bottom: 48px; }
@media (max-width: 900px) { .hero-specs { display: none; } }
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-right: 1px solid var(--primary);
  padding-right: 16px;
  padding: 4px 16px 4px 0;
  min-width: 180px;
}
.spec-label { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); letter-spacing: .1em; }
.spec-value { font-family: var(--mono); font-size: 13px; color: var(--primary); }
.hero-meta { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); line-height: 1.8; }

/* ── CTA button ── */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #000;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 16px 32px;
  text-decoration: none;
  transition: background .2s;
  position: relative;
}
.btn-primary:hover { background: #fff; }

/* ── Stat blocks ── */
.stat-block { padding: 32px; display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--mono);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--primary);
  margin-bottom: 8px;
}
.stat-num.white { color: var(--fg); }
.stat-label { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); text-transform: uppercase; letter-spacing: .1em; line-height: 1.6; }

/* ── Insight cards ── */
.insight-card { padding: 32px; display: flex; flex-direction: column; height: 100%; }
.insight-card .tag { margin-bottom: 24px; }
.insight-card h3 { font-size: 22px; margin-bottom: 16px; }
.insight-card p { color: var(--muted-fg); line-height: 1.7; }

/* ── Platform ── */
.platform-list {
  list-style: none;
  border-left: 1px solid var(--primary);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-fg);
}
.platform-list li { display: flex; align-items: flex-start; gap: 16px; }
.platform-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 16px; height: 1px;
  background: var(--primary);
  margin-top: 10px;
}
.schematic-wrap {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.5);
  padding: 16px;
}
.schematic-wrap img { width: 100%; height: auto; display: block; opacity: .8; mix-blend-mode: screen; }
.schematic-tag-tr {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 10px; color: var(--primary); letter-spacing: .1em;
}
.schematic-tag-bl {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; color: var(--muted-fg); letter-spacing: .1em;
}

/* ── Telemetry strip ── */
.telemetry { margin-top: 64px; border: 1px solid var(--border); }
.tele-cell { padding: 24px 32px; }
.tele-label { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.tele-val { font-family: var(--mono); font-size: clamp(24px, 3vw, 36px); }
.tele-val .accent { font-size: .9em; }

/* ── Cycle ── */
.cycle-card { padding: 32px; display: flex; flex-direction: column; height: 100%; }
.cycle-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.stage-tag { font-family: var(--mono); font-size: 10px; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.stage-line { width: 32px; height: 1px; background: var(--primary); }
.cycle-card h3 { font-size: 22px; margin-bottom: 16px; }
.cycle-card p { font-size: 13px; color: var(--muted-fg); line-height: 1.7; }
.cycle-note { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); text-transform: uppercase; letter-spacing: .08em; margin-top: 32px; max-width: 700px; line-height: 1.8; }

/* ── Advantage table ── */
.adv-table { border: 1px solid var(--border); }
.adv-head { display: grid; grid-template-columns: 80px 1fr 1fr; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.adv-head-cell { padding: 16px 24px; font-family: var(--mono); font-size: 10px; color: var(--muted-fg); text-transform: uppercase; letter-spacing: .08em; }
.adv-head-cell:not(:first-child) { border-left: 1px solid var(--border); }
.adv-head-cell.primary { color: var(--primary); }
.adv-row { display: grid; grid-template-columns: 80px 1fr 1fr; border-bottom: 1px solid var(--border); }
.adv-row:last-child { border-bottom: none; }
.adv-row-num { padding: 16px 24px; font-family: var(--mono); font-size: 10px; color: var(--muted-fg); }
.adv-row-cell { padding: 16px 24px; font-size: 13px; border-left: 1px solid var(--border); }
.adv-row-cell.strikethrough { color: var(--muted-fg); text-decoration: line-through; text-decoration-color: rgba(138,144,153,.35); }
.adv-row-cell.win { display: flex; align-items: flex-start; gap: 12px; }
.adv-row-cell.win::before { content: ''; display: inline-block; flex-shrink: 0; width: 8px; height: 8px; background: var(--primary); margin-top: 4px; }
@media (max-width: 600px) {
  .adv-head { grid-template-columns: 40px 1fr 1fr; }
  .adv-row  { grid-template-columns: 40px 1fr 1fr; }
  .adv-head-cell, .adv-row-num, .adv-row-cell { padding: 12px; font-size: 11px; }
}

/* ── Roadmap ── */
.road-card { padding: 32px; display: flex; flex-direction: column; height: 100%; }
.road-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
.road-phase { font-family: var(--mono); font-size: 10px; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.road-timeline { font-family: var(--mono); font-size: 10px; color: var(--muted-fg); text-transform: uppercase; }
.road-card h3 { font-size: 22px; margin-bottom: 8px; }
.road-capital { font-family: var(--mono); font-size: 13px; color: var(--primary); margin-bottom: 16px; }
.road-card p { font-size: 13px; color: var(--muted-fg); line-height: 1.7; }

/* ── Team ── */
.team-grid { border: 1px solid var(--border); }
.team-card { padding: 32px; display: flex; flex-direction: column; }
.team-card.primary { border-bottom: 1px solid var(--border); }
.team-secondary { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .team-secondary { grid-template-columns: 1fr; } }
.team-secondary .team-card { border-right: 1px solid var(--border); }
.team-secondary .team-card:last-child { border-right: none; }
@media (max-width: 768px) { .team-secondary .team-card { border-right: none; border-bottom: 1px solid var(--border); } .team-secondary .team-card:last-child { border-bottom: none; } }
.team-card-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 16px; gap: 16px; flex-wrap: wrap; }
.team-name { font-size: 22px; font-weight: 500; }
.team-name.lg { font-size: clamp(22px, 3vw, 30px); }
.team-role { font-family: var(--mono); font-size: 10px; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.team-bio { color: var(--muted-fg); font-size: 13px; line-height: 1.7; max-width: 720px; }
.team-bio.lg { font-size: clamp(14px, 1.3vw, 16px); }

/* ── Contact CTA ── */
#contact { background: var(--bg); }
.contact-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  position: relative;
}
.contact-icon::before { content: ''; position: absolute; top: 0; left: 0; width: 8px; height: 8px; border-top: 1px solid var(--primary); border-left: 1px solid var(--primary); }
.contact-icon::after  { content: ''; position: absolute; bottom: 0; right: 0; width: 8px; height: 8px; border-bottom: 1px solid var(--primary); border-right: 1px solid var(--primary); }
.contact-dot { width: 8px; height: 8px; background: var(--primary); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.contact-sub { font-family: var(--mono); font-size: 11px; color: var(--primary); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px; }
.contact-h { font-size: clamp(28px, 4vw, 52px); font-weight: 500; max-width: 700px; margin-bottom: 24px; line-height: 1.2; }
.contact-p { color: var(--muted-fg); font-weight: 300; max-width: 480px; margin-bottom: 48px; line-height: 1.7; }

/* ── Footer ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 10px; color: var(--muted-fg);
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 16px; object-fit: contain; opacity: .5; }
.footer-right { display: flex; gap: 24px; }

/* ── Flex helpers ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.items-center { align-items: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 64px; }
