:root {
  --paper: #f3f0e7;
  --paper-deep: #e9e4d8;
  --ink: #10100f;
  --muted: #6e6b63;
  --line: rgba(16, 16, 15, 0.15);
  --acid: #d6ff54;
  --signal: #ff5c35;
  --blue: #3155ff;
  --white: #fffefa;
  --radius: 22px;
  --max: 1240px;
  --shadow: 0 30px 90px rgba(17, 17, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  content: "";
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 36px), var(--max));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  transform: translateX(-50%);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.site-header.scrolled {
  border-color: rgba(16, 16, 15, 0.1);
  background: rgba(250, 248, 241, 0.86);
  box-shadow: 0 12px 50px rgba(20, 20, 18, 0.08);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 620;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: #494740;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 14px 17px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--white);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  min-height: 810px;
  margin: 0 auto;
  padding: 150px 0 82px;
  grid-template-columns: 0.91fr 1.09fr;
  align-items: center;
  gap: 70px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(255, 92, 53, 0.12);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.064em;
}

h1 {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: clamp(64px, 6.4vw, 102px);
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--blue);
  font-weight: 400;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 31px;
  color: #55524b;
  font-size: 18px;
  line-height: 1.56;
  letter-spacing: -0.02em;
}

.hero-actions,
.install-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 710;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--blue);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 690;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.text-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.play-dot {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 8px;
}

.hero-facts {
  display: flex;
  max-width: 510px;
  margin: 48px 0 0;
  padding: 21px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-facts li:first-child {
  padding-left: 0;
  border: 0;
}

.hero-facts strong {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.hero-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  height: 650px;
  border: 1px solid rgba(16, 16, 15, 0.14);
  border-radius: 28px;
  background: #e8e3d7;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  position: absolute;
  inset: 48px 0 48px;
  content: "";
  background-image:
    linear-gradient(rgba(16, 16, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 15, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle, black 30%, transparent 83%);
}

.stage-topbar,
.stage-feed {
  position: relative;
  z-index: 5;
  display: flex;
  height: 49px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(16, 16, 15, 0.12);
  background: rgba(243, 240, 231, 0.5);
  color: #45433e;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.stage-topbar i,
.event-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2ac769;
  box-shadow: 0 0 0 4px rgba(42, 199, 105, 0.13);
}

.stage-field {
  position: relative;
  height: calc(100% - 98px);
}

.mesh-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 134px;
  height: 134px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transform: translate(-50%, -50%);
}

.mesh-core b {
  font-size: 20px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-align: center;
}

.mesh-core small {
  position: absolute;
  bottom: 23px;
  color: #9d9b94;
  font-family: monospace;
  font-size: 8px;
}

.core-rings,
.core-rings::before {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(16, 16, 15, 0.2);
  border-radius: 50%;
  content: "";
}

.core-rings::before {
  inset: -14px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(16, 16, 15, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 350px;
  height: 350px;
}

.orbit-two {
  width: 490px;
  height: 490px;
}

.agent-node {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 164px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(16, 16, 15, 0.18);
  border-radius: 13px;
  background: rgba(255, 254, 250, 0.92);
  box-shadow: 0 9px 30px rgba(16, 16, 15, 0.09);
  transition: transform 250ms ease;
}

.agent-node:hover {
  transform: translateY(-4px);
}

.agent-avatar {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.agent-node b,
.agent-node small {
  display: block;
}

.agent-node b {
  margin-bottom: 3px;
  font-family: monospace;
  font-size: 10px;
}

.agent-node small {
  color: var(--muted);
  font-family: monospace;
  font-size: 8px;
}

.node-one {
  top: 13%;
  left: 8%;
}

.node-two {
  top: 23%;
  right: 5%;
}

.node-two .agent-avatar {
  background: var(--signal);
}

.node-three {
  bottom: 10%;
  left: 18%;
}

.node-three .agent-avatar {
  background: #887858;
}

.data-packet {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border: 2px solid #e8e3d7;
  border-radius: 50%;
  background: var(--blue);
  offset-rotate: 0deg;
}

.packet-one {
  offset-path: path("M 100 100 Q 260 250 350 280");
  animation: packet 3.1s infinite ease-in-out;
}

.packet-two {
  background: var(--signal);
  offset-path: path("M 520 130 Q 430 200 350 280");
  animation: packet 2.4s 0.6s infinite ease-in-out;
}

.packet-three {
  offset-path: path("M 160 460 Q 230 350 350 280");
  animation: packet 3.7s 1.1s infinite ease-in-out;
}

@keyframes packet {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  10%,
  80% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

.stage-feed {
  justify-content: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(16, 16, 15, 0.12);
  border-bottom: 0;
}

.feed-time {
  color: var(--muted);
}

.feed-status {
  padding: 3px 5px;
  border-radius: 3px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.trust-strip {
  display: grid;
  min-height: 105px;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr;
  gap: 80px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3f3d37;
  font-family: Georgia, serif;
  font-size: 18px;
}

.trust-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aaa69c;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 130px 0;
}

.section-kicker {
  color: var(--muted);
}

.section-kicker span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 9px;
}

.problem-section {
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 11vw;
}

.problem-copy h2,
.section-heading h2,
.benchmark-copy h2,
.install-copy h2,
.final-cta h2 {
  max-width: 850px;
  margin-bottom: 32px;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.96;
}

.problem-copy p,
.section-heading > p,
.benchmark-copy > p,
.install-copy > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.agent-chaos {
  position: relative;
  margin: 20px 0 0;
  padding-left: 32px;
  border-left: 2px solid var(--signal);
}

.agent-chaos::before {
  position: absolute;
  top: -40px;
  left: 23px;
  color: rgba(16, 16, 15, 0.12);
  content: "“";
  font-family: Georgia, serif;
  font-size: 130px;
  line-height: 1;
}

.agent-chaos p {
  position: relative;
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.2vw, 31px);
  font-style: italic;
  letter-spacing: -0.035em;
}

.agent-chaos footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 70px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.55);
}

