/* Lastbook: ink on paper. One light look; the drawings are in /img/ink and crowd.js. */
@font-face{font-family:"Nunito";src:url(/fonts/Nunito-Variable.woff2) format("woff2");font-weight:400 1000;font-style:normal;font-display:swap}

:root{
  --paper:#F4F2EC;--paper-2:#ECE9E0;--card:#FFFFFF;--ink:#16150F;--ink-2:#4A4840;--ink-3:#6E6B62;
  --line:#8C8980;--line-2:#B7B4AB;--lift:0 22px 34px -22px rgba(22,21,15,.32),0 3px 10px -4px rgba(22,21,15,.08);
  --lamp:#F6D77A;--lamp-deep:#D9A21B;--water:#9CC3E6;--aid:#C8372D;--leaf:#2F6B4F;--focus:#1F5FD1;
  --display:"Nunito",ui-rounded,"SF Pro Rounded","Arial Rounded MT Bold",system-ui,sans-serif;
  --body:"Nunito",ui-rounded,"SF Pro Rounded","Segoe UI",system-ui,sans-serif;
  --r-card:22px 26px 20px 24px / 26px 20px 24px 22px;
  --r-btn:26px 32px 24px 30px / 32px 24px 30px 26px;
  --r-note:15px 19px 14px 17px / 18px 14px 17px 15px;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--paper);-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;background:var(--paper);color:var(--ink);font:500 1.25rem/1.6 var(--body);overflow-x:clip}
img,svg,picture{max-width:100%}
img{height:auto}
/* links: ink, with a hand-drawn line under them (each line of a wrapped link gets its own) */
a{color:var(--ink);font-weight:800;text-decoration:none;padding-bottom:3px;
  background:url(/img/ink/uline.svg) 0 100%/48px 6px repeat-x;-webkit-box-decoration-break:clone;box-decoration-break:clone}
a:hover{background-image:url(/img/ink/uline-thick.svg)}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:4px}
b,strong{font-weight:800}
cite{font-style:italic}
code{font:500 .95em/1.4 ui-monospace,"SF Mono",Menlo,Consolas,monospace}
h1,h2,h3{font-family:var(--display);font-weight:900;color:var(--ink);text-wrap:balance}
/* page and section titles: tall ink capitals with a slightly wobbly edge, like the wordmark's brush */
h1,h2{text-transform:uppercase;font-weight:1000;font-stretch:normal;filter:url(#rough)}
h1{font-size:clamp(2.1rem,1.5rem + 2vw,3rem);line-height:1;letter-spacing:.005em;margin:0 0 .35em}
h2{font-size:clamp(1.7rem,1.25rem + 1.5vw,2.35rem);line-height:1.04;letter-spacing:.012em;margin:0 0 .45em}
h3{font-size:1.4rem;line-height:1.2;margin:0 0 .4em;letter-spacing:-.005em}
.defs{position:absolute;width:0;height:0;overflow:hidden}
p{margin:0 0 1em}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:16px;top:-60px;z-index:50;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:12px;font-weight:800}
.skip:focus{top:12px}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:760px;margin-left:auto;margin-right:auto}
.lead{font:600 clamp(1.25rem,1.1rem + .6vw,1.5rem)/1.5 var(--body);color:var(--ink-2);max-width:40em;text-wrap:pretty}
.fine{font:600 1.0625rem/1.5 var(--body);color:var(--ink-3)}
.nw{white-space:nowrap}

