/* Resibook site. Daylight only at launch. Tokens from the theme brief; modules in the ground's own voxel style. */
@font-face{font-family:"Fraunces";font-weight:100 900;font-style:normal;font-display:swap;src:url(/fonts/fraunces-latin-opsz-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-weight:200 900;font-style:normal;font-display:swap;src:url(/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Plex Ground";font-weight:700;font-style:normal;font-display:block;src:url(/fonts/plex-mono-700-ground.woff2) format("woff2")}
@font-face{font-family:"Fraunces fallback";src:local("Georgia");size-adjust:104%;ascent-override:92%;descent-override:24%}
@font-face{font-family:"Source Sans fallback";src:local("Arial");size-adjust:92%;ascent-override:104%;descent-override:29%}

:root{
  --action:var(--leaf);--action-deep:var(--leaf-deep);--on-action:var(--on-leaf);
  --font-display:"Fraunces","Fraunces fallback",Georgia,"Times New Roman",serif;
  --font-sans:"Source Sans 3","Source Sans fallback",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,"Cascadia Mono",Consolas,monospace;
  --frame:0px;
  --bleed:clamp(0px, calc(var(--frame) - 56px), 150px);
  --u:calc((100vw - var(--sbw,0px) - 2 * var(--frame)) / 1040);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--seed);-webkit-text-size-adjust:100%;overflow-y:scroll}
body{margin:0;position:relative;overflow-x:hidden;background:var(--seed);color:var(--ink);font:400 17px/26px var(--font-sans)}
img{max-width:100%;height:auto}
a{color:var(--water)}
a:focus-visible,button:focus-visible,summary:focus-visible,.key:focus-visible{outline:2px solid var(--ink);outline-offset:3px} /* ink ring: 10.7:1 on the sand, 11.8:1 on the cards (water was 4.9:1 and 5.4:1) */
.skip{position:absolute;left:12px;top:-60px;z-index:400;background:var(--surface);color:var(--ink);padding:10px 16px;border:1px solid var(--seed-strong);border-radius:6px}
.skip:focus{top:12px}
.figure{font-family:var(--font-mono);font-variant-numeric:tabular-nums}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- the ground layer ---------- */
#ground{position:absolute;top:0;bottom:0;left:var(--frame);right:var(--frame);overflow:hidden;z-index:0;background:var(--seed)}
@media (min-width:1180px){:root{--frame:max(48px, calc((100vw - var(--sbw,0px) - 1180px) / 2))}}
/* white dotted paper either side of the ground, with a railing of coloured lights and ruler ticks at its inner edge */
.frame-rail{position:absolute;top:0;bottom:0;width:var(--frame);z-index:1;pointer-events:none;
  background:radial-gradient(circle,var(--seed) 1px,transparent 1.5px) 0 0/16px 16px,var(--surface)}
/* the railing: inline SVG (Railing.astro) where the 40 x 240 background tile was, so its colours come from palette.css */
.frame-rail .rail-art{position:absolute;top:0;right:var(--bleed);width:40px;height:100%;display:block}
/* the inner shadow, on top of the railing as it was when the railing was a background */
.frame-rail::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset -1px 0 0 var(--sand-shade),inset -22px 0 20px -16px var(--umber-12)}
.rail-defs{position:absolute;width:0;height:0;overflow:hidden}
.frame-rail.l{left:0}
.frame-rail.r{right:0;transform:scaleX(-1)}
@media (max-width:1179px){.frame-rail{display:none}}
/* the header and footer line up with the sections' widest edges */
@media (min-width:1180px){.site-head .wrap,.site-foot .wrap{max-width:none;padding-left:calc(var(--frame) - var(--bleed) + var(--u) * 20);padding-right:calc(var(--frame) - var(--bleed) + var(--u) * 20)}}
#page{position:relative;z-index:200}

/* ---------- logo, copied unchanged from the app (ui/src/components.css, .rbk-logo) ---------- */
.rbk-logo{font-family:'Fraunces Variable','Fraunces',Georgia,serif; font-weight:700; font-style:normal; font-variation-settings:'opsz' 96; letter-spacing:-.01em; text-transform:none; line-height:1; white-space:nowrap; display:inline; /* not inline-flex: as flex items the letters copy on separate lines */ color:var(--rbk-c1, var(--rb-ink)); --rbk-cat:var(--rb-cat);}
.rbk-logo .ok{color:var(--rbk-c2, var(--rb-accent));}
.rbk-logo .us{color:var(--rbk-cat);}
.rbk-logo .o{position:relative; display:inline-block; line-height:1; color:transparent; margin:0 -.039em; --oc:var(--rbk-c1, var(--rb-ink));}
.rbk-logo .ok .o{--oc:var(--rbk-c2, var(--rb-accent));}
.rbk-logo .o::before, .rbk-logo .o::after{content:""; position:absolute; left:.0585em; width:.40em; pointer-events:none;}
.rbk-logo .o::before{top:.405em; height:.4625em; border-radius:50%; background:radial-gradient(ellipse .072em .216em at 50% 50%, var(--rbk-cat) 96%, var(--oc) 100%); transform-origin:50% 50%; animation:rbk-blink 7s ease-in-out -4s infinite;}
.rbk-logo .o::after{top:calc(.405em + .4625em / 2 - .03em); height:.06em; border-radius:50%; background:var(--oc); opacity:0; animation:rbk-lid 7s ease-in-out -4s infinite;}
@keyframes rbk-blink{0%, 88%, 100%{transform:scaleY(1); opacity:1;} 91%, 94%{transform:scaleY(.14); opacity:1;} 91.3%, 93.7%{transform:scaleY(.1); opacity:0;}}
@keyframes rbk-lid{0%, 91%, 94%, 100%{opacity:0;} 91.3%, 93.7%{opacity:1;}}
@media (prefers-reduced-motion: reduce){ .rbk-logo .o::before, .rbk-logo .o::after{animation:none;} }
/* the logo's three Manila Folder colours (Daylight) */

/* ---------- header and footer bands ---------- */
.band{background:var(--paper)}
.wrap{max-width:1080px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
.site-head{position:sticky;top:0;z-index:300;border-bottom:1px solid var(--seed-strong)}
.site-head .wrap{display:flex;align-items:center;gap:24px;height:68px}
.site-head .home{text-decoration:none;font-size:30px;display:inline-flex;align-items:center;gap:10px}
.app-icon{display:block;flex:none;filter:drop-shadow(0 2px 3px var(--ink-18))}
.foot-brand{display:inline-flex;align-items:center;gap:9px}
.app-tile{display:flex;align-items:center;gap:.8em;margin-bottom:.9em}
.app-tile img{width:calc(var(--u) * 64);height:calc(var(--u) * 64);min-width:48px;min-height:48px;filter:drop-shadow(0 4px 6px var(--ink-22))}
.app-name{display:flex;flex-direction:column;font:600 1.25em/1.15 var(--font-display);color:var(--ink)}
.app-name small{font:500 .62em/1.4 var(--font-mono);letter-spacing:.04em;color:var(--ink-muted)}
.nav{display:flex;gap:22px;margin-left:auto;font:600 15px/1 var(--font-sans)}
.nav a{color:var(--ink);text-decoration:none;padding:8px 2px;border-bottom:2px solid transparent}
.nav a[aria-current="page"]{border-bottom-color:var(--leaf)}
.menu{display:none;margin-left:auto;position:relative}
.menu summary{list-style:none;cursor:pointer;font:600 15px/1 var(--font-sans);padding:10px 16px;border-radius:999px;border:1px solid var(--seed-strong);background:var(--surface)}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;right:0;top:calc(100% + 10px);display:flex;flex-direction:column;min-width:200px;padding:10px;background:var(--surface);border:1px solid var(--seed-strong);border-radius:12px;box-shadow:0 10px 30px var(--ink-18)}
.menu nav a{color:var(--ink);text-decoration:none;padding:12px 12px;font:600 16px/1 var(--font-sans)}
.site-foot{border-top:1px solid var(--seed-strong);padding-block:40px 28px;position:relative;z-index:200}
.site-foot .cols{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px;font-size:15px;line-height:24px}
.site-foot h2{font:600 13px/18px var(--font-sans);letter-spacing:.02em;margin:0 0 8px;color:var(--ink-muted)}
.site-foot a{display:block;color:var(--ink)}
.site-foot .fine{margin:28px 0 0;font-size:14px;color:var(--ink-muted)}
.site-foot .fine a{display:inline;color:var(--ink)}

/* ---------- keycap buttons, like the typewriter keys ---------- */
.key{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 22px 16px;border:0;border-radius:5px;font:600 15px/1 var(--font-sans);text-decoration:none;cursor:pointer;
  color:var(--on-action);background:var(--action);box-shadow:inset 0 -5px 0 var(--action-deep),inset 0 2px 0 var(--white-22),0 3px 0 var(--ink-25)}
.key:active{transform:translateY(2px);box-shadow:inset 0 -3px 0 var(--action-deep),0 1px 0 var(--ink-25)}
.key--quiet{color:var(--ink);background:var(--key-quiet);box-shadow:inset 0 -5px 0 var(--key-quiet-lip),inset 0 0 0 1px var(--sand-edge),0 3px 0 var(--ink-20)}
.key--sun{color:var(--on-sun);background:var(--sun);box-shadow:inset 0 -5px 0 var(--sun-lip),inset 0 2px 0 var(--white-35),0 3px 0 var(--ink-25)}
.key[aria-disabled="true"]{color:var(--ink-muted);background:var(--seed);box-shadow:inset 0 -5px 0 var(--sand-side);cursor:not-allowed;pointer-events:none}
@media (hover:hover) and (pointer:fine){.key:hover{filter:brightness(1.06)}.key--quiet:hover{background:var(--leaf-wash)}}
.keys{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.note{font-size:.88em;color:var(--ink-muted)}
.vx .note{color:var(--ink)}

/* ---------- badges and tags ---------- */
.badge{display:inline-flex;align-items:center;padding:3px 11px;border-radius:999px;font:600 13px/18px var(--font-sans);background:var(--surface);border:1px solid var(--seed-strong);color:var(--ink)}
.badge--water{color:var(--water);border-color:var(--water)}
.vx-screen>.demo-tagline{position:absolute;bottom:14px;right:16px;z-index:4;pointer-events:none}
.tag{display:inline-flex;padding:3px 9px;border-radius:999px;font:600 12px/16px var(--font-sans);background:var(--sun-wash);border:1px solid var(--sun-lip);color:var(--ink);white-space:nowrap}

/* ---------- the voxel module ---------- */
.vx{--top:var(--sand-top);--rim:var(--sand-rim);--shade:var(--sand-shade);--side:var(--sand-side);--edge:var(--sand-edge);position:relative;filter:drop-shadow(6px 10px 6px var(--umber-18))}
.vx--sage{--top:var(--sage-top);--rim:var(--sage-rim);--shade:var(--sage-shade);--side:var(--sage-side);--edge:var(--sage-edge)}
.vx--clay{--top:var(--terra-top);--rim:var(--terra-rim);--shade:var(--terra-shade);--side:var(--terra-side);--edge:var(--terra-edge)}
.vx-block{clip-path:polygon(0 15px,5px 15px,5px 10px,10px 10px,10px 5px,15px 5px,15px 0,calc(100% - 15px) 0,calc(100% - 15px) 5px,calc(100% - 10px) 5px,calc(100% - 10px) 10px,calc(100% - 5px) 10px,calc(100% - 5px) 15px,100% 15px,100% calc(100% - 15px),calc(100% - 5px) calc(100% - 15px),calc(100% - 5px) calc(100% - 10px),calc(100% - 10px) calc(100% - 10px),calc(100% - 10px) calc(100% - 5px),calc(100% - 15px) calc(100% - 5px),calc(100% - 15px) 100%,15px 100%,15px calc(100% - 5px),10px calc(100% - 5px),10px calc(100% - 10px),5px calc(100% - 10px),5px calc(100% - 15px),0 calc(100% - 15px));
  background:color-mix(in srgb,var(--side) 80%,transparent);padding-bottom:.65em;height:100%}
.vx-body{clip-path:inherit;height:100%;display:flex;flex-direction:column;padding:.85em 1em 1em;
  background:linear-gradient(var(--edge) 0 0) left 9px top 9px/5px 5px no-repeat,linear-gradient(var(--edge) 0 0) right 9px top 9px/5px 5px no-repeat,linear-gradient(var(--edge) 0 0) left 9px bottom 9px/5px 5px no-repeat,linear-gradient(var(--edge) 0 0) right 9px bottom 9px/5px 5px no-repeat,color-mix(in srgb,var(--top) 62%,transparent);
  box-shadow:inset 0 3px 0 var(--rim),inset 3px 0 0 var(--rim),inset 0 -3px 0 var(--shade),inset -3px 0 0 var(--shade)}
.vx-head{display:flex;align-items:center;gap:10px;margin:.1em .6em .7em;font:500 .7em/1.2 var(--font-mono);letter-spacing:.06em;color:var(--ink)}
.leds{margin-left:auto;display:flex;gap:5px}
.led{width:8px;height:8px;flex:none;background:var(--c,var(--leaf));box-shadow:inset 0 -2px 0 var(--black-20),inset 0 1px 0 var(--white-45)}
.led.sun{--c:var(--sun)}.led.clay{--c:var(--clay)}.led.off{--c:var(--edge)}
.vx-screen{position:relative;flex:1;clip-path:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px));
  background:color-mix(in srgb,var(--scr,var(--surface)) 88%,transparent);padding:1.1em 1.3em;overflow:hidden;
  box-shadow:inset 4px 4px 0 var(--ink-14),inset -2px -2px 0 var(--white-85),inset 0 0 0 1px var(--ink-18)}
