/* ==========================================================================
   SynthID Remover — stylesheet
   Design decisions (stamped 2026-12-02):
   - Palette drawn from the blue logo: navy ink + accent blue #1668DC (light)
     / #5EA0F5 (dark). NO green, NO purple/pink/neon, NO decorative gradients.
   - Type: premium system stack only (no Google Fonts are linked on the site).
     H1 clamp(32px,5vw,50px)/1.05, H2 clamp(24px,3.2vw,31px)/1.15, H3 17px,
     body 16px/1.6. Headings weight 700-800, letter-spacing -0.02em.
   - Spacing: 8px grid (8/16/24/32). Section rhythm 64px desktop / 44px mobile.
     Card padding 24px, tool panel padding 24px. Radius: cards 16px, tool 20px,
     buttons 10px, pills 999px. 1px borders, hairline dividers.
   - Shadows ONLY on the sticky header and the tools dropdown.
   - Hallmark / Impeccable gates applied: no coloured word in headlines
     (.hl inherits ink), no eyebrow labels, no tracked-capital labels,
     no nested-card soup (one flat card per block), generous real padding,
     focus-visible 2px accent + 3px offset, reduced motion respected.
   - Contrast: every text pair verified >= 4.5:1 except light-mode --muted-2
     (3.92:1 on page bg), which is used ONLY for disabled/inactive text.
   - Light/dark mechanism unchanged (:root, prefers-color-scheme,
     :root[data-theme="dark"|"light"]); theme.js untouched.
   ========================================================================== */

/* ---------- tokens: light ---------- */
:root{
  color-scheme:light;
  --bg:#F6F8FB;
  --bg2:#EDF2F7;
  --surface:#FFFFFF;
  --surface2:#EDF2F7;
  --surface3:#E2E9F1;
  --border:#D7DEE8;
  --border-soft:#E5EAF1;
  --text:#0C1B2E;
  --muted:#4A5B70;
  --muted2:#6B7E94;
  --accent:#1668DC;
  --accent-hover:#0F56B3;
  --accent-dim:#E8F1FE;
  --accent-soft:#E8F1FE;
  --accent-ink:#FFFFFF;
  --accent-line:#B9D2F5;
  --amber:#8A5A00;
  --warn-bg:#FBF0D3;
  --warn-line:#E3C078;
  --red:#B3261E;
  --topbar-bg:rgba(246,248,251,.92);
  --shadow:0 12px 32px rgba(12,27,46,.10);
  --stage-bg:#0B1522;
  --tag-bg:rgba(8,19,31,.85);
  --tag-ink:#EAF1F8;
  --tag-accent:#9CC3F7;
  --drag-bg:#E8F1FE;
  --dz-border:#9FB4CC;
  --wave:#B9D2F5;
  --honest-bg:#FBF3DC;
  --honest-border:#E3C078;
  --honest-head:#8A5A00;
  --honest-text:#5C4A1F;
  --radius:16px;
  --font-head:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --font-body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --font-mono:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;
}
/* ---------- tokens: dark (system preference) ---------- */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#0A1420;
    --bg2:#16273A;
    --surface:#101E2E;
    --surface2:#16273A;
    --surface3:#1D3049;
    --border:#24384E;
    --border-soft:#1B2C40;
    --text:#EAF1F8;
    --muted:#9DB0C4;
    --muted2:#7C8FA6;
    --accent:#5EA0F5;
    --accent-hover:#7FB3F8;
    --accent-dim:#12283F;
    --accent-soft:#12283F;
    --accent-ink:#08131F;
    --accent-line:#2C4A6B;
    --amber:#F2B544;
    --warn-bg:#3A2C12;
    --warn-line:#6B4E15;
    --red:#F28B82;
    --topbar-bg:rgba(10,20,32,.90);
    --shadow:0 12px 32px rgba(0,0,0,.45);
    --stage-bg:#060D16;
    --tag-bg:rgba(8,19,31,.85);
    --tag-ink:#EAF1F8;
    --tag-accent:#9CC3F7;
    --drag-bg:#12283F;
    --dz-border:#33465E;
    --wave:#2C4A6B;
    --honest-bg:#241C0C;
    --honest-border:#6B4E15;
    --honest-head:#F2B544;
    --honest-text:#D8C9A3;
  }
}
/* ---------- tokens: dark (explicit toggle) ---------- */
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0A1420;
  --bg2:#16273A;
  --surface:#101E2E;
  --surface2:#16273A;
  --surface3:#1D3049;
  --border:#24384E;
  --border-soft:#1B2C40;
  --text:#EAF1F8;
  --muted:#9DB0C4;
  --muted2:#7C8FA6;
  --accent:#5EA0F5;
  --accent-hover:#7FB3F8;
  --accent-dim:#12283F;
  --accent-soft:#12283F;
  --accent-ink:#08131F;
  --accent-line:#2C4A6B;
  --amber:#F2B544;
  --warn-bg:#3A2C12;
  --warn-line:#6B4E15;
  --red:#F28B82;
  --topbar-bg:rgba(10,20,32,.90);
  --shadow:0 12px 32px rgba(0,0,0,.45);
  --stage-bg:#060D16;
  --tag-bg:rgba(8,19,31,.85);
  --tag-ink:#EAF1F8;
  --tag-accent:#9CC3F7;
  --drag-bg:#12283F;
  --dz-border:#33465E;
  --wave:#2C4A6B;
  --honest-bg:#241C0C;
  --honest-border:#6B4E15;
  --honest-head:#F2B544;
  --honest-text:#D8C9A3;
}
:root[data-theme="light"]{ color-scheme:light }