.feature-card h3 {
  max-width: 500px;
  margin: 65px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(33px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.feature-card > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-index {
  color: var(--muted);
  font-family: monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-wide {
  min-height: 560px;
  grid-column: span 2;
}

.feature-wide > p {
  max-width: 530px;
}

.memory-search {
  position: absolute;
  right: 35px;
  bottom: 35px;
  display: grid;
  width: 48%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  font-family: monospace;
  font-size: 10px;
  box-shadow: 0 18px 50px rgba(16, 16, 15, 0.08);
}

.memory-search > kbd {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: inherit;
  font-size: 8px;
}

.memory-search > div {
  display: grid;
  padding: 13px 12px;
  border-radius: 8px;
  background: #f1eee5;
  grid-column: 1 / -1;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 10px;
}

.memory-search > div b {
  color: var(--blue);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-search > div p {
  margin: 0;
}

.memory-search > div small {
  color: var(--muted);
  font-size: 8px;
}

.feature-accent {
  background: var(--acid);
}

.feature-accent .feature-index,
.feature-accent > p {
  color: rgba(16, 16, 15, 0.65);
}

.lease-card {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  padding: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 9px;
  font-family: monospace;
}

.lease-card span {
  font-size: 11px;
}

.lease-card b {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--blue);
  font-size: 9px;
}

.lease-card small {
  color: #a5a39c;
  font-size: 8px;
}

.feature-dark {
  background: var(--ink);
  color: var(--white);
}

.feature-dark .feature-index,
.feature-dark > p {
  color: #aaa8a2;
}

.process-list {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid #383834;
  border-radius: 13px;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 13px 15px;
  border-bottom: 1px solid #383834;
  grid-template-columns: 1fr 70px 40px;
  align-items: center;
  color: #a8a69e;
  font-family: monospace;
  font-size: 9px;
}

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

.process-list span {
  color: var(--white);
}

.process-list i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2ac769;
}

.message-bubble {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  max-width: 470px;
  padding: 18px 20px;
  border-radius: 15px 15px 15px 3px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 10px 14px 0 rgba(49, 85, 255, 0.13);
}

.message-bubble span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-family: monospace;
  font-size: 8px;
}

.playground-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-heading.light {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.section-heading.light .section-kicker {
  color: #96948e;
  grid-row: span 2;
}

.section-heading.light .section-kicker span {
  border-color: #44443f;
  color: var(--white);
}

.section-heading.light h2 {
  margin-bottom: 5px;
}

.section-heading.light h2 em {
  color: var(--acid);
}

.section-heading.light p {
  color: #aaa8a2;
}

.playground {
  overflow: hidden;
  border: 1px solid #3d3d39;
  border-radius: 21px;
  background: #181816;
}

.play-controls {
  display: flex;
  gap: 8px;
  padding: 13px;
  border-bottom: 1px solid #3d3d39;
}

.play-controls button {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid #44443f;
  border-radius: 8px;
  background: transparent;
  color: #c2c0b9;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.play-controls button:hover {
  border-color: #77766e;
  color: white;
}

.play-controls .control-primary {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.play-grid {
  display: grid;
  min-height: 530px;
  grid-template-columns: 1.3fr 0.7fr;
}

.play-mesh {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #3d3d39;
  background-image: radial-gradient(#4a4a45 0.7px, transparent 0.7px);
  background-size: 22px 22px;
}

.play-mesh::before,
.play-mesh::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  border: 1px solid #3d3d39;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.play-mesh::after {
  width: 480px;
  height: 480px;
  border-style: dashed;
}

.play-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  width: 116px;
  height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #77766e;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.play-core span {
  position: absolute;
  inset: -8px;
  border: 1px solid #3f4036;
  border-radius: 50%;
}

.play-core b {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.play-core small {
  margin-top: 2px;
  font-family: monospace;
  font-size: 8px;
}

.play-agent {
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 137px;
  padding: 13px;
  border: 1px solid #4b4b46;
  border-radius: 11px;
  background: #222220;
  grid-template-columns: auto 1fr;
  column-gap: 9px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  animation: agentIn 350ms ease both;
}

@keyframes agentIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.play-agent i {
  display: block;
  width: 9px;
  height: 9px;
  margin-top: 3px;
  border: 2px solid #181816;
  border-radius: 50%;
  background: #2ac769;
  box-shadow: 0 0 0 3px rgba(42, 199, 105, 0.15);
  grid-row: span 2;
}

.play-agent b,
.play-agent small {
  display: block;
  font-family: monospace;
}

.play-agent b {
  font-size: 10px;
}

.play-agent small {
  margin-top: 4px;
  color: #8c8a84;
  font-size: 8px;
}

.play-agent.claimed {
  border-color: var(--acid);
}

.play-agent.claimed::after {
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--acid);
  color: var(--ink);
  content: "CLAIMED";
  font-family: monospace;
  font-size: 7px;
  font-weight: 800;
}

.play-agent-0 {
  top: 13%;
  left: 9%;
}
.play-agent-1 {
  top: 17%;
  right: 7%;
}
.play-agent-2 {
  bottom: 10%;
  left: 16%;
}
.play-agent-3 {
  right: 9%;
  bottom: 13%;
}
.play-agent-4 {
  top: 43%;
  left: 5%;
}
.play-agent-5 {
  top: 46%;
  right: 4%;
}
.play-agent-6 {
  top: 5%;
  left: 42%;
}
.play-agent-7 {
  bottom: 4%;
  left: 45%;
}

.event-panel {
  min-width: 0;
}

.event-head {
  display: flex;
  height: 51px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #3d3d39;
  font-family: monospace;
  font-size: 9px;
}

.event-head span {
  color: #8e8c86;
}

.event-list {
  max-height: 479px;
  margin: 0;
  padding: 8px 18px;
  overflow: auto;
  list-style: none;
}

.event-list li {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid #31312e;
  grid-template-columns: 55px 45px 1fr;
  gap: 8px;
  align-items: start;
  font-family: monospace;
  font-size: 9px;
  animation: eventIn 250ms ease both;
}

@keyframes eventIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-list time {
  color: #65645f;
}

.event-list li > span {
  width: max-content;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 7px;
  font-weight: 800;
}

.event-list p {
  margin: 0;
  color: #aaa8a2;
  line-height: 1.5;
}

.event-list p b {
  color: white;
}

.event-join {
  background: #d8fff0;
  color: #0b603e;
}
.event-memory {
  background: #dce4ff;
  color: #17359f;
}
.event-claim {
  background: var(--acid);
  color: #384900;
}
.event-message {
  background: #ffe2d9;
  color: #9e3216;
}

.demo-note {
  margin: 0;
  padding: 13px 18px;
  border-top: 1px solid #3d3d39;
  color: #77766f;
  font-family: monospace;
  font-size: 8px;
}

.demo-note span {
  margin-right: 6px;
  color: var(--signal);
}

.benchmark-section {
  border-bottom: 1px solid var(--line);
}

.benchmark-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8vw;
}

.benchmark-copy h2 {
  font-size: clamp(47px, 5vw, 72px);
}

.benchmark-copy .text-link {
  margin-top: 23px;
}

.benchmark-bars {
  padding-top: 20px;
}

.benchmark-row {
  display: grid;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 130px 1fr 65px;
  gap: 20px;
  align-items: center;
}

.benchmark-row > div:first-child b,
.benchmark-row > div:first-child span {
  display: block;
}

.benchmark-row > div:first-child b {
  margin-bottom: 5px;
  font-size: 11px;
}

.benchmark-row > div:first-child span {
  color: var(--muted);
  font-size: 8px;
}

.benchmark-row > strong {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  text-align: right;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bar {
  display: flex;
  width: var(--size);
  min-width: 40px;
  height: 17px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 5px;
  border-radius: 2px;
}

.bar i {
  font-family: monospace;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.bar.old {
  background: #d5d0c4;
  color: #6e6a61;
}

.bar.new {
  background: var(--blue);
  color: white;
}

.write-old {
  --size: 8.5%;
}

.write-new,
.startup-old,
.recall-new {
  --size: 100%;
}

.startup-new {
  --size: 21%;
}

.recall-old {
  --size: 65%;
}

.legend {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 8px;
}

.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 2px;
}

.legend-old {
  background: #d5d0c4;
}
.legend-new {
  background: var(--blue);
}

.architecture-section .section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.architecture-section .section-heading h2 {
  max-width: 760px;
}

.architecture {
  display: grid;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  grid-template-columns: 1.1fr 0.5fr 1.25fr 0.4fr 0.8fr;
  align-items: center;
  gap: 19px;
}

.arch-agents {
  display: grid;
  gap: 7px;
}

.arch-agents > div {
  display: grid;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.arch-agents span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 8px;
  font-weight: 800;
}

.arch-agents b {
  font-size: 10px;
}

.arch-agents small {
  color: var(--muted);
  font-family: monospace;
  font-size: 7px;
}

.arch-arrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: monospace;
  font-size: 7px;
}

.arch-arrow i {
  position: relative;
  width: 100%;
  height: 1px;
  background: #a8a397;
}

.arch-arrow i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #77736a;
  border-right: 1px solid #77736a;
  content: "";
  transform: rotate(45deg);
}

