/* NoblePDF V5.9.2 Phase A2a: retained V5.9.1 page geometry for interim visual unification.
   Noble Ink visual overrides are in tool-migration.css; page behaviour is unchanged. */
:root{--ink:#17191f;--muted:#606877;--line:#e5e7ec;--panel:#f7f8fb;--purple:#5d54ef;--purple-dark:#4f46dc;--navy:#111b38;--green:#159b67;--danger:#d6455d;--blue:#3975ee;--orange:#f49a2b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}button,input{font:inherit}a{color:inherit}.site-header{height:76px;display:flex;align-items:center;padding:0 5vw;position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid #e7e8ec;gap:36px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;font-weight:800;letter-spacing:-.025em;white-space:nowrap}.brand-mark{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#7a59ff,#4d5cf5);color:#fff;font-weight:800;font-style:italic}.nav{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:13px}.nav a{text-decoration:none;color:#2e3340}.nav a.active{font-weight:700;color:#111}.header-actions{margin-left:0;display:flex;align-items:center;gap:9px}.btn{min-height:43px;padding:0 18px;border:1px solid #dfe2e8;border-radius:9px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:#fff;color:#252a34;cursor:pointer}.btn.primary{background:var(--purple);color:#fff;border-color:var(--purple)}.btn.primary:hover{background:var(--purple-dark)}
.hero{padding:44px 20px 24px;text-align:center}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#6258ea;background:#f0efff;border:1px solid #dddbff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.hero h1{margin:15px 0 0;font-size:clamp(36px,4vw,54px);line-height:1.04;letter-spacing:-.045em}.hero p{max-width:760px;margin:14px auto 0;color:var(--muted);font-size:16px;line-height:1.65}.converter-shell{max-width:1100px;margin:0 auto;padding:0 20px 86px}.converter-card{border:1px solid #e0e2e9;border-radius:18px;box-shadow:0 20px 60px rgba(28,34,56,.08);overflow:hidden;background:#fff}.dropzone{padding:34px;min-height:275px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,#584ff0 0%,#7657f2 52%,#8f5cef 100%);color:#fff;position:relative}.dropzone::before,.dropzone::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:24px;transform:rotate(18deg)}.dropzone::before{width:140px;height:140px;right:5%;top:14%}.dropzone::after{width:78px;height:78px;left:8%;bottom:11%;transform:rotate(-18deg)}.dropzone.drag{outline:4px solid rgba(255,255,255,.55);outline-offset:-12px}.upload-icon{width:68px;height:68px;border-radius:19px;background:#fff;color:var(--purple);display:grid;place-items:center;box-shadow:0 10px 30px rgba(15,18,48,.2);margin-bottom:18px;position:relative;z-index:1}.upload-icon svg{width:35px;height:35px}.dropzone h2{margin:0;font-size:24px;letter-spacing:-.025em;position:relative;z-index:1}.dropzone p{margin:8px 0 18px;font-size:13px;color:rgba(255,255,255,.84);position:relative;z-index:1}.choose-btn{border:0;border-radius:9px;background:#fff;color:#241f67;min-height:48px;padding:0 22px;font-weight:800;font-size:14px;cursor:pointer;box-shadow:0 8px 24px rgba(21,18,74,.18);position:relative;z-index:1}.choose-btn:hover{transform:translateY(-1px)}.drop-hint{font-size:12px!important;margin:10px 0 0!important}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #e8e9ef}.trust-item{padding:16px 20px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;color:#4f5663;text-align:left}.trust-item+.trust-item{border-left:1px solid #eceef3}.trust-check{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#eaf8f2;color:var(--green);font-weight:900;flex:0 0 20px}
.workspace{display:none;min-height:540px;background:#f4f6fb}.workspace.show{display:grid;grid-template-columns:minmax(0,1fr) 285px}.preview-pane{padding:28px;min-width:0;display:flex;flex-direction:column}.file-row{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e2e5eb;border-radius:12px;padding:12px 14px;box-shadow:0 4px 18px rgba(30,38,61,.04)}.file-icon{width:44px;height:44px;border-radius:10px;background:#ffedf0;color:#e64c63;display:grid;place-items:center;font-size:10px;font-weight:900}.file-icon.image{background:#fff4df;color:#db8a16}.file-meta{min-width:0;flex:1}.file-name{font-size:14px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-detail{font-size:13px;color:#727987;margin-top:4px}.text-btn{border:0;background:transparent;color:#6258ea;font-weight:700;font-size:13px;cursor:pointer;padding:7px}.preview-stage{flex:1;display:flex;align-items:center;justify-content:center;padding:32px 18px 16px;min-height:380px}.preview-card{max-width:min(470px,90%);max-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center}.pdf-preview{background:#fff;border-radius:5px;box-shadow:0 14px 42px rgba(34,43,72,.18);max-width:100%;max-height:330px;display:block}.image-preview{max-width:100%;max-height:320px;border-radius:7px;background:#fff;box-shadow:0 14px 42px rgba(34,43,72,.16);object-fit:contain}.multi-stack{position:relative;display:grid;place-items:center}.multi-stack::before,.multi-stack::after{content:"";position:absolute;width:84%;height:88%;background:#fff;border:1px solid #e1e4eb;border-radius:7px;z-index:0}.multi-stack::before{transform:translate(12px,9px)}.multi-stack::after{transform:translate(6px,4px)}.multi-stack img{position:relative;z-index:2}.preview-caption{font-size:11px;color:#737b89;margin-top:14px;text-align:center}.side-panel{background:#fff;border-left:1px solid #e1e4eb;padding:24px 20px;display:flex;flex-direction:column}.side-title{font-size:13px;font-weight:800;margin:0 0 11px}.format-list{display:grid;gap:8px}.format-option{width:100%;border:1px solid #e0e3e9;background:#fff;border-radius:10px;min-height:54px;padding:9px 10px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;position:relative}.format-option:hover{border-color:#ccc8ff}.format-option.selected{border-color:#655bed;box-shadow:0 0 0 3px rgba(93,84,239,.1);background:#fbfaff}.format-option.disabled{opacity:.52;cursor:not-allowed}.fmt-icon{width:34px;height:34px;border-radius:8px;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;flex:0 0 34px}.fmt-icon.jpg,.fmt-icon.png{background:#ffad18}.fmt-icon.pdf{background:#ff4059}.fmt-icon.word{background:#3f7ee8}.fmt-icon.excel{background:#12b755}.fmt-icon.ppt{background:#ef8320}.fmt-icon.pdfa{background:#ed4a55}.fmt-icon.txt{background:#428ce8}.fmt-icon.rtf{background:#5479da}.fmt-icon.html{background:#e76532}.fmt-copy{display:flex;flex-direction:column;min-width:0}.fmt-copy strong{font-size:12px}.fmt-copy small{font-size:12px;color:#767e8b;margin-top:3px}.convert-note{margin-top:14px;border-radius:9px;background:#f5f7fb;padding:10px 11px;color:#646d7c;font-size:13px;line-height:1.5}.convert-btn{width:100%;margin-top:auto;min-height:46px;border:0;border-radius:9px;background:var(--purple);color:#fff;font-weight:800;cursor:pointer}.convert-btn:disabled{opacity:.5;cursor:not-allowed}.progress-wrap{display:none;margin-top:14px}.progress-wrap.show{display:block}.progress-head{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#687180;margin-bottom:7px}.progress{height:7px;background:#ebecef;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#6c61ef,#8657ed);border-radius:inherit;transition:width .2s}.error{display:none;margin-top:12px;background:#fff0f2;border:1px solid #f0cbd1;color:#8f3443;border-radius:9px;padding:10px 11px;font-size:14px;line-height:1.5}.error.show{display:block}.result{display:none;margin-top:12px;border:1px solid #dce9e3;background:#f7fcfa;border-radius:10px;padding:12px}.result.show{display:block}.result strong{display:block;font-size:12px}.result p{margin:5px 0 0;font-size:13px;color:#637169;line-height:1.45}.download-btn{width:100%;min-height:42px;margin-top:10px;border:0;border-radius:8px;background:#159b67;color:#fff;font-weight:800;cursor:pointer}
.content{max-width:980px;margin:78px auto 0}.section-intro{text-align:center;max-width:690px;margin:0 auto 34px}.section-intro h2{margin:0;font-size:30px;letter-spacing:-.035em}.section-intro p{margin:12px 0 0;color:#667080;font-size:14px;line-height:1.7}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{border:1px solid #e4e6eb;border-radius:14px;padding:22px;background:#fff}.feature-icon{width:40px;height:40px;border-radius:10px;background:#f0efff;color:#5d54ef;display:grid;place-items:center;font-size:18px;font-weight:800;margin-bottom:15px}.feature h3{margin:0;font-size:15px}.feature p{margin:8px 0 0;color:#68717f;font-size:13px;line-height:1.65}.two-col{margin-top:68px;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.two-col h2{font-size:29px;letter-spacing:-.035em;margin:0}.two-col p{color:#67717f;font-size:13px;line-height:1.75}.mini-panel{background:#f5f6fb;border:1px solid #e3e5ec;border-radius:18px;padding:24px}.flow{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:13px}.flow-box{background:#fff;border:1px solid #e2e4ea;border-radius:12px;padding:18px;text-align:center}.flow-icon{width:46px;height:46px;margin:0 auto 9px;border-radius:11px;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:900}.flow-icon.pdf{background:#ff4059}.flow-icon.img{background:#ffad18}.flow-arrow{font-size:24px;color:#655bed;font-weight:800}.flow-box strong{font-size:12px}.flow-box small{display:block;margin-top:4px;color:#707887;font-size:12px}.steps{margin-top:72px}.step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:26px}.step{padding:19px;border:1px solid #e4e6eb;border-radius:13px}.step-num{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#111b38;color:#fff;font-size:11px;font-weight:800;margin-bottom:12px}.step h3{margin:0;font-size:13px}.step p{margin:7px 0 0;color:#697180;font-size:13px;line-height:1.6}.faq{max-width:780px;margin:78px auto 0}.faq h2{text-align:center;font-size:29px;letter-spacing:-.035em}.faq details{border-bottom:1px solid #e6e8ed;padding:18px 2px}.faq summary{cursor:pointer;font-size:13px;font-weight:750;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:"+";float:right;color:#666}.faq details[open] summary::after{content:"−"}.faq p{font-size:13px;line-height:1.7;color:#66707e;margin:12px 0 2px}.related{margin-top:76px}.related h2{text-align:center;font-size:27px}.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px}.related-grid a{border:1px solid #e2e4e9;border-radius:12px;padding:18px;text-decoration:none;font-size:13px;font-weight:800}.related-grid span{display:block;color:#6c7481;font-size:12px;font-weight:500;line-height:1.55;margin-top:6px}footer{border-top:1px solid #eceef2;padding:26px clamp(18px,4vw,56px);display:flex;align-items:center;gap:20px;color:#616978;font-size:12px}footer .spacer{flex:1}footer a{text-decoration:none;margin-left:18px}.noscript{background:#fff4df;color:#6f521b;text-align:center;padding:10px;font-size:12px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #5d54ef;outline-offset:3px}
@media(max-width:900px){.nav{display:none}.workspace.show{grid-template-columns:minmax(0,1fr) 250px}.side-panel{padding:20px 15px}.content{margin-top:62px}.feature-grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr;gap:26px}.step-grid{grid-template-columns:repeat(2,1fr)}.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.site-header{height:62px;padding:0 14px}.brand{font-size:18px}.header-actions .btn:first-child{display:none}.hero{padding:32px 16px 24px}.hero h1{font-size:38px}.hero p{font-size:14px}.converter-shell{padding:0 12px 64px}.dropzone{min-height:245px;padding:28px 16px}.trust-row{grid-template-columns:1fr}.trust-item{justify-content:flex-start;padding:11px 16px}.trust-item+.trust-item{border-left:0;border-top:1px solid #eceef3}.workspace.show{display:block}.preview-pane{padding:16px}.preview-stage{min-height:280px;padding:20px 8px}.side-panel{border-left:0;border-top:1px solid #e1e4eb;padding:18px 15px}.format-list{grid-template-columns:repeat(2,minmax(0,1fr))}.convert-btn{margin-top:16px}.step-grid{grid-template-columns:1fr}.related-grid{grid-template-columns:1fr}.two-col{margin-top:56px}.content{margin-top:58px}footer{align-items:flex-start;flex-wrap:wrap}footer .spacer{display:none;width:100%}footer a{margin:0 14px 0 0}}
@media(pointer:coarse){.btn,.choose-btn,.text-btn,.format-option,.convert-btn,.download-btn{min-height:44px}a,button{-webkit-tap-highlight-color:transparent}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* V5.8.9 - iOS Safari zooms the viewport when a focused form control's
   COMPUTED font-size is under 16px, and never zooms back out. Scoped to
   coarse pointers so desktop density is unchanged. Deliberately NOT using
   user-scalable=no: that suppresses the symptom by disabling pinch-zoom,
   which breaks WCAG 2.1 SC 1.4.4. */
@media (pointer:coarse){
  input,select,textarea,button,
  input[type=text],input[type=number],input[type=search],
  input[type=password],input[type=email]{font-size:16px}
  input[type=range]{font-size:inherit}
  select,input:not([type=range]):not([type=checkbox]):not([type=radio]),
  textarea{min-height:44px}
}

/* A2a responsive hardening: close the 821-900px navigation gap and respect hidden previews. */
@media (min-width:821px) and (max-width:900px){.site-header .mobile-nav{display:block}.site-header .mobile-nav summary{display:flex}.header-actions{margin-left:0}}
.pdf-preview[hidden],.multi-stack[hidden]{display:none!important}
