/* TooRoo website. Colours, fonts and rules: docs/brand.md. Layout: docs/website.md.
   Themes: <html data-palette="ink|dusk|field" data-mode="light|dark|system" data-font="rounded|classic|clear">,
   set before paint by the inline script in each page's <head> (js/site.js keeps them). */

/* ---------- Fonts: served from this site (no Google Fonts; docs/website.md). Trimmed to Latin; OFL texts in fonts/ ---------- */
@font-face{font-family:"Fredoka";src:url("../fonts/fredoka.woff2") format("woff2");font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("../fonts/inter.woff2") format("woff2");font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url("../fonts/fraunces.woff2") format("woff2");font-weight:400 600;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/atkinson-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/atkinson-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---------- Colour tokens: Ink and stone (default), light ---------- */
:root{
  --page:#FBF3EA;--card:#FFFAF4;--line:#E8DCCD;--text:#1F1A17;--text2:#6E625A;
  --accent:#E8552B;--on-accent:#FFFFFF;--accent-text:#B83A14;
  --ok:#2E8B57;--prog:#2F6FD0;--err:#C42D4F;
  --head:"Fredoka","Arial Rounded MT Bold",system-ui,sans-serif;
  --body:"Inter",-apple-system,"Segoe UI",system-ui,sans-serif;
  --r-card:20px;--spring:cubic-bezier(.34,1.56,.64,1);
  --rail:232px;
  color-scheme:light;
}
:root[data-palette="dusk"]{--page:#EEF0F6;--card:#FFFFFF;--line:#D7DBE7;--text:#12131A;--text2:#5A6075;--accent:#4F8F12;--on-accent:#FFFFFF;--accent-text:#3F6B00}
:root[data-palette="field"]{--page:#F3EEE3;--card:#FBF8F1;--line:#DCD3C2;--text:#2A2622;--text2:#5F6B5C;--accent:#C97712;--on-accent:#FFFFFF;--accent-text:#8F5200}

/* Dark: chosen, or System on a dark device */
@media (prefers-color-scheme:dark){
  :root[data-mode="system"]{--page:#141416;--card:#1E1D20;--line:#2E2C30;--text:#F5F0E8;--text2:#BDB6AD;--accent:#F0663D;--on-accent:#FFFFFF;--accent-text:#F9A383;--ok:#5CC98A;--prog:#8AB6F5;--err:#F58FA4;color-scheme:dark}
  :root[data-mode="system"][data-palette="dusk"]{--page:#12131A;--card:#1B1D27;--line:#2A2E3D;--text:#ECEEF5;--text2:#AEB3C6;--accent:#B8F35C;--on-accent:#12131A;--accent-text:#B8F35C}
  :root[data-mode="system"][data-palette="field"]{--page:#1E1C19;--card:#292622;--line:#3A3631;--text:#EFE9DD;--text2:#B9C4B1;--accent:#F2A93B;--on-accent:#1E1C19;--accent-text:#F2A93B}
}
:root[data-mode="dark"]{--page:#141416;--card:#1E1D20;--line:#2E2C30;--text:#F5F0E8;--text2:#BDB6AD;--accent:#F0663D;--on-accent:#FFFFFF;--accent-text:#F9A383;--ok:#5CC98A;--prog:#8AB6F5;--err:#F58FA4;color-scheme:dark}
:root[data-mode="dark"][data-palette="dusk"]{--page:#12131A;--card:#1B1D27;--line:#2A2E3D;--text:#ECEEF5;--text2:#AEB3C6;--accent:#B8F35C;--on-accent:#12131A;--accent-text:#B8F35C}
:root[data-mode="dark"][data-palette="field"]{--page:#1E1C19;--card:#292622;--line:#3A3631;--text:#EFE9DD;--text2:#B9C4B1;--accent:#F2A93B;--on-accent:#1E1C19;--accent-text:#F2A93B}

/* Fonts: only the families change, never sizes */
:root[data-font="classic"]{--head:"Fraunces",Georgia,serif}
:root[data-font="clear"]{--head:"Atkinson Hyperlegible",system-ui,sans-serif;--body:"Atkinson Hyperlegible",system-ui,sans-serif}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.55;transition:background .3s,color .3s}
h1,h2,h3{font-family:var(--head);font-weight:600;line-height:1.15;text-wrap:balance;margin:0}
h1{font-size:clamp(2rem,4.6vw,3.2rem)}
h2{font-size:clamp(1.45rem,3vw,1.9rem)}
h3{font-size:1.15rem}
p{margin:0}
a{color:var(--accent-text);text-underline-offset:3px}
img{max-width:100%;display:block}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Shell: left rail, top bar on phones ---------- */
.shell{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);min-height:100vh}
.rail{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column;gap:20px;background:var(--page)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);font-family:"Fredoka",var(--head);font-weight:600;font-size:24px;padding:0 8px}
.brand img{width:34px;height:34px;border-radius:9px}
.nav{display:flex;flex-direction:column;gap:2px;list-style:none;margin:0;padding:0}
.nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:var(--text2);text-decoration:none;font-weight:500}
.nav a:hover{background:var(--card);color:var(--text)}
.nav a[aria-current="page"]{background:var(--card);color:var(--text);font-weight:600;box-shadow:inset 0 0 0 1px var(--line)}
.nav .locked{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:var(--text2);opacity:.45;cursor:default;user-select:none;font-weight:500}
.nav .locked .wip{margin-left:auto;display:inline-flex}
.nav .locked .wip svg{width:18px;height:18px}
.nav svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rail .foot{margin-top:auto;font-size:13px;color:var(--text2);padding:0 8px;display:flex;flex-direction:column;gap:10px}
.rail .menu-btn{display:none}
.main{min-width:0}
.wrap{max-width:1080px;margin:0 auto;padding:40px clamp(16px,4vw,48px) 80px;display:flex;flex-direction:column;gap:56px}
.site-foot{border-top:1px solid var(--line);padding:24px clamp(16px,4vw,48px);font-size:14px;color:var(--text2);display:flex;flex-wrap:wrap;gap:8px 20px}
.site-foot a{color:var(--text2)}

@media (max-width:860px){
  .shell{grid-template-columns:1fr}
  .rail{position:sticky;top:0;z-index:20;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line)}
  .rail .foot{display:none}
  .rail .menu-btn{display:inline-grid}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--page);border-bottom:1px solid var(--line);padding:8px 16px 16px}
  .rail.open .nav{display:flex}
  .wrap{padding-top:28px;gap:44px}
}

/* ---------- Pieces ---------- */
.label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--text2);font-weight:600}
.lede{color:var(--text2);font-size:1.12rem;max-width:58ch}
.muted{color:var(--text2)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:clamp(18px,3vw,28px);display:flex;flex-direction:column;gap:14px;min-width:0}
.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.page-head{display:flex;flex-direction:column;gap:10px}

