/* ===========================================================================
   Code Store - the storefront.

   Near-black ink for every action, warm greys for everything else, white
   cards on a warm off-white page with a hairline ring, Geist for text,
   Instrument Serif for the big headings and Geist Mono for the small
   uppercase labels. --brand is the theme colour from Settings; it starts as
   the ink, and every action follows it.
   =========================================================================== */
*,*::before,*::after{box-sizing:border-box}
/* A `display` in a rule beats the hidden attribute, and several below set
   one - so say outright that hidden means hidden. */
[hidden]{display:none!important}
:root{
  --brand:#0b0b0c;
  --brand-hover:#27272a;
  --brand-hover:color-mix(in srgb, var(--brand) 82%, #fff);
  --ink:#0b0b0c; --ink-2:#3f3f3b; --muted:#62625d; --muted-2:#6f6f69; --faint:#a3a39d;
  --bg:#fafaf9; --surface:#fff; --bg-soft:#f4f4f2; --bg-soft-2:#ececea;
  --line:#e2e2de; --line-2:#d9d9d5; --line-3:#b8b8b2;
  --brand-soft:#f4f4f2; --brand-line:#d9d9d5; --brand-deep:#0b0b0c;
  --ok:#047857; --ok-soft:#ecfdf5; --ok-line:#a7f3d0;
  --warn:#b45309; --warn-soft:#fffbeb; --warn-line:#fde68a;
  --bad:#b91c1c; --bad-soft:#fef2f2; --bad-line:#fecaca;
  --info:#0369a1; --info-soft:#f0f9ff;
  --radius:16px; --radius-sm:10px;
  --sans:'Geist','Geist Variable',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --shadow:0 0 0 1px rgb(0 0 0 / .02),0 1px 2px 0 rgb(0 0 0 / .04);
  --shadow-lg:0 1px 1px rgb(0 0 0 / .03),0 2px 4px rgb(0 0 0 / .03),0 12px 32px -8px rgb(0 0 0 / .12);
  --glow-soft:rgb(0 0 0 / .06);
  --grad:var(--brand);
}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;-webkit-tap-highlight-color:transparent}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.6;font-size:15px;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.15;letter-spacing:-.025em;font-weight:600}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
.wrap{width:100%;max-width:1152px;margin:0 auto;padding:0 16px}
@media (min-width:640px){.wrap{padding:0 24px}}
.narrow{max-width:760px}
.icon{width:1em;height:1em;display:inline-block;vertical-align:-.125em;fill:currentColor;flex:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
/* The bot trap. Inside the page and visibility:hidden, not parked at -9999px:
   iPhone's keyboard arrows step into any focusable field, and stepping into
   one 9999px off to the left threw the whole page sideways. */
.hp{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;padding:10px 16px;border-radius:10px;font-weight:600;box-shadow:var(--shadow-lg)}
.skip:focus{top:12px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:999px;border:2px solid var(--bg)}
.mono{font-family:var(--mono)}
.muted{color:var(--muted)}
.tnum{font-variant-numeric:tabular-nums}
.eyebrow{font-family:var(--mono);font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);font-weight:400}
.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-sm);
  padding:10px 16px;font-weight:500;font-size:14px;cursor:pointer;line-height:1.25;white-space:nowrap;
  transition:background .2s,border-color .2s,color .2s,transform .1s}
.btn:active{transform:scale(.98)}
.btn[disabled],.btn.is-off{opacity:.5;cursor:not-allowed}
.btn-primary,.btn-dark{background:var(--brand);color:#fff}
.btn-primary:hover,.btn-dark:hover{background:var(--brand-hover)}
.btn-secondary,.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line-2)}
.btn-secondary:hover,.btn-ghost:hover{background:var(--bg-soft);border-color:var(--line-3)}
.btn-plain{background:transparent;color:var(--muted)}
.btn-plain:hover{background:var(--bg-soft);color:var(--ink)}
.btn-danger{background:#dc2626;color:#fff}
.btn-danger:hover{background:#b91c1c}
.btn-sm{padding:7px 12px;font-size:13px;border-radius:8px;gap:6px}
.btn-lg{padding:12px 24px;font-size:15px}
.btn-block{width:100%}
.btn .icon-sm,.arrow{font-size:11px}
.btn-wa{background:#25d366;color:#fff}
.btn-tg{background:#229ed9;color:#fff}
.link{font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-3)}
.link:hover{text-decoration-color:var(--ink)}

/* ---------- badges ---------- */
.badge{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;
  white-space:nowrap;background:var(--bg-soft);color:var(--ink-2);line-height:1.6}
.badge-ok{background:var(--ok-soft);color:var(--ok)}
.badge-warn{background:var(--warn-soft);color:var(--warn)}
.badge-bad{background:var(--bad-soft);color:var(--bad)}
.badge-info{background:var(--info-soft);color:var(--info)}
.badge-ink{background:var(--ink);color:#fff}
.dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(250,250,249,.86);backdrop-filter:saturate(1.4) blur(12px);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:20px;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-weight:600;font-size:16px;letter-spacing:-.02em;flex:none}
.logo img{height:32px;width:auto}
.logo-mark{width:30px;height:30px;border-radius:9px;background:var(--brand);color:#fff;display:grid;place-items:center;
  font-family:var(--mono);font-size:13px;font-weight:500;letter-spacing:-.04em}
.nav-links{display:flex;gap:2px;margin-left:12px}
.nav-links a{padding:7px 12px;border-radius:8px;font-size:14px;color:var(--muted);font-weight:500}
.nav-links a:hover{color:var(--ink);background:var(--bg-soft)}
.nav-links a.active{color:var(--ink)}
.nav-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.nav-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--muted);font-size:17px}
.nav-icon:hover{background:var(--bg-soft);color:var(--ink)}
.burger{display:none;width:40px;height:40px;border-radius:10px;border:1px solid var(--line-2);background:#fff;cursor:pointer;
  place-items:center;font-size:18px}
.drawer{display:none;border-top:1px solid var(--line);background:var(--surface)}
.drawer.show{display:block}
.drawer .wrap{display:flex;flex-direction:column;padding-top:8px;padding-bottom:14px}
.drawer a{padding:12px 4px;border-bottom:1px solid var(--bg-soft);font-weight:500}
.drawer a:last-child{border-bottom:0}
.drawer .btn{margin-top:10px;border-bottom:1px solid transparent}
@media (max-width:860px){
  .nav-links,.nav-right .hide-sm{display:none}
  .burger{display:grid}
}
.umenu{position:relative}
.umenu-btn{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:999px;border:1px solid var(--line-2);
  background:#fff;cursor:pointer;font-size:13.5px;font-weight:500}
.avatar{width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:600}
.umenu-list{position:absolute;right:0;top:calc(100% + 8px);width:230px;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow-lg);padding:6px;z-index:60}
.umenu-list a,.umenu-list button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border-radius:8px;
  font-size:14px;color:var(--ink-2);border:0;background:none;cursor:pointer;text-align:left}
