:root {
  --bg: #07111f;
  --bg-soft: #0d1a2f;
  --panel: rgba(10, 22, 40, 0.78);
  --panel-strong: rgba(12, 27, 48, 0.94);
  --line: rgba(151, 175, 211, 0.18);
  --text: #f3f6fb;
  --muted: #9db0ca;
  --primary: #7ff0c7;
  --secondary: #67b0ff;
  --accent: #ffd78b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(103, 176, 255, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(127, 240, 199, 0.12), transparent 24%),
    linear-gradient(180deg, #09111d 0%, #081221 44%, #050b14 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #08111d;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 28px rgba(103, 176, 255, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 24px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.topnav a:hover {
  color: var(--text);
}

.section {
  padding: 48px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 96px);
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.77rem;
  color: var(--primary);
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  color: #cae5ff;
}

.hero-text,
.cta-card p,
.product-card p,
.panel p,
.module-card p,
.governance-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--primary), #b8ffe5);
  box-shadow: 0 18px 32px rgba(127, 240, 199, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
}

.hero-metrics li,
.panel,
.product-card,
.module-card,
.governance-card,
.cta-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: 22px;
}

.hero-metrics strong {
  display: block;
  font-size: 2rem;
  color: var(--accent);
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.glass {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(202, 229, 255, 0.15);
  background: linear-gradient(180deg, rgba(11, 23, 41, 0.88), rgba(8, 16, 30, 0.96));
  box-shadow: var(--shadow);
}

.glass::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% 15%;
  height: 180px;
  background: radial-gradient(circle, rgba(103, 176, 255, 0.25), transparent 60%);
}

.card-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.signal-grid {
  display: grid;
  gap: 16px;
}

.signal-grid article {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(151, 175, 211, 0.12);
}

.signal-grid span {
  display: block;
  color: var(--primary);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.signal-grid strong {
  font-size: 1rem;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.manifesto-grid,
.portfolio-grid,
.modules-grid,
.governance-grid {
  display: grid;
  gap: 18px;
}

.manifesto-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

.modules-grid,
.governance-grid {
  grid-template-columns: repeat(4, 1fr);
}

.panel,
.product-card,
.module-card,
.governance-card,
.cta-card {
  border-radius: 28px;
  padding: 28px;
}

.panel h3,
.product-card h3,
.module-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.featured {
  background:
    linear-gradient(180deg, rgba(127, 240, 199, 0.08), rgba(103, 176, 255, 0.06)),
    var(--panel-strong);
}

.product-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.pill {
  color: #08111d;
  background: linear-gradient(135deg, var(--accent), #ffe9b8);
}

.tag {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.accent {
  background:
    linear-gradient(180deg, rgba(103, 176, 255, 0.09), rgba(127, 240, 199, 0.05)),
    var(--panel);
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.governance-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.cta-card {
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 139, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(10, 23, 42, 0.96), rgba(7, 16, 29, 0.98));
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .manifesto-grid,
  .portfolio-grid,
  .modules-grid,
  .governance-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .section {
    padding: 32px 0;
  }

  .panel,
  .product-card,
  .module-card,
  .governance-card,
  .cta-card,
  .glass {
    padding: 22px;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