.scr-leaf{--scr:var(--leaf-wash)}.scr-water{--scr:var(--water-wash)}.scr-sun{--scr:var(--sun-wash)}.scr-care{--scr:var(--clay-wash)}
.vx-screen>*{position:relative;z-index:1}
.vx-screen.pic{flex:none;padding:5px;background:color-mix(in srgb,var(--surface) 70%,transparent)}
.vx-screen.pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}
.vx-screen.pic.cropped{height:calc(var(--u) * var(--crop))}
.vx-screen::after{content:"+ + - + - - + + - + - + + - - + + - + - + + - + - - + + - + - + + - - + + - + - + + - + - - + + - + - + + - - + + - + - + + - + - - + + - + - + + - - + + - + -" / "";
  position:absolute;left:0;right:0;top:0;z-index:0;font:700 12.5px/16px var(--font-mono);letter-spacing:.2em;white-space:nowrap;overflow:hidden;color:var(--leaf);opacity:0;pointer-events:none}
.vx-screen.pic::after{z-index:2}

@keyframes rb-scan{0%{opacity:.9;transform:translateY(0)}85%{opacity:.6}100%{opacity:0;transform:translateY(var(--sh,300px))}}
.capline{display:flex;justify-content:space-between;align-items:center;gap:.6em;padding:.6em .3em 0}
.caption{font:400 .78em/1.4 var(--font-mono);color:var(--ink)}
.vx-screen p,.vx-body>p{margin:.45em 0 0}
.vx h1,.vx h2,.vx h3{font-family:var(--font-display);font-weight:600;margin:0;text-wrap:balance}
.vx h1{font-size:2.9em;line-height:1.06;letter-spacing:-.01em}
.vx h2{font-size:1.65em;line-height:1.15}
.vx h3{font-size:1.25em;line-height:1.2}
.vx .lead{font-size:1.15em;margin-top:.45em}
.vx .keys{margin-top:.9em}
.vx .stepwords{padding:0 .4em}
.vx-screen.pic+.stepwords{margin-top:.7em}