/* ---------- base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font-body);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--accent);color:var(--accent-ink)}
a{color:var(--accent)}
a:hover{color:var(--accent-hover)}
button,[role="button"],select,summary,input:not([type="checkbox"],[type="radio"]){min-height:2.75rem}
button{font-family:inherit;cursor:pointer}
img,video{max-width:100%}
h1,h2,h3{font-family:var(--font-head);letter-spacing:-.02em}
h2{
  font-size:clamp(24px,3.2vw,31px);line-height:1.15;font-weight:800;
  margin:0 0 8px;
}
h3{font-size:17px;line-height:1.35;font-weight:700;margin:0 0 7px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}

/* ---------- header ---------- */
header.topbar{
  position:sticky;top:0;z-index:40;
  background:var(--topbar-bg);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
  box-shadow:var(--shadow);
}
.topbar-in{display:flex;align-items:center;gap:16px;padding:12px 0}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text)}
.brand-logo{width:40px;height:40px;border-radius:10px;flex:none;display:block}
.brand-wordmark{width:270px;height:auto;max-height:44px;object-fit:contain;object-position:left center;display:block}
.brand b{font-family:var(--font-head);font-size:17px;letter-spacing:-.01em;display:block;line-height:1.1;white-space:nowrap}
.brand span{font-size:11.5px;color:var(--muted);font-family:var(--font-mono)}
nav.mainnav{margin-left:auto;display:flex;gap:4px;align-items:center}
nav.mainnav a{
  color:var(--muted);text-decoration:none;font-weight:600;font-size:14px;
  padding:10px 12px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center;
}
nav.mainnav a:hover{color:var(--text);background:var(--surface2)}
@media(max-width:640px){
  nav.mainnav a:not(.keep){display:none}
  .nav-dd{display:none}
  .theme-toggle #themeLabel{display:none}
  .theme-toggle{padding:8px 11px}
  .topbar-in{gap:10px}
  .brand b{font-size:15px}
}
@media(max-width:360px){
  .brand b{font-size:14px}
  nav.mainnav a.keep{padding:10px 8px}
}

