:root{--ink:#111113;--ink-soft:#2c2d31;--muted:#666870;--muted-soft:#6b6d75;--line:#e7e7eb;--line-strong:#d9d9df;--surface:#fff;--surface-soft:#fafafb;--bg:#f5f5f7;--brand:#e31e24;--brand-dark:#c8141a;--brand-tint:#e31e2412;--green:#0d7a4d;--green-tint:#e9f7f0;--amber:#9a5b06;--amber-tint:#fff5e5;--radius-xl:24px;--radius-lg:18px;--radius-md:13px;--shadow-card:0 1px 2px #1111130a, 0 24px 60px -36px #11111347;--font:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100vh;font-family:var(--font);color:var(--ink);background:radial-gradient(1100px 540px at 50% -220px, #e31e2417, transparent 62%), linear-gradient(180deg, #fbfbfc 0%, var(--bg) 46%, #f7f7f9 100%);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;flex-direction:column;margin:0;display:flex}body:before{content:"";pointer-events:none;z-index:-1;background-image:radial-gradient(#1111130d .6px,#0000 .6px);background-size:22px 22px;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#00000080,#0000 55%);mask-image:linear-gradient(#00000080,#0000 55%)}::selection{background:#e31e2429}img{max-width:100%}[hidden]{display:none!important}button,select,input{font:inherit}button{color:inherit}.shell{width:100%;max-width:1120px;margin:0 auto;padding-left:28px;padding-right:28px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.site-header{z-index:30;-webkit-backdrop-filter:saturate(160%)blur(16px);background:#ffffffc7;border-bottom:1px solid #11111312;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding-top:10px;padding-bottom:10px;display:flex}.brand{color:inherit;align-items:center;gap:14px;min-width:0;text-decoration:none;display:inline-flex}.brand-logo{flex:none;width:auto;height:46px;display:block}.brand-divider{background:var(--line-strong);flex:none;width:1px;height:30px}.brand-text{flex-direction:column;gap:1px;min-width:0;display:flex}.brand-eyebrow{color:var(--muted);letter-spacing:.035em;white-space:nowrap;font-size:9.5px;font-weight:650;line-height:1.15}.brand-name{letter-spacing:-.01em;white-space:nowrap;font-size:14.5px;font-weight:680;line-height:1.15}.brand-sub{color:var(--muted-soft);letter-spacing:.01em;white-space:nowrap;font-size:11px;font-weight:520}.engine-chip{--progress:0;border:1px solid var(--line);background:var(--surface);color:var(--muted);letter-spacing:.005em;cursor:default;white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:8px;padding:7px 12px 7px 10px;font-size:11.5px;font-weight:560;line-height:1;transition:color .2s,border-color .2s,background .2s;display:inline-flex;box-shadow:0 1px 2px #11111308}.engine-chip[data-state=error]{cursor:pointer;color:#a11318;background:#fff7f7;border-color:#f1c9cb}.engine-chip[data-state=ready] .engine-dot{background:#19a463;box-shadow:0 0 0 3px #19a46321}.engine-dot{background:#c9a227;border-radius:50%;flex:none;width:7px;height:7px;animation:1.4s ease-in-out infinite pulse;box-shadow:0 0 0 3px #c9a22721}.engine-chip[data-state=error] .engine-dot{background:var(--brand);animation:none;box-shadow:0 0 0 3px #e31e2421}.engine-chip[data-state=ready] .engine-dot{animation:none}.engine-chip[data-state=loading]{background:linear-gradient(90deg, var(--brand-tint) calc(var(--progress) * 1%), transparent 0), var(--surface)}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}main{flex:1 0 auto;width:100%}.hero{text-align:center;max-width:780px;margin:0 auto;padding:54px 28px 0}.eyebrow{color:#9a151a;letter-spacing:.06em;text-transform:uppercase;background:#ffffffa6;border:1px solid #e31e2429;border-radius:999px;align-items:center;gap:8px;margin:0 0 18px;padding:7px 13px;font-size:11.5px;font-weight:640;display:inline-flex}.pulse-dot{background:var(--brand);border-radius:50%;width:6px;height:6px;animation:2.2s ease-in-out infinite pulse;box-shadow:0 0 0 3px #e31e241f}.hero h1{letter-spacing:-.045em;margin:0;font-size:clamp(2.3rem,5.6vw,3.5rem);font-weight:760;line-height:1.03}.hero h1 .accent{color:var(--brand);white-space:nowrap;position:relative}.hero h1 .accent:after{content:"";background:linear-gradient(90deg,#e31e2480,#e31e2414);border-radius:999px;height:.09em;position:absolute;bottom:.06em;left:0;right:0}.lede{max-width:620px;color:var(--muted);letter-spacing:-.005em;margin:20px auto 0;font-size:15px;line-height:1.65}.lede strong{color:var(--ink-soft);white-space:nowrap;font-weight:650}.hero-badges{flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0 0;padding:0;list-style:none;display:flex}.hero-badges li{border:1px solid var(--line);color:var(--muted);background:#ffffffb8;border-radius:999px;align-items:center;gap:6px;padding:6px 11px;font-size:11.5px;font-weight:560;display:inline-flex}.hero-badges li:before{content:"";background:#19a463;border-radius:50%;width:5px;height:5px}.converter-card{border-radius:var(--radius-xl);background:var(--surface);width:calc(100% - 56px);max-width:700px;box-shadow:var(--shadow-card);border:1px solid #11111314;margin:48px auto 0;padding:26px;position:relative}.converter-card:before{content:"";border-radius:var(--radius-xl) var(--radius-xl) 0 0;pointer-events:none;background:linear-gradient(90deg,#0000,#ffffffe6,#0000);height:1px;position:absolute;inset:0 0 auto}#convertForm{flex-direction:column;display:flex}.dropzone{border:1.5px dashed var(--line-strong);border-radius:var(--radius-lg);text-align:center;cursor:pointer;background:linear-gradient(#fff 0%,#fcfcfd 100%);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:40px 24px 36px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:flex;position:relative}.dropzone:hover{background:linear-gradient(#fff 0%,#fff9f9 100%);border-color:#e31e2480}.dropzone.is-dragging{border-color:var(--brand);background:var(--brand-tint);border-style:solid;transform:scale(.995);box-shadow:inset 0 0 0 4px #e31e2417}.dropzone-icon{background:var(--brand-tint);width:54px;height:54px;color:var(--brand);border-radius:16px;place-items:center;margin-bottom:10px;display:grid;box-shadow:inset 0 0 0 1px #e31e241a}.dropzone-icon svg{width:25px;height:25px}.dropzone-title{letter-spacing:-.01em;margin:0;font-size:15.5px;font-weight:640}.dropzone-title span{color:var(--muted);font-weight:520}.dropzone-hint{color:var(--muted-soft);letter-spacing:.005em;margin:2px 0 0;font-size:12px}.file-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-soft);align-items:center;gap:14px;padding:13px 14px;display:flex}.file-thumb{border:1px solid var(--line);background-color:#fff;background-image:linear-gradient(45deg,#ececf0 25%,#0000 25%),linear-gradient(-45deg,#ececf0 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ececf0 75%),linear-gradient(-45deg,#0000 75%,#ececf0 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border-radius:10px;flex:none;width:52px;height:52px;position:relative;overflow:hidden}.file-thumb img{object-fit:cover;width:100%;height:100%;display:block}.file-badge{color:#fff;letter-spacing:.08em;text-align:center;background:#111113d1;padding:3px 0;font-size:8px;font-weight:700;position:absolute;inset:auto 0 0}.file-badge.is-fill{letter-spacing:.06em;background:#1b1c20;place-items:center;padding:0;font-size:9px;display:grid;inset:0}.file-info{flex:1;min-width:0}.file-name{letter-spacing:-.005em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13.5px;font-weight:620;overflow:hidden}.file-meta{color:var(--muted-soft);margin:2px 0 0;font-size:11.5px}.icon-btn{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;flex:none;place-items:center;transition:background .15s,color .15s,border-color .15s;display:grid}.icon-btn svg{width:15px;height:15px}.icon-btn:hover{border-color:var(--line);color:var(--ink);background:#fff}.controls{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);align-items:end;gap:20px;margin-top:20px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field-label{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:640}.select-wrap{display:block;position:relative}.select-wrap select{border:1px solid var(--line-strong);width:100%;height:50px;color:var(--ink);letter-spacing:-.005em;appearance:none;cursor:pointer;background:#fff;border-radius:12px;padding:0 42px 0 14px;font-size:13.5px;font-weight:580;transition:border-color .15s,box-shadow .15s}.select-wrap select:hover{border-color:#c7c7cf}.select-wrap select:focus-visible{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #e31e241f}.select-chevron{width:15px;height:15px;color:var(--muted);pointer-events:none;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.quality-note{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);border-radius:11px;align-self:end;align-items:flex-start;gap:9px;margin:0;padding:9px 11px;font-size:10.8px;line-height:1.45;display:flex}.quality-note svg{width:14px;height:14px;color:var(--brand);flex:none;margin-top:1px}.quality-note strong{color:var(--ink-soft);font-weight:650}.primary-btn{color:#fff;letter-spacing:-.005em;text-align:center;cursor:pointer;background:linear-gradient(#eb2c32 0%,#d3181e 100%);border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:56px;margin-top:20px;padding:13px 20px;font-size:14.5px;font-weight:650;line-height:1.25;text-decoration:none;transition:background .16s,transform .16s,box-shadow .16s,color .16s;display:inline-flex;box-shadow:0 12px 26px -14px #e31e24bf,inset 0 1px #ffffff2e}.primary-btn:hover:not(:disabled):not(.is-loading){background:linear-gradient(#f13a40 0%,#d91d23 100%);transform:translateY(-1px);box-shadow:0 16px 30px -14px #e31e24cc,inset 0 1px #fff3}.primary-btn:active:not(:disabled){transform:translateY(0)}.primary-btn:disabled{color:#a2a2aa;box-shadow:none;cursor:not-allowed;background:#ececef}.primary-btn.is-loading{cursor:progress;background:linear-gradient(#3a3b40 0%,#1c1d21 100%);box-shadow:0 12px 26px -16px #111113b3}.primary-btn svg.btn-icon{flex:none;width:17px;height:17px}.spinner{border:2px solid #ffffff47;border-top-color:#fff;border-radius:50%;flex:none;width:17px;height:17px;animation:.75s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}.status{min-height:18px;color:var(--muted-soft);text-align:center;margin:11px 2px 0;font-size:11.8px;line-height:1.45}.status:empty{margin-top:0}.error{color:#a11318;background:#fff4f4;border:1px solid #f2cfd1;border-radius:10px;margin:12px 0 0;padding:10px 12px;font-size:12.5px;line-height:1.5}.result:focus{outline:none}.result-head{align-items:center;gap:13px;display:flex}.result-check{background:var(--green-tint);width:42px;height:42px;color:var(--green);border-radius:50%;flex:none;place-items:center;display:grid}.result-check svg{width:21px;height:21px}.result-head h2{letter-spacing:-.02em;margin:0;font-size:16.5px;font-weight:680}.result-name{color:var(--muted-soft);text-overflow:ellipsis;white-space:nowrap;margin:1px 0 0;font-size:11.8px;overflow:hidden}.result-preview{border:1px solid var(--line);background-color:#fbfbfc;background-image:linear-gradient(45deg,#efeff3 25%,#0000 25%),linear-gradient(-45deg,#efeff3 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#efeff3 75%),linear-gradient(-45deg,#0000 75%,#efeff3 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border-radius:14px;justify-content:center;align-items:center;min-height:120px;max-height:340px;margin:18px 0;padding:10px;display:flex;overflow:hidden}.result-preview img{object-fit:contain;border-radius:6px;width:auto;max-width:100%;height:auto;max-height:318px;display:block;box-shadow:0 6px 20px -12px #11111366}.result-preview img[hidden]{display:none}.stats{border:1px solid var(--line);background:var(--surface-soft);text-align:center;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:13px 8px;display:grid}.stats>div{padding:0 8px}.stats>div+div{border-left:1px solid var(--line)}.stats dt{color:var(--muted-soft);letter-spacing:.075em;text-transform:uppercase;margin:0 0 3px;font-size:10px;font-weight:640}.stats dd{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:0;font-size:15px;font-weight:680}.stat-change{color:var(--green)}.stat-change.is-bigger{color:var(--amber)}.result-detail{color:var(--muted-soft);text-align:center;margin:10px 0 0;font-size:11.5px}.result-actions{grid-template-columns:1.35fr 1fr;gap:10px;margin-top:16px;display:grid}.result-actions .primary-btn{min-height:50px;margin-top:0;font-size:13.5px}.ghost-btn{border:1px solid var(--line-strong);min-height:50px;color:var(--ink-soft);cursor:pointer;background:#fff;border-radius:14px;justify-content:center;align-items:center;padding:12px 18px;font-size:13.5px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.ghost-btn:hover{background:var(--surface-soft);border-color:#c7c7cf}.auto-note{color:var(--muted-soft);text-align:center;margin:10px 0 0;font-size:10.8px}.features{grid-template-columns:repeat(3,1fr);gap:22px;max-width:900px;margin:34px auto 0;padding:0 28px;display:grid}.feature{min-width:0}.feature-icon{border:1px solid var(--line);width:34px;height:34px;color:var(--ink-soft);background:#ffffffb3;border-radius:10px;place-items:center;margin-bottom:10px;display:grid}.feature-icon svg{width:17px;height:17px}.feature h3{letter-spacing:-.01em;margin:0 0 4px;font-size:13px;font-weight:660}.feature p{color:var(--muted);margin:0;font-size:11.8px;line-height:1.55}.feature code{color:var(--ink-soft);background:#1111130d;border-radius:4px;padding:1px 4px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.94em}.site-footer{background:#ffffff80;border-top:1px solid #11111312;margin-top:64px}.footer-inner{justify-content:space-between;align-items:center;gap:24px;padding-top:26px;padding-bottom:26px;display:flex}.footer-brand{flex:none}.footer-logo{width:auto;height:68px;display:block}.footer-meta{text-align:right}.footer-meta p{color:var(--muted-soft);margin:0;font-size:10.8px;line-height:1.6}.footer-meta p:first-child{color:var(--muted);font-weight:560}@media (max-width:760px){.shell{padding-left:18px;padding-right:18px}.header-inner{min-height:66px;padding-top:8px;padding-bottom:8px}.brand-logo{height:42px}.brand-divider{height:26px}.hero{padding:40px 20px 0}.lede{font-size:14px}.converter-card{border-radius:20px;width:calc(100% - 32px);margin-top:28px;padding:18px}.controls{grid-template-columns:1fr;gap:14px}.quality-note{align-self:stretch}.features{grid-template-columns:1fr;gap:18px;margin-top:26px;padding:0 20px}.feature{grid-template-columns:34px 1fr;column-gap:12px;display:grid}.feature-icon{grid-row:span 2;margin-bottom:0}.feature h3{align-self:end}.footer-inner{text-align:center;flex-direction:column;align-items:center;gap:20px;padding-top:32px;padding-bottom:30px}.footer-meta{text-align:center}.footer-logo{height:60px;margin:0 auto}}@media (max-width:540px){.header-inner{gap:10px}.brand{gap:9px;min-width:0}.brand-logo{height:36px}.brand-divider{display:none}.brand-text{min-width:0;display:flex}.brand-eyebrow{letter-spacing:.02em;font-size:8.5px}.brand-name{text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.brand-sub{text-overflow:ellipsis;font-size:9.5px;overflow:hidden}.engine-chip{gap:6px;max-width:36vw;padding:6px 9px;font-size:10px;overflow:hidden}#engineText{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hero h1{font-size:clamp(2rem,10vw,2.6rem)}.eyebrow{letter-spacing:.045em;font-size:10px}.dropzone{padding:30px 16px 27px}.dropzone-title{font-size:14px}.primary-btn{padding-left:14px;padding-right:14px;font-size:13px}.result-actions{grid-template-columns:1fr}.stats dd{font-size:13.5px}}@media (max-width:360px){.header-inner{gap:8px}.brand{gap:7px}.brand-logo{height:32px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