/* ledger rows with dotted leaders */
.ledger{margin:.6em 0 0;padding:0;list-style:none;font:400 .92em/1.5 var(--font-mono);font-variant-numeric:tabular-nums}
.ledger li{display:flex;align-items:baseline;gap:.5em;padding:.15em 0}
.ledger .d{flex:1;border-bottom:2px dotted var(--seed-strong);transform:translateY(-.25em);min-width:1em}

/* the pull-down screen and the projector */
.pscreen{margin:0;filter:drop-shadow(6px 10px 6px var(--umber-20))}
.rod{height:14px;margin:0 -10px;background:var(--sand-side);clip-path:polygon(0 3px,3px 3px,3px 0,calc(100% - 3px) 0,calc(100% - 3px) 3px,100% 3px,100% calc(100% - 3px),calc(100% - 3px) calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,3px calc(100% - 3px),0 calc(100% - 3px));box-shadow:inset 0 3px 0 var(--rod-hi),inset 0 -3px 0 var(--sand-edge)}
.sheet{margin:0 6px;background:color-mix(in srgb,var(--surface) 82%,transparent);padding:8px 8px 10px;box-shadow:inset 0 0 0 1px var(--seed-strong)}
.sheet img{display:block;width:100%;border:1px solid var(--seed)}
.weight{height:8px;margin:0 2px;background:var(--sand-edge)}
.beam{display:block;width:100%;height:calc(var(--u) * 46);margin-top:-1px}
.beam polygon{fill:var(--beam);opacity:.6}