/* ---------- hero ---------- */
.hero{padding:64px 0 32px;text-align:left}
.hero-grid{display:grid;grid-template-columns:1fr;gap:36px;align-items:end}
@media(max-width:820px){.hero-grid{grid-template-columns:1fr}}
h1{
  font-family:var(--font-head);font-weight:800;letter-spacing:-.02em;
  font-size:clamp(32px,5vw,50px);line-height:1.05;margin:0 0 16px;
  text-wrap:balance;
}
/* Hallmark gate: no coloured word inside a headline. The .hl span stays in
   the markup (untouched) but inherits the ink colour. */
h1 .hl,.page-title .hl{color:inherit}
.hero p.lede{color:var(--muted);font-size:clamp(16px,2vw,18.5px);margin:0}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.chip{
  font-family:var(--font-mono);font-size:12.5px;color:var(--muted);
  border:1px solid var(--border);border-radius:999px;padding:7px 13px;background:var(--bg2);
}
.chip b{color:var(--text);font-weight:600}

/* ---------- tool panel ---------- */
.tool{
  background:var(--surface);border:1px solid var(--border);border-radius:20px;
  overflow:hidden;margin:16px 0 8px;
}
.tool-head{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
  padding:16px 24px;border-bottom:1px solid var(--border-soft);background:var(--bg2);
}
.tabs{display:flex;gap:6px;flex-wrap:wrap}
.tab{
  border:1px solid var(--border);background:var(--surface2);color:var(--muted);
  border-radius:10px;padding:10px 18px;font-weight:700;font-size:14.5px;
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
}
.tab:hover{color:var(--text)}
.tab[aria-selected="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.tab .lim{font-family:var(--font-mono);font-weight:500;font-size:11px;opacity:.75}
.tool-body{padding:24px}

.dropzone{
  border:1.5px dashed var(--dz-border);border-radius:16px;background:var(--bg2);
  padding:40px 24px;text-align:center;transition:border-color .15s,background .15s;
}
.dropzone.drag{border-color:var(--accent);background:var(--drag-bg)}
.dropzone:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dz-icon{width:56px;height:56px;margin:0 auto 16px;border-radius:14px;background:var(--surface3);display:grid;place-items:center;border:1px solid var(--border)}
.dropzone h2{font-family:var(--font-head);font-size:19px;font-weight:700;line-height:1.25;margin:0 0 6px}
.dropzone p{color:var(--muted);margin:0 0 18px;font-size:14.5px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border-radius:10px;font-weight:800;font-size:15px;padding:12px 22px;
  border:1px solid transparent;text-decoration:none;min-height:48px;
}
.btn-accent{background:var(--accent);color:var(--accent-ink)}
.btn-accent:hover{background:var(--accent-hover)}
.btn-accent:disabled{background:var(--surface2);color:var(--muted2);border-color:var(--border);cursor:not-allowed}
.btn-ghost{background:var(--surface2);border-color:var(--border);color:var(--text)}
.btn-ghost:hover{background:var(--surface3)}
.btn-ghost:disabled{opacity:.45;cursor:not-allowed}
.dz-formats{margin-top:16px;font-family:var(--font-mono);font-size:12px;color:var(--muted)}

/* file state */
.filebar{
  display:none;align-items:center;gap:14px;flex-wrap:wrap;
  background:var(--bg2);border:1px solid var(--border-soft);border-radius:16px;padding:14px 16px;margin-bottom:18px;
}
.filebar.show{display:flex}
.filebar .fname{font-weight:700;font-size:15px;word-break:break-all}
.filebar .fmeta{font-family:var(--font-mono);font-size:12.5px;color:var(--muted)}
.filebar .spacer{flex:1}
.linkbtn{background:none;border:none;color:var(--muted);font-weight:700;font-size:14px;padding:10px;min-height:44px}
.linkbtn:hover{color:var(--red)}

.preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.preview-grid>*{min-width:0}
@media(max-width:860px){.preview-grid{grid-template-columns:minmax(0,1fr)}}
.stage{
  background:var(--stage-bg);border:1px solid var(--border-soft);border-radius:16px;
  min-height:280px;display:grid;place-items:center;padding:16px;overflow:hidden;
}
.stage-empty{color:var(--muted);text-align:center;font-size:14px;padding:30px 10px}
.stage img.preview{max-height:460px;width:auto;border-radius:8px}
.stage video{max-height:420px;border-radius:8px;width:100%}
.audio-stage{width:100%;text-align:center;padding:16px 6px}
.audio-stage audio{width:100%;margin-top:12px}
.wave{display:flex;align-items:flex-end;gap:3px;height:64px;justify-content:center;margin:6px 0 4px}
.wave i{width:5px;background:var(--wave);border-radius:3px;display:block}
.wave i.hot{background:var(--accent)}

/* compare slider */
.compare{position:relative;width:100%;max-width:640px;margin:0 auto;border-radius:8px;overflow:hidden;line-height:0}
.compare img{display:block;width:100%;height:auto}
.compare .after-wrap{position:absolute;inset:0;overflow:hidden}
.compare .after-wrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.compare .divider{position:absolute;top:0;bottom:0;width:2px;background:var(--accent);pointer-events:none}
.compare .tag{
  position:absolute;top:10px;font-family:var(--font-mono);font-size:11px;font-weight:600;
  background:var(--tag-bg);color:var(--tag-ink);padding:5px 9px;border-radius:6px;line-height:1;z-index:3;
}
.tag.before{left:10px}.tag.after{right:10px;color:var(--tag-accent)}
.compare-range{width:100%;margin-top:12px;accent-color:var(--accent);min-height:44px}
.compare-cap{font-size:13px;color:var(--muted);text-align:center;margin-top:2px;line-height:1.4}

/* side panel */
.panel h3{font-family:var(--font-head);font-size:14px;font-weight:700;line-height:1.3;margin:0 0 10px;letter-spacing:0}
.skip{
  position:absolute;left:16px;top:8px;z-index:80;
  background:var(--accent);color:var(--accent-ink);
  padding:10px 14px;border-radius:10px;font-weight:800;text-decoration:none;
  transform:translateY(-160%);
}
.skip:focus{transform:none}
.panel .group{margin-bottom:20px}
.panel .group:last-child{margin-bottom:0}
.seg{display:flex;background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:4px;gap:4px}
.seg button{
  flex:1;border:none;background:transparent;color:var(--muted);border-radius:8px;
  font-weight:700;font-size:13.5px;padding:9px 4px;min-height:44px;
}
.seg button[aria-pressed="true"]{background:var(--surface3);color:var(--text)}
.seg-note{font-size:12.5px;color:var(--muted);margin-top:8px;line-height:1.5}
select.fmt{
  width:100%;background:var(--bg2);border:1px solid var(--border);color:var(--text);
  border-radius:10px;padding:11px 12px;font-family:inherit;font-weight:600;font-size:14.5px;min-height:48px;
}
.scanbox{
  background:var(--bg2);border:1px solid var(--border-soft);border-radius:16px;padding:16px;
}
.scanbox .row{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:6px 0;font-size:13.5px}
.scanbox .row span:first-child{color:var(--muted)}
.scanbox .row span:last-child{font-family:var(--font-mono);font-size:12.5px;text-align:right;word-break:break-all}
.scanbox .badge{white-space:normal;line-height:1.5}
.badge{display:inline-block;font-family:var(--font-mono);font-size:11px;font-weight:600;padding:4px 10px;border-radius:999px;line-height:1.35;white-space:nowrap}
.badge.found{background:var(--warn-bg);color:var(--amber);border:1px solid var(--warn-line)}
.badge.clean{background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-line)}
.badge.none{background:var(--surface3);color:var(--muted);border:1px solid var(--border)}
.actions{display:flex;flex-direction:column;gap:10px}
.progress{height:8px;background:var(--surface3);border-radius:999px;overflow:hidden;display:none}
.progress.show{display:block}
.progress i{display:block;height:100%;width:0;background:var(--accent);transition:width .2s}
.statusline{font-size:13.5px;color:var(--muted);min-height:20px;line-height:1.5}
.statusline.ok{color:var(--accent)}
.statusline.err{color:var(--red)}

