:root{--bg:#fff;--surface:#f6f7f9;--ink:#16171c;--muted:#626772;--line:#e3e5e9;--brand:#4f5df5;--brand-dark:#3e4be2;--success:#168563;--danger:#c8473d;--radius:22px;--shadow:0 18px 55px rgba(22,23,28,.09)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.65 "DM Sans",sans-serif}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:fixed;top:10px;left:10px;z-index:1000;transform:translateY(-160%);padding:10px 16px;background:var(--ink);color:#fff;border-radius:8px}
.skip-link:focus{transform:none}
:focus-visible{outline:3px solid rgba(79,93,245,.3);outline-offset:3px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header{height:76px;display:flex;align-items:center;gap:38px;padding:0 clamp(20px,4vw,64px);position:relative;z-index:20;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(227,229,233,.7);backdrop-filter:blur(12px)}
.brand{display:inline-flex;align-items:center;gap:10px;font:800 19px "Manrope",sans-serif;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;color:var(--brand);flex:0 0 34px}
.brand-mark svg,.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.desktop-nav{display:flex;align-items:center;gap:34px;margin:auto;font-weight:600;color:#4b4f58}
.desktop-nav a,.footer-main a{transition:color .18s}
.desktop-nav a:hover,.footer-main a:hover{color:var(--brand)}
.header-cta{display:inline-flex;align-items:center;gap:12px;padding:10px 18px;color:#fff;background:var(--brand);border-radius:999px;font-weight:700}
.header-cta:hover{background:var(--brand-dark)}
.menu-button,.mobile-nav{display:none}
.hero{padding:40px max(20px,calc((100vw - 1180px)/2)) 48px;text-align:center;background:linear-gradient(#fff 70%,#f8f8fb)}
.breadcrumbs{display:flex;justify-content:center;gap:10px;color:#8a8e97;font-size:14px}
.breadcrumbs a:hover{color:var(--brand)}
.eyebrow{margin:23px 0 12px;color:var(--brand);font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:"Manrope",sans-serif}
h1{max-width:880px;margin:0 auto;font-size:clamp(40px,5.4vw,70px);line-height:1.04;letter-spacing:-.05em}
h1 span{color:#737780}
.hero-copy{max-width:700px;margin:26px auto 40px;color:var(--muted);font-size:19px;line-height:1.6}
.converter-card{max-width:1120px;margin:0 auto;padding:30px;border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:var(--shadow);text-align:left}
.converter-topbar,.file-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.step-label{margin:0 0 2px;color:#8a8e97;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}
.converter-topbar h2{margin:0;font-size:24px;letter-spacing:-.03em}
.reset-button,.text-button{padding:4px;border:0;background:none;color:var(--brand);font-weight:700;cursor:pointer}
.quick-tools{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:22px 0}
.quick-tool{display:flex;align-items:center;gap:9px;min-height:60px;padding:10px 13px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#4d515a;font-size:14px;font-weight:700;cursor:pointer;text-align:left;transition:border-color .18s,background .18s,transform .18s}
.quick-tool:hover{border-color:#b9bec9;transform:translateY(-1px)}
.quick-tool.active{border-color:var(--brand);background:#f1f2ff;color:var(--brand)}
.quick-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px}
.quick-icon svg{width:22px;height:22px;stroke-width:2}
.tool-picker{margin:-8px 0 20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.tool-picker>p{margin:0 0 10px;font-size:13px;font-weight:700;color:var(--muted)}
.tool-picker-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tool-picker-grid button{display:flex;align-items:center;gap:9px;min-height:46px;padding:8px 10px;border:1px solid transparent;border-radius:10px;background:#fff;color:var(--ink);font-size:13px;font-weight:650;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,color .16s}
.tool-picker-grid button:hover{border-color:#d8daf7;background:#f8f8ff;color:var(--brand)}
.picker-tool-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #e5e6f3;border-radius:8px;background:#fafaff;color:var(--brand)}
.picker-tool-icon svg{width:16px;height:16px;stroke-width:2}
.drop-zone{display:flex;min-height:350px;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;border:1.5px dashed #b7bbc4;border-radius:22px;background:#fcfcfd;text-align:center;cursor:pointer;transition:border-color .18s,background .18s}
.drop-zone:hover,.drop-zone.dragging{border-color:var(--brand);background:#fafaff}
.upload-illustration{position:relative;width:90px;height:74px;margin-bottom:16px}
.paper{position:absolute;display:block;width:54px;height:48px;border:2px solid #8c919a;border-radius:9px;background:#fff}
.paper-back{left:14px;top:6px}
.paper-front{left:7px;top:14px;box-shadow:0 8px 18px rgba(22,23,28,.06)}
.upload-arrow{position:absolute;right:6px;bottom:4px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800}
.drop-zone h3{margin:0;font-size:23px}
.drop-zone p{margin:3px 0;color:var(--muted)}
.select-label{color:var(--brand);font-weight:700}
.drop-zone small{margin-top:12px;color:#9599a1}
.workspace{border-top:1px solid var(--line);padding-top:24px}
.file-panel-heading h2,.file-panel-heading h3{margin:0;font-size:22px}
.file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;margin:18px 0 22px;padding:0;list-style:none}
.file-item{position:relative;display:flex;min-width:0;flex-direction:column;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(22,23,28,.04);transition:border-color .18s,transform .18s,box-shadow .18s}
.file-item:hover{transform:translateY(-2px);border-color:#c7cad2;box-shadow:0 9px 24px rgba(22,23,28,.08)}
.file-order{position:absolute;z-index:2;top:17px;left:17px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(22,23,28,.86);color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 8px rgba(22,23,28,.18)}
.file-preview{display:grid;place-items:center;width:100%;height:148px;overflow:hidden;border-radius:10px;background:var(--surface)}
.file-preview img{width:100%;height:100%;object-fit:contain;background:#f0f1f4}
.pdf-canvas{display:block;max-width:100%;max-height:136px;border:1px solid #d9dce2;border-radius:4px;background:#fff;box-shadow:0 7px 18px rgba(22,23,28,.1)}
.pdf-canvas[hidden]{display:none}
.pdf-preview{position:relative;display:flex;width:92px;height:120px;flex-direction:column;align-items:flex-start;padding:22px 13px;border:1px solid #d9dce2;border-radius:5px;background:#fff;box-shadow:0 7px 18px rgba(22,23,28,.1)}
.pdf-preview:after{content:"";position:absolute;top:-1px;right:-1px;width:22px;height:22px;background:linear-gradient(225deg,var(--surface) 49%,#d9dce2 50%,#fff 53%);border-top-right-radius:5px}
.pdf-preview span{margin-bottom:15px;padding:3px 7px;border-radius:4px;background:#e94d43;color:#fff;font-size:11px;font-style:normal;font-weight:800}
.pdf-preview i{display:block;width:100%;height:4px;margin-top:7px;border-radius:9px;background:#e1e3e8}.pdf-preview i:last-child{width:65%}
.file-meta{display:block;min-width:0;padding:0 2px 2px}
.file-meta strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.file-meta span{display:block;margin-top:1px;color:var(--muted);font-size:11px}
.remove-file{position:absolute;z-index:3;top:17px;right:17px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid #dfe1e6;border-radius:50%;background:rgba(255,255,255,.94);color:#555a64;cursor:pointer;line-height:1;box-shadow:0 2px 8px rgba(22,23,28,.1)}
.remove-file svg{display:block;width:13px;height:13px;flex:none;stroke-width:2}
.remove-file:hover{background:#fff0ef;color:var(--danger)}
.organizer-list{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:30px 26px;overflow:visible}
.organizer-item{position:relative;min-width:0;list-style:none;cursor:grab}
.organizer-item.dragging-page{opacity:.42}.organizer-item.drop-target .organizer-page{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,87,255,.14)}
.organizer-page{position:relative;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(22,23,28,.06);transition:border-color .18s,box-shadow .18s}
.organizer-preview{display:grid;place-items:center;height:220px;overflow:hidden;border-radius:9px;background:#f0f1f4}
.organizer-preview img{max-width:88%;max-height:88%;object-fit:contain;box-shadow:0 5px 16px rgba(22,23,28,.14);transition:transform .2s}
.organizer-preview img.sideways{max-width:72%;max-height:72%}
.organizer-controls{position:absolute;z-index:4;top:16px;right:16px;display:flex;gap:4px;padding:4px;border:1px solid #e0e2e7;border-radius:10px;background:rgba(255,255,255,.95);box-shadow:0 3px 10px rgba(22,23,28,.1)}
.organizer-controls button{display:grid;place-items:center;width:27px;height:27px;padding:0;border:0;border-radius:7px;background:transparent;color:#555a64;cursor:pointer}
.organizer-controls button:hover{background:#eeedff;color:var(--brand)}.organizer-controls button:disabled{opacity:.3;cursor:not-allowed}
.organizer-controls .organizer-delete:hover{background:#fff0ef;color:var(--danger)}
.organizer-controls svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.organizer-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 2px 0}
.organizer-meta strong{font-size:13px}.organizer-meta span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.drag-hint{display:block;padding:2px;color:#9a9da5;font-size:10px;text-align:center}
.insert-pages{position:absolute;z-index:5;top:50%;right:-20px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--brand);color:#fff;cursor:pointer;box-shadow:0 4px 12px rgba(91,87,255,.3)}
.insert-pages span{font-size:22px;line-height:1}.insert-pages em{position:absolute;bottom:43px;width:max-content;padding:5px 8px;border-radius:6px;background:var(--ink);color:#fff;font-size:10px;font-style:normal;opacity:0;pointer-events:none;transform:translateY(3px);transition:.15s}
.insert-pages:hover em,.insert-pages:focus-visible em{opacity:1;transform:none}
.organizer-loading{grid-column:1/-1;display:flex;min-height:250px;align-items:center;justify-content:center;gap:16px;color:var(--muted)}
.organizer-loading .spinner{width:34px;height:34px}
.watermark-page-list{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:18px}
.watermark-page{position:relative;min-width:0;list-style:none}
.watermark-page-toggle{display:flex;width:100%;min-width:0;flex-direction:column;align-items:stretch;gap:3px;padding:9px;border:2px solid transparent;border-radius:14px;background:#f4f5f7;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.watermark-page-toggle:hover{transform:translateY(-2px);background:#fff;box-shadow:0 8px 22px rgba(22,23,28,.08)}
.watermark-page.selected .watermark-page-toggle{border-color:var(--brand);background:#f7f7ff;box-shadow:0 0 0 3px rgba(91,87,255,.09)}
.watermark-check{position:absolute;z-index:4;display:grid;place-items:center;width:25px;height:25px;margin:8px;border:2px solid #fff;border-radius:50%;background:#c4c7ce;color:#fff;font-size:13px;font-weight:800;box-shadow:0 2px 7px rgba(22,23,28,.16)}
.watermark-page.selected .watermark-check{background:var(--brand)}
.watermark-sheet{position:relative;display:grid;place-items:center;height:225px;overflow:hidden;border-radius:9px;background:#e7e9ed}
.watermark-paper{position:relative;display:block;aspect-ratio:var(--page-ratio);overflow:hidden;background:#fff;box-shadow:0 5px 16px rgba(22,23,28,.14)}
.watermark-paper.portrait{width:auto;height:92%;max-width:92%}.watermark-paper.landscape{width:92%;height:auto;max-height:92%}
.watermark-paper>img{display:block;width:100%;height:100%;object-fit:fill}
.watermark-preview-overlay{position:absolute;z-index:2;inset:0;display:block;opacity:var(--watermark-opacity);pointer-events:none}
.watermark-preview-content{position:absolute;display:block;width:max-content;max-width:none;transform-origin:center}
.watermark-overlay-text{display:block;box-sizing:content-box;width:max-content;max-width:none;padding:.05em .2em .15em;line-height:1.15;letter-spacing:0;white-space:nowrap;text-shadow:0 1px 2px rgba(255,255,255,.65);transform-origin:center}
.watermark-overlay-image{display:block;max-width:none;max-height:none;object-fit:contain}
.watermark-preview-overlay.position-top-left{align-items:flex-start;justify-content:flex-start}.watermark-preview-overlay.position-top-center{align-items:flex-start;justify-content:center}.watermark-preview-overlay.position-top-right{align-items:flex-start;justify-content:flex-end}
.watermark-preview-overlay.position-middle-left{align-items:center;justify-content:flex-start}.watermark-preview-overlay.position-center{align-items:center;justify-content:center}.watermark-preview-overlay.position-middle-right{align-items:center;justify-content:flex-end}
.watermark-preview-overlay.position-bottom-left{align-items:flex-end;justify-content:flex-start}.watermark-preview-overlay.position-bottom-center{align-items:flex-end;justify-content:center}.watermark-preview-overlay.position-bottom-right{align-items:flex-end;justify-content:flex-end}
.watermark-page-toggle strong{padding:7px 3px 0;font-size:13px}.watermark-page-toggle small{padding:0 3px 2px;color:var(--muted);font-size:11px}
.watermark-page:not(.selected) .watermark-preview-overlay{display:none}
.watermark-settings{grid-template-columns:minmax(0,1fr);width:min(100%,760px);padding:22px}
.watermark-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.watermark-setting-grid .full{grid-column:1/-1}
.watermark-typography{margin:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.typography-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.typography-heading>div{display:flex;flex-direction:column;gap:2px}.typography-heading strong{font:700 14px/1.3 "Manrope",sans-serif}.typography-heading span{color:var(--muted);font-size:11px}
.format-preview-chip{display:grid!important;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:10px;background:#ececff!important;color:var(--brand);font:800 16px/1 Georgia,serif!important}
.typography-grid{display:grid;grid-template-columns:minmax(0,1fr) 124px;align-items:end;gap:15px 12px}.typography-grid .format-field{grid-column:1/-1}
.font-size-input{display:grid;grid-template-columns:30px minmax(50px,1fr) 30px;align-items:center;height:46px;overflow:hidden;border:1px solid #ccd0d7;border-radius:10px;background:#fff}.font-size-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,87,255,.12)}.font-size-input button{display:grid;height:100%;place-items:center;padding:0;border:0;background:#f6f7f9;color:var(--ink);font-size:17px;font-weight:700;cursor:pointer}.font-size-input button:hover{background:#ececff;color:var(--brand)}.font-size-input input{width:100%;min-width:0;height:100%;padding:0 6px;border:0!important;outline:0;text-align:center;box-shadow:none!important;-moz-appearance:textfield}.font-size-input input::-webkit-inner-spin-button,.font-size-input input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
.font-size-control{display:flex;min-height:46px;align-items:center;gap:12px;padding:0 12px;border:1px solid #ccd0d7;border-radius:10px;background:#fff}.font-size-control input{min-width:0;min-height:0;padding:0;border:0}.font-size-control output{flex:0 0 48px;color:var(--ink);font-size:12px;font-weight:800;text-align:right}
.format-field{display:grid;gap:6px}.control-label{font-size:13px;font-weight:700}
.format-colour-row{display:flex;align-items:center;gap:9px}.format-buttons{display:grid;grid-template-columns:repeat(3,42px);gap:7px}.format-buttons label{min-width:0;cursor:pointer}.format-buttons input{position:absolute;opacity:0;pointer-events:none}.format-buttons span{display:flex;width:42px;height:42px;align-items:center;justify-content:center;padding:0;border:1px solid #ccd0d7;border-radius:9px;background:#fff;color:#555a64;font-family:serif;font-size:17px;transition:.15s}.format-buttons input:checked+span{border-color:var(--brand);background:#ececff;color:var(--brand);box-shadow:0 0 0 2px rgba(91,87,255,.1)}.format-buttons input:focus-visible+span{outline:3px solid rgba(91,87,255,.24);outline-offset:2px}.format-buttons label:hover span{border-color:#aaa7ff}
.watermark-colour-control{display:grid;min-width:0;flex:1;gap:7px}.inline-colour{display:flex;min-width:0;height:42px;align-items:center;gap:8px;padding:4px 8px;border:1px solid #ccd0d7;border-radius:9px;background:#fff}.inline-colour:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(91,87,255,.12)}.inline-colour input[type="color"]{flex:0 0 32px;width:32px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;cursor:pointer}.inline-colour input[type="color"]::-webkit-color-swatch-wrapper{padding:1px}.inline-colour input[type="color"]::-webkit-color-swatch{border:1px solid rgba(0,0,0,.14);border-radius:6px}.inline-colour input[type="color"]::-moz-color-swatch{border:1px solid rgba(0,0,0,.14);border-radius:6px}.inline-colour input[type="text"]{min-width:74px;width:100%;height:30px;padding:0 3px;border:0!important;outline:0;color:var(--ink);font:800 11px/1 "DM Sans",sans-serif;text-transform:uppercase;box-shadow:none!important}.inline-colour input[type="text"][aria-invalid="true"]{color:var(--danger)}
.colour-swatches{display:flex;align-items:center;gap:6px}.colour-swatches button{display:block;width:20px;height:20px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #cfd2d8;cursor:pointer;transition:transform .14s,box-shadow .14s}.colour-swatches button:hover{transform:scale(1.1)}.colour-swatches button.active{box-shadow:0 0 0 2px var(--brand)}.colour-swatches button:focus-visible{outline:3px solid rgba(91,87,255,.25);outline-offset:2px}
.color-field>div{display:flex;min-height:46px;align-items:center;gap:11px;padding:5px 11px;border:1px solid #ccd0d7;border-radius:10px;background:#fff}.color-field input{width:38px;min-height:34px;padding:0;border:0;background:transparent;cursor:pointer}.color-field output{color:var(--ink);font-size:12px;font-weight:800;letter-spacing:.02em}
.watermark-position{margin:0;padding:0;border:0}.watermark-position legend{margin-bottom:8px;font-size:13px;font-weight:700}
.position-grid{display:grid;grid-template-columns:repeat(3,42px);gap:7px;width:max-content;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff}
.position-grid label{position:relative;display:block;cursor:pointer}.position-grid input{position:absolute;z-index:2;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.position-grid input+span{pointer-events:none}
.position-grid span{display:grid;place-items:center;width:42px;height:36px;border:1px solid #d7dae0;border-radius:8px;background:#f7f8f9;transition:.15s}
.position-grid i{display:block;width:10px;height:7px;border-radius:2px;background:#8c919a}
.position-grid label:hover span{border-color:#b7b5ff}.position-grid input:checked+span{border-color:var(--brand);background:#ececff;box-shadow:0 0 0 2px rgba(91,87,255,.12)}.position-grid input:checked+span i{background:var(--brand)}
.position-grid input:focus-visible+span{outline:3px solid rgba(91,87,255,.24);outline-offset:2px}
.watermark-page-actions{display:flex;align-items:center;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.watermark-page-actions>div{display:flex;min-width:0;flex:1;flex-direction:column}.watermark-page-actions strong{font-size:13px}.watermark-page-actions span{color:var(--muted);font-size:11px}
.watermark-page-actions button{padding:8px 11px;border:1px solid #d3d6dc;border-radius:8px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;cursor:pointer}.watermark-page-actions button:hover{border-color:var(--brand);color:var(--brand)}
.signature-page-list{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}
.signature-page-card{min-width:0;padding:10px;border:2px solid transparent;border-radius:15px;background:#f3f4f6;list-style:none;transition:.16s}.signature-page-card.active{border-color:var(--brand);background:#f7f7ff;box-shadow:0 0 0 3px rgba(91,87,255,.09)}
.signature-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:1px 2px 9px}.signature-page-toolbar strong{font-size:13px}.signature-page-toolbar span{color:var(--muted);font-size:10px}
.signature-page-stage{display:grid;place-items:center;height:310px;overflow:hidden;border-radius:10px;background:#dfe1e6;cursor:pointer}
.signature-paper{position:relative;display:block;aspect-ratio:var(--page-ratio);overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(22,23,28,.14)}.signature-paper:after{position:absolute;z-index:5;inset:10px;display:grid;place-items:center;border:2px dashed transparent;border-radius:8px;color:transparent;font-size:13px;font-weight:800;content:"Drop signature here";pointer-events:none;transition:.16s}.signature-paper.signature-drop-target:after{border-color:var(--brand);background:rgba(91,87,255,.1);color:var(--brand)}.signature-paper.portrait{width:auto;height:94%;max-width:94%}.signature-paper.landscape{width:94%;height:auto;max-height:94%}.signature-paper>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
.signature-placement{position:absolute;z-index:3;display:block;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;transform-origin:center;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.signature-placement img{display:block;width:100%;height:auto;pointer-events:none}.signature-placement small{display:block;overflow:hidden;color:#3d4048;font-size:7px;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.signature-placement:hover,.signature-placement.selected{outline:1px dashed var(--brand);outline-offset:1px;background:rgba(255,255,255,.12);box-shadow:0 0 0 2px rgba(91,87,255,.1)}.signature-placement.dragging{cursor:grabbing;opacity:.88}
.signature-resize-handle{position:absolute;display:none;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--brand);box-shadow:0 1px 4px rgba(22,23,28,.2)}.signature-resize-handle.top-left{top:-6px;left:-6px;cursor:nwse-resize}.signature-resize-handle.top-right{top:-6px;right:-6px;cursor:nesw-resize}.signature-resize-handle.bottom-left{bottom:-6px;left:-6px;cursor:nesw-resize}.signature-resize-handle.bottom-right{right:-6px;bottom:-6px;cursor:nwse-resize}.signature-rotate-handle,.signature-delete-handle{position:absolute;top:-28px;display:none;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;color:#fff;font-size:14px;line-height:1;cursor:pointer;box-shadow:0 2px 7px rgba(22,23,28,.18)}.signature-rotate-handle{left:calc(50% - 15px);background:var(--brand);transform:translateX(-50%)}.signature-delete-handle{left:calc(50% + 15px);background:#a33b34;transform:translateX(-50%)}.signature-rotate-handle:focus-visible,.signature-delete-handle:focus-visible{outline:3px solid rgba(91,87,255,.3);outline-offset:2px}.signature-placement.selected .signature-resize-handle,.signature-placement.selected .signature-rotate-handle,.signature-placement.selected .signature-delete-handle{display:grid;place-items:center}
.signature-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff}.signature-methods button{min-height:40px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-weight:750;cursor:pointer}.signature-methods button.active{background:#ececff;color:var(--brand);box-shadow:0 1px 4px rgba(22,23,28,.08)}
.signature-method-panel{display:grid;gap:10px}.signature-method-panel canvas{display:block;width:100%;height:160px;border:1px dashed #aeb2bc;border-radius:12px;background:#fff;cursor:crosshair;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.signature-type-panel{grid-template-columns:1.5fr 1fr}
.secondary-action,.primary-small,.danger-secondary{min-height:40px;padding:0 14px;border-radius:9px;font-weight:750;cursor:pointer}.secondary-action{justify-self:end;border:1px solid #d2d5dc;background:#fff;color:var(--ink)}.primary-small{border:0;background:var(--brand);color:#fff}.primary-small:disabled,.danger-secondary:disabled{opacity:.45;cursor:not-allowed}
.signature-upload{display:flex;min-height:118px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1.5px dashed #afb3bd;border-radius:12px;background:#fff;text-align:center;cursor:pointer}.signature-upload span{color:var(--muted);font-size:12px}.signature-upload input{position:absolute;width:1px;height:1px;opacity:0}
.signature-preview-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.signature-preview{display:grid;min-height:76px;place-items:center;overflow:hidden;border-radius:9px;background:#f3f4f6}.signature-preview>span{color:var(--muted);font-size:12px}.signature-drag-source{display:grid;width:100%;min-height:76px;padding:6px 12px;border:1px dashed transparent;border-radius:9px;background:transparent;place-items:center;cursor:grab;transition:.16s}.signature-drag-source:hover{border-color:var(--brand);background:#f7f7ff}.signature-drag-source:focus-visible{outline:3px solid rgba(91,87,255,.24);outline-offset:-3px}.signature-drag-source.dragging{cursor:grabbing;opacity:.55}.signature-drag-source img{display:block;max-width:90%;max-height:52px;pointer-events:none}.signature-drag-source span{color:var(--brand);font-size:11px;font-weight:750;pointer-events:none}
.signature-placement-controls{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.signature-placement-controls output{float:right;color:var(--brand);font-weight:800}.signature-placement-controls input[type=range]{min-height:32px}
.danger-secondary{border:1px solid #edc5c1;background:#fff7f6;color:#8d3029}
.signature-details{display:grid;grid-template-columns:1.5fr .7fr;gap:14px}.signature-details label span{color:var(--muted);font-weight:500}.signature-date-option{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700}.signature-date-option input{width:17px;height:17px;accent-color:var(--brand)}
.signature-notice{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dddff9;border-radius:11px;background:#f4f4ff}.signature-notice strong{flex:0 0 auto;color:var(--brand);font-size:12px}.signature-notice span{color:var(--muted);font-size:11px;line-height:1.45}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.settings-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:min(100%,520px);margin:8px auto 0;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.settings-panel.watermark-settings{width:min(100%,760px);padding:22px}
.field-hint{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.4}
.resize-mode-field{margin:0;padding:0;border:0}.resize-mode-field legend{margin-bottom:8px;font-size:13px;font-weight:700}
.resize-mode-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.resize-mode-options label{position:relative;min-width:0;cursor:pointer}.resize-mode-options input{position:absolute;opacity:0;pointer-events:none}.resize-mode-options span{display:flex;min-height:96px;flex-direction:column;gap:5px;padding:13px;border:1px solid #ccd0d7;border-radius:11px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}.resize-mode-options strong{font-size:13px}.resize-mode-options small{color:var(--muted);font-size:10px;line-height:1.4}.resize-mode-options label:hover span{border-color:#aaa7ff}.resize-mode-options input:checked+span{border-color:var(--brand);background:#f4f4ff;box-shadow:0 0 0 2px rgba(91,87,255,.1)}.resize-mode-options input:checked+span strong{color:var(--brand)}.resize-mode-options input:focus-visible+span{outline:3px solid rgba(91,87,255,.24);outline-offset:2px}
.page-range-field input{font-variant-numeric:tabular-nums;letter-spacing:.01em}
.confirm-field{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.confirm-field input{flex:0 0 18px;width:18px;min-height:18px;margin-top:2px;accent-color:var(--brand)}.confirm-field span{display:flex;flex-direction:column;gap:2px}.confirm-field strong{font-size:13px}.confirm-field small{color:var(--muted);font-size:11px;line-height:1.4}
.settings-panel.signature-settings{width:min(100%,780px);padding:22px}
.settings-heading{display:flex;flex-direction:column;gap:2px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.settings-heading strong{font:700 16px/1.4 "Manrope",sans-serif}
.settings-heading span{color:var(--muted);font-size:12px}
.field{display:grid;gap:6px}
.field.full{grid-column:auto}
.field label{font-size:13px;font-weight:700}
.field input,.field select,.field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd0d7;border-radius:9px;background:#fff;color:var(--ink)}
.field textarea{min-height:90px;resize:vertical}
.field input[type=range]{padding:0}
.field-help{color:var(--muted);font-size:12px}
.process-button,.download-button{display:flex;align-items:center;justify-content:center;gap:18px;width:auto;min-width:190px;max-width:100%;min-height:48px;margin:18px auto 0;padding:0 22px;border:0;border-radius:999px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer}
.process-button:hover,.download-button:hover{background:var(--brand-dark)}
.processing-state,.result-state{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.spinner{width:54px;height:54px;border:4px solid #e3e5ff;border-top-color:var(--brand);border-radius:50%;animation:spin .85s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.processing-state h2,.processing-state h3,.result-state h2,.result-state h3{margin:18px 0 4px;font-size:26px}
.processing-state p,.result-state p{margin-bottom:18px;color:var(--muted)}
.progress-track{width:min(420px,80%);height:7px;overflow:hidden;border-radius:99px;background:#e9eaf0}
.progress-track span{display:block;width:7%;height:100%;border-radius:inherit;background:var(--brand);transition:width .2s}
.progress-copy{margin-top:10px;color:var(--muted)}
.success-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#e6f5ef;color:var(--success);font-size:28px;font-weight:800}
.result-state .step-label{margin:13px 0 0}
.download-button{width:min(360px,100%);margin:4px 0 12px}
.error-state{align-items:center;gap:14px;margin-top:16px;padding:14px 16px;border:1px solid #f0c4c0;border-radius:12px;background:#fff5f4;color:#722c27}
.error-state[hidden]{display:none}
.error-state>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--danger);color:#fff;font-weight:800}
.error-state p{margin:0}
.error-state button{margin-left:auto;border:0;background:none;color:#722c27;font-weight:800;cursor:pointer}
.trust-row{display:flex;justify-content:center;flex-wrap:wrap;gap:18px 38px;margin:30px auto 0;color:#626772;font-size:14px;font-weight:600}
.trust-row span{display:flex;align-items:center;gap:8px}.trust-row svg{width:18px;height:18px;color:var(--brand)}
.tools-section,.how-section,.faq-section{max-width:1180px;margin:auto;padding:110px 20px}
.section-heading{max-width:680px;margin:0 auto 42px;text-align:center}
.section-heading .eyebrow{margin-top:0}
.section-heading h2,.feature-intro h2,.closing-cta h2{margin-bottom:13px;font-size:clamp(34px,4vw,50px);line-height:1.12;letter-spacing:-.045em}
.section-heading>p:last-child,.feature-intro>p:last-child{color:var(--muted);font-size:18px}
.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.filters button{padding:9px 17px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-weight:700;cursor:pointer}
.filters button:hover,.filters button.active{border-color:var(--ink);background:var(--ink);color:#fff}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tool-card{position:relative;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:16px;min-height:128px;padding:22px;border:1px solid var(--line);border-radius:17px;background:#fff;color:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}
.tool-card:hover{transform:translateY(-3px);border-color:#d6d8ee;background:#fefeff;box-shadow:0 14px 34px rgba(22,23,28,.075)}
.tool-card-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #dde0f5;border-radius:13px;background:#f8f8ff;color:var(--brand)}
.tool-card-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tool-card:hover .tool-card-icon{border-color:#cfd2f7;background:#f1f2ff}
.tool-card h3{margin:0 0 3px;font-size:17px}
.tool-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.tool-card .arrow{color:#9da0a8;font-size:20px}
.feature-band{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;max-width:1320px;margin:0 auto;padding:100px clamp(24px,6vw,86px);border-radius:32px;background:#17181d;color:#fff}
.feature-intro .eyebrow{margin-top:0;color:#8790ff}
.feature-intro>p:last-child{color:#aeb1b8}
.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#37383e}
.feature-grid article{padding:27px;background:#17181d}
.feature-grid span{color:#8790ff;font-size:13px;font-weight:700}
.feature-grid h3{margin:22px 0 6px;font-size:19px}
.feature-grid p{margin:0;color:#aeb1b8;font-size:14px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0;list-style:none}
.steps li{display:flex;gap:18px;padding:28px;border:1px solid var(--line);border-radius:17px}
.steps>li>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800}
.steps h3{margin:2px 0 5px;font-size:18px}.steps p{margin:0;color:var(--muted);font-size:14px}
.faq-section{padding-top:80px}
.faq-list{max-width:820px;margin:auto;border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 4px;cursor:pointer;font:700 18px "Manrope",sans-serif;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{font-size:24px;font-weight:400;transition:transform .2s}
.faq-list details[open] summary span{transform:rotate(45deg)}
.faq-list details p{padding:0 40px 24px 4px;margin:0;color:var(--muted)}
.closing-cta{max-width:1180px;margin:0 auto 100px;padding:70px 24px;border-radius:28px;background:#f0f1ff;text-align:center}
.closing-cta .eyebrow{margin-top:0}.closing-cta a{display:inline-flex;align-items:center;gap:20px;margin-top:14px;padding:14px 24px;border-radius:99px;background:var(--brand);color:#fff;font-weight:800}
footer{padding:65px max(20px,calc((100vw - 1180px)/2)) 22px;border-top:1px solid var(--line)}
.footer-main{display:grid;grid-template-columns:1.45fr repeat(4,1fr);gap:40px}
.footer-main>div p{max-width:260px;margin:15px 0;color:var(--muted)}
.footer-main nav{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--muted)}
.footer-main nav strong{margin-bottom:6px;color:var(--ink);font-family:"Manrope",sans-serif}
.footer-link{padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.footer-link:hover{color:var(--brand)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:55px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.page-main{width:100%;min-height:65vh;overflow-x:clip;padding:42px max(20px,calc((100vw - 1120px)/2)) 100px;background:linear-gradient(#fff,#fafafd)}
.page-breadcrumbs{display:flex;gap:10px;margin-bottom:42px;color:#858991;font-size:14px}
.page-breadcrumbs a:hover{color:var(--brand)}
.content-page{width:100%;max-width:860px;margin-inline:auto}
.content-hero{padding-bottom:45px;border-bottom:1px solid var(--line)}
.content-hero .eyebrow{margin-top:0}
.content-hero h1{max-width:none;margin:0 0 18px;font-size:clamp(42px,6vw,68px);letter-spacing:-.05em}
.content-hero>p:last-child{max-width:720px;margin:0;color:var(--muted);font-size:19px}
.prose{padding-top:22px}
.prose h2{margin:42px 0 12px;font-size:25px;letter-spacing:-.025em}
.prose h3{margin:30px 0 10px;font-size:19px}
.prose p,.prose li{color:#50545d}
.prose ul,.prose ol{display:grid;gap:8px;padding-left:24px}
.prose a,.contact-layout a{color:var(--brand);font-weight:650;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.notice{margin:16px 0 34px;padding:22px;border:1px solid #cfd3ff;border-radius:14px;background:#f3f4ff}
.notice strong{font-family:"Manrope",sans-serif}.notice p{margin:5px 0 0}
.table-wrap{overflow-x:auto;margin:24px 0}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:13px 14px;border:1px solid var(--line);text-align:left;vertical-align:top}.table-wrap th{background:var(--surface);font-family:"Manrope",sans-serif}
.inline-cta{display:inline-flex;align-items:center;gap:18px;margin-top:12px;padding:12px 19px;border-radius:99px;background:var(--brand);color:#fff!important;text-decoration:none!important}
.page-faq{max-width:none}.page-faq+p{margin-top:36px}
.contact-layout{width:100%;max-width:960px;margin-inline:auto}.contact-layout>.content-hero{width:100%;max-width:760px;margin-bottom:42px}
.contact-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:30px}
.contact-aside,.contact-form{padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}
.contact-aside h2{font-size:21px}.contact-aside p{color:var(--muted)}
.contact-form{display:grid;gap:16px}.contact-form .field{gap:7px}.contact-form input,.contact-form textarea{width:100%;padding:12px 13px;border:1px solid #c9cdd5;border-radius:10px;background:#fff}.contact-form textarea{min-height:160px;resize:vertical}
.form-submit{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 18px;border:0;border-radius:11px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer}.form-submit:hover{background:var(--brand-dark)}
.form-status{padding:14px;border-radius:10px}.form-status ul{margin:7px 0 0}.form-status.success{background:#e8f6f1;color:#176c52}.form-status.error{background:#fff1f0;color:#87352f}.hp-field{position:absolute;left:-9999px}
.status-page{display:flex;min-height:62vh;flex-direction:column;align-items:center;justify-content:center;padding:70px 20px;text-align:center}.status-page h1{font-size:clamp(42px,7vw,76px)}.status-page>p:not(.status-code){max-width:620px;color:var(--muted);font-size:18px}.status-code{margin:0 0 14px;color:var(--brand);font-weight:800;text-transform:uppercase;letter-spacing:.12em}.status-actions{display:flex;align-items:center;gap:22px;margin-top:18px}
.consent-banner{position:fixed;z-index:100;right:20px;bottom:20px;display:flex;align-items:center;gap:24px;width:min(680px,calc(100% - 40px));padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 60px rgba(22,23,28,.18)}.consent-banner strong{font-family:"Manrope",sans-serif}.consent-banner p{margin:3px 0;color:var(--muted);font-size:14px}.consent-banner a{color:var(--brand);font-size:13px;font-weight:700}.consent-actions{display:flex;flex:0 0 auto;gap:8px}.consent-actions button{padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:700;cursor:pointer}.consent-actions .primary{border-color:var(--brand);background:var(--brand);color:#fff}
[hidden]{display:none!important}
@media(max-width:900px){
 .desktop-nav,.header-cta{display:none}.site-header{height:68px}.menu-button{display:grid;place-items:center;margin-left:auto;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.menu-button svg{width:22px;height:22px}
 .mobile-nav{position:absolute;top:67px;left:0;right:0;display:flex;flex-direction:column;gap:0;padding:10px 20px 18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 25px rgba(22,23,28,.08)}.mobile-nav a{padding:10px 0;font-weight:700}
 .hero{padding-top:30px}.quick-tools{grid-template-columns:repeat(3,1fr)}.more-tools-trigger{grid-column:auto}.tool-picker-grid{grid-template-columns:repeat(3,1fr)}
 .tools-grid{grid-template-columns:repeat(2,1fr)}
 .feature-band{grid-template-columns:1fr;gap:45px;border-radius:0}.steps{grid-template-columns:1fr}
 .footer-main{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:1fr}.consent-banner{align-items:flex-start;flex-direction:column}.consent-actions{width:100%}.consent-actions button{flex:1}
}
@media(max-width:620px){
 body{font-size:15px}.hero{padding-left:14px;padding-right:14px}.hero-copy{font-size:17px}.converter-card{padding:16px;border-radius:22px}.converter-topbar h2{font-size:20px}
 .quick-tools{grid-template-columns:repeat(2,1fr);gap:7px}.quick-tool{min-height:54px}.more-tools-trigger{grid-column:1/-1}.tool-picker-grid{grid-template-columns:repeat(2,1fr)}
 .drop-zone{min-height:290px}.file-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.organizer-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.organizer-preview{height:180px}.organizer-controls{position:static;justify-content:flex-end;margin-bottom:7px}.insert-pages{right:-14px}.watermark-page-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.watermark-sheet{height:180px}.signature-page-list{grid-template-columns:1fr}.signature-page-stage{height:360px}.signature-type-panel,.signature-preview-row,.signature-placement-controls,.signature-details{grid-template-columns:1fr}.signature-date-option{grid-column:auto}.watermark-setting-grid,.typography-grid,.resize-mode-options{grid-template-columns:1fr}.resize-mode-options span{min-height:0}.watermark-setting-grid .full{grid-column:auto}.format-buttons{padding:0}.watermark-page-actions{align-items:stretch;flex-wrap:wrap}.watermark-page-actions>div{flex-basis:100%}.file-preview{height:128px}.settings-panel,.settings-panel.watermark-settings,.settings-panel.signature-settings{grid-template-columns:1fr;padding:16px}.field.full{grid-column:auto}
 .trust-row{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;text-align:left}.trust-row span{justify-content:flex-start}
 .tools-section,.how-section,.faq-section{padding:78px 16px}.tools-grid{grid-template-columns:1fr}.tool-card{min-height:112px}
 .feature-band{padding:70px 20px}.feature-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr;gap:30px}.footer-main nav a,.footer-link{display:flex;align-items:center;min-height:44px}.footer-bottom{flex-direction:column}.page-main{padding-top:28px}.page-breadcrumbs{margin-bottom:28px}.content-hero{padding-bottom:32px}.contact-aside,.contact-form{padding:20px}.status-actions{flex-direction:column}.consent-banner{right:12px;bottom:12px;width:calc(100% - 24px);padding:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Dedicated Sign PDF and Watermark PDF workspace */
.editor-page{height:100vh;overflow:hidden;background:#f3f4f7}
.editor-header{position:sticky;z-index:30;top:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;padding:0 28px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);box-shadow:0 3px 18px rgba(22,23,28,.04);backdrop-filter:blur(14px)}
.editor-title{display:flex;align-items:center;gap:11px}.editor-title>div{display:flex;flex-direction:column}.editor-title strong{font-family:Manrope,sans-serif;font-size:15px}.editor-title span{color:var(--muted);font-size:11px}
.editor-tool-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#eeeeff;color:var(--brand);font-size:14px;font-weight:900}
.editor-close{justify-self:end;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:700;text-decoration:none}.editor-close span{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;padding:0 0 2px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-family:Arial,sans-serif;font-size:20px;font-weight:400;line-height:1}.editor-close:hover{color:var(--ink)}
.editor-main{height:calc(100vh - 72px);padding:12px}
.editor-card{display:flex;width:100%;max-width:1700px;height:100%;min-height:0;flex-direction:column;padding:0;overflow:hidden;border-radius:18px;box-shadow:0 10px 34px rgba(22,23,28,.08)}
.editor-intro{align-items:center;padding:24px 28px;border-bottom:1px solid var(--line)}.editor-intro h1{margin:2px 0 4px;font-size:25px;line-height:1.2}.editor-intro p:last-child{margin:0;color:var(--muted);font-size:13px}.editor-intro .reset-button{align-self:center}
.editor-drop{width:calc(100% - 56px);min-height:calc(100vh - 156px);margin:28px}.editor-privacy{display:block;margin-top:18px;padding:7px 11px;border-radius:999px;background:#eef8f4;color:#24715b;font-size:11px;font-weight:700}
.editor-workspace{min-height:0;flex:1;padding:0;border:0}.editor-file-panel{display:grid;height:100%;min-height:0;grid-template-columns:116px minmax(0,1fr) 390px;grid-template-rows:auto minmax(0,1fr) auto}
.editor-canvas-heading{grid-column:1/3;padding:8px 18px 7px;border-right:1px solid var(--line);background:#f7f8fa}.editor-canvas-heading .step-label{font-size:9px}.editor-canvas-heading h3{font-size:14px;line-height:1.2}
.page-thumbnail-rail{grid-column:1;grid-row:2;display:flex;min-height:0;flex-direction:column;align-items:center;gap:12px;padding:10px;overflow-y:auto;border-right:1px solid #d7d9de;background:#f5f6f8;scrollbar-width:thin}.page-thumbnail-rail:empty{display:none}
.page-thumbnail-rail button{display:flex;width:88px;flex:0 0 auto;flex-direction:column;align-items:center;gap:4px;padding:5px;border:2px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:700 10px/1 "DM Sans",sans-serif;cursor:pointer}.page-thumbnail-rail button:hover,.page-thumbnail-rail button.active{border-color:#aaa7ff;background:#fff}.page-thumbnail-rail button.selected{color:var(--brand)}.page-thumbnail-rail button.active{border-color:var(--brand);color:var(--brand);box-shadow:0 0 0 2px rgba(91,87,255,.1)}
.page-thumbnail-rail button>span{display:grid;width:72px;height:92px;place-items:center;overflow:hidden;border-radius:4px;background:#e1e3e8;box-shadow:0 2px 6px rgba(22,23,28,.12)}.page-thumbnail-rail img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.editor-file-panel>.file-list{grid-column:2;grid-row:2;min-height:0;align-content:start;margin:0;padding:10px 18px 22px;overflow:auto;overflow-anchor:none;border-right:1px solid var(--line);background:#e9ebef;scrollbar-gutter:stable}
.editor-file-panel>.settings-panel{grid-column:3;grid-row:1/3;align-self:stretch;width:100%;min-height:0;margin:0;padding:18px 22px;border:0;border-radius:0;background:#fff;overflow:auto}
.editor-file-panel>.settings-panel.watermark-settings,.editor-file-panel>.settings-panel.signature-settings{width:100%;padding:22px}
.editor-action-bar{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:flex-end;gap:24px;min-height:78px;padding:12px 22px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 24px rgba(22,23,28,.04)}
.editor-action-bar p{display:flex;flex-direction:column;margin:0;text-align:right}.editor-action-bar p strong{font-size:13px}.editor-action-bar p span{color:var(--muted);font-size:11px}
.editor-action-bar .process-button{min-width:178px;margin:0}
.editor-page .file-list.signature-page-list,.editor-page .file-list.watermark-page-list{display:flex;flex-direction:column;align-items:center;gap:34px}
.editor-page .signature-page-card{width:min(100%,860px);padding:10px;background:#fff;box-shadow:0 8px 28px rgba(22,23,28,.1)}.editor-page .signature-page-stage{height:920px}
.editor-page .signature-page-toolbar{padding:2px 4px 12px}.editor-page .signature-page-toolbar strong{font-size:14px}.editor-page .signature-page-toolbar span{font-size:12px}
.editor-page .watermark-page{width:min(100%,750px)}.editor-page .watermark-page-toggle{padding:10px;background:#fff;box-shadow:0 8px 28px rgba(22,23,28,.09)}.editor-page .watermark-sheet{height:870px}.editor-page .watermark-paper.portrait,.editor-page .signature-paper.portrait{height:98%}.editor-page .watermark-paper.landscape,.editor-page .signature-paper.landscape{width:98%}.editor-page .watermark-page-toggle strong{padding-top:8px;font-size:14px}.editor-page .watermark-page-toggle small{font-size:12px}
.editor-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.editor-settings-heading>div{display:flex;min-width:0;flex-direction:column}.settings-start-over{flex:0 0 auto;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--brand);font-size:12px;font-weight:800;cursor:pointer}.settings-start-over:hover{border-color:var(--brand);background:#f5f5ff}
.editor-page .signature-method-panel canvas{height:138px}.editor-page .signature-type-panel{grid-template-columns:1fr}.editor-page .signature-preview-row,.editor-page .signature-placement-controls,.editor-page .signature-details{grid-template-columns:1fr}.editor-page .signature-date-option{grid-column:auto}
.editor-page .watermark-setting-grid{grid-template-columns:1fr}.editor-page .typography-grid{grid-template-columns:minmax(0,1fr) 124px}.editor-page .watermark-setting-grid .full{grid-column:auto}.editor-page .watermark-page-actions{align-items:stretch;flex-wrap:wrap}.editor-page .watermark-page-actions>div{flex-basis:100%}
.editor-page .processing-state,.editor-page .result-state{min-height:510px;padding:70px 24px}

@media(max-width:1050px){
 .editor-header{grid-template-columns:1fr auto}.editor-title{display:none}
 .editor-main{padding:8px}.editor-card{min-height:0}
 .editor-file-panel{grid-template-columns:102px minmax(0,1fr) 330px}.page-thumbnail-rail button{width:76px}.page-thumbnail-rail button>span{width:62px;height:80px}
 .editor-page .signature-page-card{width:min(100%,720px)}.editor-page .signature-page-stage{height:790px}.editor-page .watermark-page{width:min(100%,630px)}.editor-page .watermark-sheet{height:750px}
}
@media(max-width:760px){
 .editor-page{height:auto;min-height:100vh;overflow:auto}
 .editor-header{min-height:62px;padding:0 14px}.editor-header .brand{font-size:15px}.editor-close{font-size:0}.editor-close span{font-size:20px}
 .editor-main{height:auto;min-height:calc(100vh - 62px);padding:0}.editor-card{height:auto;min-height:calc(100vh - 62px);border:0;border-radius:0}
 .editor-intro{padding:18px}.editor-intro h1{font-size:22px}.editor-intro p:last-child{font-size:12px}
 .editor-drop{width:calc(100% - 28px);min-height:360px;margin:14px}
 .editor-file-panel{display:flex;min-height:0;flex-direction:column}.editor-canvas-heading{order:1;padding:7px 14px;border-right:0}
 .page-thumbnail-rail{order:2;display:flex;width:100%;max-height:none;flex-direction:row;align-items:center;gap:8px;padding:9px 10px;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid var(--line)}.page-thumbnail-rail:empty{display:none}.page-thumbnail-rail button{width:66px}.page-thumbnail-rail button>span{width:52px;height:66px}
 .editor-file-panel>.file-list{order:3;width:100%;max-height:none;padding:14px;border-right:0}
 .editor-file-panel>.settings-panel,.editor-file-panel>.settings-panel.watermark-settings,.editor-file-panel>.settings-panel.signature-settings{order:4;width:100%;max-height:none;padding:18px;border-top:1px solid var(--line)}
 .editor-page[data-editor-tool="sign-pdf"] .editor-file-panel>.settings-panel.signature-settings{order:3;border-top:0;border-bottom:1px solid var(--line)}.editor-page[data-editor-tool="sign-pdf"] .editor-file-panel>.file-list.signature-page-list{order:4}
 .editor-action-bar{position:sticky;z-index:12;bottom:0;order:5;width:100%;min-height:70px;padding:10px 14px}.editor-action-bar p{display:none}.editor-action-bar .process-button{width:100%}
 .editor-page .file-list.signature-page-list,.editor-page .file-list.watermark-page-list{gap:18px}
 .editor-page .signature-page-card,.editor-page .watermark-page{width:100%}.editor-page .signature-page-stage{height:min(128vw,680px)}.editor-page .watermark-sheet{height:min(125vw,650px)}
 .signature-resize-handle{width:24px;height:24px}.signature-resize-handle.top-left{top:-12px;left:-12px}.signature-resize-handle.top-right{top:-12px;right:-12px}.signature-resize-handle.bottom-left{bottom:-12px;left:-12px}.signature-resize-handle.bottom-right{right:-12px;bottom:-12px}.signature-rotate-handle,.signature-delete-handle{top:-40px;width:34px;height:34px;font-size:18px}.signature-rotate-handle{left:calc(50% - 21px)}.signature-delete-handle{left:calc(50% + 21px)}
}
.post-crop-frame{position:relative;display:grid;min-height:0;flex:1;place-items:center;overflow:hidden;border-radius:12px;background:#111722;touch-action:none}.post-crop-frame canvas{display:block;width:100%;height:100%;object-fit:contain}.post-crop-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.post-crop-lines polygon{fill:rgba(49,86,229,.13);stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 4px rgba(0,0,0,.8))}.post-crop-frame [data-edit-corner]{position:absolute;width:44px;height:44px;border:4px solid #fff;border-radius:50%;background:#3156e5;box-shadow:0 3px 14px rgba(0,0,0,.5);transform:translate(-50%,-50%);touch-action:none}.post-crop-frame [data-edit-corner]:focus-visible{outline:3px solid rgba(49,86,229,.4);outline-offset:3px}#postCaptureCrop{display:flex;min-height:0;flex:1;flex-direction:column}#postCaptureCrop[hidden],#postCaptureReview[hidden]{display:none!important}#postCaptureReview{display:flex;min-height:0;flex:1;flex-direction:column}
.post-crop-frame{width:min(100%,calc((100dvh - 190px)*var(--crop-ratio,.75)));max-height:calc(100dvh - 190px);aspect-ratio:var(--crop-ratio,.75);margin:auto;flex:none}.post-crop-frame canvas{width:100%;height:100%;object-fit:fill}
.live-camera-topbar button svg{display:block;width:18px;height:18px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round}.live-camera-topbar button{padding:0;line-height:0}
/* Scan to PDF */
.scan-page{max-width:1180px;margin:0 auto;padding:26px 24px 72px}.scan-hero{max-width:720px;margin:26px 0 30px}.scan-hero h1,.mobile-scan-intro h1{margin:7px 0 10px;color:#161b26;font-family:Manrope,sans-serif;font-size:clamp(32px,5vw,52px);line-height:1.08;letter-spacing:-.04em}.scan-hero>p:last-child,.mobile-scan-intro>p:last-child{margin:0;color:#626978;font-size:17px;line-height:1.65}.scan-workspace{display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:22px;align-items:start}.scan-connect-card,.scan-receive-card{border:1px solid #e2e5eb;border-radius:22px;background:#fff;box-shadow:0 16px 45px rgba(25,35,58,.07)}.scan-connect-card{padding:24px}.scan-receive-card{min-height:520px;padding:24px}.scan-step{display:flex;gap:13px;align-items:flex-start}.scan-step>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:#3156e5;color:#fff;font-weight:800}.scan-step strong{display:block;color:#161b26;font-size:17px}.scan-step p{margin:4px 0 0;color:#6b7280;line-height:1.45}.scan-qr-frame{display:grid;width:min(100%,290px);aspect-ratio:1;margin:24px auto 17px;padding:15px;place-items:center;border:1px solid #dfe4f1;border-radius:20px;background:#f8f9fd}.scan-qr-frame img{display:block;width:100%;height:100%}.scan-mobile-link{display:flex;justify-content:center;padding:12px 15px;border:1px solid #dfe4ec;border-radius:11px;color:#24324a;font-weight:700;text-decoration:none}.scan-security{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:14px;color:#667085;font-size:13px}.scan-security svg{width:16px;fill:none;stroke:#3156e5;stroke-width:1.8}.scan-empty{display:grid;min-height:350px;place-items:center;align-content:center;text-align:center;color:#737b8c}.scan-empty strong{margin-top:15px;color:#303746;font-size:18px}.scan-empty p{margin:5px 0}.scan-phone-icon{position:relative;width:58px;height:82px;border:3px solid #bac3d5;border-radius:12px}.scan-phone-icon:after{content:"";position:absolute;bottom:6px;left:50%;width:7px;height:7px;border-radius:50%;background:#3156e5;transform:translateX(-50%)}.scan-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px;margin:22px 0 0;padding:0;list-style:none}.scan-page-grid li{position:relative;overflow:hidden;border:1px solid #e0e4ec;border-radius:14px;background:#f7f8fb}.scan-page-grid li>span{position:absolute;z-index:1;top:8px;left:8px;display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#161b26;color:#fff;font-size:12px;font-weight:800}.scan-page-grid img{display:block;width:100%;height:185px;object-fit:contain;background:#eef1f7}.scan-page-grid li div{display:flex;justify-content:space-between;padding:10px 11px;color:#303746}.scan-page-grid small{color:#7a8291}.scan-actions{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:20px;padding-top:18px;border-top:1px solid #e5e7eb}.scan-actions>span{color:#5f6775;font-weight:700}.scan-create-button,.send-scans-button,.camera-button{border:0;border-radius:12px;background:#3156e5;color:#fff;font:700 15px DM Sans,sans-serif;cursor:pointer;box-shadow:0 9px 20px rgba(49,86,229,.2)}.scan-create-button{padding:13px 18px}.scan-create-button:disabled{cursor:wait;opacity:.65}.scan-result{display:flex;gap:14px;align-items:center;margin-top:28px;padding:18px;border:1px solid #b7e1cf;border-radius:15px;background:#f0fbf6}.scan-result>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#168a62;color:#fff;font-weight:800}.scan-result div{flex:1}.scan-result p{margin:3px 0 0;color:#667085}.scan-result a{padding:11px 14px;border-radius:10px;background:#168a62;color:#fff;font-weight:700;text-decoration:none}.scan-error,.mobile-scan-error{margin-top:16px;padding:12px 14px;border:1px solid #f2c6c2;border-radius:10px;background:#fff5f3;color:#a83d33}
.mobile-scan-body{min-height:100vh;background:#f4f6fa;color:#161b26}.mobile-scan-page{width:min(100%,560px);min-height:100vh;margin:0 auto;padding:18px 18px 42px}.mobile-scan-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #dfe3eb}.mobile-scan-header>span{color:#667085;font-size:13px;font-weight:700}.mobile-scan-intro{padding:34px 2px 20px}.mobile-scan-intro h1{font-size:36px}.camera-button{display:flex;width:100%;gap:15px;align-items:center;padding:18px;text-align:left}.camera-button svg{width:36px;fill:none;stroke:currentColor;stroke-width:1.8}.camera-button span{display:flex;flex-direction:column;gap:3px}.camera-button strong{font-size:17px}.camera-button small{color:rgba(255,255,255,.8);font-weight:500}.mobile-captures{margin-top:20px;padding:18px;border:1px solid #dfe3eb;border-radius:18px;background:#fff}.mobile-captures-heading{display:flex;align-items:center;justify-content:space-between}.mobile-captures-heading>div{display:flex;flex-direction:column}.mobile-captures-heading span{margin-top:3px;color:#71798a;font-size:13px}.mobile-captures-heading button,.mobile-success button{padding:9px 11px;border:1px solid #d9deea;border-radius:9px;background:#fff;color:#3156e5;font-weight:700}.mobile-captures ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:17px 0;padding:0;list-style:none}.mobile-captures li{position:relative;overflow:hidden;border:1px solid #e0e4ec;border-radius:12px;background:#f2f4f8}.mobile-captures li img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}.mobile-captures li span{display:block;padding:8px 9px;font-size:13px;font-weight:700}.mobile-captures li button{position:absolute;top:7px;right:7px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(22,27,38,.82);color:#fff;font-size:20px}.send-scans-button{width:100%;padding:14px 17px}.mobile-upload-state,.mobile-success,.mobile-scan-expired{display:grid;margin-top:24px;padding:40px 20px;place-items:center;border:1px solid #dfe3eb;border-radius:18px;background:#fff;text-align:center}.mobile-upload-state p,.mobile-success p,.mobile-scan-expired p{color:#687182}.mobile-success>span,.mobile-scan-expired>span{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;background:#168a62;color:#fff;font-size:24px;font-weight:800}.mobile-scan-expired>span{background:#b7483e}.mobile-success button{margin-top:6px}.camera-button:focus-visible,.scan-create-button:focus-visible,.send-scans-button:focus-visible,.scan-mobile-link:focus-visible{outline:3px solid rgba(49,86,229,.28);outline-offset:3px}
@media(max-width:760px){.scan-page{padding:20px 16px 48px}.scan-workspace{grid-template-columns:1fr}.scan-connect-card,.scan-receive-card{padding:18px;border-radius:17px}.scan-receive-card{min-height:420px}.scan-result{align-items:flex-start;flex-wrap:wrap}.scan-result a{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.scan-page *,.mobile-scan-page *{scroll-behavior:auto!important;transition:none!important}}
.scanner-entry{display:grid;gap:10px}.scanner-fallback-button{padding:12px;border:1px solid #d7ddea;border-radius:11px;background:#fff;color:#3156e5;font-weight:700}.live-scanner,.scan-editor{overflow:hidden;border:1px solid #d8dee9;border-radius:18px;background:#10141d;box-shadow:0 18px 45px rgba(12,18,30,.22)}.live-camera-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;color:#fff;font-size:13px}.live-camera-topbar button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:24px}.camera-viewport{position:relative;overflow:hidden;width:100%;aspect-ratio:3/4;background:#05070b;touch-action:none}.camera-viewport video{display:block;width:100%;height:100%;object-fit:cover}.crop-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.crop-lines polygon{fill:rgba(49,86,229,.06);stroke:#fff;stroke-width:.75;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px rgba(0,0,0,.7))}.crop-handle{position:absolute;width:34px;height:34px;border:3px solid #fff;border-radius:50%;background:#3156e5;box-shadow:0 2px 10px rgba(0,0,0,.45);transform:translate(-50%,-50%);touch-action:none}.camera-controls{position:relative;display:grid;min-height:92px;place-items:center}.capture-shutter{display:grid;width:66px;height:66px;place-items:center;border:3px solid #fff;border-radius:50%;background:transparent}.capture-shutter span{width:50px;height:50px;border-radius:50%;background:#fff}.camera-controls>#cameraUploadFallback{position:absolute;right:17px;padding:9px 11px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;font-weight:700}.scan-editor{padding:14px;background:#fff}.scan-editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.scan-editor-heading div{display:flex;flex-direction:column;gap:2px}.scan-editor-heading span{color:#747c8c;font-size:13px}.scan-editor-heading button{padding:8px 11px;border:1px solid #d7ddea;border-radius:9px;background:#fff;color:#3156e5;font-weight:700}.scan-canvas-frame{display:grid;overflow:hidden;max-height:62vh;place-items:center;border-radius:12px;background:#e9edf4}.scan-canvas-frame canvas{display:block;max-width:100%;max-height:62vh;object-fit:contain}.scan-edit-controls{display:grid;grid-template-columns:44px 1fr 44px;gap:10px;align-items:end;margin-top:13px}.scan-edit-controls>button{height:44px;border:1px solid #d7ddea;border-radius:10px;background:#f7f8fb;color:#273249;font-size:22px}.scan-edit-controls label{display:flex;flex-direction:column;gap:5px;color:#596273;font-size:12px;font-weight:700}.scan-edit-controls select{height:44px;padding:0 11px;border:1px solid #d7ddea;border-radius:10px;background:#fff;color:#1e2635;font:600 14px DM Sans,sans-serif}.use-scan-button{width:100%;margin-top:13px;padding:14px;border:0;border-radius:11px;background:#3156e5;color:#fff;font-weight:800}.scanner-fallback-button:focus-visible,.crop-handle:focus-visible,.capture-shutter:focus-visible,.scan-editor button:focus-visible,.scan-editor select:focus-visible{outline:3px solid rgba(49,86,229,.35);outline-offset:3px}
body.scanner-fullscreen{overflow:hidden;overscroll-behavior:none;touch-action:none}.live-camera-topbar>div{display:flex;min-width:0;flex-direction:column;gap:2px}.live-camera-topbar small{color:#b9c2d3;font-size:11px;line-height:1.3}.auto-capture-toggle{position:absolute;left:17px;display:flex;align-items:center;gap:7px;color:#fff;font-size:12px;font-weight:800}.auto-capture-toggle input{width:18px;height:18px;margin:0;accent-color:#4f73ff}.capture-shutter{position:relative}.capture-shutter i{position:absolute;inset:-8px;border-radius:50%;background:conic-gradient(#41d87b var(--steady,0deg),transparent 0);pointer-events:none;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 0)}.scanner-fullscreen .live-scanner{position:fixed;z-index:10000;inset:0;display:flex!important;width:100%;height:100vh;height:100dvh;flex-direction:column;border:0;border-radius:0;animation:scanner-enter .18s ease-out}.scanner-fullscreen .live-camera-topbar{flex:0 0 auto;padding-top:max(12px,env(safe-area-inset-top));background:#10141d}.scanner-fullscreen .camera-viewport{min-height:0;flex:1 1 auto;aspect-ratio:auto}.scanner-fullscreen .camera-controls{min-height:calc(92px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);flex:0 0 auto;background:#10141d}.scanner-fullscreen .scan-editor{position:fixed;z-index:10001;inset:0;display:flex!important;width:auto;height:100vh;height:100dvh;box-sizing:border-box;flex-direction:column;border:0;border-radius:0;overflow:auto;padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(14px,env(safe-area-inset-bottom));animation:scanner-enter .18s ease-out}.scanner-fullscreen .scan-editor[hidden]{display:none!important}.scanner-fullscreen .scan-canvas-frame{min-height:0;flex:1 1 auto;max-height:none}.scanner-fullscreen .scan-canvas-frame canvas{max-height:100%;object-fit:contain}@keyframes scanner-enter{from{opacity:.3;transform:scale(.985)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.scanner-fullscreen .live-scanner,.scanner-fullscreen .scan-editor{animation:none}}
/* Editorial blog */
.blog-main,.article-main{padding-top:18px}.blog-hero{max-width:820px;margin:28px auto 38px;text-align:center}.blog-hero h1,.article-hero h1{font-family:Manrope,"DM Sans",sans-serif;letter-spacing:-.045em;color:#172033}.blog-hero h1{font-size:clamp(2.25rem,5vw,4.2rem);line-height:1.02;margin:10px 0 16px}.blog-hero>p:last-child{max-width:640px;margin:auto;color:#667085;font-size:1.08rem;line-height:1.7}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1180px;margin:0 auto 72px}.blog-card{display:flex;flex-direction:column;min-height:288px;padding:26px;border:1px solid #e6eaf2;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(23,32,51,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.blog-card:hover{transform:translateY(-3px);border-color:#cfd7ff;box-shadow:0 18px 42px rgba(23,32,51,.09)}.blog-card-meta,.article-meta{display:flex;align-items:center;gap:10px;color:#667085;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.blog-card-meta span+span:before,.article-meta span+span:before{content:"·";margin-right:10px}.blog-card h2{font:700 1.25rem/1.28 Manrope,"DM Sans",sans-serif;letter-spacing:-.025em;margin:18px 0 10px}.blog-card h2 a{color:#172033;text-decoration:none}.blog-card>p{color:#667085;line-height:1.62;margin:0 0 20px}.blog-card-link{display:inline-flex;align-items:center;gap:7px;margin-top:auto;color:#4057d6;font-weight:700;text-decoration:none}.blog-card-link span{transition:transform .2s ease}.blog-card:hover .blog-card-link span{transform:translateX(3px)}
.blog-article{max-width:1120px;margin:0 auto 80px}.article-hero{max-width:850px;margin:34px auto 48px;text-align:center}.article-hero h1{font-size:clamp(2.25rem,5.4vw,4.35rem);line-height:1.03;margin:12px 0 20px}.article-deck{max-width:720px;margin:0 auto 20px;color:#5e687a;font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.65}.article-meta{justify-content:center}.article-layout{display:grid;grid-template-columns:minmax(0,720px) 290px;align-items:start;justify-content:center;gap:64px}.article-body{color:#344054;font-size:1.06rem;line-height:1.8}.article-body>p:first-child{font-size:1.2rem;color:#253047}.article-body p{margin:0 0 18px}.article-body section{margin-top:42px}.article-body h2{color:#172033;font:750 clamp(1.45rem,2.5vw,1.85rem)/1.25 Manrope,"DM Sans",sans-serif;letter-spacing:-.025em;margin:0 0 14px}.article-body ul{padding-left:1.35rem;margin:16px 0 0}.article-body li{padding-left:5px;margin:8px 0}.article-body a{color:#4057d6;text-underline-offset:3px}.article-tool-card{position:sticky;top:96px;padding:25px;border:1px solid #dfe5ff;border-radius:20px;background:linear-gradient(145deg,#f5f7ff,#fff);box-shadow:0 14px 36px rgba(53,71,160,.08)}.article-tool-card>p:first-child{color:#4057d6;font-size:.77rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin:0 0 9px}.article-tool-card h2{color:#172033;font:750 1.35rem/1.25 Manrope,"DM Sans",sans-serif;margin:0 0 9px}.article-tool-card>p{color:#667085;line-height:1.55;margin:0 0 18px}.article-tool-card .primary-action{display:flex;justify-content:center;align-items:center;min-height:46px;border-radius:12px;background:#4057d6;color:#fff;font-weight:700;text-decoration:none}.article-sources{padding-top:28px;border-top:1px solid #e6eaf2}.article-sources li{font-size:.96rem}.related-guides{margin-top:72px;padding-top:38px;border-top:1px solid #e6eaf2}.related-guides>h2{color:#172033;font:750 1.75rem Manrope,"DM Sans",sans-serif;margin:8px 0 22px}.related-guides>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.related-guides a{display:flex;flex-direction:column;min-height:180px;padding:22px;border:1px solid #e6eaf2;border-radius:18px;color:#172033;text-decoration:none;background:#fff}.related-guides a span{color:#667085;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.related-guides a strong{font:700 1.05rem/1.35 Manrope,"DM Sans",sans-serif;margin:12px 0}.related-guides a small{margin-top:auto;color:#4057d6;font-weight:700}
@media(max-width:900px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:minmax(0,720px);gap:32px}.article-tool-card{position:static;grid-row:1;padding:20px}.related-guides>div{grid-template-columns:1fr}}
@media(max-width:620px){.blog-main,.article-main{padding-top:8px}.blog-hero{margin:20px auto 28px}.blog-grid{grid-template-columns:1fr;gap:14px;margin-bottom:48px}.blog-card{min-height:0;padding:21px;border-radius:18px}.article-hero{margin:24px auto 34px;text-align:left}.article-hero h1{font-size:2.25rem}.article-meta{justify-content:flex-start;flex-wrap:wrap}.article-layout{gap:26px}.article-body{font-size:1rem;line-height:1.72}.article-body>p:first-child{font-size:1.08rem}.article-body section{margin-top:34px}.related-guides{margin-top:50px}.related-guides a{min-height:150px}}

/* Tool education and editorial depth */
.tool-education{padding:86px max(20px,calc((100vw - 1120px)/2));background:linear-gradient(180deg,#f8f9fc,#fff)}.tool-education-inner{max-width:1120px;margin:auto}.tool-content-intro{max-width:760px;margin-bottom:30px}.tool-content-intro .eyebrow{margin-top:0}.tool-content-intro h2{font:800 clamp(2rem,4vw,3.2rem)/1.08 Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 14px}.tool-content-intro>p:last-child{color:var(--muted);font-size:1.08rem}.tool-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0 52px}.tool-benefit-grid article{display:flex;align-items:flex-start;gap:12px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.tool-benefit-grid span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#e8f6f1;color:var(--success);font-weight:900}.tool-benefit-grid p{margin:0;font-weight:650;line-height:1.5}.tool-content-columns{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.tool-content-columns>section,.tool-troubleshooting,.tool-faq-block,.tool-links-block,.related-tools{padding:30px;border:1px solid var(--line);border-radius:20px;background:#fff}.tool-content-label{margin:0 0 7px;color:var(--brand);font-size:.75rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.tool-education h3{font-size:1.5rem;letter-spacing:-.025em;margin:0 0 20px}.tool-content-columns dl{display:grid;gap:18px;margin:0}.tool-content-columns dl div{padding-bottom:17px;border-bottom:1px solid var(--line)}.tool-content-columns dl div:last-child{padding-bottom:0;border:0}.tool-content-columns dt{font-weight:800}.tool-content-columns dd{margin:4px 0 0;color:var(--muted)}.use-case-list{display:grid;gap:10px;margin:0 0 28px;padding-left:20px}.privacy-inline{padding:16px;border-radius:13px;background:#f3f4ff;color:#555d74;font-size:.9rem}.privacy-inline a{color:var(--brand);font-weight:700;text-decoration:underline}.tool-troubleshooting,.tool-faq-block,.tool-links-block,.related-tools{margin-top:18px}.tool-troubleshooting>div{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool-troubleshooting article{padding:19px;border-radius:14px;background:var(--surface)}.tool-troubleshooting h4{margin:0 0 7px;font:750 1rem Manrope,sans-serif}.tool-troubleshooting article p{margin:0;color:var(--muted);font-size:.92rem}.tool-faq-block .faq-list{max-width:none}.tool-links-block{display:grid;grid-template-columns:260px 1fr;gap:26px;align-items:start}.tool-guide-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-guide-links a,.related-tools a{display:flex;min-width:0;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:border-color .18s,transform .18s}.tool-guide-links a:hover,.related-tools a:hover{border-color:#bec5ff;transform:translateY(-2px)}.tool-guide-links span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.tool-guide-links strong{margin:8px 0;font:700 .96rem/1.4 Manrope,sans-serif}.tool-guide-links small{margin-top:auto;color:var(--brand);font-weight:700}.related-tools>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related-tools a span{margin-top:7px;color:var(--muted);font-size:.85rem;line-height:1.45}
.editor-header-actions{justify-self:end;display:flex;align-items:center;gap:12px}.editor-guide-button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--brand);font-weight:800;cursor:pointer}.tool-guide-dialog{position:fixed;z-index:200;inset:0;padding:24px;background:rgba(17,19,28,.48);backdrop-filter:blur(6px);overflow:auto}.tool-education-overlay{position:relative;width:min(1120px,100%);margin:auto;padding:0;border-radius:24px;background:#fff;box-shadow:0 28px 90px rgba(0,0,0,.24)}.tool-education-overlay .tool-education-inner{padding:42px}.tool-education-overlay-bar{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--line);border-radius:24px 24px 0 0;background:rgba(255,255,255,.96);font-weight:800}.tool-guide-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:24px;line-height:1;cursor:pointer}.tool-guide-open{overflow:hidden}
.blog-discovery{max-width:1180px;margin:0 auto 28px}.blog-search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.blog-search>span{font-weight:800}.blog-search input{min-width:0;padding:8px 2px;border:0;outline:0;background:transparent}.blog-search small{color:var(--muted);font-weight:700}.blog-categories{display:flex;gap:8px;margin-top:14px;padding-bottom:4px;overflow-x:auto;scrollbar-width:thin}.blog-categories a{flex:0 0 auto;padding:8px 13px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-size:.82rem;font-weight:750}.blog-categories a[aria-current="page"]{border-color:var(--brand);background:#eff0ff;color:var(--brand)}.blog-card-meta a{color:inherit;text-decoration:none}.blog-empty{max-width:700px;margin:20px auto 70px;text-align:center;color:var(--muted)}.article-hero .eyebrow a,.article-meta a{color:inherit;text-decoration:none}.article-meta a{text-decoration:underline;text-underline-offset:3px}.article-diagram{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:18px;max-width:900px;margin:0 auto 52px;padding:28px;border:1px solid #dfe4ff;border-radius:22px;background:linear-gradient(145deg,#f4f6ff,#fff);box-shadow:0 16px 44px rgba(60,75,150,.08)}.article-diagram>div{display:flex;min-height:92px;flex-direction:column;justify-content:center;gap:8px;padding:16px;border:1px solid #e2e6f8;border-radius:14px;background:#fff;text-align:center}.article-diagram>div span{display:grid;place-items:center;width:24px;height:24px;margin:auto;border-radius:50%;background:var(--brand);color:#fff;font-size:.75rem;font-weight:800}.article-diagram>div strong{font:750 .95rem Manrope,sans-serif}.article-diagram>i{color:var(--brand);font-size:1.4rem;font-style:normal}.article-diagram figcaption{grid-column:1/-1;margin-top:2px;color:var(--muted);font-size:.82rem;text-align:center}
@media(max-width:900px){.tool-benefit-grid,.tool-troubleshooting>div{grid-template-columns:1fr}.tool-content-columns,.tool-links-block{grid-template-columns:1fr}.tool-guide-links,.related-tools>div{grid-template-columns:repeat(2,1fr)}.tool-education-overlay .tool-education-inner{padding:28px}.article-diagram{gap:10px}}
@media(max-width:620px){.tool-education{padding:62px 16px}.tool-content-columns>section,.tool-troubleshooting,.tool-faq-block,.tool-links-block,.related-tools{padding:21px}.tool-guide-links,.related-tools>div{grid-template-columns:1fr}.tool-guide-dialog{padding:0}.tool-education-overlay{min-height:100%;border-radius:0}.tool-education-overlay-bar{border-radius:0}.tool-education-overlay .tool-education-inner{padding:24px 16px 50px}.editor-header-actions{gap:7px}.editor-guide-button{padding:0 10px}.blog-search{grid-template-columns:1fr auto}.blog-search>span{grid-column:1/-1}.article-diagram{grid-template-columns:1fr;gap:8px;margin-bottom:36px;padding:18px}.article-diagram>i{transform:rotate(90deg);text-align:center}.article-diagram figcaption{grid-column:auto}}

/* Security, trust centre and public service status */
.trust-main,.service-status-main{max-width:none}.trust-hero,.service-status-hero{max-width:920px;margin:0 auto 42px;text-align:center}.trust-hero h1,.service-status-hero h1{font:800 clamp(2.4rem,5.8vw,4.7rem)/1.02 Manrope,sans-serif;letter-spacing:-.05em;margin:10px 0 18px}.trust-hero>p:not(.eyebrow),.service-status-hero>p{max-width:730px;margin:0 auto;color:var(--muted);font-size:1.08rem}.trust-callout{display:flex;align-items:flex-start;gap:12px;max-width:760px;margin:26px auto 0;padding:17px 19px;border:1px solid #cdd6f9;border-radius:15px;background:#f4f7ff;text-align:left}.trust-callout>span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#dff4ec;color:var(--success);font-weight:900}.trust-callout p{margin:0;color:#45506a;font-size:.92rem}.trust-page-nav{display:flex;justify-content:center;gap:8px;max-width:1120px;margin:0 auto 26px;overflow-x:auto}.trust-page-nav a{flex:0 0 auto;padding:8px 13px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--muted);font-size:.82rem;font-weight:750}.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1120px;margin:0 auto}.trust-grid article{display:flex;min-height:330px;flex-direction:column;padding:25px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 32px rgba(22,23,28,.045)}.trust-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eff1ff;color:var(--brand);font:800 .72rem Manrope,sans-serif;letter-spacing:.04em}.trust-grid h2{margin:20px 0 10px;font-size:1.25rem;letter-spacing:-.025em}.trust-grid p{color:var(--muted);font-size:.94rem;line-height:1.65}.trust-grid p a{color:var(--brand);font-weight:700;text-decoration:underline}.trust-grid article>strong{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);color:#3f485c;font-size:.78rem;line-height:1.5}.trust-report{display:flex;align-items:center;justify-content:space-between;gap:30px;max-width:1120px;margin:18px auto 0;padding:34px;border-radius:22px;background:#171923;color:#fff}.trust-report>div{max-width:740px}.trust-report .eyebrow{margin-top:0;color:#98a1ff}.trust-report h2{font-size:1.8rem;margin-bottom:9px}.trust-report p{margin:0;color:#bfc3cf}.trust-report p a{color:#fff;text-decoration:underline}.trust-report>a{display:flex;flex:0 0 auto;gap:14px;padding:12px 18px;border-radius:99px;background:#fff;color:#171923;font-weight:800}.trust-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1120px;margin:18px auto 0}.trust-links a{display:flex;flex-direction:column;padding:21px;border:1px solid var(--line);border-radius:16px;background:#fff}.trust-links span{margin-top:5px;color:var(--muted);font-size:.88rem}.service-status-hero{position:relative;padding-top:22px}.status-pulse{display:block;width:18px;height:18px;margin:0 auto 12px;border:5px solid #ddf3eb;border-radius:50%;background:var(--success);box-shadow:0 0 0 7px #eef9f5}.status-pulse.status-degraded{border-color:#ffe4d6;background:#c86024;box-shadow:0 0 0 7px #fff5ef}.service-checks{display:grid;gap:12px;max-width:900px;margin:0 auto}.service-checks article{display:grid;grid-template-columns:1fr auto;gap:6px 18px;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:#fff}.service-checks article>div{display:flex;align-items:center;gap:12px}.status-dot{display:block;width:10px;height:10px;border-radius:50%;background:var(--success)}.status-dot.status-degraded{background:#c86024}.status-dot.status-unknown{background:#9297a3}.status-label{color:var(--success);font-size:.82rem;font-weight:800}.service-checks article:has(.status-degraded) .status-label{color:#a84e1f}.service-checks article:has(.status-unknown) .status-label{color:#737985}.service-checks p{grid-column:1/-1;margin:0 0 0 22px;color:var(--muted);font-size:.9rem}.status-explainer{max-width:900px;margin:20px auto 0;padding:28px;border:1px solid #dfe4ff;border-radius:18px;background:#f5f7ff}.status-explainer h2{font-size:1.25rem}.status-explainer p{color:#586177}.status-explainer p:last-child{margin-bottom:0}.status-explainer a{color:var(--brand);font-weight:700;text-decoration:underline}
@media(max-width:900px){.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trust-report{align-items:flex-start;flex-direction:column}.trust-links{grid-template-columns:1fr}}
@media(max-width:620px){.trust-main,.service-status-main{padding-left:16px;padding-right:16px}.trust-hero,.service-status-hero{text-align:left}.trust-callout{margin-left:0}.trust-page-nav{justify-content:flex-start}.trust-grid{grid-template-columns:1fr}.trust-grid article{min-height:0;padding:22px}.trust-report{padding:26px 22px}.trust-report>a{width:100%;justify-content:center}.service-status-hero .status-pulse{margin-left:7px}.service-checks article{padding:19px}.service-checks p{margin-left:0}.status-explainer{padding:22px}}

/* Compact public-facing trust centre. */
.trust-grid article{min-height:260px}
.trust-grid article>strong a{color:var(--brand);text-decoration:none}
.trust-grid article>strong a:hover{text-decoration:underline}

/* Safe initial placement when strict CSP blocks style attributes during HTML parsing. */
.signature-placement{left:50%;top:50%;width:24%;transform:translate(-50%,-50%)}
.status-pulse.status-limited{border-color:#ffe4d6;background:#c86024;box-shadow:0 0 0 7px #fff5ef}
