@charset "UTF-8";
:root{color-scheme:dark;--bg:#090b10;--panel:#11151c;--panel-raised:#181e27;--ink:#f3f5f7;--muted:#969eac;--line:rgba(216,232,255,.12);--cyan:#82e5df;--blue:#0063f6;--font:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:0}body{margin:0;font-family:var(--font);font-size:15px;line-height:1.7;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default;opacity:.28}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}button:disabled:focus-visible{outline:none}img{display:block;max-width:100%}h1,h2,h3,h4,p{margin:0}::selection{background:#82e5df;color:#081411}[hidden]{display:none!important}.container{width:min(1204px,calc(100% - 112px));margin-inline:auto}.mono{font-family:var(--mono);font-size:11px;letter-spacing:.05em}.muted{color:var(--muted)}.section-space{padding-block:104px}section[id]{scroll-margin-top:0}.skip-link{position:fixed;top:-80px;left:24px;padding:12px 20px;background:var(--cyan);color:#071612;z-index:1000}.skip-link:focus{top:20px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cyan);flex-shrink:0}.eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:500;letter-spacing:.12em;color:#aab5c5}.eyebrow.small{font-family:var(--mono);font-size:11px;letter-spacing:.15em;color:var(--muted)}.eyebrow-divider{height:13px;width:1px;background:#3c4551}.heading-dot{color:var(--cyan)}

#top{scroll-margin-top:80px}

/* Existing langup.cn: floating 58px glass navigation, adapted to LangUp. */
.site-header{position:sticky;top:0;z-index:80;padding:16px 0 0;height:74px;pointer-events:none}.nav-shell{pointer-events:auto;max-width:1204px;width:calc(100% - 112px);height:58px;padding:0 22px;display:flex;align-items:center;gap:35px;margin:auto;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:linear-gradient(180deg,rgba(61,105,125,.17),rgba(10,13,18,.8) 32%,rgba(10,13,18,.8) 80%,rgba(47,92,110,.09));box-shadow:inset 0 1px 1px #ffffff17,0 8px 36px #0002;backdrop-filter:blur(18px) saturate(130%)}.brand{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.brand span{font-family:Inter,system-ui,sans-serif;font-size:23px;font-weight:650;letter-spacing:-1px}.brand img{object-fit:contain}.desktop-nav{display:flex;gap:6px;align-items:center}.desktop-nav a{font-size:13px;color:#a2a9b5;line-height:1;padding:10px 12px;border-radius:7px;white-space:nowrap;transition:color .2s,background .2s}.desktop-nav a:hover{color:#fff;background:#ffffff08}.desktop-nav .nav-active{color:#eff7f6;background:#ffffff08}.nav-active::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--cyan);display:inline-block;vertical-align:3px;margin-right:8px}.nav-right{display:flex;gap:24px;margin-left:auto;align-items:center;font-size:12px}.github-link{color:#afb6c1}.github-link span{padding-left:6px}.nav-cta{display:flex;gap:15px;align-items:center;padding:6px 13px;border:1px solid #455160;border-radius:7px;white-space:nowrap;background:#ffffff04}.nav-cta:hover{background:#ffffff10}.menu-toggle{display:none}.mobile-menu{pointer-events:auto}

/* Hero: original paper assets are the visual, not a generated product screenshot. */
.hero{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:648px;padding-top:55px;padding-bottom:56px;gap:20px}.hero::before{content:"";position:absolute;width:600px;height:500px;top:-60px;right:-20px;background:radial-gradient(ellipse,rgba(0,99,246,.08),transparent 68%);pointer-events:none;z-index:-1}.hero-copy{z-index:3;padding-bottom:8px}.hero h1{font-size:clamp(58px,6.4vw,86px);line-height:1.18;letter-spacing:-.055em;font-weight:650;margin:27px 0 24px}.accent-text{color:var(--cyan)}.hero-lead{font-size:19px;line-height:1.8;color:#b4bdca;letter-spacing:.015em}.hero-sub{color:#747e8e;font-size:12px;margin-top:14px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;font-size:13px;font-weight:550;min-height:45px;border-radius:8px;padding:10px 20px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:#e4f4f1;color:#172c2c;border:1px solid #e5faf3;box-shadow:0 2px 12px #8de5dc08}.button-primary:hover{background:#c9f3e9}.button-quiet{padding-inline:8px;background:transparent;color:#adb8c7}.button-quiet:hover{color:#fff}.hero-footnote{margin-top:39px;display:flex;gap:12px;align-items:center;font-size:10px;color:#b4bbc7;letter-spacing:.12em}.tiny-line{height:1px;width:20px;background:#638a8b}.hero-footnote .muted{margin-left:4px;color:#687383}.hero-art{position:relative;height:505px;min-width:0;perspective:1000px}.hero-art::before{content:"";position:absolute;inset:0 -15px 10px -15px;background-image:radial-gradient(#7a9fbd2b .65px,transparent .65px);background-size:22px 22px;mask-image:radial-gradient(ellipse,#000 12%,transparent 71%);pointer-events:none}.art-coordinate{position:absolute;top:-2px;right:15px;color:#586d80;font-size:9px;letter-spacing:.18em}.paper{position:absolute;padding:8px 8px 29px;border:0;border-radius:3px;background:#f9f6f0;box-shadow:0 20px 45px #0009,0 2px 5px #0006;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s;transform-origin:50% 80%;overflow:hidden}.paper img{width:100%;height:auto;border-radius:1px;pointer-events:none}.paper:focus-visible{outline-offset:8px}.paper:hover{box-shadow:0 35px 75px #000c;z-index:5}.paper-tag{position:absolute;left:10px;bottom:6px;color:#6f716d;font-family:var(--mono);font-size:6.5px;letter-spacing:.1em}.paper-team{width:78%;top:59px;left:-1%;transform:rotate(-8deg);z-index:1}.paper-team:hover{transform:rotate(-5deg) translateY(-10px)}.paper-principles{width:40%;right:4%;top:38px;transform:rotate(10deg);z-index:2;background:#e9ddc8}.paper-principles:hover{transform:rotate(7deg) translateY(-12px)}.paper-mobile{width:60%;left:11%;bottom:42px;transform:rotate(-2deg);z-index:3}.paper-mobile:hover{transform:rotate(1deg) translateY(-12px)}.art-caption{position:absolute;bottom:-4px;right:0;left:12%;display:flex;align-items:center;gap:9px;color:#7c8795;font-size:10px;letter-spacing:.03em}.art-caption .mono{font-size:9px;margin-left:auto;color:#566477}.art-caption-dot{width:4px;height:4px;background:#759996;border-radius:100%}.belief-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:27px 0}.belief-strip>div{display:flex;align-items:center;gap:24px;padding-left:30px;border-right:1px solid var(--line)}.belief-strip>div:first-child{padding-left:0}.belief-strip>div:last-child{border:0}.belief-index{color:#566a7c}.belief-strip p{display:flex;flex-direction:column;gap:3px}.belief-strip strong{font-size:13px;font-weight:500;color:#c9d1dc}.belief-strip p>span{font-size:11px;color:#6f7c8d}

/* Progressive reading. */
.section-top{display:flex;justify-content:space-between;gap:35px;align-items:flex-end;margin-bottom:36px}.section-top h2{font-size:36px;line-height:1.3;letter-spacing:-.035em;font-weight:550;margin-top:13px}.section-description{font-size:13px;color:#8693a5;line-height:1.9;padding-bottom:2px}.chapter-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;border-bottom:1px solid var(--line);margin-bottom:0;scrollbar-width:none}.chapter-tabs::-webkit-scrollbar{display:none}.chapter-tabs button{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:20px 14px 20px;background:transparent;border:0;color:#8290a3;font-size:14px;white-space:nowrap;transition:color .2s}.chapter-tabs button:first-child{padding-left:0}.chapter-tabs .mono{font-size:10px;color:#5a687b}.chapter-tabs button::after{content:"";position:absolute;bottom:-1px;left:14px;right:30px;height:2px;background:transparent;transition:background .2s}.chapter-tabs button:first-child::after{left:0}.chapter-tabs button[aria-selected=true]{color:#effaf8}.chapter-tabs button[aria-selected=true] .mono{color:var(--cyan)}.chapter-tabs button[aria-selected=true]::after{background:var(--cyan)}.chapter-tabs button:hover{color:white}#chapter-panel{outline-offset:8px}.chapter-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:52px 0 40px;min-height:650px;animation:enter .35s ease-out}.chapter-copy{align-self:start}.chapter-topline{display:flex;align-items:center;gap:14px;margin-bottom:22px}.chapter-topline .mono{font-size:9px;color:#738398;letter-spacing:.09em}.status-label{display:inline-flex;align-items:center;border:1px solid #73849935;border-radius:5px;background:#667f9910;color:#9aabba;font-size:10px;line-height:1.5;padding:4px 8px;letter-spacing:.04em;white-space:nowrap}.chapter-copy h3{font-weight:550;font-size:32px;line-height:1.45;letter-spacing:-.035em;margin-bottom:20px}.chapter-intro{font-size:13px;line-height:1.95;color:#a0acbd;max-width:470px}.principle-selectors{margin:27px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.principle-selectors button{border:1px solid #26313f;background:#ffffff02;border-radius:6px;padding:8px 5px;font-size:11px;color:#96a5b8;transition:all .2s}.principle-selectors button[aria-pressed=true]{border-color:#72dacf70;color:#a2eee4;background:#87ddd00d}.principle-selectors button:hover{border-color:#5b778d;color:#e5f3f4}.principle-detail{background:linear-gradient(120deg,#18333144,#13202c20);border-left:2px solid #80d9cc82;padding:17px 19px;margin-top:16px;border-radius:0 6px 6px 0;min-height:185px}.principle-detail-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.principle-detail h4{font-size:14px;color:#d8efeb;font-weight:550}.principle-detail .mono{font-size:8px;letter-spacing:.09em;color:#6f9295}.principle-detail>p{font-size:12px;line-height:1.9;color:#99adbb}.principle-example{margin-top:12px;padding-top:11px;border-top:1px solid #7badac1f;display:flex;gap:9px;font-size:11px;color:#7f9eab;line-height:1.8}.principle-example strong{font-weight:500;color:#acd4d0;white-space:nowrap}.chapter-points{margin-top:28px;display:grid;gap:20px}.chapter-point{display:grid;grid-template-columns:25px 1fr;gap:12px}.point-num{color:#74b9b1;font-size:10px;padding-top:2px}.chapter-point h4{font-weight:500;font-size:14px;color:#dde7ed;margin-bottom:5px}.chapter-point p{font-size:12px;color:#8d9db0;line-height:1.85}.chapter-note{font-size:11px!important;color:#91a5b5!important;padding:12px 14px;background:#1a2330;border-left:2px solid #56748d;margin-top:22px;line-height:1.9!important}.chapter-figure{position:relative;min-width:0;display:flex;flex-direction:column;margin:0;align-self:start}.figure-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:443px;padding:28px;border:1px solid #283440;border-radius:12px;background:radial-gradient(ellipse at 50% 10%,#263a434d,transparent 65%),#101720;overflow:hidden}.figure-stage::before{content:"";position:absolute;inset:0;background-image:radial-gradient(#8baac223 .6px,transparent .6px);background-size:16px 16px;pointer-events:none}.figure-open{position:relative;border:0;padding:0;background:none;width:100%;display:flex;justify-content:center;align-items:center;min-height:380px}.figure-open img{max-height:405px;width:auto;max-width:100%;height:auto;box-shadow:0 10px 38px #0009;transition:transform .4s;object-fit:contain}.figure-open:hover img{transform:scale(1.025)}.figure-open .zoom-hint{position:absolute;bottom:0;right:0;background:#101821dc;color:#d1e3e9;border:1px solid #586b7899;padding:7px 11px;font-size:10px;border-radius:6px;backdrop-filter:blur(7px);box-shadow:0 4px 12px #0004}.figure-corner{position:absolute;left:16px;top:10px;color:#6a7b8c;font-size:8px;letter-spacing:.13em}.figure-caption{display:flex;justify-content:space-between;gap:16px;margin-top:13px;font-size:10px;color:#8192a6;line-height:1.6}.figure-caption>span:last-child{white-space:nowrap;color:#52657a;font-family:var(--mono);font-size:9px}.figure-variants{display:flex;align-items:center;gap:8px;margin-top:17px}.figure-variants>span{font-size:10px;color:#63778d;margin-right:4px}.variant-button{width:38px;height:43px;padding:4px;background:#1b2732;border:1px solid transparent;border-radius:4px;transition:all .2s}.variant-button img{width:100%;height:100%;object-fit:contain}.variant-button[aria-pressed=true]{border-color:#8ce0d3;background:#31413f}.variant-button:hover{border-color:#699488}.chapter-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;gap:20px}.chapter-footer>p{display:flex;align-items:center;gap:11px;font-size:12px;color:#a3b9c2}.chapter-footer .status-dot{width:4px;height:4px}.chapter-pagination{display:flex;align-items:center;gap:8px}.chapter-pagination>.mono{margin-right:16px;color:#748798;font-size:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;background:#ffffff04;border:1px solid #a8c0db24;border-radius:6px;color:#a8b9ca;font-family:system-ui;font-size:17px;line-height:1;transition:background .2s}.icon-button:hover:not(:disabled){background:#ffffff12;color:#fff}.editorial-note{font-size:10px;color:#637486;margin-top:15px;line-height:1.8}

/* A content operations scenario. */
.workflow-section{background:linear-gradient(140deg,#10171b,#0c1118);border-top:1px solid #4c626b28;border-bottom:1px solid #4c626b28}.workflow-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;padding-top:15px}.workflow-story{padding-top:19px}.scenario-label{display:flex;align-items:center;gap:9px;font-size:11px;color:#8faeb3;margin-bottom:20px}.workflow-story h3{font-size:25px;font-weight:500;line-height:1.6;letter-spacing:-.015em;color:#e5edef;margin-bottom:20px}.workflow-story>p{font-size:13px;color:#8b9caa;line-height:1.95;max-width:360px;margin-bottom:25px}.text-link{font-size:12px;color:#b3ddd6;display:inline-flex;gap:28px;align-items:center}.text-link:hover{color:#fff}.workflow-steps{list-style:none;margin:0;padding:0}.workflow-steps li{display:grid;grid-template-columns:30px 1fr auto;gap:15px;padding:22px 0;border-bottom:1px solid #53657533;align-items:start}.workflow-steps li:first-child{padding-top:5px}.workflow-steps li:last-child{border-bottom:0}.step-number{color:#617e90;padding-top:4px}.workflow-steps h4{font-size:14px;font-weight:500;margin-bottom:5px}.workflow-steps p{font-size:11px;color:#8b9eaf;line-height:1.9;max-width:325px}.step-role{padding:3px 7px;font-size:9px;color:#7f95a6;border-radius:4px;border:1px solid #3e536052;white-space:nowrap}.human-step .step-number{color:#88cebb}.human-step .step-role{color:#b0dace;background:#96c9b20d;border-color:#75a99445}

/* Full original notebook. */
.archive-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:38px 0 27px}.archive-filters{display:flex;gap:6px;flex-wrap:wrap}.archive-filters button{border:1px solid transparent;background:none;color:#8b9aac;border-radius:7px;font-size:11px;line-height:1.7;padding:7px 12px;white-space:nowrap}.archive-filters button span{margin-left:5px;font-family:var(--mono);color:#647b91;font-size:9px}.archive-filters button[aria-pressed=true]{background:#d2e4e90c;color:#e3edf1;border-color:#91b2c52a}.archive-filters button:hover{background:#ffffff07;color:#fff}.archive-count{color:#5c7188;white-space:nowrap;font-size:9px}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}.archive-card{border:0;padding:0;background:transparent;text-align:left;min-width:0}.archive-thumb{height:270px;display:flex;align-items:center;justify-content:center;padding:17px 14px;border:1px solid #2b394a;background:#131a23;border-radius:8px;position:relative;overflow:hidden;transition:background .25s,border-color .25s}.archive-thumb img{max-height:100%;max-width:100%;width:auto;object-fit:contain;box-shadow:0 6px 15px #0006;transition:transform .35s}.archive-card:hover .archive-thumb{background:#1b2530;border-color:#738d9e}.archive-card:hover img{transform:translateY(-3px) rotate(-1deg)}.archive-img-number{position:absolute;left:10px;top:7px;font-family:var(--mono);font-size:8px;color:#688196}.archive-expand{position:absolute;right:8px;bottom:6px;font-size:14px;color:#809ba9}.archive-card h3{font-size:12px;font-weight:500;margin:11px 0 2px;color:#b9c5d2}.archive-card>p{font-size:9px;color:#677b91;line-height:1.7}.archive-note{font-size:10px;color:#67778c;margin-top:25px}.archive-grid .archive-card{animation:enter .3s ease-out}

/* Product status: evidence without drowning the narrative in detail. */
.progress-section{border-top:1px solid var(--line)}.progress-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.progress-card{display:flex;flex-direction:column;padding:25px 23px 22px;border:1px solid #293442;border-radius:10px;background:linear-gradient(145deg,#19222c70,#0c111a55)}.progress-tag{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.03em;margin-bottom:22px}.foundation{color:#a0d9bd}.foundation .status-dot{background:#99d4b1}.verification{color:#dcc29a}.verification .status-dot{background:#d6ba82}.planned{color:#9caecd}.planned .status-dot{background:#869dc7}.progress-card h3{font-size:18px;font-weight:500;letter-spacing:-.02em;margin-bottom:13px}.progress-card>p{font-size:12px;line-height:1.95;color:#8d9eaf;margin-bottom:21px;flex:1}.progress-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:25px}.progress-chips span{font-size:9px;border:1px solid #2e3e4d;border-radius:4px;color:#8da3b6;padding:2px 6px}.progress-card>a{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#a6bccb;border-top:1px solid #33425170;padding-top:15px}.progress-card>a:hover{color:white}.source-note{font-size:9px;color:#65768b;margin-top:20px;line-height:1.9}.source-note .mono{font-size:9px}.closing{text-align:center;padding-block:70px 110px;border-top:1px solid var(--line)}.closing .eyebrow{justify-content:center;font-size:10px}.closing h2{font-size:46px;font-weight:500;line-height:1.4;letter-spacing:-.04em;margin:22px 0}.closing>p:not(.eyebrow){font-size:13px;color:#8498a8}.closing .button{margin-top:27px}.site-footer{display:flex;gap:18px;align-items:center;padding-block:26px;border-top:1px solid var(--line);font-size:10px;color:#718499}.site-footer .brand span{font-size:20px;color:#e1e8ed}.site-footer>p{margin-left:9px;color:#6c8194}.site-footer>div{display:flex;gap:24px;margin-left:auto}.site-footer a:hover{color:#c2e7df}.noscript-notice{padding:25px;text-align:center}

/* Native dialog: same-ratio full image, natural scroll when zoomed. */
body.viewer-open{overflow:hidden}#image-dialog{width:min(1120px,calc(100vw - 50px));max-width:none;height:calc(100dvh - 56px);max-height:none;border:1px solid #41566c;border-radius:14px;padding:0;color:var(--ink);background:#101720;box-shadow:0 40px 150px #000b;overflow:hidden}#image-dialog[open]{display:flex;flex-direction:column}#image-dialog::backdrop{background:#020508d9;backdrop-filter:blur(14px)}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px 13px;flex-shrink:0}.viewer-header h2{font-size:16px;font-weight:500;line-height:1.5;margin-top:3px}.viewer-header .eyebrow{font-size:8px;color:#6a859b}.close-viewer{font-size:24px}.viewer-toolbar{display:flex;align-items:center;gap:15px;padding:9px 22px;border-top:1px solid #41556d45;border-bottom:1px solid #41556d45;flex-shrink:0}.viewer-toolbar>.mono{font-size:10px;color:#94a9ba}.viewer-toolbar .status-label{font-size:9px}.zoom-controls{display:flex;align-items:center;gap:3px;margin-left:auto}.zoom-controls .icon-button{width:29px;height:29px;border-color:transparent;background:transparent}.zoom-controls .icon-button:hover{background:#ffffff12}#zoom-reset{color:#9db7ca;background:none;border:0;padding:3px 7px;font-size:10px;min-width:75px}.download-link{font-size:10px;color:#b6d8d6;padding:4px 0 4px 10px;border-left:1px solid #4c647e55}.viewer-canvas{position:relative;flex:1;min-height:0;overflow:auto;background:#080d13;padding:22px;display:flex;align-items:flex-start;justify-content:flex-start;overscroll-behavior:contain;scrollbar-color:#415a70 #121b25}.viewer-canvas img{margin:auto;flex-shrink:0;max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto;box-shadow:0 5px 40px #0007}.viewer-canvas.is-zoomed{display:block}.viewer-canvas.is-zoomed img{max-width:none;max-height:none;height:auto;margin:0 auto;cursor:zoom-out}.viewer-footer{display:flex;gap:30px;align-items:center;padding:12px 22px;flex-shrink:0;border-top:1px solid #41556d45;min-height:65px}.viewer-footer p{font-size:11px;line-height:1.85;color:#95aabc;max-width:850px}.viewer-pager{display:flex;gap:8px;margin-left:auto}.viewer-pager .icon-button{width:32px;height:32px}

@keyframes enter{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.hero{min-height:730px;gap:45px}.hero-art{height:525px}.hero h1{font-size:89px}}
@media(max-width:1100px){.container{width:calc(100% - 64px)}.nav-shell{width:calc(100% - 64px);gap:24px;padding-inline:18px}.desktop-nav{gap:0}.desktop-nav a{padding-inline:10px}.nav-right{gap:18px}.hero{min-height:600px;gap:10px}.hero h1{font-size:68px}.hero-lead{font-size:16px}.hero-art{height:420px}.paper-team{top:65px;width:80%}.paper-principles{top:50px;width:41%}.paper-mobile{bottom:35px;width:61%;left:13%}.chapter-layout{gap:34px}.chapter-copy h3{font-size:29px}.principle-selectors{grid-template-columns:repeat(4,1fr)}.figure-stage{padding:22px;min-height:414px}.figure-open{min-height:360px}.figure-open img{max-height:374px}.workflow-layout{gap:45px}.step-role{font-size:8px;padding:3px 5px}.workflow-steps li{gap:10px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-card{padding:23px 19px}.progress-card h3{font-size:17px}.belief-strip>div{gap:18px;padding-left:20px}}
@media(max-width:850px){.container{width:calc(100% - 48px)}.nav-shell{width:calc(100% - 48px);gap:20px;padding-inline:16px}.desktop-nav a{font-size:12px;padding-inline:9px}.nav-right .github-link{display:none}.nav-cta{font-size:11px}.brand span{font-size:21px}.brand img{width:34px;height:34px}.hero{min-height:580px;gap:5px}.hero h1{font-size:61px}.hero-lead{font-size:14px}.hero-sub{font-size:11px;max-width:300px}.hero-actions{gap:7px}.button{font-size:11px;gap:16px;padding:9px 15px;min-height:42px}.button-quiet{padding-inline:4px}.hero-art{height:360px;margin-left:-10px}.paper-team{top:45px}.paper-principles{top:41px}.paper-mobile{bottom:40px}.art-caption{font-size:8px;left:5%}.art-caption .mono{font-size:7px}.art-coordinate{font-size:8px}.belief-strip{padding-block:23px}.belief-strip>div{gap:12px;padding-left:15px}.belief-strip strong{font-size:12px}.belief-strip p>span{font-size:10px}.belief-index{font-size:9px}.section-space{padding-block:78px}.section-top h2{font-size:30px}.section-description{font-size:12px}.chapter-tabs button{font-size:12px;gap:10px;padding-inline:10px}.chapter-layout{gap:25px;padding-top:35px;min-height:665px}.chapter-topline{flex-wrap:wrap;gap:9px}.chapter-copy h3{font-size:25px}.chapter-intro{font-size:12px}.principle-selectors{grid-template-columns:repeat(2,1fr);gap:6px;margin-top:22px}.principle-detail{padding:14px 13px}.principle-detail-head .mono{display:none}.figure-stage{padding:18px;min-height:360px}.figure-open{min-height:320px}.figure-open img{max-height:335px}.figure-variants{gap:6px;flex-wrap:wrap}.variant-button{width:33px;height:39px}.figure-caption{font-size:9px;gap:10px}.figure-caption>span:last-child{display:none}.chapter-point p{font-size:11px}.chapter-points{gap:18px}.workflow-layout{grid-template-columns:.8fr 1.2fr;gap:30px}.workflow-story h3{font-size:21px}.workflow-story>p{font-size:12px}.workflow-steps li{grid-template-columns:25px 1fr}.step-role{grid-column:2;justify-self:start;font-size:9px}.workflow-steps h4{font-size:13px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-thumb{height:230px}.archive-toolbar{align-items:flex-start}.archive-count{display:none}.progress-grid{gap:12px}.progress-card{padding:20px 15px}.progress-card h3{font-size:15px}.progress-card>p{font-size:11px}.progress-chips{gap:4px}.progress-chips span{font-size:8px}.site-footer>p{display:none}}
@media(max-width:640px){html{scroll-padding-top:0}section[id]{scroll-margin-top:22px}.container{width:calc(100% - 40px)}.site-header{padding:12px 0 0;height:66px}.nav-shell{width:calc(100% - 28px);height:54px;border-radius:13px;padding:0 15px}.brand img{width:33px;height:33px}.brand span{font-size:22px}.desktop-nav,.nav-right{display:none}.menu-toggle{margin-left:auto;display:flex;gap:12px;align-items:center;border:0;background:none;color:#b7c2cf;font-size:12px;padding:9px 0 9px 10px}.menu-toggle>span:last-child{font-size:21px;line-height:1}.mobile-menu{margin:8px 14px 0;padding:12px;background:#111923f5;border:1px solid #3e5467;border-radius:12px;backdrop-filter:blur(20px);box-shadow:0 20px 40px #0008}.mobile-menu a{display:block;font-size:14px;color:#c3d2df;padding:11px 10px;border-radius:6px}.mobile-menu a:hover{background:#ffffff09}.hero{display:flex;flex-direction:column;gap:0;padding-top:54px;padding-bottom:30px;min-height:0;align-items:stretch}.hero-copy{padding-bottom:0}.hero .eyebrow{font-size:10px;gap:10px}.hero h1{font-size:61px;line-height:1.18;margin:23px 0 20px;letter-spacing:-.065em}.hero-lead{font-size:15px;line-height:1.85}.hero-sub{font-size:11px;max-width:330px;margin-top:12px}.hero-actions{gap:15px;margin-top:25px}.button{font-size:12px;gap:18px;padding:10px 17px;min-height:43px}.button-quiet{padding-inline:2px;font-size:11px}.hero-footnote{margin-top:28px;font-size:9px;gap:10px}.hero-footnote .mono{font-size:9px}.hero-art{height:315px;width:min(100%,400px);max-width:calc(100% - 14px);margin:42px auto 0}.art-coordinate{top:-10px;right:0;font-size:8px}.paper-team{top:24px;left:0;width:75%}.paper-principles{width:37%;top:13px;right:1%}.paper-mobile{width:57%;left:13%;bottom:32px}.paper{padding:5px 5px 20px;border-radius:2px}.paper-tag{font-size:5px;bottom:4px;left:7px}.art-caption{bottom:0;left:9%;font-size:8px}.art-caption .mono{font-size:8px}.belief-strip{grid-template-columns:1fr;padding:4px 0;border-bottom:0}.belief-strip>div,.belief-strip>div:first-child{gap:20px;padding:15px 0;border-right:0;border-bottom:1px solid var(--line)}.belief-strip>div:last-child{border-bottom:1px solid var(--line)}.belief-strip p{flex-direction:row;align-items:center;gap:20px;width:100%;justify-content:space-between}.belief-strip strong{font-size:12px}.belief-strip p>span{font-size:10px}.belief-index{font-size:10px}.section-space{padding-block:65px}.section-top{display:block;margin-bottom:27px}.section-top h2{font-size:29px;line-height:1.45;margin-top:10px}.eyebrow.small{font-size:9px;letter-spacing:.12em}.section-description{font-size:12px;line-height:1.9;margin-top:17px}.chapter-tabs{display:flex;overflow-x:auto;gap:22px;margin-right:-20px;padding-right:20px}.chapter-tabs button{padding:12px 0 17px;gap:8px;flex-shrink:0;font-size:12px}.chapter-tabs .mono{font-size:9px}.chapter-tabs button::after{left:0;right:0}.chapter-layout{display:flex;flex-direction:column;gap:30px;min-height:0;padding:31px 0 28px}.chapter-topline{gap:12px;margin-bottom:18px}.chapter-topline .mono{font-size:8px}.chapter-topline .status-label{font-size:9px}.chapter-copy h3{font-size:29px;line-height:1.4;margin-bottom:16px}.chapter-intro{font-size:12px;line-height:2;max-width:none}.principle-selectors{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:23px}.principle-selectors button{font-size:10px;padding:8px 2px}.principle-detail{min-height:0;padding:17px 17px}.principle-detail-head .mono{display:block;font-size:7px}.principle-detail h4{font-size:13px}.principle-detail>p{font-size:11px}.principle-example{font-size:10px}.chapter-figure{width:100%}.figure-stage{min-height:372px;padding:24px}.figure-open{min-height:330px}.figure-open img{max-height:360px}.figure-caption{font-size:9px}.figure-caption>span:last-child{display:block;font-size:8px}.figure-variants{margin-top:13px;gap:8px}.variant-button{width:34px;height:40px}.figure-variants>span{font-size:9px}.chapter-footer{padding-block:15px;gap:10px}.chapter-footer>p{font-size:10px;gap:7px;line-height:1.8;max-width:225px}.chapter-pagination{gap:5px}.chapter-pagination>.mono{display:none}.chapter-pagination .icon-button{width:30px;height:30px}.editorial-note{font-size:9px;line-height:1.9;margin-top:13px}.chapter-point h4{font-size:13px}.chapter-point p{font-size:12px}.chapter-note{font-size:10px!important}.workflow-section .section-top .status-label{margin-top:15px}.workflow-layout{display:block;padding-top:0}.workflow-story{padding:0 0 30px;border-bottom:1px solid var(--line);margin-bottom:20px}.workflow-story h3{font-size:24px}.workflow-story>p{font-size:12px;max-width:none}.workflow-steps li{grid-template-columns:25px 1fr;padding-block:18px}.workflow-steps p{font-size:11px;max-width:none}.workflow-steps li:first-child{padding-top:10px}.step-role{font-size:8px}.archive-toolbar{margin-top:25px;margin-bottom:22px}.archive-filters{gap:5px}.archive-filters button{padding:6px 9px;font-size:10px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.archive-thumb{height:205px;padding:18px 11px;border-radius:7px}.archive-card h3{font-size:10px;margin-top:9px}.archive-card>p{font-size:8px}.archive-note{font-size:9px}.progress-grid{display:block}.progress-card{padding:25px 23px;margin-top:15px}.progress-card h3{font-size:20px}.progress-card>p{font-size:12px}.progress-tag{font-size:11px;margin-bottom:18px}.progress-chips{gap:7px;margin-bottom:22px}.progress-chips span{font-size:10px}.progress-card>a{font-size:12px}.source-note{font-size:9px;line-height:2;margin-top:20px}.closing{padding-block:60px 70px}.closing h2{font-size:35px}.closing>p:not(.eyebrow){font-size:12px}.closing .button{font-size:12px}.site-footer{flex-wrap:wrap;gap:18px;padding-block:23px}.site-footer .brand span{font-size:21px}.site-footer>div{width:100%;margin:0;justify-content:space-between;font-size:9px;gap:10px}#image-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:12px}.viewer-header{padding:14px 13px 10px;gap:12px}.viewer-header h2{font-size:13px;margin-top:3px}.viewer-header .eyebrow{font-size:7px}.close-viewer{width:30px;height:30px;font-size:23px}.viewer-toolbar{gap:8px;padding:8px 10px;flex-wrap:wrap}.viewer-toolbar>.mono{font-size:9px}.viewer-toolbar .status-label{font-size:8px}.zoom-controls{gap:0}.zoom-controls .icon-button{width:25px;height:27px}#zoom-reset{font-size:9px;min-width:59px;padding-inline:3px}.download-link{font-size:9px;margin-left:auto;padding:4px 0 4px 7px}.viewer-canvas{padding:12px}.viewer-footer{gap:12px;padding:11px 13px;min-height:88px;align-items:center}.viewer-footer p{font-size:9px;line-height:1.9}.viewer-pager{gap:5px}.viewer-pager .icon-button{width:28px;height:28px}}
@media(max-width:380px){.hero h1{font-size:55px}.hero-art{height:285px}.hero-lead{font-size:14px}.hero-actions{gap:11px}.hero .button{padding-inline:12px;font-size:11px}.hero .button-quiet{padding-inline:0}.archive-thumb{height:183px}.principle-selectors button{font-size:9px}.figure-stage{padding:20px}.viewer-toolbar .status-label{max-width:125px;overflow:hidden;text-overflow:ellipsis}.viewer-toolbar .download-link{border-left:0}.chapter-tabs{gap:18px}}
/* Product notebook: eight plates, seven chapters, original comparisons. */
.chapter-tabs{grid-template-columns:repeat(7,minmax(0,1fr))}
.archive-thumb{height:auto;aspect-ratio:4/3;padding:14px;background:#151c24}
.archive-thumb img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
/* The Agent-loop note keeps its own 16:9 ratio instead of the 4:3 plates. */
.archive-thumb.is-wide{aspect-ratio:16/9}
.figure-stage.is-wide{min-height:0}
.figure-open.is-wide{min-height:0}
.figure-open.is-wide img{width:100%;max-width:100%;max-height:none;height:auto}
.archive-card-copy>p{font-size:10px;color:#7f91a5;line-height:1.8}
.archive-card-copy h3{font-size:14px;line-height:1.6}
.archive-card-featured{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:46px;border:1px solid #35434d;border-radius:12px;padding:22px;margin-bottom:8px;background:linear-gradient(115deg,#19242570,#10172040)}
.archive-card-featured .archive-thumb{background:#20272a;border-color:#5a625d}
.archive-card-featured .archive-card-copy{padding:20px 24px 20px 0}
.new-note-label{display:block;color:#a7c6bd;font-size:10px;letter-spacing:.12em;margin-bottom:18px}
.archive-card-featured h3{font-size:clamp(20px,2.4vw,29px);font-weight:500;letter-spacing:-.03em;line-height:1.6;margin:0 0 12px;color:#e0e9e7}
.archive-featured-description{display:block;font-size:13px;line-height:2;color:#a0afbb;margin-top:22px;max-width:390px}
.archive-featured-cta{display:flex;align-items:center;gap:22px;color:#b9e3d6;font-size:12px;margin-top:26px}
.archive-card-featured:hover{border-color:#71847d;background-color:#1c28292b}
.figure-stage{min-height:0;padding:30px 20px 20px}
.figure-open{min-height:0;aspect-ratio:4/3}
.figure-open img{width:100%;height:auto;max-height:none}
.figure-open .zoom-hint{bottom:8px;right:8px}
.chapter-sources{display:flex;gap:16px;flex-wrap:wrap;margin-top:15px;font-size:11px;line-height:1.8;color:#8fb5ac}
.chapter-sources a:hover{color:#d0efe5;text-decoration:underline;text-underline-offset:4px}
.viewer-versions{display:flex;gap:2px;padding:3px;background:#0b121b;border:1px solid #41556d55;border-radius:6px;flex-shrink:0}
.viewer-versions[hidden]{display:none}
.viewer-versions button{border:0;background:transparent;color:#8395a8;padding:5px 9px;border-radius:4px;font-size:10px;white-space:nowrap}
.viewer-versions button[aria-pressed=true]{color:#d8eee8;background:#29403d}
.viewer-versions button:hover{color:#fff}
.viewer-toolbar{flex-wrap:wrap;gap:12px}
.viewer-toolbar .status-label{white-space:normal;max-width:250px}
.viewer-canvas:not(.is-zoomed) img{cursor:zoom-in}
@media(max-width:1000px){.archive-card-featured{gap:26px}.archive-card-featured .archive-card-copy{padding-right:8px}.archive-featured-description{font-size:12px;margin-top:16px}.archive-featured-cta{margin-top:19px}.chapter-tabs button{gap:8px;padding-inline:8px}.viewer-toolbar .status-label{display:none}}
@media(max-width:640px){.archive-grid{grid-template-columns:1fr;gap:28px}.archive-thumb{padding:12px;aspect-ratio:4/3;height:auto}.archive-card-copy h3{font-size:14px}.archive-card-copy>p{font-size:10px}.archive-card-featured{display:block;padding:13px;margin-bottom:6px}.archive-card-featured .archive-card-copy{padding:22px 9px 12px}.archive-card-featured h3{font-size:23px}.new-note-label{font-size:9px;margin-bottom:12px}.archive-featured-description{font-size:12px;line-height:1.9;margin-top:15px}.archive-featured-cta{margin-top:20px}.figure-stage{padding:27px 12px 12px;min-height:0}.figure-open{min-height:0}.figure-open img{max-height:none}.viewer-toolbar{gap:6px;padding:8px 10px}.viewer-versions button{font-size:9px;padding:5px 7px}.viewer-toolbar>.mono{font-size:8px}.zoom-controls{margin-left:auto}.viewer-toolbar .download-link{margin-left:auto;border-left:0}.chapter-tabs{display:flex}.chapter-topline .status-label{white-space:normal;line-height:1.7}.chapter-sources{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.paper:hover,.archive-card:hover img,.figure-open:hover img,.button:hover{transform:none}}

/* The preference controller moves language/theme controls into the mobile
   menu at 960px. Keep that menu reachable on tablets and narrow windows too;
   otherwise the controls disappear between the 641px and 960px breakpoints. */
@media (min-width:641px) and (max-width:960px) {
  .desktop-nav,.nav-right{display:none}
  .menu-toggle{margin-left:auto;display:flex;gap:12px;align-items:center;border:0;background:none;color:#b7c2cf;font-size:12px;padding:9px 0 9px 10px}
  .menu-toggle>span:last-child{font-size:21px;line-height:1}
  .mobile-menu{margin:8px 24px 0;padding:12px;background:#111923f5;border:1px solid #3e5467;border-radius:12px;backdrop-filter:blur(20px);box-shadow:0 20px 40px #0008}
  .mobile-menu a{display:block;font-size:14px;color:#c3d2df;padding:11px 10px;border-radius:6px}
  .mobile-menu a:hover{background:#ffffff09}
}

