/* Site stylesheet, linked from partials.html "head" as site.css?v=<hash> (cssVersion in cmd/portal), so a
   change reaches browsers at once despite the one-day asset cache. A file, not a <style> block, so the
   CSP can say style-src 'self'. */
:root{--brand:#0865bd;--brand-dk:#064b91;--accent:#ffd21f;--ink:#092c50;--muted:#526b84;--line:#dce7f1;--soft:#f0f7fc;--ok:#16a34a;--r:12px}
*{box-sizing:border-box}
main{flex:1 0 auto}
html{background:var(--ink)}
body{display:flex;flex-direction:column;min-height:100vh;margin:0;overflow-wrap:break-word;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.6;color:var(--ink);background:#fff}
/* Every page is a flat list of body children: each one sits in the reading column unless it opts out with .bleed. */
body>*:not(.bleed):not(main),main>*:not(.bleed){width:min(760px,100% - 2rem);margin-left:auto;margin-right:auto}
.skip{position:absolute;left:-9999px;top:.5rem;z-index:10;background:#fff;color:var(--brand-dk);padding:.5rem 1rem;border-radius:8px;font-weight:700}.skip:focus{left:1rem}
.wrap{width:min(1180px,100% - 2rem);margin:0 auto}
h1{font-size:1.75rem;line-height:1.25;margin:2rem 0 1rem}h2{font-size:1.3rem;line-height:1.3;margin:2.25rem 0 .75rem}h3{font-size:1.05rem;margin:0 0 .35rem}
a{color:var(--brand)}a:hover{color:var(--brand-dk)}
:focus-visible{outline:3px solid var(--brand-dk);outline-offset:2px}.hero :focus-visible,footer.site :focus-visible{outline-color:var(--accent)}
table{border-collapse:collapse;width:100%}th,td{border:1px solid var(--line);padding:.55rem .7rem;text-align:left;vertical-align:top}th{background:var(--soft)}
code{background:var(--soft);padding:.05rem .3rem;border-radius:4px;font-size:.92em;word-break:break-all}code.key{font-size:1.1rem;letter-spacing:.05em}
label{display:block;margin-top:.9rem;font-weight:600}
input,select{font:inherit;padding:.55rem .7rem;width:100%;max-width:24rem;border:1px solid #7d8fa6;border-radius:8px;background:#fff;color:inherit}
input[type=checkbox]{width:auto;margin:0 .45rem 0 0;vertical-align:middle}
input:focus,select:focus{border-color:var(--brand);outline:2px solid var(--brand);outline-offset:1px}
button,.btn{display:inline-block;font:inherit;font-weight:600;padding:.6rem 1.15rem;margin-top:.9rem;border:1px solid var(--brand);border-radius:999px;background:var(--brand);color:#fff;text-decoration:none;cursor:pointer;line-height:1.3}
button:hover,.btn:hover{background:var(--brand-dk);color:#fff}
.btn.ghost,button.ghost{background:transparent;color:var(--brand)}.btn.ghost:hover,button.ghost:hover{background:var(--soft);color:var(--brand-dk)}
.btn.accent{background:var(--accent);border-color:var(--accent);color:#1a1300}.btn.accent:hover{background:#f2c200;border-color:#f2c200}
form.inline{display:inline}
.buy-row{display:flex;flex-wrap:wrap;gap:0 .75rem}button.link{background:none;border:0;border-radius:0;padding:0;margin:0;color:var(--brand);font-weight:inherit;text-decoration:underline}
.error{background:#fde8e8;border:1px solid #c53030;border-radius:8px;padding:.7rem .9rem}.notice{background:#e7f6ec;border:1px solid #2f855a;border-radius:8px;padding:.7rem .9rem}
.hint{color:var(--muted);font-size:.9rem;font-weight:normal}
header.site{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:5;box-shadow:0 2px 12px rgba(5,39,74,.05)}
header.site .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1.25rem;padding:.7rem 0}
.brand{display:flex;align-items:center;gap:.65rem;font-weight:800;letter-spacing:.04em;color:var(--ink);text-decoration:none;font-size:1.25rem;line-height:1}
.brand img{width:44px;height:44px;object-fit:contain;flex:none}
header.site nav{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1.1rem;margin-left:auto;font-size:.95rem}
header.site nav a,header.site nav button.link{color:var(--ink);text-decoration:none}header.site nav a:not(.btn):hover,header.site nav button.link:hover{color:var(--brand);text-decoration:underline}
header.site nav .btn{margin:0;padding:.4rem 1rem;color:#fff}
/* Phone menu: a CSS-only checkbox toggle (the CSP allows no script); hidden on wide screens.
   ponytail: nothing can uncheck it, so a same-page link (/#pricing) leaves it open above the
   section; acceptable while the header is static on phones. Upgrade: a script-src hash in the CSP. */
.menu-toggle,.menu-btn{display:none}
footer.site{margin-top:4rem;background:var(--ink);color:#c9d2e6;font-size:.9rem}
footer.site .wrap{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1fr);gap:clamp(3rem,9vw,10rem);align-items:center;padding:3rem 0}
footer.site a{color:#fff}footer.site strong{color:#fff}
footer.site .brand{justify-self:start;align-self:center;color:#fff;margin:0;gap:1.25rem;font-size:2.5rem;letter-spacing:.06em}
footer.site .brand img{width:160px;height:160px}
.footer-wordmark{display:flex;flex-direction:column;line-height:1.05}
.footer-wordmark span+span{color:var(--accent);font-size:.4em;letter-spacing:.04em;margin-top:.35rem}
footer.site .footer-details p{margin:.35rem 0;line-height:1.75}
footer.site .footer-details{justify-self:end;width:min(100%,620px);font-size:1.05rem}
footer.site .footer-details p:last-child{margin-top:1rem}footer.site .footer-details a{white-space:nowrap}
.hero{background:radial-gradient(ellipse at 78% 42%,#0879ce 0%,#0755a0 48%,#06396f 100%);border:0;color:#fff}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center;min-height:490px;padding:3.5rem 0}
.hero .eyebrow{margin:0 0 .35rem;color:#d4eaff;font-weight:700;font-size:1.05rem}
.hero h1{font-size:clamp(2.2rem,4vw,3.6rem);line-height:1.08;letter-spacing:-.03em;color:#fff;margin:0 0 1rem}
.hero .tagline{max-width:34rem;font-size:clamp(1.1rem,1.7vw,1.4rem);line-height:1.4;font-weight:600;margin:0 0 .7rem}
.hero .lede{max-width:39rem;font-size:clamp(1rem,1.3vw,1.15rem);color:#d9eaff;margin:0 0 1.4rem}
.hero .cta{display:flex;flex-wrap:wrap;gap:.75rem}.hero .cta .btn{margin:0}
.hero img{width:100%;height:auto;max-height:500px;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(0,14,37,.34))}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:1.5rem 0 0}
.chips li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.26);border-radius:999px;padding:.25rem .8rem;font-size:.88rem;color:#fff}
.hero .btn{border-radius:8px;padding:.8rem 1.25rem}.hero .btn.accent{background:var(--accent);border-color:var(--accent);color:#102b45}.hero .btn.accent:hover{background:#f2c200;border-color:#f2c200}.hero .btn.ghost{border-color:rgba(255,255,255,.8);color:#fff}.hero .btn.ghost:hover{background:#fff;color:var(--brand)}
/* scroll-margin keeps a nav-linked section heading clear of the sticky header */
.benefits{background:#fff;padding:2.6rem 0 2.9rem;border-bottom:1px solid var(--line)}
.benefits h2{font-size:clamp(1.45rem,2.5vw,2rem);margin:0 0 1.5rem;color:var(--ink)}
.benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.benefit-grid article{padding:0 1.5rem;border-right:1px solid var(--line)}.benefit-grid article:first-child{padding-left:0}.benefit-grid article:last-child{padding-right:0;border:0}
.benefit-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:.7rem;border-radius:50%;background:#e8f4fd;color:var(--brand);font-size:.78rem;font-weight:800;letter-spacing:.04em}
.benefit-grid article:nth-child(2) .benefit-icon{background:#fff5c9;color:#805c00}.benefit-grid article:nth-child(3) .benefit-icon{background:#e7f7ef;color:#167249}.benefit-grid article:nth-child(4) .benefit-icon{background:#f0ebff;color:#6542ae}
.benefit-grid h3{margin:0 0 .3rem;color:var(--ink);font-size:1rem}.benefit-grid p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.55}
.band{padding:clamp(3rem,5vw,4.5rem) 0;border-bottom:1px solid var(--line);scroll-margin-top:5.5rem}.band.alt{background:linear-gradient(135deg,#f1f8fd,#e7f3fc)}
.band h2{font-size:clamp(1.8rem,3vw,2.4rem);margin:0 0 .75rem;text-align:center}
.band h2::after,.category-band h2::after{content:"";display:block;width:48px;height:4px;margin:.7rem auto 0;border-radius:4px;background:var(--accent)}
.band .sub{color:var(--muted);text-align:center;max-width:56rem;font-size:1.08rem;line-height:1.8;margin:0 auto 2.25rem}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1.25rem}
#about .grid{grid-template-columns:repeat(3,minmax(0,1fr))}#pricing .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.6rem;box-shadow:0 8px 24px rgba(5,47,87,.055)}
.card h3{color:var(--brand-dk)}
#sync .card{border-top:4px solid var(--accent)}
.card p{margin:0;color:var(--muted)}.card ul{margin:.5rem 0 0;padding-left:1.1rem;color:var(--muted)}
.icon{width:44px;height:44px;border-radius:10px;background:#e8eefb;color:var(--brand);display:grid;place-items:center;margin-bottom:.9rem}
.icon svg{width:24px;height:24px}
.category-band{padding:clamp(3rem,5vw,4.5rem) 0;background:linear-gradient(135deg,#eef7fd,#f8fbfe);border-bottom:1px solid var(--line)}
.section-kicker{margin:0 0 .45rem;color:var(--brand);font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.category-band h2{font-size:clamp(1.65rem,3vw,2.3rem);line-height:1.2;margin:0 0 .8rem;color:var(--ink)}
.category-band h2::after{margin:.65rem 0 0}
.category-intro{max-width:37rem;color:var(--muted);margin:0 0 1.4rem}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.category-card{display:flex;min-height:104px;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;padding:.8rem .5rem;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:700;box-shadow:0 5px 16px rgba(5,47,87,.04)}
.category-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eaf4fc;color:var(--brand)}.category-icon svg{width:23px;height:23px}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.5rem;align-items:start}
.split h2{text-align:left}.split h2::after{margin-left:0}
#downloads .split{gap:clamp(2rem,5vw,5rem)}
#downloads .split>div+div{padding:1.5rem;background:var(--soft);border:1px solid var(--line);border-radius:16px}
.ticks{list-style:none;padding:0;margin:0}.ticks li{padding-left:1.8rem;position:relative;margin:.55rem 0}
.ticks li::before{content:"";position:absolute;left:0;top:.35rem;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--ok)}
.ticks li::after{content:"";position:absolute;left:.38rem;top:.55rem;width:.3rem;height:.55rem;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.price{display:flex;flex-direction:column;min-height:230px}
.price .amt{font-size:2.2rem;font-weight:800;margin:.25rem 0 0}.price .per{color:var(--muted);margin:0 0 1rem}
.price .btn{margin-top:auto;text-align:center}
.price.featured{border:2px solid var(--brand);transform:translateY(-.35rem);box-shadow:0 16px 36px rgba(29,63,143,.14)}
.steps{counter-reset:s;list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:1.25rem}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.25rem;box-shadow:0 8px 22px rgba(19,44,102,.045)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--accent);color:#1a1300;font-weight:800;margin-bottom:.6rem}
/* Only the pricing cards lift (hover, or keyboard focus on their button): they are the
   only cards with something to click. */
#pricing .price{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
#pricing .price:hover,#pricing .price:focus-within{transform:translateY(-.4rem);border-color:var(--brand);box-shadow:0 16px 34px rgba(29,63,143,.14)}
@media (prefers-reduced-motion:reduce){#pricing .price{transition:none}#pricing .price:hover,#pricing .price:focus-within{transform:none}}
.badge{display:inline-block;align-self:flex-start;margin:0 0 .5rem;padding:.15rem .65rem;border-radius:999px;background:var(--accent);color:#1a1300;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:1.25rem}
.shots figure{margin:0}.shots img{width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 8px 24px rgba(11,31,77,.08)}
.shots figcaption{text-align:center;color:var(--muted);font-size:.9rem;margin-top:.5rem}
details.faq{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.9rem 1.2rem;margin:.75rem 0}
details.faq summary{font-weight:600;cursor:pointer}details.faq p{margin:.6rem 0 0;color:var(--muted)}
.centre{text-align:center}.pre-line{white-space:pre-line}code.nowrap,.nowrap{white-space:nowrap;word-break:normal}
body.wide main>*:not(.bleed){width:min(1180px,100% - 2rem)}
@media (max-width:820px){.hero .wrap,.split{grid-template-columns:minmax(0,1fr)}.hero .wrap{min-height:0;gap:1.5rem;padding:2.5rem 0}.hero img{max-height:430px}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem 0}.benefit-grid article:nth-child(2){border:0}.benefit-grid article:nth-child(3){padding-left:0}
/* Not sticky on phones: an open menu would otherwise cover the section a link scrolls to */
header.site{position:static}.band{scroll-margin-top:0}
.menu-btn{display:flex;align-items:center;gap:.4rem;margin:0 0 0 auto;padding:.45rem .8rem;border:1px solid var(--line);border-radius:8px;cursor:pointer;line-height:1}
.menu-btn svg{width:20px;height:20px}
.menu-toggle{display:block;position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0}
.menu-toggle:focus-visible+.menu-btn{outline:3px solid var(--accent);outline-offset:2px}
header.site nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;margin:0;font-size:1rem}
.menu-toggle:checked~nav{display:flex}
header.site nav>:not(.btn){padding:.75rem .25rem;border-top:1px solid var(--line)}
header.site nav .btn{margin:.75rem 0 .25rem;padding:.7rem 1rem;text-align:center}
#about .grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}#pricing .grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.price.featured{transform:none}}
@media (max-width:640px){h1{font-size:1.45rem}.band .sub{text-align:left}.benefit-grid{grid-template-columns:1fr;gap:1rem}.benefit-grid article,.benefit-grid article:first-child,.benefit-grid article:nth-child(3),.benefit-grid article:last-child{display:grid;grid-template-columns:42px 1fr;column-gap:.8rem;padding:0;border:0}.benefit-icon{grid-row:span 2;margin:0}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Wide tables (downloads, orders, admin) scroll sideways instead of widening the page; nowrap
   keeps headings, linked refs/file names and hashes on one line rather than squeezing a column to a
   letter wide, while prose cells (the bill's address and item) still wrap */
table{display:block;overflow-x:auto}th,td>a,td code{white-space:nowrap}
/* Only a two-column label/value table (the bill) may break a long email mid-word; on a wide
   table that would crush every column to a letter instead of scrolling */
th[scope=row]+td{overflow-wrap:anywhere}
footer.site .wrap{grid-template-columns:1fr;gap:1.75rem;padding:2.25rem 0}footer.site .brand{font-size:2rem}footer.site .brand img{width:120px;height:120px}footer.site .footer-details{justify-self:start}}
@media print{header.site,.skip,form,.buy-row,.noprint,footer.site .brand{display:none}footer.site{background:none;color:inherit}footer.site a,footer.site strong{color:inherit}}
