:root{color-scheme:light;--night:#112b38;--paper:#fbf4e4;--ink:#183441;--muted:#43606a;--line:#b6b2a3;--evergreen:#204d50;--gold:#f3cf88}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 Georgia,"Times New Roman","Songti SC","Noto Serif CJK SC",serif}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:.08em}
a:focus-visible{outline:3px solid #b6631a;outline-offset:5px}
header,footer{background:var(--night);color:var(--paper)}
.bar,.wrap,.foot{width:min(100% - 3rem,67rem);margin:auto}
.bar,.foot{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1rem 0}
.brand{font-style:italic;font-size:clamp(1.15rem,3vw,1.7rem);text-decoration:none}
.language,.jump,.button,.foot,.step,.eyebrow{font-family:system-ui,sans-serif}
.language{font-size:.92rem}
.hero{background:#143441;color:var(--paper);border-top:1px solid #38515b}
.hero-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(1.5rem,5vw,4rem);align-items:center;padding-block:clamp(2rem,5vw,4rem)}
.hero img{width:100%;height:auto;display:block;border-block:1px solid #607582}
h1,h2,h3,p{margin:0}
h1,h2,h3{text-wrap:balance}
h1{font-size:clamp(2.2rem,5.5vw,4.15rem);line-height:1.07;letter-spacing:-.035em}
html:lang(zh-CN) h1{line-height:1.25;letter-spacing:0}
.eyebrow{color:var(--gold);font-size:.86rem;margin-bottom:.65rem;letter-spacing:.04em}
.intro{margin-top:1rem;font-size:1.1rem;line-height:1.55;max-width:40rem}
.jump{display:flex;gap:.5rem 1.35rem;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:1.05rem 0;font-size:.94rem;font-weight:600}
section{padding-block:clamp(1.9rem,4vw,3.5rem);border-bottom:1px solid var(--line)}
h2{font-size:clamp(1.6rem,3.5vw,2.6rem);line-height:1.18;letter-spacing:-.02em}
h3{font-size:1.22rem;line-height:1.32}
.deck{max-width:47rem;margin-top:.65rem;color:var(--muted)}
.steps,.examples,.scripts{display:grid;gap:1.5rem 2.5rem;margin-top:1.55rem}
.steps,.scripts{grid-template-columns:repeat(3,minmax(0,1fr))}
.steps{margin-bottom:0;list-style:none;counter-reset:steps;padding:0}
.steps li{counter-increment:steps}
.step{display:block;margin-bottom:.35rem;font-weight:650}
.step::before{content:counter(steps) ". ";color:var(--muted)}
.examples{grid-template-columns:repeat(2,minmax(0,1fr))}
.example,.script{border-top:2px solid var(--evergreen);padding-top:.7rem}
.example ol{margin:.6rem 0 0;padding-inline-start:1.55rem}
.example li{padding:.1rem .1rem .15rem .15rem}
.example li::marker{color:var(--muted);font-size:.9rem}
.script blockquote{margin:.65rem 0 0}
.cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;border:0}
.cta p{color:var(--muted);margin-top:.55rem;max-width:40rem}
.button{display:inline-block;background:var(--evergreen);color:#fff8e9;text-align:center;border-radius:.3rem;padding:.65rem 1.1rem;text-decoration:none;font-weight:650;flex-shrink:0}
.button:hover{background:#153c40}
.foot{font-size:.95rem}
@media(max-width:46rem){.hero-inner,.steps,.scripts{grid-template-columns:1fr}.hero-inner{gap:1.35rem}.hero img{max-width:28rem}.cta{align-items:flex-start;flex-direction:column;gap:.9rem}.examples{gap:1.4rem}.scripts,.steps{gap:.9rem}}
@media(max-width:34rem){.bar,.wrap,.foot{width:calc(100% - 2rem)}.examples{grid-template-columns:1fr}.bar,.foot{gap:.65rem}.hero img{max-height:9rem;object-fit:cover;object-position:bottom}.foot{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.paper-rules{max-width:47rem;margin:1rem 0 1.25rem;padding-inline-start:1.5rem}
.paper-rules li+li{margin-top:.35rem}
.print-note{margin-top:.55rem;color:var(--muted);font-size:.95rem}
.print-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.25rem,3vw,2.25rem);align-items:center;margin-top:1.3rem}
.print-preview{display:block;width:100%;height:auto;border-radius:.3rem}
.print-layout .paper-rules{margin-top:0}
.print-actions{display:flex;align-items:center;gap:.35rem .9rem;flex-wrap:wrap}
.print-actions .button{max-width:100%}
.share-action{border:0;padding:.5rem .1rem;background:transparent;color:var(--evergreen);font:600 .95rem/1.45 system-ui,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:.22em}
.share-action:focus-visible,#print-manual input:focus-visible{outline:3px solid #b6631a;outline-offset:3px}
#print-status,#print-manual{font:.95rem/1.5 system-ui,sans-serif}
#print-status:not(:empty),#print-manual:not([hidden]){display:block;margin-top:.6rem}
#print-manual input{display:block;width:100%;margin-top:.3rem;border:1px solid var(--muted);border-radius:.25rem;padding:.5rem;background:white;color:var(--ink);font:inherit}
@media(max-width:46rem){.print-layout{grid-template-columns:minmax(0,1fr)}.print-preview{max-width:32rem}}
.clue-workshop{max-width:47rem;margin-top:1.6rem}
.clue-workshop p{margin-top:.45rem}