@keyframes rb-flick{0%{opacity:.15}20%{opacity:.6}35%{opacity:.25}55%{opacity:.6}70%{opacity:.35}100%{opacity:.6}}
.projector{display:block;width:24%;min-width:64px;margin:0 auto;filter:drop-shadow(5px 8px 5px var(--umber-26))}

/* rail */
.rail .vx-body{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6em 1.4em;padding:.75em 1.6em .95em}
.rail .item{display:flex;align-items:center;gap:.6em;font-weight:600}
.rail .led{width:10px;height:10px}

/* receipt printer */
/* the printer slot the receipt comes out of: a thin opening with a lit lower lip */
.slot{height:9px;margin:6px 20px 0;border-radius:5px;background:linear-gradient(var(--slot-dark) 0,var(--slot-dark) 2px,var(--slot-mid) 2px,var(--slot-light));box-shadow:0 1px 0 var(--cream),0 0 0 1px var(--slot-low)}
.receipt{position:relative;margin:-8px 2.2em 0;padding:1em 1.2em 1.6em;background:color-mix(in srgb,var(--cream) 94%,transparent);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 8px),97.9% 100%,95.8% calc(100% - 8px),93.8% 100%,91.7% calc(100% - 8px),89.6% 100%,87.5% calc(100% - 8px),85.4% 100%,83.3% calc(100% - 8px),81.3% 100%,79.2% calc(100% - 8px),77.1% 100%,75% calc(100% - 8px),72.9% 100%,70.8% calc(100% - 8px),68.8% 100%,66.7% calc(100% - 8px),64.6% 100%,62.5% calc(100% - 8px),60.4% 100%,58.3% calc(100% - 8px),56.3% 100%,54.2% calc(100% - 8px),52.1% 100%,50% calc(100% - 8px),47.9% 100%,45.8% calc(100% - 8px),43.8% 100%,41.7% calc(100% - 8px),39.6% 100%,37.5% calc(100% - 8px),35.4% 100%,33.3% calc(100% - 8px),31.3% 100%,29.2% calc(100% - 8px),27.1% 100%,25% calc(100% - 8px),22.9% 100%,20.8% calc(100% - 8px),18.8% 100%,16.7% calc(100% - 8px),14.6% 100%,12.5% calc(100% - 8px),10.4% 100%,8.3% calc(100% - 8px),6.3% 100%,4.2% calc(100% - 8px),2.1% 100%,0 calc(100% - 8px));
  font:400 .9em/1.6 var(--font-mono);font-variant-numeric:tabular-nums;color:var(--ink)}