.arch-kernel {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 17px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.arch-kernel small {
  margin-bottom: 12px;
  color: var(--acid);
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.arch-kernel b {
  margin-bottom: 13px;
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.arch-kernel span {
  color: #96948e;
  font-family: monospace;
  font-size: 7px;
}

.arch-db {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.arch-db > span {
  position: relative;
  width: 54px;
  height: 57px;
  margin-bottom: 11px;
  border: 2px solid var(--blue);
  border-radius: 50% / 15%;
}

.arch-db > span::before,
.arch-db > span::after {
  position: absolute;
  right: -2px;
  left: -2px;
  height: 13px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.arch-db > span::before {
  top: -2px;
}
.arch-db > span::after {
  bottom: -2px;
}

.arch-db b {
  font-size: 13px;
}

.arch-db small {
  margin-top: 5px;
  color: var(--muted);
  font-family: monospace;
  font-size: 7px;
}

.architecture-notes {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.architecture-notes span {
  display: flex;
  min-height: 95px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.architecture-notes b {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.install-section {
  display: grid;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: white;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-items: center;
}

.install-copy .section-kicker,
.install-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.install-copy .section-kicker span {
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.install-copy h2 em {
  color: var(--acid);
}

.light-link {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.light-link:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.terminal {
  overflow: hidden;
  min-width: 0;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #11110f;
  box-shadow:
    22px 25px 0 rgba(0, 0, 0, 0.13),
    0 35px 90px rgba(0, 0, 0, 0.18);
}

.terminal-head {
  display: grid;
  height: 47px;
  padding: 0 15px;
  border-bottom: 1px solid #30302c;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.terminal-head > span {
  display: flex;
  gap: 6px;
}

.terminal-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6255;
}

.terminal-head i:nth-child(2) {
  background: #f4bd41;
}
.terminal-head i:nth-child(3) {
  background: #35c84a;
}

.terminal-head b {
  color: #75736e;
  font-family: monospace;
  font-size: 8px;
  font-weight: 400;
}

.terminal-head button {
  justify-self: end;
  padding: 5px 9px;
  border: 1px solid #3c3c38;
  border-radius: 5px;
  background: transparent;
  color: #8f8d87;
  cursor: pointer;
  font-family: monospace;
  font-size: 8px;
}

.terminal-tabs {
  display: flex;
  gap: 25px;
  padding: 0 24px;
  border-bottom: 1px solid #30302c;
}

.terminal-tabs button {
  position: relative;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #77756f;
  cursor: pointer;
  font-family: monospace;
  font-size: 9px;
}

.terminal-tabs button[aria-selected="true"] {
  color: var(--white);
}

.terminal-tabs button[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--acid);
  content: "";
}

.terminal pre {
  margin: 0;
  padding: 30px 26px;
  overflow-x: auto;
  color: #d1cfc7;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
}

.prompt {
  color: var(--acid);
}
.success {
  color: #3cda79;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 700px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  text-align: center;
}

.final-cta .eyebrow {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
  font-size: clamp(70px, 9vw, 130px);
  line-height: 0.82;
}

.final-cta p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
}

.final-cta .button {
  position: relative;
  z-index: 2;
}

.cta-mesh {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(850px, 90vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-mesh::before,
.cta-mesh::after {
  position: absolute;
  inset: 17%;
  border: 1px dashed var(--line);
  border-radius: 50%;
  content: "";
}

.cta-mesh::after {
  inset: 34%;
  border-style: solid;
}

.cta-mesh span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.cta-mesh span:nth-child(1) {
  top: 15%;
  left: 22%;
}
.cta-mesh span:nth-child(2) {
  top: 21%;
  right: 16%;
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
}
.cta-mesh span:nth-child(3) {
  bottom: 15%;
  left: 29%;
}
.cta-mesh span:nth-child(4) {
  right: 20%;
  bottom: 20%;
  background: var(--acid);
  box-shadow: 0 0 0 1px #849e2e;
}

.site-footer {
  display: grid;
  min-height: 180px;
  padding: 45px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
}

.site-footer > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  font-size: 11px;
  font-weight: 650;
}

.site-footer nav a:hover {
  color: var(--blue);
}

.site-footer > small {
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1040px) {
  .site-nav {
    gap: 17px;
  }
  .hero {
    gap: 35px;
  }
  .hero-stage {
    height: 580px;
  }
  .problem-grid {
    gap: 6vw;
  }
  .play-grid {
    grid-template-columns: 1fr 0.62fr;
  }
  .architecture {
    padding: 28px;
    gap: 12px;
  }
  .arch-agents small {
    display: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 145px;
    grid-template-columns: 1fr;
  }
  h1 {
    max-width: 740px;
  }
  .hero-stage {
    height: 620px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .trust-strip div {
    flex-wrap: wrap;
    gap: 22px;
    justify-content: flex-start;
  }
  .problem-grid,
  .benchmark-layout,
  .install-section {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 520px;
  }
  .memory-search {
    width: auto;
    left: 35px;
  }
  .section-heading.light {
    grid-template-columns: 1fr;
  }
  .section-heading.light .section-kicker {
    grid-row: auto;
  }
  .play-grid {
    grid-template-columns: 1fr;
  }
  .play-mesh {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid #3d3d39;
  }
  .event-panel {
    min-height: 320px;
  }
  .architecture-section .section-heading {
    display: block;
  }
  .architecture {
    grid-template-columns: 1fr;
  }
  .arch-arrow {
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
  }
  .arch-arrow i {
    width: 1px;
    height: 30px;
  }
  .arch-arrow i::after {
    right: -3px;
    bottom: 0;
    top: auto;
    transform: rotate(135deg);
  }
  .architecture-notes {
    grid-template-columns: repeat(2, 1fr);
  }
  .install-section {
    gap: 60px;
  }
}

@media (min-width: 681px) and (max-width: 820px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    padding-left: 14px;
  }
  .site-nav {
    gap: 10px;
    font-size: 11px;
  }
  .site-nav > a:nth-child(-n + 3) {
    display: none;
  }
  .nav-cta {
    padding: 12px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 118px;
    padding-bottom: 64px;
  }
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: start;
    column-gap: 38px;
  }
  .hero-copy .eyebrow,
  .hero-facts {
    grid-column: 1 / -1;
  }
  .hero-copy h1 {
    grid-row: 2 / span 3;
    margin-bottom: 0;
    font-size: clamp(54px, 8vw, 62px);
    line-height: 1.02;
  }
  .hero-lede {
    grid-column: 2;
    margin-bottom: 20px;
    font-size: 15px;
  }
  .hero-actions {
    grid-column: 2;
    flex-wrap: wrap;
    gap: 15px;
  }
  .hero-actions .button {
    min-height: 48px;
    padding: 0 17px;
  }
  .hero-actions .text-link {
    font-size: 13px;
  }
  .hero-facts {
    max-width: none;
    margin-top: 30px;
  }
  .hero-stage {
    height: 410px;
    border-radius: 22px;
  }
  .mesh-core {
    width: 112px;
    height: 112px;
  }
  .orbit-one {
    width: 250px;
    height: 250px;
  }
  .orbit-two {
    width: 370px;
    height: 370px;
  }
  .agent-node {
    min-width: 150px;
  }
  .node-one {
    top: 7%;
    left: 7%;
  }
  .node-two {
    top: 18%;
    right: 6%;
  }
  .node-three {
    bottom: 7%;
    left: 16%;
  }
}

@media (max-width: 680px) {
  h1 {
    line-height: 1.02;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    display: none;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 10px;
  }
  .site-nav .nav-cta {
    text-align: center;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }
  .hero-stage {
    height: 560px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 9px;
    width: calc(100% - 18px);
  }
  .hero,
  .section {
    width: min(calc(100% - 30px), var(--max));
  }
  .hero {
    padding-top: 125px;
    padding-bottom: 60px;
  }
  h1 {
    max-width: 100%;
    font-size: clamp(48px, 14vw, 68px);
    letter-spacing: -0.07em;
  }
  .hero-lede {
    font-size: 16px;
  }
  .hero-actions,
  .install-links {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-facts {
    margin-top: 40px;
  }
  .hero-facts li {
    min-width: 0;
    padding-left: 12px;
  }
  .hero-facts strong {
    font-size: 20px;
  }
  .hero-facts span {
    font-size: 8px;
    overflow-wrap: anywhere;
  }
  .hero-stage {
    height: 510px;
    border-radius: 20px;
  }
  .stage-field {
    transform: scale(0.78);
    transform-origin: center center;
  }
  .node-one {
    top: 7%;
    left: -7%;
  }
  .node-two {
    right: -9%;
  }
  .node-three {
    bottom: 4%;
    left: 5%;
  }
  .stage-feed {
    padding: 0 11px;
    gap: 7px;
    font-size: 8px;
  }
  .trust-strip div {
    font-size: 15px;
  }
  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .problem-copy h2,
  .section-heading h2,
  .benchmark-copy h2,
  .install-copy h2 {
    font-size: clamp(43px, 13vw, 63px);
  }
  .agent-chaos {
    margin-top: 60px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .feature-wide {
    min-height: 500px;
    grid-column: auto;
    padding: 25px;
  }
  .feature-card h3 {
    margin-top: 50px;
  }
  .memory-search {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
  .memory-search > div {
    grid-template-columns: 52px 1fr;
  }
  .memory-search > div small {
    display: none;
  }
  .lease-card,
  .process-list,
  .message-bubble {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
  .playground-section,
  .install-section {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .play-controls {
    overflow-x: auto;
  }
  .play-controls button {
    flex: 0 0 auto;
  }
  .play-mesh {
    min-height: 470px;
  }
  .play-agent {
    min-width: 120px;
    padding: 10px;
  }
  .play-agent-0 {
    left: 3%;
  }
  .play-agent-1 {
    right: 2%;
  }
  .play-agent-2 {
    left: 5%;
  }
  .play-agent-3 {
    right: 2%;
  }
  .play-agent-4 {
    left: 1%;
  }
  .play-agent-5 {
    right: 1%;
  }
  .event-list li {
    grid-template-columns: 48px 40px 1fr;
  }
  .benchmark-row {
    grid-template-columns: 95px 1fr 45px;
    gap: 10px;
  }
  .benchmark-row > strong {
    font-size: 20px;
  }
  .architecture-notes {
    grid-template-columns: 1fr;
  }
  .terminal {
    min-height: 370px;
    box-shadow: 10px 13px 0 rgba(0, 0, 0, 0.13);
  }
  .terminal-tabs {
    gap: 17px;
    padding: 0 17px;
  }
  .terminal pre {
    padding: 25px 18px;
    font-size: 10px;
  }
  .final-cta {
    min-height: 600px;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer > p,
  .site-footer > small {
    text-align: left;
  }
  .site-footer nav {
    flex-wrap: wrap;
  }
}

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