:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:#202124;background:#fbfbfd;font-synthesis:none;font-optical-sizing:auto}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfbfd}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site-header{height:72px;background:rgba(251,251,253,.9);border-bottom:1px solid #e9e9ed}.header-inner{max-width:1120px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:19px;font-weight:700;letter-spacing:-.045em}.brand-dot{color:#416fe7}.site-header nav{display:flex;gap:34px;align-items:center;color:#35363b;font-size:15px;font-weight:500}.site-header nav>a:hover{color:#416fe7}.privacy-pill{width:150px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;border:1px solid #e1e3e9;border-radius:9px;background:#fff;color:#454952;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;box-shadow:0 3px 12px #25283008;transition:background .18s,border-color .18s,color .18s}.privacy-pill:hover{background:#f4f6fb;border-color:#d4d9e5;color:#2856c7}.privacy-pill svg{width:16px;height:16px;fill:none;stroke:#416fe7;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-divider{width:1px;height:20px;background:#d9dbe2}.locale{border:1.5px solid #416fe7;border-radius:5px;color:#416fe7;background:transparent;padding:3px 5px;font-size:12px;font-weight:700;min-width:29px}.locale:hover{background:#eef3ff}.hero{position:relative;z-index:1;min-height:calc(100svh - 72px);padding:clamp(76px,calc(8vh + 30px),118px) 24px 48px}.hero-inner{width:min(100%,900px);margin:auto;text-align:center}.eyebrow,.section-kicker,.result-kicker{color:#777b85;letter-spacing:.1em;font-size:13px;font-weight:700}.eyebrow{margin:0 0 16px}.hero h1{font-size:clamp(44px,5vw,70px);line-height:1.05;letter-spacing:-.065em;margin:0;font-weight:750;min-height:2.1em}.hero h1 span:first-child{color:#202124}.hero h1 span:last-child{color:#555962}.intro{font-size:18px;line-height:1.45;color:#858993;max-width:670px;margin:20px auto 29px}.upload-form{max-width:790px;text-align:left;margin:auto}.upload-form>label{display:block;font-size:14px;font-weight:650;margin:0 0 10px 4px}.upload-card{position:relative;min-height:70px;background:white;border:1px solid #e1e3e9;border-radius:19px;box-shadow:0 10px 40px #2528300c;display:flex;align-items:center;padding:7px;gap:10px;transition:border-color .2s,box-shadow .2s,transform .2s}.upload-card:focus-within,.upload-card:focus-visible,.upload-card.dragging{border-color:#8aa8fa;box-shadow:0 10px 40px #2528300c,0 0 0 4px #416fe71a;outline:none}.upload-card.dragging{transform:none}.drop-overlay{position:fixed;z-index:100;inset:10px;display:grid;place-content:center;justify-items:center;gap:10px;background:#202124e8;color:#fff;opacity:0;visibility:hidden;pointer-events:none;backdrop-filter:blur(5px);transition:opacity .18s,visibility .18s}.dropzone-active .drop-overlay{opacity:1;visibility:visible}.drop-corners{position:absolute;inset:22px;pointer-events:none}.drop-corners i{position:absolute;width:36px;height:36px;border-color:#fff;border-style:solid}.drop-corners i:nth-child(1){top:0;left:0;border-width:4px 0 0 4px;border-radius:14px 0 0}.drop-corners i:nth-child(2){top:0;right:0;border-width:4px 4px 0 0;border-radius:0 14px 0 0}.drop-corners i:nth-child(3){bottom:0;left:0;border-width:0 0 4px 4px;border-radius:0 0 0 14px}.drop-corners i:nth-child(4){bottom:0;right:0;border-width:0 4px 4px 0;border-radius:0 0 14px}.drop-title{font-size:clamp(30px,5vw,58px);font-weight:750;letter-spacing:-.06em}.drop-subtitle{font-size:15px;color:#ffffffb5}.upload-icon{width:25px;height:25px;color:#8e929c;margin-left:15px;flex:none}.upload-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.placeholder{min-width:0;flex:1;color:#a7aab3;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.primary{border:0;border-radius:13px;background:#202124;color:white;font-weight:600;cursor:pointer;padding:17px 23px;white-space:nowrap;display:inline-flex;gap:15px;align-items:center;justify-content:center;transition:background .18s,transform .18s}.primary:hover{background:#40434a;transform:translateY(-1px)}.file-picker{user-select:none}.file-picker[aria-disabled="true"]{opacity:.65;pointer-events:none}.primary:disabled{opacity:.65;cursor:wait;transform:none}.format-note{font-size:12px;color:#989ca5;margin:11px 4px 0}.processing{width:min(100%,620px);margin:28px auto 0;padding:19px 21px;background:#fff;border:1px solid #e7e8ec;border-radius:16px;box-shadow:0 10px 35px #2528300c;text-align:left;animation:surface-in .25s ease-out both}.processing-copy{display:flex;justify-content:space-between;gap:20px;color:#555962;font-size:14px;font-weight:600;margin-bottom:12px}.processing-copy span:last-child{color:#416fe7;font-variant-numeric:tabular-nums}.progress-track{height:5px;border-radius:99px;background:#edf0f6;overflow:hidden}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:#416fe7;transition:width .35s ease}.error-message{max-width:620px;margin:20px auto 0;padding:14px 18px;border-radius:12px;background:#fff2f1;color:#a54038;text-align:left;font-size:14px}.result{max-width:900px;margin:-24px auto 76px;padding:0 24px;animation:surface-in .3s ease-out both}.result-card{background:#fff;border:1px solid #e7e8ec;border-radius:22px;padding:24px;box-shadow:0 15px 50px #2528300a}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.result-kicker{margin:0 0 7px;font-size:11px}.result h2{font-size:22px;letter-spacing:-.045em;margin:0;line-height:1.25}.reset-button,.copy-button{border:1px solid #e1e3e9;border-radius:11px;background:#fff;color:#35363b;font-size:13px;font-weight:600;padding:11px 15px;white-space:nowrap;transition:background .18s,border-color .18s}.reset-button:hover,.copy-button:hover{background:#f5f6f9;border-color:#cfd3dc}.comparison{position:relative;width:100%;aspect-ratio:16/9;max-height:530px;overflow:hidden;border-radius:14px;isolation:isolate;background-color:#fff}.checkerboard{background-color:#fff;background-image:linear-gradient(45deg,#e9e9ed 25%,transparent 25%),linear-gradient(-45deg,#e9e9ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9e9ed 75%),linear-gradient(-45deg,transparent 75%,#e9e9ed 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.comparison img{position:absolute;width:100%;height:100%;inset:0;object-fit:contain}.comparison-after{z-index:0}.comparison-before-wrap{position:absolute;z-index:1;inset:0 auto 0 0;width:50%;overflow:hidden;border-right:0}.comparison-before-wrap img{width:min(900px,calc(100vw - 48px));max-width:none;right:auto}.comparison-range{position:absolute;z-index:4;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}.comparison-divider{position:absolute;z-index:2;top:0;bottom:0;left:50%;width:2px;background:#fff;box-shadow:0 0 2px #0005;pointer-events:none;transform:translateX(-1px)}.comparison-divider span{position:absolute;top:50%;left:50%;width:42px;height:42px;display:grid;place-items:center;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#202124;color:#fff;font-size:20px;box-shadow:0 2px 12px #0003}.image-label{position:absolute;z-index:3;bottom:12px;padding:6px 9px;border-radius:7px;background:#202124b8;color:#fff;font-size:11px;font-weight:650;pointer-events:none}.label-before{left:12px}.label-after{right:12px}.result-meta{display:flex;justify-content:space-between;gap:14px;margin:13px 2px 17px;color:#8b8f98;font-size:12px}.result-meta span:first-child{font-variant-numeric:tabular-nums;color:#555962;font-weight:600}.result-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.background-options{display:flex;align-items:center;gap:8px}.background-label{font-size:12px;color:#858993;margin-left:3px}.swatch{width:25px;height:25px;padding:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #d7d9df;cursor:pointer;position:relative}.swatch.active,.swatch:focus-visible{box-shadow:0 0 0 2px #416fe7;outline:none}.checker-swatch{background-color:#fff;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:9px 9px;background-position:0 0,0 4.5px,4.5px -4.5px,-4.5px 0}.white-swatch{background:#fff}.black-swatch{background:#000}.custom-swatch{display:grid;place-items:center;background:conic-gradient(#f66,#ff6,#6f6,#6ff,#66f,#f6f,#f66)}.custom-swatch input{width:100%;height:100%;opacity:0;cursor:pointer}.result-actions{display:flex;gap:10px}.result-actions .primary{padding:13px 18px;font-size:14px}.copy-button{padding:12px 15px}.how{background:white;border-top:1px solid #eeeef1;padding:88px 28px 104px}.how-inner{max-width:1120px;margin:auto}.section-kicker{margin:0 0 12px}.how h2{font-size:clamp(36px,4vw,55px);letter-spacing:-.055em;margin:0 0 45px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:46px}.steps article{border-top:1px solid #e4e5ea;padding-top:22px}.steps article>span{font-size:13px;color:#8d919b;font-weight:650}.steps h3{font-size:20px;letter-spacing:-.03em;margin:22px 0 9px}.steps p{color:#848893;line-height:1.5;margin:0;font-size:15px}footer{max-width:1120px;margin:auto;padding:30px 28px 42px;display:flex;justify-content:space-between;gap:20px;color:#90949e;font-size:13px}footer>.footer-brand{font-weight:700;color:#24262a;font-size:17px;letter-spacing:-.04em;white-space:nowrap}footer p{margin:0}.toast{position:fixed;z-index:10;left:50%;bottom:28px;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:11px 17px;border-radius:999px;background:#202124;color:#fff;font-size:13px;font-weight:600;box-shadow:0 7px 24px #0002;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}@keyframes surface-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.site-header{height:62px}.header-inner{padding:0 20px}.site-header nav{gap:10px;font-size:13px}.privacy-pill{width:150px;padding:7px 8px;font-size:13px}.privacy-pill svg{width:16px;height:16px}.hero{min-height:calc(100svh - 62px);padding:38px 20px 270px}.eyebrow{font-size:11px;margin-bottom:12px}.hero h1{font-size:clamp(32px,8vw,48px);line-height:1.06;min-height:3.18em}.intro{font-size:15px;margin:15px auto 19px;line-height:1.4}.upload-card{display:grid;grid-template-columns:26px 1fr;padding:12px;gap:10px}.upload-icon{margin-left:3px}.placeholder{font-size:14px}.upload-card .primary{grid-column:1/-1;width:100%;padding:15px}.processing{margin-top:22px}.result{margin:0 auto 55px;padding:0 15px}.result-card{padding:15px;border-radius:18px}.result-heading{align-items:flex-start}.result h2{font-size:18px}.reset-button{padding:9px 10px;font-size:12px}.comparison{aspect-ratio:4/3}.comparison-before-wrap img{width:calc(100vw - 30px)}.result-bottom{align-items:stretch;flex-direction:column}.result-actions{display:grid;grid-template-columns:1fr 1.25fr}.result-actions button{width:100%;justify-content:center;padding:12px 8px!important;font-size:13px!important}.result-meta{font-size:11px}.how{padding:70px 20px 80px}.steps{grid-template-columns:1fr;gap:31px}.how h2{margin-bottom:34px}footer{padding:25px 20px 36px;display:block}footer p{margin-top:8px}}@media(max-width:380px){.header-inner{padding:0 15px}.site-header nav{gap:8px}.site-header nav>a{font-size:12px}.privacy-pill{width:auto;padding:7px}.privacy-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.hero{padding-left:15px;padding-right:15px}.hero h1{font-size:39px}.result-actions{grid-template-columns:1fr}.result-actions .copy-button{order:2}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Keep the result card close to the upload control after processing. */
body.has-result .hero{min-height:0;padding-bottom:48px}
@media(max-width:700px){body.has-result .hero{min-height:0;padding-bottom:38px}}
