:root {
  --ink: #111111;
  --muted: #6f746f;
  --paper: #f7f8f5;
  --soft: #eeefea;
  --line: rgba(17, 17, 17, 0.11);
  --accent: #fca311;
  --signal: #ff5a3d;
  --white: #ffffff;
  --dark: #070807;
  --dark-line: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --display-font: "Libre Caslon Display", Georgia, serif;
  --body-font: "Roboto Mono", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-dark .site-header {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(7, 8, 7, 0.72);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(247, 248, 245, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%238a8d8a' stroke-width='2'%3E%3Cellipse cx='20' cy='20' rx='16' ry='5'/%3E%3Cellipse cx='20' cy='20' rx='16' ry='5' transform='rotate(60 20 20)'/%3E%3Cellipse cx='20' cy='20' rx='16' ry='5' transform='rotate(120 20 20)'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='3.2' fill='%236d716f'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: currentColor;
  font-size: 13px;
}

.site-nav a,
.footer-links a {
  color: inherit;
  opacity: 0.68;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover {
  opacity: 1;
}

.nav-action {
  justify-self: end;
  min-width: 76px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

body.is-dark .nav-action {
  color: var(--ink);
  background: var(--white);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-panel {
  position: relative;
  min-height: 100vh;
  padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 96px;
}

.hero {
  display: grid;
  z-index: 2;
  min-height: 88svh;
  padding-top: 128px;
  padding-bottom: 64px;
  overflow: hidden;
  place-items: center;
}

.hero::before,
.flow-section::before,
.proof-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 32%, black, transparent 72%);
  content: "";
}

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

.map-print {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(950px, 98vw);
  max-width: none;
  opacity: 0.16;
  filter: contrast(1.25);
  transform: translate(-50%, -48%) rotate(90deg) scale(1.05);
}

.floating-status {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 70px rgba(17, 17, 17, 0.11);
  backdrop-filter: blur(18px);
  color: rgba(17, 17, 17, 0.68);
  font-size: 13px;
}

.floating-status span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
}

.status-one {
  top: 28%;
  right: 11vw;
}

.status-one span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--signal);
  border-radius: 50%;
  content: "";
}

.status-two {
  bottom: 17%;
  left: 10vw;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(920px, 100%);
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  width: 100%;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 {
  max-width: 880px;
  margin-bottom: 28px;
  font-size: clamp(58px, 10vw, 132px);
}

h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 84px);
}

h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p:last-child,
.system-copy > p:last-child,
.proof-copy > p:last-child,
.process-step p,
.feature-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-copy {
  width: min(660px, 100%);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.primary-button,
.ghost-button,
.join-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 690;
}

.primary-button,
.join-form button {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.trusted-rail {
  display: grid;
  gap: 18px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2)) 68px;
  background: var(--paper);
}

.trusted-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trusted-text{
  text-align: center;
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 92px;
  padding: 0 18px;
  align-items: center;
  background: transparent;
}

.logo-cell {
  display: flex;
  min-width: 0;
  align-items: center;
}

.logo-cell svg {
  display: block;
  width: clamp(104px, 13vw, 156px);
  height: auto;
  overflow: visible;
  color: #050505;
}

.logo-cell text {
  fill: currentColor;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 790;
}

.logo-nvidia {
  justify-content: flex-start;
  color: #050505;
}

.logo-nvidia svg {
  color: #050505;
}

.logo-eleven {
  justify-content: center;
}

.logo-posthog {
  justify-content: center;
}

.logo-framer {
  justify-content: center;
}

.logo-e2b {
  justify-content: flex-end;
}

.logo-e2b text {
  font-size: 28px;
  font-weight: 760;
}

.why-section,
.proof-section {
  background: rgba(247, 248, 245, 0.96);
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(63, 143, 122, 0.15), transparent 30%),
    rgba(255, 255, 255, 0.68);
}

.feature-index {
  display: block;
  margin-bottom: 18px;
  color: rgba(17, 17, 17, 0.34);
  font-size: 12px;
  font-weight: 760;
}

.feature-matrix {
  --dot-size: 1.6px;
  --dot-gap: 10px;
  --dot-color: rgba(17, 17, 17, 0.22);
  --dot-active: rgba(17, 17, 17, 0.74);
  position: relative;
  width: min(126px, 62%);
  height: 72px;
  margin-bottom: 34px;
  overflow: hidden;
  background-image: radial-gradient(circle, var(--dot-color) 0 var(--dot-size), transparent calc(var(--dot-size) + 0.5px));
  background-position: 0 0;
  background-size: var(--dot-gap) var(--dot-gap);
  background-repeat: repeat;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
}

.feature-matrix::before,
.feature-matrix::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot-active) 0 var(--dot-size), transparent calc(var(--dot-size) + 0.5px));
  background-size: var(--dot-gap) var(--dot-gap);
  background-repeat: repeat;
  content: "";
}

.matrix-scan::before {
  width: 34%;
  animation: matrixScan 2.8s ease-in-out infinite;
  opacity: 0.86;
}

.matrix-scan::after {
  opacity: 0.12;
  animation: matrixDrift 5.6s linear infinite;
}

.matrix-pulse::before {
  opacity: 0.72;
  animation: matrixPulse 2.4s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(circle at center, black 0 26%, transparent 58%);
  mask-image: radial-gradient(circle at center, black 0 26%, transparent 58%);
}

.matrix-pulse::after {
  opacity: 0.2;
  animation: matrixDrift 6.4s linear infinite reverse;
}

