:root {
  --bg-ink: #070d14;
  --bg-ocean: #0c1825;
  --bg-paper: #f5efe7;
  --paper-strong: #fffaf4;
  --text-light: #f5efe7;
  --text-dark: #0d131a;
  --muted-light: rgba(245, 239, 231, 0.72);
  --muted-dark: rgba(13, 19, 26, 0.8);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(13, 19, 26, 0.12);
  --blue: #2b86ff;
  --blue-soft: #80cbff;
  --teal: #42d0c9;
  --amber: #f1a74e;
  --shadow-heavy: 0 28px 90px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 44px rgba(7, 13, 20, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 18% 4%, rgba(43, 134, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(241, 167, 78, 0.12), transparent 18%),
    linear-gradient(180deg, var(--bg-ink) 0%, var(--bg-ocean) 54%, var(--bg-paper) 54%, var(--bg-paper) 100%);
  color: var(--text-light);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.45px, transparent 0.45px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  inset: auto auto 0 0;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(43, 134, 255, 0.1), transparent 68%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 11, 17, 0.62);
  backdrop-filter: blur(24px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(6, 11, 17, 0.84);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand,
.nav a,
.nav-cta,
.button,
.contact-card a {
  text-decoration: none;
}

.brand img,
.footer-brand img {
  display: block;
}

.brand img {
  width: 172px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a,
.nav-cta {
  color: var(--muted-light);
  font-size: 0.95rem;
}

.nav a:hover,
.nav-cta:hover,
.contact-card a:hover {
  color: var(--text-light);
}

.nav-cta,
.button {
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 36px;
  align-items: center;
  min-height: 94vh;
  padding: 72px 0 50px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.beam,
.ring,
.mesh {
  position: absolute;
}

.beam-a,
.beam-b {
  inset: auto;
  width: 32%;
  height: 480px;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.65;
}

.beam-a {
  top: -6%;
  right: 6%;
  background: linear-gradient(180deg, rgba(43, 134, 255, 0.28), transparent 78%);
  transform: rotate(18deg);
}

.beam-b {
  bottom: -10%;
  left: 8%;
  background: linear-gradient(180deg, rgba(66, 208, 201, 0.18), transparent 80%);
  transform: rotate(-22deg);
}

.ring {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.ring-a {
  right: 4%;
  top: 12%;
  width: 420px;
  height: 420px;
}

.ring-b {
  right: 12%;
  top: 20%;
  width: 280px;
  height: 280px;
}

.mesh {
  top: 10%;
  right: -6%;
  width: 46%;
  height: 58%;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  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: 26px 26px;
  transform: rotate(-8deg);
  opacity: 0.55;
}

.hero-copy,
.hero-stack,
.statement-card,
.platform-card,
.thesis-panel,
.roadmap-grid article,
.investor-section,
.manifesto-card,
.contact-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.95;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 10vw, 7.6rem);
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  letter-spacing: -0.06em;
  color: var(--text-dark);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-text,
.statement-card p,
.platform-card p,
.thesis-copy p,
.roadmap-grid p,
.investor-copy p,
.investor-grid li,
.manifesto-card p,
.contact-card p,
.footer {
  line-height: 1.72;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted-light);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  font-weight: 800;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue), #67abff);
  color: white;
  box-shadow: 0 14px 28px rgba(43, 134, 255, 0.22);
}

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

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  color: rgba(245, 239, 231, 0.64);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stack-surface {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-heavy);
}

.stack-secondary {
  background: linear-gradient(145deg, rgba(13, 27, 43, 0.98), rgba(10, 21, 33, 0.88));
}

.surface-head,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.surface-head {
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted-light);
  font-size: 0.9rem;
}

.surface-state {
  position: relative;
  padding-left: 16px;
}

.surface-state::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
  transform: translateY(-50%);
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.surface-grid article,
.platform-card,
.roadmap-grid article,
.investor-grid article,
.statement-card,
.thesis-panel article {
  border-radius: var(--radius-md);
}

.surface-grid article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.surface-grid article strong {
  font-size: 1.2rem;
}

.surface-grid article.active {
  background: linear-gradient(135deg, rgba(43, 134, 255, 0.18), rgba(66, 208, 201, 0.1));
}

.stack-label,
.card-index,
.roadmap-grid span,
.thesis-panel span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.light-card .card-index,
.thesis-panel article span,
.statement-card .eyebrow,
.contact-section .eyebrow,
.editorial-section .eyebrow,
.thesis-section .eyebrow {
  color: rgba(17, 22, 29, 0.62);
}

.editorial-section .section-heading .eyebrow,
.thesis-section .section-heading .eyebrow,
.platform-section .section-heading .eyebrow {
  color: #3fb8bf;
}

.contact-section .section-heading .eyebrow,
.roadmap-section .section-heading .eyebrow {
  color: #215f66;
}

