/* =================================================================================================
   THE SITE'S SHARED STYLESHEET (cleanup F, 2026-11-14). The public pages' chrome (tokens, top bar,
   buttons, theme controls, footer) and the components more than one page uses, written once here
   instead of pasted into every page. Referenced as /site.css; build.sh copies it and
   tools/asset-version.mjs gives every reference its content hash.

   Every page that uses it links it just before its own <style>, so the page's own rules come after
   it and win. A page whose rule must lose to one of these carries that rule in a small <style>
   ahead of the link. A rule that has to keep its place among a page's own rules stays on the page.

   Taken rule for rule from the pages as they were: a rule is here only when every page that links
   this sheet either carried it word for word or has nothing it can match. A change here changes
   every public page: run the crowding audit and the public-site audit, and look at them.
   ================================================================================================= */

*{margin:0;padding:0;box-sizing:border-box}
a{color:inherit;text-decoration:none}
nav.top .brand span{color:var(--acc)}
.btn.primary{background:var(--acc-fill);color:#fff}
.btn.ghost:hover{background:var(--panel2)}
.stub{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;align-items:center}
/* NAV:CUR — one nav on every public page (tools/features-sync.mjs): its link padding, the page you are on tinted in place, and
   ONE width where the menu button takes over; above it the links sit in the middle of the bar. 1180px leaves ~35px spare in the narrowest wrap (1132px) with the dark-depth slider
   showing; the six links measure 792px with the sandbox button. */
.stub .btn.ghost{padding-left:12px;padding-right:12px;white-space:nowrap}
#darkSlider{height:30px;margin:0}   /* a 30px hit area like every other control in the bar (home-v4 G8); the track draws centred in it */
.navl{display:flex;align-items:center;gap:12px;min-width:0}
nav.top #darkSlider{width:56px}
.navmid,.navend{display:flex;align-items:center;gap:6px}
.theme-toggle{padding:8px 10px;background:var(--panel) !important;color:var(--text) !important;border:1px solid var(--line2) !important;display:inline-flex;align-items:center}
#darkSlider{display:none;width:74px;accent-color:var(--acc);cursor:pointer}
body.dark #darkSlider{display:inline-block}
.hc-toggle{font-weight:800;background:var(--panel) !important;color:var(--text) !important;border:1px solid var(--line2) !important}
body.hicontrast{--text:#000000;--dim:#2e2e2e}
body.dark.hicontrast{--text:#ffffff;--dim:#d9d9d9}
.shopnav{color:var(--acc-ink) !important;font-weight:800}
.navr{margin-left:auto;display:flex;align-items:center;gap:10px}
.navctl{display:flex;align-items:center;gap:10px;flex-shrink:0}
.navtog{display:none;align-items:center;justify-content:center;width:44px;height:40px;padding:0;flex-shrink:0;background:var(--panel);border:1px solid var(--line2);border-radius:12px;color:var(--text);cursor:pointer}
.navtog i{position:relative;display:block;width:17px;height:2px;border-radius:2px;background:currentColor}
.navtog i::before,.navtog i::after{content:"";position:absolute;left:0;width:17px;height:2px;border-radius:2px;background:currentColor}
.navtog i::before{top:-5.5px}
.navtog i::after{top:5.5px}
nav.top.open .navtog{background:var(--panel2)}
.hbadge{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--acc-ink);background:rgba(255,61,99,.07);border:1px solid rgba(255,61,99,.16);border-radius:20px;padding:6px 14px;margin-bottom:22px}
body.dark .hbadge{background:rgba(255,85,119,.1);border-color:rgba(255,85,119,.22)}
.lanek{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--acc-ink)}
.lanehead .lede{color:var(--dim);font-size:16px;line-height:1.65;max-width:62ch}
@media(min-width:861px) and (max-width:1180px){.sitefoot{grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 28px}.sitefoot .fbrand{grid-column:1/-1;max-width:none}}
.sitefoot a{color:var(--dim);text-decoration:none}
.sitefoot .b{font-weight:800;font-size:15px;letter-spacing:.3px;color:var(--text)}
.sitefoot .fbrand{display:flex;flex-direction:column;align-items:flex-start;gap:9px;max-width:270px}
.sitefoot .fcol{display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.sitefoot .fh{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  color:var(--text);opacity:.62;margin-bottom:1px}
@media(max-width:860px){.sitefoot{grid-template-columns:1fr 1fr;gap:28px 24px}
  .sitefoot .fbrand{grid-column:1/-1;max-width:none}}
@media(max-width:430px){.sitefoot{grid-template-columns:1fr;gap:24px}}
.sitefoot a.fh:hover{opacity:1}
/* ── FOOTER BUBBLES (2026-10-13) — every section its own rounded bubble, File transfer in the accent.
   Declared after the canonical block so it lands; grid areas place the sections, nothing is hidden. */
.sitefoot{border-top:0;padding:0 0 44px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;
  grid-template-areas:"brand ft feat feat" "prod mkt help legal"}
.sitefoot>.fbrand{grid-area:brand}
nav.top .appnav svg{color:var(--acc-ink)}
.sitefoot>[aria-label="File transfer"] .fh{color:var(--acc-ink);opacity:1}
.sitefoot>[aria-label="Features"]>.fh{column-span:all;margin-bottom:10px}
.wl{max-width:560px;margin:0 auto;padding:0 22px;text-align:center}
.wlrow{display:flex;gap:8px}
/* THE CONFIRMATION STATE. It replaces the form rather than sitting under it: the form's job is
   finished, and leaving it there invites a second submission that produces nothing. Its state is
   its whole border, in the status colour: never a tick, and never a bar down one side. */
.wldone{border:1px solid var(--ok);border-radius:12px;padding:14px 16px}
.wldone p{font-size:13px;line-height:1.62;color:var(--dim);margin:8px 0 0}
.wldone p b{color:var(--text);font-weight:700}
.wldone.warn{border-color:var(--warn)}
.hc-toggle.hc-on{border-color:var(--acc) !important;color:var(--acc-ink) !important}
.sitefoot>.fbrand,.sitefoot>.fcol{background:var(--panel2);border:1px solid var(--line);border-radius:22px;padding:22px 22px 20px;max-width:none;align-self:stretch}
.tlink:hover{text-decoration:underline}
.mk-fit{width:min(100%,var(--mfw)) !important;max-width:none !important;margin-inline:auto !important}
.mk-fit img{display:block;width:100% !important;height:auto !important}
@media(max-width:860px){.mk-fit{width:100% !important}}
.strip.rev{opacity:1;transform:none}

/* ---- how-it-works page ---- */
.hiwhero{max-width:820px;margin:0 auto;text-align:center;padding:44px 0 6px}
.hiwhero h1{font-size:48px;line-height:1.07;letter-spacing:-1.2px;margin-top:8px;font-weight:800}
.hiwhero h1 .g{color:inherit}
.sitefoot a:hover{color:var(--text)}
.sitefoot .b span{color:var(--acc)}
.sitefoot a.fh{color:var(--text);opacity:.62}
.hiwhero p{color:var(--dim);font-size:17px;margin:18px auto 26px;max-width:660px}
.doclist{max-width:920px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.doc .dbadge{font-size:10px;letter-spacing:.6px;font-weight:700;margin-bottom:6px}
.doc .qa{display:grid;grid-template-columns:130px 1fr;gap:9px 18px;margin-top:13px;font-size:13px;line-height:1.55}
.doc .qa .q{color:var(--dim);font-weight:700}
.doc .qa .a{color:var(--text)}
.hiwback{display:inline-flex;align-items:center;gap:7px;color:var(--dim);font-size:13px;margin:22px 0 2px}
@media(max-width:560px){.doc .qa{grid-template-columns:1fr;gap:2px 0}.doc .qa .q{margin-top:9px}}
.sitefoot>[aria-label="Product"]{grid-area:prod}
@media(max-width:900px){.hiwhero h1{font-size:34px}}
.wstep.rev{opacity:1;transform:none}
.wstep h3{font-size:23px;margin-bottom:9px;line-height:1.24}
.wstep p{color:var(--dim);font-size:14px;line-height:1.6}
@media(max-width:720px){.wstep{padding:22px 18px 24px}}
.legal .upd{color:var(--dim);font-size:13px;margin-bottom:22px}
.legal .tldr{background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:0 0 30px;font-size:14.5px;line-height:1.7}
.legal .tldr b:first-child{color:var(--acc-ink)}
.legal .entity{background:var(--panel2);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:20px 0 0;font-size:14px;line-height:1.85}
.sitefoot>[aria-label="File transfer"]{grid-area:ft;background:color-mix(in srgb,var(--acc) 7%,var(--panel));border-color:color-mix(in srgb,var(--acc) 26%,var(--line))}
.sitefoot>[aria-label="Features"]{grid-area:feat;display:block;columns:3;column-gap:22px}
.sitefoot>[aria-label="Features"]>*{display:block;margin:0 0 9px;break-inside:avoid}
.sitefoot>[aria-label="Marketplace"]{grid-area:mkt}
.sitefoot>[aria-label="Help"]{grid-area:help}
.sitefoot>[aria-label="Legal"]{grid-area:legal}
@media(max-width:1180px){.sitefoot>[aria-label="Features"]{columns:2}}
@media(max-width:860px){.sitefoot{grid-template-columns:1fr 1fr;gap:10px;grid-template-areas:"brand brand" "ft ft" "feat feat" "prod mkt" "help legal"}
  .sitefoot>.fbrand,.sitefoot>.fcol{padding:18px 16px 16px;border-radius:20px}}
.mbar input:focus{border-color:var(--acc);box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 13%,transparent)}   /* the app's field focus: accent border + soft accent ring */
.note.warn .lbl{color:var(--warn)}
.note.tip .lbl{color:var(--ok)}
.stub .btn[aria-current]{color:var(--acc-ink);background:color-mix(in srgb,var(--acc) 9%,transparent)}
.legal .ltbl{border-collapse:collapse;width:100%;min-width:540px;font-size:13.5px}
.legal .ltbl th{text-align:left;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text);opacity:.62;font-weight:700;padding:0 16px 9px 0;border-bottom:1px solid var(--line)}
.legal .ltbl td{padding:13px 16px 13px 0;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.6}
nav.top .brand{font-size:19px;letter-spacing:.3px;font-weight:800;cursor:pointer}
.legal .ltbl tr:last-child td{border-bottom:none}
