:root{--doua-blue:#28466f;--doua-blue-soft:#e9eef8;--doua-copper:#d98549;--doua-copper-soft:#fff1e6}
.hero{background:#faf9f6}
.stage{border-color:#d6d9d4;background:#f8e8d8;box-shadow:0 32px 76px #1831281e}
.stage-mobile{background:linear-gradient(145deg,#fff1e5,#f4d0b4)}
.stage-label{color:#8e4a29}.stage-label span{color:#8e4a29}
.stage-code{background:#18243a}
.window-top{border-color:#3a5073;background:#1a2a46}.window-top small{color:#aabfdb}.traffic i{background:#d78b5c}
.window-body aside{border-color:#354c6d;color:#b1c2da}
.stage-code .window-body{grid-template-columns:125px minmax(0,1fr)}
.stage-code .window-work{padding:18px 22px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-width:0}
.editor-tabs{display:flex;align-items:center;justify-content:space-between;color:#c3d3ec;font:700 11px/1.3 ui-monospace,monospace}
.editor-tabs b{font-weight:700}.editor-tabs span{color:#e6a770}
.editor-pane{min-width:0;margin:0;padding:16px;border:1px solid #456083;border-radius:10px;background:#111b2d;color:#e3edf8;overflow:auto;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;tab-size:2}
.editor-pane code{font:inherit}.editor-pane .line-no{display:inline-block;width:28px;color:#7e99b5;user-select:none}.editor-pane .keyword{color:#8fc0fb}.editor-pane .number{color:#f3bf83}
.editor-caret{display:inline-block;width:2px;height:1.15em;margin-left:2px;vertical-align:-.2em;background:#e6a770}
.terminal-pane{padding:12px 15px;border:1px solid #405d7a;border-radius:10px;background:#101b2c;color:#aec4dc;font:11px/1.5 ui-monospace,monospace}
.terminal-pane b{display:block;color:#e5f0ff;letter-spacing:.08em}.terminal-pane span{display:block;margin-top:3px}.terminal-pane [data-test-status="passed"]{color:#bce4c7}
.phone-shell{position:relative;width:min(78%,240px);height:475px;margin:26px auto -40px;padding:13px 10px 12px;border:8px solid #292e30;border-radius:31px;background:#fff;box-shadow:0 17px 30px #4e322248, inset 0 0 0 1px #8a9698;overflow:hidden}
.phone-shell::before{content:'';position:absolute;z-index:2;left:calc(50% - 35px);top:4px;width:70px;height:9px;border-radius:99px;background:#252a2b}
.phone-status{display:flex;justify-content:space-between;padding:1px 5px 12px;color:#2d3536;font:700 9px/1.1 ui-sans-serif,system-ui}
.phone-app-head{display:flex;align-items:center;gap:7px;padding:8px 5px 10px;border-bottom:1px solid #e8ebe8;color:#182a25;font-size:12px;font-weight:800}
.phone-app-head img{width:17px;height:17px}
.phone-chat{display:flex;flex-direction:column;gap:10px;padding-top:18px;font-size:10px;line-height:1.45}
.phone-chat .user{align-self:flex-end;max-width:89%;padding:10px;border-radius:12px 12px 3px 12px;background:#e9f1eb}
.phone-chat .reply{align-self:flex-start;max-width:94%;padding:10px;border:1px solid #e1e9e3;border-radius:3px 12px 12px 12px;background:#fff}
.phone-chat .reply b{display:block;margin-bottom:4px;color:#0b3e35}
.phone-composer{position:absolute;left:10px;right:10px;bottom:12px;padding:8px 10px;border:1px solid #d5ddd7;border-radius:30px;color:#89958d;font-size:9px}
.mobile-scene{position:relative;display:block;min-height:550px;padding:0;overflow:hidden;border-radius:18px;background:#e9d8c8}
.mobile-scene .scene-photo,.code-scene .scene-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.mobile-scene .scene-photo{object-position:center;max-width:none;margin:0;border-radius:0}
.mobile-scene::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 28%,#211a1866 100%);pointer-events:none}
.mobile-scene-head{position:absolute;z-index:1;right:28px;bottom:28px;left:auto;top:auto;width:min(52%,310px);padding:22px;border:1px solid #fff9;border-radius:14px;background:#fffc;color:#1f2722;box-shadow:0 18px 40px #2c201638;backdrop-filter:blur(8px)}
.mobile-scene-head span{color:#a1552c}.mobile-scene-head strong{font-size:19px}
.chapter-light{background:#fffaf6}.chapter-sage{background:#e8eef8}
.dialogue-scene{background:#f9fbff;border-color:#cdd8e9;box-shadow:0 24px 55px #1c365115}
.bubble.user{background:#e8eef8;color:#1d385c}.bubble.answer{border-color:#d2ddeb;background:#fff}.bubble small{color:#28466f}
.code-scene{position:relative;min-height:545px;border-color:#263e63;background:#152039}
.code-scene .scene-photo{object-position:center}
.code-scene::before{content:'';position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#0d1930de 0%,#142b4bb8 48%,transparent 100%);pointer-events:none}
.code-scene-header,.code-scene-body{position:relative;z-index:2;max-width:64%}.code-scene-header{border-color:#ffffff32;background:#10213bd4;color:#d4e5ff}.code-scene-body{padding:30px}.code-scene-body>p{margin:0 0 22px;background:#1b335acb}.code-scene-body small{color:#edb27e}.code-scene .source{background:#101f36dc;border-color:#536e98;color:#d9e8fa}.code-scene .source span{color:#94aaca}
.chapter-dark{background:#12233e}.chapter-dark .eyebrow{color:#edb883}.chapter-dark .chapter-status{border-color:#6d85a9;color:#d7e5f8}
.plan-cards article:nth-child(2){background:#e9eef8}.plan-cards article:nth-child(2) .plan-tag{color:#28466f}
.together{background:#eaf0f9}.graphic-line{border-color:#cbd7e8}.graphic-core small{color:#d5e8df}
@media(max-width:850px){.stage-code .window-body{grid-template-columns:85px minmax(0,1fr)}.stage-code .window-work{padding:12px}.editor-pane{font-size:10px}}
@media(max-width:650px){.phone-shell{width:120px;height:195px;margin:14px 0 -29px;padding:7px 5px 4px;border-width:4px;border-radius:17px;box-shadow:0 8px 14px #4e322248}.phone-shell::before{width:33px;height:5px;left:calc(50% - 16px);top:2px}.phone-status{font-size:5px;padding:0 2px 6px}.phone-app-head{font-size:7px;padding:2px 0 5px;gap:3px}.phone-app-head img{width:10px;height:10px}.phone-chat{font-size:5px;gap:4px;padding-top:7px}.phone-chat .user,.phone-chat .reply{padding:5px;border-radius:5px}.phone-composer{left:5px;right:5px;bottom:5px;padding:3px 5px;font-size:5px}.stage-mobile{align-items:center}.stage-code .window-body{grid-template-columns:72px minmax(0,1fr)}.stage-code .window-work{padding:10px;gap:8px}.editor-tabs{font-size:8px}.editor-pane{padding:8px;font-size:7px;line-height:1.6}.editor-pane .line-no{width:17px}.terminal-pane{padding:7px;font-size:7px}.mobile-scene{min-height:390px}.mobile-scene .scene-photo{object-position:30% center}.mobile-scene::after{background:linear-gradient(0deg,#1d1b1b8c,transparent 60%)}.mobile-scene-head{left:16px;right:16px;bottom:16px;width:auto;padding:13px}.mobile-scene-head strong{font-size:15px}.code-scene{min-height:440px}.code-scene .scene-photo{object-position:70% center}.code-scene::before{background:linear-gradient(0deg,#0d1930ed,#142b4b55 70%)}.code-scene-header,.code-scene-body{max-width:100%}.code-scene-body{padding:15px}.code-scene-body>p{max-width:300px;margin-left:0}.code-scene .source{font-size:9px}}
@media(prefers-reduced-motion:no-preference){@supports ((animation-timeline:view()) and (animation-range:entry 0% entry 100%)){.mobile-scene .scene-photo,.code-scene .scene-photo{animation:photo-settle 1s linear both;animation-timeline:view();animation-range:entry 0% cover 75%}@keyframes photo-settle{from{transform:scale(1.07)}to{transform:scale(1)}}}}
@media(max-width:650px){.stage-code{min-height:315px}.stage-code .window-body{display:block;height:auto}.stage-code .window-body aside{display:none}.stage-code .window-work{min-height:260px;grid-template-rows:auto minmax(0,1fr) auto;padding:12px}.editor-pane{font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere}.terminal-pane{font-size:8px}}
.editor-caret{opacity:0}
.stage-code.is-typing .editor-caret{opacity:1;animation:caret-blink .75s steps(2,end) infinite}
@keyframes caret-blink{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.stage-code.is-typing .editor-caret{animation:none}}
