
:root {
  color-scheme: light;
  --bg: #f5f4ef;
  --surface: #fffefa;
  --surface-muted: #ecebe5;
  --ink: #171819;
  --ink-soft: #4f5454;
  --line: #d7d7d0;
  --line-strong: #afaea7;
  --accent: #1b52ec;
  --green: #cbf476;
  --violet: #c9b2ff;
  --orange: #ffb08b;
  --blue: #a9c6ff;
  --orb-ink: #161819;
  --ticker: #171819;
  --ticker-ink: #f6f5ef;
  --shadow: 0 24px 60px rgba(29, 30, 31, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e0f10;
    --surface: #17191a;
    --surface-muted: #202324;
    --ink: #f4f3ee;
    --ink-soft: #b0b6b4;
    --line: #343737;
    --line-strong: #575b59;
    --accent: #99b6ff;
    --green: #b6eb66;
    --violet: #aa8beb;
    --orange: #f2a37d;
    --blue: #83b3ff;
    --orb-ink: #161819;
    --ticker: #c7f170;
    --ticker-ink: #171819;
    --shadow: 0 24px 60px rgba(0, 0, 0, .19);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-feature-settings: 'ss01' on; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: #181919; }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.micro, .tiny-label {
  font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.6;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 14px; color: #111; background: var(--green); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header { height: 84px; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 850; letter-spacing: -.07em; white-space: nowrap; }
.logo-suffix { color: var(--ink-soft); font-weight: 550; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 3px; transform: rotate(-13deg); }
.logo-mark span { background: var(--ink); border-radius: 2px; }
.logo-mark span:nth-child(2) { background: var(--green); }
.logo-mark span:nth-child(3) { background: var(--blue); }
.top-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; }
.top-nav a { border-radius: 99px; padding: 9px 18px; font-weight: 600; font-size: 13px; transition: background .2s; }
.top-nav a[aria-current='page'] { background: var(--ink); color: var(--bg); }
.top-nav a:not([aria-current]):hover { background: var(--surface-muted); }
.header-github { font-size: 12px; font-family: ui-monospace, monospace; font-weight: 650; letter-spacing: .06em; }
.header-github span { margin-left: 7px; font-size: 17px; }
.hero { min-height: 720px; display: grid; grid-template-columns: 56% 44%; position: relative; padding-top: clamp(60px, 8vw, 126px); padding-bottom: 86px; }
.hero-main { position: relative; z-index: 2; min-width: 0; padding-bottom: 80px; }
.hero-label { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.signal { display: inline-block; width: 9px; height: 9px; background: #50c36e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(80, 195, 110, .13); vertical-align: middle; margin-right: 5px; }
.hero h1 { margin: 34px 0 32px; max-width: 100%; font-size: clamp(58px, 6.4vw, 96px); line-height: 1.22; letter-spacing: -.02em; font-weight: 810; }
.hero-title-line { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero-title-highlight { color: var(--accent); }
.hero-dot { color: #538ce8; }
.hero-lead { font-size: clamp(16px, 1.45vw, 20px); color: var(--ink-soft); line-height: 1.9; margin: 0 0 40px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button-primary, .button-outline { display: inline-flex; align-items: center; justify-content: center; gap: 36px; padding: 16px 23px; min-height: 52px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: transform .18s, background .2s, color .2s; white-space: nowrap; }
.button-primary { border: 1px solid var(--ink); color: var(--bg); background: var(--ink); }
.button-outline { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.button-primary:hover, .button-outline:hover { transform: translateY(-3px); }
.button-text { font-size: 14px; font-weight: 650; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; }
.button-text span { margin-left: 5px; }
.orb-scene { min-height: 525px; position: relative; margin-top: -33px; overflow: visible; }
.orbit { width: 80%; aspect-ratio: 1; border: 1px dashed var(--line); position: absolute; left: 7%; top: 6%; border-radius: 50%; opacity: .7; }
.orbit-b { width: 58%; left: 18%; top: 21%; }
.orb { display: flex; align-items: center; justify-content: center; position: absolute; border-radius: 50%; font-weight: 800; color: var(--orb-ink); font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: -.08em; box-shadow: 0 15px 22px rgba(0,0,0,.06); animation: float 7s ease-in-out infinite; user-select: none; }
.orb-green { width: 215px; height: 215px; background: var(--green); top: 8%; left: 42%; font-size: 47px; transform: rotate(-12deg); }
.orb-lilac { width: 150px; height: 150px; background: var(--violet); top: 34%; left: 9%; font-size: 104px; animation-delay: -1.3s; }
.orb-blue { width: 126px; height: 126px; background: var(--blue); top: 57%; left: 56%; font-size: 56px; animation-delay: -3s; }
.orb-orange { width: 82px; height: 82px; background: var(--orange); top: 12%; left: 14%; font-size: 48px; animation-delay: -4s; }
.orb-small { width: 56px; height: 56px; background: var(--ink); color: var(--bg); top: 69%; left: 30%; font-size: 38px; animation-delay: -5s; }
.scene-index { position: absolute; bottom: 0; right: 2%; text-align: right; color: var(--ink-soft); }
.hero-bottom { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: space-between; color: var(--ink-soft); }
.hero-bottom span span { margin-left: 9px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -13px; } }
.ticker { background: var(--ticker); color: var(--ticker-ink); overflow: hidden; height: 67px; display: flex; align-items: center; }
.ticker-inner { font-size: 19px; font-weight: 740; white-space: nowrap; letter-spacing: .04em; animation: marquee 28s linear infinite; }
.ticker-inner i { font-style: normal; display: inline-block; margin: 0 30px; }
@keyframes marquee { to { transform: translateX(-45%); } }
.section { padding-block: 120px; }
.section-heading { border-top: 1px solid var(--line-strong); padding-top: 18px; display: flex; justify-content: space-between; gap: 15px; color: var(--ink-soft); }
.section-intro { display: grid; grid-template-columns: 65% 35%; gap: 20px; align-items: end; margin: 54px 0 55px; }
.section-intro h2 { font-size: clamp(46px, 6.2vw, 88px); line-height: 1.13; margin: 0; letter-spacing: -.075em; }
.section-intro h2 em, .subhero h1 em { font-style: normal; color: var(--accent); }
.section-intro p { font-size: 17px; line-height: 1.95; margin: 0 0 7px; color: var(--ink-soft); max-width: 390px; }
.lab-tiles { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; }
.lab-tile { min-width: 0; min-height: 440px; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .22s, border-color .22s; }
.lab-tile:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.lab-tile .tile-meta { display: flex; justify-content: space-between; gap: 10px; }
.tile-feature { background: var(--green); color: #151718; border-color: transparent; }
.tile-stat { background: var(--surface); }
.tile-edge { background: var(--blue); color: #151718; border-color: transparent; }
.lab-tile h3 { margin: 9px 0 8px; font-size: clamp(24px, 2.35vw, 34px); line-height: 1.2; letter-spacing: -.05em; display: flex; justify-content: space-between; }
.lab-tile p { margin: 0; font-size: 14px; line-height: 1.7; opacity: .76; }
.tiny-label { font-size: 10px; opacity: .7; }
.mini-graph { width: 95%; margin: auto 0; }
.mini-graph svg { width: 100%; }
.graph-axis { stroke: #1d2c26; stroke-width: 2; fill: none; }
.graph-area { fill: rgba(10, 71, 26, .08); }
.graph-line { fill: none; stroke: #12251d; stroke-width: 3; }
.graph-grid { fill: none; stroke: rgba(23,25,24,.16); stroke-width: 1; }
.graph-point { fill: #143d21; }
.stat-visual { display: flex; align-items: end; justify-content: space-between; height: 176px; gap: 13px; padding: 16px 11px; margin: auto 0; border-bottom: 2px solid var(--ink-soft); }
.stat-visual span { flex: 1; background: var(--accent); border-radius: 7px 7px 0 0; }
.stat-visual span:nth-child(even) { opacity: .5; }
.edge-visual { display: flex; align-items: center; justify-content: center; gap: 10px; margin: auto 0; font-size: 38px; font-family: ui-monospace, Consolas, monospace; font-weight: 800; }
.edge-center { font-size: 92px; letter-spacing: -.1em; }
.section-cta { text-align: right; margin-top: 30px; }
.text-link { font-size: 16px; font-weight: 700; border-bottom: 1px solid currentColor; padding: 8px 0; }
.text-link span { margin-left: 25px; }
.products-section { background: var(--surface-muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { border: 1px solid var(--line); background: var(--surface); padding: 24px; border-radius: 12px; min-height: 415px; display: flex; flex-direction: column; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-top .micro { font-size: 10px; }
.pill { padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tag-green { color: #1e3023; background: var(--green); border-color: transparent; }
.tag-violet { color: #242037; background: var(--violet); border-color: transparent; }
.tag-orange { color: #3c2822; background: var(--orange); border-color: transparent; }
.product-icon { flex: 1; min-height: 175px; display: flex; justify-content: center; align-items: center; font-size: clamp(80px, 7vw, 120px); font-weight: 780; line-height: 1; letter-spacing: -.08em; }
.product-01 .product-icon { color: #4e9060; }
.product-02 .product-icon { color: #9d84dc; }
.product-03 .product-icon { color: #de8867; }
.product-bottom h3 { font-size: 30px; letter-spacing: -.045em; margin: 10px 0 8px; }
.product-bottom p { color: var(--ink-soft); font-size: 14px; line-height: 1.85; margin: 0; }
.product-features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.product-features span { border: 1px solid var(--line); border-radius: 99px; padding: 7px 11px; font-size: 11px; }
.manifesto { padding-block: 120px; }
.manifesto-row { display: grid; grid-template-columns: 65% 35%; gap: 20px; align-items: end; padding-block: 32px 48px; }
.manifesto h2 { font-size: clamp(50px, 7.4vw, 106px); line-height: 1.08; letter-spacing: -.08em; margin: 0; }
.accent-star { color: var(--accent); }
.manifesto p { color: var(--ink-soft); font-size: 17px; line-height: 2; max-width: 390px; }
.site-footer { background: var(--ink); color: var(--bg); padding-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 95px; }
.footer-brand { font-size: clamp(44px, 6.5vw, 90px); font-weight: 800; letter-spacing: -.075em; line-height: 1; }
.footer-inner p { font-size: 14px; opacity: .7; margin-top: 15px; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-links a:hover { opacity: .6; }
.footer-bottom { padding-block: 18px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.2); font-size: 10px; opacity: .75; }
.subhero { position: relative; min-height: 540px; padding-top: 100px; padding-bottom: 85px; overflow: hidden; }
.subhero h1 { position: relative; z-index: 2; margin: 28px 0; font-size: clamp(60px, 7vw, 112px); line-height: 1.13; letter-spacing: -.084em; }
.subhero > p { font-size: 18px; color: var(--ink-soft); max-width: 700px; line-height: 1.85; position: relative; z-index: 2; }
.page-deco { position: absolute; top: 12%; right: 2%; width: 330px; height: 330px; opacity: .65; }
.page-deco span { border-radius: 50%; position: absolute; color: #171819; display: grid; place-items: center; font-size: 78px; font-weight: 700; font-family: ui-monospace, monospace; }
.page-deco span:nth-child(1) { background: var(--green); width: 180px; height: 180px; left: 80px; top: 0; }
.page-deco span:nth-child(2) { background: var(--blue); width: 110px; height: 110px; left: 8px; top: 170px; font-size: 54px; }
.page-deco span:nth-child(3) { background: var(--violet); width: 135px; height: 135px; left: 195px; top: 187px; }
.demo-section { padding-top: 35px; }
.demo-section h2 { font-size: clamp(38px, 4.7vw, 66px); letter-spacing: -.065em; margin: 30px 0 12px; }
.demo-lead { font-size: 16px; color: var(--ink-soft); line-height: 1.85; margin: 0 0 32px; }
.demo-layout { display: grid; grid-template-columns: 1.28fr .72fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.demo-chart { padding: 25px 24px 16px; min-width: 0; border-right: 1px solid var(--line); }
.demo-chart-header { display: flex; justify-content: space-between; color: var(--ink-soft); gap: 10px; }
#lp-chart { display: block; width: 100%; height: auto; margin-top: 12px; color: var(--ink); }
.lp-axis { stroke: var(--ink); stroke-width: 2; fill: none; }
.lp-fill { fill: var(--green); fill-opacity: .6; }
.lp-constraint { stroke: var(--ink-soft); stroke-width: 1.8; stroke-dasharray: 6 6; }
.lp-second { stroke: var(--accent); }
.lp-labels { fill: var(--ink-soft); font-size: 15px; font-family: ui-monospace, monospace; }
.lp-optimum { fill: var(--accent); stroke: var(--surface); stroke-width: 4; }
.lp-point-label { fill: var(--ink); font-size: 13px; font-weight: 700; }
.demo-note { color: var(--ink-soft); font-size: 12px; margin: 6px 0; }
.demo-control { padding: 31px; }
.demo-control h3 { font-size: clamp(24px, 2.5vw, 36px); margin: 18px 0 40px; letter-spacing: -.05em; }
.range-control { margin-bottom: 30px; }
.range-control label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 650; margin-bottom: 14px; }
.range-control input { display: block; width: 100%; accent-color: var(--accent); }
.result-box { background: var(--surface-muted); padding: 22px; border-radius: 8px; }
.result-large { font-size: 70px; font-weight: 760; line-height: 1; letter-spacing: -.06em; margin: 15px 0 8px; }
.result-caption { color: var(--ink-soft); font-size: 14px; }
.hint { font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin: 22px 0 0; }
.stats-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stats-entry { padding: 35px; display: flex; flex-direction: column; align-items: flex-start; }
.stats-entry label { margin-bottom: 17px; }
.stats-entry textarea { width: 100%; padding: 18px; resize: vertical; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; font-family: ui-monospace, monospace; font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 22px; }
.stats-output { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
.stats-output>div { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; min-height: 142px; border-bottom: 1px solid var(--line); }
.stats-output>div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats-output>div:nth-last-child(-n+2) { border-bottom: 0; }
.stats-output strong { font-size: clamp(36px, 3.4vw, 55px); font-weight: 750; letter-spacing: -.07em; }
.input-error { color: #d44d4d; font-size: 13px; margin-top: 14px; }
.edge-panel { border: 1px solid var(--line); border-radius: 12px; padding: 35px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); }
.api-url { margin: 19px 0 12px; font-size: 28px; font-family: ui-monospace, monospace; font-weight: 700; letter-spacing: -.03em; }
.edge-panel p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.product-grid-large .product-card { min-height: 500px; }
.roadmap-section { padding-top: 15px; }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.roadmap-item { padding: 30px; border-right: 1px solid var(--line); min-height: 285px; }
.roadmap-item:last-child { border-right: none; }
.roadmap-item h3 { font-size: 26px; line-height: 1.3; margin: 30px 0 16px; letter-spacing: -.05em; }
.roadmap-item p { font-size: 14px; line-height: 1.8; color: var(--ink-soft); min-height: 78px; }
.not-found { min-height: 70vh; }
.not-found .button-primary { margin-top: 32px; }
@media (max-width: 1120px) {
  .hero { grid-template-columns: 55% 45%; min-height: 650px; }
  .orb-green { width: 180px; height: 180px; }
  .orb-lilac { width: 130px; height: 130px; }
  .orb-blue { width: 105px; height: 105px; font-size: 46px; }
  .orb-orange { width: 72px; height: 72px; }
  .orb-scene { min-height: 460px; }
  .lab-tiles { grid-template-columns: repeat(3, 1fr); }
  .lab-tile { padding: 20px; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 40px, 680px); }
  .site-header { height: auto; min-height: 74px; }
  .header-inner { min-height: 74px; flex-wrap: wrap; padding-block: 14px; }
  .top-nav { order: 3; width: 100%; justify-content: center; }
  .top-nav a { flex: 1; text-align: center; padding-inline: 8px; }
  .header-github { margin-left: auto; }
  .hero { display: block; min-height: auto; padding-top: 56px; padding-bottom: 65px; }
  .hero-main { padding-bottom: 5px; }
  .hero h1 { font-size: clamp(50px, 9vw, 76px); }
  .orb-scene { min-height: 440px; margin-top: 20px; width: min(100%, 520px); margin-inline: auto; }
  .hero-bottom { position: static; padding-top: 15px; }
  .section { padding-block: 82px; }
  .section-intro, .manifesto-row { grid-template-columns: 1fr; }
  .section-intro p { max-width: 550px; }
  .lab-tiles { grid-template-columns: 1fr 1fr; }
  .lab-tile { min-height: 350px; }
  .tile-feature { grid-column: span 2; min-height: 400px; }
  .mini-graph { max-width: 380px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: span 2; }
  .product-card { min-height: 365px; }
  .subhero { min-height: 490px; padding-top: 64px; }
  .page-deco { right: -115px; opacity: .25; }
  .demo-layout, .stats-panel { grid-template-columns: 1fr; }
  .demo-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-output { border-left: 0; border-top: 1px solid var(--line); }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap-item { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .roadmap-item:last-child { border-bottom: 0; }
  .roadmap-item p { min-height: auto; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .logo { font-size: 19px; }
  .hero h1 { font-size: clamp(38px, 10vw, 54px); }
  .hero-lead br { display: none; }
  .orb-scene { min-height: 370px; }
  .orbit { width: 90%; left: 2%; top: 6%; }
  .orbit-b { width: 65%; left: 16%; }
  .orb-green { width: 155px; height: 155px; top: 6%; left: 43%; font-size: 33px; }
  .orb-lilac { width: 113px; height: 113px; top: 40%; left: 4%; font-size: 80px; }
  .orb-blue { width: 93px; height: 93px; left: 66%; top: 59%; font-size: 39px; }
  .orb-orange { width: 65px; height: 65px; left: 12%; top: 16%; font-size: 36px; }
  .orb-small { width: 48px; height: 48px; left: 39%; top: 72%; }
  .section-heading { flex-direction: column; gap: 4px; }
  .section-intro { margin-block: 34px; }
  .section-intro h2 { font-size: clamp(42px, 11vw, 56px); }
  .lab-tiles, .product-grid { grid-template-columns: 1fr; }
  .tile-feature, .product-card:last-child { grid-column: span 1; }
  .lab-tile { min-height: 355px; }
  .product-card { min-height: 350px; }
  .manifesto { padding-block: 80px; }
  .footer-inner, .footer-bottom { flex-direction: column; }
  .footer-inner { padding-bottom: 65px; }
  .subhero h1 { font-size: clamp(48px, 11vw, 66px); }
  .subhero > p { font-size: 16px; }
  .page-deco { top: 30%; }
  .demo-control, .demo-chart, .stats-entry { padding: 20px; }
  .stats-output>div { padding: 18px; }
  .stats-output strong { font-size: 36px; }
  .edge-panel { align-items: stretch; flex-direction: column; padding: 23px; }
  .api-url { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
