*{box-sizing:border-box}html{color-scheme:light}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f7f9fc}a{color:inherit}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1120px)/2));background:#fff;border-bottom:1px solid #e6eaf0;position:sticky;top:0;z-index:10}.brand{text-decoration:none;font-weight:800;font-size:20px}.topbar nav,.topbar nav a,footer nav,footer nav a{display:flex;gap:18px;text-decoration:none}.topbar nav a,footer nav a{color:#536079}main{max-width:1120px;margin:auto;padding:0 24px 72px}.hero{padding:86px 0 46px;max-width:800px}.hero.compact{padding-bottom:28px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#2764e7}.hero h1{font-size:clamp(40px,6vw,68px);line-height:1.02;margin:8px 0 18px;letter-spacing:-.045em}.compact h1{font-size:clamp(38px,5vw,56px)}.lead{font-size:20px;line-height:1.6;color:#596579;max-width:760px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool-card{background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:24px;text-decoration:none;min-height:145px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 30px rgba(26,39,68,.04)}.tool-card strong{font-size:18px}.tool-card span{font-size:14px;line-height:1.5;color:#667187}.tool-card:hover{border-color:#9ab7f7;transform:translateY(-1px)}.content,.trust-grid{margin-top:42px}.content{max-width:760px}.content p,.trust-grid p{line-height:1.75;color:#667187}.processor{background:#fff;border:1px solid #dfe5ef;border-radius:22px;padding:28px;box-shadow:0 18px 50px rgba(21,37,73,.07)}.processor h2{margin-top:0}.dropzone{min-height:180px;border:2px dashed #afbdd4;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background:#fbfcff}.dropzone.drag{border-color:#2764e7;background:#f0f5ff}.dropzone input{position:absolute;opacity:0;pointer-events:none}.drop-title{font-weight:800;font-size:18px}.drop-subtitle{color:#78849a;margin-top:6px}.file-list{display:grid;gap:8px;margin:18px 0}.file-row{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:12px;background:#f4f6fa;font-size:14px}.file-row span:last-child{color:#78849a;white-space:nowrap}.options{display:grid;gap:12px;margin:16px 0}.options label{font-weight:700}.options input,.options select{width:100%;margin-top:6px;padding:12px;border:1px solid #cfd7e4;border-radius:10px;background:#fff;font:inherit}.primary{border:0;background:#2764e7;color:#fff;border-radius:12px;padding:14px 20px;font-weight:800;font-size:16px;cursor:pointer}.primary:disabled{opacity:.45;cursor:not-allowed}.status{min-height:26px;padding-top:14px;color:#4c5b73}.status.error{color:#aa2c2c}.status.success{color:#16704a}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.trust-grid article{background:#fff;border:1px solid #e2e7ef;border-radius:16px;padding:20px}.trust-grid h2{font-size:17px;margin-top:0}footer{border-top:1px solid #e2e7ef;background:#fff;padding:28px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;gap:24px;color:#667187;font-size:14px}@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}.trust-grid{grid-template-columns:1fr}.topbar nav{display:none}footer{flex-direction:column}}@media(max-width:520px){main{padding-left:16px;padding-right:16px}.hero{padding-top:54px}.hero h1{font-size:42px}.lead{font-size:18px}.grid{grid-template-columns:1fr}.processor{padding:18px}.dropzone{min-height:150px}}

