
:root {
  --bg: #0B0F19;
  --bg-deep: #05080F;
  --panel: rgba(18, 25, 43, 0.4);
  --panel-hover: rgba(26, 36, 61, 0.6);
  --line: rgba(100, 140, 200, 0.15);
  --ink: #e2e8f0;
  --ink-soft: #94a3b8;
  --hero: #0b152d;
  --hero-alt: #103250;
  --hero-ink: #f8fafc;
  --hero-soft: #cbd5e1;
  --brand: #2bece2;
  --accent: #ff7343;
  --accent-2: #f7c450;
  --radius: 24px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(43, 236, 226, 0.08), rgba(43, 236, 226, 0) 38%),
    radial-gradient(circle at 88% 10%, rgba(255, 115, 67, 0.08), rgba(255, 115, 67, 0) 42%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

main,
.site-header,
.site-footer {
  width: min(1140px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 10;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

.ambient-a {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -150px;
  background: #1bc7c8;
}

.ambient-b {
  width: 390px;
  height: 390px;
  left: -190px;
  bottom: -140px;
  background: #f1683d;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 40px;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  z-index: 100;
  transition: all 0.3s ease;
}

.brand {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--hero-ink);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.01rem;
}

.brand-mark {
  width: 1.05rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff9de 0 22%, rgba(255, 249, 222, 0) 23%),
    linear-gradient(134deg, #f1683d 0%, #f3be59 50%, #2ab9b3 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 7px 18px rgba(31, 20, 7, 0.23);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  color: #cbd5e1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  transition: all 0.2s ease;
}

.site-nav a:hover,
.site-footer a:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.hero {
  background:
    radial-gradient(circle at 78% 10%, rgba(43, 236, 226, 0.12), rgba(43, 236, 226, 0) 40%),
    radial-gradient(circle at 85% 88%, rgba(255, 115, 67, 0.12), rgba(255, 115, 67, 0) 36%),
    rgba(18, 25, 43, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.2rem, 3vw, 2.8rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 30%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 48px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand);
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
}

h1 {
  margin: 0.5rem 0 0;
  color: var(--hero-ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-copy {
  margin: 1.2rem 0 0;
  color: var(--hero-soft);
  font-size: 1.15rem;
  max-width: 54ch;
  line-height: 1.6;
}

.hero-bullets {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: #dbedfd;
  display: grid;
  gap: 0.6rem;
  font-size: 1.05rem;
}

.waitlist {
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.waitlist-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 0.3s ease;
}
.waitlist-fields .primary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.waitlist input,
.waitlist select,
.waitlist button {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 3.2rem;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.waitlist input,
.waitlist select {
  padding: 0 1rem;
  font-family: inherit;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
}

.waitlist input:focus,
.waitlist select:focus {
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(43, 236, 226, 0.15);
}

.waitlist select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7%209L12%2014L17%209%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.waitlist button {
  padding: 0 1.5rem;
  font-family: inherit;
  font-weight: 800;
  border: none;
  color: #05080f;
  background: linear-gradient(132deg, var(--brand), #40f29c 55%, var(--accent-2) 100%);
  cursor: pointer;
  height: 100%;
}

.waitlist button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(43, 236, 226, 0.25);
}

.waitlist button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.extra-fields {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  animation: fadeInDown 0.3s ease forwards;
}
.extra-fields.open {
  display: flex;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.consent {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #94a3b8;
  font-size: 0.88rem;
  cursor: pointer;
}

.consent input {
  min-height: auto;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand);
}

.waitlist-message {
  margin: 0.55rem 0 0;
  min-height: 1.25rem;
  color: #d5edff;
  font-weight: 700;
  font-size: 0.9rem;
}

.waitlist-note {
  margin: 0.4rem 0 0;
  color: #b4cde2;
  font-size: 0.82rem;
}

.waitlist-note a {
  color: #cbe9ff;
}

.hero-visual {
  border: 1px solid rgba(163, 203, 225, 0.46);
  border-radius: 18px;
  background: rgba(8, 33, 49, 0.48);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}




.panel {
  margin-top: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: var(--hero-ink);
}

.panel > p {
  margin: 0 0 3rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 1.15rem;
  max-width: 65ch;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.grid article,
.loop li,
details,
.glossary > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.8rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(8px);
}

.grid article:hover,
.loop li:hover {
  transform: translateY(-5px);
  background: var(--panel-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(43, 236, 226, 0.15) inset;
  border-color: rgba(43, 236, 226, 0.25);
}

.grid h3,
.loop h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--hero-ink);
}

.grid p,
.loop p,
details p,
.glossary dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 1.05rem;
}

.loop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88em;
  background: rgba(43, 236, 226, 0.1);
  color: var(--brand);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
}

details {
  margin-top: 1rem;
  padding: 1.25rem 1.8rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--hero-ink);
  list-style: none; /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--brand);
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  margin-bottom: 1rem;
}

.glossary {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.glossary dt {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.glossary dd {
  margin-left: 0;
}

.site-footer {
  margin-top: 3rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.legal-shell h1,
.legal-shell h2 {
  color: var(--hero-ink);
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.core-group {
  transform-origin: 200px 200px;
  animation: corePulseSvg 2.8s ease-in-out infinite;
}

.entity-network {
  width: min(420px, 100%);
  height: 100%;
  min-height: 340px;
  position: relative;
  display: grid;
  place-items: center;
}

.network-svg {
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 350px;
}

.network-svg .edges line {
  stroke: url(#sgEdge);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
  animation: linkFlow 3.8s linear infinite;
  filter: drop-shadow(0 0 2px rgba(145, 220, 240, 0.4));
}

.network-svg .edges .edge-bottom {
  stroke-width: 2;
  stroke-dasharray: 8 4;
  filter: drop-shadow(0 0 2px rgba(255, 182, 92, 0.3));
}

.network-svg .core-group {
  transform-origin: 200px 200px;
  animation: corePulseSvg 2.8s ease-in-out infinite;
}

.network-svg .core-shadow {
  fill: rgba(255, 183, 94, 0.28);
  filter: url(#sgGlow);
}

.network-svg .core-shape {
  fill: url(#sgCore);
  stroke: rgba(255, 231, 198, 0.75);
  stroke-width: 1.2;
}

.network-svg .core-lobe {
  fill: rgba(255, 243, 220, 0.18);
  stroke: rgba(255, 236, 209, 0.7);
  stroke-width: 1;
}

.network-svg .spark {
  fill: #fff6d8;
  filter: url(#sgGlow);
  animation: sparkBlink 1.8s ease-in-out infinite;
}

.network-svg .spark.s2 {
  animation-delay: 0.45s;
}

.network-svg .spark.s3 {
  animation-delay: 0.9s;
}

.network-svg .labels rect {
  fill: rgba(18, 25, 43, 0.85);
  stroke: rgba(43, 236, 226, 0.4);
  stroke-width: 1.2;
}

.network-svg .labels text {
  fill: #f8fafc;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
}

@keyframes corePulseSvg {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes sparkBlink {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}


@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes linkFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 40; }
}

/* Ensure the core pulses from its center */



@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    border-radius: 20px;
  }


  .site-nav {
    justify-content: flex-start;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

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