.stack-secondary strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.stack-secondary p {
  margin: 0;
  color: var(--muted-light);
}

.signal-bar {
  overflow: hidden;
  margin: 12px 0 58px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.signal-track {
  display: flex;
  gap: 54px;
  width: max-content;
  padding: 18px 0;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  animation: signal 22s linear infinite;
}

@keyframes signal {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

.editorial-section,
.platform-section,
.thesis-section,
.roadmap-section,
.manifesto-section,
.contact-section {
  padding: 84px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.editorial-section .section-heading,
.thesis-section .section-heading,
.roadmap-section .section-heading,
.contact-section .section-heading {
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.light-section h2 {
  color: inherit;
}

.editorial-layout,
.thesis-layout,
.investor-layout {
  display: grid;
  gap: 18px;
}

.editorial-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.statement-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(13, 19, 26, 0.08);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.statement-card p {
  color: rgba(13, 19, 26, 0.9);
}

.statement-card.subtle {
  background: rgba(255, 250, 244, 0.92);
}

.platform-section,
.roadmap-section {
  color: var(--text-dark);
}

.platform-grid,
.roadmap-grid,
.investor-grid {
  display: grid;
  gap: 18px;
}

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

.platform-card,
.roadmap-grid article {
  padding: 26px;
}

.roadmap-section .section-heading h2,
.contact-section .section-heading h2 {
  color: var(--text-dark);
}

.editorial-section .section-heading h2,
.platform-section .section-heading h2,
.thesis-section .section-heading h2 {
  color: var(--text-light);
}

.dark-card {
  background: linear-gradient(180deg, #13202c, #0c141c);
}

.dark-card p,
.dark-card h3,
.glow-card p,
.glow-card h3,
.investor-copy p,
.investor-grid article,
.manifesto-card {
  color: var(--text-light);
}

.light-card {
  background: var(--paper-strong);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.light-card p,
.light-card h3 {
  color: var(--text-dark);
}

.glow-card {
  background: linear-gradient(155deg, rgba(14, 25, 39, 0.98), rgba(21, 49, 78, 0.84));
  box-shadow: 0 18px 52px rgba(43, 134, 255, 0.12);
}

.thesis-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.thesis-copy {
  max-width: 62ch;
  color: var(--text-light);
}

.thesis-copy p {
  color: rgba(245, 239, 231, 0.82);
}

.thesis-copy p + p {
  margin-top: 18px;
}

.thesis-panel {
  display: grid;
  gap: 12px;
}

.thesis-panel article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 19, 26, 0.08);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.thesis-panel article strong {
  color: var(--text-dark);
}

.roadmap-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 19, 26, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
}

.roadmap-grid span {
  color: rgba(13, 19, 26, 0.62);
}

.roadmap-grid h3,
.roadmap-grid p {
  color: var(--text-dark);
}

.roadmap-grid p {
  color: rgba(13, 19, 26, 0.88);
}

.thesis-panel article.active {
  background: linear-gradient(135deg, rgba(43, 134, 255, 0.9), rgba(66, 208, 201, 0.78));
  color: white;
}

.thesis-panel article.active span {
  color: rgba(255, 255, 255, 0.78);
}

.investor-section {
  margin: 16px 0;
  padding: 46px;
  border-radius: 40px;
  background: linear-gradient(135deg, #0b121a, #101f2d 52%, #17334f);
  box-shadow: var(--shadow-heavy);
}

.investor-layout {
  grid-template-columns: 1fr 1fr;
}

.investor-copy {
  max-width: 62ch;
}

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

.investor-grid article {
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.investor-grid ul {
  margin: 0;
  padding-left: 18px;
}

.manifesto-card {
  padding: 42px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(7, 13, 20, 0.98), rgba(11, 23, 35, 0.92));
  box-shadow: var(--shadow-heavy);
}

.manifesto-card h2 {
  max-width: 11ch;
  color: var(--text-light);
}

.contact-card {
  max-width: 760px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 19, 26, 0.08);
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.contact-card p {
  color: rgba(13, 19, 26, 0.88);
}

.contact-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.footer {
  align-items: center;
  padding: 30px 0 48px;
  color: rgba(17, 22, 29, 0.72);
  font-size: 0.92rem;
}

.footer p,
.footer span {
  color: rgba(17, 22, 29, 0.72);
}

.footer-brand img {
  width: 148px;
  height: auto;
}

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

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

@media (max-width: 1120px) {
  .hero,
  .editorial-layout,
  .thesis-layout,
  .investor-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .roadmap-grid,
  .investor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  h1 {
    max-width: none;
  }

  .stack-surface,
  .statement-card,
  .platform-card,
  .investor-section,
  .manifesto-card,
  .contact-card {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cursor-glow {
    display: none;
  }
}

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

  .signal-track,
  .reveal {
    animation: none;
    transition: none;
  }

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