.btn{font:inherit;font-weight:600;border-radius:999px;padding:11px 22px;cursor:pointer;border:1px solid transparent;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:transform .25s var(--spring),background .2s}
.btn:active{transform:scale(.96)}
.btn.main{background:var(--accent);color:var(--on-accent)}
.btn.quiet{background:none;color:var(--text);border-color:var(--line)}
.btn.quiet:hover{border-color:var(--text2)}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.icon-btn{font:inherit;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--text);display:inline-grid;place-items:center;cursor:pointer;font-size:20px;line-height:1}
.icon-btn:disabled{opacity:.4;cursor:not-allowed}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

.seg{display:inline-flex;flex-wrap:wrap;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:3px;gap:2px}
.seg button{font:inherit;font-size:14px;border:0;background:none;color:var(--text2);padding:6px 14px;border-radius:999px;cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--text);color:var(--page);font-weight:600}
.seg button:disabled{opacity:.45;cursor:not-allowed}

.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.field small{font-weight:400;color:var(--text2)}
input[type=email],input[type=text],select,textarea{font:inherit;font-weight:400;color:var(--text);background:var(--page);border:1px solid var(--line);border-radius:14px;padding:11px 14px;width:100%}
textarea{min-height:140px;resize:vertical}
input:disabled,select:disabled{opacity:.55}

.st{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:3px 12px;border-radius:999px;border:1px solid var(--line);color:var(--text2);white-space:nowrap}
.st.plan{color:var(--text);border-color:var(--text)}
.st.prog{color:var(--prog);border-color:currentColor}
.st.ship{color:var(--ok);border-color:currentColor}
.st.no{border-style:dashed;border-color:var(--text2)}

.note{font-size:14px;color:var(--text2);border-left:3px solid var(--line);padding-left:12px}
.toast{font-family:var(--head);font-size:1.1rem;min-height:1.6em}

/* The curve motif: once per page at most */
.curve{display:block;width:100%;height:36px;color:var(--line)}
.curve path{fill:none;stroke:currentColor;stroke-width:1.5}

