/* =====================================================================================================================
   ICEMOON v2: INNER PAGES  (one stylesheet for the 22 inner pages: install, mcp, devices, the 7 vs pages, the blog and
   its posts, terms, privacy, refund, 404)
   ---------------------------------------------------------------------------------------------------------------------
   * The same site as the home page: its tokens, header, footer, buttons, iPhone and Mac window are copied from
     draft/v2/site/base.html (never edited there); the line-drawing panel is the tools section's (#171b20, corner marks,
     ice lines #a5c4df).
   * A page = main.doc. Its first child is the page top (.pg-top: the title, one line of meta, ONE visual). Every other
     direct child of main sits in the reading column (--colw); tables, figures and the video break out wider (--midw,
     --widew). The live markup's classes (.lead .note .callout .step .media-slot .faq-item .cmp-wrap .table-wrap
     .post-cta .read-next .doc-foot ...) are styled as they are, so a page keeps its words and links.
   * html.cine = JavaScript on and motion allowed; html.still = JavaScript on, reduced motion; no .js = JavaScript off.
     The default CSS of every animated thing is its finished still: nothing waits for JavaScript to become readable.
   ===================================================================================================================== */
:root{
  --bg:#0b0d10; --ink:#fff;
  --ice:#a9d2ff; --ice2:#5f9dff; --ice3:#d6ecff; --lice:#a5c4df;            /* --lice: the line colour of the drawings */
  --panel:#171b20;
  --dim:rgba(255,255,255,.72); --dim2:rgba(255,255,255,.55); --line:rgba(255,255,255,.1);
  --text:rgba(255,255,255,.76);                                              /* long reading text */
  --grad-ice:linear-gradient(98deg,#fff 4%,var(--ice) 52%,var(--ice2) 100%);
  --pf-telegram:#3cb6f2;
  --font:'Geist',-apple-system,BlinkMacSystemFont,'SF Pro Display','Helvetica Neue',Arial,sans-serif;
  --mono:'Geist Mono',ui-monospace,Menlo,monospace;
  --fs-h1:clamp(44px,6.4vw,112px);        /* = the home page's section heading */
  --fs-h2:clamp(30px,3vw,46px);
  --fs-h3:clamp(21px,1.6vw,26px);
  --fs-lead:clamp(20px,1.6vw,25px);
  --fs-body:clamp(17px,calc(10px + .55vw),19px);
  --ease-out:cubic-bezier(.16,.8,.2,1); --ease-spring:cubic-bezier(.2,.8,.2,1);
  --pad:max(24px,5vw); --maxw:1320px; --navh:64px;
  --colw:680px; --midw:900px; --widew:1100px;
}
@media (max-width:899px){ :root{--navh:56px} }

*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);color:#fff;-webkit-text-size-adjust:100%}
html.js{scroll-behavior:smooth}
html.still{scroll-behavior:auto}
body{margin:0;background:var(--bg);font-family:var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img,svg{display:block}
h1,h2,h3,h4,p,ul,ol,figure,blockquote,pre{margin:0}
ul,ol{padding:0;list-style:none}
[id]{scroll-margin-top:calc(var(--navh) + 24px)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--ice);outline-offset:3px;border-radius:6px}
::selection{background:rgba(169,210,255,.28)}
.g{background:var(--grad-ice);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.08em}

/* ---------- buttons: .btn white pill (the live pages' .btn and the home's .btn-1), .btn-2 / .btn-ghost outline ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:54px;padding:0 28px;border-radius:99px;font-weight:600;font-size:17px;letter-spacing:-.01em;white-space:nowrap;border:0;cursor:pointer;font-family:inherit;
  background:#fff;color:#000;transition:background-color .25s ease,box-shadow .25s ease,color .25s ease}
.btn:hover{background:var(--ice)}
.btn-2,.btn-ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.34);background:rgba(255,255,255,.04)}
.btn-2:hover,.btn-ghost:hover{background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1.5px #fff}
.btn svg{width:15px;height:15px}
.pill{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 17px;border-radius:99px;background:#fff;color:#000;font-weight:600;font-size:14.5px;white-space:nowrap}
.pill:hover{background:var(--ice)}
@media (max-width:899px){ .btn{height:48px;padding:0 22px;font-size:16px} }

/* ---------- navigation (the home page's, links made absolute) ---------- */
.nav{position:fixed;z-index:50;left:0;right:0;top:0;height:var(--navh);padding:0 var(--pad);display:flex;align-items:center;gap:clamp(20px,2.6vw,40px);
  background:linear-gradient(rgba(11,13,16,.88) 0%,rgba(11,13,16,.5) 55%,rgba(11,13,16,0) 100%);transition:background-color .35s ease,box-shadow .35s ease}
.nav.solid,.nav.open{background:rgba(11,13,16,.72);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 1px 0 rgba(255,255,255,.06)}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:17px;letter-spacing:-.01em;flex:none}
.brand img{width:28px;height:28px}
.nav-links{display:flex;gap:clamp(18px,2vw,30px);font-size:14.5px;color:rgba(255,255,255,.78);white-space:nowrap}
.nav-links,.nav-in{text-shadow:0 1px 10px rgba(0,0,0,.7)}
.nav-links a,.nav-in{transition:color .2s ease}
.nav-links a:hover,.nav-in:hover,.nav-links a[aria-current]{color:#fff}
.nav-r{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:14.5px}
.nav-in{color:rgba(255,255,255,.86);white-space:nowrap}
.menu-b{display:none;position:relative;width:40px;height:40px;margin-right:-8px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.menu-b i{position:absolute;left:11px;width:18px;height:1.6px;border-radius:1px;background:currentColor;transition:transform .35s var(--ease-spring)}
.menu-b i:first-of-type{top:15px} .menu-b i:last-of-type{top:23px}
.nav.open .menu-b i:first-of-type{transform:translateY(4px) rotate(45deg)} .nav.open .menu-b i:last-of-type{transform:translateY(-4px) rotate(-45deg)}
.menu{display:none}
@media (max-width:1139px){
  .nav-links{display:none}
  html.js .menu-b{display:block}
  html.js .menu{position:fixed;z-index:49;left:0;right:0;top:0;display:block;max-height:100vh;max-height:100dvh;overflow:auto;padding:calc(var(--navh) + 6px) var(--pad) 26px;
    background:rgba(11,13,16,.92);-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);box-shadow:0 30px 60px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.06);
    opacity:0;visibility:hidden;transform:translate3d(0,-12px,0);transition:opacity .3s ease,transform .45s var(--ease-out),visibility 0s .45s}
  html.js .nav.open+.menu{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .45s var(--ease-out),visibility 0s}
  .menu a{display:block;padding:10px 0;font-size:clamp(24px,6vw,32px);font-weight:600;letter-spacing:-.035em;color:#fff;border-bottom:1px solid rgba(255,255,255,.07)}
  .menu a:last-child{border:0}
  .menu .menu-in{color:var(--ice)}
}
@media (max-width:899px){ .nav{gap:16px} .nav-r{gap:14px} }
@media (max-width:420px){ .nav-in{display:none} .pill{height:34px;padding:0 14px;font-size:14px} }
/* JavaScript off: the section links wrap into a second row under the bar instead of disappearing */
@media (max-width:1139px){
  html:not(.js) .nav{height:auto;min-height:var(--navh);flex-wrap:wrap;row-gap:0;padding-top:10px;padding-bottom:10px;background:rgba(11,13,16,.94)}
  html:not(.js) .nav-links{display:flex;order:3;width:100%;flex-wrap:wrap;gap:6px 18px;padding-top:6px}
}

/* =================================================== the page =================================================== */
.doc,.blog-list{position:relative;padding-bottom:clamp(24px,4vh,48px)}
.doc>*,.blog-list>*{width:min(var(--colw),100% - var(--pad)*2);margin-left:auto;margin-right:auto}
.blog-list>.pg-top{position:relative;width:100%;padding:calc(var(--navh) + clamp(48px,8vh,96px)) var(--pad) clamp(40px,6vh,72px);text-align:center;overflow:clip;isolation:isolate}

/* ---------- the page top: one big title, one line of meta, one visual ---------- */
.doc>.pg-top{position:relative;width:100%;padding:calc(var(--navh) + clamp(48px,8vh,96px)) var(--pad) clamp(56px,8vh,100px);text-align:center;overflow:clip;isolation:isolate}
.pg-top::before{content:"";position:absolute;z-index:-1;left:50%;top:-10%;width:min(1500px,150vw);height:min(900px,110vw);transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(closest-side,rgba(72,128,255,.13),rgba(72,128,255,.04) 55%,rgba(72,128,255,0))}
.pg-top h1{max-width:15em;margin:0 auto;font-weight:600;font-size:var(--fs-h1);line-height:.95;letter-spacing:-.052em;text-wrap:balance}
.pg-top h1 .g{display:inline-block}
.pg-top.long h1{max-width:13.5em;font-size:clamp(40px,5.3vw,92px);line-height:.97}
.pg-meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 0;margin-top:clamp(18px,2.6vh,28px);font-size:16px;line-height:1.4;letter-spacing:-.006em;color:var(--dim2)}
.pg-meta>*+*::before{content:"";display:inline-block;width:4px;height:4px;margin:0 14px;border-radius:50%;background:rgba(255,255,255,.32);vertical-align:middle;transform:translateY(-1px)}
.pg-meta .eyebrow{font-weight:600;color:var(--ice)}
.pg-back{display:inline-flex;margin-bottom:clamp(14px,2vh,22px);font-size:16px;color:var(--dim2);transition:color .2s ease}
.pg-back:hover{color:#fff}
.pg-vis{position:relative;margin:clamp(28px,4.6vh,56px) auto 0}
@media (max-width:599px){ .doc>.pg-top{padding-bottom:36px} .hv-mac{margin-bottom:-4%} }
/* the visual rises in on load (motion only); the title is there from the first frame */
@keyframes pg-rise{from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:none}}
html.cine .pg-vis{animation:pg-rise 1.15s var(--ease-out) .12s both}