/* batch */
.batch-list{display:none;flex-direction:column;gap:10px;margin-top:16px}
.batch-list.show{display:flex}
.batch-item{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  background:var(--bg2);border:1px solid var(--border-soft);border-radius:16px;padding:12px 16px;
}
.batch-item img{width:46px;height:46px;object-fit:cover;border-radius:8px;flex:none}
.batch-item .bn{font-weight:700;font-size:14px;word-break:break-all}
.batch-item .bm{font-family:var(--font-mono);font-size:12px;color:var(--muted)}
.batch-item .spacer{flex:1}
.mini-btn{
  background:var(--surface3);border:1px solid var(--border);color:var(--text);
  border-radius:10px;font-weight:700;font-size:13px;padding:9px 14px;min-height:44px;text-decoration:none;
  display:inline-flex;align-items:center;
}
.mini-btn.done{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}

/* ---------- sections ---------- */
section.block{padding:64px 0 0}
section.block,.tool{scroll-margin-top:84px}

/* ---------- blog category listing ---------- */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin:0 0 14px}
.post-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:24px;margin:0}
.post-card h2{font-family:var(--font-head);font-size:21px;line-height:1.3;margin:0 0 6px}
.post-card h2 a{text-decoration:none}
.post-card h2 a:hover{text-decoration:underline}
.post-meta{color:var(--muted);font-size:13.5px;margin:0 0 12px}
.post-card p{color:var(--muted);margin:0 0 12px}
.post-card p:last-child{margin-bottom:0}
.post-list{list-style:none;margin:0 0 14px;padding:0}
.post-list li{padding:12px 0;border-bottom:1px solid var(--border-soft);line-height:1.55}
.post-list li:last-child{border-bottom:0}
.post-list li span{color:var(--muted);font-size:13px}
.sec-head{margin-bottom:28px}
.sec-head h2{font-family:var(--font-head);font-size:clamp(24px,3.2vw,31px);letter-spacing:-.02em;line-height:1.15;margin:0 0 8px;text-wrap:balance}
.sec-head p{color:var(--muted);margin:0}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:820px){.steps{grid-template-columns:1fr}}
.step{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:24px}
.step .num{
  font-family:var(--font-mono);font-size:13px;font-weight:600;color:var(--accent);
  border:1px solid var(--accent-line);background:var(--accent-soft);width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;margin-bottom:16px;
}
.step h3{font-family:var(--font-head);font-size:17px;margin:0 0 7px}
.step p{color:var(--muted);font-size:14.5px;margin:0}