/* ---------- Home: hero ---------- */
.hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,5vw,64px);align-items:center}
.hero .copy{display:flex;flex-direction:column;gap:18px}
.hero .sub{font-size:1.2rem;color:var(--text2)}
@media (max-width:860px){.hero{grid-template-columns:minmax(0,1fr)}.hero .copy{text-align:left}}
/* Phones: the hero phone right after the words, before View, Stealth and
   Maximum, so the picture is in sight while they change it (user, 2026-12-02). */
@media (max-width:860px){.hero{gap:18px}.hero .copy{display:contents}.hero .phone{order:1;margin:6px 0;width:min(100%,330px,27vh);width:min(100%,330px,27svh)}.hero .copy>.stack,.hero .copy>.join{order:2}}

.phone{position:relative;justify-self:center;width:min(100%,330px);border-radius:46px;padding:9px;background:#0d0d0e;box-shadow:0 0 0 1px var(--line)}
.phone .screen{position:relative;border-radius:38px;overflow:hidden;aspect-ratio:603/1311;background:#333}
.phone .screen img,.phone .screen canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease}
.phone .lock{position:absolute;inset:0;pointer-events:none;color:#fff;text-align:center;text-shadow:0 1px 8px rgba(0,0,0,.25)}
.phone .lock .date{position:absolute;left:0;right:0;top:9.2%;font-size:clamp(11px,4.3cqw,15px);font-weight:600;opacity:.92}
.phone .lock .time{position:absolute;left:0;right:0;top:11.6%;font-family:"Inter",system-ui,sans-serif;font-weight:600;font-size:clamp(48px,24cqw,84px);letter-spacing:-.02em;line-height:1;opacity:.95}
.phone .screen{container-type:inline-size}
.phone .island{position:absolute;top:2.2%;left:50%;transform:translateX(-50%);width:31%;height:2.8%;background:#000;border-radius:999px}
.phone .busy{position:absolute;inset:auto 0 12px;margin:auto;width:max-content;font-size:12px;background:rgba(0,0,0,.45);color:#fff;padding:4px 10px;border-radius:999px;opacity:0;transition:opacity .2s}
.phone.loading .busy{opacity:1}

/* Home hero: Lock Screen buttons (Shortcuts widget under the clock, the two corner controls) and the Choose from List sheet */
.ls-widget,.ls-btn,.ls-sheet .ls-card{-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
.ls-widget{position:absolute;left:66%;top:25.5%;transform:translateX(-50%);width:15cqw;height:15cqw;min-width:40px;min-height:40px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.2);border:0;border-radius:50%;padding:0;cursor:pointer;transition:transform .25s var(--spring),background .2s;z-index:2}
.ls-widget:hover{background:rgba(255,255,255,.3)}
.ls-widget:active{transform:translateX(-50%) scale(.92)}
.ls-widget svg{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ls-widget.busy-sync svg{animation:ls-spin .9s linear infinite}
.ls-widget .cap{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:5px;font:600 clamp(9px,3.4cqw,11px)/1 "Inter",system-ui,sans-serif;white-space:nowrap;text-shadow:0 1px 6px rgba(0,0,0,.45);pointer-events:none}
.ls-widget .cap:empty{display:none}
@keyframes ls-spin{to{transform:rotate(360deg)}}
.ls-btn{position:absolute;bottom:5.2%;width:14cqw;height:14cqw;min-width:38px;min-height:38px;border-radius:50%;border:0;background:rgba(40,40,44,.45);color:#fff;display:grid;place-items:center;cursor:pointer;transition:transform .25s var(--spring),background .2s}
.ls-btn:hover{background:rgba(40,40,44,.6)}
.ls-btn:active{transform:scale(1.12)}
.ls-btn.left{left:11cqw}
.ls-btn.right{right:11cqw}
.ls-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ls-sheet{position:absolute;inset:0;background:rgba(0,0,0,.28);display:flex;align-items:flex-end;padding:0 4% 4%;z-index:2}
.ls-sheet[hidden]{display:none}
.ls-card{width:100%;max-height:68%;display:flex;flex-direction:column;gap:2px;background:rgba(36,36,40,.78);color:#fff;border-radius:26px;padding:14px 10px 10px;font-family:"Inter",system-ui,sans-serif;animation:ls-up .3s var(--spring)}
@keyframes ls-up{from{transform:translateY(24px);opacity:0}}
.ls-title{font-weight:600;font-size:14px;text-align:center}
.ls-sub{font-size:12px;opacity:.7;text-align:center;margin-bottom:6px}
.ls-list{list-style:none;margin:0;padding:0;overflow:auto;display:flex;flex-direction:column;gap:2px}
.ls-list button{width:100%;text-align:left;font:500 13px/1.3 "Inter",system-ui,sans-serif;color:#fff;background:rgba(255,255,255,.1);border:0;border-radius:12px;padding:10px 12px;cursor:pointer}
.ls-list button:hover,.ls-list button:focus-visible{background:rgba(255,255,255,.2)}
.ls-list .quiet{background:none;opacity:.8;text-align:center}
.ls-list .empty{font-size:13px;opacity:.75;text-align:center;padding:10px 6px}
.ls-cancel{margin-top:6px;font:600 13px/1 "Inter",system-ui,sans-serif;color:#fff;background:rgba(255,255,255,.16);border:0;border-radius:12px;padding:11px;cursor:pointer}
.ls-widget:focus-visible,.ls-btn:focus-visible,.ls-sheet button:focus-visible{outline:2px solid #fff;outline-offset:2px}

.counter{display:inline-flex;align-items:center;gap:12px}
.counter output{font-family:var(--head);font-size:1.6rem;min-width:2ch;text-align:center;font-variant-numeric:tabular-nums}
.slider{display:flex;flex-direction:column;gap:6px;min-width:0}
.slider .ends{display:flex;justify-content:space-between;font-size:13px;color:var(--text2)}
input[type=range]{width:100%;accent-color:var(--accent);height:28px}
#stealth{touch-action:none}
.hero .join{gap:14px 28px}

/* ---------- Home: tick simulator ---------- */
.ticker{position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,56px);align-items:start}
@media (max-width:860px){.ticker{grid-template-columns:1fr}}
/* Phones: the three buttons under the list, one per line, full width. */
@media (max-width:560px){.tick-btns .btn{flex:1 1 100%;justify-content:center;margin-left:0!important}}
#tick-toast:empty{display:none}
.ttable{width:100%;border-collapse:collapse;font-size:15px}
.ttable th,.ttable td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.ttable th{font-size:12px;color:var(--text2);font-weight:600}
.ttable .rank{width:44px;font-variant-numeric:tabular-nums}
.ttable .tick{width:44px}
.rankb{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--text);color:var(--page);font-size:13px;font-weight:600}
.tbox{appearance:none;width:24px;height:24px;border-radius:50%;border:2px solid var(--text2);display:grid;place-items:center;cursor:pointer;margin:0;transition:all .3s var(--spring)}
.tbox::after{content:"";width:10px;height:6px;border-left:2.5px solid var(--on-accent);border-bottom:2.5px solid var(--on-accent);transform:rotate(-45deg) scale(0);margin-top:-2px;transition:transform .35s var(--spring)}
.tbox:checked{background:var(--accent);border-color:var(--accent)}
.tbox:checked::after{transform:rotate(-45deg) scale(1)}
.tbox:disabled{opacity:.35;cursor:not-allowed}
.ttext{position:relative;display:inline-block}
.ttext::after{content:"";position:absolute;left:-2px;right:-2px;top:54%;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--spring)}
tr.done .ttext{color:var(--text2)}
tr.done .ttext::after{transform:scaleX(1)}
tr.done .rankb{background:none;color:var(--text2);box-shadow:inset 0 0 0 1.5px var(--line)}
tr.off .ttext{color:var(--text2)}

/* ---------- Home: beta ---------- */
.beta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}
@media (max-width:860px){.beta{grid-template-columns:minmax(0,1fr)}}
.beta form>*{min-width:0}
.beta form{display:flex;flex-wrap:wrap;gap:10px}
.beta input{flex:1 1 220px}
.beta select{flex:1 1 100%}
.beta input.other{flex:1 1 100%}
.beta input.other[hidden]{display:none}
.beta .multi{flex:1 1 100%;position:relative}
.multi summary{display:block;list-style:none;cursor:pointer;background:var(--page);border:1px solid var(--line);border-radius:14px;padding:11px 40px 11px 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}
.multi summary::-webkit-details-marker{display:none}
.multi summary::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:2px solid var(--text2);border-bottom:2px solid var(--text2);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.multi[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.multi summary.empty{color:var(--text2)}
.multi fieldset{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);margin:0;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 12px 32px rgba(0,0,0,.14);padding:8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:2px;max-height:300px;overflow:auto}
.multi label{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer;font-size:14px}
.multi label:hover{background:var(--page)}
.multi input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--accent)}
.beta .age{flex:1 1 100%;display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}
.beta .age input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--accent)}
.beta .fine{flex:1 1 100%;margin:0;font-size:13px;color:var(--text2)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Roadmap ---------- */
.road{display:flex;flex-direction:column;gap:14px;list-style:none;margin:0;padding:0}
.road>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:start}
.road li p,.road li .cols,.road li .full{grid-column:1/-1;color:var(--text2)}
.road .cols{margin:6px 0;padding:0 0 0 1.1rem;columns:3 200px;column-gap:32px}
.road .cols li{display:list-item;break-inside:avoid;padding:2px 0}

/* ---------- FAQ ---------- */
details{border-bottom:1px solid var(--line);padding:4px 0}
details:last-of-type{border-bottom:0}
summary{cursor:pointer;list-style:none;padding:12px 0;font-weight:600;display:flex;justify-content:space-between;gap:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--head);font-size:1.3rem;line-height:1;color:var(--text2);transition:transform .25s var(--spring)}
details[open] summary::after{transform:rotate(45deg)}
details .ans{padding:0 0 16px;color:var(--text2);display:flex;flex-direction:column;gap:10px;max-width:70ch}
details .ans ol,details .ans ul{margin:0;padding-left:1.2rem}

/* ---------- Legal ---------- */
.legal{max-width:72ch;display:flex;flex-direction:column;gap:14px}
.legal h2{margin-top:18px}
.legal ul{margin:0;padding-left:1.2rem}
.legal .lawyer{border-left:3px solid var(--prog);background:var(--card);border-radius:0 14px 14px 0;padding:12px 16px;font-size:14px}
.legal li{margin-bottom:6px}
.draft{background:var(--card);border:1px dashed var(--text2);border-radius:14px;padding:12px 16px;font-size:14px}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* Light grey lines from the Lock Screen buttons to the buttons under the list (drawn by hero.js) */
/* The simulator's buttons carry the icon of their Lock Screen button */
.btn.has-ls svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.phone .ls-btn{z-index:2}
.phone .ls-btn:disabled{opacity:.5;cursor:default}
/* Hero only (user, 2026-12-02): the three buttons sit inside the app's blue safe zones, touching their edges.
   Widget row 25-33% of the height (centred in it); corner zones 0-27% wide from the edge, 87-100% high.
   Same sizes as before; on phones (860 px or less) the Sync widget is 80% and never taller than the row. */
#hero-phone .ls-widget{--s:max(15cqw,40px);width:var(--s);height:var(--s);min-width:0;min-height:0;top:calc(29% - var(--s) / 2)}
#hero-phone .ls-btn{--b:max(14cqw,38px);bottom:calc(13% - var(--b))}
#hero-phone .ls-btn.left{left:calc(27cqw - var(--b))}
#hero-phone .ls-btn.right{right:calc(27cqw - var(--b))}
@media (max-width:860px){#hero-phone .ls-widget{--s:min(calc(.8 * max(15cqw,40px)),17cqw)}}
.guide-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.guide-lines[hidden]{display:none}
.guide-lines line{stroke:rgba(228,228,228,.92);stroke-width:1.5;stroke-linecap:round;filter:drop-shadow(0 0 1.5px rgba(0,0,0,.35))}
.ls-guide{position:absolute;left:4.5%;top:23%;z-index:3;display:flex;flex-direction:column;gap:.45em;padding:.9em .6em .7em 1em;background:rgba(255,255,255,.94);color:#1c1c1e;border-radius:14px;box-shadow:0 6px 22px rgba(0,0,0,.28);font:500 clamp(7px,3.3cqw,11px)/1.2 "Inter",system-ui,sans-serif;animation:ls-up .35s var(--spring)}
.ls-guide[hidden]{display:none}
.ls-guide .g-row{display:flex;align-items:center;justify-content:space-between;gap:.7em;white-space:nowrap}
.ls-guide .gi{flex:none;width:1.9em;height:1.9em;border-radius:50%;background:rgba(40,40,44,.88);color:#fff;display:grid;place-items:center}
.ls-guide .gi svg{width:62%;height:62%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.guide-x{position:absolute;top:-.95em;left:-.95em;width:1.7em;height:1.7em;border-radius:50%;border:0;padding:0;background:#fff;color:#1c1c1e;box-shadow:0 2px 8px rgba(0,0,0,.3);display:grid;place-items:center;cursor:pointer}
.guide-x svg{width:60%;height:60%;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.guide-x:focus-visible{outline:2px solid #1c1c1e;outline-offset:2px}

/* Test site only (js/site.js): a small tag so it's never mistaken for the live site */
.site-tag{position:fixed;right:12px;bottom:12px;z-index:50;background:var(--prog);color:var(--page);font-size:12px;font-weight:600;padding:6px 12px;border-radius:999px;pointer-events:none;opacity:.92}