.guide-links{display:flex;flex-wrap:wrap;gap:10px 18px}.guide-links a{color:#2764e7;text-decoration:none}.hint,small{color:#667187;line-height:1.5}

.file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}
.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-meta{color:#68758a;font-size:13px}
.file-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.mini{border:1px solid #ccd5e3;background:#fff;border-radius:8px;padding:7px 10px;font-weight:700;cursor:pointer}
.mini.danger{color:#9b2c2c}
@media(max-width:520px){.file-row{grid-template-columns:minmax(0,1fr)}.file-meta{grid-column:1}.file-actions{grid-column:1}}

.ad-zone{max-width:1120px;margin:28px auto;padding:14px 24px;min-height:90px;text-align:center}
.ad-label{display:block;margin-bottom:8px;color:#8a94a6;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.primary-link{display:inline-block;margin-top:12px;color:#2764e7;font-weight:800;text-decoration:none}

.qa-results{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.qa-results li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;padding:12px 14px;border:1px solid #e2e7ef;border-radius:12px;background:#f8fafc}
.qa-results small{grid-column:1/-1}
.qa-pass{color:#16704a}
.qa-fail{color:#aa2c2c}
.qa-summary{margin-bottom:18px}

.consent-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000;max-width:760px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;background:#fff;border:1px solid #d9e0eb;border-radius:16px;box-shadow:0 16px 50px rgba(19,33,63,.16)}
.consent-copy{max-width:540px}
.consent-copy strong{display:block;margin-bottom:4px}
.consent-copy p{margin:0;color:#667187;font-size:14px;line-height:1.5}
.consent-actions{display:flex;gap:8px;flex-shrink:0}
.consent-accept{padding:9px 12px;font-size:14px}
@media(max-width:680px){.consent-banner{align-items:stretch;flex-direction:column}.consent-actions{justify-content:flex-end}}


.qa-receipt{margin-top:18px;padding:16px;border:1px solid #d9e0eb;border-radius:14px;background:#f8fafc}
.qa-receipt h3{margin:0 0 6px;font-size:17px}
.qa-receipt p{margin:0 0 10px;color:#667187;line-height:1.55}
.qa-receipt code{display:block;overflow-wrap:anywhere;padding:10px;border-radius:9px;background:#eef2f7;font-size:12px}
.qa-receipt-actions{margin-top:12px}


.faq-list{display:grid;gap:10px}
.faq-list details{border:1px solid #e2e7ef;border-radius:12px;background:#fff;padding:12px 14px}
.faq-list summary{cursor:pointer;font-weight:800}
.faq-list details p{margin:10px 0 0}
button,.mini,.primary,.dropzone,.topbar a,footer a{touch-action:manipulation}
.mini{min-height:40px}
@media(max-width:520px){.mini{min-height:44px}.guide-links{display:grid;gap:10px}}


/* Jolly PDF brand layer */
:root{
  --jolly-ink:#10213d;
  --jolly-red:#d93434;
  --jolly-paper:#fffdf9;
  --jolly-bg:#f7f2ea;
  --jolly-border:#ded5c9;
  --jolly-muted:#687183;
}
body{color:var(--jolly-ink);background:var(--jolly-bg);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar{height:72px;background:rgba(247,242,234,.96);border-bottom-color:var(--jolly-border);backdrop-filter:blur(12px)}
.brand{display:inline-flex;align-items:center;gap:9px;color:var(--jolly-ink);font-family:Georgia,"Times New Roman",serif;font-size:23px;letter-spacing:-.02em}
.brand strong{font-weight:700}.brand b{color:var(--jolly-red);font-weight:700}
.eyebrow{color:var(--jolly-red)}
.hero h1,.compact h1{font-family:Georgia,"Times New Roman",serif;color:var(--jolly-ink)}
.lead,.home-note{color:var(--jolly-muted)}
.home-note{max-width:720px;font-size:16px;line-height:1.65;margin-top:-3px}
.tool-card,.processor,.trust-grid article,.faq-list details{background:var(--jolly-paper);border-color:var(--jolly-border)}
.tool-card:hover{border-color:#d9a39f}
.primary{background:var(--jolly-red)}
.guide-links a,.primary-link{color:var(--jolly-red)}
.dropzone{border-color:#cdbfb0;background:#fffdfa}
.dropzone.drag{border-color:var(--jolly-red);background:#fff5f2}
footer{background:var(--jolly-paper);border-color:var(--jolly-border)}

.jolly-mark{position:relative;display:inline-block;width:34px;height:40px;flex:0 0 auto}
.jolly-paper{position:absolute;left:4px;top:1px;width:27px;height:34px;border:1.5px solid var(--jolly-ink);border-radius:7px;background:var(--jolly-paper);transform-origin:50% 78%}
.jolly-fold{position:absolute;right:-1.5px;top:-1.5px;width:9px;height:9px;border-left:1.5px solid var(--jolly-ink);border-bottom:1.5px solid var(--jolly-ink);border-radius:0 5px 0 2px;background:#f9ddd7}
.jolly-eye{position:absolute;top:15px;width:3px;height:4px;border-radius:50%;background:var(--jolly-ink);transform-origin:center;animation:jollyBlink 4.8s infinite}
.jolly-eye.left{left:7px}.jolly-eye.right{right:7px}
.jolly-mouth{position:absolute;left:10px;top:22px;width:8px;height:5px;border:1.5px solid var(--jolly-ink);border-top:0;border-left-color:transparent;border-right-color:transparent;border-radius:0 0 50% 50%}
.jolly-check{position:absolute;right:-1px;top:1px;width:12px;height:12px;border:2px solid var(--jolly-paper);border-radius:50%;background:#2e8a55;box-shadow:0 4px 10px rgba(16,33,61,.14);opacity:0;transform:scale(.4)}
.jolly-check:after{content:"";position:absolute;left:3px;top:2px;width:5px;height:3px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:rotate(-45deg)}
.tool-jolly{width:78px;height:100px}
.tool-jolly .jolly-paper{left:8px;top:3px;width:61px;height:77px;border-width:2px;border-radius:11px}
.tool-jolly .jolly-fold{width:18px;height:20px;border-left-width:2px;border-bottom-width:2px}
.tool-jolly .jolly-eye{top:34px;width:7px;height:8px}.tool-jolly .jolly-eye.left{left:17px}.tool-jolly .jolly-eye.right{right:17px}
.tool-jolly .jolly-mouth{left:23px;top:50px;width:18px;height:11px;border-width:2px}
.tool-jolly .jolly-check{width:24px;height:24px}.tool-jolly .jolly-check:after{left:6px;top:5px;width:10px;height:6px;border-width:0 0 2px 2px}
.jolly-status{display:flex;align-items:center;gap:17px;margin:-2px 0 18px;padding:13px 16px;border:1px solid #e1d5c7;border-radius:15px;background:#fbf5ed}
.jolly-copy{display:grid;gap:3px;min-width:0}.jolly-copy>span{color:var(--jolly-red);font-size:11px;font-weight:800;letter-spacing:.13em}.jolly-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.15}.jolly-copy small{font-size:13px;color:var(--jolly-muted)}
.jolly-status[data-mode="working"] .tool-jolly .jolly-paper{animation:jollyWork .72s ease-in-out infinite}
.jolly-status[data-mode="success"] .jolly-check{opacity:1;animation:jollyCheck .42s cubic-bezier(.2,.9,.2,1.25) both}
.jolly-status[data-mode="error"] .tool-jolly .jolly-paper{transform:rotate(-4deg)}
.jolly-status[data-mode="error"] .tool-jolly .jolly-mouth{top:57px;height:0;border-bottom:2px solid var(--jolly-ink);border-left:0;border-right:0;border-radius:0}
.work-rail{position:relative;height:4px;margin:-7px 0 18px;overflow:hidden;border-radius:999px;background:#eee4d8;opacity:.45}
.work-rail span{position:absolute;inset:0 auto 0 0;width:34%;border-radius:999px;background:var(--jolly-red);transform:translateX(-120%);opacity:0}
.work-rail.active{opacity:1}.work-rail.active span{opacity:1;animation:jollyRail 1s ease-in-out infinite}

@keyframes jollyBlink{0%,43%,46%,100%{transform:scaleY(1)}44%,45%{transform:scaleY(.08)}}
@keyframes jollyWork{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes jollyCheck{0%{opacity:0;transform:scale(.4) rotate(-12deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes jollyRail{0%{transform:translateX(-120%)}55%{transform:translateX(205%)}100%{transform:translateX(310%)}}
@media(max-width:520px){
  .jolly-status{padding:10px 11px;gap:10px}.jolly-copy strong{font-size:18px}.jolly-copy small{font-size:12px}
  .tool-jolly{transform:scale(.88);transform-origin:center}
}
@media(prefers-reduced-motion:reduce){
  .jolly-eye,.jolly-status[data-mode="working"] .tool-jolly .jolly-paper,.jolly-status[data-mode="success"] .jolly-check,.work-rail.active span{animation:none}
  .work-rail.active span{opacity:1;transform:none;width:100%}
}