.matrix-wave::before {
  opacity: 0.74;
  animation: matrixWave 3s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(135deg, transparent 0 28%, black 46%, transparent 64% 100%);
  mask-image: linear-gradient(135deg, transparent 0 28%, black 46%, transparent 64% 100%);
}

.matrix-wave::after {
  opacity: 0.18;
  animation: matrixDrift 7s linear infinite;
}

@keyframes matrixScan {
  0%,
  100% {
    transform: translateX(-118%);
  }

  48%,
  58% {
    transform: translateX(220%);
  }
}

@keyframes matrixPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.86);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.06);
  }
}

@keyframes matrixWave {
  0%,
  100% {
    background-position: -34px 34px;
    transform: translate(-18px, 18px);
  }

  50% {
    background-position: 34px -34px;
    transform: translate(18px, -18px);
  }
}

@keyframes matrixDrift {
  to {
    background-position: var(--dot-gap) var(--dot-gap);
  }
}

.system-section {
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}

.system-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(circle at 70% 22%, rgba(63, 143, 122, 0.28), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 50px 50px, 50px 50px;
  content: "";
}

.system-stage {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(34px, 7vw, 98px);
}

.system-copy {
  position: relative;
  z-index: 2;
}

.system-copy .eyebrow {
  color: #fca311;
}

.system-copy p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.system-visual {
  position: relative;
  min-height: 640px;
}

.system-visual > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 88vw);
  max-width: none;
  opacity: 0.82;
  transform: translate(-50%, -50%);
}

.terminal-plane {
  position: absolute;
  right: 3%;
  bottom: 12%;
  width: min(410px, 90%);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.terminal-top {
  display: flex;
  gap: 7px;
  padding: 15px;
  border-bottom: 1px solid var(--dark-line);
}

.terminal-top span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.terminal-plane ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--dark-line);
}

.terminal-plane li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  min-height: 58px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(7, 8, 7, 0.72);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.terminal-plane li span {
  color: var(--white);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.flow-section {
  background: rgba(255, 255, 255, 0.72);
}

.process-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 1px;
  margin-bottom: 58px;
  overflow-x: auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-rail {
  position: absolute;
  top: 83px;
  left: 10%;
  right: 10%;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  pointer-events: none;
}

.process-link {
  position: relative;
  display: block;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

.process-link::before {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--line-progress, 0));
  transform-origin: left center;
  content: "";
}

.process-step {
  position: relative;
  z-index: 2;
  min-height: 260px;
  padding: 22px;
  background: rgba(247, 248, 245, 0.8);
}

.process-step::before {
  position: absolute;
  top: 78px;
  left: 50%;
  z-index: 4;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid rgba(17, 17, 17, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(247, 248, 245, 0.88);
  transform: translateX(-50%);
  content: "";
}

.process-step span {
  display: block;
  margin-bottom: 112px;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.architecture-frame {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  align-items: end;
  gap: 28px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.architecture-frame img {
  width: min(420px, 100%);
  mix-blend-mode: multiply;
}

.architecture-frame figcaption {
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
}

.proof-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.proof-media img {
  width: 100%;
  transform: scale(1.02);
}

.join-section {
  display: grid;
  min-height: 78vh;
  place-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.join-inner {
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
  text-align: center;
}

.join-form {
  display: grid;
  width: min(520px, 100%);
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}

.join-form label {
  color: var(--muted);
  font-size: 13px;
}

.join-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.join-input-row input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.join-input-row input::placeholder {
  color: rgba(17, 17, 17, 0.35);
}

.join-form button {
  min-width: 86px;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(17, 17, 17, 0.64);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  text-transform: uppercase;
}

.site-footer p {
  justify-self: end;
  margin: 0;
}

.reveal,
[data-animate] {
  will-change: transform, opacity;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 116px;
  }

  .floating-status {
    min-width: 180px;
    font-size: 12px;
  }

  .status-one {
    top: 22%;
    right: 4vw;
  }

  .status-two {
    bottom: 12%;
    left: 4vw;
  }

  .section-panel {
    padding-top: 108px;
    padding-bottom: 78px;
  }

  .feature-grid,
  .system-stage,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .logo-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 82px;
    padding: 0 8px;
  }

  .feature-card {
    min-height: 260px;
  }

  .feature-index {
    margin-bottom: 18px;
  }

  .feature-matrix {
    width: min(118px, 58%);
    height: 66px;
    margin-bottom: 28px;
  }

  .system-visual {
    min-height: 540px;
  }

  .process-strip {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
  }

  .architecture-frame {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .section-panel {
    padding-inline: 18px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding-inline: 12px;
  }

  .nav-action {
    min-width: 64px;
    padding-inline: 12px;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  h2 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .hero-copy,
  .system-copy > p:last-child,
  .proof-copy > p:last-child,
  .process-step p,
  .feature-card p {
    font-size: 20px;
  }

  .map-print {
    width: 1040px;
  }

  .floating-status {
    display: none;
  }

  .trusted-rail {
    padding-inline: 18px;
  }

  .logo-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding: 10px 0;
    row-gap: 16px;
  }

  .logo-cell svg {
    width: clamp(78px, 34vw, 110px);
  }

  .logo-cell text {
    font-size: 13px;
  }

  .logo-e2b text {
    font-size: 24px;
  }

  .system-visual {
    min-height: 460px;
  }

  .terminal-plane {
    right: 0;
    bottom: 6%;
    width: 100%;
  }

  .terminal-plane li {
    grid-template-columns: 76px 1fr;
    font-size: 13px;
  }

  .join-input-row {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .join-input-row input {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
