:root {
  color-scheme: light;
  --paper: #f4f7fb;
  --ink: #14263c;
  --muted: #65758a;
  --blue: #346bff;
  --teal: #168a87;
  --lavender: #7859d8;
  --line: #dce4ee;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body-font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, code:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
button:disabled { cursor: wait; }
::selection { color: var(--ink); background: #d8e4ff; }
.page-width { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.content-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; letter-spacing: -.35px; }
.brand strong { font-weight: 750; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.header-links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; }
.header-links a { display: inline-flex; align-items: center; gap: 7px; padding-block: 12px; transition: color .15s; }
.header-links a:hover, .site-footer a:hover { color: var(--blue); }
.header-links a span { color: var(--muted); }
.nav-divider { width: 1px; height: 14px; background: var(--line); }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-block: 26px 24px; }
.hero-copy { min-width: 0; flex: 1 1 auto; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 1.4px; }
.direction-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #168a870d; }
h1 { margin: 0; font-weight: 760; }
.hero-problem { display: block; color: var(--ink); font-family: var(--body-font); font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.45; letter-spacing: -.7px; }
.hero-answer { display: block; color: var(--blue); margin-top: 4px; font-size: clamp(27px, 3vw, 42px); line-height: 1.25; letter-spacing: -1.4px; }
html[lang="en"] h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
html[lang="en"] .hero-problem { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.55px; }
html[lang="en"] .hero-answer { font-style: italic; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -1.2px; }
html[lang="en"] .eyebrow { letter-spacing: .35px; }
.hero-description { max-width: 800px; margin: 16px 0 0; color: #42566e; font-size: 14px; line-height: 1.7; }
.human-direction { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.hero-actions { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px; padding-bottom: 3px; flex: 0 0 auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-height: 45px; padding: 0 20px; border-radius: 7px; border: 1px solid transparent; font-size: 14px; font-weight: 650; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 4px 12px #346bff20; }
.button-primary:hover { background: #2459e7; box-shadow: 0 6px 18px #346bff30; }
.button-secondary { border-color: #cdd8e7; background: #ffffff60; }
.button-secondary:hover { background: white; }
.hero-note { grid-column: 1 / -1; text-align: center; font-size: 11px; color: var(--muted); letter-spacing: .2px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; padding-block: 20px 18px; border-top: 1px solid var(--line); }
.benefit { display: flex; gap: 11px; align-items: stretch; min-width: 0; }
.benefit + .benefit { padding-left: 23px; border-left: 1px solid var(--line); }
.benefit-content { display: flex; flex-direction: column; min-width: 0; }
.benefit > svg { width: 21px; height: 21px; color: var(--benefit-accent); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; margin-top: 1px; }
.benefit-trace { --benefit-accent: var(--blue); }
.benefit-continue { --benefit-accent: var(--teal); }
.benefit-reuse { --benefit-accent: var(--lavender); }
.benefit .benefit-pain { margin: 0 0 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.benefit h2 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -.2px; line-height: 1.4; }
.benefit-steps { display: flex; align-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 1px 6px; list-style: none; margin: 10px 0 12px; padding: 0; color: #53657b; font-size: 11px; line-height: 1.75; flex: 1; }
.benefit-steps li { max-width: 100%; }
.benefit-steps li + li::before { content: "→"; padding-right: 6px; color: #8b9bb0; }
.tour-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; padding: 3px 0; border: 0; background: transparent; color: var(--benefit-accent); font-size: 12px; font-weight: 650; line-height: 1.5; text-align: left; transition: gap .15s; }
.tour-link:hover { gap: 17px; text-decoration: underline; text-underline-offset: 4px; }
.tour-link span { font-size: 14px; flex: 0 0 auto; }
.demo-section { position: relative; }
.connection { height: 34px; width: min(1200px, calc(100% - 40px)); margin: -5px auto 0; position: relative; opacity: .75; }
.connection svg { display: block; width: 100%; height: 100%; overflow: visible; }
.connection path { fill: none; stroke: #bdcde6; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: connect 1.6s .2s ease forwards; }
.connection > span { position: absolute; width: 5px; height: 5px; left: calc(50% - 2.5px); bottom: -2px; background: var(--blue); border-radius: 50%; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 3px 12px; }
.demo-caption h2 { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: .4px; }
.demo-caption > span { color: var(--muted); font-size: 11px; }
.workbench { overflow: hidden; border: 1px solid #ccd9e9; border-radius: 10px; background: white; box-shadow: 0 24px 66px -34px #2549743a, 0 4px 12px -8px #25497430; }
.workbench-toolbar { min-height: 52px; padding: 8px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.view-switcher { display: flex; align-items: center; gap: 5px; min-width: 0; }
.view-switcher button { white-space: nowrap; color: #53657b; border: 1px solid transparent; background: transparent; padding: 7px 12px; border-radius: 5px; font-size: 12px; font-weight: 550; transition: color .15s, background .15s, border-color .15s; }
.view-switcher button:hover { color: var(--ink); background: #eaf0f9; }
.view-switcher button[aria-pressed="true"] { color: #2d5ddc; border-color: #d5e1ff; background: #edf2ff; }
.open-demo { white-space: nowrap; padding: 7px 3px 7px 10px; color: #53657b; font-size: 11px; font-weight: 600; }
.open-demo span { margin-left: 6px; }
.open-demo:hover { color: var(--blue); }
.demo-guide { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 13px 18px; border-bottom: 1px solid #d5e1ff; background: #f0f5ff; }
.demo-guide[hidden] { display: none; }
.demo-guide h3 { margin: 0 0 4px; color: #2459c7; font-size: 13px; line-height: 1.5; font-weight: 650; }
.demo-guide p { margin: 0; color: #42566e; font-size: 12px; line-height: 1.65; }
.demo-guide > button { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border: 1px solid #cbdaf3; border-radius: 5px; background: #ffffff90; color: #53657b; font-size: 20px; line-height: 1; }
.demo-guide > button:hover { background: #e2ebff; color: #2459c7; }
.demo-guide:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
#workbench-demo { display: block; width: 100%; height: 700px; border: 0; background: #eef3f8; }
.demo-hint { margin: 13px 3px 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.demo-hint > span:first-child { color: var(--blue); font-size: 15px; }
.demo-language { margin-left: auto; text-align: right; }
.start-section { margin-top: 41px; }
.quickstart { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quickstart summary { list-style: none; min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; }
.quickstart summary::-webkit-details-marker { display: none; }
.quickstart summary > span:first-child { display: flex; align-items: center; gap: 12px; }
.start-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--teal); flex: 0 0 auto; }
.summary-action { color: var(--blue); display: inline-flex; align-items: center; gap: 24px; white-space: nowrap; font-size: 12px; }
.expand-mark { display: inline-flex; justify-content: center; align-items: center; width: 22px; height: 22px; color: var(--muted); border: 1px solid #cdd8e7; border-radius: 50%; font-size: 17px; font-weight: 400; transition: transform .15s; }
.quickstart[open] .expand-mark { transform: rotate(45deg); }
.quickstart-content { display: grid; grid-template-columns: .65fr 1.35fr; gap: 30px; padding: 3px 0 25px; }
.quickstart-description { padding-top: 12px; }
.quickstart-description h2 { margin: 0 0 10px; font-size: 17px; font-weight: 650; line-height: 1.4; }
.quickstart-description p { margin: 5px 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.quickstart-description a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-link { color: var(--blue); font-size: 12px; display: inline-block; margin-top: 16px; }
.command-panel { min-width: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.command-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; gap: 12px; border-bottom: 1px solid #e9edf3; font-size: 10px; color: var(--muted); }
.command-bar button { color: #2d5ddc; border: 0; background: #edf2ff; border-radius: 4px; padding: 5px 8px; font-size: 10px; white-space: nowrap; }
.command-bar button:hover { background: #e0e9ff; }
pre { margin: 0; padding: 16px 17px; overflow-x: auto; font-size: 11px; line-height: 1.8; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.site-footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 10px; }
.site-footer > span { letter-spacing: .2px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 21px; }
.site-footer a { padding-block: 6px; transition: color .15s; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 10; padding: 12px 18px; border-radius: 6px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.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; }
@keyframes connect { to { stroke-dashoffset: 0; } }
@media (min-width: 821px) {
  .site-header { min-height: 64px; }
  .hero { padding-block: 26px 24px; }
  .eyebrow { margin-bottom: 10px; }
  .benefits { padding-block: 20px 18px; }
  .connection { height: 24px; }
  .workbench-toolbar { min-height: 44px; padding-block: 4px; }
}
@media (min-width: 1550px) {
  #workbench-demo { height: 740px; }
}
@media (max-width: 1150px) {
  .hero-actions { grid-template-columns: 1fr; gap: 8px; }
  .hero-actions .button { min-height: 40px; }
  .hero-note { max-width: 160px; line-height: 1.5; }
  html[lang="en"] .hero { gap: 20px; }
  .hero-answer { font-size: clamp(29px, 3.2vw, 37px); }
  html[lang="en"] .hero-answer { font-size: clamp(28px, 3vw, 35px); }
  .benefit + .benefit { padding-left: 16px; }
  .benefits { gap: 16px; }
  .benefit { gap: 8px; }
  .benefit h2 { font-size: 16px; }
}
@media (max-width: 820px) {
  .page-width { width: calc(100% - 32px); }
  .content-width { width: calc(100% - 48px); }
  .site-header { min-height: 67px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-links { gap: 14px; font-size: 12px; }
  .hero { padding-block: 34px 28px; }
  .hero-problem, html[lang="en"] .hero-problem { font-size: 20px; }
  .hero-answer, html[lang="en"] .hero-answer { font-size: 29px; }
  .hero-description { font-size: 13px; }
  .desktop-break { display: none; }
  .hero-actions { min-width: 128px; }
  .button { padding-inline: 13px; gap: 14px; font-size: 12px; }
  .eyebrow { font-size: 10px; letter-spacing: .7px; }
  .benefits { gap: 14px; }
  .benefit { display: block; }
  .benefit h2 { font-size: 15px; }
  .benefit > svg { width: 19px; height: 19px; margin-bottom: 8px; }
  .benefit-steps { font-size: 10px; }
  .tour-link { font-size: 11px; }
  .workbench-toolbar { flex-wrap: wrap; }
  .view-switcher { flex-wrap: wrap; }
  .view-switcher button { padding-inline: 9px; }
  .quickstart-content { grid-template-columns: 1fr; gap: 20px; }
  .quickstart-description { padding-top: 0; }
  .guide-link { margin-top: 6px; }
  .demo-hint { flex-wrap: wrap; }
  .demo-language { width: 100%; margin-left: 21px; text-align: left; }
}
@media (max-width: 600px) {
  .page-width, .content-width { width: calc(100% - 32px); }
  .site-header { gap: 12px; min-height: 64px; }
  .brand { font-size: 11px; gap: 6px; }
  .brand-mark { width: 23px; height: 23px; }
  .brand span { max-width: 150px; }
  .header-links { gap: 10px; font-size: 11px; }
  .header-links a { gap: 3px; }
  .header-links a span, .nav-divider { display: none; }
  .hero { align-items: flex-start; flex-direction: column; gap: 22px; padding-top: 30px; }
  .eyebrow { margin-bottom: 13px; }
  .hero-problem, html[lang="en"] .hero-problem { font-size: 18px; letter-spacing: -.4px; }
  .hero-answer, html[lang="en"] .hero-answer { margin-top: 9px; font-size: clamp(25px, 6.8vw, 34px); line-height: 1.3; letter-spacing: -.8px; }
  .hero-description { margin-top: 15px; }
  .human-direction { max-width: 340px; }
  .hero-actions { grid-template-columns: repeat(2, max-content); gap: 9px; }
  .hero-actions .button { padding-inline: 17px; min-height: 41px; }
  .hero-note { max-width: none; font-size: 10px; text-align: left; margin-top: 2px; }
  .benefits { grid-template-columns: 1fr; gap: 21px; padding-block: 22px; }
  .benefit { display: flex; gap: 13px; }
  .benefit + .benefit { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .benefit > svg { width: 21px; height: 21px; }
  .benefit h2 { font-size: 18px; }
  .benefit-steps { font-size: 11px; margin-block: 8px; }
  .tour-link { font-size: 12px; }
  .demo-guide { gap: 12px; padding: 12px; }
  .connection { height: 24px; width: 100%; }
  .demo-caption { align-items: flex-start; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
  .demo-caption h2 { font-size: 12px; }
  .demo-caption > span { font-size: 10px; }
  .workbench-toolbar { padding: 8px; gap: 3px; }
  .view-switcher { gap: 1px; width: 100%; }
  .view-switcher button { font-size: 10px; padding: 6px 8px; }
  .open-demo { margin-left: auto; font-size: 10px; padding-block: 6px; }
  #workbench-demo { height: 700px; }
  .demo-hint { font-size: 10px; gap: 5px; }
  .start-section { margin-top: 30px; }
  .quickstart summary { min-height: 85px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 11px; font-size: 13px; }
  .summary-action { font-size: 11px; padding-left: 19px; gap: 12px; }
  .expand-mark { width: 18px; height: 18px; font-size: 14px; }
  .quickstart-description h2 { font-size: 15px; }
  .command-bar { padding-inline: 10px; font-size: 9px; }
  .command-bar button { font-size: 9px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; padding-block: 22px; }
  .site-footer nav { gap: 15px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .connection path { stroke-dashoffset: 0; }
  .button:hover { transform: none; }
}
