:root {
  --bg: #050608;
  --bg-soft: #0b0e12;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f5f1e8;
  --text-soft: rgba(245, 241, 232, 0.76);
  --text-muted: rgba(245, 241, 232, 0.58);
  --accent: #bfcfff;
  --accent-soft: rgba(191, 207, 255, 0.18);
  --warm: #efe0bf;
  --glow: 0 0 30px rgba(191, 207, 255, 0.18);
  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(191, 207, 255, 0.1), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(239, 224, 191, 0.08), transparent 25%),
    linear-gradient(180deg, #040506 0%, #06080b 32%, #030406 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  opacity: 0.42;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 8, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffffff, #cfdcff 36%, #6678ad 74%, rgba(255, 255, 255, 0) 75%);
  box-shadow: 0 0 24px rgba(191, 207, 255, 0.45);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.section {
  padding: 6rem 0;
}

.section-narrow {
  width: min(calc(100% - 2rem), 880px);
}

.hero {
  padding-top: 5rem;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
}

.hero-grid,
.venture-section,
.independence-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.eyebrow,
.section-kicker,
.venture-type,
.card-index,
.flow-title,
.stack-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.eyebrow,
.section-kicker {
  color: var(--warm);
  margin: 0 0 1rem;
}

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

h1,
h2,
.visual-center,
.platform-line {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(3.6rem, 12vw, 7rem);
  line-height: 0.92;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.hero h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 1.5rem;
}

.hero-subheadline,
.section-lead,
.venture-copy p,
.venture-column p,
.info-card p,
.footer-copy,
.stack-note {
  color: var(--text-soft);
}

.hero-subheadline,
.section-lead {
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  border: 1px solid var(--line);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #071019;
  background: linear-gradient(135deg, #f4eee1 0%, #dbe6ff 100%);
  border-color: transparent;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.constellation-card,
.info-card,
.venture-column,
.flow-card,
.stack-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 14, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.constellation-card {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  padding: 2rem;
  overflow: hidden;
}

.constellation-card::before {
  content: "";
  position: absolute;
  inset: 9% 8%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orb {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dbe6ff 34%, #7c8fc2 72%, transparent 74%);
  box-shadow: var(--glow);
}

.orb-a {
  top: 18%;
  left: 48%;
}

.orb-b {
  left: 20%;
  top: 64%;
}

.orb-c {
  right: 16%;
  top: 62%;
}

.signal-lines span {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 207, 255, 0.7), transparent);
  transform-origin: left center;
}

.signal-lines span:nth-child(1) {
  width: 36%;
  top: 22%;
  left: 32%;
  transform: rotate(86deg);
}

.signal-lines span:nth-child(2) {
  width: 38%;
  top: 61%;
  left: 22%;
  transform: rotate(-18deg);
}

.signal-lines span:nth-child(3) {
  width: 33%;
  top: 62%;
  left: 48%;
  transform: rotate(18deg);
}

.signal-lines span:nth-child(4) {
  width: 62%;
  top: 62%;
  left: 19%;
}

.visual-label,
.visual-center {
  position: absolute;
  color: var(--text-muted);
}

.visual-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-label-top {
  top: 11%;
  left: 39%;
}

.visual-label-left {
  left: 9%;
  bottom: 23%;
}

.visual-label-right {
  right: 7%;
  bottom: 23%;
}

.visual-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.7rem;
  color: var(--text);
  text-align: center;
}

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

.section h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 0;
  letter-spacing: -0.03em;
}

.card-grid,
.platform-map {
  display: grid;
  gap: 1.25rem;
}

.shift-grid,
.platform-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.venture-column,
.flow-card,
.stack-card {
  padding: 1.4rem;
}

.card-index,
.venture-type {
  color: var(--warm);
  display: inline-block;
  margin-bottom: 1.2rem;
}

.info-card h3,
.venture-column h3,
.venture-copy h2 {
  font-size: 1.45rem;
  line-height: 1.18;
  margin-bottom: 0.9rem;
}

.platform-line {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  max-width: 20ch;
}

.venture-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: start;
}

.venture-copy {
  padding-right: 1rem;
}

.venture-visual {
  display: grid;
  gap: 1rem;
}

.flow-title,
.stack-title {
  color: var(--accent);
  margin-bottom: 1rem;
}

.flow-line,
.token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.flow-line span,
.token-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.95rem;
}

.stacked-visual {
  gap: 1rem;
}

.subtle-card {
  background:
    linear-gradient(180deg, rgba(191, 207, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 14, 0.7);
}

.stack-note {
  margin-bottom: 0;
}

.independence-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: start;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.bullet-list li {
  padding: 0.75rem 0;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bullet-list li:last-child {
  border-bottom: 0;
}

.bullet-list li::before {
  content: "•";
  color: var(--warm);
  margin-right: 0.65rem;
}

.founder-quote {
  margin: 0;
  padding: 2rem;
  border-left: 1px solid rgba(239, 224, 191, 0.55);
  background: linear-gradient(90deg, rgba(239, 224, 191, 0.06), transparent 72%);
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.closing-section {
  padding-bottom: 7rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin-bottom: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  outline: none;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .venture-section,
  .independence-grid,
  .shift-grid,
  .platform-map {
    grid-template-columns: 1fr;
  }

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

  .venture-copy {
    padding-right: 0;
  }

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

@media (max-width: 680px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .constellation-card {
    aspect-ratio: 0.95 / 1;
  }

  .visual-center {
    font-size: 1.45rem;
    width: 60%;
  }

  .visual-label {
    font-size: 0.7rem;
  }

  .flow-line span,
  .token-row span {
    width: 100%;
    justify-content: center;
  }
}