/* a coloured pool of light behind a picture (parent: position:relative) */
.light{--lc:var(--ice2);position:absolute;z-index:-1;pointer-events:none;border-radius:50%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--lc) 34%,transparent) 0%,color-mix(in srgb,var(--lc) 12%,transparent) 55%,transparent 100%)}

/* ---------- component: the Mac window for app captures (the home page's) ---------- */
.mac{--glow:var(--ice2);position:relative;border-radius:14px;background:#14171c;text-align:left;
  box-shadow:0 0 0 1px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.1),0 50px 120px -40px rgba(0,0,0,.9),0 30px 140px -50px color-mix(in srgb,var(--glow) 55%,transparent)}
.mac-bar{position:relative;display:flex;align-items:center;height:38px;padding:0 14px;border-radius:14px 14px 0 0;background:linear-gradient(#22262d,#1a1d23);box-shadow:inset 0 -1px 0 rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.08)}
.mac-dots{display:flex;gap:8px}
.mac-dots i{width:12px;height:12px;border-radius:50%;background:#ff5f57;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.3)}
.mac-dots i:nth-child(2){background:#febc2e} .mac-dots i:nth-child(3){background:#28c840}
.mac-title{position:absolute;left:50%;transform:translateX(-50%);font-size:13px;font-weight:500;color:rgba(255,255,255,.62);white-space:nowrap}
.mac-body{position:relative;overflow:hidden;border-radius:0 0 14px 14px;background:#0e1014}
.mac-body img{width:100%;height:auto}
@media (max-width:599px){ .mac{border-radius:10px} .mac-bar{height:26px;padding:0 10px;border-radius:10px 10px 0 0} .mac-dots{gap:5px} .mac-dots i{width:8px;height:8px} .mac-title{font-size:11px} .mac-body{border-radius:0 0 10px 10px} }

/* ---------- component: iPhone (the home page's: titanium band, black bezel, glass). --w = body width ---------- */
.ph{--w:200px;position:relative;width:var(--w);height:calc(var(--w)*2.076);border-radius:calc(var(--w)*.168);
  background:linear-gradient(138deg,#f4f6f9 0%,#b3b8c0 8%,#55585f 24%,#232428 48%,#34363b 68%,#8f949d 88%,#e6e9ee 100%);
  box-shadow:0 0 0 1px rgba(0,0,0,.8),calc(var(--w)*.06) calc(var(--w)*.12) calc(var(--w)*.3) rgba(0,0,0,.66)}
.ph::before{content:"";position:absolute;left:calc(var(--w)*-.013);top:17.5%;width:calc(var(--w)*.016);height:3.6%;border-radius:2px 0 0 2px;background:linear-gradient(#c9cdd4,#6b7078);
  box-shadow:0 calc(var(--w)*.165) 0 #8a8f98,0 calc(var(--w)*.30) 0 #8a8f98}
.ph::after{content:"";position:absolute;right:calc(var(--w)*-.013);top:27%;width:calc(var(--w)*.016);height:9.6%;border-radius:0 2px 2px 0;background:linear-gradient(#8a8f98,#4c5057)}
.ph-b{position:absolute;inset:calc(var(--w)*.012);border-radius:calc(var(--w)*.158);background:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.ph-b::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;
  background:linear-gradient(135deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,0) 24%,rgba(255,255,255,0) 72%,rgba(150,196,255,.7) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.ph-s{position:absolute;inset:calc(var(--w)*.04);border-radius:calc(var(--w)*.13);overflow:hidden;background:#000;isolation:isolate}
.ph-s img{width:100%;height:100%}
.ph-g{position:absolute;inset:0;z-index:10;background:linear-gradient(118deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.04) 19%,rgba(255,255,255,0) 34%)}

/* ---------- component: the line-drawing panel (the tools section's): dark, a soft top light, four corner marks ---------- */
.pnl{position:relative;overflow:hidden;border-radius:12px;text-align:left;
  background:radial-gradient(70% 55% at 66% 0%,rgba(255,255,255,.035),rgba(255,255,255,0) 70%),var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.075)}
.pnl::after,.doc>figure.curve-fig::after{content:"";position:absolute;z-index:3;inset:16px;pointer-events:none;--c:rgba(255,255,255,.88);--l:26px;--t:2px;
  background:linear-gradient(var(--c),var(--c)) 0 0/var(--l) var(--t),linear-gradient(var(--c),var(--c)) 0 0/var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) 100% 0/var(--l) var(--t),linear-gradient(var(--c),var(--c)) 100% 0/var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) 0 100%/var(--l) var(--t),linear-gradient(var(--c),var(--c)) 0 100%/var(--t) var(--l),
    linear-gradient(var(--c),var(--c)) 100% 100%/var(--l) var(--t),linear-gradient(var(--c),var(--c)) 100% 100%/var(--t) var(--l);
  background-repeat:no-repeat}
.pnl>svg{position:absolute;inset:0;width:100%;height:100%}
@media (max-width:599px){ .pnl{border-radius:10px} .pnl::after{inset:10px;--l:16px} }
/* the drawing kit: W lines, G grey, G2 faint, I ice; .d draws itself (pathLength="1"), .f fades in; --t delays */
.art .w{fill:none;stroke:#e9eef3;stroke-opacity:.78;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.art .gg{fill:none;stroke:rgba(233,238,243,.34);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.art .g2{fill:none;stroke:rgba(233,238,243,.15);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.art .i{fill:none;stroke:var(--lice);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.art .fi{fill:var(--lice);stroke:none}
.art .fw{fill:#e9eef3;fill-opacity:.5;stroke:none}
.art .fb{fill:var(--panel)}
.art .lbl{font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;fill:#e9eef3;fill-opacity:.7}
.art .d{stroke-dasharray:1 1}
html.cine .art .d{stroke-dashoffset:1}
html.cine .art.in .d{animation:art-draw var(--dur,.9s) cubic-bezier(.45,.05,.25,1) var(--t,0s) both}
html.cine .art .f{opacity:0}
html.cine .art.in .f{animation:art-fade .5s ease var(--t,0s) both}
@keyframes art-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes art-fade{from{opacity:0}to{opacity:1}}

/* ---------- the visuals of the page tops ----------
   .hv-mac   the real dashboard on a MacBook, one iPhone plugged in (install; --W = the screen's width)
   .hv-shot  a real capture in the Mac window (the vs pages: the Icemoon side)
   .hv-art   a line drawing in the tools panel (blog posts) */
.hv-mac{--W:min(720px,52vw,(100svh - 350px)*1.19);width:calc(var(--W)*1.29);height:calc(var(--W)*.84)}
.hv-mac::before{content:"";position:absolute;z-index:-1;left:4%;top:-30%;width:100%;height:120%;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(92,152,255,.36) 0%,rgba(92,152,255,.14) 42%,rgba(112,96,255,.05) 68%,rgba(112,96,255,0) 100%)}
.hv-mac::after{content:"";position:absolute;z-index:-1;left:0;right:-6%;top:78%;height:30%;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(175,210,255,.2),rgba(175,210,255,.06) 55%,rgba(175,210,255,0))}
.mbk{position:absolute;left:calc(var(--W)*.17);top:0;width:calc(var(--W)*1.046)}
.mbk-lid{position:relative;z-index:1;padding:calc(var(--W)*.023) calc(var(--W)*.023) calc(var(--W)*.042);
  border-radius:calc(var(--W)*.032) calc(var(--W)*.032) calc(var(--W)*.01) calc(var(--W)*.01);background:#050608;
  box-shadow:0 0 0 1.5px #2f343b,0 0 0 2.5px #0b0d10,inset 0 0 0 1px rgba(255,255,255,.07),0 calc(var(--W)*.06) calc(var(--W)*.12) calc(var(--W)*-.03) rgba(0,0,0,.95)}
.mbk-lid::before{content:"";position:absolute;inset:-1.5px;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(152deg,rgba(226,240,255,.95) 0%,rgba(190,220,255,.55) 16%,rgba(160,200,255,0) 38%,rgba(160,200,255,0) 82%,rgba(150,196,255,.3) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.mbk-lid::after{content:"";position:absolute;left:50%;top:calc(var(--W)*.009);width:calc(var(--W)*.006);height:calc(var(--W)*.006);margin-left:calc(var(--W)*-.003);border-radius:50%;background:#16191e}
.mbk-scr{position:relative;width:var(--W);aspect-ratio:16/10;overflow:hidden;border-radius:calc(var(--W)*.006);background:#0b0d11;isolation:isolate}
.mbk-scr img{width:100%;height:auto}
.mbk-base{position:relative;z-index:1;width:calc(var(--W)*1.046*1.12);height:calc(var(--W)*.026);margin-left:calc(var(--W)*1.046*-.06);
  border-radius:0 0 calc(var(--W)*.05) calc(var(--W)*.05)/0 0 calc(var(--W)*.022) calc(var(--W)*.022);
  background:linear-gradient(#aab2bd 0,#5b6068 9%,#34383e 32%,#1f2226 66%,#121417 100%);box-shadow:inset 0 1px 0 rgba(214,236,255,.6),0 calc(var(--W)*.02) calc(var(--W)*.04) rgba(0,0,0,.7)}
.mbk-base::before{content:"";position:absolute;left:50%;top:0;width:14%;height:46%;transform:translateX(-50%);border-radius:0 0 calc(var(--W)*.012) calc(var(--W)*.012);background:linear-gradient(#15171a,#2a2e34)}
/* iPhone 01's card on the screen (2880x1800 capture: x280 y364 w754 h502) lights up once the cable is in */
.mbk-hl{position:absolute;left:9.72%;top:20.22%;width:26.18%;height:27.89%;border-radius:calc(var(--W)*.0085);opacity:0;pointer-events:none;
  box-shadow:0 0 0 max(1.5px,calc(var(--W)*.0022)) var(--ice),0 0 calc(var(--W)*.05) rgba(95,157,255,.55)}
.mbk-sweep{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.mbk-sweep::before{content:"";position:absolute;top:-25%;bottom:-25%;left:0;width:34%;opacity:0;transform:translate3d(-130%,0,0) skewX(-14deg);
  background:linear-gradient(100deg,rgba(214,236,255,0) 0%,rgba(214,236,255,.12) 40%,rgba(255,255,255,.2) 50%,rgba(214,236,255,.12) 60%,rgba(214,236,255,0) 100%)}
.mbk-sheen{position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,.015) 26%,rgba(255,255,255,0) 40%)}
.hv-cable{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;pointer-events:none}
.hv-cable path{fill:none;stroke:var(--lice);stroke-width:2.2;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1 1;stroke-dashoffset:0}
.hv-cable rect{fill:var(--lice)}
.hv-phone{position:absolute;z-index:3;left:calc(var(--W)*.15);top:calc(var(--W)*.34)}
.hv-phone .ph{--w:calc(var(--W)*.21)}
@keyframes hv-cable{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes hv-plug{from{opacity:0}to{opacity:1}}
@keyframes hv-hl{0%{opacity:0}18%{opacity:1}42%{opacity:.35}62%{opacity:1}100%{opacity:0}}
@keyframes hv-sweep{0%{opacity:1;transform:translate3d(-130%,0,0) skewX(-14deg)}100%{opacity:1;transform:translate3d(420%,0,0) skewX(-14deg)}}
html.cine .hv-cable path{animation:hv-cable 1.3s cubic-bezier(.45,.05,.25,1) .9s both}
html.cine .hv-cable rect{animation:hv-plug .3s ease 2.1s both}
html.cine .mbk-hl{animation:hv-hl 2.4s ease 2.2s both}
html.cine .mbk-sweep::before{animation:hv-sweep 1.9s cubic-bezier(.35,.1,.25,1) 1.9s both}
@media (max-width:1023px){ .hv-mac{--W:min(600px,64vw,(100svh - 330px)*1.19)} }
@media (max-width:599px){ .hv-mac{--W:calc((100vw - var(--pad)*2)/1.17);margin-left:calc(var(--W)*-.111)} }

.hv-shot{width:min(900px,100%,(100svh - 345px)*1.6 - 60px)}
@media (max-width:1023px){ .hv-shot{width:min(900px,100%)} }
.hv-shot .light{left:-8%;right:-8%;top:-16%;bottom:-10%}

.hv-art{width:min(700px,100%,(100svh - 440px)*1.333)}
@media (max-width:1023px){ .hv-art{width:min(700px,100%)} }
.hv-art .pnl{aspect-ratio:4/3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.075),0 50px 120px -50px rgba(95,157,255,.32)}
.hv-art .light{left:-20%;right:-20%;top:-14%;bottom:-14%;--lc:var(--ice2);opacity:.75}

/* the post's drawing (blog/human-like-touch-bezier-curves): ghosts of earlier swipes, the live curve, its dots */
.bz .bz-ghost{fill:none;stroke:var(--lice);stroke-width:1.3;opacity:.22}
.bz .bz-c{stroke-width:2.4}
.bz .bz-rd{fill:rgba(233,238,243,.42)}
.bz .bz-h{transition:none}
.bz text{font-family:var(--mono)}

/* a figure from the article itself, set in the same panel (blog: .curve-fig) */
.doc>figure.curve-fig{position:relative;width:min(var(--midw),100% - var(--pad)*2);margin:40px auto 44px;padding:clamp(36px,5vw,64px) clamp(28px,5vw,72px) clamp(22px,3vw,34px);border-radius:12px;
  background:radial-gradient(70% 55% at 66% 0%,rgba(255,255,255,.035),rgba(255,255,255,0) 70%),var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.075)}
.curve-fig svg{width:100%;height:auto;overflow:visible}
.curve-fig .robot{fill:none;stroke:rgba(233,238,243,.4);stroke-width:1.5;stroke-dasharray:4 4}
.curve-fig .human{fill:none;stroke:var(--lice);stroke-width:2.2;stroke-linecap:round}
.curve-fig .dot{fill:var(--lice)}
.curve-fig .dot-r{fill:rgba(233,238,243,.6)}
.curve-fig text{font-family:var(--mono);font-size:9px;letter-spacing:.1em;fill:rgba(233,238,243,.6)}
.curve-fig text.lbl-h{fill:var(--lice)}
.doc .curve-fig figcaption{margin-top:20px;font-size:15px;line-height:1.5;color:var(--dim2);text-align:center}
html.cine .curve-fig .human{stroke-dasharray:1 1;stroke-dashoffset:1}
html.cine .curve-fig.in .human{animation:art-draw 1.6s cubic-bezier(.45,.05,.25,1) .35s both}
@media (max-width:599px){ .doc>figure.curve-fig{padding:34px 16px 18px} .doc>figure.curve-fig::after{inset:10px;--l:16px} .curve-fig text{font-size:14px;letter-spacing:.06em} .doc .curve-fig figcaption{font-size:14px} }

/* small motions inside the drawings (cine only; the default is the finished picture) */
.art .ptr{opacity:0}
html:not(.cine) .art .ptr-2,html:not(.cine) .art .ptr-5{opacity:1}
@keyframes ptr-in{0%{opacity:0;transform:translate(70px,-46px)}15%{opacity:1}75%{opacity:1;transform:none}86%{transform:scale(.82)}100%{opacity:1;transform:none}}
html.cine .art.in .ptr-2{animation:ptr-in 1s cubic-bezier(.45,0,.2,1) 1.15s both}
html.cine .art.in .ptr-5{animation:ptr-in 1s cubic-bezier(.45,0,.2,1) 1.45s both}
.art .ghost{transform:translate(476px,170px)}
@keyframes ghost{0%{opacity:0;transform:translate(318px,166px)}12%{opacity:1;transform:translate(318px,166px)}40%{transform:translate(372px,118px)}70%{transform:translate(436px,128px)}88%{opacity:1;transform:translate(476px,170px) scale(.9)}100%{opacity:0;transform:translate(476px,170px) scale(.6)}}
html:not(.cine) .art .ghost{opacity:0}
html.cine .art .ghost{opacity:0}
html.cine .art.in .ghost{animation:ghost 1.5s cubic-bezier(.45,0,.25,1) 1.95s both}
.art .tog-knob{transform:translateX(12px);transition:transform .45s var(--ease-spring)}
html.cine .art .tog-knob{transform:none}
html.cine .art.in .tog-knob{transform:translateX(12px);transition-delay:2.2s}

/* ---------- reading text ---------- */
.doc>.lead{margin-top:clamp(8px,2vh,24px);margin-bottom:clamp(28px,4vh,44px);font-size:var(--fs-lead);line-height:1.45;letter-spacing:-.016em;color:rgba(255,255,255,.88)}
.doc p,.doc li,.doc dd{font-size:var(--fs-body);line-height:1.68;letter-spacing:-.008em;color:var(--text)}
.doc>p,.doc .steps>p{margin-bottom:1.05em}
.doc h2{margin-top:clamp(64px,8vw,112px);margin-bottom:20px;font-weight:600;font-size:var(--fs-h2);line-height:1.06;letter-spacing:-.038em;color:#fff;text-wrap:balance}
.doc h3{margin-top:clamp(36px,4vw,52px);margin-bottom:12px;font-weight:600;font-size:var(--fs-h3);line-height:1.18;letter-spacing:-.025em;color:#fff}
.doc strong{font-weight:600;color:#fff}
.doc em{font-style:italic}
.doc p a,.doc li a,.doc dd a,.doc .faq-body a,.doc .note a,.doc .callout a{color:var(--ice);text-decoration:underline;text-decoration-color:rgba(169,210,255,.38);text-decoration-thickness:1px;text-underline-offset:.22em;transition:text-decoration-color .2s ease,color .2s ease}
.doc p a:hover,.doc li a:hover,.doc dd a:hover,.doc .faq-body a:hover,.doc .note a:hover,.doc .callout a:hover{color:#fff;text-decoration-color:#fff}
.doc code{font-family:var(--mono);font-size:.86em;padding:.12em .42em;border-radius:6px;background:rgba(169,210,255,.08);color:var(--ice3)}
.doc hr{height:1px;border:0;background:var(--line);margin:clamp(40px,6vw,64px) auto}
/* lists: a short ice rule for bullets, ice numerals for steps */
.doc>ul,.doc>ol,.doc .steps>ul,.doc .steps>ol{margin-bottom:1.3em}
.doc ul>li,.doc ol>li{position:relative;padding-left:30px}
.doc ul>li+li,.doc ol>li+li{margin-top:.62em}
.doc ul>li::before{content:"";position:absolute;left:2px;top:calc(.84em - 1px);width:12px;height:2px;border-radius:1px;background:rgba(169,210,255,.85)}
.doc ol{counter-reset:ol}
.doc ol>li{counter-increment:ol}
.doc ol>li::before{content:counter(ol);position:absolute;left:0;top:0;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ice)}
/* "Before you start": a checklist */
.doc ul.req-list>li::before{left:3px;top:.42em;width:7px;height:12px;border:solid var(--ice);border-width:0 1.8px 1.8px 0;border-radius:0;background:none;transform:rotate(42deg)}
.doc ul.req-list>li{padding-bottom:.62em;border-bottom:1px solid rgba(255,255,255,.07)}
.doc ul.req-list>li+li{margin-top:.62em}
.doc ul.req-list>li:last-child{border-bottom:0}

/* comparisons: the two "where it shines" sections side by side, the Icemoon side lit like its table column */
.doc>.duo{width:min(var(--widew),100% - var(--pad)*2);display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,2.6vw,40px);align-items:start;margin-top:clamp(64px,8vw,112px)}
.duo-col{padding:clamp(28px,3vw,48px) clamp(4px,1vw,12px)}
.duo-col.lit{padding:clamp(28px,3vw,48px);border-radius:22px;background:linear-gradient(180deg,rgba(169,210,255,.075),rgba(169,210,255,.025) 70%);box-shadow:inset 0 0 0 1px rgba(169,210,255,.14)}
.doc .duo-col>h2{margin-top:0}
.duo-col>p,.duo-col>ul{margin-bottom:1.05em}
.duo-col>p:last-child,.duo-col>ul:last-child{margin-bottom:0}
.duo-col ul>li>strong:first-child,.doc ul.pick>li>strong:first-child{display:block;margin-bottom:3px;font-size:1.06em;letter-spacing:-.015em}
.doc>ul.pick{width:min(var(--widew),100% - var(--pad)*2);display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2vw,28px);margin-top:28px}
.doc ul.pick>li{margin:0;padding:clamp(26px,3vw,40px);border-radius:22px;background:var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.075)}
.doc ul.pick>li::before{display:none}
.doc ul.pick>li:last-child{background:linear-gradient(180deg,rgba(169,210,255,.085),rgba(169,210,255,.03) 75%);box-shadow:inset 0 0 0 1px rgba(169,210,255,.16)}
.doc ul.pick>li>strong:first-child{margin-bottom:12px;font-size:clamp(22px,2vw,30px);line-height:1.1;letter-spacing:-.035em}
.doc ul.pick>li:last-child>strong:first-child{color:var(--ice)}
@media (max-width:899px){ .doc>.duo,.doc>ul.pick{grid-template-columns:1fr} .duo-col:not(.lit){padding-top:0} }

/* notes and callouts: a quiet panel with an ice edge */
.doc .note,.doc .callout,.doc blockquote{position:relative;margin:28px auto 30px;padding:22px 26px 22px 28px;border-radius:14px;background:var(--panel);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.075);font-size:var(--fs-body);line-height:1.62;color:var(--text)}
.doc .note::before,.doc .callout::before,.doc blockquote::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:2px;border-radius:0 2px 2px 0;background:var(--ice)}
.doc .callout p,.doc blockquote p{margin:0}
.doc .callout p+p,.doc blockquote p+p{margin-top:.8em}
/* mcp: things you can just ask, set as quotes */
.doc .prompt{position:relative;margin:14px auto;padding:20px 26px 20px 56px;border-radius:14px;background:var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.075);
  font-size:clamp(18px,1.4vw,21px);line-height:1.45;letter-spacing:-.015em;color:#fff}
.doc .prompt::before{content:"\201C";position:absolute;left:22px;top:12px;font-size:40px;line-height:1;font-weight:600;color:var(--ice)}
/* devices: the one-line answer */
.doc .answer{margin:32px auto;padding:clamp(24px,3vw,36px);border-radius:16px;background:var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.075)}
.doc .answer .big{font-size:clamp(22px,2vw,30px);line-height:1.2;letter-spacing:-.03em;font-weight:600;color:#fff;margin-bottom:12px}
.doc .answer p:last-child{margin-bottom:0}

/* ---------- steps (install, mcp): big numbered chapters on a progress line, like the home page's tools ---------- */
.doc>.steps{position:relative;margin-top:clamp(24px,3vw,40px)}
.step{display:flex;align-items:baseline;gap:18px;margin:clamp(72px,9vw,128px) auto 22px}
.steps>.step:first-child{margin-top:clamp(56px,6vw,88px)}
.step h2,.doc .step h2{margin:0}
.step-num{flex:none;min-width:1.1em;font-weight:700;font-size:clamp(40px,4.6vw,72px);line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;
  color:#fff;-webkit-text-stroke:2px transparent;paint-order:stroke fill;transition:color .45s ease,-webkit-text-stroke-color .45s ease}
/* inside .steps, with motion: a number waits as an outline until its step reaches mid-screen (like the home page's tools) */
html.cine .steps .step:not(.on) .step-num{color:var(--bg);-webkit-text-stroke-color:rgba(255,255,255,.5)}
.steps-rail{display:none}
@media (min-width:1100px){
  .step{position:relative}
  .step-num{position:absolute;right:calc(100% + 36px);top:50%;transform:translateY(-52%);text-align:right}
  .steps-rail{display:block;position:absolute;left:-28px;top:0;bottom:0;width:1px;background:rgba(255,255,255,.12);pointer-events:none}
  .steps-rail i{position:absolute;left:-.5px;top:0;width:2px;height:100%;background:var(--ice);transform-origin:50% 0;transform:scaleY(var(--p,0))}
  html:not(.js) .steps-rail i{transform:none}
}
@media (max-width:599px){ .step{gap:14px} .step-num{-webkit-text-stroke-width:1.4px} }

/* ---------- media slots: a frame of the tools panel with a drawing of the step; the slot's own words as its caption ---------- */
.doc .media-slot{margin:30px auto 8px}
.slot{aspect-ratio:2/1}
.slot>figcaption{position:absolute;z-index:4;left:50%;bottom:20px;transform:translateX(-50%);white-space:nowrap;font-size:14px;letter-spacing:-.005em;color:rgba(255,255,255,.5)}
.slot>figcaption::before{content:"";display:inline-block;width:6px;height:6px;margin-right:10px;border-radius:50%;box-shadow:inset 0 0 0 1.4px rgba(255,255,255,.45);vertical-align:middle;transform:translateY(-1px)}
.slot-shot{display:flex;align-items:center;justify-content:center;aspect-ratio:2.35/1}
.slot-shot picture{position:relative;z-index:2;display:block;width:91%;margin-top:-5%;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 70px -24px rgba(0,0,0,.9)}
.slot-shot picture img{width:100%;height:auto}
/* the Devices tab (2400x1773), cut to its last row: iPhone 08 ready to start and the Add New Device card (x802 y1212 w1574 h540) */
@media (min-width:600px){
  .slot-shot picture{aspect-ratio:1574/540}
  .slot-shot picture img{position:absolute;left:calc(-802/1574*100%);top:calc(-1212/540*100%);width:calc(2400/1574*100%);max-width:none}
}
@media (max-width:599px){
  .slot{aspect-ratio:4/3}
  .slot>figcaption{bottom:13px;font-size:13px}
  .slot-shot picture{width:84%;margin-top:-8%}
}

/* ---------- video tutorials: the player behind a poster frame (the iframe loads on click) ---------- */
.doc>.tutorials{width:min(var(--widew),100% - var(--pad)*2);margin-top:clamp(56px,7vw,96px)}
.tutorials>h2,.tutorial-card>h3,.tutorial-card>p,.tutorial-direct{display:block;width:min(var(--colw),100%);margin-left:auto;margin-right:auto}
.doc .tutorials>h2{margin-top:0}
.doc .tutorial-card>h3{margin-top:0}
.tutorial-card>p{margin-bottom:28px}
.yt{position:relative;aspect-ratio:16/9;width:min(var(--midw),100%);margin:0 auto}
.yt iframe{position:absolute;inset:0;z-index:5;width:100%;height:100%;border:0;border-radius:inherit;background:#000}
.yt-play{position:absolute;z-index:4;inset:0;display:grid;place-items:center;width:100%;padding:0;border:0;border-radius:inherit;background:none;color:#000;cursor:pointer}
.yt-play b{position:relative;display:grid;place-items:center;width:clamp(68px,7vw,96px);height:clamp(68px,7vw,96px);border-radius:50%;background:#fff;
  box-shadow:0 0 0 12px rgba(255,255,255,.07),0 20px 60px rgba(0,0,0,.6);transition:transform .35s var(--ease-spring),background-color .25s ease}
.yt-play b svg{width:30%;height:30%;margin-left:7%}
.yt-play:hover b{transform:scale(1.06);background:var(--ice)}
.yt-play:focus-visible{outline:none}
.yt-play:focus-visible b{outline:2px solid var(--ice);outline-offset:8px}
.yt.on .yt-play,.yt.on .art{display:none}
html:not(.js) .yt-play{display:none}
.tutorial-direct{margin-top:22px;font-size:16px;font-weight:500;color:var(--ice)}
.tutorial-direct::after{content:" \2197"}
.tutorial-direct:hover{color:#fff}

/* ---------- tables: big and calm; the Icemoon column lit softly; on phones every row becomes a block ---------- */
.doc>.cmp-wrap,.doc>.table-wrap{width:min(var(--widew),100% - var(--pad)*2);margin-top:28px;margin-bottom:40px}
.doc>.table-wrap.mid{width:min(var(--midw),100% - var(--pad)*2)}
.doc table{width:100%;border-collapse:separate;border-spacing:0;font-size:17px;line-height:1.5}
.doc th,.doc td{padding:20px 22px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.085);color:var(--text)}
.doc thead th{padding-top:6px;padding-bottom:18px;font-size:clamp(17px,1.4vw,22px);font-weight:600;letter-spacing:-.02em;color:#fff;border-bottom:1px solid rgba(255,255,255,.22);white-space:nowrap}
.doc tbody tr:last-child td{border-bottom:0}
.doc tbody td:first-child{color:#fff;font-weight:600;letter-spacing:-.01em}
.doc td code{font-size:.84em}
/* the lit column: --hl is its index (2 = the Icemoon column of every comparison) */
.doc table.cmp th:nth-child(2),.doc table.cmp td:nth-child(2),.doc table.hl-3 th:nth-child(3),.doc table.hl-3 td:nth-child(3){background:rgba(169,210,255,.055);color:rgba(255,255,255,.9)}
.doc table.cmp thead th:nth-child(2),.doc table.hl-3 thead th:nth-child(3){color:var(--ice);border-radius:14px 14px 0 0;padding-top:20px}
.doc table.cmp tbody tr:last-child td:nth-child(2),.doc table.hl-3 tbody tr:last-child td:nth-child(3){border-radius:0 0 14px 14px}
.doc table.cmp thead th:not(:nth-child(2)),.doc table.hl-3 thead th:not(:nth-child(3)){padding-top:20px}
.doc table.cmp.nohl th,.doc table.cmp.nohl td{background:none!important;color:var(--text)}
.doc table.cmp.nohl thead th{color:#fff}
.doc table.cmp td:first-child,.doc table.cmp th:first-child{width:22%}
.doc table.cmp td:nth-child(2),.doc table.cmp td:nth-child(3){width:39%}
.th-logo{display:inline-flex;align-items:center;gap:10px}
.th-logo img{width:24px;height:24px}
/* tables that keep their grid (many short columns): they scroll on their own, never the page */
.doc .table-wrap.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.doc .table-wrap.scroll table{min-width:640px;font-size:16px}
.doc .table-wrap.scroll th,.doc .table-wrap.scroll td{padding:14px 16px;white-space:nowrap}
@media (max-width:759px){
  .doc table.stack,.doc table.stack tbody,.doc table.stack tr,.doc table.stack td{display:block;width:auto}
  .doc table.stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .doc table.stack tr{padding:22px 0;border-bottom:1px solid rgba(255,255,255,.1)}
  .doc table.stack tr:first-child{border-top:1px solid rgba(255,255,255,.22)}
  .doc table.stack td{padding:0;border:0;background:none;font-size:16px}
  .doc table.stack td:first-child{margin-bottom:12px;font-size:19px}
  .doc table.stack{--lw:6.4em}
  .doc table.stack.hl-3{--lw:8.6em}
  .doc table.stack td[data-l]{display:grid;grid-template-columns:var(--lw) 1fr;gap:12px}
  .doc table.stack td[data-l]+td[data-l]{margin-top:10px}
  .doc table.stack td[data-l]::before{content:attr(data-l);font-weight:600;color:var(--dim2)}
  .doc table.stack.cmp td:nth-child(2),.doc table.stack.hl-3 td:nth-child(3){padding:12px 14px;margin-left:-14px;margin-right:-14px;border-radius:12px;background:rgba(169,210,255,.06)}
  .doc table.stack.cmp td:nth-child(2)::before,.doc table.stack.hl-3 td:nth-child(3)::before{color:var(--ice)}
  .doc table.cmp td:first-child,.doc table.cmp td:nth-child(2),.doc table.cmp td:nth-child(3){width:auto}
}

/* ---------- code: a dark panel with a working Copy button (added by inner.js) ---------- */
.code{position:relative;margin:28px auto 30px}
.doc pre{position:relative;overflow-x:auto;padding:24px 28px;border-radius:14px;background:#0a0d11;
  box-shadow:0 0 0 1px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.09),0 40px 90px -50px rgba(95,157,255,.35)}
.doc>pre{margin:28px auto 30px}
.doc pre code{display:block;padding:0;background:none;border-radius:0;font-size:clamp(13.5px,1vw,15px);line-height:1.75;color:rgba(255,255,255,.9);white-space:pre}
.code>pre{margin:0}
.code.has-copy>pre{padding-right:96px}
.copy{position:absolute;z-index:2;top:14px;right:14px;height:32px;padding:0 14px;border:0;border-radius:99px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
  font:500 13.5px var(--font);color:rgba(255,255,255,.86);cursor:pointer;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}
.copy:hover{background:rgba(255,255,255,.12);color:#fff}
.copy.ok{color:#0b0d10;background:var(--ice);box-shadow:none}
@media (max-width:699px){ .code.has-copy>pre{padding:58px 20px 22px} .copy{top:12px;right:12px} }

/* ---------- FAQ: the home page's questions, a size smaller ---------- */
.doc>.faq-item{border-top:1px solid rgba(255,255,255,.1)}
.doc>.faq-item:last-of-type,.doc>.faq-item+:not(.faq-item){border-bottom:0}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;cursor:pointer;list-style:none;
  font-size:clamp(19px,1.45vw,23px);font-weight:600;line-height:1.3;letter-spacing:-.022em;color:#fff;transition:color .2s ease}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"";flex:none;width:36px;height:36px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.26);
  background:linear-gradient(#fff,#fff) center/12px 1.6px no-repeat,linear-gradient(#fff,#fff) center/1.6px 12px no-repeat;transition:transform .35s var(--ease-spring),background-color .25s ease,box-shadow .25s ease}
.faq-item summary:hover::after{box-shadow:inset 0 0 0 1.5px #fff}
.faq-item[open] summary::after{transform:rotate(45deg);background-color:rgba(255,255,255,.08)}
.faq-body{padding:0 60px 28px 0}
.faq-body p{margin:0}
.faq-body p+p{margin-top:.8em}
.doc>.faq-item:last-of-type{border-bottom:1px solid rgba(255,255,255,.1)}
@media (max-width:599px){ .faq-body{padding-right:0} .faq-item summary{padding:20px 0} .faq-item summary::after{width:32px;height:32px} }

/* ---------- calls to action ---------- */
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;margin-bottom:8px}
.btn-sm{display:inline-flex;align-items:center;height:50px;padding:0 26px;border-radius:99px;background:#fff;color:#000;font-weight:600;font-size:16px;letter-spacing:-.01em;transition:background-color .25s ease}
.btn-sm:hover{background:var(--ice)}
/* the closing panel of a post */
.doc>.post-cta{position:relative;width:min(var(--midw),100% - var(--pad)*2);margin-top:clamp(64px,8vw,104px);padding:clamp(36px,5vw,64px) clamp(28px,5vw,64px);border-radius:20px;overflow:hidden;isolation:isolate;
  background:radial-gradient(80% 90% at 85% 0%,rgba(95,157,255,.2),rgba(95,157,255,0) 62%),var(--panel);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.doc .post-cta h3{margin:0 0 14px;max-width:15em;font-size:clamp(28px,3vw,44px);line-height:1.04;letter-spacing:-.04em}
.doc .post-cta p{max-width:34em;margin-bottom:26px;color:var(--dim)}
/* read next: a big list of titles */
.doc>.read-next{margin-top:clamp(56px,7vw,88px)}
.read-next .post-meta{margin-bottom:10px;font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--ice)}
.doc .read-next ul>li{padding:0;margin:0;border-top:1px solid rgba(255,255,255,.1)}
.doc .read-next ul>li:last-child{border-bottom:1px solid rgba(255,255,255,.1)}
.doc .read-next ul>li::before{display:none}
.read-next li a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;font-size:clamp(19px,1.6vw,24px);font-weight:600;line-height:1.25;letter-spacing:-.025em;color:#fff;text-decoration:none;transition:color .2s ease}
.read-next li a::after{content:"";flex:none;width:12px;height:12px;border:solid currentColor;border-width:1.8px 1.8px 0 0;transform:rotate(45deg);margin-right:6px;opacity:.6;transition:transform .3s var(--ease-spring),opacity .2s ease}
.read-next li a:hover{color:var(--ice)}
.read-next li a:hover::after{transform:translateX(4px) rotate(45deg);opacity:1}
/* the page's own links at the very end (each page keeps its list) */
.doc>.doc-foot{display:flex;flex-wrap:wrap;gap:12px 30px;margin-top:clamp(56px,7vw,88px);padding-top:28px;border-top:1px solid rgba(255,255,255,.1);font-size:16px}
.doc-foot a{color:rgba(255,255,255,.62);transition:color .2s ease}
.doc-foot a:hover{color:#fff}

/* ---------- the blog list ---------- */
.post-card{display:block;padding:clamp(28px,3.4vw,40px) 0;border-top:1px solid rgba(255,255,255,.1)}
.post-card .post-meta{display:flex;flex-wrap:wrap;gap:0;font-size:15px;color:var(--dim2);margin-bottom:12px}
.post-card .post-meta span+span::before{content:"";display:inline-block;width:4px;height:4px;margin:0 12px;border-radius:50%;background:rgba(255,255,255,.3);vertical-align:middle}
.post-card h2{margin:0 0 10px;font-size:clamp(24px,2.2vw,34px)}
.post-card p{max-width:40em}
.post-card:hover h2{color:var(--ice)}

/* ---------- reveal on scroll (motion only) ---------- */
html.cine .reveal{opacity:0;transform:translate3d(0,40px,0);transition:opacity .9s var(--ease-out) var(--d,0ms),transform 1.1s var(--ease-out) var(--d,0ms)}
html.cine .reveal.in{opacity:1;transform:none}

/* ---------- footer: the home page's (the wheel at rest behind the last call, then the site map) ---------- */
.end{position:relative;z-index:2;background:var(--bg);overflow:clip;padding:0 0 32px}
.end-hero{--ew:min(1040px,150vw);position:relative;overflow:hidden;padding:clamp(120px,20vh,220px) var(--pad) calc(var(--ew)*.36);text-align:center}
.end-wheel{position:absolute;left:50%;bottom:calc(var(--ew)*-.5);width:var(--ew);aspect-ratio:1;transform:translateX(-50%);pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side,#000 64%,transparent 86%);mask-image:radial-gradient(closest-side,#000 64%,transparent 86%)}
.end-wheel img{position:relative;width:100%;height:100%;mix-blend-mode:lighten;opacity:.62}
.end-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(rgba(11,13,16,0),var(--bg));pointer-events:none}
.end-wheel i{position:absolute;inset:6%;border-radius:50%;opacity:0}
.end-wheel i:nth-child(1){background:radial-gradient(closest-side,transparent 30%,color-mix(in srgb,#ff3d8b 34%,transparent) 50%,color-mix(in srgb,#8c38fa 16%,transparent) 66%,transparent 90%);opacity:1}
.end-wheel i:nth-child(2){background:radial-gradient(closest-side,transparent 30%,color-mix(in srgb,#25f4ee 28%,transparent) 50%,color-mix(in srgb,#fe2c55 16%,transparent) 66%,transparent 90%)}
.end-wheel i:nth-child(3){background:radial-gradient(closest-side,transparent 30%,color-mix(in srgb,#4d94ff 36%,transparent) 50%,color-mix(in srgb,#3cb6f2 14%,transparent) 66%,transparent 90%)}
@keyframes endlight{0%,28%{opacity:1}36%,92%{opacity:0}100%{opacity:1}}
html.cine .end-wheel i{animation:endlight 12s ease-in-out infinite}
html.cine .end-wheel i:nth-child(2){animation-delay:-8s} html.cine .end-wheel i:nth-child(3){animation-delay:-4s}
.end-h{position:relative;font-weight:600;font-size:clamp(48px,7.4vw,132px);line-height:.93;letter-spacing:-.055em}
.end-h span{display:block}
.end-p{position:relative;margin-top:clamp(18px,3vh,30px);font-size:clamp(18px,1.6vw,24px);letter-spacing:-.018em;font-weight:500}
.end-p span{color:var(--dim2)}
.end-cta{position:relative;margin-top:clamp(22px,3.4vh,34px);display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.end-map{position:relative;max-width:var(--maxw);margin:clamp(40px,7vh,80px) auto 0;padding:0 var(--pad)}
.end-cols{display:grid;grid-template-columns:1.5fr 1.6fr 1fr 1fr;gap:40px;padding:40px 0 44px;border-top:1px solid var(--line)}
.end-brand .brand{font-size:17px}
.end-brand p{margin-top:14px;max-width:19em;font-size:15px;line-height:1.5;color:var(--dim2)}
.end-col h2{font-family:var(--mono);font-size:11.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ice)}
.end-col ul{margin-top:16px;display:grid;gap:10px}
.end-col.wide ul{grid-template-columns:1fr 1fr;column-gap:24px}
.end-col a{font-size:14.5px;color:rgba(255,255,255,.7);transition:color .2s ease}
.end-col a:hover{color:#fff}
.tg{display:inline-flex;align-items:center;gap:8px}
.tg svg{width:16px;height:16px;color:var(--pf-telegram)}
.end-bot{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;padding-top:22px;border-top:1px solid var(--line);font-size:13px;color:var(--dim2)}
.end-bot nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.end-bot a:hover{color:#fff}
.credit{margin-top:18px;font-family:var(--mono);font-size:11px;line-height:1.5;letter-spacing:.01em;color:rgba(255,255,255,.45);max-width:62em}
@media (max-width:1023px){ .end-cols{grid-template-columns:1fr 1fr 1fr} .end-brand{grid-column:1/-1} }
@media (max-width:599px){
  .end-cols{grid-template-columns:1fr 1fr;gap:34px 20px}
  .end-col.wide{grid-column:1/-1}
  .end-h{font-size:clamp(44px,13vw,80px)}
  .end-hero{--ew:170vw}
  .end-p span{display:block}
}

/* ---------- reduced motion: every transition off, the stills stay ---------- */
html.still *,html.still *::before,html.still *::after{animation-duration:.001s!important;animation-delay:0s!important;transition-duration:.001s!important}

/* =====================================================================================================================
   polish 18.11, group "frames": small fixes at the edges of the frames. Appended; no rule above is changed. Every rule
   is scoped by a body class (.pg-install = /install, .pg-cmp = the seven comparison pages).
   ===================================================================================================================== */

/* ---------- /install on the narrowest phones (below 360px; from 360px the page is unchanged) ----------
   The meta line: below 339px "Last updated: July 16, 2026" no longer fits beside "Guide" and wrapped with its dot at the
   start of the second line, so there the two parts stack without the dot, as on /mcp and /devices (from 344px: a few px
   of room for other browsers' text widths). Each bound is written .98 so that a fractional viewport (a zoomed page)
   gets the rule of the whole px below it. */
@media (max-width:344.98px){
  .pg-install .pg-meta{flex-direction:column;gap:2px}
  .pg-install .pg-meta>*+*::before{display:none}
}
/* The media slots: below 360px a 4:3 panel is too small for a one-line caption lying on its foot. The longest caption
   (slot 4, setup progress) runs over the corner marks below 356px and out of the panel below 332px, slot 7's reaches the
   marks below 325px, and the cable drawn in slot 6 runs into its caption. There the caption follows the drawing instead
   of lying on it: the drawing keeps its 4:3 box (the same size and place), the caption starts 16px above that box's
   foot (where every drawing is empty), its lines stay 20px inside the panel (8px inside the corner marks), and the panel
   grows by what the caption needs. The three long captions break before "coming soon": slots 4 and 7 always, slot 1
   below 336px, where on one line it would come closer than 4.5px to the bottom marks (the approved 390px frame's closest
   caption is 3.4px from them). Each cap lies halfway between the width of the words up to the dash and the width up to
   "coming" (13px Geist with the dot: slot 4 204.6 / 251.4px, slot 7 174.3 / 221.1px, slot 1 148.5 / 195.3px), so a
   browser or a fallback font with other text widths still breaks there. The lines wrap plainly: with text-wrap:balance
   WebKit (Safari, every iPhone browser) broke every caption one line too many, because of the dot (an inline-block).
   Slot 7's capture keeps its place too: centred in the 4:3 box and lifted by 4% of the width, its top was at
   (.75 - .557)/2 - .04 = 5.65% of the width (.557 = its height: 84% of the width x 498/751); its caption follows at the
   others' height (.75 - .0565 - .557 = 13.65% of the width, less 16px). */
@media (max-width:359.98px){
  .pg-install .slot{aspect-ratio:auto}
  .pg-install .slot>svg{position:relative;height:auto;aspect-ratio:4/3}
  .pg-install .slot>figcaption{position:relative;left:auto;bottom:auto;transform:none;max-width:calc(100% - 40px);
    margin:-16px auto 13px;white-space:normal;text-align:center}
  .pg-install .steps>figure:nth-of-type(4)>figcaption{max-width:min(calc(100% - 40px),17.5em)}
  .pg-install .slot-shot{display:block}
  .pg-install .slot-shot picture{margin:5.65% auto 0}
  .pg-install .slot-shot>figcaption{margin-top:calc(13.65% - 16px);max-width:min(calc(100% - 40px),15.2em)}
}
@media (max-width:335.98px){
  .pg-install .steps>figure:nth-of-type(1)>figcaption{max-width:min(calc(100% - 40px),13.2em)}
}

/* ---------- the comparisons' "Where ... shines": the two columns share their rows ----------
   Moved here from inner-vs.css, so that the frame (/icemoon-vs-autotouch loads only this file) aligns as the six other
   vs pages do. The headings sit in one row, so the first lines under them start level even when one heading takes two
   lines and the other one ("Where Icemoon shines" wraps in its lit column on every vs page from about 1480px, xxtouch's
   left heading at 1440). A column with an opening line (appium, apple-shortcuts, the frame) puts it in row 2 and its
   list in row 3, a closing paragraph after the list (the frame) in row 4; a column of heading + list lets the list span
   rows 2-4. */
@media (min-width:900px){
  .pg-cmp .doc>.duo{grid-template-rows:auto auto auto 1fr;row-gap:0}
  .pg-cmp .duo-col{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0}
  .pg-cmp .duo-col>h2{grid-row:1}
  .pg-cmp .duo-col>h2+p{grid-row:2}
  .pg-cmp .duo-col>h2+p+ul{grid-row:3}
  .pg-cmp .duo-col>h2+p+ul+p{grid-row:4}
  .pg-cmp .duo-col>h2+ul{grid-row:2/5}
}

/* =====================================================================================================================
   final fixes 24.11 (round 1): appended; no rule above is changed.
   ===================================================================================================================== */

/* ---------- the page title in WebKit (Safari, every iPhone browser) ----------
   With text-wrap:balance, WebKit breaks a title that holds an inline-block (the gradient phrase .g) one or two lines too
   many on its first layout ("Icemoon / vs / AutoTouch", "Installation / Guide"). There the phrase is an inline that
   does not break, which keeps it in one piece as the inline-block does in Chrome. "pre", not "nowrap": with nowrap
   WebKit leaves the space inside the phrase out when it checks that a line fits, so "Typing like a person:" ran 1-7px
   past the title's box at 388-394px; the phrases hold single spaces only, so pre looks the same. Only WebKit supports
   hanging-punctuation, so in Chrome (and Firefox) the phrase stays an inline-block and the titles render as before. */
@supports (hanging-punctuation:first){ .pg-top h1 .g{display:inline;white-space:pre} }
/* Where a phrase is wider than the line, the inline-block in Chrome wraps inside itself; there the phrase may wrap in
   WebKit too, instead of running past the title's box and the screen. The approved post /blog/human-like-touch-bezier-
   curves (body .pg-post without .bl): '"human-like touch"' is 326.9px wide at its 40px size, so it fits from a 374.9px
   screen up. (/devices and the session-rhythm post have the same rule in their group files.) */
/* There the phrase is an inline-block again, as in Chrome, so each of its lines carries the whole gradient (one wrapped
   inline ran the gradient once across both pieces, and '"human-' read plain white), and it balances its own lines as
   in Chrome; the title wraps plainly, as WebKit's balance with an inline-block broke it (final fixes, round 2) */
@supports (hanging-punctuation:first){ @media (max-width:374.98px){ .pg-post:not(.bl) .pg-top h1 .g{white-space:normal;display:inline-block;text-wrap:balance} .pg-post:not(.bl) .pg-top h1{text-wrap:wrap} } }

/* ---------- the meta line of two approved pages on narrow phones (below 370px only) ----------
   /icemoon-vs-autotouch (body .pg-cmp without .vsg) and /blog/human-like-touch-bezier-curves (.pg-post without .bl):
   from 364px (the comparison) and 362px (the post) down the line no longer fits and wrapped with its separator dot at
   the start of the second line. Below 370px its two parts stack without the dot, as on the other comparison pages and
   posts; from 370px up nothing changes. */
@media (max-width:369.98px){
  .pg-cmp:not(.vsg) .pg-meta,.pg-post:not(.bl) .pg-meta{flex-direction:column;gap:2px}
  .pg-cmp:not(.vsg) .pg-meta>*+*::before,.pg-post:not(.bl) .pg-meta>*+*::before{display:none}
}

/* =====================================================================================================================
   final fixes, round 2: appended (the round-2 change to the three narrow title rules is made in place, above)
   ===================================================================================================================== */

/* ---------- reveal on short screens (at most 500px tall: a phone held sideways, the first iPhone SE upright with
   Safari's bars) ----------
   inner.js shows every block there as soon as it is on screen; the block then fades in where it stands, without the
   40px rise. The rise kept each block below the screen's edge for a moment, so on a screen this short about a fifth
   of it stayed dark as each block came in, most at the footer's last call. Taller screens keep the rise (final fixes,
   round 2) */
@media (max-height:500px){ html.cine .reveal{transform:none} }
