:root {
    color-scheme: light;
    --paper: #f8f7f2;
    --ink: #25251f;
    --muted: #66665d;
    --accent: #bb3e25;
    --line: #deded3;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: 1; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: #f1c8b8; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { height: 106px; display: flex; align-items: center; border-bottom: 1px solid var(--line); gap: 36px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 650; letter-spacing: -1.5px; }
.logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fffaf3; font-size: 23px; letter-spacing: -1.5px; font-weight: 650; padding-right: 2px; }
.wordmark-dot { color: var(--accent); }
.main-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.main-nav a, .site-footer a, .text-link, .install-link { transition: color 150ms; }
.main-nav a:hover, .site-footer a:hover, .text-link:hover { color: var(--accent); }
.languages { display: flex; gap: 9px; align-items: center; font-size: 12px; padding-left: 30px; border-left: 1px solid var(--line); }
.languages > span { color: #aaa99e; }
.languages a { padding: 9px 2px; color: var(--muted); }
.languages a[aria-current] { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.hero { padding-block: 94px 84px; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 55px; }
.eyebrow { margin: 0 0 25px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.6; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: 1px; }
h1 { font-weight: 530; font-size: clamp(64px, 6.8vw, 98px); letter-spacing: -4.5px; line-height: 1.05; margin: 0 0 28px; }
h1 > span { color: var(--accent); }
.hero-intro { max-width: 470px; font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 16px 22px; min-height: 52px; border-radius: 5px; font-size: 13px; font-weight: 600; transition: background 160ms, transform 160ms; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #9f301c; }
.text-link { font-size: 13px; font-weight: 550; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.requirement { color: var(--muted); font-size: 11px; letter-spacing: .2px; margin: 19px 0 0; }
.hero-art { height: 300px; position: relative; margin-top: 8px; }
.art-character { position: absolute; font-weight: 400; line-height: 1; }
.art-character-cn { font-family: "Songti SC", "Noto Serif CJK SC", "STSong", serif; font-size: 180px; color: var(--accent); left: 5%; top: 0; transform: rotate(-9deg); }
.art-character-en { font-family: Georgia, "Times New Roman", serif; font-size: 235px; font-style: italic; color: var(--ink); left: 49%; top: 25px; transform: rotate(7deg); }
.art-line { position: absolute; width: 85%; height: 1px; background: var(--line); top: 240px; left: 0; transform: rotate(-8deg); }
.art-caption { position: absolute; bottom: 0; left: 19%; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.art-symbol { position: absolute; font-family: Georgia, serif; right: -3px; top: 6px; color: #96968b; font-size: 48px; font-weight: 400; transform: rotate(14deg); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--accent); }
h2 { margin: 0; font-size: 43px; font-weight: 500; letter-spacing: -1.8px; line-height: 1.2; }
.demo-note { max-width: 310px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.demo-stage { display: grid; grid-template-columns: 1.4fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f1f0e8; }
.demo-visual { position: relative; padding: 52px 42px 62px; min-height: 510px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.orbit { position: absolute; border: 1px solid #ddddd0; width: 650px; height: 650px; border-radius: 50%; pointer-events: none; }
.orbit-one { top: -355px; left: -270px; }
.orbit-two { bottom: -490px; right: -240px; }
.note-window { position: relative; width: 100%; max-width: 478px; height: 390px; border: 1px solid #d7d7cc; border-radius: 10px; background: #fffefa; box-shadow: 0 16px 32px -17px #4b473b35, 0 3px 5px #3d37290a; overflow: hidden; }
.window-bar { height: 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eae9e1; padding: 0 17px; font-size: 11px; color: #74746a; background: #fbfaf6; }
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i { width: 9px; height: 9px; background: #dfdcd1; border-radius: 50%; }
.traffic-lights i:first-child { background: #d8a290; }
.traffic-lights i:nth-child(2) { background: #d9c591; }
.traffic-lights i:nth-child(3) { background: #b5bca0; }
.window-mark { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: -1px; }
.editor { padding: 24px 28px; }
.editor-subtitle { font-size: 11px; color: #77776d; margin: 0 0 18px; }
.editor-line { display: flex; align-items: center; font-size: 28px; min-height: 36px; letter-spacing: -.6px; white-space: pre; }
.composition { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; text-decoration-thickness: 1.5px; }
.caret { background: var(--accent); width: 1.5px; height: 30px; margin-left: 3px; animation: blink 1100ms steps(1) infinite; }
.candidates { position: absolute; top: 144px; left: 28px; width: min(266px, calc(100% - 56px)); padding: 5px; border: 1px solid #e2e0d7; box-shadow: 0 7px 18px #28241510; border-radius: 7px; background: #fffefa; }
.candidate { padding: 6px 10px; height: 30px; border-radius: 3px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.candidate > span { display: flex; align-items: center; gap: 17px; }
.candidate small { font-size: 10px; font-family: var(--mono); color: #77776d; }
.candidate em { font-size: 9px; font-style: normal; color: #66665c; }
.candidate-selected { background: var(--accent); color: white; }
.candidate-selected small, .candidate-selected em { color: #fff5ee; }
.candidate-literal { border-top: 1px solid #eeece5; border-radius: 0; margin-top: 3px; }
.editor-hint { position: absolute; bottom: 48px; right: 27px; font-size: 9px; color: #6e6e64; display: flex; align-items: center; gap: 10px; margin: 0; }
kbd { font-family: var(--mono); font-size: 9px; padding: 4px 10px; border: 1px solid #dad8cf; border-bottom-width: 2px; border-radius: 4px; background: #f9f8f3; transition: background 150ms, color 150ms; }
kbd.is-pressed { background: var(--accent); color: white; border-color: var(--accent); }
.window-footer { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #ecebe3; height: 34px; padding: 0 17px; background: #fbfaf6; font-size: 9px; color: #6e6e64; }
.window-footer > span:last-child { display: flex; align-items: center; gap: 5px; color: #48483f; }
.window-footer i { width: 4px; height: 4px; border-radius: 50%; background: #788265; }
.window-footer b { font-weight: 400; color: #8b8b80; margin: 0 5px; }
.stage-caption { position: absolute; bottom: 20px; left: 30px; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: #737368; }
.demo-story { background: #fbfaf6; border-left: 1px solid var(--line); padding: 48px 36px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.scene-button { display: flex; gap: 18px; text-align: left; position: relative; width: 100%; border: 0; border-bottom: 1px solid #e4e3d9; background: transparent; padding: 19px 0; }
.scene-button:first-child { padding-top: 0; }
.scene-number { font-family: var(--mono); font-size: 10px; color: #7c7c71; padding-top: 4px; }
.scene-button strong { display: block; font-weight: 550; font-size: 17px; letter-spacing: -.3px; line-height: 1.4; margin-bottom: 9px; color: #68685f; }
.scene-button [data-scene-description] { display: block; font-size: 12px; line-height: 1.75; color: #717167; }
.scene-button[aria-pressed="true"] strong, .scene-button[aria-pressed="true"] .scene-number { color: var(--accent); }
.scene-button[aria-pressed="true"] [data-scene-description] { color: #4d4d44; }
.scene-progress { position: absolute; bottom: -1px; left: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.scene-button[aria-pressed="true"] .scene-progress { transform: scaleX(var(--progress, 0)); }
.playback-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.playback-button, .replay-button { border: none; background: transparent; padding: 10px 0; min-height: 40px; font-size: 10px; color: var(--muted); }
.playback-button { display: flex; align-items: center; gap: 8px; }
.playback-button [data-toggle-icon] { font-size: 13px; color: var(--ink); width: 12px; }
.replay-button { font-size: 24px; width: 40px; }
.idea-section { padding-block: 104px 60px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.idea-heading .eyebrow { color: var(--muted); margin-bottom: 20px; }
.multiline { white-space: pre-line; font-size: 47px; line-height: 1.22; }
.idea-flower { display: inline-block; margin-top: 38px; font-size: 84px; color: var(--accent); line-height: 1; }
.features article { position: relative; padding: 2px 0 26px 44px; }
.features article + article { border-top: 1px solid var(--line); padding-top: 26px; }
.feature-index { position: absolute; left: 0; top: 7px; font-size: 10px; color: var(--accent); font-family: var(--mono); }
.features article + article .feature-index { top: 31px; }
h3 { font-size: 20px; font-weight: 550; margin: 0 0 11px; letter-spacing: -.5px; }
.features p { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0; }
.preview-note { display: flex; gap: 30px; padding: 28px 36px; background: #eeede4; border-radius: 7px; margin-bottom: 92px; }
.preview-icon { font-size: 26px; color: var(--accent); line-height: 1; padding-top: 2px; }
.preview-note h3 { font-size: 15px; margin-bottom: 8px; }
.preview-note p { max-width: 910px; margin: 0 0 13px; font-size: 12px; line-height: 1.8; color: #606057; }
.preview-note .text-link { font-size: 11px; color: var(--accent); }
.download-section { background: #2a2c25; color: #f6f5eb; padding-block: 70px; }
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.download-section .eyebrow { color: #c4c8b5; margin-bottom: 18px; }
.download-section h2 { font-size: 51px; letter-spacing: -2px; }
.download-intro { font-size: 14px; line-height: 1.7; color: #c4c6ba; max-width: 350px; margin: 19px 0 24px; }
.install-link { font-size: 12px; color: #e0d4bd; text-decoration: underline; text-underline-offset: 5px; }
.install-link:hover { color: white; }
.download-panel { border: 1px solid #55584c; border-radius: 7px; padding: 28px; }
.release-label { text-transform: uppercase; font-size: 10px; letter-spacing: 1px; font-weight: 600; margin: 0 0 16px; }
.release-label .status-dot { background: #dfaa87; }
.download-panel > p:not(.release-label) { font-size: 12px; line-height: 1.85; color: #d1d2c7; margin: 0 0 23px; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button-light { background: #f3efe3; color: var(--ink); font-size: 12px; padding: 12px 17px; min-height: 43px; }
.button-light:hover { background: white; }
.download-actions .text-link { font-size: 11px; }
.download-actions .text-link:hover { color: white; }
.download-section :focus-visible { outline-color: #f0c7a5; }
.site-footer { display: flex; align-items: center; gap: 17px; padding-block: 30px; }
.site-footer .logo { width: 30px; height: 30px; font-size: 17px; border-radius: 8px; }
.site-footer p { font-size: 11px; color: var(--muted); }
.site-footer > div { margin-left: auto; display: flex; gap: 24px; font-size: 11px; color: var(--muted); }
html[lang="zh-CN"] h1 { font-size: clamp(58px, 6.4vw, 89px); letter-spacing: -4px; line-height: 1.2; }
html[lang="zh-CN"] .hero-intro { max-width: 430px; font-size: 16px; }
html[lang="zh-CN"] h2 { letter-spacing: -1px; }
html[lang="zh-CN"] .eyebrow { letter-spacing: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
[data-demo][data-paused="true"] .caret { animation: none; }
@media (min-width: 1500px) { .hero { padding-block: 110px 100px; } }
@media (max-width: 1100px) {
    .wrap { width: calc(100% - 72px); }
    .hero { gap: 35px; grid-template-columns: 1.7fr 1fr; }
    h1 { letter-spacing: -4.5px; }
    .hero-art { transform: scale(.85); transform-origin: center; }
    .art-character-cn { left: 0; }
    .art-character-en { left: 44%; }
    .hero-actions { gap: 18px; }
    .demo-stage { grid-template-columns: 1.2fr 1fr; }
    .demo-visual { padding-inline: 25px; }
    .demo-story { padding: 40px 26px 24px; }
    .idea-section { gap: 60px; }
    .download-inner { gap: 45px; }
    .download-section h2 { font-size: 44px; }
}
@media (max-width: 800px) {
    .wrap { width: calc(100% - 48px); }
    .site-header { height: 86px; gap: 24px; }
    .main-nav { gap: 22px; font-size: 12px; }
    .main-nav .source-link { display: none; }
    .languages { padding-left: 20px; }
    .hero { padding-block: 66px 68px; gap: 24px; grid-template-columns: 1fr; }
    h1 { font-size: clamp(58px, 10vw, 78px); }
    .hero-intro { max-width: 510px; }
    .hero-art { display: none; }
    html[lang="zh-CN"] h1 { font-size: clamp(54px, 10vw, 78px); }
    .section-heading { align-items: start; }
    h2 { font-size: 34px; }
    .demo-note { max-width: 240px; font-size: 11px; }
    .demo-stage { grid-template-columns: 1fr; }
    .demo-visual { min-height: 475px; padding: 36px 40px 49px; }
    .demo-story { border-left: 0; border-top: 1px solid var(--line); padding: 26px; }
    .scene-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .scene-button, .scene-button:first-child { display: block; padding: 0 0 15px; }
    .scene-number { display: block; margin-bottom: 10px; }
    .scene-button strong { font-size: 15px; }
    .scene-button [data-scene-description] { font-size: 11px; }
    .playback-controls { margin-top: 9px; }
    .idea-section { padding-top: 72px; gap: 35px; grid-template-columns: 1fr 1.2fr; }
    .multiline { font-size: 36px; }
    .features article { padding-left: 30px; }
    .features p { font-size: 12px; }
    h3 { font-size: 18px; }
    .preview-note { margin-bottom: 65px; padding: 25px; gap: 22px; }
    .download-inner { gap: 30px; grid-template-columns: 1fr; }
    .download-intro { max-width: 470px; }
    .download-panel { max-width: 550px; }
}
@media (max-width: 480px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { gap: 16px; height: 76px; }
    .wordmark { font-size: 25px; gap: 9px; }
    .logo { width: 33px; height: 33px; font-size: 20px; border-radius: 9px; }
    .site-header .wordmark > span:last-child { display: none; }
    .main-nav { gap: 20px; font-size: 11px; }
    .languages { padding-left: 14px; gap: 7px; font-size: 11px; }
    .hero { padding-block: 50px 52px; }
    .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 21px; }
    h1 { font-size: clamp(44px, 12vw, 62px); letter-spacing: -2.2px; margin-bottom: 24px; }
    html[lang="zh-CN"] h1 { font-size: clamp(48px, 12vw, 62px); letter-spacing: -3px; }
    .hero-intro, html[lang="zh-CN"] .hero-intro { font-size: 14px; line-height: 1.85; margin-bottom: 26px; }
    .hero-actions { gap: 20px; }
    .button { font-size: 12px; padding-inline: 18px; }
    .hero-actions .text-link { font-size: 11px; }
    .section-heading { display: block; margin-bottom: 23px; }
    h2 { font-size: 30px; }
    .demo-note { margin-top: 14px; max-width: 320px; }
    .demo-visual { padding: 26px 16px 42px; min-height: 440px; }
    .note-window { height: 370px; }
    .editor { padding-inline: 21px; }
    .candidate { height: 27px; padding-block: 4px; }
    .candidates { left: 21px; width: calc(100% - 42px); max-width: 250px; }
    .stage-caption { left: 18px; bottom: 15px; }
    .demo-story { padding: 23px 20px 12px; }
    .scene-controls { grid-template-columns: 1fr; gap: 0; }
    .scene-button, .scene-button:first-child { display: flex; gap: 14px; padding: 17px 0; }
    .scene-button:first-child { padding-top: 0; }
    .scene-number { margin-bottom: 0; }
    .scene-button strong { margin-bottom: 6px; }
    .scene-button [data-scene-description] { font-size: 12px; }
    .idea-section { padding-block: 60px 30px; grid-template-columns: 1fr; gap: 32px; }
    .idea-heading { position: relative; }
    .multiline { font-size: 36px; }
    .idea-flower { position: absolute; right: 12px; bottom: 0; margin: 0; font-size: 55px; }
    .features article { padding-left: 35px; }
    .features p { font-size: 13px; }
    .preview-note { margin-bottom: 48px; padding: 23px 19px; gap: 15px; }
    .preview-icon { font-size: 21px; }
    .preview-note h3 { font-size: 14px; line-height: 1.5; }
    .preview-note p { font-size: 11px; }
    .download-section { padding-block: 47px; }
    .download-section h2 { font-size: 38px; letter-spacing: -1.5px; }
    .download-panel { padding: 23px 20px; }
    .download-actions { gap: 19px; }
    .site-footer { gap: 12px; flex-wrap: wrap; padding-block: 23px; }
    .site-footer > div { width: 100%; margin: 6px 0 0 42px; gap: 22px; font-size: 10px; }
    .site-footer p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
    .button, .logo, .candidate-selected { border: 1px solid ButtonText; }
    .scene-button[aria-pressed="true"] { outline: 2px solid Highlight; }
    .caret { background: CanvasText; }
}