.receiptwrap{filter:drop-shadow(5px 9px 5px var(--umber-22));position:relative;z-index:-1}
.receipt .r{display:flex;gap:.4em;align-items:baseline}
.receipt .d{flex:1;border-bottom:2px dotted var(--seed-strong);transform:translateY(-.3em);min-width:.8em}
.receipt .h{text-align:center;font-weight:500;letter-spacing:.3em;margin-bottom:.5em}
.receipt .t{border-top:1.5px dashed var(--seed-strong);margin-top:.6em;padding-top:.6em;text-align:center}

/* FAQ */
.faq details{border-top:1px dashed var(--seed-strong);padding:.6em 0}
.faq details:first-child{border-top:0}
.faq summary{cursor:pointer;font-weight:600;list-style-position:outside}
.faq details p{margin:.4em 0 0}

/* ---------- the strategic layout (desktop): sections sit in the gaps between the ground's stations ---------- */
.strat{position:relative;font-size:clamp(13px,calc(var(--u) * 12.6),17px);line-height:1.5}
.strat-space{height:calc(var(--u) * var(--page-h) - 68px)}
.strat .sec{position:absolute;left:calc(var(--frame) + var(--u) * var(--x,20));width:calc(var(--u) * var(--w,1000));top:calc(var(--u) * var(--y) - 68px)}
/* on wide screens a section may reach into the white sides, its edge kept the same distance inside the railing as it sits from the ground's edge on a laptop */
/* an area or machine moved or sized in the preview's edit mode keeps that place on wide screens */
@media (min-width:1180px){
.strat .sec[data-h]{min-height:calc(var(--u) * var(--h))}
.strat .vx[data-mv]{translate:calc(var(--u) * var(--mx,0)) calc(var(--u) * var(--my,0))}
.strat .vx[data-mw]{width:calc(100% + var(--u) * var(--mw,0));max-width:none;justify-self:start;align-self:start}
.strat .vx[data-mh]{min-height:calc(var(--u) * var(--mh))}
.strat .vx[data-mh]>.vx-block{min-height:inherit;display:flex;flex-direction:column}
.strat .vx[data-mh]>.vx-block>.vx-body{flex:1}
}
.ai-eg{margin-top:.55em;padding:.4em .7em;font-size:.9em;border:1px dashed var(--umber-35);border-radius:6px;background:var(--cream-55)}
.ai-eg p{margin:.2em 0 0}
[data-sec="ai"] .vx-screen{padding-top:.7em;padding-bottom:.7em}
.ai-note{margin:.7em 0 0;font-size:.8em;line-height:1.4;color:var(--ink)}
.receipt .per{font:400 .62em var(--font-sans);color:var(--ink)}
.ai-eg .ai-eg-h{margin:0;font:500 .72em var(--font-mono);letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.strat .sec[data-bleed="left"]{left:calc(var(--frame) + var(--u) * var(--x,20) - var(--bleed));width:calc(var(--u) * var(--w,1000) + var(--bleed))}
.strat .sec[data-bleed="right"]{width:calc(var(--u) * var(--w,1000) + var(--bleed))}
.strat .sec[data-bleed="both"]{left:calc(var(--frame) + var(--u) * var(--x,20) - var(--bleed));width:calc(var(--u) * var(--w,1000) + 2 * var(--bleed))}
.sec{scroll-margin-top:84px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.sec .grid{display:grid;gap:calc(var(--u) * 26)}
.sec .g2{grid-template-columns:1fr 1fr}
.sec .g21{grid-template-columns:1.6fr 1fr}
.sec .g12{grid-template-columns:1fr 1.6fr}
.sec .g3{grid-template-columns:repeat(3,1fr)}
.sec .grf{grid-template-columns:1.8fr 1fr}
.sec .gfr{grid-template-columns:1fr 1.8fr}
.sec .g4{grid-template-columns:repeat(4,1fr)}
.sec .start{align-items:start}.sec .center{align-items:center}
.sec .grid>*{min-width:0}
.sec .split{grid-template-columns:1fr auto;align-items:center}
.sec .g-hero{grid-template-columns:1fr calc(var(--u) * 160)}
.sec .g-demo{grid-template-columns:1fr calc(var(--u) * 660)}
.sec .g-price{grid-template-columns:1fr 1fr 1.05fr}
.sec .g-slip{grid-template-columns:1fr 1.25fr}
.sec .g-bento{grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:auto auto}
.sec .g-bento>.tall{grid-row:1/3}
.ticks{list-style:none;margin:.5em 0 0;padding:0;display:grid;gap:.3em}
.ticks li{position:relative;padding-left:1.4em}
.ticks li::before{content:"";position:absolute;left:.1em;top:.45em;width:.6em;height:.6em;background:var(--leaf);box-shadow:inset 0 -2px 0 var(--black-20)}
.sec .ai-modes{min-width:calc(var(--u) * 300)}
html[data-measure] .strat .sec{position:static;margin-left:calc(var(--frame) + var(--u) * var(--x,20));margin-bottom:40px}
html[data-measure] .strat-space{display:none}

/* ---------- the stacked layout: narrow screens, zoom, and any page without a fit ---------- */
@media (max-width:1179px){
  .strat{font-size:16px;padding:56px max(16px,env(safe-area-inset-left,0px)) 80px;display:flex;flex-direction:column;gap:96px}
  .strat-space{display:none}
  .strat .sec,.strat .sec[data-bleed]{position:static;left:auto;width:auto;max-width:min(760px,100%);margin:0 auto}
  .strat .sec .grid>*,.strat .vx,.strat .vx-body,.strat .vx-screen{min-width:0}
  .strat .ledger li{flex-wrap:wrap}
  .strat .ledger li>span:last-child{overflow-wrap:anywhere}
  .sec .g2,.sec .g21,.sec .g12,.sec .g3,.sec .g4,.sec .grf,.sec .gfr{grid-template-columns:1fr}
  .sec .split,.sec .g-hero,.sec .g-demo,.sec .g-price,.sec .g-slip,.sec .g-bento{grid-template-columns:1fr;justify-items:stretch}
  .sec .g-bento>.tall{grid-row:auto}
  .sec .split{justify-items:start}
  .sec .ai-modes{min-width:0}
  .sec .grid{gap:28px}
  .vx h1{font-size:2.6em}
  .beam{height:40px}
  .vx-screen.pic.cropped{height:auto;aspect-ratio:16/10}
}
.stack .vx-screen.pic.cropped{height:auto;aspect-ratio:16/10}
.stack{font-size:16px;padding:56px max(16px,env(safe-area-inset-left,0px)) 96px;display:flex;flex-direction:column;gap:72px}
.stack .sec{max-width:760px;margin:0 auto;width:100%}
@media (max-width:860px){.nav{display:none}.menu{display:block}.site-head .home{font-size:26px}.site-head .key{display:none}}
@media (max-width:760px){
  .site-foot .cols{grid-template-columns:1fr 1fr}
  .wrap{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .vx-body{padding:.6em .6em .7em}.vx-block{padding-bottom:.5em}.vx-screen{padding:1em .95em}.vx-head{margin:.1em .4em .6em}
  .vx h1{font-size:2.35em}.vx h2{font-size:1.5em}
  .receipt{margin:-8px 1em 0}
}

/* reading pages: one calm module, still ground */
.reading .vx-screen{padding:1.6em 1.8em}
.reading h1{font-size:2.2em}
.reading h2{font-size:1.35em;margin:1.4em 0 0}
.reading h2+p{margin-top:.4em}
.reading p,.reading li{max-width:68ch}
.reading .updated{font:400 .85em/1.4 var(--font-mono);color:var(--ink-muted);margin:.5em 0 0}
.reading .sunline{display:flex;align-items:center;gap:12px;margin:1.4em 0 0}
.reading .sunline::before,.reading .sunline::after{content:"";flex:1;border-top:1.5px dashed var(--seed-strong)}
.reading .sunline i{width:12px;height:12px;border-radius:50%;background:var(--sun);display:block}
.toc{font-size:.95em}
.toc ol{margin:.4em 0 0;padding-left:1.2em}

/* demo console */
.demo-frame{position:relative;aspect-ratio:1040/680;width:100%;overflow:hidden;background:color-mix(in srgb,var(--surface) 92%,transparent)}
.demo-frame iframe{position:absolute;left:0;top:0;width:1040px;height:680px;max-width:none;border:0;transform:scale(var(--s,1));transform-origin:0 0;background:var(--surface)}
.demo-frame.live .demo-poster{visibility:hidden}
.demo-big{display:flex;flex-direction:column;align-items:center;gap:14px}
.demo-small{display:none}
.demo-frame.small{aspect-ratio:auto}
.demo-frame.small .demo-poster{position:static}
.demo-frame.small .demo-big{display:none}
.demo-frame.small .demo-small{display:flex;flex-direction:column;gap:12px;align-items:center}
.demo-small img{display:block;width:100%;border:1px solid var(--seed)}
.demo-poster{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px}
.pills{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.strat .g-demo .pills a{padding:6px 10px;font-size:13px;min-height:32px}
.pills a{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:999px;border:1px solid var(--seed-strong);background:var(--surface);color:var(--ink);text-decoration:none;font:600 14px/1 var(--font-sans)}
.pills a[aria-pressed="true"]{background:var(--leaf-wash);border-color:var(--leaf)}

@media (prefers-reduced-motion:reduce){.boot .vx-screen::after,.boot .beam polygon{animation:none}.key:active{transform:none}}
.sh-round .vx-block{clip-path:inset(0 round 22px)}
.sh-arch .vx-block{clip-path:inset(0 round 46px 46px 14px 14px)}
.sh-pill .vx-block{clip-path:inset(0 round 999px)}
.sh-cut .vx-block{clip-path:polygon(22px 0,calc(100% - 22px) 0,100% 22px,100% calc(100% - 22px),calc(100% - 22px) 100%,22px 100%,0 calc(100% - 22px),0 22px)}
.sh-ticket .vx-block{clip-path:none;border-radius:14px;-webkit-mask:radial-gradient(circle at 0 50%,#0000 12px,#000 12.5px) 0 0/51% 100% no-repeat,radial-gradient(circle at 100% 50%,#0000 12px,#000 12.5px) 100% 0/51% 100% no-repeat;mask:radial-gradient(circle at 0 50%,#0000 12px,#000 12.5px) 0 0/51% 100% no-repeat,radial-gradient(circle at 100% 50%,#0000 12px,#000 12.5px) 100% 0/51% 100% no-repeat}
.sh-ticket .vx-body{border-radius:14px}
.sh-round .vx-screen,.sh-arch .vx-screen,.sh-ticket .vx-screen{clip-path:inset(0 round 12px)}
.sh-arch .vx-screen{clip-path:inset(0 round 30px 30px 10px 10px)}
.sh-cut .vx-screen{clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
.sh-round .led,.sh-arch .led,.sh-ticket .led,.sh-pill .led{border-radius:50%}
.sh-pill .vx-body{padding-left:2.2em;padding-right:2.2em}
@media (forced-colors:active){.sh-ticket .vx-block{mask:none;-webkit-mask:none}.vx-block,.vx-body,.vx-screen{clip-path:none;background:Canvas;border:1px solid CanvasText}.key{border:1px solid ButtonText}}
@media print{#ground,#cat,.site-head,.site-foot,.skip{display:none!important}body,html{background:var(--white)}.vx{filter:none}.vx-block,.vx-body,.vx-screen{clip-path:none;background:var(--white)!important;box-shadow:none}.strat .sec{position:static}.strat-space{display:none}}
.g-demo:has(.demo-frame.small) .pills{display:none}

.sheet img.sheet-crop{height:calc(var(--u) * 150);object-fit:cover;object-position:left top}
@media (max-width:1179px){.sheet img.sheet-crop{height:auto}}

/* typed in, letter by letter (site.js). The words keep their place while hidden, so nothing moves. */
.typing-pending :is(h1,h2,h3,p,li,summary,.vx-head,.caption,.item,.r,.h){color:transparent!important}
.typing-pending :is(h1,h2,h3,p,li,summary,.vx-head,.caption,.item,.r,.h) a{color:transparent!important;text-decoration-color:transparent}
.tw .tch{visibility:hidden}
.tw .tch.on{visibility:visible}
.tw .tch.gen{color:var(--leaf)}
@media (prefers-reduced-motion:reduce){.typing-pending :is(h1,h2,h3,p,li,summary,.vx-head,.caption,.item,.r,.h){color:inherit!important}}

/* ---------- touch screens: every link and button is at least 44 x 44 px ----------
   Mouse and trackpad users keep the sizes above. Blocks get a 44px minimum height with the
   label centred; links inside sentences get padding cancelled by negative margins, so the
   tap area is 44px tall but no text moves. */
@media (pointer:coarse){
  :where(p,li,dd,td,figcaption,.updated) a:not(.key){padding:13px 6px;margin:-13px -6px}
  .site-head .home{min-height:44px;min-width:44px}
  .menu summary{min-height:44px;min-width:44px;display:flex;align-items:center;box-sizing:border-box}
  .menu nav a,.nav a{min-height:44px;display:flex;align-items:center;box-sizing:border-box}
  .nav a{display:inline-flex}
  .site-foot a{min-height:44px;display:flex;align-items:center}
  .site-foot .fine a{display:inline;min-height:0}
  .ledger li>a{min-height:44px;display:flex;align-items:center;padding:0;margin:0}
  .faq summary{min-height:44px;padding-block:10px;box-sizing:border-box}
}