/* ---------- header ---------- */
.bar{position:relative;z-index:20;background:rgba(244,242,236,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.bar::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:14px;background:url(/img/ink/wave.svg) 0 50%/240px 14px repeat-x;opacity:.55;pointer-events:none}
.bar-over{position:absolute;left:0;right:0;top:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.bar-over::after{display:none}
.bar-in{max-width:1240px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:28px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;background:none;padding:0;font:900 1.5rem/1 var(--display);letter-spacing:-.01em;margin-right:auto}
.brand:hover{background:none}
.brand img{width:36px;height:36px}
.nav{display:flex;gap:26px;flex-wrap:wrap}
.nav a{color:var(--ink);text-decoration:none;font:800 1.0625rem/1 var(--body);padding:10px 2px 12px;background:none}
.nav a:hover,.nav a[aria-current]{background:url(/img/ink/scribble.svg) 50% 100%/100% 9px no-repeat}
.bar-over .nav a,.bar-over .brand{text-shadow:0 0 6px var(--paper),0 0 2px var(--paper)}

/* ---------- buttons: one ink pill with one offset shadow ---------- */
.btn,.btn-2{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:54px;padding:12px 26px 8px 22px;text-align:left;
  font:900 1.05rem/1.1 var(--display);font-synthesis:none;letter-spacing:.03em;text-transform:uppercase;text-decoration:none;white-space:nowrap;
  border-radius:var(--r-btn);border:3px solid var(--ink);box-shadow:4px 5px 0 var(--ink);
  transition:transform .12s ease,box-shadow .12s ease,background-color .12s,color .12s}
.btn{background:var(--ink);color:var(--paper)}
.btn-2{background:var(--card);color:var(--ink)}
.btn b,.btn-2 b{display:block;font-weight:inherit}
.btn small,.btn-2 small{display:block;margin-top:4px;font:700 1rem/1.2 var(--body);text-transform:none;letter-spacing:0}
.btn svg,.btn-2 svg{flex:none;margin-top:-4px}
.btn:has(small),.btn-2:has(small){padding-top:9px;padding-bottom:10px}
.btn:has(small) svg,.btn-2:has(small) svg{margin-top:0}
.btn:hover,.btn-2:hover{transform:translate(2px,3px);box-shadow:2px 2px 0 var(--ink)}
.btn:hover{color:var(--paper)}
.btn-2:hover{color:var(--ink);background:var(--lamp)}
.btn:active,.btn-2:active{transform:translate(4px,5px);box-shadow:0 0 0 var(--ink)}
.btn:focus-visible,.btn-2:focus-visible{outline:3px solid var(--focus);outline-offset:6px}
.btn-sm{min-height:44px;padding:10px 18px 6px;font-size:.95rem;letter-spacing:.04em;box-shadow:3px 4px 0 var(--ink)}
.btn-sm:hover{box-shadow:1px 2px 0 var(--ink)}

/* ---------- notes (yellow), cards (white stickers), tags ---------- */
.note{position:relative;background:#FBEFC4;border-radius:var(--r-note);box-shadow:var(--lift);
  padding:14px 20px 15px;font-weight:600;max-width:46em}
.card{background:var(--card);border-radius:var(--r-card);box-shadow:var(--lift);padding:28px 28px 26px;position:relative}
/* the outline is its own layer, so the wobble filter bends the line and never the words */
.card::before,.note::before,.shot::before{content:"";position:absolute;inset:0;border:2px solid var(--line);border-radius:inherit;filter:url(#rough-line);pointer-events:none}
.note::before{border-color:#B89A3E}
.tag{position:absolute;right:-10px;top:-16px;z-index:2;background:var(--lamp);border:2px solid var(--ink-2);border-radius:10px 13px 9px 12px;padding:4px 12px 5px;
  font:900 .95rem/1.2 var(--body);transform:rotate(4deg);box-shadow:0 6px 10px -6px rgba(22,21,15,.35)}
.kicker{font:900 .85rem/1 var(--body);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2);margin:0 0 6px}
.dots{list-style:none;padding:0;margin:0 0 1em}
.dots li,.ticks li{position:relative;padding-left:30px;margin:0 0 .5em}
.dots li::before,.ticks li::before{content:"";position:absolute;left:0;top:.2em;width:20px;height:20px;background:url(/img/ink/d-tick.svg) 50%/contain no-repeat}
.checks{list-style:none;padding:0;margin:0 0 1.2em}
.checks li{position:relative;padding-left:46px;margin:0 0 .9em}
.checks li::before{content:"";position:absolute;left:0;top:.1em;width:32px;height:32px;background:url(/img/ink/d-tick.svg) 50%/contain no-repeat}

/* ---------- sections and the wavy rule ---------- */
.sec{position:relative;padding:88px 0;overflow-x:clip}
.wave{position:absolute;left:0;right:0;top:-7px;height:14px;background:url(/img/ink/wave.svg) 0 50%/240px 14px repeat-x;opacity:.45}
.sec h2,.sec>.wrap>.lead{text-align:center;margin-left:auto;margin-right:auto}
.sec>.wrap>.lead{margin-bottom:40px}
.sec+.sec{padding-top:24px}

/* ---------- home hero ----------
   --wm is the wordmark's width: by the window's width, and by its height too,
   so on a short laptop screen the buttons and the library line still fit. */
.hero{--wm:max(240px,min(clamp(300px,30vw,420px),calc((100svh - 500px) * 1.32)));
  position:relative;min-height:100vh;min-height:100svh;overflow:hidden;overflow:clip;
  display:flex;flex-direction:column;align-items:center;
  padding:calc(84px + var(--wm) * .2) 16px 14px;
  background:radial-gradient(ellipse 70% 62% at 50% 46%,#F8F7F3 0%,#F4F2EC 58%,#ECEAE2 100%)}
.grain{position:absolute;inset:0;width:100%;height:100%;opacity:.16;pointer-events:none}
.crowd,.crowd-still,.crowd-still img{position:absolute;inset:0;width:100%;height:100%;display:block}
.crowd-still img{object-fit:cover}
.crowd{display:none}
.js .crowd{display:block}
.bubbles{position:absolute;inset:0;pointer-events:none;z-index:3}
.centre{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:1100px;margin:auto 0}
.wm{margin:0;line-height:0}
.wm-svg{display:block;width:var(--wm);height:auto;overflow:visible;animation:drop .5s cubic-bezier(.3,1.3,.5,1) both}
@keyframes drop{from{opacity:0;transform:translateY(-26px) scale(.94) rotate(-2deg)}to{opacity:1;transform:none}}
@keyframes up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero .lead{margin:14px 0 0;max-width:31em;font:600 clamp(1.125rem,1rem + .3vw,1.25rem)/1.45 var(--body);color:var(--ink-2);
  text-shadow:0 0 6px var(--paper),0 0 2px var(--paper);text-wrap:balance;animation:up .4s .1s ease both}
.phone-note{display:none}
[data-os="phone"] .phone-note{display:inline}
.phone-note strong{font-weight:800}
.dl{display:flex;gap:22px;justify-content:center;align-items:flex-start;flex-wrap:wrap;margin:22px 0 0;animation:up .4s .15s ease both}
.dl-item{display:flex;flex-direction:column;align-items:center;max-width:380px}
.dl-item .cap{margin:9px 0 0;font:700 1.0625rem/1.35 var(--body);color:var(--ink);text-shadow:0 0 6px var(--paper),0 0 2px var(--paper);text-wrap:balance}
.hero-community{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:26px;color:var(--ink);text-shadow:0 0 6px var(--paper),0 0 2px var(--paper)}
.hero-community p{margin:0;font:900 1.0625rem/1.4 var(--body)}
.hero-github{display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;min-height:44px;padding:6px 0;background:none;font:800 .9375rem/1.35 var(--body)}
.hero-github:hover{background:none}
.hero-github:hover .hero-github-label{text-decoration:underline;text-underline-offset:4px}
.hero-github img{width:20px;height:20px;flex:none}
.hero-stars{display:inline-flex;align-items:center;gap:5px;border-left:1px solid var(--line-2);padding-left:10px;margin-left:2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hero-stars>span[aria-hidden]{font-size:1.25rem;line-height:1}
.nav .open-source-nav{font-size:.9375rem}
@media(min-width:760px){.dl .btn,.dl .btn-2{font-size:1rem;letter-spacing:.015em;padding-left:20px;padding-right:20px}}
[data-os="win"] .dl-win{order:-1}
[data-os="linux"] .dl-linux{order:-1}
.then{margin:16px 0 0;font:700 1.0625rem/1.45 var(--body);color:var(--ink);text-shadow:0 0 6px var(--paper),0 0 2px var(--paper);animation:up .4s .2s ease both}
.then .sep{margin:0 .3em;color:var(--ink-3)}
.then a{display:inline-block;padding:10px 0 6px;margin:-10px 0 -6px;background-position:0 calc(100% - 4px)}
.hero-foot{position:relative;z-index:2;margin-top:22px;padding:0 70px;text-align:center;
  font:700 1.0625rem/1.4 var(--body);color:var(--ink-2);text-shadow:0 0 5px var(--paper),0 0 2px var(--paper)}
.hero-foot p{margin:0}
.pause{position:absolute;z-index:4;right:16px;bottom:12px;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:6px 14px;
  font:800 .95rem/1 var(--body);color:var(--ink-2);background:rgba(255,255,255,.75);border:1.5px solid #B9B7AF;border-radius:22px 24px 21px 23px;cursor:pointer}
.pause:hover{color:var(--ink);border-color:var(--ink-3)}
.pause[hidden]{display:none}
.pause svg path{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.pause .i-play{display:none;fill:currentColor}
.pause[aria-pressed="true"] .i-play{display:block}
.pause[aria-pressed="true"] .i-pause{display:none}

/* speech bubbles (placed by crowd.js) */
.bub{position:absolute;left:0;top:0;margin:0;opacity:0;transform-origin:50% 100%;transition:opacity .14s ease-out}
.bub.on{opacity:1}
.bub[hidden]{display:none}
.bub span{display:block;white-space:nowrap;background:#fff;border:2px solid #6B6B66;
  border-radius:14px 17px 13px 16px / 16px 13px 16px 14px;padding:6px 11px 7px;
  font:800 15px/1 var(--body);color:var(--ink);transform:scale(.9);transition:transform .22s cubic-bezier(.34,1.56,.64,1)}
.bub.on span{transform:scale(1)}
.bub svg{display:block;margin:-2.5px auto 0;position:relative;overflow:visible}
.bub svg path{fill:#fff;stroke:#6B6B66;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.bub.shout span{background:var(--lamp);border-color:var(--ink);border-width:2.5px}
.bub.shout svg path{fill:var(--lamp);stroke:var(--ink);stroke-width:2.5}
.bub.quiet span{border-color:#9A978E;color:var(--ink-2)}
.bub.quiet svg path{stroke:#9A978E}

/* ---------- 3 steps ---------- */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:start}
.step .btn-2{white-space:normal}
.step p,.step .fine{font:600 1.0625rem/1.5 var(--body);color:var(--ink-2)}
.step p b{color:var(--ink)}
.step{padding-top:30px}
.num{display:grid;place-items:center;width:64px;height:64px;margin:-6px 0 14px -6px;background:url(/img/ink/d-circle.svg) 50%/contain no-repeat;font:900 2rem/1 var(--display)}
.step-doodle{position:absolute;right:20px;top:20px;width:64px;height:64px}
.step .btn-2{margin:4px 0 18px}
.links{list-style:none;padding:0;margin:0 0 1em}
.links li{margin:0 0 .8em}
.links .fine{display:block;margin-top:2px}
.ready{margin:56px auto 0;text-align:center}

/* ---------- what's inside ---------- */
.counts{list-style:none;padding:0;margin:0 0 64px;display:grid;grid-template-columns:repeat(5,1fr);gap:22px}
.counts li{position:relative;padding:8px 10px 6px;text-align:center}
.counts b{display:block;font:900 3.4rem/1 var(--display);margin-bottom:10px;padding-bottom:10px;background:url(/img/ink/uline.svg) 50% 100%/48px 6px repeat-x;background-size:48px 6px;
  width:fit-content;min-width:2.2ch;margin-left:auto;margin-right:auto}
.counts span{display:block;font:700 1rem/1.35 var(--body);color:var(--ink-2);text-wrap:balance;max-width:13em;margin:0 auto}
.shot-card{position:relative;margin:0 auto 70px;max-width:980px}
.shot{position:relative;background:var(--card);border-radius:var(--r-card);box-shadow:var(--lift);padding:12px}
.shot img{display:block;width:100%;border:1.5px solid var(--line-2);border-radius:10px}
.shot.has-win .shot-mac{display:none}
.shot-card figcaption,.tile figcaption,.wide figcaption{font:700 1.0625rem/1.45 var(--body);color:var(--ink-2);margin-top:14px;text-align:center}
.shot-card figcaption strong,.tile figcaption strong,.wide figcaption strong{color:var(--ink)}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin:0 0 60px}
.tile{margin:0}
.tile img,.wide img{display:block;width:100%;border:2px solid var(--line-2);border-radius:12px;box-shadow:var(--lift)}
.tile figcaption{text-align:left;margin-top:12px}
.wide{margin:0 auto 48px;max-width:1080px}
.more{max-width:40em;margin:0 auto 1em;color:var(--ink-2);font-size:1.125rem;text-wrap:pretty}
.more-links{max-width:40em;margin:0 auto;font-weight:800}

/* ---------- trust ---------- */
.trust{display:grid;grid-template-columns:230px minmax(0,600px);gap:44px;align-items:center;justify-content:center;max-width:920px}
.trust h2{text-align:left;margin-left:0}
.trust-fig{width:230px;order:-1}

/* ---------- FAQ ---------- */
.faq{border-top:1.5px solid rgba(22,21,15,.22)}
.faq details{border-bottom:1.5px solid rgba(22,21,15,.22)}
.faq summary,.ver summary{cursor:pointer;list-style:none;position:relative}
.faq summary::-webkit-details-marker,.ver summary::-webkit-details-marker{display:none}
.faq summary{padding:20px 52px 20px 4px;font:800 1.25rem/1.35 var(--body)}
.faq summary::after{content:"";position:absolute;right:8px;top:50%;width:28px;height:28px;margin-top:-14px;background:url(/img/ink/d-plus.svg) 50%/contain no-repeat;transition:transform .16s ease}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details>div{padding:0 4px 8px}
.faq summary:focus-visible{outline-offset:2px;border-radius:8px}

/* ---------- closing band ---------- */
.band{position:relative;padding:80px 0}
.band-lamp{background:var(--lamp);padding-bottom:96px}
.band-lamp .wave{opacity:.9}
.again-in{text-align:center;display:flex;flex-direction:column;align-items:center}
.again-in h2{margin:0;max-width:16em}
.again-in>p{margin:16px auto 0}
.again{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 22px;margin:26px 0 24px}
.band .fine{color:var(--ink-2)}
.again-fig{width:220px;flex:none;margin:0 0 10px}

/* ---------- footer ---------- */
.foot{position:relative;padding:60px 0 48px;border-top:0;background:var(--paper);text-align:center}
.foot::before{content:"";position:absolute;left:0;right:0;top:-7px;height:14px;background:url(/img/ink/wave.svg) 0 50%/240px 14px repeat-x;opacity:.6}
.foot-warn{display:flex;gap:12px;align-items:flex-start;justify-content:center;font-weight:700;max-width:64em;margin:0 auto 1.2em;text-align:left;text-wrap:balance}
.foot-warn img{flex:none;width:30px;margin-top:2px}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:0 0 1.2em;font-size:1.0625rem}
.foot-links a{background:none;padding:6px 0;font-weight:800;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-color:rgba(22,21,15,.3)}
.foot-links a:hover{text-decoration-color:var(--ink);background:none}
.foot .fine{font-size:1rem;margin:0}

/* ---------- inner pages ---------- */
.page{padding:20px 0 96px}
.page-head{padding:40px 0 30px}
.ph-title{display:flex;align-items:flex-end;gap:22px;margin-bottom:14px}
.ph-title h1{margin:0 0 .1em;min-width:0}
.page-head .lead{margin-bottom:.6em}
.head-fig{position:relative;flex:none;width:130px;margin:0 0 2px}
.head-fig img{position:relative;display:block;width:100%}
.head-fig::before{content:"";position:absolute;left:-12%;right:-6%;bottom:-6px;height:22px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(22,21,15,.16),rgba(22,21,15,.1) 55%,rgba(22,21,15,0))}
.block{margin:72px 0}
.section-h{margin-top:72px}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:34px;margin:56px 0}
.card.plain h2{font-size:clamp(1.45rem,1.2rem + .8vw,1.8rem)}
.card.later,.file-later{box-shadow:none;background:transparent}
.card.later::before,.file-later::before{border-style:dashed;border-color:var(--line-2)}
.file-later,.card.later{align-self:start}

/* download page */
.os-note{margin:0 0 30px;max-width:none}
.files{list-style:none;padding:0;margin:10px 0 18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:34px}
.file{display:flex;flex-direction:column}
.file h2{font-size:2rem;margin-bottom:.2em}
.file-name{font-weight:800}
.req{font:600 1.125rem/1.5 var(--body);color:var(--ink-2)}
.req b{font-weight:800;color:var(--ink)}
.file .btn,.file .btn-2{margin-top:auto;align-self:flex-start;white-space:normal}
.file .req:last-of-type{margin-bottom:22px}
.host{margin:0 0 48px}
.page .ready{margin:0 0 40px;text-align:left;max-width:none}
.os{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:34px;align-items:start}
.os-side{display:grid;gap:34px}
.os-card{padding:32px 30px 28px}
.os-card h2{display:flex;align-items:center;gap:12px;font-size:2.1rem}
.os-card h2 svg{width:32px;height:32px}
/* UI names: a light grey chip, the same size everywhere, never split; only long file names may break */
.os b{background:rgba(22,21,15,.055);border:1px solid rgba(22,21,15,.2);border-radius:5px;padding:0 4px;font-weight:750;font-size:.92em;color:var(--ink);white-space:nowrap}
.os b.f{white-space:normal;overflow-wrap:anywhere;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* install commands: the same light chip as UI names, with room for a long package name to break inside the card */
.os code{background:rgba(22,21,15,.055);border:1px solid rgba(22,21,15,.2);border-radius:5px;padding:0 4px;overflow-wrap:anywhere;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.os .fine b{font-size:.92em}
.os .req{color:var(--ink-2)}
.tip{position:relative;margin:0 0 16px;padding:12px 16px 13px 50px;background:var(--paper);border-radius:var(--r-note);color:var(--ink);font-weight:600}
.tip::before{content:"";position:absolute;left:14px;top:14px;width:26px;height:26px;background:url(/img/ink/d-bang.svg) 50%/contain no-repeat}
.tip::after{content:"";position:absolute;inset:0;border:1.5px solid var(--line-2);border-radius:inherit;filter:url(#rough-line);pointer-events:none}
.tip+.list{margin-top:22px}
.list{list-style:none;counter-reset:s;padding:0;margin:0 0 1.2em}
.list>li{counter-increment:s;position:relative;padding-left:52px;margin:0 0 18px;min-height:34px}
.list>li::before{content:counter(s);position:absolute;left:0;top:-2px;width:36px;height:36px;display:grid;place-items:center;background:url(/img/ink/d-circle.svg) 50%/contain no-repeat;font:900 1.1rem/1 var(--body)}
.warn{margin:22px 0 24px}
.warn b{background:rgba(255,255,255,.7)}
.sac{display:flex;gap:14px;align-items:flex-start}
.sac img{flex:none;width:40px}
.sac p:last-child{margin-bottom:0}
.only{font:900 1rem/1.1 var(--body);text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.ver{margin:0 0 18px;border-top:2px dashed var(--line-2);padding-top:14px}
.ver summary{font:900 1.25rem/1.3 var(--body);padding:4px 0 10px 34px}
.ver summary::before{content:"";position:absolute;left:0;top:6px;width:24px;height:24px;background:url(/img/ink/d-caret.svg) 50%/contain no-repeat;transition:transform .16s ease}
.ver[open] summary::before{transform:rotate(90deg)}
.sums-card{margin-top:34px}
.sums{margin:0 0 20px;display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:10px 18px;align-items:center}
.sums dt{margin:0}
.sums dt{font-weight:800}
.sums dd{margin:0;background:var(--paper-2);border-radius:10px;padding:10px 14px}
.sums code,.cmd code{word-break:break-all}
.cmd code{background:var(--paper-2);border-radius:6px;padding:1px 6px}

/* library page */
.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:30px}
.topic{background:none;box-shadow:none;border-radius:0;padding:22px 0 0}
.topic::before{border:0;border-top:2px solid var(--line-2);border-radius:0;filter:none}
.topic-icon{width:56px;height:56px;margin-bottom:10px}
.topic h3{font-size:1.4rem}
.topic p{color:var(--ink-2);font-weight:600}
.topic .dots{font-size:1.125rem;line-height:1.45}
.topic .dots li{padding-left:28px}
.pic{max-width:840px;margin:24px 0 0}
.page .counts{margin-bottom:24px}

/* privacy page */
.prose{max-width:720px}
.prose h2{font-size:clamp(1.7rem,1.3rem + 1.4vw,2.3rem);margin-top:1.6em}
.h-doodle{display:flex;align-items:center;gap:14px}
.h-doodle img{width:44px;flex:none}
.prose .note{margin:1.4em 0}

/* credits page */
.page-head>p:not(.lead){max-width:40em}
.two .card ul{margin-bottom:.6em}
.search{margin:24px 0 26px;max-width:520px}
.search label{display:block;font:900 1.125rem/1.2 var(--body);margin-bottom:8px}
.search input{width:100%;height:54px;padding:0 16px;font:700 1.125rem/1 var(--body);color:var(--ink);background:var(--card);
  border:2px solid var(--line);border-radius:14px 16px 13px 15px;outline:none;-webkit-appearance:none;appearance:none;box-shadow:var(--lift)}
.search input:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-color:var(--ink)}
.more-btn{margin:0 0 28px}
.search .fine{margin:8px 0 0;min-height:1.5em}
.owners{list-style:none;padding:0;margin:0 0 24px;columns:3 280px;column-gap:40px}
.owners li{break-inside:avoid;padding:0 0 12px;line-height:1.35;overflow-wrap:anywhere}
.owners li[hidden]{display:none}
.owner{display:block;font-weight:800;font-size:1.0625rem}
.what{display:block;font-size:.95rem;color:var(--ink-3);font-weight:600}

/* 404 */
.lost{display:grid;grid-template-columns:200px auto;justify-content:center;gap:40px;align-items:center;padding:24px 0 0}
.lost h1{font-size:clamp(2rem,1.5rem + 1.6vw,2.8rem)}
.lost .ticks{margin:0}
.page:has(.lost){padding:12px 0 40px}
.lost-fig{position:relative;padding-top:52px;text-align:center}
.lost-fig img{width:176px}
.lost-fig .bub{position:absolute;left:50%;top:44px;transform:translateX(-96%);opacity:1}
.lost-fig .bub svg{margin-left:auto;margin-right:12px}
.lost-fig .bub span{transform:none}

/* ---------- tablet ---------- */
@media (max-width:1000px){
  .steps,.tiles,.topics{grid-template-columns:1fr 1fr}
  .counts{grid-template-columns:repeat(3,1fr)}
  .shot-card .hand{display:none}
  .os{grid-template-columns:1fr}
}

/* ---------- phone ---------- */
@media (max-width:759px){
  body{font-size:1.125rem}
  .wrap{padding:0 16px}
  .bar-in{flex-wrap:wrap;gap:6px 16px;padding:10px 16px}
  .brand{font-size:1.3rem}
  .brand img{width:32px;height:32px}
  .nav{display:none}

  /* the phone hero is one screen: wordmark, a few lines, two buttons, and room around them */
  .hero{--wm:max(190px,min(64vw,260px,calc((100svh - 450px) * 1.32)));min-height:100vh;min-height:100svh;padding:calc(62px + var(--wm) * .17) 16px 50px}
  .centre{margin:auto 0}
  .hero .lead{font-size:1rem;line-height:1.45;margin-top:12px;max-width:22em}
  .dl{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:330px;margin-top:16px}
  .dl-item{max-width:none;width:100%}
  .dl-item .cap{font-size:.9375rem;margin-top:5px;white-space:nowrap}
  .btn,.btn-2{white-space:normal;letter-spacing:.02em;padding:11px 18px 7px}
  .btn:has(small),.btn-2:has(small){padding-top:9px;padding-bottom:10px}
  .dl .btn,.dl .btn-2{min-height:46px;font-size:.95rem;letter-spacing:.015em;white-space:nowrap;padding-left:14px;padding-right:16px;box-shadow:3px 4px 0 var(--ink)}
  .dl .btn,.dl .btn-2,.files .btn,.files .btn-2,.again .btn-2{width:100%}
  .btn-sm{width:auto;min-height:36px;padding:8px 12px 4px;font-size:.8rem;letter-spacing:.05em;box-shadow:2px 3px 0 var(--ink);border-width:2.5px}
  .then{font-size:.9375rem;margin-top:12px;max-width:22em}
  .then .sep{display:none}
  .then a.check{display:table;margin:2px auto -6px}
  .hero-foot{display:none}
  .bar-over .nav{display:flex}
  .bar-over .nav .open-source-nav{font-size:.8125rem;padding:8px 0}
  .hero-community{margin-top:20px;gap:4px}
  .hero-community p{font-size:1rem}
  .hero-github{font-size:.875rem;gap:7px}
  .hero-github img{width:18px;height:18px}
  .pause{right:10px;bottom:10px;min-height:36px;padding:4px 10px;font-size:.8125rem}
  .bub span{font-size:14px}

  .sec{padding:56px 0}
  .band{padding:56px 0}
  .steps,.tiles,.topics,.two,.files,.os{grid-template-columns:1fr;gap:26px}
  .counts{grid-template-columns:1fr 1fr;gap:18px}
  .counts li:last-child{grid-column:1/-1}
  .card{padding:22px 20px 20px}
  .tiles{gap:30px}
  .trust{grid-template-columns:1fr}
  .trust-fig{width:120px;order:0;justify-self:center}
  .again-fig{width:150px}
  .again{flex-direction:column;align-items:stretch;max-width:340px;margin-left:auto;margin-right:auto}
  .foot{padding-top:52px}
  .foot-links{flex-direction:column;align-items:center;gap:2px}
  .foot-warn{font-size:1.0625rem}
  .sums{grid-template-columns:1fr;gap:6px}
  .sums dd{margin-bottom:8px}
  .os-side{gap:26px}
  .band-lamp{padding-bottom:96px}
  .page-head{padding:20px 0 16px}
  .ph-title{justify-content:space-between;gap:12px;margin-bottom:10px}
  .head-fig{width:88px;margin-right:6px}
  .os-card{padding:24px 18px 22px}
  .os-card h2{font-size:2rem}
  .list>li{padding-left:46px}
  .file h2{font-size:1.9rem}
  .lost{grid-template-columns:1fr;gap:16px;padding-top:30px}
  .lost-fig{justify-self:center}
}
@media (max-width:380px){
  .btn,.btn-2{font-size:.95rem;gap:10px;padding-left:14px;padding-right:14px}
  .btn-sm{font-size:.8rem;padding:8px 12px 4px}
  .nav{gap:16px}
}

@media (min-width:760px){.dl-item .cap{white-space:nowrap}}
/* the narrow privacy column: let the figure stand just outside it, so the title keeps one line */
@media (min-width:1080px){.prose .ph-title{margin-right:-170px}}

/* ---------- short laptop screens ---------- */
@media (min-width:760px) and (max-height:760px){
  .hero{padding-top:calc(72px + var(--wm) * .2)}
  .hero .lead{margin-top:10px}
  .dl{margin-top:16px}
  .then{margin-top:12px}
  .hero-foot{margin-top:12px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .wm-svg,.hero .lead,.dl,.then{animation:none}
  .btn,.btn-2,.bub,.bub span,.faq summary::after,.ver summary::before{transition:none}
  .tag{transform:none}
  html{scroll-behavior:auto}
}

/* a tablet held upright: don't leave a tall empty floor under the hero */
@media (min-width:760px) and (orientation:portrait){.hero{min-height:min(100svh,112vw)}}

/* App feature screenshots */
.feature-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 auto 64px;max-width:1120px}
.feature-shots figure{margin:0}
.feature-shots figcaption{margin:0 0 12px;text-align:center}
.feature-shots h3{margin:0 0 8px;font:900 2rem/1.15 var(--display)}
.feature-shots p{margin:0;color:var(--ink-2);font-size:1.125rem}
.feature-shots img{display:block;width:100%;height:auto;border-radius:12px}
@media(max-width:760px){.feature-shots{grid-template-columns:1fr;max-width:560px;gap:36px}}

/* Library size comparison */
.pack-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:32px 0 20px}
.pack-comparison h2{margin:0 0 8px}
.pack-status{font-size:.95rem;color:var(--ink-3);min-height:2.8em}
.pack-facts{list-style:none;padding:0;margin:24px 0;line-height:1.6}
.pack-facts li{margin:8px 0}
.pack-count-note{margin-bottom:64px}
@media(max-width:760px){.pack-comparison{grid-template-columns:1fr}.pack-status{min-height:0}}

.essentials h2{margin-bottom:42px}
.essentials .feature-shots{margin-bottom:44px}
.essentials .feature-shots figcaption{margin-bottom:18px}
.essentials .feature-shots p{font-weight:800;color:var(--ink)}
.topic-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.topic-cards .card{padding:26px}
.topic-cards h3{font-size:1.5rem;margin-bottom:12px}
.topic-cards p{font-size:1.1rem;line-height:1.45;margin:0;color:var(--ink-2)}
@media(max-width:759px){.topic-cards{grid-template-columns:1fr}.essentials h2{margin-bottom:30px}}

.essentials .feature-shots figure{padding:24px 12px;border-top:2px solid var(--line-2);border-bottom:2px solid var(--line-2)}
.essentials .feature-shots figcaption{margin:0;min-height:202px}

.essentials .feature-shots img{margin-top:22px;border-radius:12px;box-shadow:var(--lift)}
.essentials .feature-shots .real-video-shot{aspect-ratio:598/584;object-fit:contain;background:#1d1d1d;object-position:center}

.map-key{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;padding-top:14px;text-align:left;font-size:.85rem;font-weight:750}
.map-key span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.map-key b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;color:white;font-size:13px;font-family:var(--body)}
.key-water{background:#2679ae}.key-medical{background:#be3665}.key-fire{background:#ec862c}.key-shelter{background:#3b4d59}

.essentials .feature-shots .real-video-shot{padding:14px;object-fit:contain;background:#1d1d1d}

.essentials .feature-shots .feature-metric{margin:18px 0 3px;font-size:1.05rem;font-weight:650}
.feature-metric b{display:block;font-size:2.5rem;font-weight:950;line-height:1.05;letter-spacing:-.03em;margin-bottom:5px}
.essentials .feature-shots small{font-size:.8rem;color:var(--ink-3)}

.community{background:var(--lamp);text-align:center}
.community .lead{max-width:640px}
.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:44px auto 32px;max-width:1000px}
.community-grid p{font-size:1.1rem;margin:10px 0 0}
.community .btn{display:inline-flex}
.community-people{display:block;margin:40px auto -20px;width:700px;height:auto;max-height:180px;object-fit:contain}
@media(max-width:759px){.community-grid{grid-template-columns:1fr;gap:24px}.community-people{margin-bottom:0}}

.community-actions{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}.community-actions .github-button{gap:24px;min-width:190px;justify-content:center}.community-actions .btn-2{background:transparent}

.community-actions .github-button{background:#24292f;border-radius:8px;padding:16px 30px;box-shadow:none;min-width:190px;min-height:62px}.community-actions .github-button img{width:110px;height:32px;object-fit:contain}.community-actions .github-button:hover{background:#32383f}

.essentials .feature-shots .real-ai-shot{aspect-ratio:598/584;object-fit:contain;background:#222;padding:10px}

.buying-guide-cta{text-align:center}
