:root{
  --ink:#0d0d0f; --muted:#71717a; --line:#e8e8eb; --paper:#fff; --soft:#f7f7f8;
  --yellow:#f8b51b; --yellow2:#ffca3a; --shadow:0 20px 60px rgba(10,10,10,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:linear-gradient(180deg,#fff 0%,#fbfbfc 70%,#f5f5f6 100%);color:var(--ink);min-height:100vh}
a{color:inherit}
.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;max-width:1180px;margin:0 auto;padding:0 28px;border-bottom:1px solid rgba(232,232,235,.7)}
.brand img{width:178px;height:auto;display:block}.powered{font-size:13px;color:var(--muted)}.powered a{font-weight:700;text-decoration:none;color:var(--ink)}
.shell{max-width:900px;margin:0 auto;padding:78px 24px 60px}.hero{text-align:center;margin-bottom:36px}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.16em;font-weight:800;color:#8a6a0a;background:#fff7d8;border:1px solid #f7e7a0;border-radius:999px;padding:7px 11px}.hero h1{font-size:clamp(46px,8vw,78px);letter-spacing:-.06em;line-height:.95;margin:18px 0 16px}.hero h1 span{color:var(--yellow)}.hero p{max-width:650px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.65}
.converter-card{background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:26px;padding:18px;box-shadow:var(--shadow)}
.dropzone{min-height:340px;border:1.5px dashed #cdced3;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px;cursor:pointer;transition:.2s;background:linear-gradient(180deg,#fff,#fcfcfd)}.dropzone:hover,.dropzone.drag{border-color:var(--yellow);background:#fffdf6;transform:translateY(-1px)}.upload-icon{width:64px;height:64px;border-radius:18px;background:#fff6d6;display:grid;place-items:center;margin-bottom:18px;border:1px solid #f4df93}.upload-icon svg{width:28px;fill:none;stroke:#b17a00;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dropzone h2{margin:0 0 9px;font-size:24px;letter-spacing:-.03em}.dropzone p{margin:0;color:var(--muted)}.linkish{color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-color:#e4b21c;text-underline-offset:3px}.dropzone small{margin-top:12px;color:#9b9ba2}
.file-panel{display:flex;align-items:center;justify-content:space-between;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.file-meta{display:flex;align-items:center;gap:12px;min-width:0}.file-meta div:last-child{display:flex;flex-direction:column;min-width:0}.file-meta strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:620px}.file-meta span{font-size:12px;color:var(--muted);margin-top:3px}.file-badge{font-size:10px;font-weight:900;letter-spacing:.08em;padding:11px 8px;background:var(--ink);color:#fff;border-radius:9px}.icon-btn{border:0;background:transparent;font-size:26px;color:#8b8b93;cursor:pointer;padding:4px 10px}.status{margin-top:14px;padding:14px 16px;border-radius:12px;font-size:14px}.status.ok{background:#f0faf2;color:#1a6e2b;border:1px solid #cfead5}.status.error{background:#fff2f2;color:#9d2626;border:1px solid #f0cccc}.status.busy{background:#fff9e8;color:#7c5b04;border:1px solid #f1e0a8}.actions{display:flex;gap:10px;margin-top:14px}.primary-btn,.secondary-btn{height:52px;border-radius:13px;padding:0 20px;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;text-decoration:none}.primary-btn{border:1px solid #0d0d0f;background:#0d0d0f;color:#fff;flex:1}.primary-btn:hover{background:#252529}.primary-btn svg{width:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.secondary-btn{border:1px solid var(--line);background:#fff;color:var(--ink)}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.trust-row div{border:1px solid var(--line);background:rgba(255,255,255,.7);border-radius:16px;padding:18px}.trust-row strong{display:block;font-size:13px;margin-bottom:5px}.trust-row span{font-size:12px;line-height:1.45;color:var(--muted)}
footer{display:flex;gap:6px;justify-content:center;align-items:center;padding:24px;color:#8b8b93;font-size:12px}footer a{font-weight:800;color:var(--ink);text-decoration:none}
.hidden{display:none!important}
.modal{position:fixed;inset:0;display:none;z-index:50}.modal.show{display:block}.modal-backdrop{position:absolute;inset:0;background:rgba(7,7,8,.58);backdrop-filter:blur(6px)}.modal-card{position:relative;z-index:1;width:min(620px,calc(100% - 28px));margin:7vh auto 0;background:#fff;border-radius:28px;padding:34px;box-shadow:0 30px 100px rgba(0,0,0,.3);animation:pop .24s ease-out}.modal-close{position:absolute;right:18px;top:15px;border:0;background:#f3f3f4;width:38px;height:38px;border-radius:999px;font-size:24px;color:#666;cursor:pointer}.bulb-mini{font-size:42px;margin-bottom:12px}.modal-card h2{font-size:31px;line-height:1.08;letter-spacing:-.045em;margin:15px 0 12px;max-width:520px}.modal-card p{color:var(--muted);line-height:1.6;margin:0 0 18px}.service-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.service-pills span{font-size:12px;background:#f6f6f7;border:1px solid #e9e9eb;border-radius:999px;padding:8px 10px}.modal-cta{width:100%;flex:auto}.text-btn{display:block;margin:12px auto 0;border:0;background:transparent;color:#8a8a91;cursor:pointer;padding:8px}.modal-cta span{color:var(--yellow2)}
@keyframes pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:700px){.site-header{height:72px;padding:0 18px}.brand img{width:145px}.powered{display:none}.shell{padding:52px 16px 40px}.hero p{font-size:15px}.converter-card{padding:10px;border-radius:20px}.dropzone{min-height:300px;padding:24px}.trust-row{grid-template-columns:1fr}.actions{flex-direction:column}.primary-btn,.secondary-btn{width:100%}.modal-card{padding:26px 20px;margin-top:4vh;border-radius:22px}.modal-card h2{font-size:26px}}
