/* Toollapse / A lighter kind of toolkit.
   Shared visual layer. Processing widgets keep their original DOM and behavior. */
:root {
  --bg: #f8f5ed;
  --bg-sunken: #eeeadd;
  --surface: #fffdf7;
  --surface-2: #f3efe5;
  --ink: #30382c;
  --ink-soft: #626457;
  --muted: #6e7063;
  --line: #deded0;
  --primary: #ad513a;
  --primary-ink: #903e2a;
  --primary-tint: #f5e3d8;
  --accent: #cf6247;
  --accent-ink: #943f2c;
  --btn-bg: #354231;
  --btn-fg: #fffdf5;
  --sage: #7b8a6b;
  --sage-light: #e2e7d6;
  --ochre: #d8ab56;
  --success: #58764a;
  --success-bg: #e8eedf;
  --success-ink: #36502b;
  --warn: #916b2a;
  --danger: #b34531;
  --danger-bg: #fbe7df;
  --danger-ink: #8f3323;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', ui-monospace, monospace;
  --font-hand: 'Caveat', 'Segoe Print', cursive;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --shadow-sm: 3px 4px 0 #6b735510;
  --shadow: 5px 8px 0 #78836112, 2px 10px 24px #8c69480a;
  --shadow-lg: 9px 16px 30px #7a684b1a;
  --ring: 0 0 0 3px #ad513a24;
  --maxw: 1200px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #252920; --bg-sunken: #2e3328; --surface: #2e3329; --surface-2: #33392d;
  --ink: #f4efdf; --ink-soft: #c5c6b5; --muted: #acaf9c; --line: #484e3f;
  --primary: #efa78b; --primary-ink: #fac3a9; --primary-tint: #49382d;
  --accent: #e98c6e; --accent-ink: #ffd0b3; --btn-bg: #e6ebd5; --btn-fg: #293224;
  --sage: #b3c09b; --sage-light: #414d36; --ochre: #cba25e;
  --success: #93b77d; --success-bg: #33402c; --success-ink: #c0daa8;
  --warn: #d8b875;
  --danger: #ffab90; --danger-bg: #4a3128; --danger-ink: #ffd0bd;
  --shadow-sm: 3px 4px 0 #171d1a20; --shadow: 5px 8px 0 #171d1a30;
  --shadow-lg: 9px 16px 30px #17211435; --ring: 0 0 0 3px #efa78b35;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #252920; --bg-sunken: #2e3328; --surface: #2e3329; --surface-2: #33392d;
    --ink: #f4efdf; --ink-soft: #c5c6b5; --muted: #acaf9c; --line: #484e3f;
    --primary: #efa78b; --primary-ink: #fac3a9; --primary-tint: #49382d;
    --accent: #e98c6e; --accent-ink: #ffd0b3; --btn-bg: #e6ebd5; --btn-fg: #293224;
    --sage: #b3c09b; --sage-light: #414d36; --ochre: #cba25e;
    --success: #93b77d; --success-bg: #33402c; --success-ink: #c0daa8;
    --warn: #d8b875;
    --danger: #ffab90; --danger-bg: #4a3128; --danger-ink: #ffd0bd;
    --shadow-sm: 3px 4px 0 #171d1a20; --shadow: 5px 8px 0 #171d1a30;
    --shadow-lg: 9px 16px 30px #17211435; --ring: 0 0 0 3px #efa78b35;
    color-scheme: dark;
  }
}
html { scroll-behavior: auto; }
body { position: relative; transition: none; background: var(--bg); }
/* Static noise: no per-frame paint, no overlay on inputs or exported canvases. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23574931' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
body { isolation: isolate; }
::selection { background: #e6c495; color: #30382c; }
h1,h2,h3,h4 { font-weight: 450; letter-spacing: -.045em; font-variation-settings: 'SOFT' 20, 'WONK' 1; }
h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.09; }
h2 em { font-weight: 400; color: var(--primary); }
a { text-underline-offset: 5px; }
.container { padding-inline: 32px; }
.section-kicker { display: block; font-size: .73rem; font-weight: 550; letter-spacing: .025em; color: var(--ink-soft); margin-bottom: 19px; }
.hand-note { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 500; color: var(--ink-soft); }
.text-link { display: inline-block; position: relative; font-weight: 550; }
.text-link::after, .nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 5px;
  background: currentColor; clip-path: polygon(0 50%, 35% 20%, 74% 34%, 100% 9%, 100% 48%, 74% 74%, 35% 67%, 0 85%);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,.75,.2,1);
}
.text-link:hover, .text-link:focus-visible { text-decoration: none; }
.text-link:hover::after, .text-link:focus-visible::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

/* 01 — the desk / hero */
.hero { padding: 55px 0 0; text-align: left; overflow: clip; }
.hero-layout { display: grid; grid-template-columns: 1.02fr 1fr; gap: 10px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 10px 0 45px; }
.eyebrow { border: 0; background: none; padding: 0; font-family: var(--font); font-size: .72rem; letter-spacing: .005em; margin-bottom: 27px; }
.eyebrow .dot { width: 7px; height: 7px; background: var(--sage); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 12%, transparent); margin-right: 5px; }
.hero h1 { font-size: clamp(4.4rem, 6.7vw, 6.05rem); line-height: 1.035; letter-spacing: -.05em; max-width: none; margin: 0 0 27px; font-weight: 450; }
.hero h1 em { font-weight: 430; color: var(--primary); }
.ink-underline { position: relative; display: inline-block; }
.ink-underline > svg { position: absolute; width: 104%; height: 16px; bottom: -9px; left: 0; fill: none; stroke: var(--ochre); stroke-width: 3; stroke-linecap: round; }
.hero .lead { font-size: .92rem; line-height: 1.85; max-width: 455px; margin: 0 0 27px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.hero-actions .hand-note { position: relative; font-size: 1.23rem; transform: rotate(-6deg); padding-bottom: 13px; }
.hero-actions .hand-note svg { position: absolute; width: 57px; height: 31px; bottom: -14px; left: -16px; fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-linecap: round; }
.hero-footnote { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--muted); margin-top: 28px; }
.tiny-flower { color: var(--sage); font-size: 1.25rem; }
.hero-art { position: relative; align-self: center; margin: -5px -20px 0 -20px; }
.desk-illustration { display: block; width: 100%; height: auto; overflow: visible; }
.privacy-stamp { display: flex; align-items: center; gap: 10px; position: absolute; left: 3%; top: 6%; border: 1px solid var(--line); background: var(--surface); box-shadow: 3px 5px 0 #79866513; padding: 13px 18px; border-radius: 5px; font-size: .72rem; line-height: 1.55; transform: rotate(-7deg); }
.privacy-stamp > span:first-child { color: var(--sage); display: flex; }
.privacy-stamp svg { width: 28px; height: 28px; }
.privacy-stamp strong { font-weight: 550; }
.hero-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 6px; margin: 8px 0 0; justify-content: space-between; gap: 20px; }
.hero-trust div { font-size: .75rem; font-weight: 400; gap: 10px; }
.trust .t-ic { color: var(--sage); }
.hero-trust .t-ic svg { width: 17px; height: 17px; }
.trust-divider { color: #b6bba3; font-size: 15px; }

/* 02 — a collection of little paper cards */
.tools-section { padding-top: 73px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(2.2rem, 3.5vw, 3.05rem); }
.section-heading p { margin: 0 0 3px; font-size: .84rem; line-height: 1.85; max-width: 330px; }
.category-nav { display: flex; gap: 6px; align-items: center; padding: 17px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.category-nav button { padding: 8px 12px; min-height: 38px; border: 0; background: transparent; font: inherit; font-size: .75rem; color: var(--ink-soft); border-radius: 5px; cursor: pointer; }
.category-nav button:hover { background: var(--bg-sunken); }
.category-nav button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.category-nav .category-all { padding-inline: 14px; }
.category-all span { font-size: .62rem; margin-left: 8px; opacity: .7; }
.category-nav button[aria-pressed='true']:hover { background: var(--btn-bg); color: var(--btn-fg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tool-category { scroll-margin-top: 110px; }
.tool-category[hidden] { display: none; }
.cat-title { margin: 35px 0 19px; gap: 12px; }
.cat-title::after { display: none; }
.cat-title .cat-index { font-family: var(--font); font-size: .65rem; letter-spacing: 0; color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 2px; }
.cat-title h3 { font-family: var(--font); font-size: .82rem; font-weight: 550; letter-spacing: -.02em; }
.cat-title .cat-count { margin-left: auto; font-size: .67rem; text-transform: none; letter-spacing: 0; }
.tool-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin: 0; perspective: 1000px; }
.tool-card { border-radius: 6px; padding: 25px 22px 22px; min-height: 210px; background: var(--surface); overflow: visible; transform-style: preserve-3d; transition: border-color .25s ease, box-shadow .25s ease; color: var(--ink); }
.tool-card::after { display: none; }
.tool-card:nth-child(4n + 1) { background: color-mix(in srgb, var(--primary-tint) 33%, var(--surface)); }
.tool-card:nth-child(4n + 3) { background: color-mix(in srgb, var(--sage-light) 27%, var(--surface)); }
.tool-card:hover { transform: none; border-color: color-mix(in srgb, var(--sage) 65%, var(--line)); box-shadow: 5px 7px 0 color-mix(in srgb, var(--sage) 12%, transparent); }
.tool-card .ic { width: 43px; height: 44px; border: 0; border-radius: 45% 55% 57% 43% / 55% 39% 61% 45%; background: var(--primary-tint); color: var(--primary); margin-bottom: 25px; transform: rotate(-7deg); }
.tool-card .ic svg { transform: rotate(7deg); width: 23px; height: 23px; }
.tool-card:nth-child(3n + 2) .ic { background: var(--sage-light); color: var(--ink-soft); border-radius: 53% 47% 36% 64% / 39% 63% 37% 61%; }
.tool-card:nth-child(3n) .ic { background: color-mix(in srgb, var(--ochre) 24%, var(--surface)); color: var(--ink-soft); }
.tool-card h3 { font-size: 1.36rem; font-weight: 450; letter-spacing: -.035em; margin-bottom: 9px; }
.tool-card p { font-size: .75rem; line-height: 1.7; color: var(--ink-soft); max-width: 210px; }
.card-arrow { position: absolute; top: 24px; right: 20px; color: var(--muted); font-size: 1.05rem; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tool-card:hover .card-arrow { transform: translate(3px,-3px); color: var(--primary); }
.tool-category:last-child .tool-grid { grid-template-columns: minmax(0, 1fr) 3fr; }
.tool-category:last-child .tool-card { min-height: 190px; }

/* An editorial interlude. Only this heading is pinned, on roomy screens. */
.why-section { margin: 88px 0 0; padding: 78px 0; background: color-mix(in srgb, var(--sage-light) 52%, var(--bg)); border-block: 1px solid var(--line); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.why-heading h2 { font-size: clamp(3rem, 4.8vw, 4.4rem); margin-bottom: 28px; }
.why-heading h2 em { color: var(--ink); }
.why-heading p { font-size: .85rem; line-height: 1.8; margin-bottom: 30px; }
.why-heading .hand-note { display: inline-block; transform: rotate(-5deg); color: var(--primary); }
.feature { display: flex; align-items: flex-start; gap: 21px; padding: 27px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--sage) 25%, transparent); border-radius: 0; background: transparent; }
.feature:first-child { padding-top: 0; }
.feature:last-child { border-bottom: 0; }
.feature .ic { border-radius: 53% 47% 39% 61% / 41% 58% 42% 59%; width: 47px; height: 49px; background: var(--surface); color: var(--ink-soft); flex-shrink: 0; margin-top: 7px; }
.feature-number { display: block; font-size: .6rem; color: var(--muted); margin-bottom: 7px; }
.feature h3 { font-size: 1.65rem; margin-bottom: 10px; }
.feature p { font-size: .82rem; line-height: 1.85; max-width: 335px; }
.home-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 90px; padding-top: 90px; padding-bottom: 25px; }
.faq-heading h2 { margin-bottom: 25px; }
.faq-heading p { font-size: .85rem; line-height: 2; }
.faq-doodle { width: 110px; height: 90px; stroke: var(--sage); stroke-width: 1.5; fill: none; margin: 15px 0 0 100px; }
.faq details { border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; padding-inline: 0; margin: 0; }
.faq details[open] { box-shadow: none; }
.faq summary { font-family: var(--font); font-size: .85rem; font-weight: 500; padding: 24px 36px 24px 0; }
.faq details p { font-size: .83rem; line-height: 1.85; padding-bottom: 24px; padding-right: 30px; }

/* 03 — shared navigation, controls, and footnotes */
#header { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--line); transition: none; }
.site-header.scrolled { box-shadow: 0 4px 0 #77816007; }
.nav { height: 84px; gap: 24px; }
.brand { font-size: 1.65rem; gap: 9px; font-weight: 600; letter-spacing: -.055em; }
.brand .logo, .brand .logo svg { width: 34px; height: 34px; }
.brand .logo { color: var(--primary); }
.nav-links { gap: 28px; }
.nav-links a { font-size: .77rem; font-weight: 500; }
.nav-links a[aria-current='page'] { color: var(--primary); }
.nav-note { font-size: .64rem; display: flex; gap: 7px; align-items: center; border-left: 1px solid var(--line); padding-left: 22px; color: var(--muted); }
.nav-note::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.theme-btn { border: 1px solid var(--line); width: 33px; height: 33px; border-radius: 50%; flex-shrink: 0; }
.theme-btn svg { width: 15px; height: 15px; }
.btn { position: relative; overflow: hidden; font-family: var(--font); font-size: .84rem; font-weight: 550; letter-spacing: 0; padding: 13px 23px; border-radius: 6px; min-height: 44px; transition: box-shadow .2s ease, opacity .2s ease; }
.btn:hover { transform: none; opacity: 1; box-shadow: 3px 4px 0 #8d553b20; }
.btn-lg { padding: 16px 23px; font-size: .85rem; gap: 28px; }
.btn-lg > span { font-size: 1.12rem; }
.btn-accent, .btn-accent:hover { background: #ae523b; color: #fffaf1; }
.btn:disabled { opacity: .45; }
.btn-ripple { position: absolute; width: 40px; height: 40px; margin: -20px; border-radius: 50%; background: currentColor; opacity: .18; pointer-events: none; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 1000; transform: translateY(-150%); padding: 10px 18px; color: var(--btn-fg); background: var(--btn-bg); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.site-footer, :root[data-theme='dark'] .site-footer, :root:not([data-theme='light']) .site-footer { background: #303c2f; color: #e3e5d5; margin-top: 75px; padding: 0 0 26px; }
.footer-invitation { display: flex; gap: 30px; justify-content: space-between; align-items: center; padding: 55px 0 45px; border-bottom: 1px solid #dce0ce30; margin-bottom: 45px; }
.footer-invitation h2 { color: #f8f3e5; font-size: clamp(2.5rem, 4vw, 3.7rem); }
.footer-invitation h2 em { color: #d5b38a; }
.footer-invitation .hand-note { color: #d5b38a; display: block; margin-bottom: 12px; text-align: center; transform: rotate(-4deg); }
.footer-invitation .btn { background: #f1e8d4; color: #303c2f; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.5fr .8fr; gap: 28px; }
.footer-grid .brand { color: #f7f2e5; }
.footer-grid .brand .logo { color: #d89b79; }
.footer-grid p { color: #bac4af; margin-top: 15px; font-size: .78rem; line-height: 1.9; max-width: 220px; }
.footer-grid h4 { font-family: var(--font-display); color: #f7f2e5; font-size: 1.2rem; letter-spacing: -.02em; text-transform: none; }
.footer-grid li { font-size: .72rem; margin-bottom: 8px; }
.site-footer a { color: #cbd2be; }
.footer-bottom { font-size: .66rem; color: #aebca4; line-height: 1.8; }

/* The workspaces retain their sizing contracts, selectors, and interactive states. */
.crumbs { font-family: var(--font); font-size: .72rem; padding-top: 28px; gap: 10px; }
.tool-hero { padding: 42px 0 15px; text-align: left; }
.tool-hero > .container { position: relative; max-width: 904px; padding-right: 120px; }
.tool-hero .ic-lg { position: absolute; top: 5px; right: 32px; width: 64px; height: 68px; border-radius: 43% 57% 62% 38% / 55% 40% 60% 45%; transform: rotate(6deg); }
.tool-hero .ic-lg svg { transform: rotate(-6deg); }
.tool-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.65rem); margin-bottom: 20px; }
.tool-hero .lead { margin: 0 !important; font-size: .96rem; line-height: 1.8; max-width: 620px; }
.workspace { margin-top: 26px; }
.dropzone { border: 1.5px dashed color-mix(in srgb, var(--sage) 60%, var(--line)); background: var(--surface); border-radius: 9px; padding: 48px 25px; box-shadow: 5px 7px 0 #7782590b; }
.dropzone .dz-ic { border-radius: 56% 44% 41% 59% / 46% 58% 42% 54%; background: var(--sage-light); color: var(--ink-soft); }
.dropzone h3 { font-size: 1.65rem; margin-bottom: 9px; }
.dropzone p { font-size: .84rem; }
.dz-formats { font-size: .68rem; letter-spacing: 0; }
.options { padding: 23px; background: var(--surface-2); }
.options > .opt-title { text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: .82rem; font-weight: 550; }
.field > label, .rb-field > label { font-weight: 500; }
.add-more { font-family: var(--font); font-size: .83rem; }
.status .st-msg { font-family: var(--font); }
.file-item, .out-item { box-shadow: 2px 3px 0 #7d84680a; }
.file-item .fi-name { font-size: .86rem; font-weight: 500; }
.result { box-shadow: 4px 6px 0 #65845510; }
.result-head h3 { font-size: 1.5rem; }
.result-head .readout { font-size: .8rem; }
.prose { line-height: 1.85; }
.prose h1 { margin-bottom: 26px; }
.prose h2 { font-size: 2rem; margin-top: 44px; }
.prose p, .prose li { font-size: .94rem; }
.steps li { border-color: var(--line); background: var(--surface); }
.related-grid a { font-weight: 500; font-size: .82rem; }
.rb-h { font-size: 1.8rem; }
.rb-side { top: 104px; }
.rb-opt { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.rb-progress { gap: 7px; }
.rb-dot { border-radius: 6px; font-size: .76rem; padding: 7px; }
.rb-dot em { font-weight: 500; }
.ai-msg { font-family: var(--font); font-weight: 500; }
.error-page { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; padding-block: 90px; }
.error-page h1 { margin-bottom: 24px; }
.error-page h1 em { color: var(--primary); font-weight: 400; }
.error-page p { font-size: .9rem; line-height: 1.9; margin-bottom: 27px; }
.lost-note { justify-self: center; padding: 40px 50px; background: var(--sage-light); border-radius: 4px; transform: rotate(6deg); box-shadow: 8px 9px 0 #78836119; text-align: center; }
.lost-note > span { font-family: var(--font-display); font-size: 6rem; letter-spacing: -.06em; }
.lost-note p { font-family: var(--font-hand); font-size: 1.5rem; margin: 0; }
.lost-note svg { width: 110px; height: 65px; fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.scanner::before { animation-name: scan-paper; }
@keyframes scan-paper { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

/* All moving pieces are controlled by js/animations.js. No content starts hidden. */
.motion-word { position: relative; display: inline-block; transform-origin: 30% 85%; }
.word-soft { position: absolute; inset: 0; pointer-events: none; user-select: none; filter: blur(2px); opacity: 0; }
.motion-curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--sage-light); transform: translateY(-101%); }
.motion-transfer { position: fixed; z-index: 210; pointer-events: none; display: grid; place-items: center; border-radius: 45% 55% 57% 43%; background: var(--primary-tint); color: var(--primary); }
.motion-transfer svg { width: 55%; height: 55%; }
.cursor-blob { position: fixed; top: 0; left: 0; width: 13px; height: 13px; margin: -6.5px; border-radius: 43% 57% 52% 48%; pointer-events: none; z-index: 9999; background: #bc6548; opacity: 0; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.blob-cursor, .blob-cursor a, .blob-cursor button, .blob-cursor summary { cursor: none; }
  .blob-cursor input, .blob-cursor textarea, .blob-cursor select, .blob-cursor canvas, .blob-cursor [contenteditable] { cursor: auto; }
}
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@media (min-width: 861px) {
  .home-page #pdf-tools .tool-card:nth-child(2) { rotate: -1deg; }
  .home-page #pdf-tools .tool-card:nth-child(4) { rotate: 1deg; }
}
@media (max-width: 1050px) {
  .nav-note { display: none; }
  .hero h1 { font-size: 5.3rem; }
  .hero .lead { font-size: .85rem; }
  .desktop-break { display: none; }
  .tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tool-category:last-child .tool-grid { grid-template-columns: minmax(0,1fr) 2fr; }
  .why-layout { gap: 55px; }
  .home-faq { gap: 50px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { height: 72px; gap: 15px; }
  .nav-links { top: 72px; padding: 10px 32px 20px; background: var(--bg); }
  .nav-links a { font-size: .95rem; padding: 14px 0; }
  .menu-toggle { min-width: 40px; min-height: 44px; }
  .theme-btn { width: 40px; height: 40px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(3.8rem, 8.2vw, 5rem); }
  .eyebrow { font-size: .64rem; margin-bottom: 23px; }
  .hero-actions { gap: 16px; }
  .hero-actions .hand-note { font-size: 1.1rem; }
  .hero .btn-lg { padding: 14px 17px; gap: 16px; }
  .hero-art { margin-inline: -35px; }
  .privacy-stamp { top: 1%; left: 7%; padding: 9px 12px; font-size: .6rem; }
  .privacy-stamp svg { width: 23px; }
  .hero-trust { gap: 14px; padding: 20px 0; }
  .hero-trust div { font-size: .66rem; gap: 7px; }
  .trust-divider { display: none; }
  .section-heading p { max-width: 260px; font-size: .78rem; }
  .tool-card { padding: 22px 19px; }
  .why-layout { gap: 35px; }
}
@media (max-width: 640px) {
  .container { padding-inline: 23px; }
  .brand { font-size: 1.5rem; }
  .brand .logo, .brand .logo svg { width: 30px; height: 30px; }
  .hero { padding-top: 31px; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: .64rem; gap: 7px; margin-bottom: 25px; }
  .hero h1 { font-size: clamp(4.2rem, 14.9vw, 6.1rem); line-height: 1.02; margin-bottom: 29px; }
  .hero .lead { font-size: .88rem; max-width: 380px; line-height: 1.8; }
  .hero-actions { gap: 25px; }
  .hero .btn-lg { padding: 15px 20px; gap: 26px; }
  .hero-footnote { margin-top: 26px; font-size: .65rem; }
  .hero-art { width: 100%; max-width: 420px; margin: 14px auto 8px; }
  .privacy-stamp { left: 0; top: 9%; font-size: .64rem; }
  .hero-trust { justify-content: flex-start; gap: 13px 22px; margin-top: 0; padding-block: 20px; }
  .hero-trust div { font-size: .67rem; }
  .tools-section { padding-top: 48px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading p { max-width: none; margin-top: 20px; font-size: .79rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .section-kicker { font-size: .66rem; margin-bottom: 15px; }
  .category-nav { gap: 4px; padding-block: 12px; }
  .category-nav button { font-size: .68rem; padding: 8px 10px; min-height: 44px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .tool-card { min-height: 218px; padding: 19px 15px; }
  .tool-card .ic { margin-bottom: 23px; width: 39px; height: 40px; }
  .tool-card h3 { font-size: 1.2rem; line-height: 1.2; }
  .tool-card p { font-size: .71rem; }
  .card-arrow { top: 17px; right: 13px; font-size: .9rem; }
  .tool-category:last-child .tool-grid { grid-template-columns: 1fr 1fr; }
  .cat-title { margin-top: 30px; }
  .cat-title h3 { font-size: .8rem; }
  .why-section { margin-top: 55px; padding-block: 50px; }
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-heading h2 { font-size: 3.5rem; }
  .why-heading p { margin-bottom: 20px; }
  .feature { gap: 20px; }
  .feature h3 { font-size: 1.6rem; }
  .feature p { font-size: .81rem; }
  .home-faq { grid-template-columns: 1fr; gap: 22px; padding-top: 52px; }
  .faq-heading h2 { font-size: 3rem; }
  .faq-heading { position: relative; }
  .faq-doodle { position: absolute; bottom: 0; right: 10px; width: 80px; }
  .faq summary { font-size: .84rem; }
  .footer-invitation { align-items: flex-start; flex-direction: column; gap: 27px; padding-top: 40px; }
  .footer-invitation h2 { font-size: 2.8rem; }
  .footer-invitation .hand-note { text-align: left; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid p { max-width: 290px; }
  .footer-grid h4 { font-size: 1.25rem; }
  .footer-grid li { font-size: .75rem; margin-bottom: 10px; }
  .footer-bottom { font-size: .65rem; }
  .tool-hero { padding-top: 30px; }
  .tool-hero > .container { padding-right: 23px; }
  .tool-hero .ic-lg { position: relative; top: auto; right: auto; width: 48px; height: 51px; margin-bottom: 18px; }
  .tool-hero .ic-lg svg { width: 25px; height: 25px; }
  .tool-hero h1 { font-size: 2.8rem; }
  .tool-hero .lead { font-size: .86rem; }
  .crumbs { font-size: .65rem; gap: 7px; }
  .dropzone { padding: 35px 19px; }
  .dropzone h3 { font-size: 1.45rem; }
  .prose h2 { font-size: 1.85rem; }
  .options { padding: 18px; }
  .error-page { grid-template-columns: 1fr; padding-block: 50px; gap: 50px; }
  .error-page h1 { font-size: 2.8rem; }
  .lost-note { width: 230px; padding: 20px; }
  .lost-note > span { font-size: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-curtain, .cursor-blob, .motion-transfer { display: none; }
  .tool-card, .privacy-stamp, .hand-note { rotate: none; }
  .tool-card:hover, .related-grid a:hover { transform: none; }
  .scanner::before { animation: none !important; left: 30%; }
}
@media (forced-colors: active) {
  .cursor-blob, .motion-curtain { display: none; }
  html.blob-cursor, .blob-cursor a, .blob-cursor button, .blob-cursor summary { cursor: auto; }
  .btn, .tool-card { border: 1px solid ButtonText; }
}
@media print {
  body::before, .cursor-blob, .motion-curtain, .motion-transfer, .site-header, .site-footer, .ad-rail { display: none !important; }
  .motion-word { opacity: 1 !important; transform: none !important; }
}
