/* 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;--purple:#5d54ef;--purple-dark:#4f46dc;--green:#159b67;--orange:#ed7a00}*{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}.nav a.active{font-weight:700}.header-actions{margin-left:0;display:flex;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;cursor:pointer}.btn.primary{background:var(--purple);color:#fff;border-color:var(--purple)}.hero{padding:44px 20px 24px;text-align:center}.eyebrow{display:inline-flex;align-items:center;color:#9b5000;background:#fff2df;border:1px solid #ffd7a7;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.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}.tool-shell{max-width:1050px;margin:0 auto;padding:0 20px 86px}.tool-card{border:1px solid #e0e2e9;border-radius:18px;box-shadow:0 20px 60px rgba(28,34,56,.08);overflow:hidden}.dropzone{padding:34px;min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,#dc7200 0%,#ee7d00 55%,#ff991f 100%);color:#fff;position:relative}.dropzone::before,.dropzone::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.2);border-radius:24px;transform:rotate(18deg)}.dropzone::before{width:130px;height:130px;right:5%;top:18%}.dropzone::after{width:76px;height:76px;left:8%;bottom:12%;transform:rotate(-18deg)}.dropzone.drag{outline:4px solid rgba(255,255,255,.55);outline-offset:-12px}.upload-icon{width:70px;height:70px;border-radius:18px;background:#fff;color:#e67600;display:grid;place-items:center;box-shadow:0 10px 30px rgba(80,38,0,.2);font-size:28px;font-weight:900;margin-bottom:18px;position:relative;z-index:1}.dropzone h2{margin:0;font-size:24px;position:relative;z-index:1}.dropzone p{margin:8px 0 18px;color:rgba(255,255,255,.86);font-size:13px;position:relative;z-index:1}.choose-btn{border:0;border-radius:9px;background:#fff;color:#7d3c00;min-height:48px;padding:0 22px;font-weight:800;font-size:14px;cursor:pointer;box-shadow:0 8px 24px rgba(83,38,0,.18);position:relative;z-index:1}.drop-hint{font-size:12px!important;margin:10px 0 0!important}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);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}.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}.workspace{display:none;padding:24px}.workspace.show{display:block}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:22px}.preview-card{border:1px solid #e3e5ea;border-radius:13px;background:#eef1f6;min-height:370px;padding:20px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview-card img{display:block;max-width:100%;max-height:430px;background:#fff;box-shadow:0 10px 28px rgba(30,34,50,.16)}.settings{border:1px solid #e4e6ec;border-radius:13px;padding:18px}.file-row{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #eceef2}.file-icon{width:44px;height:44px;border-radius:10px;background:#fff0df;color:#e87900;display:grid;place-items:center;font-size:21px;font-weight:900}.file-meta{min-width:0;flex:1}.file-name{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-detail{font-size:13px;color:#747b88;margin-top:4px}.text-btn{border:0;background:transparent;color:#6258ea;font-weight:700;font-size:13px;cursor:pointer}.option{margin-top:16px}.check{display:flex;align-items:flex-start;gap:9px;border:1px solid #e2e4ea;border-radius:10px;padding:11px}.check input{margin-top:2px;accent-color:var(--purple)}.check strong{display:block;font-size:13px}.check small{display:block;color:#707887;font-size:13px;line-height:1.45;margin-top:3px}.notice{margin-top:14px;border-radius:10px;background:#fff8e8;border:1px solid #f1dfb0;color:#665326;padding:11px 13px;font-size:13px;line-height:1.55}.action-row{display:flex;justify-content:flex-end;margin-top:18px}.action-btn{min-height:46px;border:0;border-radius:9px;background:var(--purple);color:#fff;padding:0 21px;font-weight:800;cursor:pointer}.action-btn:disabled{opacity:.55}.progress-wrap{display:none;margin-top:18px;border-top:1px solid #eceef2;padding-top:18px}.progress-wrap.show{display:block}.progress-head{display:flex;justify-content:space-between;font-size:13px;color:#626a77;margin-bottom:8px}.progress{height:8px;background:#ebecef;border-radius:999px;overflow:hidden}.progress>span{display:block;width:0;height:100%;background:linear-gradient(90deg,#e97b00,#ff9a22);transition:width .2s}.result{display:none;margin-top:18px;border-radius:13px;border:1px solid #dfe9e4;background:#f8fcfa;padding:18px}.result.show{display:block}.result h3{margin:0;font-size:15px}.result p{margin:6px 0 0;color:#667069;font-size:13px;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.stat{background:#fff;border:1px solid #e4ebe7;border-radius:9px;padding:11px}.stat span{display:block;color:#777f7b;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:.05em}.stat strong{display:block;margin-top:4px;font-size:13px}.result-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.download-btn,.secondary-btn{border-radius:8px;min-height:42px;padding:0 16px;font-weight:800;cursor:pointer}.download-btn{border:0;background:var(--purple);color:#fff}.secondary-btn{border:1px solid #dfe2e8;background:#fff}.error{display:none;margin-top:15px;background:#fff0f2;border:1px solid #f0cbd1;color:#8f3443;border-radius:9px;padding:11px 13px;font-size:14px;line-height:1.5}.error.show{display:block}.content{max-width:980px;margin:76px auto 0}.section-intro{text-align:center;max-width:700px;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}.feature-icon{width:40px;height:40px;border-radius:10px;background:#fff0df;color:#e87900;display:grid;place-items:center;font-weight:900;margin-bottom:14px}.feature h3{margin:0;font-size:14px}.feature p{margin:8px 0 0;color:#68717f;font-size:13px;line-height:1.65}.steps{margin-top:68px;background:#f8f9fc;border-radius:18px;padding:32px}.steps h2{text-align:center;margin:0 0 24px;font-size:26px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e87900;color:#fff;font-weight:800;font-size:12px}.step h3{font-size:13px;margin:10px 0 5px}.step p{margin:0;color:#69717f;font-size:13px;line-height:1.6}.faq{margin-top:68px}.faq h2{text-align:center;font-size:27px}.faq details{max-width:760px;margin:10px auto;border:1px solid #e4e6eb;border-radius:10px;padding:14px 16px}.faq summary{cursor:pointer;font-weight:750;font-size:13px}.faq p{color:#69717f;font-size:13px;line-height:1.65;margin:10px 0 0}.related{margin-top:68px}.related h2{text-align:center}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related a{text-decoration:none;border:1px solid #e4e6eb;border-radius:12px;padding:16px;font-size:13px;font-weight:800}.related a span{display:block;color:#737b89;font-size:12px;font-weight:500;margin-top:5px;line-height:1.5}footer{border-top:1px solid #e7e8ec;min-height:84px;padding:20px clamp(18px,3vw,48px);display:flex;align-items:center;gap:20px;color:#6d7481;font-size:13px}footer .spacer{flex:1}footer a{text-decoration:none}@media(max-width:820px){.nav{display:none}.workspace-grid{grid-template-columns:1fr}.preview-card{min-height:300px}.trust-row{grid-template-columns:1fr}.trust-item+.trust-item{border-left:0;border-top:1px solid #eceef3}.feature-grid,.step-grid,.related-grid{grid-template-columns:1fr}.content{margin-top:54px}.workspace{padding:16px}}@media(max-width:560px){.header-actions .btn:first-child{display:none}.site-header{padding:0 14px}.hero h1{font-size:36px}.dropzone{padding:26px 16px}.stats{grid-template-columns:1fr}.preview-card{min-height:230px}.steps{padding:24px 18px}footer{flex-wrap:wrap}}@media(pointer:coarse){button,.btn{min-height:44px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition: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: wrap tablet statistics and keep the action row usable. */
@media (min-width:561px) and (max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.action-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.action-row .notice{margin-top:0}.action-row .action-btn{width:100%;min-height:46px;height:auto}}
/* RC4: keep the Convert button at normal control height beside taller notices. */
.np-a2-tool .action-row{align-items:flex-start}
