:root {
  --bg: #06070b;
  --surface: #0c0e14;
  --surface-2: #11131b;
  --line: rgba(255,255,255,.09);
  --text: #f6f4ff;
  --muted: #9a9baa;
  --dim: #646674;
  --purple: #9f7aea;
  --purple-2: #7657ff;
  --cyan: #73e8ff;
  --pink: #ff6bca;
  --acid: #c5ff67;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background:
  radial-gradient(circle at 75% 0%, rgba(118,87,255,.11), transparent 28rem),
  linear-gradient(180deg, #08090f 0%, #06070b 22rem, #06070b 100%);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--purple); color: white; }

.noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .07;
  pointer-events: none;
}
.aurora-a { top: 18rem; left: -20rem; background: var(--cyan); }
.aurora-b { top: 62rem; right: -22rem; background: var(--purple); }

.site-header {
  width: min(1320px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.wordmark img { width: 31px; height: 31px; }
.wordmark span { font-size: 13px; font-weight: 800; letter-spacing: .23em; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a {
  font-size: 11px;
  color: #8d8e9d;
  transition: color .18s ease;
}
.site-header nav a:hover { color: white; }
.header-cta {
  justify-self: end;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 10px;
  color: #d9d7e1;
  background: rgba(255,255,255,.025);
}
.header-cta span { color: var(--cyan); margin-left: 5px; }

.hero {
  width: min(1320px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero-copy { position: relative; z-index: 2; padding: 90px 0 110px; }
.pill {
  width: fit-content;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #a4a5b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 999px;
  padding: 8px 11px;
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }

.hero h1 {
  margin: 26px 0 24px;
  font-size: clamp(62px, 8.7vw, 126px);
  line-height: .78;
  letter-spacing: -.075em;
  font-weight: 780;
}
.hero h1 span { display: block; }
.hero .outline {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(255,255,255,.42);
  margin-top: .13em;
}
.lead {
  max-width: 610px;
  color: #a5a5b4;
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions.centered { justify-content: center; }
.button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #101018;
  background: linear-gradient(120deg, #fff, #ded5ff);
  box-shadow: 0 16px 50px rgba(116,87,255,.13);
}
.button-primary:hover { box-shadow: 0 18px 62px rgba(116,87,255,.23); }
.button-ghost {
  color: #d9d8e2;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.026);
}
.button-ghost:hover { border-color: rgba(255,255,255,.18); }
.arrow { color: #5a35e8; font-size: 15px; }
.github-dot { color: var(--purple); }

.package-row {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  color: #5c5e6b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}
.package-row span::before { content: "·"; color: var(--purple); margin-right: 8px; }

.hero-visual {
  min-height: 640px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.city-lines {
  position: absolute;
  width: 125%;
  height: 62%;
  bottom: 0;
  opacity: .18;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(420px) rotateX(62deg) translateY(34%);
  mask-image: radial-gradient(ellipse, black, transparent 68%);
}
.portal {
  width: min(43vw, 530px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 65px rgba(118,87,255,.13));
}
.portal::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115,232,255,.08), transparent 64%);
  box-shadow: 0 0 100px rgba(159,122,234,.08);
}
.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.ring-1 { width: 92%; height: 92%; border-color: rgba(115,232,255,.24); border-left-color: transparent; transform: rotate(22deg); animation: spin 30s linear infinite; }
.ring-2 { width: 73%; height: 73%; border-color: rgba(159,122,234,.3); border-right-color: transparent; transform: rotate(-31deg); animation: spin-rev 22s linear infinite; }
.ring-3 { width: 56%; height: 56%; border-color: rgba(255,107,202,.2); border-top-color: transparent; animation: spin 17s linear infinite; }
.ring-4 { width: 38%; height: 38%; border-color: rgba(255,255,255,.13); border-bottom-color: var(--cyan); animation: spin-rev 12s linear infinite; }
@keyframes spin { to { transform: rotate(382deg); } }
@keyframes spin-rev { to { transform: rotate(-391deg); } }

.portal-center {
  width: 23%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.16), rgba(17,18,28,.94) 55%, #08090e);
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 30px rgba(159,122,234,.12), 0 0 55px rgba(115,232,255,.08);
}
.portal-center img { width: 58%; }
.portal-label {
  position: absolute;
  font-size: 7px;
  letter-spacing: .18em;
  color: #70717d;
  font-weight: 800;
}
.label-a { top: 7%; left: 43%; }
.label-b { right: -2%; top: 50%; transform: rotate(90deg); }
.label-c { bottom: 10%; left: 8%; }

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  background: rgba(13,14,22,.7);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px 15px;
  min-width: 132px;
  box-shadow: 0 16px 45px rgba(0,0,0,.2);
}
.floating-card .mini-label {
  display: block;
  color: #6e707d;
  font-size: 7px;
  letter-spacing: .17em;
  margin-bottom: 7px;
}
.floating-card strong { font-size: 11px; }
.floating-card strong i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}
.card-status { left: 1%; top: 28%; }
.card-build { right: 0; bottom: 26%; }

.ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.ticker-track {
  width: max-content;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 25px;
  animation: marquee 35s linear infinite;
  color: #656774;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}
.ticker-track i { color: var(--purple); font-style: normal; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-42%); } }

.section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 138px 0;
}
.section-heading { max-width: 720px; margin-bottom: 55px; }
.section-heading.compact { max-width: none; }
.eyebrow {
  color: #717381;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
  margin: 0 0 15px;
}
.section-heading h2 {
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -.06em;
  line-height: .93;
  margin: 0;
}
.section-heading > p:last-child {
  max-width: 600px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 25px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.feature-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17,19,27,.85), rgba(10,11,17,.9));
  position: relative;
  overflow: hidden;
}
.feature-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 572px;
}
.feature-card h3 {
  font-size: 24px;
  letter-spacing: -.045em;
  line-height: 1.03;
  margin: 0 0 14px;
}
.feature-card-large h3 { font-size: 40px; }
.feature-card > p:last-child {
  margin: 0;
  color: #8f909f;
  font-size: 12px;
  line-height: 1.7;
}
.index {
  position: absolute;
  right: 22px;
  top: 19px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.09);
}
.feature-icon { height: 90px; display: flex; align-items: center; }
.orbit-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  position: relative;
}
.orbit-icon b, .orbit-icon i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--purple);
}
.orbit-icon b { width: 53px; height: 31px; transform: rotate(-22deg); }
.orbit-icon i { width: 31px; height: 53px; transform: rotate(34deg); border-color: var(--cyan); }
.terminal {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #07080d;
  overflow: hidden;
}
.terminal-head {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}
.terminal-head span { width: 6px; height: 6px; border-radius: 50%; background: #282a34; }
.terminal-head b { margin-left: auto; color: #575967; font-size: 8px; font-weight: 500; font-family: ui-monospace, monospace; }
.terminal-body { padding: 13px 15px 16px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 10px; }
.terminal-body p { margin: 8px 0; color: #6f7180; }
.terminal-body i { font-style: normal; color: var(--purple); margin-right: 8px; }
.terminal-body strong { color: #b9b9c6; font-weight: 500; }
.terminal-body strong.green { color: var(--acid); }
.accent-card {
  grid-column: span 2;
  background:
    linear-gradient(110deg, rgba(118,87,255,.12), transparent 50%),
    linear-gradient(180deg, rgba(17,19,27,.85), rgba(10,11,17,.9));
}
.accent-grid {
  position: absolute;
  inset: 0 0 0 44%;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.architecture-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pipeline {
  display: grid;
  grid-template-columns: 1fr .45fr 1fr .45fr 1fr .45fr 1fr;
  align-items: center;
  margin-top: 70px;
}
.pipeline-node {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 22px;
  background: rgba(255,255,255,.018);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pipeline-node > span { margin-bottom: auto; color: #555765; font-size: 10px; font-family: ui-monospace, monospace; }
.pipeline-node strong { font-size: 18px; letter-spacing: -.03em; }
.pipeline-node small { margin-top: 6px; color: #777886; font-size: 10px; }
.pipeline-node.active { border-color: rgba(159,122,234,.26); background: linear-gradient(145deg, rgba(118,87,255,.1), rgba(255,255,255,.02)); }
.pipeline-node.active strong { color: #e4ddff; }
.connector { display: grid; place-items: center; gap: 9px; }
.connector i { display: block; width: 75%; height: 1px; background: linear-gradient(90deg, rgba(159,122,234,.08), rgba(115,232,255,.32), rgba(159,122,234,.08)); position: relative; }
.connector i::after { content: ""; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.connector b { font-size: 7px; color: #555765; letter-spacing: .15em; text-transform: uppercase; }
.architecture-note {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.012);
}
.architecture-note .lock { color: var(--acid); font-size: 22px; }
.architecture-note p { margin: 0; color: #858694; font-size: 11px; line-height: 1.6; }
.architecture-note strong { color: #c9c9d3; }

.roadmap-section { padding-bottom: 160px; }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.milestone {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255,255,255,.015);
}
.milestone.current { background: linear-gradient(145deg, rgba(118,87,255,.09), rgba(255,255,255,.015)); border-color: rgba(159,122,234,.24); }
.milestone-meta { display: flex; justify-content: space-between; align-items: center; }
.milestone-meta span { color: #5f616e; font-size: 10px; font-family: ui-monospace, monospace; }
.milestone-meta b { color: #676976; font-size: 7px; letter-spacing: .16em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 7px; }
.current .milestone-meta b { color: var(--acid); border-color: rgba(197,255,103,.15); }
.milestone h3 { font-size: 28px; margin: 70px 0 22px; letter-spacing: -.045em; }
.milestone ul { list-style: none; padding: 0; margin: 0; }
.milestone li { color: #777986; font-size: 11px; margin: 11px 0; }
.milestone li::before { content: "○"; margin-right: 9px; color: #4f515e; }
.milestone li.done { color: #aeb0bc; }
.milestone li.done::before { content: "●"; color: var(--acid); font-size: 7px; vertical-align: 1px; }

.cta-section {
  width: min(1320px, calc(100% - 48px));
  min-height: 490px;
  margin: 0 auto 80px;
  border: 1px solid var(--line);
  border-radius: 25px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(118,87,255,.14), transparent 43%),
    rgba(255,255,255,.012);
}
.cta-glow {
  position: absolute;
  width: 430px;
  height: 250px;
  top: -180px;
  background: var(--purple);
  filter: blur(110px);
  opacity: .08;
}
.cta-section h2 { font-size: clamp(44px, 6vw, 70px); letter-spacing: -.06em; line-height: .94; margin: 4px 0 17px; }
.cta-section > p:not(.eyebrow) { color: #898a98; font-size: 13px; margin: 0; }

footer {
  width: min(1320px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #60616e;
  font-size: 9px;
}
footer p { margin: 0; text-align: center; }
footer > div { justify-self: end; display: flex; gap: 18px; }
footer > div a:hover { color: #b1b2bd; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .site-header nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-copy { padding-bottom: 25px; }
  .hero-visual { min-height: 500px; }
  .portal { width: min(72vw, 500px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-large { grid-row: span 1; min-height: 440px; }
  .pipeline { grid-template-columns: 1fr; gap: 9px; }
  .connector { min-height: 42px; }
  .connector i { height: 32px; width: 1px; }
  .connector i::after { right: -2px; top: auto; bottom: 0; }
  .roadmap { grid-template-columns: 1fr; }
  .milestone { min-height: 260px; }
  .milestone h3 { margin-top: 50px; }
}

@media (max-width: 700px) {
  .site-header, .hero, .section, .cta-section, footer { width: min(100% - 28px, 1320px); }
  .header-cta { padding: 9px 11px; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 70px; }
  .hero h1 { font-size: clamp(54px, 18vw, 90px); }
  .lead { font-size: 13px; }
  .package-row { flex-wrap: wrap; gap: 10px 16px; }
  .hero-visual { min-height: 400px; }
  .portal { width: 98vw; opacity: .85; }
  .card-status { left: 0; }
  .card-build { right: 0; }
  .section { padding: 95px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large, .accent-card { grid-column: span 1; }
  .feature-card-large { min-height: 500px; }
  .section-heading h2 { font-size: 44px; }
  .cta-section { min-height: 420px; padding-inline: 20px; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: 15px; padding: 28px 0; }
  footer p { order: 3; }
  footer > div { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
