:root{color-scheme:light;--primary:#2458d3;--primary-hover:#1948b8;--ink:#172033;--muted:#657187;--border:#dfe5ee;--soft:#f5f7fb;--white:#fff;--success:#157347;--danger:#b42318;--radius:18px;--shadow:0 16px 44px rgba(24,39,75,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.drop-zone:focus-visible{outline:3px solid #9bb7ff;outline-offset:3px}.container{width:min(1100px,calc(100% - 40px));margin-inline:auto}.site-header{height:76px;border-bottom:1px solid #edf0f5;background:rgba(255,255,255,.92)}.header-inner,.footer-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.logo{color:var(--ink);font-size:23px;font-weight:800;letter-spacing:-1.1px;text-decoration:none}.logo span{color:var(--primary)}nav{display:flex;gap:30px}nav a{color:#4b5568;text-decoration:none;font-size:14px;font-weight:550}nav a:hover{color:var(--primary)}.hero{padding-top:64px;padding-bottom:70px}.hero-copy{text-align:center;max-width:720px;margin:0 auto 34px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#42536e;background:#f2f5fb;border:1px solid #e7ecf5;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#2f67df}.hero h1{font-size:clamp(36px,5.2vw,58px);line-height:1.08;letter-spacing:-2.5px;margin:20px 0 18px;font-weight:800}.hero h1 span{color:var(--primary)}.hero-description{max-width:590px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.7}.tool-card{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.drop-zone{margin:14px;border:1.5px dashed #cbd5e4;border-radius:15px;background:#fbfcfe;text-align:center;padding:34px 18px 26px;transition:border-color .18s,background .18s}.drop-zone.drag-over{border-color:var(--primary);background:#f1f6ff}.upload-icon{width:60px;height:60px;border-radius:16px;background:#eaf0ff;color:var(--primary);display:grid;place-items:center;margin:0 auto 16px}.upload-icon svg,.privacy-note svg,.privacy-mark svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.drop-zone h2{font-size:20px;margin:0 0 5px;letter-spacing:-.4px}.drop-zone>p{color:var(--muted);font-size:14px;margin:0 0 18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;border:1px solid transparent;border-radius:10px;padding:10px 17px;font-size:14px;font-weight:700;text-decoration:none;transition:background .15s,border-color .15s;white-space:nowrap}.button-primary{background:var(--primary);color:#fff}.button-primary:hover{background:var(--primary-hover)}.choose-button{min-width:155px}.format-note{font-size:11px;color:#768196;font-weight:700;letter-spacing:.1em;margin-top:17px}.format-note span{padding:0 5px;color:#b4bdca}.small-note{font-size:12px!important;margin:12px 0 0!important;color:#8791a2!important}.privacy-note{display:flex;align-items:center;justify-content:center;gap:10px;color:#657187;font-size:13px;margin-top:21px}.privacy-note svg{width:18px;height:18px;color:#59708f}.privacy-note strong{color:#34425a}.how-section{background:#f7f9fc;padding:68px 0 76px;border-top:1px solid #f0f2f6}.section-heading{text-align:center;margin-bottom:36px}.section-kicker{color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.16em}.section-heading h2{font-size:32px;letter-spacing:-1px;margin:8px 0}.section-heading p{color:var(--muted);margin:0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{background:#fff;border:1px solid #e6ebf2;border-radius:15px;padding:25px 24px;min-height:172px}.step-number{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf2ff;color:var(--primary);font-size:12px;font-weight:800;margin-bottom:17px}.step h3{font-size:16px;margin:0 0 7px}.step p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.privacy-section{padding:48px 0}.privacy-panel{max-width:820px;display:flex;gap:18px;align-items:flex-start;border:1px solid var(--border);border-radius:16px;padding:23px 26px}.privacy-mark{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:12px;background:#eff4ff;color:var(--primary)}.privacy-mark svg{width:22px;height:22px}.privacy-panel h2{font-size:16px;margin:1px 0 6px}.privacy-panel p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.site-footer{height:80px;border-top:1px solid #edf0f5}.footer-inner{gap:18px;color:#818b9b;font-size:12px}.footer-logo{font-size:18px}.file-area{padding:8px 24px 25px}.file-area-heading,.results-heading,.settings-title,.quality-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.file-area-heading strong{display:block;font-size:14px}.subtle{display:block;color:var(--muted);font-size:12px;margin-top:2px}.text-button{border:0;background:transparent;color:var(--primary);font-size:13px;font-weight:700;padding:8px}.file-list{display:grid;gap:9px;margin-top:16px}.file-item{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e7ebf2;border-radius:12px;min-width:0}.file-preview{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:#f2f4f8;border-radius:8px;overflow:hidden}.file-preview img{width:100%;height:100%;object-fit:cover}.file-information{min-width:0;flex:1}.file-name{font-size:13px;font-weight:650;overflow-wrap:anywhere}.file-size{font-size:12px;color:var(--muted)}.remove-file{border:1px solid #e3e7ee;background:#fff;color:#5c6677;border-radius:8px;width:32px;height:32px;font-size:20px;line-height:1}.remove-file:hover{background:#fff1f0;color:var(--danger)}.settings{margin-top:22px;border-top:1px solid #edf0f5;padding-top:22px}.settings-title h3,.results-heading h3{font-size:16px;margin:0}.mode-switch{display:flex;gap:5px;padding:4px;background:#f0f3f8;border-radius:10px;margin:18px 0}.mode-button{flex:1;border:0;border-radius:7px;background:transparent;color:#667186;padding:9px 10px;font-size:13px;font-weight:700}.mode-button.active{background:#fff;color:var(--primary);box-shadow:0 1px 4px rgba(24,39,75,.1)}.setting-panel{padding:2px 0 5px}.field-label{display:block;font-size:12px;font-weight:750;color:#39465c;margin-bottom:8px}.target-row{display:flex;gap:8px;max-width:280px}.target-row input,.target-row select,.format-field select{border:1px solid #d7deea;border-radius:9px;background:#fff;color:var(--ink);height:42px;padding:0 12px}.target-row input{width:100%;min-width:0}.target-row select{width:83px}.preset-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.preset-row button{border:1px solid #dce3ed;background:#fff;border-radius:8px;padding:7px 12px;font-size:12px;color:#49566b}.preset-row button:hover{border-color:#9db4ef;color:var(--primary)}.hint{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.6}.quality-heading output{font-size:12px;color:var(--primary);font-weight:800}.quality-controls input[type=range],#quality-range{width:100%;accent-color:var(--primary)}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:#7a8597}.settings-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-top:20px}.format-field{flex:1;min-width:0}.format-field select{width:100%;max-width:310px}.compress-button{min-width:165px}.button-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.status-message{min-height:0;font-size:12px;color:var(--muted);margin:10px 0 0}.status-message:empty{display:none}.status-message.error{color:var(--danger)}.status-message.success{color:var(--success)}.results-section{border-top:1px solid #edf0f5;margin-top:23px;padding-top:21px}.results-heading{margin-bottom:14px}.button-secondary{background:#fff;border-color:#d7deea;color:#39465c}.button-secondary:hover{background:#f6f8fb}.results-list{display:grid;gap:10px}.result-item{display:flex;align-items:center;gap:12px;border:1px solid #e3e8f0;border-radius:12px;padding:12px}.result-preview{width:50px;height:50px;flex:0 0 50px;border-radius:8px;background:#f1f4f8;overflow:hidden}.result-preview img{width:100%;height:100%;object-fit:cover}.result-info{flex:1;min-width:0}.result-name{font-size:13px;font-weight:700;overflow-wrap:anywhere}.result-sizes{font-size:12px;color:var(--muted);margin-top:3px}.result-sizes strong{color:var(--ink)}.saved{display:inline-block;color:var(--success);font-weight:750;margin-left:5px}.result-warning{font-size:11px;color:#9a5a05;margin-top:3px}.download-button{border:1px solid #cdd9f4;background:#f3f6ff;color:var(--primary);padding:8px 11px;border-radius:8px;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}.download-button:hover{background:#e7eeff}.result-error{color:var(--danger);font-size:12px}.hidden,[hidden]{display:none!important}
@media(max-width:650px){.container{width:min(100% - 28px,1100px)}.site-header{height:65px}.logo{font-size:21px}nav{gap:15px}nav a{font-size:12px}.hero{padding-top:44px;padding-bottom:48px}.hero-copy{margin-bottom:26px}.hero h1{font-size:39px;letter-spacing:-1.7px}.hero-description{font-size:15px}.tool-card{border-radius:16px}.drop-zone{margin:9px;padding:29px 13px 23px}.file-area{padding:7px 14px 18px}.settings-title{align-items:flex-start;flex-direction:column;gap:3px}.steps{grid-template-columns:1fr;gap:11px}.step{min-height:auto;padding:19px}.section-heading h2{font-size:28px}.how-section{padding:52px 0}.privacy-section{padding:30px 0}.privacy-panel{padding:18px;gap:12px}.footer-inner{flex-wrap:wrap;justify-content:space-between;gap:8px}.footer-inner>span:last-child{width:100%;padding-bottom:12px}.site-footer{height:auto;min-height:80px}.settings-bottom{align-items:stretch;flex-direction:column}.format-field select{max-width:none}.compress-button{width:100%}.results-heading{align-items:flex-start}.result-item{align-items:flex-start;flex-wrap:wrap}.result-info{min-width:calc(100% - 70px)}.result-item .download-button{margin-left:62px}.privacy-note{align-items:flex-start;text-align:left}.preset-row{gap:6px}.preset-row button{padding:7px 9px}}
