:root {
  color-scheme: dark;
  --ink: #eaf6ef;
  --muted: #91a69b;
  --deep: #07110e;
  --deep-2: #0b1814;
  --panel: #0e1e19;
  --line: rgba(197, 233, 213, 0.14);
  --green: #79f2a6;
  --green-2: #b8ffd1;
  --amber: #f6c979;
  --shell: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--ink); min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }
.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; left: 12px; top: -48px; z-index: 100; background: var(--green); color: #07110e; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(7, 17, 14, 0.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 720; letter-spacing: -0.02em; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; }
.brand-mark i { position: absolute; width: 12px; height: 12px; border: 1.5px solid var(--green); border-radius: 50%; }
.brand-mark i:nth-child(1) { transform: translate(-6px, 4px); }
.brand-mark i:nth-child(2) { transform: translate(6px, 4px); }
.brand-mark i:nth-child(3) { transform: translateY(-6px); background: rgba(121, 242, 166, 0.12); }
.site-nav { display: flex; gap: 28px; align-items: center; color: #bdd0c5; font-size: 14px; }
.site-nav > a:not(.nav-cta):hover { color: var(--green); }
.nav-cta { padding: 10px 15px; color: var(--deep); background: var(--green); border-radius: 3px; font-weight: 700; }
.menu-button { display: none; color: var(--ink); background: transparent; border: 0; width: 38px; height: 38px; }

.hero { min-height: 780px; padding: 146px 0 90px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 58px; }
.hero::before { content: ""; position: absolute; inset: 76px 0 auto; height: 520px; z-index: -1; background: radial-gradient(circle at 68% 46%, rgba(63, 193, 112, 0.1), transparent 38%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 52px 52px, 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.eyebrow, .section-index { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { width: 28px; height: 1px; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero h1 { margin: 0; font-size: clamp(54px, 6vw, 92px); line-height: .98; letter-spacing: -.07em; font-weight: 620; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(184, 255, 209, .65); }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: #a8bdb1; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 0 18px; border-radius: 3px; font-size: 14px; font-weight: 680; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--deep); }
.button-primary:hover { background: var(--green-2); }
.button-secondary { border: 1px solid var(--line); color: #d2e1d8; }
.button-secondary:hover { border-color: rgba(121, 242, 166, .5); }
.live-strip { margin: 50px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; }
.live-strip div { border-right: 1px solid var(--line); padding: 0 24px; }
.live-strip div:first-child { padding-left: 0; }
.live-strip div:last-child { border: 0; }
.live-strip dt { color: #71887c; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.live-strip dd { margin: 8px 0 0; font-size: 22px; font-weight: 650; }
.node-status { display: flex; align-items: center; gap: 8px; font-size: 13px !important; height: 27px; }
.node-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.node-status.online span { background: var(--green); box-shadow: 0 0 12px var(--green); }

.network-stage { position: relative; aspect-ratio: 1; max-width: 630px; width: 100%; justify-self: end; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(121,242,166,.08), transparent 52%); }
.network-stage::before, .network-stage::after { content: ""; position: absolute; border: 1px solid rgba(121,242,166,.08); border-radius: 50%; inset: 12%; }
.network-stage::after { inset: 29%; }
.stage-label { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); color: #52695d; font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
.network-lines { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; }
.network-lines path { fill: none; stroke: rgba(121,242,166,.28); stroke-width: 1; stroke-dasharray: 5 8; animation: dash 18s linear infinite; }
.network-lines path.muted { stroke: rgba(184,255,209,.09); }
@keyframes dash { to { stroke-dashoffset: -100; } }
.core-node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 146px; height: 146px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #0d2018; border: 1px solid rgba(121,242,166,.5); box-shadow: 0 0 80px rgba(47,210,105,.14), inset 0 0 30px rgba(121,242,166,.05); }
.core-logo { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--green); color: var(--deep); font-weight: 900; }
.core-node strong { font-size: 13px; }
.core-node small { color: #638073; font-family: ui-monospace, monospace; font-size: 9px; margin-top: 4px; }
.core-orbit { position: absolute; inset: -16px; border: 1px solid rgba(121,242,166,.16); border-radius: 50%; animation: orbit 9s linear infinite; }
.core-orbit::after { content: ""; position: absolute; top: 18%; left: 2%; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.core-orbit.second { inset: -34px; animation-duration: 14s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.agent-node { position: absolute; min-width: 168px; padding: 11px 13px; display: flex; gap: 10px; align-items: center; background: rgba(12,28,22,.92); border: 1px solid rgba(184,255,209,.15); box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.agent-node::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 2px; background: var(--green); }
.agent-glyph { flex: 0 0 31px; height: 31px; display: grid; place-items: center; background: rgba(121,242,166,.1); border: 1px solid rgba(121,242,166,.25); color: var(--green); font: 600 11px ui-monospace, monospace; }
.agent-node strong, .agent-node small { display: block; }
.agent-node strong { font-size: 11px; }
.agent-node small { color: #6e897b; font-size: 9px; margin-top: 4px; }
.agent-node i { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.node-a { left: 0; top: 14%; }
.node-b { right: -2%; top: 16%; }
.node-c { left: -2%; bottom: 12%; }
.node-d { right: -2%; bottom: 13%; }
.concept-note { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); color: #4f665a; font-size: 9px; white-space: nowrap; }

.manifesto { padding: 140px 0; border-top: 1px solid var(--line); }
.section-index { margin: 0 0 28px; }
.manifesto-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; }
.manifesto h2, .section-heading h2, .open-source h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -.055em; font-weight: 560; }
.manifesto h2 span { color: var(--green); }
.manifesto-grid > div { padding-top: 8px; }
.manifesto-grid p, .split-heading > p { color: #95aa9f; line-height: 1.9; font-size: 16px; margin: 0 0 22px; }

.flow { padding: 120px 0; }
.section-heading { max-width: 800px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 66px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-grid article { position: relative; min-height: 460px; padding: 38px; border-right: 1px solid var(--line); }
.flow-grid article:first-child { border-left: 1px solid var(--line); }
.flow-number { color: #4f685b; font: 11px ui-monospace, monospace; }
.flow-icon { position: relative; width: 84px; height: 84px; margin: 50px 0 45px; border: 1px solid rgba(121,242,166,.18); border-radius: 50%; }
.radar::before, .radar::after, .radar i { content: ""; position: absolute; border: 1px solid rgba(121,242,166,.45); border-radius: 50%; }
.radar::before { inset: 16px; }.radar::after { inset: 31px; background: var(--green); box-shadow: 0 0 15px var(--green); }.radar i { width: 5px; height: 5px; top: 12px; right: 12px; background: var(--green); }
.prism { border-radius: 3px; transform: rotate(45deg) scale(.72); }
.prism::before, .prism::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(121,242,166,.55); }.prism::after { inset: 29px; background: rgba(121,242,166,.3); }
.pulse::before, .pulse::after, .pulse i { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(121,242,166,.4); }.pulse::before { width: 34px; height: 34px; }.pulse::after { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 15px var(--green); }.pulse i { width: 108px; height: 108px; opacity: .25; }
.flow-grid h3 { font-size: 23px; margin: 0 0 16px; }
.flow-grid p { min-height: 94px; color: #8fa499; line-height: 1.75; font-size: 14px; }
.flow-grid ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0 0; }
.flow-grid li { border: 1px solid var(--line); padding: 5px 8px; color: #7f9589; font: 9px ui-monospace, monospace; text-transform: uppercase; }

.capabilities { padding: 130px 0; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: end; }
.split-heading > p { margin: 0; font-size: 14px; }
.capability-list { margin-top: 70px; border-top: 1px solid var(--line); }
.capability-list article { display: grid; grid-template-columns: 150px 1fr 1fr 40px; gap: 34px; align-items: center; min-height: 116px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.capability-list article:hover { padding-inline: 16px; background: rgba(121,242,166,.025); }
.capability-list span { color: var(--green); font: 10px ui-monospace, monospace; letter-spacing: .1em; }
.capability-list h3 { font-size: 19px; margin: 0; font-weight: 570; }
.capability-list p { color: #82988c; font-size: 13px; line-height: 1.6; }
.capability-list i { color: #3f574a; font: normal 11px ui-monospace, monospace; text-align: right; }

.join { padding: 130px 0 80px; }
.join-card { margin-top: 58px; padding: 42px; border: 1px solid rgba(121,242,166,.28); background: rgba(121,242,166,.035); box-shadow: inset 0 0 60px rgba(121,242,166,.025); }
.join-card-label { color: var(--green); font: 10px ui-monospace, monospace; letter-spacing: .14em; }
.join-card > p:not(.copy-status) { margin: 22px 0 30px; color: #dce9e1; font: 17px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.join-actions .button { border: 0; cursor: pointer; }
.join-actions .button-secondary { border: 1px solid var(--line); }
.copy-status { min-height: 20px; margin: 15px 0 0; color: #8fa499; font-size: 12px; }

.open-source { padding: 80px 0 140px; }
.open-source-card { position: relative; overflow: hidden; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 62px; color: #07110e; background: var(--green); }
.open-source-card > *:not(.source-grid) { position: relative; z-index: 2; }
.open-source-card .section-index { color: #1a6b3a; }
.open-source-card > div > p:not(.section-index) { max-width: 620px; color: #245a39; font-size: 16px; line-height: 1.8; }
.source-actions { display: flex; align-items: center; gap: 28px; }
.button-light { background: var(--deep); color: var(--ink); }
.text-link { font-weight: 700; font-size: 14px; }
.source-grid { position: absolute; inset: 0 0 0 54%; opacity: .18; background: linear-gradient(#07110e 1px, transparent 1px), linear-gradient(90deg, #07110e 1px, transparent 1px); background-size: 34px 34px; transform: perspective(500px) rotateY(-18deg) scale(1.3); mask-image: linear-gradient(90deg, transparent, black); }

.site-footer { min-height: 150px; padding: 44px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 30px; color: #688075; font-size: 12px; }
.site-footer > div:nth-of-type(2) { display: flex; gap: 20px; }
.site-footer a:hover { color: var(--green); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .network-stage { justify-self: center; max-width: 620px; }
  .manifesto-grid, .split-heading { grid-template-columns: 1fr; gap: 42px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid article { min-height: auto; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .flow-grid article:last-child { border-bottom: 0; }
  .flow-grid p { min-height: 0; }
  .capability-list article { grid-template-columns: 110px 1fr 1fr 30px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .site-header { height: 66px; padding: 0 15px; }
  .menu-button { display: block; }
  .menu-button span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 15px 18px; background: rgba(7,17,14,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 112px 0 72px; gap: 62px; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero-lead { font-size: 16px; }
  .button { width: 100%; }
  .live-strip div { padding-inline: 12px; }
  .live-strip dd { font-size: 18px; }
  .network-stage { width: 112%; margin-left: -6%; }
  .agent-node { min-width: 138px; padding: 8px; }
  .agent-node strong { font-size: 9px; }.agent-node small { font-size: 8px; }
  .agent-glyph { flex-basis: 26px; height: 26px; }
  .core-node { transform: translate(-50%, -50%) scale(.82); }
  .manifesto, .flow, .capabilities, .join { padding: 90px 0; }
  .manifesto h2, .section-heading h2, .open-source h2 { font-size: 39px; }
  .flow-grid { margin-top: 42px; }
  .flow-grid article { padding: 30px; }
  .capability-list article { grid-template-columns: 1fr 28px; gap: 8px 20px; padding: 22px 0; }
  .capability-list span, .capability-list h3, .capability-list p { grid-column: 1; }
  .capability-list i { grid-column: 2; grid-row: 1; }
  .capability-list p { margin: 4px 0 0; }
  .open-source { padding: 40px 0 90px; }
  .open-source-card { padding: 36px 26px; min-height: 500px; }
  .join-card { padding: 28px 22px; }
  .source-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .source-grid { inset: 55% 0 0 0; mask-image: linear-gradient(transparent, black); }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

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