.umenu-list a:hover,.umenu-list button:hover{background:var(--bg-soft);color:var(--ink)}
.umenu-list .umenu-who{padding:8px 10px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.umenu-list .umenu-who b{display:block;font-size:14px}
.umenu-list .umenu-who small{color:var(--muted);font-size:12.5px;word-break:break-all}
@media (max-width:860px){.umenu-btn .umenu-name{display:none}.umenu-btn{padding:4px}}

/* ---------- alerts ---------- */
.flash-wrap{margin-top:16px}
.alert{padding:12px 16px;border-radius:12px;font-size:14px;border:1px solid var(--line);background:#fff}
.alert-success{background:var(--ok-soft);border-color:var(--ok-line);color:#065f46}
.alert-error,.alert-danger{background:var(--bad-soft);border-color:var(--bad-line);color:#991b1b}
.alert-warning{background:var(--warn-soft);border-color:var(--warn-line);color:#92400e}
.alert-info{background:var(--info-soft);border-color:#bae6fd;color:#075985}

/* ---------- sections ---------- */
.section{padding:56px 0}
@media (min-width:640px){.section{padding:96px 0 0}}
.section-tight{padding:32px 0 56px}
@media (min-width:640px){.section-tight{padding:48px 0 80px}}
.section-title{font-size:30px;font-weight:600;letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
@media (min-width:640px){.section-title{font-size:36px}}
.section-sub{margin-top:12px;font-size:17px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:40px}
.section-head > div{max-width:640px}
.section-head .section-title{margin-top:12px}
.section-head.is-center{justify-content:center;text-align:center}
.section-head.is-center > div{margin:0 auto}
.page-end{padding-bottom:96px}

/* ---------- the hero ---------- */
.hero{text-align:center;padding:48px 0 24px}
@media (min-width:640px){.hero{padding:88px 0 40px}}
.hero-pill{display:inline-flex;max-width:100%;align-items:center;gap:8px;border-radius:999px;background:#fff;
  box-shadow:0 0 0 1px var(--line-2);padding:6px 6px 6px 14px;font-size:13px;color:var(--muted);margin-bottom:20px}
.hero-pill b{color:var(--ink);font-weight:500}
.hero-pill span:last-child{display:inline-flex;align-items:center;gap:4px;border-radius:999px;background:var(--bg-soft-2);
  color:var(--ink);padding:2px 9px}
.hero-pill:hover{box-shadow:0 0 0 1px var(--line-3)}
.hero h1{margin:16px auto 0;max-width:980px;font-family:var(--serif);font-weight:400;font-size:44px;line-height:1.02;
  letter-spacing:-.02em;text-wrap:balance}
.hero h1 em{font-style:italic;color:var(--muted)}
@media (min-width:640px){.hero h1{font-size:72px}}
@media (min-width:1024px){.hero h1{font-size:84px}}
.hero-sub{margin:20px auto 0;max-width:640px;font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}
@media (min-width:640px){.hero-sub{font-size:20px}}
.hero-cta{margin-top:28px;display:flex;flex-direction:column;justify-content:center;gap:10px}
@media (min-width:640px){.hero-cta{flex-direction:row;margin-top:36px;gap:12px}}
.hero-pay{margin-top:16px;font-size:13px;color:var(--muted-2)}
.new-strip{margin:36px auto 0;max-width:896px;text-align:left;background:#fff;border-radius:var(--radius);
  box-shadow:0 0 0 1px var(--line),var(--shadow);overflow:hidden}
@media (min-width:640px){.new-strip{margin-top:48px}}
.new-strip .eyebrow{display:block;padding:14px 16px 8px;font-size:11px}
.new-grid{display:grid}
@media (min-width:640px){.new-grid{grid-template-columns:repeat(3,1fr);border-top:1px solid var(--bg-soft-2)}
  .new-item + .new-item{border-left:1px solid var(--bg-soft-2)}}
.new-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--bg-soft-2);min-width:0;transition:background .15s}
@media (min-width:640px){.new-item{border-top:0;padding:16px}}
.new-item:hover{background:var(--bg)}
.tile-ico{width:36px;height:36px;flex:none;border-radius:10px;background:var(--bg-soft);box-shadow:0 0 0 1px var(--line);
  display:grid;place-items:center;font-size:15px;color:var(--ink)}
.new-txt{flex:1;min-width:0}
.new-txt b{display:block;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.new-txt small{display:block;font-size:12px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.new-item > .icon{font-size:10px;color:var(--line-3)}
.hero-shot{display:none;margin:64px auto 0;max-width:1000px;border-radius:var(--radius);background:#fff;
  box-shadow:0 0 0 1px var(--line),var(--shadow-lg);overflow:hidden;text-align:left}
@media (min-width:640px){.hero-shot{display:block}}
.browser-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--bg-soft)}
.browser-bar i{width:10px;height:10px;border-radius:50%;background:var(--line-2)}
.browser-bar em{margin:0 auto;padding:3px 40px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px var(--line);
  font-size:12px;font-style:normal;color:var(--muted-2);max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-shot img{display:block;width:100%;height:auto}
.hero-shot .shot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:24px;background:var(--bg)}

/* ---------- the three hubs ---------- */
.hubs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding-top:24px}
@media (min-width:1024px){.hubs.n3{grid-template-columns:repeat(3,1fr)}.hubs.n2{grid-template-columns:repeat(2,1fr)}}
.hub{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);padding:16px;box-shadow:0 0 0 1px var(--line);
  transition:box-shadow .2s}
@media (min-width:640px){.hub{padding:20px}}
.hub:hover{box-shadow:0 0 0 1px var(--line-3),var(--shadow-lg)}
.hub:last-child:nth-child(odd){grid-column:span 2}
@media (min-width:1024px){.hubs.n3 .hub:last-child:nth-child(odd){grid-column:auto}}
.hub-top{display:flex;align-items:center;justify-content:space-between}
.hub-top > .icon{font-size:12px;color:var(--muted-2);transition:transform .2s,color .2s}
.hub:hover .hub-top > .icon{transform:translateX(2px);color:var(--ink)}
.hub b{margin-top:14px;font-size:15px;font-weight:600}
.hub p{margin-top:4px;font-size:14px;line-height:1.55;color:var(--muted);display:none}
@media (min-width:640px){.hub b{font-size:16px;margin-top:16px}.hub p{display:block}}
.hub small{margin-top:6px;font-size:12px;font-weight:500;color:var(--muted-2)}
@media (min-width:640px){.hub small{margin-top:12px}}

/* ---------- why: four plain promises in a ruled strip ---------- */
.why{margin-top:56px;border-block:1px solid var(--line);background:#fff}
@media (min-width:640px){.why{margin-top:96px}}
.why-grid{display:grid;gap:1px;background:var(--line)}
@media (min-width:640px){.why-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.why-grid{grid-template-columns:repeat(4,1fr)}}
.why-item{background:#fff;padding:28px 24px}
.why-item h3{margin-top:14px;font-size:15px;font-weight:600;letter-spacing:-.01em}
.why-item p{margin-top:6px;font-size:14px;line-height:1.6;color:var(--muted)}

/* ---------- software: plan cards ---------- */
.plans{display:grid;gap:16px;margin-top:48px}
.plans.n1{max-width:448px;margin-inline:auto}
.plans.n2{max-width:896px;margin-inline:auto}
@media (min-width:768px){.plans.n2,.plans.n3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.plans.n3{grid-template-columns:repeat(3,1fr)}}
.plan{position:relative;display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);padding:28px;box-shadow:0 0 0 1px var(--line)}
.plan.is-featured{box-shadow:0 0 0 1.5px var(--ink),var(--shadow-lg)}
.plan-badge{position:absolute;top:-11px;left:28px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:500;padding:2px 10px}
.plan h3{font-size:17px;font-weight:600}
.plan h3 a:hover{color:var(--muted)}
.plan > p{margin-top:6px;font-size:14px;line-height:1.6;color:var(--muted)}
.price-line{margin-top:24px;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}
.price-big{font-size:36px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.1}
.price-per{font-size:15px;color:var(--muted)}
.price-was{font-size:15px;color:var(--faint);text-decoration:line-through}
.plan .btn{margin-top:20px}
.checks{list-style:none;margin:24px 0 0;padding:20px 0 0;border-top:1px solid var(--line);display:grid;gap:10px}
.checks li{display:flex;gap:10px;font-size:14px;color:var(--muted);line-height:1.5}
.checks li .icon{font-size:12px;color:var(--ink);margin-top:4px}

/* ---------- source code: list rows ---------- */
.code-list{display:grid;gap:12px}
@media (min-width:768px){.code-list{grid-template-columns:repeat(2,1fr)}}
.code-row{display:flex;align-items:center;gap:16px;padding:16px;border-radius:var(--radius);background:#fff;box-shadow:0 0 0 1px var(--line);
  transition:box-shadow .2s;min-width:0}
@media (min-width:640px){.code-row{padding:16px 20px}}
.code-row:hover{box-shadow:0 0 0 1px var(--line-3),var(--shadow-lg)}
.code-thumb{width:44px;height:44px;flex:none;border-radius:10px;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
span.code-thumb{background:var(--bg-soft);display:grid;place-items:center;color:var(--muted);font-size:16px}
.code-txt{flex:1;min-width:0}
.code-txt b{display:block;font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.code-txt small{display:block;margin-top:2px;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.code-price{text-align:right;white-space:nowrap}
.code-price b{display:block;font-size:15px;font-weight:600}
.code-price small{display:block;font-size:12px;color:var(--muted-2)}
.is-free{color:var(--ok)}

/* ---------- product cards (the catalogue) ---------- */
.prod-grid{display:grid;gap:16px}
@media (min-width:640px){.prod-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.prod-grid{grid-template-columns:repeat(3,1fr)}}
.prod-card{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);
  overflow:hidden;transition:box-shadow .2s}
.prod-card:hover{box-shadow:0 0 0 1px var(--line-3),var(--shadow-lg)}
.prod-pic{display:block;aspect-ratio:16/10;background:var(--bg-soft);border-bottom:1px solid var(--line);overflow:hidden}
.prod-pic > img,.prod-pic .art{width:100%;height:100%;object-fit:cover;display:block}
.prod-body{display:flex;flex-direction:column;flex:1;padding:18px 20px 20px}
.prod-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted-2)}
.prod-body h3{margin-top:10px;font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.015em}
.prod-body h3 a:hover{color:var(--muted)}
.prod-body > p{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.55}
.prod-foot{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.prod-foot .price{font-size:17px;font-weight:600;letter-spacing:-.02em}
.prod-foot .price small{font-size:13px;font-weight:400;color:var(--muted)}
.prod-foot .price s{font-size:13px;font-weight:400;color:var(--faint);margin-left:4px}

/* The drawn stand-in for a product without a picture: its README in a dark editor. */
.code-window{display:flex;flex-direction:column;background:#0b0b0c;color:#d4d4d8;font-family:var(--mono);font-size:12px;
  line-height:1.7;overflow:hidden;text-align:left}
.cw-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.cw-bar i{width:9px;height:9px;border-radius:50%;background:#3f3f46}
.cw-bar em{margin-left:8px;font-style:normal;color:#71717a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-body{display:flex;flex-direction:column;padding:14px 16px;gap:2px;min-width:0}
.cw-comment{color:#71717a}
.cw-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-line b{color:#52525b;font-weight:400;margin-right:6px}
.cw-title{font-family:var(--serif);font-size:28px;color:#fafafa;line-height:1.1;margin-top:6px;white-space:normal}

/* ---------- tools ---------- */
.tool-grid{display:grid;gap:16px}
@media (min-width:640px){.tool-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.tool-grid{grid-template-columns:repeat(3,1fr)}}
.tool-card{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);padding:20px;box-shadow:0 0 0 1px var(--line);transition:box-shadow .2s}
.tool-card:hover{box-shadow:0 0 0 1px var(--line-3),var(--shadow-lg)}
.tool-top{display:flex;align-items:center;gap:12px}
.tool-logo{width:44px;height:44px;border-radius:12px;flex:none;object-fit:cover;box-shadow:0 0 0 1px var(--line)}
span.tool-logo{display:grid;place-items:center;background:var(--bg-soft);font-weight:600;font-size:18px}
.tool-card h3{font-size:16px;font-weight:600;line-height:1.3}
.tool-card > p{margin-top:12px;font-size:14px;color:var(--muted);line-height:1.55}
.tool-card .prod-foot{padding-top:16px}
.tool-card.is-out{opacity:.72}

/* ---------- how it works ---------- */
.steps{display:grid;gap:16px;counter-reset:step;margin-top:40px}
@media (min-width:768px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{background:#fff;border-radius:var(--radius);padding:24px;box-shadow:0 0 0 1px var(--line)}
.step::before{counter-increment:step;content:"0" counter(step);font-family:var(--mono);font-size:12px;color:var(--muted-2)}
.step h3{margin-top:12px;font-size:16px;font-weight:600}
.step p{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.6}

/* ---------- posts ---------- */
.posts{display:grid;gap:16px}
@media (min-width:640px){.posts{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.posts{grid-template-columns:repeat(3,1fr)}}
.posts-2{grid-template-columns:1fr}
@media (min-width:640px){.posts-2{grid-template-columns:repeat(2,1fr)}}
.pcard{display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);overflow:hidden;transition:box-shadow .2s}
.pcard:hover{box-shadow:0 0 0 1px var(--line-3),var(--shadow-lg)}
.pcard-img{display:block;aspect-ratio:16/9;background:var(--bg-soft);overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard-ph{width:100%;height:100%;display:grid;place-items:center;font-size:28px;color:var(--line-3)}
.pcard-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.pcard-body h3{font-size:16.5px;font-weight:600;line-height:1.35;letter-spacing:-.015em}
.pcard-body p{font-size:14px;color:var(--muted);line-height:1.55}
.pcard-cat{font-family:var(--mono);font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2)}
.pcard-body small{margin-top:auto;font-size:12.5px;color:var(--muted-2)}
.pfeature{display:grid;background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);overflow:hidden;margin-bottom:16px}
@media (min-width:768px){.pfeature{grid-template-columns:1.2fr 1fr}}
.pfeature-img{aspect-ratio:16/9;background:var(--bg-soft);overflow:hidden}
.pfeature-img img{width:100%;height:100%;object-fit:cover;display:block}
.pfeature-body{padding:24px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.pfeature-body h2{font-size:24px;letter-spacing:-.03em}
.pfeature-body p{color:var(--muted)}

/* ---------- FAQ ---------- */
.faq-wrap{display:flex;flex-wrap:wrap;gap:32px 64px}
.faq-wrap > div:first-child{flex:1 1 260px;max-width:340px}
.faq{flex:2 1 420px;display:grid;gap:0;border-top:1px solid var(--line)}
.fitem{border-bottom:1px solid var(--line)}
.fitem summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 0;font-weight:500;font-size:15.5px}
.fitem summary::-webkit-details-marker{display:none}
.fitem summary::after{content:"+";font-size:20px;line-height:1;color:var(--muted-2);transition:transform .2s}
.fitem[open] summary::after{transform:rotate(45deg)}
.fitem > div,.fitem > p{padding:0 0 18px;color:var(--muted);font-size:14.5px;line-height:1.7}

/* ---------- the closing band ---------- */
.cta{margin-top:96px;background:var(--ink);color:#fff;border-radius:24px;padding:48px 24px;text-align:center}
@media (min-width:640px){.cta{padding:72px 40px}}
.cta h2{font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.05;letter-spacing:-.02em}
@media (min-width:640px){.cta h2{font-size:56px}}
.cta p{margin:14px auto 0;max-width:520px;color:#a1a1aa;font-size:16px}
.cta .hero-cta{margin-top:28px}
.cta .btn-primary{background:#fff;color:var(--ink)}
.cta .btn-primary:hover{background:#e4e4e7}
.cta .btn-secondary{background:transparent;color:#fff;border-color:#3f3f46}
.cta .btn-secondary:hover{background:#18181b}

/* ---------- page heads, crumbs, filters ---------- */
.page-head{padding:40px 0 8px}
@media (min-width:640px){.page-head{padding:64px 0 16px}}
.page-head h1{font-size:34px;font-weight:600;letter-spacing:-.035em;line-height:1.1;margin-top:10px}
@media (min-width:640px){.page-head h1{font-size:44px}}
.page-head p{margin-top:12px;color:var(--muted);font-size:16.5px;max-width:640px}
.crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--muted-2)}
.crumbs a:hover{color:var(--ink)}
.crumbs span[aria-hidden]{color:var(--line-3)}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:24px 0 28px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--line);
  font-size:13.5px;font-weight:500;color:var(--muted)}
.chip:hover{color:var(--ink);box-shadow:0 0 0 1px var(--line-3)}
.chip.on{background:var(--ink);color:#fff;box-shadow:none}
.chip small{font-size:12px;opacity:.7}
.search{margin-left:auto;display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;box-shadow:0 0 0 1px var(--line-2);
  padding:0 12px;min-width:220px}
.search input{border:0;outline:0;background:none;padding:9px 0;font-size:14px;width:100%}
.search .icon{color:var(--muted-2)}
@media (max-width:640px){.search{margin-left:0;width:100%}}
.empty-state{text-align:center;padding:64px 24px;background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line)}
.empty-state > .icon:first-child{font-size:36px;color:var(--line-3);display:block;margin:0 auto 14px}
.empty-state h2,.empty-state h3{font-size:18px}
.empty-state p{margin:8px auto 18px;color:var(--muted);max-width:420px}

/* ---------- one product ---------- */
.pdp{display:grid;gap:32px;padding:24px 0 0}
@media (min-width:1024px){.pdp{grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start}}
.pdp h1{font-size:32px;font-weight:600;letter-spacing:-.035em;line-height:1.12;margin-top:12px}
@media (min-width:640px){.pdp h1{font-size:40px}}
.pdp-lead{margin-top:12px;font-size:17px;color:var(--muted);line-height:1.6}
.pdp-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}
.pdp-shot{margin-top:28px;border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--line),var(--shadow)}
.pdp-shot img,.pdp-shot .art{display:block;width:100%;height:auto}
.pdp-shot .code-window{min-height:300px;font-size:13px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px}
.gallery a{display:block;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px var(--line);aspect-ratio:16/10;background:var(--bg-soft)}
.gallery img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-section{margin-top:40px}
.pdp-section > h2{font-size:20px;font-weight:600;letter-spacing:-.02em;margin-bottom:14px}
.feature-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
@media (min-width:640px){.feature-list{grid-template-columns:repeat(2,1fr)}}
.feature-list li{display:flex;gap:10px;padding:12px 14px;background:#fff;border-radius:12px;box-shadow:0 0 0 1px var(--line);font-size:14px;line-height:1.5}
.feature-list li .icon{font-size:12px;margin-top:4px;color:var(--ok)}
.spec{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);overflow:hidden}
.spec-row{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--bg-soft-2);font-size:14px}
.spec-row:first-child{border-top:0}
.spec-row span{color:var(--muted)}
.spec-row b{font-weight:500;text-align:right}
.changelog{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);padding:18px 20px;font-family:var(--mono);
  font-size:13px;line-height:1.7;white-space:pre-wrap;color:var(--ink-2);overflow-x:auto}
.buy-box{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line),var(--shadow-lg);padding:24px}
@media (min-width:1024px){.buy-box{position:sticky;top:88px}}
.buy-box .price-line{margin-top:6px}
.buy-box .btn{margin-top:18px}
.buy-box .btn + .btn{margin-top:10px}
.buy-list{list-style:none;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--line);display:grid;gap:10px}
.buy-list li{display:flex;gap:10px;font-size:13.5px;color:var(--muted);line-height:1.45}
.buy-list li .icon{font-size:14px;color:var(--ink);margin-top:2px}
.buy-note{margin-top:14px;font-size:12.5px;color:var(--muted-2);text-align:center}
.owned{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--ok-soft);color:#065f46;font-size:13.5px}

/* ---------- forms ---------- */
.field{display:block;margin-bottom:16px}
.field > label,.field > span.label{display:block;font-size:13.5px;font-weight:500;color:var(--ink-2);margin-bottom:6px}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.input{display:block;width:100%;border:1px solid var(--line-2);
  background:#fff;border-radius:var(--radius-sm);padding:10px 14px;font-size:14.5px;color:var(--ink);outline:0;
  box-shadow:0 1px 2px rgb(0 0 0 / .03);transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgb(0 0 0 / .06)}
.field textarea{min-height:110px;resize:vertical;line-height:1.55}
.field.has-err input,.field.has-err select,.field.has-err textarea{border-color:#fca5a5}
.hint{display:block;font-size:12.5px;color:var(--muted-2);margin-top:6px}
.err,.form-err{display:block;font-size:12.5px;font-weight:500;color:var(--bad);margin-top:6px}
.field-row{display:grid;gap:0 14px}
@media (min-width:560px){.field-row{grid-template-columns:1fr 1fr}}
.check{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--ink-2);cursor:pointer}
.check input{margin-top:3px;accent-color:var(--ink)}

/* ---------- panels ---------- */
.panel{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);padding:24px;margin-bottom:16px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.panel-head h2,.panel-head h3{font-size:17px;font-weight:600}
.ptitle{display:flex;align-items:center;gap:9px;font-weight:600;font-size:16px;margin-bottom:6px}
.psub,.psubtitle{color:var(--muted);font-size:14px;margin-bottom:14px}

/* ---------- checkout ---------- */
.co{display:grid;gap:24px;padding:8px 0 96px}
@media (min-width:900px){.co{grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start}}
.co-item{display:flex;gap:14px;align-items:center;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line)}
.co-item .code-thumb{width:52px;height:52px}
.co-item b{display:block;font-size:15px;font-weight:600}
.co-item small{display:block;font-size:13px;color:var(--muted)}
.sum-row{display:flex;justify-content:space-between;gap:14px;padding:6px 0;font-size:14px;color:var(--muted)}
.sum-row b{color:var(--ink);font-weight:500}
.sum-total{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-top:10px;padding-top:14px;border-top:1px solid var(--line)}
.sum-total span{font-weight:500}
.sum-total b{font-size:26px;font-weight:600;letter-spacing:-.03em}
.coupon-row{display:flex;gap:8px;margin-top:16px}
.coupon-row input{flex:1;min-width:0;border:1px solid var(--line-2);border-radius:var(--radius-sm);padding:9px 12px;font-size:14px;
  text-transform:uppercase;outline:0;font-family:var(--mono)}
.coupon-row input:focus{border-color:var(--ink)}
.signed-as{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;background:var(--bg-soft);margin-bottom:18px}
.signed-as b{display:block;font-size:14.5px}
.signed-as small{display:block;font-size:13px;color:var(--muted)}
.signed-as a{margin-left:auto;font-size:13px}
.co-switch{font-size:13.5px;color:var(--muted);margin:-4px 0 18px}
.pay-logos{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.trust{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.trust li{display:flex;gap:9px;font-size:13px;color:var(--muted)}
.trust li .icon{color:var(--ink);margin-top:3px;font-size:13px}

/* ---------- sign in ---------- */
.auth{min-height:calc(100vh - 260px);display:grid;place-items:center;padding:48px 0 96px}
.auth-card{width:100%;max-width:420px;background:#fff;border-radius:20px;box-shadow:0 0 0 1px var(--line),var(--shadow-lg);padding:32px 28px}
.auth-card h1{font-family:var(--serif);font-weight:400;font-size:38px;letter-spacing:-.02em;line-height:1.05}
.auth-card > p{margin:8px 0 24px;color:var(--muted);font-size:14.5px}
.auth-foot{margin-top:20px;text-align:center;font-size:14px;color:var(--muted)}
.auth-foot a{color:var(--ink);font-weight:500}
.field-top{display:flex;justify-content:space-between;align-items:baseline}
.field-top a{font-size:12.5px;color:var(--muted)}

/* ---------- my account ---------- */
.acct-layout{display:grid;gap:24px;padding:24px 0 96px}
@media (min-width:900px){.acct-layout{grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start}}
.acct-nav{display:flex;gap:4px;overflow-x:auto;padding-bottom:4px}
@media (min-width:900px){.acct-nav{flex-direction:column;position:sticky;top:88px}}
.acct-nav a,.acct-nav button{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;font-size:14px;font-weight:500;
  color:var(--muted);white-space:nowrap;border:0;background:none;cursor:pointer;text-align:left}
.acct-nav a:hover,.acct-nav button:hover{background:var(--bg-soft);color:var(--ink)}
.acct-nav a.on{background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.acct-main h1{font-size:28px;font-weight:600;letter-spacing:-.03em}
.acct-main > p.lead{color:var(--muted);margin:6px 0 24px}
.acct-block{margin-top:32px}
.acct-block > h2{font-size:17px;font-weight:600;margin-bottom:12px;display:flex;align-items:center;gap:10px}
.lib{display:grid;gap:12px}
.lib-row{display:grid;gap:14px;background:#fff;border-radius:var(--radius);padding:18px 20px;box-shadow:0 0 0 1px var(--line)}
@media (min-width:720px){.lib-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}}
.lib-name{display:flex;gap:14px;align-items:center;min-width:0}
.lib-name b{display:block;font-size:15.5px;font-weight:600}
.lib-name small{display:block;font-size:13px;color:var(--muted)}
.lib-acts{display:flex;flex-wrap:wrap;gap:8px}
.key-box{display:flex;align-items:center;gap:8px;margin-top:10px;padding:8px 8px 8px 12px;border-radius:10px;background:var(--bg-soft);
  font-family:var(--mono);font-size:13px;letter-spacing:.02em;max-width:100%}
.key-box code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:inherit}
.copy{border:1px solid var(--line-2);background:#fff;border-radius:8px;padding:5px 11px;font-weight:500;font-size:12.5px;cursor:pointer;
  font-family:var(--sans);white-space:nowrap}
.copy:hover{border-color:var(--line-3)}
.copy.is-copied{color:var(--ok);border-color:var(--ok-line)}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (min-width:720px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{background:#fff;border-radius:var(--radius);padding:16px 18px;box-shadow:0 0 0 1px var(--line)}
.stat b{display:block;font-size:24px;font-weight:600;letter-spacing:-.03em}
.stat small{font-size:12.5px;color:var(--muted)}
.tbl-wrap{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);
  padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:14px 16px;border-bottom:1px solid var(--bg-soft-2);vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl tbody tr:hover{background:var(--bg)}
@media (max-width:640px){
  .tbl thead{display:none}
  .tbl tr{display:block;padding:12px 16px;border-bottom:1px solid var(--bg-soft-2)}
  .tbl td{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border:0}
  .tbl td::before{content:attr(data-label);color:var(--muted-2);font-size:12.5px}
}

/* ---------- an order ---------- */
.order-wrap{max-width:760px;padding:32px 0 96px}
.order-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.order-top h1{font-size:28px;font-weight:600;letter-spacing:-.03em;margin-top:8px}
.order-top p{color:var(--muted);margin-top:4px}
.deliver{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1.5px var(--ink),var(--shadow-lg);padding:24px;margin-bottom:16px}
.deliver h2{font-size:18px;font-weight:600;display:flex;align-items:center;gap:10px}
.deliver h2 .icon{color:var(--ok)}
.deliver > p{margin-top:6px;color:var(--muted);font-size:14.5px}
.deliver .btn{margin-top:16px}
.reveal-rows{margin-top:16px;display:grid;gap:8px}
.reveal-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:var(--bg-soft)}
.reveal-row span{font-size:12.5px;color:var(--muted);min-width:90px}
.reveal-row code{flex:1;min-width:0;font-family:var(--mono);font-size:14px;word-break:break-all}
.guide{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.orow{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--bg-soft-2);font-size:14px}
.orow:last-child{border-bottom:0}
.orow span{color:var(--muted)}
.orow b{text-align:right;font-weight:500;word-break:break-word}
.ototal{display:flex;justify-content:space-between;align-items:center;padding-top:14px;font-weight:600}
.ototal .big{font-size:24px;letter-spacing:-.03em}
.wait-box{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:var(--radius);background:var(--warn-soft);
  border:1px solid var(--warn-line);margin-bottom:16px;color:#78350f;font-size:14.5px}
.wait-box b{display:block;color:#78350f;margin-bottom:2px}

/* ---------- prose: pages and posts ---------- */
.prose{color:var(--ink-2);font-size:16.5px;line-height:1.75;min-width:0}
.prose > *:first-child{margin-top:0}
.prose h2{font-size:24px;font-weight:600;color:var(--ink);margin:40px 0 12px;letter-spacing:-.025em}
.prose h3{font-size:19px;font-weight:600;color:var(--ink);margin:28px 0 8px}
.prose p,.prose ul,.prose ol,.prose table,.prose blockquote,.prose pre{margin:0 0 18px}
.prose ul,.prose ol{padding-left:22px}
.prose li{margin:6px 0}
.prose a{color:var(--ink);font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-3)}
.prose a:hover{text-decoration-color:var(--ink)}
.prose img{max-width:100%;height:auto;border-radius:12px;box-shadow:0 0 0 1px var(--line)}
.prose blockquote{border-left:3px solid var(--line-2);padding:4px 0 4px 18px;color:var(--muted);font-style:italic}
.prose code{background:var(--bg-soft-2);padding:2px 6px;border-radius:6px;font-family:var(--mono);font-size:.88em}
.prose pre{background:var(--ink);color:#e4e4e7;padding:18px 20px;border-radius:12px;overflow-x:auto;font-size:13.5px;line-height:1.65}
.prose pre code{background:none;padding:0;color:inherit}
.prose table{width:100%;border-collapse:collapse;font-size:14.5px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:9px 12px;text-align:left}
.prose th{background:var(--bg-soft);font-weight:600;color:var(--ink)}
.prose-card{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);padding:24px}
@media (min-width:640px){.prose-card{padding:40px}}

/* ---------- the blog ---------- */
.blog-layout{display:grid;gap:32px}
@media (min-width:1024px){.blog-layout{grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}}
.blog-side{display:grid;gap:16px}
@media (min-width:1024px){.blog-side{position:sticky;top:88px}}
.blog-cats{display:flex;flex-direction:column;gap:2px}
.blog-cats a{display:flex;justify-content:space-between;padding:8px 10px;border-radius:8px;font-size:14px;color:var(--muted)}
.blog-cats a:hover,.blog-cats a.on{background:var(--bg-soft);color:var(--ink)}
.blog-search{display:flex;gap:8px;margin-bottom:24px}
.blog-search input{flex:1;min-width:0;border:1px solid var(--line-2);border-radius:var(--radius-sm);padding:10px 14px;outline:0;background:#fff}
.blog-search input:focus{border-color:var(--ink)}
.blog-found{color:var(--muted);margin-bottom:16px;font-size:14px}
.side-cta{background:var(--ink);color:#fff;border-radius:var(--radius);padding:22px}
.side-cta b{display:block;font-size:16px}
.side-cta p{color:#a1a1aa;font-size:14px;margin:6px 0 14px}
.side-cta .btn-primary{background:#fff;color:var(--ink)}
.post-head{padding:40px 0 24px;max-width:780px}
.post-head h1{font-size:34px;font-weight:600;letter-spacing:-.035em;line-height:1.12;margin-top:12px}
@media (min-width:640px){.post-head h1{font-size:46px}}
.post-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:16px;font-size:13.5px;color:var(--muted)}
.post-cover{border-radius:var(--radius);overflow:hidden;box-shadow:0 0 0 1px var(--line);margin-bottom:28px}
.post-cover img{display:block;width:100%;height:auto}
.post-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:24px}
.post-tags a{font-size:12.5px;padding:4px 10px;border-radius:999px;background:var(--bg-soft);color:var(--muted)}
.toc{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);padding:18px 20px}
.toc b{display:block;font-size:13px;margin-bottom:8px}
.toc ol,.toc ul{margin:0;padding-left:18px;font-size:13.5px;color:var(--muted);display:grid;gap:4px}
.toc a:hover{color:var(--ink)}
.share{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.preview-bar{background:var(--warn-soft);color:#92400e;padding:10px 0;font-size:14px;text-align:center;border-bottom:1px solid var(--warn-line)}
.pager{display:flex;justify-content:center;gap:6px;margin-top:32px;flex-wrap:wrap}
.pager a,.pager span{min-width:38px;height:38px;padding:0 12px;border-radius:10px;display:grid;place-items:center;font-size:14px;
  background:#fff;box-shadow:0 0 0 1px var(--line)}
.pager .on,.pager span[aria-current]{background:var(--ink);color:#fff;box-shadow:none}
.section-head-row{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px}
.section-soft{background:transparent}

/* ---------- contact ---------- */
.contact-cards{display:grid;gap:12px;margin-bottom:20px}
@media (min-width:640px){.contact-cards{grid-template-columns:repeat(2,1fr)}}
.chatrow{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.track-card{background:#fff;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line);padding:24px}
.big404{font-family:var(--serif);font-size:120px;line-height:1;letter-spacing:-.04em}

/* ---------- footer ---------- */
.site-foot{margin-top:96px;border-top:1px solid var(--line);background:#fff}
.foot-grid{display:grid;gap:32px;padding:48px 0 32px}
@media (min-width:768px){.foot-grid{grid-template-columns:1.4fr repeat(3,1fr)}}
.foot-about p{margin:12px 0 16px;color:var(--muted);font-size:14px;max-width:320px}
.foot-col b{display:block;font-family:var(--mono);font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.08em;
  color:var(--muted-2);margin-bottom:12px}
.foot-col a,.foot-col span{display:block;padding:4px 0;font-size:14px;color:var(--muted)}
.foot-col a:hover{color:var(--ink)}
.foot-col button{display:block;padding:4px 0;font-size:14px;color:var(--muted);border:0;background:none;cursor:pointer;text-align:left}
.foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:20px 0 28px;border-top:1px solid var(--line);
  font-size:13px;color:var(--muted-2)}
.foot-bottom a:hover{color:var(--ink)}
.foot-social{display:flex;gap:6px}
.foot-social a{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;box-shadow:0 0 0 1px var(--line);color:var(--muted)}
.foot-social a:hover{color:var(--ink)}

/* ---------- motion ---------- */
.reveal{opacity:0;translate:0 14px;transition:opacity .5s ease,translate .5s ease}
.reveal.is-in{opacity:1;translate:0 0}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;translate:none;transition:none}}
.navbar-load{position:fixed;top:0;left:0;height:2px;width:0;background:var(--brand);z-index:200;opacity:0;transition:width .3s ease,opacity .3s}
.navbar-load.is-on{opacity:1}
.btn-wait{position:relative;color:transparent!important;pointer-events:none}
.btn-wait::after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;
  border-color:rgba(255,255,255,.5) rgba(255,255,255,.5) #fff #fff;animation:spin .7s linear infinite}
.btn-secondary.btn-wait::after,.btn-ghost.btn-wait::after{border-color:var(--line-2) var(--line-2) var(--ink) var(--ink)}
@keyframes spin{to{transform:rotate(1turn)}}
.img-sk{position:relative;background:var(--bg-soft)}
.sk{display:block;border-radius:8px;background:linear-gradient(90deg,#f1f1ef 0%,#e7e7e4 40%,#f1f1ef 80%);background-size:200% 100%;
  animation:sk 1.2s ease-in-out infinite}
@keyframes sk{from{background-position:100% 0}to{background-position:-100% 0}}
[data-soft-line].is-updating{opacity:.55;pointer-events:none}

/* ===========================================================================
   Carried over unchanged from the shop this came from - the pay step, our
   own dialogs, the live chat and the install bar - on this sheet's tokens.
   =========================================================================== */
.acct{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;
  background:var(--bg-soft);border:1px solid var(--line);margin-bottom:10px}
.acct small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.acct b{font-size:16px;word-break:break-all}
/* The figure to send: the one thing on this step that has to be read exactly. */
.acct-amount{background:var(--brand-soft);border-color:var(--brand-line)}
.acct-amount b{font-size:22px;letter-spacing:-.01em;color:var(--brand-deep)}
/* The admin's own payment page: a UPI button, their QR, their steps. The
   button is shown everywhere: hiding it on a guess about the device (hover,
   pointer) hid it from phones that report a mouse, and nearly every player
   is on a phone. */
.upi-go{margin:-2px 0 10px;font-weight:800;color:var(--brand-deep);border-color:var(--brand-line)}
.pay-qr{text-align:center;margin:4px 0 12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.pay-qr img{width:220px;max-width:100%;height:auto;display:block;margin:0 auto 8px}
.pay-steps{margin:6px 0 14px;padding-left:22px;color:var(--ink-2);font-size:14.5px;line-height:1.5}
.pay-steps li{margin:5px 0;padding-left:2px}
.pay-steps li::marker{color:var(--brand);font-weight:800}
.note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--brand-soft);
  color:var(--brand-deep);font-size:14px;margin:10px 0}
.note .icon{margin-top:3px;flex:none}
.help{font-size:13.5px;color:var(--muted);margin-top:10px}
.lnk-btn{border:0;background:none;padding:0;font:inherit;font-size:13.5px;font-weight:700;color:var(--brand);
  cursor:pointer;text-decoration:underline;text-underline-offset:3px;margin-top:12px}
.pay-cancel{text-align:center;margin-top:6px}

/* Our own confirm and alert (ask() in app.js), in place of the browser's. */
.ask{text-align:center;max-width:400px}
.ask-ico{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 12px;font-size:26px;font-weight:800}
.ask-danger .ask-ico{background:var(--warn-soft);color:var(--warn)}
.ask-danger .ask-ico::before{content:"!"}
.ask-info .ask-ico{background:var(--brand-soft);color:var(--brand)}
.ask-info .ask-ico::before{content:"i";font-family:Georgia,serif;font-style:italic}
.ask .modal-title{margin-bottom:6px}
.ask-text{color:var(--ink-2);font-size:15px;margin:0 0 18px}
.ask-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ask-acts .btn{flex:1 1 140px}
.btn-danger{background:#dc2626;color:#fff;border:0;box-shadow:0 6px 16px rgba(220,38,38,.25)}
.btn-danger:hover{background:#b91c1c}

/* Where copying is refused: the text, selected, to long-press. */
.copy-box{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:1200;width:min(420px,calc(100% - 32px));
  background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);padding:12px 44px 12px 14px}
.copy-box span{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:6px}
.copy-box input{width:100%;font-size:18px;font-weight:800;border:1.5px solid var(--brand-line);border-radius:10px;padding:8px 10px;
  background:var(--brand-soft);color:var(--ink)}
.copy-box button{position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;background:none;font-size:20px;cursor:pointer;color:var(--muted)}

/* pay step (partials/pay) */
.paypick{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.payopt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;border:1.5px solid var(--line);
  border-radius:16px;cursor:pointer;text-align:center;background:#fff;position:relative}
.payopt input{position:absolute;opacity:0;pointer-events:none}
.payopt.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px var(--glow-soft)}
.paylogo{width:52px;height:40px;border-radius:10px;background:var(--bg-soft);display:grid;place-items:center;font-weight:800;
  color:var(--brand);overflow:hidden}
.paylogo img{max-width:100%;max-height:100%;object-fit:contain}
.payname{font-weight:700;font-size:13.5px;line-height:1.25}
.paystep{display:none}
.paystep.on{display:block}
.no-js .paystep{display:block}

/* ---------- dialogs ---------- */
.modal-back{position:fixed;inset:0;z-index:80;background:rgba(15,12,35,.55);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;padding:16px}
.modal{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;
  border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(15,12,35,.35);animation:rise .22s ease}
.modal:focus{outline:none}
.modal-sm{max-width:440px}
@keyframes rise{from{transform:translateY(16px);opacity:0}}
.modal-x{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:12px;border:0;background:var(--bg-soft);
  cursor:pointer;display:grid;place-items:center;font-size:18px}
.modal-head{display:flex;gap:12px;align-items:center;margin-bottom:14px;padding-right:40px}
.modal-head b{display:block;font-size:17px}
.modal-head small{color:var(--muted);font-weight:600}
.modal-title{font-size:21px;margin-bottom:6px}
.modal .panel{box-shadow:none;border:0;padding:0;margin:0}
.modal-foot{text-align:center}
.om-tick{width:44px;height:44px;border-radius:14px;background:var(--ok-soft);color:var(--ok);display:grid;place-items:center;font-size:22px;flex:none}
.tk-card{margin-top:14px}
.tk-card .btn{margin-top:14px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;background:var(--ink);color:#fff;
  padding:12px 18px;border-radius:14px;font-weight:600;font-size:14.5px;box-shadow:0 14px 40px rgba(0,0,0,.25);max-width:calc(100% - 32px)}
.fabs{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;flex-direction:column;gap:10px}
.fab{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:26px;box-shadow:0 10px 26px rgba(0,0,0,.2)}
.fab-whatsapp{background:#25d366}
.fab-telegram{background:#229ed9}
.fab-email{background:var(--brand)}

/* ===========================================================================
   Live chat - the Support panel. The thread rules after the panel block are
   kept the same as the copy in assets/css/admin.css, on this sheet's tokens.
   =========================================================================== */
.lc-panel,.fab-live{--lc-acc:var(--brand);--lc-acc-soft:var(--brand-soft);--lc-ink:var(--ink);--lc-muted:var(--muted);
  --lc-line:var(--line);--lc-bg:var(--bg-soft);--lc-surface:var(--surface)}
.fab-live{position:relative;border:0;cursor:pointer;background:var(--brand)}
.fab-count{position:absolute;top:-3px;right:-3px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;
  background:var(--bad);color:#fff;font-size:11.5px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}
.lc-panel{position:fixed;right:18px;bottom:86px;z-index:70;width:370px;max-width:calc(100vw - 32px);
  height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);overflow:hidden}
html.lc-open .fabs .fab:not(.fab-live){display:none}
.lc-top{display:flex;align-items:center;gap:11px;padding:13px 13px 13px 15px;background:var(--brand);color:#fff}
.lc-top-ico{position:relative;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);
  display:grid;place-items:center;font-size:20px;flex:none}
.lc-panel.is-online .lc-top-ico::after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;
  border-radius:50%;background:#22c55e;border:2px solid #fff}
.lc-top-txt{flex:1;min-width:0}
.lc-top-txt b{display:block;font-size:15px}
.lc-top-txt small{display:block;font-size:12.5px;opacity:.88}
.lc-x{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;
  display:grid;place-items:center;cursor:pointer;font-size:18px;flex:none}
.lc-x:hover{background:rgba(255,255,255,.28)}
.lc-hello{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;font-size:13.5px;color:var(--ink-2)}
.lc-hello b{color:var(--ink)}
.lc-hello p{margin:6px 0 0}
@media (max-width:960px){
}
@media (max-width:640px){
  .lc-panel{inset:0;width:auto;max-width:none;height:auto;border-radius:0;border:0}
  html.lc-open,html.lc-open body{overflow:hidden}
  html.lc-open .fabs{display:none}
}
.lc-log{flex:1;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:6px;
  background:var(--lc-bg);overscroll-behavior:contain}
.lc-msg{display:flex;max-width:100%}
.lc-me{justify-content:flex-end}
.lc-them{justify-content:flex-start}
.lc-sys{justify-content:center}
.lc-bubble{max-width:80%;padding:8px 11px 5px;border-radius:16px;font-size:14px;line-height:1.45;
  overflow-wrap:anywhere;box-shadow:0 1px 1px rgba(0,0,0,.04)}
.lc-me .lc-bubble{background:var(--lc-acc);color:#fff;border-bottom-right-radius:5px}
.lc-them .lc-bubble{background:var(--lc-surface);color:var(--lc-ink);border:1px solid var(--lc-line);border-bottom-left-radius:5px}
.lc-sys .lc-bubble{background:transparent;color:var(--lc-muted);font-size:12.5px;text-align:center;box-shadow:none}
.lc-bubble p{margin:0;white-space:pre-wrap}
.lc-bubble a{color:inherit;text-decoration:underline}
.lc-meta{display:block;text-align:right;font-size:10.5px;opacity:.72;margin-top:2px}
.lc-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.lc-ai{font-weight:700;letter-spacing:.02em}
.lc-tick{width:16px;height:11px;fill:currentColor;flex:none}
.lc-tick.is-read{fill:#38bdf8}
.lc-me .lc-tick.is-read{fill:#7dd3fc}
.lc-dl{font-size:12px;font-weight:700;text-decoration:underline;color:inherit}
.lc-msg.is-pending{opacity:.6}
.lc-day{align-self:center;font-size:11px;font-weight:700;color:var(--lc-muted);background:var(--lc-surface);
  border:1px solid var(--lc-line);padding:2px 10px;border-radius:999px;margin:6px 0}
.lc-pic img{display:block;max-width:min(220px,100%);max-height:260px;width:auto;height:auto;border-radius:11px;margin:2px 0 4px}
.lc-voice{display:flex;align-items:center;gap:9px;min-width:180px;padding:2px 0}
.lc-play{width:34px;height:34px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;
  background:rgba(255,255,255,.22);color:inherit;flex:none;font-size:16px}
.lc-them .lc-play{background:var(--lc-acc-soft);color:var(--lc-acc)}
.lc-bar{position:relative;flex:1;height:4px;border-radius:4px;background:rgba(127,127,127,.32);cursor:pointer}
.lc-bar i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:4px;background:currentColor}
.lc-voice small{font-size:11.5px;font-variant-numeric:tabular-nums;min-width:32px}
.lc-typing{display:flex;align-items:center;gap:3px;padding:5px 16px;font-size:12px;color:var(--lc-muted);background:var(--lc-bg)}
.lc-typing span{width:5px;height:5px;border-radius:50%;background:currentColor;animation:lcdot 1s infinite}
.lc-typing span:nth-child(2){animation-delay:.15s}
.lc-typing span:nth-child(3){animation-delay:.3s;margin-right:4px}
@keyframes lcdot{0%,60%,100%{opacity:.25}30%{opacity:1}}
.lc-form{position:relative;display:flex;align-items:flex-end;gap:6px;padding:10px;border-top:1px solid var(--lc-line);
  background:var(--lc-surface)}
.lc-form textarea{flex:1;min-width:0;resize:none;border:1px solid var(--lc-line);border-radius:19px;padding:9px 14px;
  font:inherit;font-size:14px;line-height:1.35;min-height:38px;max-height:120px;background:var(--lc-bg);color:var(--lc-ink);outline:0}
.lc-form textarea:focus{border-color:var(--lc-acc)}
.lc-tool{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:0;background:transparent;
  color:var(--lc-muted);cursor:pointer;flex:none;font-size:20px}
.lc-tool:hover{background:var(--lc-acc-soft);color:var(--lc-acc)}
.lc-send{width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--lc-acc);
  color:#fff;cursor:pointer;flex:none;font-size:17px}
.lc-rec{position:absolute;inset:0;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 18px;background:var(--lc-surface)}
.lc-rec b{flex:1;font-variant-numeric:tabular-nums;color:var(--lc-ink)}
.lc-rec-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:lcdot 1s infinite}
.lc-error{margin:0;padding:8px 12px;font-size:12.5px;color:#b91c1c;background:#fdecec}
.lc-empty{color:var(--lc-muted);font-size:13.5px;text-align:center;margin:auto;padding:20px;max-width:360px}
@media (prefers-reduced-motion:reduce){.lc-typing span,.lc-rec-dot{animation:none}}
.lc-form.is-recording .lc-mic{color:#ef4444}

/* ---- install the app: the phone bar and the iPhone steps ---- */
.install-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:65;display:flex;align-items:center;gap:12px;
  padding:12px 12px 12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);max-width:560px;margin:0 auto}
.install-ico{width:40px;height:40px;border-radius:11px;flex:none}
.install-txt{flex:1;min-width:0}
.install-txt b{display:block;font-size:14.5px}
.install-txt small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.install-x{width:32px;height:32px;border-radius:50%;border:0;background:transparent;color:var(--muted);display:grid;
  place-items:center;cursor:pointer;flex:none;font-size:18px}
.install-x:hover{background:var(--bg-soft)}
html.lc-open .install-bar{display:none}
.install-ios{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;
  padding:16px;background:rgba(21,21,42,.45)}
.install-ios-card{width:100%;max-width:420px;background:var(--surface);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-lg)}
.install-ios-card b{display:block;font-size:16px;margin-bottom:8px}
.install-ios-card ol{margin:0 0 16px;padding-left:20px;color:var(--ink-2);font-size:14.5px;line-height:1.7}
.install-share{display:inline-grid;place-items:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:6px;
  font-size:12px;vertical-align:-4px}
.acct-menu-links button{border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}
/* The floating buttons step up while the install bar is open, rather than hide under it. */
html.install-open .fabs{bottom:96px}

.lc-gone{display:inline-block;padding:6px 0;font-size:13px;font-style:italic;opacity:.85;text-decoration:underline}



.fab{width:52px;height:52px}
.fab-email{background:var(--ink)}
.acct{border-radius:12px;background:var(--bg-soft);border-color:var(--line)}
.acct-amount{background:#fff;border-color:var(--ink)}
.acct-amount b{color:var(--ink)}
.payopt{border-radius:12px;border-width:1px}
.payopt.on{border-color:var(--ink);background:var(--bg-soft);box-shadow:0 0 0 1px var(--ink)}
.paylogo{color:var(--ink)}
.note{background:var(--bg-soft);color:var(--ink-2)}
.modal{border-radius:20px}
.modal-back{background:rgba(9,9,11,.5)}

/* ---------- small pieces the views lean on ---------- */
.tool-card{position:relative}
.stretched{position:absolute;inset:0;border-radius:inherit;z-index:0}
.tool-card a:not(.stretched),.tool-card .badge{position:relative;z-index:1}
.pcard-body time{margin-top:auto;font-size:12.5px;color:var(--muted-2)}
.panel > .alert,.panel form > .alert{margin-bottom:16px}
.panel > .alert:last-child{margin-bottom:0}
.lnk-btn{color:var(--muted);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.lnk-btn:hover{color:var(--ink)}
.spinner{width:20px;height:20px;flex:none;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;
  animation:spin .8s linear infinite;opacity:.7}
.wait-box .spinner{margin-top:2px;color:#92400e}
.code-thumb .icon{font-size:18px}
.order-top .badge{margin-top:6px}
.order-top .copy{margin-left:6px;vertical-align:1px;text-transform:none;letter-spacing:0}

/* The phone's buy bar: price and button along the bottom of a product page. */
.buy-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgb(255 255 255 / .96);border-top:1px solid var(--line);
  box-shadow:0 -8px 24px rgb(0 0 0 / .06)}
.buy-bar b{font-size:18px;font-weight:600;letter-spacing:-.02em}
.buy-bar small{font-size:13px;color:var(--muted)}
.buy-bar .btn{padding-inline:22px}
body:has(.buy-bar){padding-bottom:72px}
body:has(.buy-bar) .fabs{bottom:86px}
@media (min-width:1024px){.buy-bar{display:none}body:has(.buy-bar){padding-bottom:0}body:has(.buy-bar) .fabs{bottom:18px}}
/* The hero's preview has its own browser bar; the drawn editor's is one too many. */
.hero-shot .code-window .cw-bar{display:none}

/* On a phone, what is being bought and its price come before the form. */
@media (max-width:899px){.co > aside{order:-1}}

/* ---- no zoom on iPhone when a field is tapped ----
   iOS Safari zooms into any field under 16px and does not zoom back. Kept
   last, so nothing above can undo it; desktop keeps the smaller sizes. */
@media (hover:none) and (pointer:coarse){
  input,select,textarea,.field input,.field select,.field textarea,.input,.coupon-row input,.search input,.blog-search input,.lc-form textarea{font-size:16px!important}
}
