:root {
  --ink: #111410;
  --ink-2: #171b16;
  --ink-3: #20251e;
  --paper: #f4f3eb;
  --paper-2: #e8e9de;
  --muted: #a8ada3;
  --line: rgba(17, 20, 16, 0.16);
  --line-dark: rgba(244, 243, 235, 0.14);
  --lime: #c7ff00;
  --lime-soft: #e2ff77;
  --orange: #ff5a1f;
  --blue: #53a3ff;
  --max: 1240px;
  --header: 76px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 200; padding: 10px 14px; background: var(--lime); color: var(--ink); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(244, 243, 235, .1);
  background: rgba(17, 20, 16, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .25s, transform .25s;
}
.site-header.is-scrolled { background: rgba(17, 20, 16, .94); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 180px; }
.brand-mark { width: 40px; height: 40px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #0d0f0c; box-shadow: 0 0 28px rgba(199, 255, 0, .08); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { font-size: 18px; letter-spacing: -.03em; }
.brand-type small { margin-top: 6px; color: #8f978b; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 29px; width: 100%; }
.site-nav a, .lang-toggle { position: relative; border: 0; background: none; color: #bbc0b7; font-size: 14px; cursor: pointer; transition: color .2s; }
.site-nav a:not(.nav-docs):not(.nav-github)::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover, .site-nav a:focus-visible, .lang-toggle:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-docs { padding: 10px 15px; border: 1px solid #43483f; border-radius: 7px; }
.nav-github { color: var(--lime) !important; font-weight: 700; }
.lang-toggle { padding: 8px 0; color: #f5f5ee; font-weight: 800; }
.lang-toggle::before { content: "中"; margin-right: 8px; color: #747b70; }
html[lang="en"] .lang-toggle::before { content: "EN"; color: #f5f5ee; }
html[lang="en"] .lang-toggle span { font-size: 0; }
html[lang="en"] .lang-toggle span::after { content: "中"; font-size: 14px; color: #747b70; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid #363a33; border-radius: 8px; background: transparent; }
.menu-toggle span { display: block; width: 19px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .25s; }

.hero { position: relative; min-height: 800px; padding: calc(var(--header) + 96px) 0 42px; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.hero-grid, .final-grid { position: absolute; inset: 0; opacity: .42; 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: 64px 64px; mask-image: linear-gradient(to bottom, #000 15%, transparent 87%); }
.hero-glow { position: absolute; width: 720px; height: 720px; top: -190px; right: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(199,255,0,.17), rgba(199,255,0,.03) 35%, transparent 70%); filter: blur(18px); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(470px, .98fr); gap: 76px; align-items: center; }
.eyebrow-row { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.eyebrow, .section-kicker { margin: 0; color: var(--lime); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .16em; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 2.2s infinite; }
.alpha-chip { padding: 6px 9px; border: 1px solid #3f4539; border-radius: 99px; color: #91988d; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.hero h1 { max-width: 760px; margin: 0; color: #f7f7f0; font-size: clamp(54px, 5.35vw, 82px); line-height: .99; letter-spacing: -.065em; }
.hero h1 span { display: inline-block; color: var(--lime); font-weight: 630; }
.hero-lede { max-width: 650px; margin: 30px 0 0; color: #b7bcb3; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 176px; padding: 16px 18px; border-radius: 7px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button b { font-size: 18px; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #d9ff4f; }
.button-secondary { border: 1px solid #464c42; background: rgba(255,255,255,.025); }
.button-secondary:hover { border-color: #888f84; }
.hero-footnote { display: flex; gap: 26px; margin-top: 27px; color: #70776c; font-size: 11px; letter-spacing: .05em; }
.hero-footnote > span:first-child { color: #a4aaa0; }
.hero-footnote i { display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #59e391; }

.compiler-stage { position: relative; max-width: 560px; padding: 18px; border: 1px solid rgba(244,243,235,.15); border-radius: 16px; background: rgba(23,27,22,.91); box-shadow: 0 45px 100px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.04); transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.compiler-stage::before { content: ""; position: absolute; z-index: -1; inset: 22px -18px -20px 24px; border: 1px solid rgba(199,255,0,.15); border-radius: 17px; }
.stage-topline { display: flex; justify-content: space-between; padding: 1px 3px 16px; color: #747b70; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.stage-live { color: #9aa395; }
.stage-live i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(199,255,0,.6); }
.source-card, .plan-card { position: relative; z-index: 2; overflow: hidden; border: 1px solid #333a30; border-radius: 10px; background: #111410; }
.source-head { display: flex; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid #2a3027; color: #c8cdc3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.source-head small { color: var(--lime); }
.source-card pre { min-height: 225px; margin: 0; padding: 17px 19px; color: #e6e8e1; font: 12px/1.62 ui-monospace, SFMono-Regular, Menlo, monospace; }
.c-key { color: #8db7e8; }.c-val { color: #e4e4dc; }.c-lime { color: var(--lime); }.c-num { color: #ffad82; }.c-comment { color: #656d61; }
.compile-lane { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 58px; padding: 0 10px; color: #879080; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.compile-lane i { flex: 1; height: 1px; background: linear-gradient(90deg, #46513f, var(--lime), #46513f); }
.plan-card header { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-bottom: 1px solid #2a3027; }
.plan-card header div { display: flex; flex-direction: column; }
.plan-card header small { color: #7c8477; font-size: 8px; letter-spacing: .12em; }
.plan-card header strong { margin-top: 2px; font-size: 13px; }
.plan-card header em { margin-left: auto; color: var(--lime); font: normal 8px ui-monospace, monospace; }
.plan-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 6px; background: var(--lime); color: var(--ink); font-size: 19px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #292e27; }
.plan-grid span { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; padding: 11px 13px; background: #171a16; color: #c1c5bc; font-size: 10px; }
.plan-grid i { grid-row: 1 / 3; color: #626b5e; font: normal 9px ui-monospace, monospace; }
.plan-grid b { color: #6e786a; font-size: 8px; font-weight: 500; }
.stage-orbit { position: absolute; z-index: 1; border: 1px solid rgba(199,255,0,.14); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 210px; height: 210px; top: 80px; right: -106px; }
.orbit-two { width: 310px; height: 310px; right: -156px; bottom: -120px; }
.hero-index { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 74px; color: #5d645a; font: 9px ui-monospace, monospace; letter-spacing: .12em; }
.hero-index i { flex: 1; height: 1px; background: #30352e; }

.manifesto { padding: 124px 0 108px; background: var(--paper); color: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; }
.manifesto h2, .section-heading h2, .backend-copy h2, .quickstart h2, .data-loop h2, .final-cta h2 { margin: 24px 0 0; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.06em; }
.manifesto h2 span, .capabilities h2 span, .backend-copy h2 span, .data-loop h2 span, .final-cta h2 span { color: var(--orange); }
.manifesto .section-kicker { color: #657059; }
.manifesto-copy { color: #50564d; font-size: 16px; line-height: 1.85; }
.manifesto-copy p { margin: 0; }
.manifesto-copy p + p { margin-top: 20px; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip article { min-height: 144px; padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-strip article:first-child { padding-left: 0; }
.proof-strip article:last-child { border-right: 0; }
.proof-strip strong { display: block; color: var(--ink); font: 500 clamp(31px, 3.3vw, 46px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.proof-strip span { display: block; margin-top: 15px; color: #71776d; font-size: 12px; }

.architecture-section { padding: 125px 0 130px; background: #192018; color: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; }
.section-heading h2 { font-size: clamp(43px, 5vw, 68px); }
.section-heading > p { max-width: 480px; margin: 0; color: #aeb6a8; font-size: 16px; line-height: 1.8; }
.architecture-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 64px; margin-top: 75px; }
.layer-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.layer-list li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 21px 12px 21px 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; opacity: .5; transition: opacity .2s, padding-left .2s, background .2s; }
.layer-list li:hover, .layer-list li:focus-visible, .layer-list li.is-active { padding-left: 12px; background: rgba(255,255,255,.035); opacity: 1; outline: 0; }
.layer-list li > span { padding-top: 3px; color: var(--lime); font: 10px ui-monospace, monospace; }
.layer-list strong { font-size: 15px; }
.layer-list p { margin: 7px 0 0; color: #8f978a; font-size: 12px; line-height: 1.55; }
.architecture-visual { overflow: hidden; border: 1px solid #3a4437; border-radius: 13px; background: #10140f; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.arch-toolbar, .arch-caption { display: flex; justify-content: space-between; align-items: center; padding: 15px 17px; color: #727c6e; font: 9px ui-monospace, monospace; letter-spacing: .12em; }
.arch-toolbar { border-bottom: 1px solid #2a3128; }
.arch-toolbar button { border: 0; background: none; color: var(--lime); font-size: 10px; cursor: pointer; }
.arch-caption { border-top: 1px solid #2a3128; }
.arch-caption i { flex: 1; height: 1px; margin: 0 18px; background: #30372d; }
.arch-diagram { min-height: 500px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 30px 6%; background-image: radial-gradient(circle at center, rgba(199,255,0,.05), transparent 58%), linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: auto, 30px 30px, 30px 30px; }
.arch-band { display: flex; align-items: center; justify-content: space-between; min-height: 57px; padding: 12px 17px; border: 1px solid #394237; border-radius: 7px; background: #171c16; transition: transform .25s, border-color .25s, box-shadow .25s; }
.arch-band small { color: #727b6f; font: 8px ui-monospace, monospace; letter-spacing: .14em; }
.arch-band span { font-size: 12px; font-weight: 700; }
.arch-band b { color: #8c9588; font-size: 9px; font-weight: 500; }
.arch-band.is-active, .arch-backends.is-active { transform: scale(1.018); border-color: var(--lime); box-shadow: 0 0 0 1px rgba(199,255,0,.1), 0 0 32px rgba(199,255,0,.07); }
.band-config { border-color: #5f6f42; }.band-runtime { min-height: 77px; border-color: #7b5e35; }.band-unirobo { border-color: #425d72; }
.arch-arrow { height: 29px; display: grid; place-items: center; color: #65705f; font-size: 13px; }
.arch-backends { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 7px; border: 1px solid #624035; border-radius: 7px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.arch-backends span { padding: 13px 8px; background: #241a16; color: #d7c1b5; text-align: center; font: 9px ui-monospace, monospace; letter-spacing: .08em; }

.capabilities { padding: 125px 0; background: var(--paper); color: var(--ink); }
.section-heading-dark .section-kicker { color: #697361; }
.section-heading-dark h2 span { color: var(--orange); }
.section-heading-dark > p { color: #596057; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 70px; }
.cap-card { min-height: 310px; display: flex; flex-direction: column; padding: 29px; overflow: hidden; border: 1px solid #d2d4c9; border-radius: 11px; background: #edede5; transition: transform .25s, border-color .25s; }
.cap-card:hover { transform: translateY(-4px); border-color: #a7aa9e; }
.cap-card-wide { grid-column: 1 / -1; min-height: 360px; background: var(--ink); color: var(--paper); }
.cap-card header { display: flex; align-items: center; justify-content: space-between; color: #767d71; font: 9px ui-monospace, monospace; letter-spacing: .13em; }
.cap-card header i { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #dedfd6; color: var(--ink); font: normal 17px sans-serif; }
.cap-card-wide header i { background: var(--lime); }
.cap-card h3 { max-width: 790px; margin: auto 0 15px; font-size: clamp(27px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.cap-card:not(.cap-card-wide) h3 { font-size: clamp(25px, 2.4vw, 36px); }
.cap-card p { max-width: 730px; margin: 0; color: #666c63; font-size: 14px; line-height: 1.7; }
.cap-card-wide p { color: #a6ada2; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip-row span { padding: 9px 11px; border: 1px solid #3b4238; border-radius: 5px; color: #acb4a7; font: 9px ui-monospace, monospace; letter-spacing: .08em; }
.cap-card-media { position: relative; grid-row: span 2; min-height: 634px; padding: 0; background: #252b25; color: var(--paper); }
.cap-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,20,16,.96), transparent 62%); }
.cap-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.cap-card-media > div { position: absolute; z-index: 2; inset: auto 29px 29px; }
.cap-card-media header { color: #b8bdb5; }
.cap-card-media h3 { margin-top: 38px; margin-bottom: 0; }
.cap-card-accent { background: var(--lime); border-color: var(--lime); }
.cap-card-accent header, .cap-card-accent p { color: #465238; }
.cap-card-accent header i { background: var(--ink); color: var(--lime); }

.backend-section { padding: 132px 0; background: #182019; }
.backend-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9vw; }
.backend-copy h2 { font-size: clamp(42px, 5.2vw, 70px); }
.backend-copy h2 span { color: var(--lime); }
.backend-copy p { max-width: 510px; margin: 28px 0 0; color: #a8b0a4; font-size: 16px; line-height: 1.8; }
.text-link { display: inline-block; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid #5a6355; color: var(--lime); font-size: 13px; font-weight: 700; }
.text-link b { margin-left: 12px; }
.backend-stack { border-top: 1px solid #4a5546; }
.backend-stack article { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 15px; min-height: 130px; padding: 20px 0; border-bottom: 1px solid #4a5546; transition: padding .25s, background .25s; }
.backend-stack article:hover { padding-inline: 18px; background: rgba(255,255,255,.025); }
.backend-number { color: var(--lime); font: 10px ui-monospace, monospace; }
.backend-stack div { display: flex; flex-direction: column; }
.backend-stack small { color: #6f786d; font: 8px ui-monospace, monospace; letter-spacing: .13em; }
.backend-stack strong { margin-top: 8px; font-size: 30px; letter-spacing: -.04em; }
.backend-stack em { color: #8b9487; font: normal 10px ui-monospace, monospace; }

.quickstart { padding: 126px 0 138px; background: #ebece2; color: var(--ink); }
.quickstart-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8vw; }
.quickstart-head .section-kicker { grid-column: 1 / -1; color: #64705a; }
.quickstart h2 { margin-top: 20px; font-size: clamp(47px, 6vw, 78px); }
.quickstart-head > p:last-child { align-self: end; margin: 20px 0 7px; color: #5a6157; font-size: 16px; line-height: 1.8; }
.terminal-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; margin-top: 65px; }
.terminal { min-width: 0; border-radius: 11px; overflow: hidden; background: #10130f; box-shadow: 0 28px 65px rgba(33,38,30,.18); }
.terminal-bar { height: 49px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #2d322b; color: #737a70; font: 9px ui-monospace, monospace; }
.terminal-bar > span { display: flex; gap: 6px; }
.terminal-bar i { width: 7px; height: 7px; border-radius: 50%; background: #555b52; }
.terminal-bar i:first-child { background: var(--orange); }.terminal-bar i:nth-child(2) { background: #e3bc3e; }.terminal-bar i:nth-child(3) { background: var(--lime); }
.terminal-bar button { padding: 6px 10px; border: 1px solid #3b4138; border-radius: 5px; background: transparent; color: #b8beb4; font-size: 9px; cursor: pointer; }
.terminal pre { overflow: auto; margin: 0; padding: 31px 32px 38px; color: #e8eae3; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal .prompt { color: var(--lime); }.terminal .output { color: #6c7668; }
.quickstart-shot { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 11px; background: #bac5ce; }
.quickstart-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,16,13,.7), transparent 50%); }
.quickstart-shot img { width: 100%; height: 100%; object-fit: cover; }
.quickstart-shot figcaption { position: absolute; z-index: 2; inset: auto 22px 20px; display: flex; justify-content: space-between; color: #fff; font: 9px ui-monospace, monospace; letter-spacing: .09em; }
.quickstart-shot small { color: #ced5ce; }

.data-loop { padding: 130px 0; background: #10130f; }
.data-loop-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: center; }
.data-loop h2 { font-size: clamp(43px, 5.2vw, 70px); }
.data-loop h2 span { color: var(--lime); }
.data-loop p:not(.section-kicker) { max-width: 520px; margin: 28px 0 0; color: #9ca397; font-size: 16px; line-height: 1.8; }
.loop-visual { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-left: auto; }
.loop-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #394034; stroke-width: 1; }
.loop-visual svg path { stroke: var(--lime); stroke-width: 1.5; stroke-dasharray: 5 10; opacity: .7; animation: dash 20s linear infinite; }
.loop-center { position: absolute; z-index: 2; inset: 36%; display: grid; place-items: center; align-content: center; border: 1px solid #56624d; border-radius: 50%; background: #171b16; box-shadow: 0 0 80px rgba(199,255,0,.08); }
.loop-center span { color: var(--lime); font: 700 32px ui-monospace, monospace; letter-spacing: -.08em; }
.loop-center small { margin-top: 8px; color: #687062; font: 8px ui-monospace, monospace; letter-spacing: .16em; }
.loop-node { position: absolute; z-index: 3; width: 125px; min-height: 72px; padding: 12px 14px; border: 1px solid #363d32; border-radius: 7px; background: #171b16; }
.loop-node i { color: var(--lime); font: normal 8px ui-monospace, monospace; }
.loop-node strong { display: block; margin-top: 5px; font-size: 12px; letter-spacing: .04em; }
.loop-node small { color: #6c7467; font: 8px ui-monospace, monospace; }
.node-run { top: 3%; left: 50%; transform: translateX(-50%); }.node-record { top: 50%; right: 0; transform: translateY(-50%); }.node-inspect { bottom: 3%; left: 50%; transform: translateX(-50%); }.node-replay { top: 50%; left: 0; transform: translateY(-50%); }

.final-cta { position: relative; padding: 142px 0; overflow: hidden; background: var(--lime); color: var(--ink); }
.final-grid { opacity: .3; background-image: linear-gradient(rgba(17,20,16,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(17,20,16,.13) 1px, transparent 1px); mask-image: radial-gradient(circle at center, black, transparent 75%); }
.final-cta-inner { position: relative; }
.final-cta-inner > p { margin: 0; font: 800 10px ui-monospace, monospace; letter-spacing: .15em; }
.final-cta h2 { max-width: 920px; font-size: clamp(47px, 6.5vw, 88px); }
.final-cta h2 span { color: var(--ink); text-decoration: underline; text-decoration-thickness: .055em; text-underline-offset: .12em; }
.button-light { background: var(--ink); color: var(--paper); }
.button-outline-light { border: 1px solid rgba(17,20,16,.5); }

.site-footer { padding: 68px 0 26px; background: #0d0f0c; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; }
.brand-footer .brand-type small { max-width: 220px; line-height: 1.35; }
.footer-links { display: grid; grid-template-columns: repeat(2, 150px); gap: 55px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 6px; color: #62695f; font-size: 10px; letter-spacing: .12em; }
.footer-links a { color: #aeb3aa; font-size: 13px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 64px; padding-top: 22px; border-top: 1px solid #292d27; color: #5f655c; font-size: 10px; }
.footer-bottom a { color: #9ba097; }

.architecture-dialog { width: min(94vw, 1500px); max-height: 94vh; padding: 0; border: 1px solid #41483e; border-radius: 12px; background: #10130f; color: var(--paper); box-shadow: 0 50px 130px rgba(0,0,0,.75); }
.architecture-dialog::backdrop { background: rgba(5,7,5,.88); backdrop-filter: blur(9px); }
.architecture-dialog img { width: 100%; max-height: 84vh; object-fit: contain; background: #fff; }
.architecture-dialog > button { position: fixed; z-index: 3; top: 22px; right: 28px; width: 44px; height: 44px; border: 1px solid #4d554a; border-radius: 50%; background: #10130f; color: #fff; font-size: 24px; cursor: pointer; }
.architecture-dialog p { margin: 0; padding: 15px 18px; color: #777f73; font: 9px ui-monospace, monospace; letter-spacing: .1em; text-align: center; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 5px var(--lime); } }
@keyframes dash { to { stroke-dashoffset: -300; } }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr .9fr; gap: 40px; }
  .hero h1 { font-size: clamp(51px, 6.5vw, 72px); }
  .architecture-layout { grid-template-columns: 270px 1fr; gap: 32px; }
  .arch-diagram { min-height: 460px; }
}

@media (max-width: 860px) {
  :root { --header: 68px; }
  .site-header { padding-inline: 20px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header) 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid #343a31; background: rgba(17,20,16,.98); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .28s, opacity .2s, visibility .28s; }
  .menu-open .site-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav a, .lang-toggle { padding: 16px 5px; border-bottom: 1px solid #292e27; text-align: left; }
  .nav-docs { border: 0; border-radius: 0; }
  .hero { min-height: auto; padding-top: calc(var(--header) + 70px); }
  .hero-layout { grid-template-columns: 1fr; gap: 66px; }
  .hero-copy { max-width: 720px; }
  .compiler-stage { width: min(93%, 560px); margin: auto; transform: none; }
  .manifesto-grid, .section-heading, .backend-layout, .quickstart-head, .terminal-layout, .data-loop-layout { grid-template-columns: 1fr; }
  .manifesto-copy, .section-heading > p, .quickstart-head > p:last-child { margin-top: 30px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-strip article:nth-child(3) { padding-left: 0; }
  .architecture-layout { grid-template-columns: 1fr; }
  .layer-list { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line-dark); }
  .layer-list li { border-right: 1px solid var(--line-dark); }
  .capability-grid { grid-template-columns: 1fr; }
  .cap-card-media { min-height: 520px; }
  .backend-stack { margin-top: 30px; }
  .terminal-layout { grid-template-rows: auto 370px; }
  .data-loop-layout { gap: 62px; }
  .loop-visual { margin: auto; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 34px), var(--max)); }
  .site-header { padding-inline: 17px; }
  .brand { min-width: 0; }
  .brand-type small { display: none; }
  .hero { padding-top: calc(var(--header) + 54px); }
  .eyebrow-row { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .hero h1 { font-size: clamp(44px, 13.3vw, 61px); }
  .hero-lede { font-size: 16px; line-height: 1.72; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-footnote { align-items: flex-start; flex-direction: column; gap: 9px; }
  .compiler-stage { width: 100%; padding: 12px; }
  .source-card pre { min-height: auto; padding: 14px; font-size: 10px; }
  .plan-grid { grid-template-columns: 1fr; }
  .hero-index { margin-top: 52px; }
  .hero-index span:last-child { display: none; }
  .manifesto, .architecture-section, .capabilities, .backend-section, .quickstart, .data-loop { padding-block: 88px; }
  .manifesto h2, .section-heading h2, .backend-copy h2, .quickstart h2, .data-loop h2 { font-size: clamp(40px, 11vw, 56px); }
  .manifesto-grid { gap: 28px; }
  .proof-strip { margin-top: 58px; }
  .proof-strip article { min-height: 119px; padding: 22px 14px; }
  .proof-strip strong { font-size: 28px; }
  .proof-strip span { font-size: 11px; line-height: 1.4; }
  .architecture-layout { margin-top: 50px; }
  .layer-list { grid-template-columns: 1fr; }
  .arch-diagram { min-height: 430px; padding-inline: 15px; }
  .arch-band { align-items: flex-start; flex-direction: column; gap: 8px; }
  .arch-band b { display: none; }
  .arch-caption span:first-child, .arch-caption i { display: none; }
  .architecture-dialog > button { top: 12px; right: 12px; }
  .capability-grid { margin-top: 45px; }
  .cap-card { min-height: 300px; padding: 22px; }
  .cap-card-wide { min-height: 440px; }
  .cap-card-media { min-height: 460px; padding: 0; }
  .cap-card-media > div { inset: auto 22px 22px; }
  .cap-card h3, .cap-card:not(.cap-card-wide) h3 { font-size: 29px; }
  .chip-row { gap: 5px; }
  .backend-stack article { grid-template-columns: 38px 1fr; }
  .backend-stack em { grid-column: 2; }
  .quickstart-head { gap: 8px; }
  .terminal-layout { margin-top: 45px; grid-template-rows: auto 245px; }
  .terminal pre { padding: 24px 20px 30px; font-size: 9.5px; }
  .quickstart-shot figcaption { align-items: flex-start; flex-direction: column; gap: 6px; }
  .loop-node { width: 104px; padding: 10px; }
  .loop-center span { font-size: 25px; }
  .final-cta { padding-block: 96px; }
  .final-cta h2 { font-size: clamp(44px, 12vw, 60px); }
  .footer-main { flex-direction: column; gap: 50px; }
  .footer-links { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 11px; }
}

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

/* Developer documentation */
.docs-body { background: #f2f2ea; color: var(--ink); color-scheme: light; }
.docs-header { background: rgba(17,20,16,.97); color: var(--paper); }
.docs-version { margin-left: 26px; padding-left: 26px; border-left: 1px solid #353a32; color: #767e72; font: 9px ui-monospace, monospace; letter-spacing: .08em; }
.docs-header .site-nav { margin-left: auto; width: auto; }
.docs-shell { width: min(100%, 1540px); margin: 0 auto; padding-top: var(--header); display: grid; grid-template-columns: 250px minmax(0, 900px) 180px; justify-content: center; }
.docs-sidebar { position: relative; border-right: 1px solid #d6d8cd; background: #e9eae1; }
.docs-sidebar-inner { position: sticky; top: var(--header); height: calc(100vh - var(--header)); overflow: auto; padding: 42px 32px 60px; }
.docs-sidebar a { display: block; margin: 2px 0; padding: 8px 10px; border-radius: 5px; color: #62685f; font-size: 12px; line-height: 1.3; transition: color .15s, background .15s; }
.docs-sidebar a:hover, .docs-sidebar a.is-active { background: #dfe1d6; color: #151815; }
.docs-sidebar a.is-active { box-shadow: inset 2px 0 var(--orange); }
.docs-label { margin: 30px 10px 9px; color: #9a9e95; font: 800 8px ui-monospace, monospace; letter-spacing: .15em; }
.docs-label:first-child { margin-top: 0; }
.docs-main { min-width: 0; padding: 70px 70px 90px; }
.docs-hero { scroll-margin-top: calc(var(--header) + 28px); padding-bottom: 66px; border-bottom: 1px solid #cfd1c6; }
.docs-breadcrumb { display: flex; gap: 9px; margin-bottom: 57px; color: #969b92; font-size: 11px; }
.docs-breadcrumb a { color: #4f554d; }
.docs-hero .section-kicker { color: #66705d; }
.docs-hero h1 { max-width: 750px; margin: 23px 0 0; color: #161916; font-size: clamp(48px, 5vw, 72px); line-height: 1.02; letter-spacing: -.065em; }
.docs-hero > p:last-of-type { max-width: 730px; margin: 30px 0 0; color: #5f655c; font-size: 17px; line-height: 1.8; }
.docs-hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.docs-hero-actions a { padding: 11px 14px; border: 1px solid #bdc0b5; border-radius: 6px; font-size: 12px; font-weight: 700; }
.docs-hero-actions a:first-child { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.docs-callout { margin: 36px 0; padding: 20px 22px; border: 1px solid #d1d2c7; border-left-width: 3px; border-radius: 5px; background: #ebece4; }
.docs-callout.warning { border-left-color: var(--orange); }
.docs-callout.note { border-left-color: #759739; }
.docs-callout strong { font-size: 12px; }
.docs-callout p { margin: 7px 0 0 !important; color: #62685f !important; font-size: 12px !important; line-height: 1.7 !important; }
.docs-main code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.docs-main p code { padding: 2px 5px; border: 1px solid #d5d6cc; border-radius: 4px; background: #e8e9e0; color: #30352f; font-size: .9em; }
.docs-section { position: relative; scroll-margin-top: calc(var(--header) + 28px); padding: 74px 0 14px; border-top: 1px solid #d1d3c8; }
.docs-callout + .docs-section { border-top: 0; }
.docs-section-number { color: #a0a59b; font: 9px ui-monospace, monospace; letter-spacing: .13em; }
.docs-section h2 { max-width: 760px; margin: 16px 0 25px; color: #181b18; font-size: clamp(35px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.docs-section > h3 { margin: 45px 0 15px; font-size: 19px; letter-spacing: -.02em; }
.docs-section > p { max-width: 760px; margin: 0 0 22px; color: #555c53; font-size: 15px; line-height: 1.85; }
.decision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.decision-grid article { min-height: 310px; padding: 24px; border: 1px solid #d0d2c7; border-radius: 8px; background: #e9eae1; }
.decision-grid article:first-child { background: #171a16; color: var(--paper); }
.decision-grid article > span { color: #8d9488; font: 8px ui-monospace, monospace; letter-spacing: .13em; }
.decision-grid article:first-child > span { color: var(--lime); }
.decision-grid h3 { margin: 60px 0 20px; font-size: 25px; line-height: 1.15; letter-spacing: -.04em; }
.decision-grid ul { margin: 0; padding: 0 0 0 17px; color: #697067; font-size: 12px; line-height: 1.75; }
.decision-grid article:first-child ul { color: #9ca499; }
.doc-code { margin: 31px 0 38px; overflow: hidden; border: 1px solid #2f352d; border-radius: 8px; background: #121511; color: #e9ebe4; box-shadow: 0 18px 42px rgba(23,27,22,.08); }
.doc-code header { height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #2a3027; color: #737a6f; font: 9px ui-monospace, monospace; letter-spacing: .08em; }
.doc-code button { padding: 6px 9px; border: 1px solid #3a4136; border-radius: 4px; background: none; color: #b6bcb2; font: 9px ui-monospace, monospace; cursor: pointer; }
.doc-code pre { margin: 0; padding: 24px 25px 29px; overflow: auto; color: #e9ebe4; font: 11px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.doc-code.compact pre { padding-block: 20px; }
.field-table, .version-table { margin: 33px 0; border-top: 1px solid #bfc2b6; }
.field-table > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 9px; border-bottom: 1px solid #cfd1c6; }
.field-table strong { color: #343a33; font: 12px ui-monospace, monospace; }
.field-table span { color: #676d64; font-size: 12px; }
.docs-architecture { margin: 34px 0 28px; overflow: hidden; border: 1px solid #c8cabf; border-radius: 8px; background: #fff; }
.docs-architecture button { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.docs-architecture img { width: 100%; }
.docs-architecture figcaption { padding: 12px 15px; border-top: 1px solid #d2d4c9; color: #858b81; font-size: 10px; }
.architecture-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.architecture-notes article { padding: 19px; border: 1px solid #d0d2c8; border-radius: 6px; }
.architecture-notes span { color: #78836b; font: 8px ui-monospace, monospace; letter-spacing: .13em; }
.architecture-notes p { margin: 12px 0 0; color: #636a61; font-size: 12px; line-height: 1.65; }
.plugin-rail { display: flex; flex-wrap: wrap; gap: 7px; margin: 32px 0; }
.plugin-rail span { padding: 10px 12px; border: 1px solid #c7c9be; border-radius: 5px; background: #e9eae1; color: #50574e; font: 9px ui-monospace, monospace; letter-spacing: .06em; }
.version-table > div { display: grid; grid-template-columns: 1.5fr .7fr .8fr 1.7fr; align-items: center; gap: 12px; min-height: 56px; padding: 10px 9px; border-bottom: 1px solid #cfd1c6; color: #626960; font-size: 11px; }
.version-table .table-head { min-height: 41px; color: #90968c; font-size: 9px; letter-spacing: .08em; }
.version-table code { color: #293028; font-size: 10px; font-weight: 700; }
.data-compare { display: grid; grid-template-columns: 1fr 45px 1fr; align-items: center; margin-top: 32px; }
.data-compare article { min-height: 170px; padding: 25px; border: 1px solid #ced0c5; border-radius: 8px; background: #e8e9e0; }
.data-compare article:first-child { background: #171a16; color: var(--paper); }
.data-compare article span { color: #7b8571; font: 9px ui-monospace, monospace; letter-spacing: .12em; }
.data-compare article:first-child span { color: var(--lime); }
.data-compare strong { display: block; margin: 38px 0 10px; font-size: 19px; }
.data-compare small { color: #777e74; font: 8px ui-monospace, monospace; }
.data-compare > i { color: #9fa49b; font: normal 22px ui-monospace, monospace; text-align: center; }
.docs-status { padding-bottom: 70px; }
.status-line { display: flex; align-items: center; justify-content: space-between; margin-top: 33px; padding: 18px 20px; border: 1px solid #bec1b5; border-radius: 7px; }
.status-line span { font: 10px ui-monospace, monospace; }
.status-line span i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #6c9a31; }
.status-line a { color: #353b34; font-size: 11px; font-weight: 700; }
.docs-footer { display: flex; justify-content: space-between; padding-top: 25px; border-top: 1px solid #cfd1c6; color: #8b9088; font-size: 10px; }
.docs-footer a { color: #555c52; }
.docs-toc { position: sticky; top: var(--header); align-self: start; padding: 44px 0 40px 27px; }
.docs-toc p { margin: 0 0 15px; color: #999f95; font: 8px ui-monospace, monospace; letter-spacing: .14em; }
.docs-toc a { display: block; padding: 6px 0; color: #7b8178; font-size: 10px; }
.docs-toc a:hover, .docs-toc a.is-active { color: #171a16; }

@media (max-width: 1120px) {
  .docs-shell { grid-template-columns: 230px minmax(0, 850px); }
  .docs-toc { display: none; }
}

@media (max-width: 860px) {
  .docs-version { display: none; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-main { padding: 57px max(22px, 6vw) 75px; }
  .docs-header .site-nav { width: 100%; }
}

@media (max-width: 560px) {
  .docs-main { padding-inline: 18px; }
  .docs-breadcrumb { margin-bottom: 42px; }
  .docs-hero h1 { font-size: 43px; }
  .docs-hero > p:last-of-type { font-size: 15px; }
  .docs-hero-actions { align-items: stretch; flex-direction: column; }
  .docs-hero-actions a { text-align: center; }
  .docs-section { padding-top: 58px; }
  .docs-section h2 { font-size: 37px; }
  .decision-grid, .architecture-notes { grid-template-columns: 1fr; }
  .decision-grid article { min-height: 270px; }
  .decision-grid h3 { margin-top: 42px; }
  .doc-code pre { padding: 20px 17px 24px; font-size: 9px; }
  .field-table > div { grid-template-columns: 100px 1fr; }
  .version-table { overflow-x: auto; }
  .version-table > div { min-width: 680px; }
  .data-compare { grid-template-columns: 1fr; gap: 10px; }
  .data-compare > i { transform: rotate(90deg); }
  .status-line { align-items: flex-start; flex-direction: column; gap: 16px; }
}