.strip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:820px){.strip-grid{grid-template-columns:1fr}}
.strip-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:24px}
.strip-card h3{font-family:var(--font-head);font-size:16.5px;margin:0 0 6px;display:flex;align-items:center;gap:9px}
.strip-card p{color:var(--muted);font-size:14.5px;margin:0 0 12px}
.strip-card ul{margin:0;padding:0;list-style:none}
.strip-card li{font-size:14px;color:var(--muted);padding:5px 0 5px 24px;position:relative;line-height:1.5}
.strip-card li::before{content:"";position:absolute;left:2px;top:12px;width:9px;height:5px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.strip-card li b{color:var(--text)}

.table-scroll{border:1px solid var(--border-soft);border-radius:16px;background:var(--surface);overflow:hidden}
table{border-collapse:collapse;width:100%;font-size:14.5px}
th,td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--border-soft);vertical-align:top}
thead th{font-family:var(--font-head);font-size:14px;background:var(--bg2)}
thead th.us{color:var(--accent)}
tbody th{font-weight:700;color:var(--muted);width:190px}
td .y{color:var(--accent);font-weight:700}
td .n{color:var(--muted)}
tr:last-child td,tr:last-child th{border-bottom:none}
@media(max-width:680px){
  thead{display:none}
  table,tbody,tr,th,td{display:block;width:100%}
  tbody tr{padding:16px 18px 18px;border-bottom:1px solid var(--border-soft)}
  tbody tr:last-child{border-bottom:none}
  tbody th{width:auto;padding:0 0 10px;border-bottom:none;font-family:var(--font-head);color:var(--text);font-size:15px}
  tbody td{padding:6px 0;border-bottom:none;line-height:1.5}
  tbody td::before{font-family:var(--font-mono);font-size:11px;color:var(--muted);display:block;margin-bottom:2px}
  .cmp-table tbody td:nth-of-type(1)::before{content:"THIS FREE REMOVER"}
  .cmp-table tbody td:nth-of-type(2)::before{content:"TYPICAL PAID REMOVERS"}
  .cmp-table tbody td:nth-of-type(3)::before{content:"BASIC FREE TOOLS"}
}

