@font-face{font-family:"Archivo";src:url(fonts/Archivo.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Newsreader";src:url(fonts/Newsreader.ttf) format("truetype");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Libre Franklin";src:url(fonts/LibreFranklin.ttf) format("truetype");font-weight:100 900;font-display:swap}
:root{--bg:#faf6ee;--card:#fffdf8;--ink:#1f2a33;--soft:#4a5560;--acc:#2a6964;--accd:#1f514d;--accl:#e3efec;--line:#d9cfbd;--hair:#cfc4b0;--sans:"Libre Franklin",system-ui,sans-serif;--serif:"Newsreader",Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:18px;line-height:1.6;overflow-x:hidden;font-optical-sizing:auto}
@media (min-width:900px){body{font-size:20px}}
a{color:var(--acc);text-underline-offset:3px;text-decoration-thickness:1px}a:hover{color:var(--accd)}
:focus-visible{outline:3px solid var(--acc);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:10px 16px;font-family:var(--sans);font-size:17px;z-index:9}.skip:focus{left:12px}
.wrap{max-width:1040px;margin:0 auto;padding:0 28px}
.mock{margin:0;background:var(--accl);color:var(--accd);text-align:center;font-family:var(--sans);font-size:17px;padding:10px 16px}
.hero{text-align:center;padding:72px 22px 24px}
.kicker,.mnum,.dlabel,.xh,.tag{font-family:var(--sans);font-size:17px;letter-spacing:.08em;text-transform:uppercase;color:var(--acc);margin:0 0 12px;font-weight:500}
h1{font-weight:400;font-size:clamp(40px,7vw,68px);line-height:1.08;margin:0 auto 22px;max-width:15ch;letter-spacing:-.01em;text-wrap:balance}
.promise{font-size:clamp(20px,2.4vw,24px);color:var(--soft);max-width:36em;margin:0 auto}
.story{max-width:36em;margin:36px auto 0;padding:0;font-style:italic;font-size:clamp(19px,2.2vw,22px);line-height:1.55}
.story p{margin:0}.theme{font-family:var(--sans);font-size:17px;color:var(--soft);margin:22px auto 0;max-width:30em}
h2{font-weight:400;font-size:clamp(30px,4.4vw,42px);line-height:1.15;margin:0 0 18px;text-wrap:balance}
h3{font-weight:500;font-size:clamp(23px,2.6vw,27px);line-height:1.25;margin:44px 0 12px}h3 small{font-family:var(--sans);font-size:17px;color:var(--soft);font-weight:400}
.orn{display:flex;align-items:center;gap:14px;max-width:360px;margin:64px auto;color:var(--acc)}
.orn::before,.orn::after{content:"";flex:1;height:1px;background:var(--hair)}.orn svg{width:12px;height:12px;flex:none}
.picker{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px 22px;margin:20px auto 0;max-width:900px}
.picker h2{font-size:clamp(24px,3vw,30px);text-align:center;margin-bottom:16px}
.picker ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.pick{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--line);border-radius:999px;font-family:var(--sans);font-size:17px;color:var(--ink);text-decoration:none;background:var(--bg)}
.pick:hover,.pick[aria-current=true]{border-color:var(--acc);background:var(--accl);color:var(--accd)}
.toc{max-width:900px;margin:0 auto}.toc h2{text-align:center}
.toc ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:4px 28px}
.toc a{display:flex;gap:14px;align-items:baseline;min-height:44px;padding:8px 0;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.toc a span{font-family:var(--sans);font-size:17px;color:var(--acc);min-width:1.6em}.toc a:hover{color:var(--acc)}
.nocode{text-align:center;font-style:italic;font-size:clamp(20px,2.4vw,23px);max-width:30em;margin:48px auto 0}
.mod{max-width:720px;margin:0 auto;scroll-margin-top:16px;border-radius:14px;transition:box-shadow .4s}
.mod.hl{box-shadow:0 0 0 3px var(--acc),0 0 0 14px var(--accl);background:var(--accl)}
.mod:focus{outline:none}
.lead{font-size:clamp(20px,2.3vw,23px);line-height:1.5;margin:0 0 16px}
.moment{font-style:italic;color:var(--soft);border-left:2px solid var(--acc);padding-left:16px;margin:0 0 22px}
.said{margin:26px 0;padding:0}.said p{margin:0;font-size:clamp(21px,2.4vw,24px);font-style:italic;color:var(--accd);line-height:1.45}
.said::after{content:"From me";display:block;font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:8px}
ul,ol{padding-left:1.3em}li{margin:6px 0}
code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:max(17px,.86em);background:var(--accl);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
.term{font:inherit;color:inherit;background:none;border:0;padding:0;border-bottom:1.5px dotted var(--acc);cursor:help;min-height:0}
.nojs .term{cursor:text}
/* diagrams */
.diagram{margin:30px 0;padding:22px 18px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.diagram figcaption,.shot figcaption,.codefig figcaption{font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:14px;line-height:1.45}
.flow{display:flex;align-items:stretch;gap:8px}
.node{flex:1;min-width:0;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px 12px 14px;display:flex;flex-direction:column;gap:4px;font-family:var(--sans);font-size:17px;line-height:1.35}
.node strong{font-weight:600;color:var(--ink)}.node span:not(.n){color:var(--soft)}
.node .n{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--acc);color:#fff;font-size:17px;font-weight:600}
.arr{display:flex;align-items:center;color:var(--acc);flex:none}.arr svg{width:22px;height:22px}
@media (max-width:700px){.flow{flex-direction:column}.arr{justify-content:center;transform:rotate(90deg);height:24px}}
.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.tcard{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:14px;font-family:var(--sans);font-size:17px;line-height:1.35;display:flex;flex-direction:column;gap:3px}
.tcard strong{font-family:var(--serif);font-size:22px;font-weight:500}.tcard em{font-style:normal;color:var(--acc);font-weight:500}.tcard span{color:var(--soft)}
.lanes{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:12px}.lanes.two{grid-template-columns:1fr 1fr;margin:0 0 14px}
@media (max-width:600px){.lanes,.lanes.two{grid-template-columns:1fr}}
.lane{border-radius:12px;padding:14px;font-family:var(--sans);font-size:17px;line-height:1.4;display:flex;flex-direction:column;gap:3px}
.lane.me{background:var(--acc);color:#fff}.lane.me span{color:#eef6f4}.lane.bots{background:var(--accl);color:var(--accd)}
.flow.small .node{padding:10px 12px}
.os{display:flex;flex-direction:column;gap:14px}
.osrow{display:grid;grid-template-columns:7.5em 1fr;gap:6px 14px;align-items:center;font-family:var(--sans);font-size:17px}
.osl{font-weight:600}.osbar{height:16px;background:var(--bg);border:1px solid var(--line);border-radius:999px;overflow:hidden}.osbar i{display:block;height:100%;background:var(--acc)}
.osc{grid-column:2;color:var(--soft);line-height:1.35}
@media (max-width:500px){.osrow{grid-template-columns:1fr}.osc{grid-column:1}}
/* folds */
.fold{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);margin:24px 0}.fold+.fold{margin-top:-25px}
.fold summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:8px 2px;font-family:var(--sans);font-size:18px;font-weight:500}
.fold summary::-webkit-details-marker{display:none}.fold summary small{font-weight:400;color:var(--soft);font-size:17px}
.chev{width:22px;height:22px;flex:none;color:var(--acc);transition:transform .25s}.fold[open]>summary .chev{transform:rotate(180deg)}
.fold>*:not(summary){margin-top:4px}.steps{margin:0 0 18px}.steps li{margin:10px 0;padding-left:4px}
.fold.mini{margin:12px 0 0}
/* tips, defs */
.tip{margin:24px 0;padding:16px 20px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
.tip p{margin:0}.tip .tiph{font-family:var(--sans);font-size:17px;font-weight:600;color:var(--acc);margin-bottom:6px}
.tip .botcard{display:block;margin-top:14px}
.tip .botcard img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
.tip.dyk{border-left:4px solid var(--acc)}.tip.slot{border-style:dashed;background:transparent}
.defs{margin:22px 0}.defs>div{padding:14px 0;border-bottom:1px solid var(--line)}.defs dt{font-size:22px;font-weight:500}.defs dd{margin:4px 0 0}
.when{margin:28px 0;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.when dl{margin:0}.when div{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;padding:10px 0;border-top:1px solid var(--line)}.when dt{color:var(--soft)}.when dd{margin:0;font-weight:500}
@media (max-width:560px){.when div{grid-template-columns:1fr;gap:2px}}
.codefig{margin:26px 0}.codefig pre{margin:10px 0 0;background:#1f2a33;color:#f3efe6;border-radius:12px;padding:16px;overflow-x:auto;font-size:17px;line-height:1.5}
.codefig pre code{background:none;padding:0;font-size:inherit;overflow-wrap:anywhere;white-space:pre-wrap}
.xdocs{margin:34px 0 16px;padding:20px 22px;background:var(--accl);border-radius:16px}
.xdocs ul{list-style:none;padding:0;margin:0}.xdocs li{margin:0}.xdocs a{display:flex;align-items:center;min-height:44px;padding:6px 0;font-family:var(--sans);font-size:17px;color:var(--accd);font-weight:500}
.xdocs a::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--acc);margin-right:12px;flex:none}
.xh2{font-family:var(--sans);font-size:17px;color:var(--soft);margin:12px 0 2px}
.src{font-family:var(--sans);font-size:17px;color:var(--soft);line-height:1.5}
.end{font-family:var(--sans);font-size:17px;line-height:1.5;padding-top:14px;border-top:1px solid var(--line)}.end span{color:var(--acc);font-weight:600;margin-right:4px}
/* demos */
.demo{margin:28px 0;padding:22px 20px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.note{font-family:var(--sans);font-size:17px;color:var(--soft);margin:12px 0 0;line-height:1.45}
.seg{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.segb,.fbtn{min-height:44px;padding:8px 16px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;font-family:var(--sans);font-size:17px;cursor:pointer}
.segb[aria-pressed=true],.fbtn[aria-pressed=true]{background:var(--acc);border-color:var(--acc);color:#fff}
.nojs .seg{display:none}
.cbox{background:var(--bg);border-radius:12px;padding:18px}.csample{margin:0;font-size:22px;color:#777}
.slider{display:block;font-family:var(--sans);font-size:17px;margin:16px 0 6px}
input[type=range]{width:100%;height:44px;accent-color:var(--acc)}
.verdict{font-family:var(--sans);font-size:18px;font-weight:500;margin:6px 0 0}.verdict.pass{color:#1d6b3a}.verdict.fail{color:#a12d22}
.typebox{background:var(--bg);border-radius:12px;padding:18px;overflow:hidden}.typebox p{margin:0}
.typebox.before p{font-family:var(--sans);font-size:15px;line-height:1.35;max-width:none}.typebox.after p{font-size:18px;max-width:34em}
.laybox{border-radius:12px;background:var(--bg);padding:18px;min-height:220px}
.lay-before{display:none;grid-template-columns:repeat(3,1fr);gap:8px}.lb{background:#e7e2d8;border:2px solid #c8bfae;border-radius:6px;padding:20px 8px;text-align:center;font-family:var(--sans);font-size:17px;color:var(--soft)}
.laybox.before .lay-before{display:grid}.laybox.before .lay-after{display:none}
.lay-after .lk{font-family:var(--sans);font-size:17px;color:var(--acc);margin:0}.lay-after .lt{font-size:28px;line-height:1.15;margin:6px 0}.lay-after .lp{margin:0 0 14px}
.lbtn{display:inline-flex;align-items:center;min-height:44px;padding:8px 20px;background:var(--acc);color:#fff;border-radius:999px;font-family:var(--sans);font-size:17px}
.shape-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.shape{background:var(--bg);border-radius:12px;padding:20px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:240px;justify-content:center}
.shape em{font-family:var(--sans);font-style:normal;font-size:17px;color:var(--acc);margin-top:12px}
.hour span{font-size:19px;line-height:1.3}.hour span:nth-child(1),.hour span:nth-child(7){letter-spacing:.06em}.hour span:nth-child(4){color:var(--acc);font-style:italic}
.isl{font-size:32px;font-style:italic;padding:44px 0}
.ba{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width:520px){.ba,.shape-grid{grid-template-columns:1fr}}
.bef,.aft{background:var(--bg);border-radius:12px;padding:14px}
hr.heavy{border:0;height:4px;background:#8a8a8a;margin:18px 0}.fakefold{font-family:var(--sans);font-size:17px;font-weight:700;background:#ddd;padding:10px;margin:0}
.aft .orn{margin:18px auto}
.tiny{display:inline-block;font-family:var(--sans);font-size:17px;line-height:1;padding:1px 6px;border:1px solid var(--soft);border-radius:4px}
.roomy{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:8px 20px;background:var(--acc);color:#fff;border-radius:999px;font-family:var(--sans);font-size:17px}
.sc-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sc-fig{position:sticky;top:16px;align-self:start}.sc-fig svg{width:100%;height:auto;display:block}
.sc-steps{padding:12vh 0}.sc-step{min-height:30vh;margin:0;display:flex;align-items:center;font-size:19px;opacity:.45;transition:opacity .4s}.sc-step.on{opacity:1}
.js #scsvg g{transition:opacity .6s}.js #scsvg g.off{opacity:0}
.nojs .sc-step{opacity:1;min-height:0;margin:10px 0}.nojs .sc-steps{padding:0}
@media (max-width:560px){.sc-wrap{grid-template-columns:1fr}.sc-fig{top:8px;z-index:1;background:var(--card);padding-bottom:6px}.sc-step{min-height:36vh}}
/* comics */
.comic{margin:20px 0 10px}.cells{display:grid;gap:12px}.cells.n3{grid-template-columns:repeat(3,1fr)}.cells.n4{grid-template-columns:repeat(4,1fr)}
@media (max-width:700px){.cells.n3,.cells.n4{grid-template-columns:1fr 1fr}}@media (max-width:420px){.cells.n3,.cells.n4{grid-template-columns:1fr}}
.panel{margin:0}.panel img{width:100%;height:auto;display:block;border-radius:10px;background:var(--card)}
.panel figcaption{font-family:var(--sans);font-size:17px;line-height:1.4;margin-top:8px;display:flex;gap:8px}
.pnum{flex:none;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--acc);color:var(--acc);font-size:17px}
@media (max-width:420px){.panel img{max-width:320px;margin:0 auto}}
.tiprow{display:flex;gap:12px;align-items:center;margin-top:12px;padding:10px 12px;background:var(--bg);border:1px solid var(--line);border-radius:12px}
.tipq{margin:0;flex:1;min-width:0;font-size:18px;font-style:italic;overflow-wrap:anywhere}
.copy{flex:none;min-height:44px;min-width:72px;padding:8px 16px;border:1px solid var(--acc);background:var(--card);color:var(--accd);border-radius:999px;font-family:var(--sans);font-size:17px;font-weight:500;cursor:pointer}
.copy:hover{background:var(--accl)}.copy.big{background:var(--acc);color:#fff}.copy.done{background:var(--accl);color:var(--accd)}
.nojs .copy{display:none}
.vlist{margin:26px 0}.vitem{padding:14px 0;border-bottom:1px solid var(--line)}.vitem strong{font-size:21px;font-weight:500}
.doclink{display:inline-flex;align-items:center;min-height:44px;font-family:var(--sans);font-size:17px}
/* shots */
.shot{margin:30px 0;display:grid;grid-template-columns:minmax(0,360px) 1fr;gap:24px;align-items:start}
@media (max-width:700px){.shot{grid-template-columns:1fr}}
.shotimg{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 1px 0 var(--line),0 8px 24px rgba(31,42,51,.12)}.shotimg img{display:block;width:100%;height:auto}
.mark{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:var(--acc);color:#fff;border:2px solid #fff;display:grid;place-items:center;font-family:var(--sans);font-size:18px;font-weight:600;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.shot figcaption{margin:0}.marks{list-style:none;padding:0;margin:0}.marks li{display:flex;gap:12px;margin:0 0 16px}
.marks .mk{flex:none;width:34px;height:34px;border-radius:50%;background:var(--acc);color:#fff;display:grid;place-items:center;font-size:18px;font-weight:600}
.marks strong{color:var(--ink);font-size:18px}.marks p{margin:4px 0 0;color:var(--ink);font-size:17px}
/* predeploy */
.princ{list-style:none;padding:0;margin:24px 0;counter-reset:p}.princ li{counter-increment:p;display:grid;grid-template-columns:40px 1fr;gap:2px 12px;padding:12px 0;border-bottom:1px solid var(--line)}
.princ li::before{content:counter(p);grid-row:span 2;width:32px;height:32px;border-radius:50%;background:var(--accl);color:var(--accd);display:grid;place-items:center;font-family:var(--sans);font-size:17px;font-weight:600}
.princ strong{font-weight:600}.princ span{color:var(--soft)}
.pre{margin:28px 0;padding:22px 20px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.prehead{font-size:18px;font-style:italic}.plist{font-family:var(--sans);font-size:17px;line-height:1.45;margin:0 0 16px}.plist li{margin:5px 0}
.prelast{margin:18px 0 10px}.copyrow{margin:10px 0}
.copytext{width:100%;font-family:ui-monospace,Menlo,monospace;font-size:17px;line-height:1.45;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);margin-bottom:14px}
.paths{margin:28px 0}.pgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.pcard{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px;font-family:var(--sans);font-size:17px;line-height:1.4}
.pcard strong{font-family:var(--serif);font-size:21px;font-weight:500}.pn{width:30px;height:30px;border-radius:50%;background:var(--acc);color:#fff;display:grid;place-items:center;font-weight:600}
.soon{display:inline-block;font-style:normal;background:var(--accl);color:var(--accd);border-radius:999px;padding:1px 10px;margin-top:4px}
/* tips library */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}.nojs .filters{display:none}
.tips{list-style:none;padding:0;margin:0}.tipc{padding:18px 0;border-bottom:1px solid var(--line)}.tipc[hidden]{display:none}
.tt{margin:0;font-size:21px;font-weight:500;display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.td{margin:4px 0 0;color:var(--soft)}
.badge{font-family:var(--sans);font-size:17px;font-weight:500;padding:0 10px;border-radius:999px;background:var(--accl);color:var(--accd)}.badge.check{background:#f4e6d0;color:#6b4513}.badge.mine{background:#ece6f2;color:#4a3463}
.hidden{list-style:none;padding:0}.hidden li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column}
.hidden a{font-size:21px;min-height:44px;display:inline-flex;align-items:center}.hidden span{color:var(--soft)}
.gloss>div{padding:10px 0;border-bottom:1px solid var(--line)}.gloss dt{font-weight:600}.gloss dd{margin:2px 0 0;color:var(--soft)}
.gloss>div:target{background:var(--accl)}
.foot{margin-top:80px;padding:40px 0 56px;border-top:1px solid var(--line);font-family:var(--sans);font-size:17px;color:var(--soft);text-align:center}
.foot a{display:inline-flex;align-items:center;min-height:44px;color:var(--accd)}.foot .fn{margin-top:22px;color:var(--ink);letter-spacing:.08em}
.pop{position:fixed;z-index:20;max-width:min(340px,calc(100vw - 24px));background:var(--ink);color:#f7f3ea;border-radius:14px;padding:16px 18px 12px;box-shadow:0 10px 30px rgba(0,0,0,.25);font-family:var(--sans);font-size:17px;line-height:1.45}
.pop p{margin:0 0 8px}.poph{font-weight:700;font-size:18px}.popx{min-height:44px;padding:6px 16px;border-radius:999px;border:1px solid #9fb3ae;background:transparent;color:#fff;font-family:var(--sans);font-size:17px;cursor:pointer}
/* cover */
.cover{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px 48px;align-items:center;text-align:left;max-width:980px;margin:0 auto}
.cover h1{margin-left:0}.cover .promise{margin:0}
.cguide{text-align:center}.guide{width:100%;max-width:320px;height:auto;display:block;margin:0 auto}
.gcap{font-family:var(--sans);font-size:17px;color:var(--soft);margin:6px 0 0}
@media (prefers-reduced-motion:no-preference){.guide{animation:bob 5s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-6px)}}}
@media (max-width:760px){.cover{grid-template-columns:1fr;text-align:center}.cguide{order:-1}.guide{max-width:150px}.cover h1{margin:0 auto 18px}.cover .promise{margin:0 auto}.hero{padding-top:40px}}
.promise,.lead,.story p{text-wrap:pretty}
@media (max-width:760px){.gcap{display:none}}
.said-big{font-size:clamp(24px,3vw,30px);font-style:italic;line-height:1.4;color:var(--accd);text-align:center;margin:0}.last{text-align:center}
/* ---------- v5 ---------- */
@font-face{font-family:"Instrument Serif";src:url(fonts/InstrumentSerif.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Source Sans 3";src:url(fonts/SourceSans3.ttf) format("truetype");font-weight:200 900;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/Fraunces.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Figtree";src:url(fonts/Figtree.ttf) format("truetype");font-weight:300 900;font-display:swap}
.f-news{font-family:"Newsreader",Georgia,serif}.f-lib{font-family:"Libre Franklin",system-ui,sans-serif}.f-inst{font-family:"Instrument Serif",Georgia,serif}.f-ss3{font-family:"Source Sans 3",system-ui,sans-serif}.f-fra{font-family:"Fraunces",Georgia,serif}.f-fig{font-family:"Figtree",system-ui,sans-serif}
.bigidea{font-family:var(--sans);font-size:19px;margin:14px 0 0;color:var(--ink)}.bigidea strong{color:var(--acc)}
/* ask card */
.ask{display:flex;gap:14px;align-items:flex-start;background:var(--accl);border:1px solid #c5ddd8;border-radius:14px;padding:16px 18px;margin:22px 0}
.ask .gsm{flex:0 0 40px;width:40px;height:40px;margin-top:2px}
.askb{flex:1;min-width:0}.askh{margin:0 0 6px;font-family:var(--sans);font-weight:700;font-size:17px;color:var(--accd);letter-spacing:.01em}
.askn{margin:8px 0 0;font-family:var(--sans);font-size:17px;color:var(--soft);line-height:1.45}
.ask .tiprow{background:var(--card)}
.fold.yours>summary span::before{content:"Or ";display:none}
/* ways */
.wgrid{list-style:none;padding:0;margin:10px 0;display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:760px){.wgrid{grid-template-columns:1fr 1fr}}
.way{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 18px;position:relative}
.way strong{display:block;font-family:var(--sans);font-size:19px;margin:2px 0 4px 44px;min-height:34px;line-height:34px}
.way .wn{position:absolute;left:16px;top:16px;width:34px;height:34px;border-radius:50%;background:var(--acc);color:#fff;font-family:var(--sans);font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center}
.way p{margin:6px 0}
.record .fold{margin:8px 0}
/* gag */
.gag{margin:22px 0}.gagcap{font-family:var(--serif);font-style:italic;font-size:20px;text-align:center;margin:10px 0 0;color:var(--ink)}
/* layouts */
.layouts{list-style:none;padding:0;margin:12px 0;display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:620px){.layouts{grid-template-columns:1fr 1fr}}@media(min-width:960px){.layouts{grid-template-columns:1fr 1fr 1fr}}
.lay{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}
.lay strong{font-family:var(--sans);font-size:18px}.lay>span{font-family:var(--sans);font-size:17px;color:var(--soft);line-height:1.4}
.lay .tiprow{margin-top:auto}
.mock-page{aspect-ratio:4/3;border:1px solid var(--hair);border-radius:8px;background:#fff;overflow:hidden;padding:8%;display:flex;flex-direction:column;gap:6%}
.mock-page i{display:block;height:5px;border-radius:3px;background:#c9c1b2;margin:0 0 6px}.mock-page i.s{width:60%}.mock-page b{display:block;height:10px;width:55%;background:var(--ink);border-radius:3px;margin-bottom:10px}
.mk-img{background:#9fb9b5;border-radius:4px;min-height:40px}.mk-img.w{grid-column:1/-1;min-height:36%}.mk-img.tall{height:100%}
.mk-bleed{margin:-8.5% -8.5% 0;height:55%;background:linear-gradient(160deg,#2f5f5a,#9fb9b5);display:flex;align-items:flex-end;padding:6%}.mk-t{font-family:var(--sans);font-size:17px;color:#fff;font-weight:700}
.mk-lines{padding-top:4%}
.mk-ed{display:grid;grid-template-columns:2fr 1fr;gap:8%;height:100%}.mk-col{display:flex;flex-direction:column;justify-content:center}.mk-q{font-family:var(--serif);font-size:44px;line-height:1;color:var(--acc)}
.mk-essay{width:60%;margin:0 auto;padding-top:4%}
.mk-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;height:100%}.mk-cards div{border:1px solid var(--hair);border-radius:4px;padding:4px;display:flex;flex-direction:column;gap:4px}.mk-cards span{display:block;flex:1;background:#9fb9b5;border-radius:3px}.mk-cards i{margin:0}
.mk-scr{display:grid;grid-template-columns:1fr 1fr;gap:8%;height:100%}.mk-steps{display:flex;flex-direction:column;justify-content:space-around}.mk-steps i{height:22%;background:var(--accl);border:1px solid #c5ddd8}
.mk-split{display:grid;grid-template-columns:1fr 1fr;gap:8%;height:100%}.mk-split .mk-img{height:100%}
/* pairs */
.pairs{display:grid;gap:16px;margin:18px 0}.pair .ba{margin-top:6px}
.pr{background:var(--card);border-radius:10px}.pr p{margin:0}.pr .ph{font-family:var(--sans);font-weight:700;font-size:19px}
.pr.cramped{padding:4px 6px;line-height:1.15;border:1px solid var(--line)}.pr.cramped .pbtn{margin-top:2px;padding:2px 6px}
.pr.breathe{padding:18px 18px;line-height:1.6}.pr.breathe p+p{margin-top:8px}.pr.breathe .pbtn{margin-top:14px}
.pbtn{display:inline-block;background:var(--acc);color:#fff;border-radius:8px;font-family:var(--sans);font-size:17px;padding:10px 14px}
.pr.low{padding:14px;color:#c4bcae}.pr.aa{padding:14px;color:var(--ink)}
/* type specimen */
.spec{border:1px solid var(--line);border-radius:12px;background:var(--card);padding:6px 18px}
.srow{padding:12px 0;border-bottom:1px solid var(--line)}.srow:last-child{border:0}
.slabel{margin:0 0 4px;font-family:var(--sans);font-size:17px;font-weight:700;color:var(--accd)}.slabel span{font-weight:400;color:var(--soft)}
.s-h{font-size:32px;line-height:1.15;margin:0;font-weight:600}.s-s{font-size:22px;line-height:1.3;margin:0}.s-b{font-size:18px;line-height:1.6;margin:0;max-width:65ch}.s-c{font-size:17px;line-height:1.45;margin:0;color:var(--soft)}
@media(min-width:900px){.s-h{font-size:40px}.s-b{font-size:20px}}
.measure-rule{max-width:65ch;font-size:18px;border-top:1.5px solid var(--acc);margin:10px 0 18px;position:relative;font-family:var(--sans)}.measure-rule span{display:block;text-align:center;font-size:17px;color:var(--accd);padding-top:4px}
.tpairs{display:grid;gap:14px;grid-template-columns:1fr}@media(min-width:820px){.tpairs{grid-template-columns:repeat(3,1fr)}}
.tpair{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px}.tpair p{margin:0 0 6px}.tpair .sm{font-weight:400;color:var(--soft)}
.tp-h{font-size:28px;line-height:1.15}.tp-s{font-size:21px;line-height:1.3}.tp-b{font-size:18px;line-height:1.6}.tp-c{font-size:17px;line-height:1.45;color:var(--soft)}
.f-inst.tp-h,.f-inst.tp-s{font-size:31px}.f-inst.tp-s{font-size:23px}
/* geometry */
.geo-page{position:relative;background:#fff;border:1px solid var(--hair);border-radius:10px;padding:20px 32px;font-family:var(--sans)}
.g-margin{position:absolute;top:0;bottom:0;width:32px;background:repeating-linear-gradient(45deg,#e3efec,#e3efec 6px,#f4f9f8 6px,#f4f9f8 12px)}.g-margin.l{left:0}.g-margin.r{right:0}
.g-margin span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-90deg);font-size:17px;color:var(--accd);white-space:nowrap}
.g-frame{position:relative;border:1.5px dashed var(--acc);padding:36px 14px 14px 26px;border-radius:4px}
.g-lab{display:block;font-size:17px;color:var(--accd);line-height:1.35}.g-lab.top{position:absolute;top:6px;left:26px}
.g-edge{position:absolute;left:24px;top:30px;bottom:10px;border-left:2px solid #c0392b33}.g-edge span{position:absolute;bottom:-2px;left:6px;font-size:17px;color:#8a3b2f;white-space:nowrap;display:none}
.g-h{height:16px;width:45%;background:var(--ink);border-radius:3px}
.g-gap{position:relative;height:24px;border-left:0;margin-left:0}.g-gap span{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:17px;color:var(--accd)}
.g-gap+.g-wide,.g-prose+.g-gap{}.g-prose{max-width:65%}.g-prose i{display:block;height:6px;background:#c9c1b2;border-radius:3px;margin:0 0 9px}.g-prose i.s{width:55%}
.g-wide{height:90px;background:#9fb9b5;border-radius:4px;display:flex;align-items:flex-end;padding:8px 10px}.g-wide .g-lab{color:#10302d}
.geo-key{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:6px;font-family:var(--sans);font-size:17px}.geo-key strong{color:var(--accd);margin-right:6px}
@media(max-width:520px){.g-prose{max-width:100%}.geo-page{padding:16px 22px}.g-margin{width:22px}}
/* footer demo */
.ex-foot{background:var(--card);border-top:1px solid var(--line);padding:20px 16px;text-align:center;font-family:var(--sans);font-size:17px;border-radius:0 0 12px 12px}
.ex-foot p{margin:6px 0}.ex-foot a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}.ef-seal{color:var(--soft)}.ef-n{color:var(--soft);letter-spacing:.06em}
/* swatches */
.swatches{list-style:none;padding:0;margin:10px 0;display:grid;gap:14px;grid-template-columns:1fr 1fr}@media(min-width:900px){.swatches{grid-template-columns:repeat(4,1fr)}}
@media(max-width:420px){.swatches{grid-template-columns:1fr}}
.sw-card{background:var(--sbg);color:var(--sfg);border-radius:12px;padding:16px 14px 0;min-height:200px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.sw-h{font-size:26px;line-height:1.1;margin:0 0 6px}.sw-b{font-size:17px;line-height:1.4;margin:0}.sw-dot{width:30px;height:4px;border-radius:2px;background:var(--sac);margin:14px 0}
.sw-foot{margin-top:auto;border-top:1px solid color-mix(in srgb,var(--sfg) 25%,transparent);font-family:var(--sans);font-size:17px;padding:10px 0;opacity:.92}
.sw-meta{margin:8px 0 0;font-family:var(--sans);font-size:17px;display:flex;flex-direction:column;gap:2px}.sw-meta span{color:var(--soft)}
.chips{display:flex;gap:6px;margin-top:4px}.chips i{width:22px;height:22px;border-radius:50%;border:1px solid var(--hair);display:block}
/* spotlight */
.spot{margin:28px 0;background:linear-gradient(180deg,#e3efec,#f4f9f8);border:2px solid var(--acc);border-radius:18px;padding:22px 22px 10px;scroll-margin-top:16px}
.spot h3{font-size:28px;line-height:1.2;margin:4px 0 10px}.spk{margin:0;font-family:var(--sans);font-weight:700;font-size:17px;color:var(--accd);letter-spacing:.02em}
.spot-dia{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}
.spot-dia .sd{flex:1 1 auto!important;background:var(--card);border:1px solid #c5ddd8;border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;flex:1 1 180px}
.spot-dia .sd.own{border:2px solid var(--acc)}.sdl{font-family:var(--sans);font-size:17px;color:var(--soft)}.sd strong{font-family:var(--sans);font-size:18px;white-space:nowrap}
@media(max-width:640px){.spot-dia{flex-direction:column;align-items:stretch}.spot-dia .arr{transform:rotate(90deg);align-self:center}}
.spot-ex{display:grid;gap:14px;grid-template-columns:1fr;align-items:center;background:var(--card);border-radius:14px;padding:14px;margin:14px 0}
@media(min-width:760px){.spot-ex{grid-template-columns:280px 1fr}}.spot-ex img{width:100%;height:auto;border-radius:10px;display:block}.spot-ex p{margin:4px 0}
.spot-steps .sub{display:block;font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:4px;line-height:1.45}
.slips li{margin:4px 0}
/* showcase */
.sgroup{margin:26px 0}.sgroup>h3{margin-bottom:2px}.sgroup>p{margin:0 0 10px;color:var(--soft)}
.g-kids{background:#fbf3e4;border-radius:16px;padding:6px 16px 12px}
.scards{list-style:none;padding:0;margin:0;display:grid;gap:16px;grid-template-columns:1fr}@media(min-width:620px){.scards{grid-template-columns:1fr 1fr}}@media(min-width:960px){.scards{grid-template-columns:repeat(3,1fr)}}
.scard a{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:44px}
.scard img{width:100%;height:auto;aspect-ratio:40/21;object-fit:cover;display:block}.scard .sn{font-family:var(--sans);font-weight:700;font-size:18px;padding:10px 12px 0}.scard .sh{font-family:var(--sans);font-size:17px;color:var(--acc);padding:0 12px 12px}
.scard a:hover .sn{text-decoration:underline}
.gamel{margin-top:22px;border-top:1px solid var(--line);padding-top:8px}.gamel h4{font-size:24px;margin:12px 0 6px}
.lc{display:grid;gap:14px;grid-template-columns:1fr;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px;margin:18px 0}@media(min-width:760px){.lc{grid-template-columns:280px 1fr}}.lc img{width:100%;height:auto;border-radius:10px}.lc p{margin:6px 0}
.seeall{text-align:center;font-family:var(--sans);font-size:19px;margin:24px 0 0}.seeall a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1.5px solid var(--acc);border-radius:999px;text-decoration:none;font-weight:600}
.tipc.feat{border:2px solid var(--acc);background:var(--accl)}
.pick.star{border-color:var(--acc);font-weight:700}
.foot .seal{margin:10px 0 2px}
.finale .gag{margin-top:8px}
.wnl{list-style:none;padding:0;margin:10px 0;display:grid;gap:12px}
.wnli{border-left:3px solid var(--acc);padding:4px 0 4px 16px}.wnli p{margin:4px 0}
.wnd{font-family:var(--sans);font-size:17px;color:var(--accd);font-weight:700}.wnt{font-family:var(--sans);font-size:20px;font-weight:700}
.ask.mini{margin:10px 0 4px;padding:12px 14px}
@media(min-width:960px){.layouts{grid-template-columns:1fr 1fr}}
.lay .tiprow{flex-direction:column;align-items:stretch;gap:8px}.lay .tiprow .copy{align-self:flex-start}
.way .tiprow{flex-direction:column;align-items:stretch;gap:8px}.way .tiprow .copy{align-self:flex-start}
@media(min-width:820px){.tpairs{grid-template-columns:1fr}}
@media(min-width:900px){.swatches{grid-template-columns:1fr 1fr}}
.sw{display:flex;flex-direction:column}.sw-card{flex:1;min-height:230px}
@media(max-width:600px){.ask{padding:14px 12px;gap:10px}.ask .gsm{width:28px;height:28px;flex-basis:28px}
.ask .tiprow,.vitem .tiprow,.tipc .tiprow,.comic .tiprow{flex-direction:column;align-items:stretch;gap:8px}.ask .tiprow .copy,.vitem .tiprow .copy,.tipc .tiprow .copy,.comic .tiprow .copy{align-self:flex-start}
.spot{padding:16px 12px 6px;margin-left:-8px;margin-right:-8px}.spot h3{font-size:25px}}

/* =========================================================
   TYPOGRAPHIC PASS (Oct 21, 2026)
   Newsreader (reading + display, optical sizes 6 to 72) with Libre Franklin (labels).
   Scale, phone / desktop: caption 17 · body 18/20 · lead 21/23 · h3 24/28 · h2 32/44 · h1 46/78
   Rhythm unit 8px. Prose measure about 62ch. Balance only on centered titles; pretty everywhere else.
   ========================================================= */
:root{--measure:62ch;--u:8px;--track-cap:.12em;--ink-soft:#3b4651}
html{font-kerning:normal;text-rendering:optimizeLegibility}
body{font-feature-settings:"kern","liga";font-variant-numeric:proportional-nums;line-height:1.62;font-optical-sizing:auto;-webkit-font-smoothing:antialiased}
@media (min-width:900px){body{line-height:1.65}}
p,li,dd,figcaption,blockquote,.note,.src,.end,.askn,.tipq{text-wrap:pretty;hanging-punctuation:first allow-end}
a{text-decoration-thickness:.06em;text-underline-offset:.2em;text-decoration-color:color-mix(in srgb,var(--acc) 55%,transparent)}
a:hover{text-decoration-color:currentColor}

/* headings: optical spacing, closer to what follows than to what precedes */
h1,h2,h3,h4{font-family:var(--serif);font-optical-sizing:auto;color:var(--ink);font-variant-numeric:lining-nums}
h1{font-weight:360;font-size:clamp(46px,7.6vw,78px);line-height:1.02;letter-spacing:-.022em;max-width:13ch;margin:0 auto calc(var(--u)*3);text-wrap:balance}
h2{font-weight:380;font-size:clamp(32px,4.6vw,44px);line-height:1.08;letter-spacing:-.015em;margin:calc(var(--u)*1) 0 calc(var(--u)*2.5);text-wrap:pretty}
.picker h2,.toc h2,.hero h2{text-wrap:balance}
h3{font-weight:480;font-size:clamp(24px,2.8vw,28px);line-height:1.2;letter-spacing:-.008em;margin:calc(var(--u)*7) 0 calc(var(--u)*1.5);text-wrap:pretty}
h3+p,h3+ul,h3+.demo,h4+p{margin-top:0}
h4{font-weight:500;font-size:clamp(21px,2.3vw,24px);line-height:1.25;margin:calc(var(--u)*5) 0 var(--u)}

/* eyebrows: tracked caps in the label face */
.kicker,.mnum,.dlabel,.xh,.tag,.spk,.wnd,.slabel{font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:var(--track-cap);text-transform:uppercase;font-variant-numeric:lining-nums tabular-nums;line-height:1.3}
.kicker,.mnum{color:var(--acc);margin:0 0 calc(var(--u)*1.5)}
.dlabel{color:var(--accd);margin:0 0 calc(var(--u)*1.5)}
.mnum{display:flex;align-items:center;gap:12px}.mnum::after{content:"";height:1px;width:48px;background:var(--hair)}
.slabel{letter-spacing:.06em}.slabel span{text-transform:none;letter-spacing:0;font-weight:400}
.tag{font-size:17px;color:var(--soft)}
.spk{letter-spacing:.1em}

/* reading measure: prose is narrow, figures use the frame */
.mod>p,.mod>ul,.mod>ol,.mod>.lead,.mod>.moment,.mod>.said,.sgroup>p,.gamel>p,.spot>p,.defs dd,.fold>p,.fold>.steps,.tip p,.lc p,.spot-ex p{max-width:var(--measure)}
.mod>p{margin:0 0 calc(var(--u)*2.5)}
ul,ol{padding-left:1.25em}li{margin:calc(var(--u)*1) 0;padding-left:.15em}li::marker{color:var(--acc);font-variant-numeric:tabular-nums;font-family:var(--sans);font-size:.9em}
.steps li::marker{font-weight:600}

/* cover */
.hero{padding:88px 28px 32px}
.promise{font-size:clamp(20px,2.2vw,23px);line-height:1.55;color:var(--ink-soft);max-width:34em;text-wrap:pretty}
.bigidea{font-size:18px;letter-spacing:.005em;margin-top:calc(var(--u)*2.5)}
.story{font-size:clamp(20px,2.3vw,24px);line-height:1.5;max-width:32em;color:var(--ink);font-weight:360;margin-top:calc(var(--u)*6)}
.story p{text-wrap:balance}
.story::before{content:"";display:block;width:56px;height:1px;background:var(--acc);margin:0 auto calc(var(--u)*3)}
.theme{font-size:17px;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:var(--soft);margin-top:calc(var(--u)*3.5);text-wrap:balance;line-height:1.5}

/* leads and moments */
.lead{font-size:clamp(21px,2.3vw,23px);line-height:1.5;font-weight:380;color:var(--ink);margin:0 0 calc(var(--u)*2.5)}
.moment{font-size:19px;line-height:1.55;border-left:1.5px solid var(--acc);padding:2px 0 2px 18px;margin:0 0 calc(var(--u)*4);color:var(--ink-soft)}
@media (min-width:900px){.moment{font-size:20px}}

/* pull quotes: hanging opening quote, rule above, tracked attribution */
.said{margin:calc(var(--u)*5) 0;padding:calc(var(--u)*2.5) 0 0;border-top:1px solid var(--hair);position:relative}
.said p{font-size:clamp(23px,2.7vw,28px);line-height:1.35;font-weight:360;letter-spacing:-.005em;color:var(--accd);text-indent:-.42em;text-wrap:balance}
@supports (hanging-punctuation:first){.said p{text-indent:0}}
.said::after{content:"From me";font-size:17px;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:var(--soft);margin-top:calc(var(--u)*1.5)}
.said-big{font-size:clamp(26px,3.2vw,34px);line-height:1.3;font-weight:360;font-style:italic;color:var(--accd);text-wrap:balance;text-indent:-.42em;max-width:24em}

/* captions */
.diagram figcaption,.shot figcaption,.codefig figcaption,.panel figcaption,.geo-key,.note{line-height:1.45;color:var(--soft);letter-spacing:.003em}
.codefig figcaption{font-size:17px;margin:0 0 4px}
.gagcap{font-size:clamp(20px,2.2vw,23px);font-weight:380;letter-spacing:-.003em;text-wrap:balance}
.panel figcaption{gap:10px}.pnum,.wn,.mark,.mk,.n,.pn,.toc a span{font-variant-numeric:lining-nums tabular-nums}

/* toc numerals */
.toc a{font-size:19px;line-height:1.35;align-items:baseline}
.toc a span{font-size:17px;font-weight:600;letter-spacing:.04em;min-width:2em;color:var(--acc)}

/* definitions */
.defs dt{font-size:22px;font-weight:480;letter-spacing:-.005em;line-height:1.25}
.defs dd{margin-top:calc(var(--u)*.75);color:var(--ink)}
.gloss dt{font-weight:600}

/* code cards */
.codefig pre{font-family:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;font-size:17px;line-height:1.6;padding:20px 22px;border-radius:14px;background:#1d2730;color:#f1ece2;box-shadow:inset 0 0 0 1px #2c3843;font-variant-ligatures:none;tab-size:2}
code{font-family:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;font-variant-ligatures:none;background:#e9f1ef;border-radius:5px;padding:.05em .32em}

/* prompt cards: quiet paper, hanging quote, label face button */
.tiprow{background:#fffefa;border:1px solid var(--line);border-radius:14px;padding:14px 16px 14px 20px;gap:16px;box-shadow:0 1px 0 rgba(31,42,51,.04)}
.tipq{font-size:18px;line-height:1.5;font-style:italic;color:var(--ink);text-indent:-.4em}
@supports (hanging-punctuation:first){.tipq{text-indent:0}}
.copy{font-weight:600;letter-spacing:.02em;border-width:1.5px}
.ask{border-radius:16px;padding:18px 20px}.askh{font-size:17px;letter-spacing:.06em;text-transform:uppercase;font-weight:700}
.ask .tiprow{background:#fffefa}

/* tip boxes and folds */
.tip{padding:18px 22px}.tip .tiph{letter-spacing:.1em;text-transform:uppercase;font-size:17px}
.fold summary{font-size:18px;font-weight:500;letter-spacing:.003em}
.xh{color:var(--accd)}
.end{font-size:17px}.end span{letter-spacing:.1em;text-transform:uppercase;font-size:17px}

/* consistent vertical rhythm between blocks */
.demo,.diagram,.codefig,.comic,.tip,.ask,.when,.shot,.vlist,.ways,.record{margin-block:calc(var(--u)*4)}
.orn{margin:calc(var(--u)*10) auto}
@media (max-width:600px){h3{margin-top:calc(var(--u)*6)}.orn{margin:calc(var(--u)*8) auto}.hero{padding-top:64px}}

/* pretty anchors: copy-link buttons, follow line */
.hrow{display:flex;align-items:flex-start;gap:8px}
.hrow>h2,.hrow>h3{flex:1;min-width:0}
.alink{flex:none;width:44px;height:44px;display:inline-grid;place-items:center;border:0;background:transparent;color:var(--soft);border-radius:50%;cursor:pointer;position:relative;margin-top:.1em;opacity:.7;transition:opacity .2s,background .2s}
.alink svg{width:22px;height:22px}
.alink:hover,.alink:focus-visible{opacity:1;background:var(--accl);color:var(--accd)}
.alink:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.alink .alt{position:absolute;right:0;top:100%;white-space:nowrap;font-family:var(--sans);font-size:17px;font-weight:600;color:var(--accd);background:var(--card);border:1px solid var(--line);border-radius:8px;padding:2px 8px;pointer-events:none}
.alink .alt:empty{display:none}
.wnd .alink{vertical-align:middle;margin:-10px 0 -10px 4px;width:44px;height:44px}
.wnd .alink svg{width:19px;height:19px}
.follow{font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:calc(var(--u)*3)}
.follow a{color:var(--accd);font-weight:600}
.foot .follow{margin:8px 0}
:target{scroll-margin-top:24px}
.mod,.spot,.wnli,h3[id]{scroll-margin-top:24px}
/* domain diagram: always one vertical chain (the frame is never wide enough for three across) */
.spot-dia{flex-direction:column;align-items:stretch;max-width:30em}
.spot-dia .arr{transform:rotate(90deg);align-self:center}
.tip p+p{margin-top:calc(var(--u)*1.5)}
/* svg diagrams pass */
.svgdia{margin:30px 0;padding:22px 18px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.svgdia svg{display:block;width:100%;height:auto;overflow:visible}
.svgdia .dn{display:none;max-width:420px;margin:0 auto}
@media (max-width:759px){.svgdia{padding:18px 14px}.svgdia .dw{display:none}.svgdia .dn{display:block}}
.svgdia figcaption{font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:14px;line-height:1.45}
.reclinks{display:flex;flex-wrap:wrap;gap:8px 16px;font-family:var(--sans);font-size:17px}
.shotfig{margin:30px 0}.shotfig img{display:block;width:100%;max-width:560px;height:auto;margin:0 auto;border-radius:14px;border:1px solid var(--line)}
.shotfig figcaption{font-family:var(--sans);font-size:17px;color:var(--soft);margin:12px auto 0;max-width:560px;line-height:1.45}
.shotfig .callout{position:relative;max-width:560px;margin:0 auto 16px;padding:0 40px 0 0;text-align:right;font-family:var(--sans);font-size:17px;line-height:1.4;color:var(--ink)}
.shotfig .callout .ck{display:inline-block;background:var(--accl);color:var(--accd);font-weight:600;border:1.5px solid var(--acc);border-radius:999px;padding:2px 12px;margin:0 6px 4px 0}
.shotfig .callout svg{position:absolute;right:8px;bottom:-14px;width:24px;height:28px;color:var(--acc)}
.shotfig figcaption .cl{display:block}.shotfig figcaption .cl+.cl{margin-top:10px}
@media (max-width:600px){.shotfig .callout{text-align:left;padding-right:44px}}
.gchat{max-width:560px;margin:0 auto;background:#161616;color:#ececec;border-radius:14px;padding:22px 22px 24px;font-family:var(--sans);font-size:17px;line-height:1.5;overflow-wrap:anywhere;text-align:left}
.gchat p{margin:0 0 12px}
.gc-user{background:#262626;border-radius:18px;padding:14px 18px;margin:0 0 28px 12%}
.gc-user p:last-child{margin:0}
.gc-muted{color:#a8a8a8}
.gc-u{text-decoration:underline;text-decoration-color:#8a8a8a;text-underline-offset:3px}
.gchat code{font-family:ui-monospace,Menlo,monospace;font-size:17px;color:#f4a27c;background:#2a2a2a;border-radius:5px;padding:1px 5px}
.gc-table{margin:16px 0 0;border:1px solid #333;border-radius:12px;padding:4px 14px}
.gc-table div{display:grid;grid-template-columns:minmax(0,11em) minmax(0,1fr);gap:4px 16px;padding:9px 0;border-top:1px solid #2e2e2e}
.gc-table div:first-child{border-top:0}
.gc-table dt{color:#cfcfcf}.gc-table dd{margin:0;color:#ececec}.gc-table strong{color:#fff;font-weight:700}
@media (max-width:480px){.gchat{padding:18px 16px}.gc-user{margin-left:0}.gc-table div{grid-template-columns:1fr;gap:0}.gc-table dt{color:#a8a8a8}}
/* publish sheet recreation */
.gpub{background:#212121;color:#ececec;font-family:var(--sans);font-size:17px;line-height:1.45;padding:18px 18px 20px;overflow:visible;text-align:left}
.gpub p{margin:0}.gpub svg{width:20px;height:20px;display:block}
.gpub .rel{position:relative}
.gpub .mark.pm{left:auto;right:-6px;top:50%;transform:translateY(-50%);z-index:2}
.gp-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gp-head strong{font-weight:700;font-size:18px}
.gp-pill{border:1px solid #444;border-radius:999px;padding:1px 12px;color:#b8b8b8}
.gp-share{margin-left:auto;background:#353535;border-radius:999px;padding:4px 14px;white-space:nowrap}
.gp-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:14px 0 16px}
.gp-tab{padding:6px 14px;border-radius:999px;color:#b0b0b0}.gp-tab.on{background:#363636;color:#fff}
.gp-l{color:#a8a8a8;margin:14px 0 8px!important}
.gp-f{display:flex;align-items:center;gap:10px;border:1px solid #3a3a3a;border-radius:12px;padding:12px 44px 12px 14px;margin:0 0 10px;overflow-wrap:anywhere;min-height:50px}
.gp-f.mute{color:#a8a8a8;padding-right:14px}.gp-f .gp-i{margin-left:auto;color:#bdbdbd;flex:none}.gp-f .gp-i.l{margin:0}
.gp-f .gp-i+.gp-i{margin-left:12px}.gp-dom{min-width:0}
.gp-n{color:#a8a8a8;margin:4px 4px 0!important}.gp-n.top{margin:0 0 14px!important}
.gp-dot{width:9px;height:9px;border-radius:50%;background:#6fdc8c;flex:none}
.gp-art{position:relative;background:#07080b;border-radius:14px;overflow:hidden;color:#f2f2f2}
.gp-art i{position:absolute;width:2px;height:2px;border-radius:50%;background:#cfd6e6;opacity:.7}
.gp-art.cover{aspect-ratio:1.86;display:grid;place-items:center}
.ga-c{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:40px 12px 16px}
.ga-m{font-family:"Archivo",var(--sans);font-size:30px;letter-spacing:.32em;font-weight:500;padding-left:.32em}
.ga-s{font-size:11px;letter-spacing:.2em}.ga-r{width:26px;height:1px;background:#bbb;margin:4px 0}
.ga-c em{font-family:var(--serif);font-size:17px}
.gp-btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 14px;white-space:nowrap;flex:none}
.gp-btn.regen{position:absolute;top:10px;right:52px;background:#151515}
.gp-ib{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;background:#151515;display:grid;place-items:center}
.gp-art.banner{min-height:124px;display:flex;align-items:flex-end}
.ga-b{display:flex;flex-direction:column;gap:4px;padding:18px 16px 14px}.ga-b .ga-m{font-size:22px;padding-left:0}
.ga-h{display:inline-flex;align-items:center;gap:8px;background:#111;border-radius:6px;padding:3px 8px;margin-top:6px;font-size:17px}
.ga-av{width:22px;height:22px;border-radius:50%;border:1px solid #666;font-size:11px;display:grid;place-items:center}
.gpub .gp-ver{width:18px;height:18px}
.gp-set{display:flex;gap:14px;align-items:flex-start;margin:6px 0 18px}.gp-set>div{flex:1;min-width:0}.gp-set strong{font-weight:500;font-size:18px}.gp-set p{color:#a8a8a8;margin-top:6px}
.gp-btn.dis{background:#3a2424;color:#ff9a94}.gp-btn.en{background:#fff;color:#111;font-weight:500}
.gp-set .mark.pm{right:auto;left:-6px;top:12px;transform:none}
.gpub .mark.pm.inl{position:static;transform:none;display:inline-grid;vertical-align:middle;margin:0 10px 0 0;width:30px;height:30px;font-size:17px}
.gp-f{padding-right:14px}.gp-f.rel{padding-right:44px}.gp-dom{overflow-wrap:normal;word-break:normal}
.gp-art.cover{display:flex;align-items:center;justify-content:center;aspect-ratio:auto;min-height:190px}.ga-c{width:100%;box-sizing:border-box;padding:56px 12px 20px}
.msk-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 10px}
@media (max-width:700px){.msk-grid{grid-template-columns:1fr}}
.msk-g{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.msk-g h4{font-family:var(--sans);font-size:17px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accd);margin:0 0 10px}
.msk-g ul{list-style:none;margin:0;padding:0}.msk-g li{margin:0 0 12px;display:flex;flex-direction:column;gap:4px}.msk-g li:last-child{margin:0}
.msk-g code{align-self:flex-start;font-size:17px;background:var(--accl);color:var(--accd);border-radius:6px;padding:1px 8px;overflow-wrap:anywhere}
.msk-g span{font-family:var(--sans);font-size:17px;line-height:1.45;color:var(--ink-soft)}
.msk-code{background:var(--ink);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.msk-code pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.msk-code code{color:#f3eee4;font-size:17px;line-height:1.5}
.msk-code .copy{align-self:flex-start}
.msk-code pre code{background:none!important;padding:0!important;color:#f3eee4!important;border:0!important;box-shadow:none!important}
.msk-tip{font-family:var(--sans);font-size:17px;line-height:1.45;color:var(--ink);background:var(--accl);border-left:3px solid var(--acc);border-radius:0 8px 8px 0;padding:8px 12px;margin:6px 0 4px}
.msk-g .msk-terms{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0}.msk-g .msk-terms li{flex-direction:row;margin:0;font-family:var(--sans);font-size:17px;border:1px solid var(--acc);color:var(--accd);border-radius:999px;padding:1px 10px}
.msk-feat{margin:22px 0;background:var(--card);border:1.5px solid var(--acc);border-radius:16px;padding:20px 22px}
.msk-feat .msk-fh{margin:0 0 8px}.msk-feat code{font-size:17px;background:var(--accl);color:var(--accd);border-radius:6px;padding:1px 8px;overflow-wrap:anywhere}
.msk-feat blockquote{margin:0 0 14px;padding:0;border:0;font-size:18px;line-height:1.6}.msk-feat blockquote p{margin:0 0 12px}
.msk-feat blockquote ul{margin:0 0 12px;padding-left:1.2em}.msk-feat blockquote li{margin:2px 0}
.msk-grid>.msk-g:last-child:nth-child(odd){grid-column:1/-1}
.msk-grid>.msk-g:last-child:nth-child(odd) ul{columns:2;column-gap:28px}
.msk-grid>.msk-g:last-child:nth-child(odd) li{break-inside:avoid}
@media (max-width:700px){.msk-grid>.msk-g:last-child:nth-child(odd) ul{columns:1}}
.codefig figcaption a,.pcard a{padding-block:12px;-webkit-box-decoration-break:clone}
.shopchat ol{margin:0 0 12px;padding-left:1.4em}.shopchat li{margin:4px 0}.shopchat ul{margin:6px 0;padding-left:1.2em}
.shoptip{margin-top:40px}
.callout .ck .mic{width:17px;height:17px;display:inline-block;vertical-align:-3px;margin-right:6px;color:var(--acc)}
.shotfig .callout .ck svg.mic{position:static}
.callout .micline{display:block;color:var(--soft)}
h1 .h1mic{display:inline-block;white-space:nowrap}h1 .mic{width:.5em;height:.5em;margin-left:.18em;vertical-align:.12em;color:var(--acc)}
.tipbox{margin:36px 0;padding:20px 22px;background:var(--card);border:1px solid var(--line);border-radius:16px}.tipbox h3{margin-top:0}.tipbox ul{margin:12px 0 0;padding-left:1.2em}.tipbox li{margin:0 0 10px}
.buydom{margin:18px 0}
.gdfig{margin:24px 0}.gdfig figcaption{font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:10px;line-height:1.45}
.gd{background:#fff;color:#111;border:1px solid var(--line);border-radius:12px;padding:18px;font-family:var(--sans);font-size:17px;line-height:1.4}
.gd p{margin:0}.gd svg{width:20px;height:20px;flex:none}
.gd-h{font-weight:600;margin-bottom:10px!important}.gd-box{background:#f3f3f3;border-radius:6px;padding:14px}
.gd-note{display:flex;gap:12px;justify-content:space-between;color:#333;margin-bottom:14px!important}.gd-note u{text-underline-offset:2px}
.gd-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:12px}
.gd-row>div{display:flex;flex-direction:column;gap:6px;min-width:0}.gd-l{color:#444}.gd-l b{color:#c41e1e;font-weight:400}
.gd-f{display:flex;justify-content:space-between;align-items:center;gap:6px;background:#fff;border:1px solid #8a8a8a;border-radius:6px;padding:10px 12px;overflow-wrap:anywhere;min-height:48px}
.gd-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}.gd-sp{flex:1}
.gd-b{border:1px solid #111;border-radius:6px;padding:8px 16px;background:#fff;color:#111;white-space:nowrap}.gd-b.dark{background:#111;color:#fff}
.gd-t{font-size:24px;font-weight:600}.gd-d{font-weight:600;margin:4px 0 14px!important}
.gd-warn{display:flex;gap:12px;background:#fdeaa6;border-radius:8px;padding:12px 14px;color:#222}
@media (max-width:700px){.gd-row{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.gd-row{grid-template-columns:1fr}.gd-sp{display:none}}
.gd-row{grid-template-columns:1fr 1fr 1.5fr 1fr}.gd-f{overflow-wrap:normal}
@media (max-width:700px){.gd-row{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.gd-row{grid-template-columns:1fr}.gd-btns .gd-b:first-child{flex-basis:100%;text-align:center}.gd-f{overflow-wrap:anywhere}}
.gdv{max-width:440px}.gdv p{margin:0 0 14px}.gdv-back{display:flex;align-items:center;gap:6px;margin-top:16px!important}
.gdv-h{font-size:26px;font-weight:700}.gdv-in{color:#555;margin-bottom:14px}.gdv-btn{display:block;text-align:center;padding:14px;margin-bottom:16px}.gdv-mute{color:#666}
.collab{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}.collab-line{font-size:1.15em}
.comicfig{max-width:360px;margin:24px auto}.comicfig img{width:100%;height:auto;border-radius:6px}.comicfig figcaption{font-family:var(--sans);font-size:17px;color:var(--soft);margin-top:8px}
.trust{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.checks{font-family:var(--sans);font-size:17px;padding-left:0;list-style:none}.checks li{position:relative;padding-left:30px;margin:8px 0}.checks li::before{content:"";position:absolute;left:4px;top:.35em;width:12px;height:7px;border-left:2px solid var(--acc);border-bottom:2px solid var(--acc);transform:rotate(-45deg)}
.sg-t{font-family:var(--serif);font-size:24px;margin:36px 0 6px}.sg-l{font-family:var(--sans);font-size:17px;font-weight:600;color:var(--accd);margin:18px 0 10px}
.sitegrid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sitegrid.adults{grid-template-columns:repeat(4,1fr)}
.sitegrid a{display:flex;flex-direction:column;gap:2px;min-height:44px;height:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fffdf8;text-decoration:none;color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.35}
.sitegrid a:hover,.sitegrid a:focus-visible{border-color:var(--acc)}
.sg-n{font-weight:600;color:var(--accd)}.sg-h{color:var(--soft);overflow-wrap:anywhere}.sg-d{color:var(--ink)}
.sitegrid.adults .sg-d{display:none}
.sg-all{display:inline-block;min-height:44px;line-height:44px;font-family:var(--sans);font-size:17px}
@media (max-width:900px){.sitegrid{grid-template-columns:repeat(2,1fr)}.sitegrid.adults{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.sitegrid.kids .sg-h{display:none}.sitegrid a{padding:10px 12px}.shotfig .callout .ck{display:table;margin-bottom:6px}}
@media (max-width:420px){.sitegrid.kids{grid-template-columns:1fr}.sitegrid.kids .sg-h{display:block}}
.comicfig figcaption a{padding-block:12px;-webkit-box-decoration-break:clone}
.sitegrid,.sitegrid.adults{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.sg-h{overflow-wrap:normal;word-break:normal}
@media (max-width:600px){.sitegrid,.sitegrid.adults{grid-template-columns:1fr 1fr}.sitegrid .sg-h,.sitegrid.kids .sg-h{display:none}.sitegrid a{font-size:17px}}
@media (min-width:601px){.sitegrid.kids li:last-child{grid-column:1/-1}}
.connect,.links{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.linkgrid .sg-h{display:block!important;overflow-wrap:anywhere}
@media (max-width:600px){.sitegrid.linkgrid{grid-template-columns:1fr}}
.askbox{background:var(--accl);border-radius:12px;padding:14px 18px;margin:18px 0}

.plugfig{margin:22px 0}.plugfig img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}.plugfig.pf-side img{max-width:376px}.plugfig figcaption{font-size:17px;color:var(--soft);margin-top:8px}
@media (max-width:760px){.plugfig.pf-wide .pf-zoom{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px}.plugfig.pf-wide img{width:680px;max-width:none}.plugfig.pf-wide figcaption::after{content:" Swipe sideways, or tap to open it full size."}}

.mod.cheats{max-width:100%}
.mod.cheats>.cheat-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:16px;max-width:none}
.cheat-grid>li{margin:0;padding:0}
.cheat{display:flex;flex-direction:column;gap:16px;justify-content:space-between;min-width:0;background:var(--accl);border-radius:16px;padding:20px 18px 16px;border-top:4px solid var(--acc);box-shadow:0 8px 22px rgba(31,42,51,.08)}
.cheat-q{margin:0;font-family:var(--serif);font-weight:500;font-size:20px;line-height:1.45;color:var(--ink)}
.cheat .copy{align-self:flex-start;min-height:44px;font-size:18px}
@media (min-width:760px){.mod.cheats>.cheat-grid{grid-template-columns:1fr 1fr}}
@media (min-width:1440px){.mod.cheats>.cheat-grid{grid-template-columns:1fr 1fr 1fr}}

/* text size: three A's, no plus or minus. Body steps 18, 21, 24. */
.types{display:none}
.js .types{display:flex;justify-content:flex-end;align-items:baseline;max-width:1040px;margin:0 auto;padding:12px 28px 0}
.types-a{font-family:var(--serif);font-weight:500;line-height:1;color:var(--ink-soft);background:transparent;border:0;min-width:44px;min-height:44px;padding:10px 6px 8px;cursor:pointer}
.types-a:nth-child(1){font-size:18px}
.types-a:nth-child(2){font-size:26px}
.types-a:nth-child(3){font-size:36px}
.types-a[aria-pressed="true"]{color:var(--acc)}
html[data-read="2"]{--read:1.1667}
html[data-read="3"]{--read:1.3333}
@media (min-width:900px){
  html[data-read="2"]{--read:1.05}
  html[data-read="3"]{--read:1.2}
}
html[data-read="2"] body,html[data-read="3"] body{font-size:calc(18px * var(--read))}
@media (min-width:900px){
  html[data-read="2"] body,html[data-read="3"] body{font-size:calc(20px * var(--read))}
}
html[data-read="2"] h1,html[data-read="3"] h1{font-size:calc(clamp(46px,7.6vw,78px) * var(--read))}
html[data-read="2"] h2,html[data-read="3"] h2{font-size:calc(clamp(32px,4.6vw,44px) * var(--read))}
html[data-read="2"] .picker h2,html[data-read="3"] .picker h2{font-size:calc(clamp(24px,3vw,30px) * var(--read))}
html[data-read="2"] h3,html[data-read="3"] h3{font-size:calc(clamp(24px,2.8vw,28px) * var(--read))}
html[data-read="2"] h4,html[data-read="3"] h4{font-size:calc(clamp(21px,2.3vw,24px) * var(--read))}
html[data-read="2"] .lead,html[data-read="3"] .lead{font-size:calc(clamp(20px,2.3vw,23px) * var(--read))}
html[data-read="2"] .promise,html[data-read="3"] .promise{font-size:calc(clamp(20px,2.2vw,23px) * var(--read))}
html[data-read="2"] .cheat-q,html[data-read="3"] .cheat-q{font-size:calc(20px * var(--read))}
html[data-read="2"] .tipq,html[data-read="3"] .tipq{font-size:calc(18px * var(--read))}
html[data-read="2"] .bigidea,html[data-read="3"] .bigidea{font-size:calc(18px * var(--read))}
html[data-read="2"] .said p,html[data-read="3"] .said p{font-size:calc(clamp(21px,2.4vw,24px) * var(--read))}

