:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #111114;
  --panel-2: #17171c;
  --line: #303038;
  --text: #f2f0ee;
  --muted: #97949f;
  --violet: #9d84ff;
  --orange: #ff9d4d;
  --page: min(1280px, calc(100% - 72px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; padding-bottom: 46px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--orange); color: #130b05; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.scanline { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .025; background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, #fff 4px); }

.site-header { width: var(--page); height: 84px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; font: 800 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.brand > span:last-child span, .footer-brand span { color: var(--orange); }
.brand-symbol { position: relative; width: 28px; height: 28px; border: 1px solid var(--violet); }
.brand-symbol i { position: absolute; width: 4px; height: 4px; background: var(--violet); }
.brand-symbol i:nth-child(1) { top: 5px; left: 5px; }.brand-symbol i:nth-child(2) { top: 5px; right: 5px; background: var(--orange); }.brand-symbol i:nth-child(3) { bottom: 5px; left: 11px; }
.header-channel { display: flex; align-items: center; gap: 14px; color: var(--muted); font: 9px/1 ui-monospace, monospace; }
.header-channel span { color: var(--orange); }
.site-nav { justify-self: end; display: flex; gap: 32px; font-size: 12px; color: var(--muted); }
.site-nav a { padding: 9px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); border-color: var(--orange); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 8px 10px; }

.hero { width: var(--page); min-height: calc(90svh - 84px); margin: auto; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 7vw; padding: 84px 0 74px; position: relative; }
.hero-ruler { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; color: #55525e; font: 8px/1 ui-monospace, monospace; }
.hero-ruler::before { content: ""; position: absolute; top: 16px; left: 0; right: 0; height: 5px; background-image: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 1px, transparent 1px, transparent 12px); }
.status-label { display: flex; align-items: center; gap: 9px; color: var(--orange); font: 10px/1 ui-monospace, monospace; }
.status-label i { width: 7px; height: 7px; background: var(--orange); box-shadow: 0 0 12px #ff9d4d88; animation: pulse 1.8s step-end infinite; }
.status-label span { margin-left: 12px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 24px 0 0; max-width: 720px; font-size: 66px; line-height: 1.08; font-weight: 300; }
h1 strong { color: var(--violet); font-weight: 700; }
.hero-copy > p { max-width: 560px; margin: 30px 0 0; color: #b5b1bb; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.command-action { min-width: 218px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--text); color: #101014; font-size: 13px; font-weight: 700; }
.command-action span { color: #684fff; font: 800 10px/1 ui-monospace, monospace; }
.command-action b { margin-left: auto; }
.command-action:hover { background: var(--orange); }
.plain-action { color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.plain-action:hover { color: var(--text); border-color: var(--violet); }

.command-center { border: 1px solid var(--line); background: #0d0d10; box-shadow: 12px 12px 0 #050506, 13px 13px 0 #24242a; }
.panel-top { height: 48px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font: 9px/1 ui-monospace, monospace; }
.live { color: var(--orange); }.live i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--orange); }
.telemetry { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 350px; }
.radar { position: relative; margin: 32px; border: 1px solid #292931; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0, transparent 38px, #25252d 39px, transparent 40px); }
.radar::before, .radar::after { content: ""; position: absolute; background: #292931; }
.radar::before { top: 50%; left: 4%; right: 4%; height: 1px; }.radar::after { left: 50%; top: 4%; bottom: 4%; width: 1px; }
.radar > i { position: absolute; inset: 50% auto auto 50%; width: 45%; height: 1px; background: var(--violet); transform-origin: left; animation: sweep 5s linear infinite; box-shadow: 0 0 8px var(--violet); }
.radar > b { position: absolute; inset: 50% auto auto 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); background: var(--orange); }
.node { position: absolute; width: 7px; height: 7px; border: 1px solid var(--violet); background: #111114; box-shadow: 0 0 9px var(--violet); }
.n1 { top: 22%; left: 63%; }.n2 { top: 62%; left: 28%; }.n3 { right: 16%; bottom: 22%; border-color: var(--orange); }
.metrics { border-left: 1px solid var(--line); display: grid; }
.metrics div { padding: 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.metrics div:last-child { border-bottom: 0; }
.metrics span, .metrics small { color: var(--muted); font: 8px/1 ui-monospace, monospace; }
.metrics strong { grid-row: span 2; font: 400 34px/1 ui-monospace, monospace; color: var(--text); }
.terminal { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 17px; border-top: 1px solid var(--line); font: 10px/1 ui-monospace, monospace; }
.prompt { color: var(--orange); }.terminal code { color: #c0bac8; }.terminal > i { width: 6px; height: 13px; background: var(--violet); animation: pulse 1s step-end infinite; }
.hero-footnote { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; gap: 24px; color: #5d5965; font: 8px/1 ui-monospace, monospace; }

.section { width: var(--page); margin: auto; padding: 108px 0; border-top: 1px solid var(--line); }
.focus-section { padding-top: 70px; }
.section-marker { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 54px; color: var(--muted); font: 9px/1 ui-monospace, monospace; }
.section-marker span { color: var(--orange); }.section-marker i { height: 1px; background: var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-heading h2, .article-heading h2, .about-copy h2 { margin: 0; font-size: 46px; line-height: 1.13; }
.section-heading p { max-width: 370px; margin: 0; color: var(--muted); font-size: 14px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability { min-height: 390px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c0c0f; transition: background .25s ease, transform .25s ease; }
.capability:hover { background: var(--panel); transform: translateY(-4px); }
.cap-index { display: block; margin-top: 30px; color: var(--orange); font: 9px/1 ui-monospace, monospace; }
.capability h3 { margin: 12px 0; font-size: 24px; }.capability p { min-height: 70px; margin: 0; color: var(--muted); font-size: 13px; }
.capability ul { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: #b8b4bd; font: 10px/2 ui-monospace, monospace; }
.capability li::before { content: "+"; margin-right: 9px; color: var(--violet); }
.cap-icon { width: 62px; height: 62px; position: relative; border: 1px solid var(--line); }
.edge { display: grid; grid-template-columns: repeat(2, 8px); place-content: center; gap: 7px; }.edge i { width: 8px; height: 8px; background: var(--violet); }.edge i:nth-child(2), .edge i:nth-child(3) { background: var(--orange); }
.signal i { position: absolute; left: 50%; bottom: 13px; border: 1px solid var(--violet); border-bottom: 0; border-radius: 30px 30px 0 0; transform: translateX(-50%); }.signal i:nth-child(1) { width: 12px; height: 8px; }.signal i:nth-child(2) { width: 28px; height: 20px; }.signal i:nth-child(3) { width: 44px; height: 34px; }
.flow i { position: absolute; width: 8px; height: 8px; background: var(--orange); }.flow i:nth-child(1) { left: 10px; top: 10px; }.flow i:nth-child(2) { right: 10px; top: 10px; background: var(--violet); }.flow i:nth-child(3) { right: 10px; bottom: 10px; }.flow i:nth-child(4) { left: 10px; bottom: 10px; background: var(--violet); }

.article-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.article-heading p, .about-copy > p { margin: 0 0 12px; color: var(--orange); font: 9px/1 ui-monospace, monospace; }
.article-heading > span { color: var(--muted); font-size: 13px; }
.log-list { border-top: 1px solid var(--line); }
.log-item { min-height: 146px; display: grid; grid-template-columns: 110px 130px 1fr 110px; gap: 26px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.log-item:hover { padding: 0 16px; background: var(--panel); }
.log-date { display: flex; align-items: center; gap: 10px; }.log-date strong { font: 300 34px/1 ui-monospace, monospace; }.log-date span { color: var(--muted); font: 8px/1.5 ui-monospace, monospace; }
.log-type, .log-status { color: var(--violet); font: 9px/1 ui-monospace, monospace; }.log-status { color: var(--muted); text-align: right; }.log-status b { color: var(--orange); }
.log-copy h3 { margin: 0; font-size: 19px; }.log-copy p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.about-layout { display: grid; grid-template-columns: .9fr 1.1fr .7fr; gap: 7vw; align-items: start; }
.about-body > p { margin: 0; color: #b7b3bb; font-size: 15px; }.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }.about-tags span { padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); font: 8px/1 ui-monospace, monospace; }
.node-card { min-height: 160px; padding: 22px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }.node-card span, .node-card small { color: var(--muted); font: 8px/1 ui-monospace, monospace; }.node-card strong { margin-top: 10px; font: 14px/1 ui-monospace, monospace; }.node-card i { width: 100%; height: 18px; margin: auto 0 14px; background-image: repeating-linear-gradient(90deg, var(--violet) 0, var(--violet) 2px, transparent 2px, transparent 7px); }
.site-footer { position: fixed; bottom: 0; left: 0; z-index: 40; width: 100%; height: 46px; padding: 0 max(36px, calc((100% - 1280px) / 2)); border-top: 1px solid var(--line); background: #09090b; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--muted); font-size: 10px; box-shadow: 0 -8px 24px #03030499; }
.site-footer p { margin: 0; }.site-footer > a:last-child { justify-self: end; border-bottom: 1px solid #55515c; }.site-footer > a:last-child:hover { color: var(--orange); border-color: var(--orange); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes sweep { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  h1 { font-size: 54px; }
  .hero { gap: 40px; }
  .telemetry { grid-template-columns: 1fr; }.metrics { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); }.metrics div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 0; }.metrics div:last-child { border-right: 0; }.metrics strong { font-size: 24px; }
  .radar { min-height: 270px; }
  .about-layout { grid-template-columns: 1fr 1fr; }.node-card { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 36px); }
  .site-header { height: 68px; grid-template-columns: 1fr auto; }.header-channel { display: none; }.menu-toggle { display: block; justify-self: end; font-size: 12px; }
  .site-nav { display: none; position: absolute; top: 58px; right: 0; width: 170px; padding: 12px; background: var(--panel); border: 1px solid var(--line); flex-direction: column; gap: 2px; }.site-nav.is-open { display: flex; }.site-nav a { padding: 10px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding: 58px 0 48px; }.hero-ruler { top: 12px; }.hero-footnote { display: none; }
  h1 { font-size: 43px; }.hero-copy > p { font-size: 15px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .command-center { height: 238px; overflow: hidden; box-shadow: 8px 8px 0 #050506, 9px 9px 0 #24242a; }.radar { min-height: 230px; margin: 18px; }.metrics { display: none; }.terminal { display: none; }
  .section { padding: 78px 0; }.focus-section { padding-top: 34px; }.section-marker { margin-bottom: 38px; }.section-heading { display: block; }.section-heading h2, .article-heading h2, .about-copy h2 { font-size: 36px; }.section-heading p { margin-top: 20px; }
  .capability-grid { grid-template-columns: 1fr; }.capability { min-height: 350px; }
  .article-heading { display: block; }.article-heading > span { display: block; margin-top: 18px; }.log-item { grid-template-columns: 78px 1fr; gap: 16px; padding: 24px 0; }.log-type { text-align: right; }.log-copy { grid-column: 1 / -1; }.log-status { grid-column: 1 / -1; text-align: left; }.log-item:hover { padding: 24px 12px; }
  .about-layout { grid-template-columns: 1fr; gap: 34px; }.node-card { grid-column: auto; }
  .site-footer { padding: 0 18px; grid-template-columns: auto 1fr; gap: 16px; }.site-footer p { display: none; }.site-footer > a:last-child { justify-self: end; white-space: nowrap; }
}

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

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