.honest{
  border:1px solid var(--honest-border);background:var(--honest-bg);border-radius:16px;padding:24px;
  display:flex;gap:16px;align-items:flex-start;
}
.honest svg{flex:none;margin-top:2px}
.honest h3{font-family:var(--font-head);margin:0 0 6px;font-size:17px;color:var(--honest-head)}
.honest p{margin:0;color:var(--honest-text);font-size:14.5px}
.honest p + p{margin-top:8px}

details.faq{
  background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;margin-bottom:10px;
}
details.faq summary{
  cursor:pointer;font-weight:700;font-size:15.5px;padding:16px 20px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:52px;
  border-radius:16px;
}
details.faq summary:hover{background:var(--surface2)}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{
  content:"+";font-family:var(--font-mono);color:var(--accent);font-size:20px;flex:none;
  width:28px;height:28px;border:1px solid var(--accent-line);border-radius:50%;
  display:grid;place-items:center;line-height:1;background:var(--accent-soft);
}
details.faq[open ] summary::after{content:"-"}
details.faq .a{padding:0 20px 18px;color:var(--muted);font-size:14.5px}
details.faq .a p{margin:0}

footer{border-top:1px solid var(--border-soft);margin-top:64px;padding:32px 0 40px}
.foot-in{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center}
footer p{color:var(--muted);font-size:13.5px;margin:0;max-width:70ch}
/* ---------- theme toggle & icon colours ---------- */
.dz-icon,.strip-card h3 svg{color:var(--accent)}
.honest svg{color:var(--amber)}
.theme-toggle{
  display:inline-flex;align-items:center;gap:8px;flex:none;
  background:var(--surface2);border:1px solid var(--border);color:var(--text);
  border-radius:999px;padding:8px 14px;font-weight:700;font-size:13.5px;min-height:44px;
}
.theme-toggle:hover{background:var(--surface3)}
.theme-toggle .ic-sun{display:none}
:root[data-theme="dark"] .theme-toggle .ic-sun{display:block}
:root[data-theme="dark"] .theme-toggle .ic-moon{display:none}
@media (prefers-color-scheme: dark){
  :root:not([data-theme]) .theme-toggle .ic-sun{display:block}
  :root:not([data-theme]) .theme-toggle .ic-moon{display:none}
}

/* ---------- long-form content ---------- */
.prose p{color:var(--muted);margin:0 0 14px}
.prose p b,.prose li b{color:var(--text)}
.prose ul{margin:0 0 14px;padding-left:20px;color:var(--muted)}
.prose li{margin-bottom:6px}
.two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start}
@media(max-width:860px){.two-col{grid-template-columns:1fr}}
.mini-note{font-size:13px;color:var(--muted);margin-top:10px}
.model-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}

/* ---------- diagrams (wired by a second agent) ---------- */
.diagram{margin:28px 0 8px;background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:24px;overflow-x:auto}
.diagram svg{display:block;max-width:100%;height:auto;margin:0 auto}
.diagram figcaption{margin-top:14px;font-size:13.5px;color:var(--muted);text-align:center}

