:root{color:#17251f;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17251f;--muted:#66726c;--paper:#fffefa;--line:#d9ddd7;--green:#176b4b;--green-dark:#0e5138;--green-soft:#e2f2e9;--coral:#e66c55;--shadow:0 22px 60px #1f30281a;background:#f5f5ef;font-family:Inter,Avenir,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 8% 13%,#dbede1b3,#0000 28rem),radial-gradient(circle at 90% 5%,#f4ddcd7a,#0000 25rem),#f5f5ef;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,label{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,.page-stage:focus-visible,.upload-label:focus-within{outline-offset:3px;outline:3px solid #176b4b47}.site-header{justify-content:space-between;align-items:center;width:min(1180px,100% - 40px);height:80px;margin:0 auto;display:flex}.brand{color:var(--ink);letter-spacing:-.04em;align-items:center;gap:10px;font-family:Avenir,Segoe UI,sans-serif;font-size:19px;font-weight:800;text-decoration:none;display:inline-flex}.brand-mark{width:34px;height:34px;color:var(--paper);background:var(--green);border-radius:10px;place-items:center;display:grid;transform:rotate(-2deg)}.brand-mark svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:23px}.privacy-pill{color:#496157;background:#ffffff8a;border:1px solid #176b4b1f;border-radius:999px;align-items:center;gap:7px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}.privacy-pill svg{fill:none;width:15px;stroke:var(--green);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}main{width:min(1180px,100% - 40px);margin:0 auto}.hero{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:72px;min-height:calc(100vh - 164px);padding:56px 34px 90px;display:grid}.hero-copy{max-width:610px}.eyebrow{color:var(--green);letter-spacing:.16em;text-transform:uppercase;margin:0 0 16px;font-size:12px;font-weight:700}h1{letter-spacing:-.065em;max-width:590px;margin:0;font-family:Avenir,Segoe UI,sans-serif;font-size:clamp(46px,6vw,76px);font-weight:800;line-height:.98}.hero-description{max-width:570px;color:var(--muted);margin:26px 0 0;font-size:18px;line-height:1.65}.steps{color:#53645c;gap:22px;margin:34px 0 0;padding:0;font-size:13px;font-weight:600;list-style:none;display:flex}.steps li{align-items:center;gap:7px;display:flex}.steps span{width:22px;height:22px;color:var(--green);background:var(--green-soft);border-radius:50%;place-items:center;display:grid}.upload-panel{box-shadow:var(--shadow);background:#fffefabd;border:1px solid #176b4b1f;border-radius:28px;padding:12px;position:relative}.upload-panel:before,.upload-panel:after{z-index:-1;content:"";border-radius:24px;width:80px;height:80px;position:absolute;transform:rotate(11deg)}.upload-panel:before{background:#f3cbb5;top:-24px;right:-25px}.upload-panel:after{background:#b9dac5;bottom:-24px;left:-25px;transform:rotate(-9deg)}#file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.upload-label{cursor:pointer;border:1.5px dashed #a9bbb2;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;min-height:390px;padding:50px 28px;transition:background .16s,border-color .16s,transform .16s;display:flex}.upload-panel:hover .upload-label,.upload-panel.is-dragging .upload-label{border-color:var(--green);background:#f0f8f3;transform:translateY(-2px)}.upload-icon{width:74px;height:74px;color:var(--green);background:var(--green-soft);border-radius:22px;place-items:center;margin-bottom:24px;display:grid;transform:rotate(2deg)}.upload-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:38px}.upload-label strong{margin-bottom:7px;font-family:Avenir,Segoe UI,sans-serif;font-size:20px;font-weight:700}.upload-label>span:not(.upload-icon,.choose-button){color:var(--muted);font-size:14px}.choose-button{color:#fff;background:var(--green);border-radius:10px;margin-top:25px;padding:11px 18px;font-size:14px;font-weight:700;box-shadow:0 7px 18px #176b4b2e}.has-document .hero{display:none}.workspace{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffefad6;border:1px solid #2b473a21;border-radius:20px;margin-top:18px;overflow:hidden;box-shadow:0 24px 70px #24352d17}.document-bar,.toolbar{justify-content:space-between;align-items:center;display:flex}.document-bar{border-bottom:1px solid var(--line);min-height:70px;padding:12px 20px}.file-details{align-items:center;gap:11px;min-width:0;display:flex}.file-details>span:last-child{flex-direction:column;min-width:0;display:flex}.file-details strong{text-overflow:ellipsis;white-space:nowrap;max-width:min(54vw,560px);font-size:14px;overflow:hidden}.file-details small{color:var(--muted);margin-top:2px;font-size:12px}.file-icon{color:#cf5f4b;background:#fae7e1;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.file-icon svg{fill:none;stroke:currentColor;stroke-linejoin:round;stroke-width:1.6px;width:21px}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:700}.text-button:hover{background:var(--green-soft)}.toolbar{background:var(--paper);border:0;border-bottom:1px solid var(--line);min-height:68px;gap:18px;min-inline-size:0;margin:0;padding:10px 20px}.page-navigation,.page-field{align-items:center;gap:8px;display:flex}.page-field{color:var(--muted);white-space:nowrap;font-size:13px}.page-field input{width:54px;height:34px;color:var(--ink);text-align:center;border:1px solid var(--line);appearance:textfield;background:#fff;border-radius:7px;font-size:13px;font-weight:700}.page-field input::-webkit-inner-spin-button{appearance:none;margin:0}.page-field input::-webkit-outer-spin-button{appearance:none;margin:0}.icon-button{width:34px;height:34px;color:var(--ink);cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:8px;place-items:center;padding:0;display:grid}.icon-button:hover:not(:disabled){color:var(--green);border-color:#9db8aa}.icon-button:disabled{color:#afb8b3;cursor:not-allowed;background:#f5f6f3}.icon-button svg,.export-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px}.selection-guidance{min-width:0;color:var(--muted);align-items:center;gap:8px;margin:0;font-size:13px;display:flex}.selection-guidance.has-selection{color:var(--green);font-weight:600}.guidance-dot{background:var(--coral);border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 0 4px #e66c551f}.export-button{color:#fff;cursor:pointer;background:var(--green);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:158px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:700;display:inline-flex;box-shadow:0 7px 18px #176b4b29}.export-button:hover:not(:disabled){background:var(--green-dark);transform:translateY(-1px)}.export-button:disabled{color:#9eaaa4;cursor:not-allowed;box-shadow:none;background:#e5e8e4}.export-button.is-loading{color:#0000;pointer-events:none}.export-button.is-loading:after{content:"";border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin;position:absolute}.viewer{background-color:#e7e8e4;background-image:radial-gradient(#c9cec9 .8px,#0000 .8px);background-size:15px 15px;justify-content:center;align-items:flex-start;min-height:680px;max-height:calc(100vh - 292px);padding:32px;display:flex;position:relative;overflow:auto}.loading-card{color:#53645c;background:var(--paper);border:1px solid var(--line);border-radius:13px;justify-content:center;align-items:center;gap:12px;min-width:220px;margin:220px auto 0;padding:18px 22px;font-size:14px;display:flex;box-shadow:0 12px 30px #2230291a}.spinner{border:2px solid #c9d8d0;border-top-color:var(--green);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.page-stage{color:inherit;text-align:initial;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border:0;flex:none;padding:0;position:relative;box-shadow:0 18px 45px #1f2a242e,0 2px 7px #1f2a2421}#pdf-canvas{pointer-events:none;width:100%;height:100%;display:block}.selection-box{border:2px solid var(--green);pointer-events:none;background:#176b4b21;display:none;position:absolute;box-shadow:inset 0 0 0 1px #ffffffb3,0 6px 16px #0f442f24}.selection-box.is-visible{display:block}.selection-box.is-drawing{background:#176b4b17;border-style:dashed}.selection-box.is-resizing{background:#176b4b2e}.resize-handle{background:var(--paper);border:2px solid var(--green);pointer-events:auto;border-radius:50%;width:16px;height:16px;transition:background .12s,transform .12s;position:absolute;box-shadow:0 2px 6px #0f442f3d}.resize-handle:hover{background:var(--green-soft);transform:scale(1.16)}.resize-handle-nw{cursor:nwse-resize;top:-9px;left:-9px}.resize-handle-ne{cursor:nesw-resize;top:-9px;right:-9px}.resize-handle-se{cursor:nwse-resize;bottom:-9px;right:-9px}.resize-handle-sw{cursor:nesw-resize;bottom:-9px;left:-9px}.selection-box.is-drawing .resize-handle{display:none}.selection-label{color:#fff;white-space:nowrap;background:var(--green);border-radius:5px;padding:4px 7px;font-size:11px;font-weight:700;position:absolute;top:-31px;left:-2px}.selection-box[style*="top: 0"] .selection-label{top:5px;left:5px}.export-note{min-height:52px;color:var(--muted);text-align:center;border-top:1px solid var(--line);background:#f7f7f2;justify-content:center;align-items:center;gap:9px;padding:10px 20px;font-size:12px;display:flex}.export-note svg{fill:none;width:16px;stroke:var(--green);stroke-linecap:round;stroke-width:1.5px;flex:none}.status-message{min-height:21px;color:var(--green);text-align:center;margin:12px 0 0;font-size:13px;font-weight:600}.status-message.is-error{color:#a74333}footer{color:#77827d;justify-content:center;align-items:center;gap:9px;min-height:68px;font-size:12px;display:flex}@media (width<=900px){.hero{grid-template-columns:1fr;gap:48px;max-width:660px;margin:0 auto;padding-top:40px}.hero-copy{text-align:center}.hero-description{margin-left:auto;margin-right:auto}.steps{justify-content:center}.toolbar{flex-wrap:wrap}.selection-guidance{order:3;justify-content:center;width:100%}.viewer{min-height:580px;max-height:none}}@media (width<=620px){.site-header,main{width:min(100% - 24px,1180px)}.site-header{height:66px}.privacy-pill{padding:7px 9px;font-size:11px}.hero{min-height:0;padding:48px 4px 60px;display:block}h1{font-size:48px}.hero-description{font-size:16px}.steps{flex-direction:column;align-items:center}.upload-panel{margin-top:48px}.upload-label{min-height:330px}.workspace{border-radius:14px;margin-top:10px}.document-bar{padding:10px 12px}.text-button{font-size:0}.text-button:after{content:"Replace";font-size:12px}.toolbar{justify-content:center;padding:12px}.export-button{min-width:148px}.viewer{justify-content:flex-start;min-height:500px;padding:18px}.page-stage{margin:0 auto}footer{flex-wrap:wrap;padding:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.is-hidden{display:none}
