:root {
  --primary: #0A2342;
  --secondary: #2563EB;
  --accent: #F97316;
  --success: #16A34A;
  --bg: #0B1120;
  --surface: #111827;
  --text: #F8FAFC;
  --muted: #C8D5EE;
  --line: #22314F;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 5%, rgba(37, 99, 235, 0.23) 0%, transparent 28%),
              radial-gradient(circle at 90% 16%, rgba(249, 115, 22, 0.2) 0%, transparent 32%),
              linear-gradient(160deg, #070c18 0%, var(--bg) 50%, #0e172c 100%);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 92vh;
  padding: 1.2rem 0 4rem;
  overflow: hidden;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
}

.nav-links,
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.nav-links {
  justify-content: center;
}

.nav-links a,
.social a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:visited,
.social a:visited {
  color: var(--muted);
}

.nav-links a:hover,
.social a:hover {
  color: var(--text);
}

.hero-content {
  margin-top: clamp(2rem, 5vw, 5rem);
  max-width: 950px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.3vw, 4.3rem);
  max-width: 19ch;
}

h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.55rem, 3.8vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
}

.subheadline {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.title-line {
  margin: 0.25rem 0;
}

.muted {
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.15rem;
  border-radius: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #1e4aba);
  color: #f6fbff;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(17, 24, 39, 0.48);
}

.section {
  padding: 2.65rem 0;
}

.section-lead {
  color: var(--muted);
  margin-top: 0.15rem;
}

.panel,
.card,
.status-card,
.timeline-item,
.gallery-item {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.94), rgba(10, 17, 32, 0.84));
  border-radius: 16px;
}

.panel {
  padding: 1.2rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.ventures {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact .card {
  padding: 0.9rem;
  text-align: center;
}

.card {
  padding: 1.1rem;
}

.card ul,
.card ol,
.panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.card a {
  color: #8fb1ff;
}

.card a:visited {
  color: #8fb1ff;
}

a {
  color: #9cc0ff;
}

a:visited {
  color: #9cc0ff;
}

.stats-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat {
  border: 1px dashed #335086;
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(12, 20, 39, 0.6);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-value {
  font-family: "Syne", sans-serif;
  font-size: 1.24rem;
}

.meta-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.chip-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid #385a93;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(9, 22, 48, 0.72);
  font-size: 0.84rem;
}

.chip-warn {
  border-color: #6b4a1d;
  background: rgba(74, 42, 10, 0.44);
}

.ecosystem {
  position: relative;
  overflow: hidden;
}

.node {
  display: inline-block;
  border: 1px solid #32508b;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  background: rgba(13, 28, 57, 0.9);
  color: #e6efff;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease;
}

.node:hover {
  transform: translateY(-2px);
  border-color: #4f7be0;
}

.root {
  margin-bottom: 0.9rem;
}

.branch,
.sub-branch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.sub-branch {
  width: 100%;
  margin-top: 0.2rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  padding: 1rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.status-card {
  padding: 1rem;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.pill-ok {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.75);
  color: #bdf2cb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.6rem;
  font-weight: 700;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.checks li::before {
  content: "\2713  ";
  color: var(--success);
  font-weight: 700;
}

.footer {
  padding: 2.2rem 0 2.4rem;
  border-top: 1px solid rgba(44, 63, 95, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.28;
  pointer-events: none;
}

.orb-a {
  width: 230px;
  height: 230px;
  background: var(--secondary);
  right: -40px;
  top: 140px;
  animation: bob 8s ease-in-out infinite;
}

.orb-b {
  width: 200px;
  height: 200px;
  background: var(--accent);
  left: -42px;
  bottom: 120px;
  animation: bob 9s ease-in-out infinite reverse;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .ventures,
  .two-up,
  .three-up,
  .timeline,
  .status-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .social-header {
    margin-top: 0.3rem;
  }
}