/* ---------- multi-page views, nav dropdown, footer ---------- */
.view{display:block}
.page-hero{padding:48px 0 6px}
.page-title{
  font-family:var(--font-head);font-weight:800;letter-spacing:-.02em;
  font-size:clamp(32px,5vw,50px);line-height:1.05;margin:0 0 12px;text-wrap:balance;
}
.lede-p{color:var(--muted);font-size:clamp(15.5px,2vw,17.5px);margin:0}
.backlink{margin:0 0 14px;font-size:14px;font-weight:700}
.backlink a{text-decoration:none}
.sec-title{font-family:var(--font-head);font-size:clamp(24px,3.2vw,31px);letter-spacing:-.02em;line-height:1.15;margin:0 0 8px;text-wrap:balance}
.steps.four{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.steps.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.steps.four{grid-template-columns:1fr}}
.strip-grid.four{grid-template-columns:repeat(2,1fr)}
@media(max-width:820px){.strip-grid.four{grid-template-columns:1fr}}
.tool-note{
  background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:16px;
  padding:14px 16px;font-size:14px;margin-bottom:16px;color:var(--text);line-height:1.5;
}
.tool-slot{min-height:40px}
.nav-dd{position:relative}
.nav-dd-btn{
  color:var(--muted);font-weight:600;font-size:14px;padding:10px 12px;border-radius:8px;
  min-height:44px;display:inline-flex;align-items:center;gap:6px;background:none;border:none;
}
.nav-dd-btn:hover{color:var(--text);background:var(--surface2)}
.dd-panel{
  position:absolute;top:calc(100% + 8px);right:0;min-width:288px;max-width:calc(100vw - 32px);
  background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:8px;
  display:none;z-index:60;box-shadow:var(--shadow);
}
.nav-dd.open .dd-panel{display:block}
nav.mainnav .dd-panel a{
  display:block;padding:10px 12px;border-radius:10px;min-height:44px;
}
nav.mainnav .dd-panel a:hover{background:var(--surface2)}
.dd-panel a b{display:block;color:var(--text);font-size:14.5px;font-weight:700}
.dd-panel a span{font-size:12.5px;color:var(--muted)}
@media(max-width:640px){
  nav.mainnav .dd-panel a{display:block}
}
pre.textfile{
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:20px 22px;font-family:var(--font-mono);font-size:13.5px;line-height:1.65;
  white-space:pre-wrap;word-break:break-word;margin:0;color:var(--text);
}
.link-list{list-style:none;margin:0;padding:0}
.link-list li{border-bottom:1px solid var(--border-soft);padding:13px 2px}
.link-list li:last-child{border-bottom:none}
.link-list a{font-weight:700;text-decoration:none;font-size:16px}
.link-list span{display:block;color:var(--muted);font-size:14px;margin-top:2px}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;align-items:start}
@media(max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}
.foot-h{font-family:var(--font-head);font-size:13.5px;margin:4px 0 8px;color:var(--text)}
.foot-col a{display:block;color:var(--muted);text-decoration:none;font-size:14px;padding:6px 0;min-height:36px}
.foot-col a:hover{color:var(--accent)}
.foot-brand p{color:var(--muted);font-size:13.5px;margin:12px 0 14px;max-width:52ch}
.price-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;max-width:520px}
.price-card .amt{font-family:var(--font-head);font-size:40px;font-weight:800;letter-spacing:-.02em}
.price-card ul{margin:14px 0 0;padding:0;list-style:none}
.price-card li{font-size:14.5px;color:var(--muted);padding:5px 0 5px 24px;position:relative;line-height:1.5}
.price-card li::before{content:"";position:absolute;left:2px;top:12px;width:9px;height:5px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.price-card li b{color:var(--text)}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- responsive rhythm ---------- */
@media(max-width:820px){
  .hero{padding:44px 0 24px}
  section.block{padding:44px 0 0}
  footer{margin-top:44px}
}
@media(max-width:480px){
  .wrap{padding:0 16px}
  .tool-body{padding:20px 16px 24px}
  .tool-head{padding:14px 16px}
  .dropzone{padding:32px 16px}
  .preview-grid{gap:16px}
  .step,.strip-card,.honest{padding:20px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}
