/* PDF in Seconds — shared design system (v2, 2026-11-17)
   Rebuilt to the walkthrough structure with OUR brand (teal/amber/navy,
   v4 logo) and OUR OWN words. No external requests: Inter is vendored.
   COMPATIBILITY: every class used by the v1 tool pages is kept with the same
   name (dropzone, choose-row, cloud-btn, file-list, tool-actions, status,
   result-box, steps, step, faq, tool-footer, site-footer, toast, hamburger,
   mobile-menu, container, spacer, preset-btn, len-btn, out-btn, etc.).
   Restyle only — never rename or delete a class a tool page or tool JS uses. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/inter-latin-800-normal.woff2') format('woff2')}

:root{
  --teal:#0E5A6D; --teal-dark:#0A4553; --amber:#F59E0B; --amber-dark:#D97706;
  --navy:#0B2B4B; --navy-dark:#081F36; --page:#F5F5FA; --card:#FFFFFF; --ink:#1F2A37; --grey:#5B6B7A;
  --grey-light:#8A99A8; --line:#D6D6DF; --dropzone:#F2F5F9; --cream:#FFF8E7;
  --radius:12px; --radius-sm:8px; --shadow:0 1px 3px rgba(11,43,75,.08),0 4px 14px rgba(11,43,75,.06);
  --shadow-lg:0 8px 30px rgba(11,43,75,.14); --header-h:60px; --max:1240px;
  --font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  /* Group colours for the mega-panel icons */
  --g-organize:#E03131; --g-optimize:#2F9E44; --g-convert-to:#B7791F; --g-convert-from:#1971C2;
  --g-edit:#0E5A6D; --g-security:#0B2B4B; --g-intelligence:#D97706;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--page);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden;padding-top:60px}
section[id],div[id]{scroll-margin-top:72px}
img,svg{display:block;max-width:100%}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{color:var(--navy);line-height:1.2;margin:0 0 .5em}
h1{font-size:clamp(2rem,4.5vw,3.25rem);font-weight:800;letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:800;letter-spacing:-.01em}
h3{font-size:1.125rem;font-weight:700}
p{margin:0 0 1em}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.lede{color:var(--grey);font-size:1.125rem}
.btn{display:inline-block;border:0;cursor:pointer;font-family:var(--font);font-weight:700;font-size:1rem;
  padding:13px 28px;border-radius:8px;background:var(--teal);color:#fff;text-align:center;line-height:1.2}
.btn:hover{background:var(--teal-dark);text-decoration:none}
.btn-amber{background:var(--amber);color:#1F2A37}
.btn-amber:hover{background:var(--amber-dark);color:#fff}
.btn-outline{background:transparent;color:var(--teal);border:2px solid var(--teal)}
.btn-outline:hover{background:var(--teal);color:#fff}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn-sm{padding:9px 18px;font-size:.9rem}
/* Option buttons inside tool pages (.preset-btn compress, .len-btn summarizer,
   .out-btn OCR): JS-only selector hooks — their look comes from .btn plus the
   .btn-amber / .btn-outline classes the tool scripts toggle. */
.preset-btn,.len-btn,.out-btn{}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Header (all pages) — v3: 60px FIXED, logo 30px @ x=24,
   nav MERGE / SPLIT / COMPRESS / CONVERT (own dropdown) / ALL PDF TOOLS.
   Active page nav item turns teal (JS adds .active from the URL). ---------- */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;background:#fff;border-bottom:0;box-shadow:0 1px 0 #D6D6DF}
.site-header .container{display:flex;align-items:center;gap:24px;height:60px;max-width:none;padding:0 24px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:40px;width:auto}
.brand:hover{text-decoration:none}
/* Main nav: 14px/500 dark navy, 0 12px padding, 24px gaps, full 60px tall */
.main-nav{display:flex;align-items:center;gap:24px;height:60px;margin-left:12px}
.main-nav>a{color:#1F2A37;font-weight:500;font-size:14px;padding:0 12px;height:60px;display:inline-flex;align-items:center;white-space:nowrap}
.main-nav>a:hover{color:var(--teal);text-decoration:none}
.main-nav>a.active{color:var(--teal)}
.nav-item{position:relative;height:60px;display:flex;align-items:center}
.nav-item>.nav-link{color:#1F2A37;font-weight:500;font-size:14px;padding:0 12px;height:60px;display:inline-flex;align-items:center;gap:6px;background:none;border:0;cursor:pointer;font-family:var(--font);white-space:nowrap}
.nav-item>.nav-link svg{width:14px;height:14px;transition:transform .18s ease}
.nav-item>.nav-link:hover,.nav-item.active>.nav-link{color:var(--teal)}
.nav-item.open>.nav-link svg{transform:rotate(180deg)}
/* "ALL PDF TOOLS" trigger — a nav item, not a pill. Teal + flipped chevron while open. */
.all-tools-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;cursor:pointer;
  font-family:var(--font);font-size:14px;font-weight:500;color:#1F2A37;
  padding:0 12px;height:60px;white-space:nowrap}
.all-tools-btn:hover{color:var(--teal)}
.all-tools-btn svg{width:14px;height:14px;transition:transform .18s ease}
.all-tools-btn[aria-expanded="true"]{color:var(--teal)}
.all-tools-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.all-tools-btn.active{color:var(--teal)}
/* CONVERT PDF dropdown: compact 2-column panel under the trigger.
   Hover opens it on desktop (media query below); click toggles it on touch. */
.nav-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:520px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lg);padding:16px 20px;display:none;z-index:60;grid-template-columns:1fr 1fr;column-gap:24px}
.nav-item.open .nav-dropdown{display:grid}
@media (hover:hover){.nav-item:hover .nav-dropdown{display:grid}.nav-item:hover>.nav-link svg{transform:rotate(180deg)}.nav-item:hover>.nav-link{color:var(--teal)}}
.nav-dropdown h4{margin:8px 10px 6px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#707078}
.nav-drop-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;color:#161616;font-size:13px}
.nav-drop-item:hover{background:#F8FAFC;color:var(--teal);text-decoration:none}
.nav-drop-item .mega-icon{width:20px;height:20px;background:none;border-radius:0;flex-shrink:0}
.nav-drop-item .mega-icon svg{width:20px;height:20px;color:var(--teal)}
.nav-drop-item .mega-icon img{width:20px;height:20px}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.lang-select{border:1px solid var(--line);border-radius:6px;padding:7px 8px;font-family:var(--font);font-size:.9rem;color:var(--ink);background:#fff}
.hamburger{display:none;background:none;border:0;cursor:pointer;padding:8px}
.hamburger svg{width:24px;height:24px;color:var(--navy)}
.mobile-menu{display:none;background:#fff;border-bottom:1px solid var(--line);padding:12px 20px 18px}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:10px 4px;color:var(--ink);font-weight:500;border-bottom:1px solid var(--line)}
.mobile-menu a:last-child{border-bottom:0}

/* Tool-switcher / nine-dot button (3x3 dot grid) — same button, new panels */
.switcher-btn,.ninedot-btn{background:none;border:0;cursor:pointer;padding:8px;border-radius:8px}
.switcher-btn:hover,.ninedot-btn:hover{background:#F2F5F9}
.switcher-btn svg,.ninedot-btn svg{width:22px;height:22px;color:var(--navy)}

/* Legacy tool-header (v1 tool pages) — kept so old pages still render until
   builders swap in the canonical header fragment. Same look as .site-header. */
.tool-header{background:#fff;border-bottom:1px solid var(--line)}
.tool-header .container{display:flex;align-items:center;gap:16px;height:var(--header-h)}
.tool-header .brand img{height:40px}
.tool-header .spacer{flex:1}

/* ---------- Mega-panel: "ALL PDF TOOLS" — v3: ~1254x488, 6 columns,
   196x36 items, 13px text, bare 20px teal icons, NO internal scroll.
   Groups: row 1 = Organize / Optimize / Convert to / Convert from / Edit /
   Security; row 2 = Intelligence under Optimize. Opens on HOVER (JS). */
.mega-panel{position:fixed;top:57px;left:50%;z-index:70;
  width:min(1254px,calc(100vw - 24px));max-height:calc(100vh - 70px);overflow-y:auto;
  background:#fff;border:0;border-radius:12px;box-shadow:var(--shadow-lg);
  padding:20px 24px 24px;opacity:0;visibility:hidden;transform:translate(-50%,0);
  transition:opacity .08s ease,visibility .08s;pointer-events:none}
.mega-panel.open{opacity:1;visibility:visible;pointer-events:auto}
.mega-grid{display:grid;grid-template-columns:repeat(6,196px);column-gap:6px;row-gap:20px;justify-content:center}
.mega-group[data-group="intelligence"]{grid-column:2;grid-row:2}
.mega-group h4{margin:0 0 8px;font-size:14px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:#707078;line-height:20px}
.mega-item{display:flex;gap:8px;align-items:center;width:196px;height:36px;padding:8px;border-radius:8px;color:#161616}
.mega-item:hover{background:#F8FAFC;text-decoration:none}
.mega-item b{font-size:13px;font-weight:400;color:#161616;line-height:20px;white-space:nowrap}
.mega-icon{width:20px;height:20px;flex-shrink:0;border-radius:0;display:flex;align-items:center;justify-content:center;background:none}
.mega-icon svg{width:20px;height:20px;color:var(--teal)}
.mega-icon img{width:20px;height:20px}

/* ---------- Nine-dot panel ----------
   ~600px wide, anchored right below the header. Left column: headed groups of
   our own tools/solutions (pale grey-blue tiles); right rail: line-icon rows,
   Help and Language as in-place sub-panels. Language is English only. */
.ninedot-panel{position:fixed;top:calc(var(--header-h) + 8px);right:16px;z-index:70;
  width:min(600px,calc(100vw - 32px));max-height:calc(100vh - 70px);overflow-y:auto;
  background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);
  display:grid;grid-template-columns:1fr 210px;opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;pointer-events:none}
.ninedot-panel.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.nd-main{padding:24px 24px 8px}
.nd-group{margin-bottom:20px}
.nd-group h4{margin:0 0 8px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--grey-light)}
.nd-row{display:flex;gap:12px;align-items:center;padding:7px 4px;border-radius:8px;color:var(--ink)}
.nd-row:hover{background:#F8FAFC;text-decoration:none}
.nd-row b{display:block;font-size:.95rem;font-weight:700;color:var(--navy);line-height:1.3}
.nd-row span span{display:block;font-size:.83rem;color:var(--grey);line-height:1.4}
.nd-tile{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--tile,#0E5A6D);display:flex;align-items:center;justify-content:center}
.nd-tile svg{width:22px;height:22px;color:#fff}
.nd-rail{border-left:1px solid var(--line);padding:24px 18px;background:#FBFCFD;border-radius:0 16px 16px 0}
.ninedot-link{display:flex;align-items:center;gap:10px;padding:9px 4px;font-size:.95rem;font-weight:600;color:var(--ink)}
.ninedot-link:hover{color:var(--teal);text-decoration:none}
.ninedot-link svg{width:18px;height:18px;color:var(--teal);flex-shrink:0}
.ninedot-divider{border-top:1px solid var(--line);margin:12px 0}
/* Collapsible rows (Help / Language) — <details>/<summary>, no JS needed */
.collapse-row{border:0;padding:0}
.collapse-row summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;
  padding:9px 4px;font-size:.95rem;font-weight:600;color:var(--ink)}
.collapse-row summary::-webkit-details-marker{display:none}
.collapse-row summary svg{width:18px;height:18px;color:var(--teal);flex-shrink:0}
.collapse-row summary .chev{margin-left:auto;width:14px;height:14px;color:var(--grey-light);transition:transform .18s ease}
.collapse-row[open ] summary .chev{transform:rotate(90deg)}
.collapse-body{padding:2px 4px 10px 32px}
.collapse-body a{display:block;padding:6px 0;font-size:.92rem;color:var(--ink)}
.collapse-body a:hover{color:var(--teal);text-decoration:none}
.lang-list{display:grid;grid-template-columns:1fr;gap:2px;padding:2px 0 6px}
.lang-list button{border:0;background:none;cursor:pointer;font-family:var(--font);font-size:.92rem;
  color:var(--ink);text-align:left;padding:6px 4px;border-radius:6px}
.lang-list button:hover{background:#F2F5F9;color:var(--teal)}
.lang-list button[aria-current="true"]{font-weight:700;color:var(--teal)}
.lang-note{font-size:.85rem;color:var(--grey);margin:2px 0 8px;padding:0 4px}

/* Legacy switcher panel (v1 pages) — kept for compatibility until builders swap
   in the canonical fragments. The new fragments do not use it. */
.switcher-panel{position:fixed;inset:0;z-index:80;display:none;background:rgba(11,43,75,.45)}
.switcher-panel.open{display:block}
.switcher-sheet{position:absolute;top:0;right:0;bottom:0;width:min(420px,92vw);background:#fff;overflow-y:auto;padding:24px}
.switcher-sheet h2{font-size:1.25rem}
.switcher-sheet h3{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-light);margin:20px 0 6px}
.switcher-sheet ul{list-style:none;margin:0;padding:0}
.switcher-sheet li a{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:6px;color:var(--ink)}
.switcher-sheet li a:hover{background:var(--page);color:var(--teal);text-decoration:none}
.switcher-sheet li a svg{width:18px;height:18px;color:var(--teal);flex-shrink:0}
.switcher-close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:1.5rem;cursor:pointer;color:var(--grey)}

/* Toast */
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);background:var(--navy);color:#fff;
  padding:12px 20px;border-radius:8px;font-size:.95rem;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ---------- Hero (homepage) — v3: 180px tall, 24px padding, H1 42px/600
   one line, sub 22px/400. Filter pills live BELOW the hero (one 34px row). ---------- */
.hero{position:relative;text-align:center;padding:24px 20px 12px;min-height:180px;background:#F5F5FA}
.hero h1{font-size:42px;font-weight:600;color:#33333B;line-height:52px;max-width:1100px;margin:0 auto 4px;letter-spacing:0}
.hero p{max-width:980px;margin:0 auto;color:#47474F;font-size:22px;line-height:32px}

/* Filter pills (homepage, under the hero) — ONE row, 34px tall, 16px/500 */
.filter-pills{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;padding:0 20px}
.filter-pill{border:1px solid #D6D6DF;background:#fff;color:#47474F;font-family:var(--font);
  font-size:16px;font-weight:500;height:34px;padding:0 18px;border-radius:999px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center}
.filter-empty{max-width:640px;margin:28px auto 0;text-align:center;color:var(--grey);font-size:1rem}
.filter-pill:hover{border-color:var(--teal);color:var(--teal)}
.filter-pill.active{background:#292931;border-color:#292931;color:#fff}
.filter-pill.active:hover{color:#fff}

/* ---------- Tool grid (homepage) ---------- */
.tools-section{padding:32px 0 80px;background:#F5F5FA}
.tools-section .container{max-width:1280px;padding:0 29px}
.tool-group{margin-bottom:40px}
.tool-group>h2{font-size:1.25rem;margin-bottom:16px}
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;margin:0;padding:0}
.tool-card{position:relative;background:var(--card);border:1px solid #D6D6DF;border-radius:16px;box-shadow:none;
  padding:24px;display:flex;flex-direction:column;transition:border-color .15s}
.tool-card:hover{border-color:#111;box-shadow:none}
.tool-card a{color:inherit;display:flex;flex-direction:column;flex:1}
.tool-card a:hover{text-decoration:none}
.tool-card .tool-icon{width:42px;height:42px;border-radius:0;background:none;color:var(--teal);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.tool-card .tool-icon svg{width:42px;height:42px;color:var(--teal)}
.tool-card .tool-icon img{width:42px;height:42px}
.tool-card h3{font-size:20px;font-weight:500;color:#33333B;margin-bottom:8px;line-height:28px}
.tool-card p{color:#707078;font-size:13px;line-height:18px;letter-spacing:.3px;margin:0}
.new-badge{position:absolute;top:12px;right:12px;background:var(--amber);color:#1F2A37;
  font-size:.68rem;font-weight:800;letter-spacing:.02em;padding:3px 8px;border-radius:999px}

/* ---------- Homepage sections ---------- */
.section{padding:88px 0}
.section-white{background:#fff}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.two-col .lede{margin-bottom:24px}
.illus-panel{background:linear-gradient(135deg,#EAF4F6,#FDF3DC);border-radius:16px;min-height:300px;display:flex;align-items:center;justify-content:center;padding:32px;overflow:hidden}
.illus-panel svg{width:100%;max-width:380px;height:auto}
.gradient-panel{background:linear-gradient(135deg,var(--teal),var(--navy));border-radius:16px;padding:28px;display:grid;gap:16px}
.mini-card{background:#fff;border-radius:10px;padding:18px 20px}
.mini-card h3{font-size:1rem;margin-bottom:4px}
.mini-card p{color:var(--grey);font-size:.9rem;margin:0}
.cream-band{background:var(--cream)}
.check-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.check-list li{display:flex;gap:10px;align-items:flex-start;font-weight:600;color:var(--navy)}
.check-list li svg{width:22px;height:22px;color:var(--teal);flex-shrink:0}
.check-list li span{color:var(--grey);font-weight:400;display:block;font-size:.95rem}

/* "Work your way" — heading top-left, 3 equal white cards, pastel visual on top.
   Visuals are pure CSS gradients + simple inline SVG line art (no copied images). */
.way-section{background:#fff}
.way-section h2{text-align:left;font-size:2.5rem}
.way-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:8px}
.way-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);transition:box-shadow .15s;display:block;color:inherit}
.way-card:hover{box-shadow:var(--shadow-lg);text-decoration:none}
.way-visual{min-height:150px;display:flex;align-items:center;justify-content:center;padding:20px}
.way-visual.peach{background:linear-gradient(135deg,#FFE8D6,#FFD9C0)}
.way-visual.pink{background:linear-gradient(135deg,#FDE2E8,#FBCFE8)}
.way-visual.lilac{background:linear-gradient(135deg,#E9E4FB,#DCD6F7)}
.way-visual svg{width:120px;height:90px;color:var(--navy);opacity:.75}
.way-card h3{margin:0;padding:20px 20px 4px}
.way-card p{color:var(--grey);font-size:.95rem;padding:0 20px;margin:0 0 16px}
.way-arrow{display:flex;justify-content:flex-end;padding:0 20px 18px}
.way-arrow svg{width:20px;height:20px;color:var(--navy)}


/* Image-tools section (our own image tools — no external image site, no copied image) */
.img-tools{background:#fff}
.img-tools-illus{background:linear-gradient(135deg,#EAF4F6,#FDF3DC);border-radius:16px;min-height:300px;
  display:flex;align-items:center;justify-content:center;padding:32px;overflow:hidden}
.img-tools-illus svg{width:100%;max-width:380px;height:auto}

/* Trust — centred heading + paragraph + three plain-text badges */
.trust-section{background:#fff;text-align:center}
.trust-section h2{font-size:1.375rem}
.trust-section p{max-width:640px;margin:0 auto 28px;color:var(--grey)}
.trust-badges{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.trust-badge{border:1px solid var(--line);border-radius:999px;padding:10px 20px;color:var(--grey);
  font-size:.9rem;font-weight:600;background:#fff}

/* ---------- Footer (homepage / legal pages) ---------- */
.site-footer{background:#33333D;color:#fff;padding:64px 0 48px}
.site-footer a{color:#fff}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:0 16px;margin-bottom:64px}
.footer-grid>div{padding:0 16px}
.footer-brand img{height:36px;width:auto;margin-bottom:16px}
.footer-brand p{font-size:.92rem;max-width:280px}
.social-row{display:flex;gap:10px;margin-top:16px}
.social-row a,.social-row span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff}
.social-row a:hover{border-color:#fff}
.social-row svg{width:17px;height:17px;color:#fff}
.site-footer h3{color:#fff;font-size:16px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:16px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:14px;font-size:14px;line-height:1.5}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:.88rem}
.footer-bottom-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.lang-pill{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid rgba(255,255,255,.4);border-radius:999px;color:#fff;font-family:var(--font);font-size:.95rem;font-weight:600;padding:8px 16px;cursor:pointer}
.lang-pill:hover{border-color:#fff}
.lang-pill svg{width:18px;height:18px}
.footer-copy{color:#8A99A8;font-size:.88rem;margin:20px 0 0}
.footer-bottom-left{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-bottom .lang-select{background:transparent;color:#fff;border:1px solid #fff;border-radius:4px;width:115px;height:34px;font-size:12px;font-weight:500;padding:8px 12px}
.footer-bottom .social-row{margin-top:0}
.store-badges{display:flex;gap:10px;flex-wrap:wrap}
.store-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:7px 12px;color:#fff;font-size:.85rem}
.store-badge:hover{border-color:#fff;text-decoration:none}
.store-badge svg{width:18px;height:18px}

/* ---------- Tool page ---------- */
/* .tool-area is the full-bleed very light grey-blue region page builders wrap
   around the tool hero + dropzone. It fills the viewport; no border, no card. */
.tool-area{background:var(--dropzone);padding:56px 0 72px}
.tool-area .tool-hero{padding:0 20px 28px;background:transparent}
.tool-hero{text-align:center;padding:44px 20px 28px}
.tool-hero h1{font-size:clamp(1.8rem,4vw,2.6rem)}
.tool-hero p{color:var(--grey);max-width:620px;margin:0 auto}
/* Dropzone: plain grey-blue surface, NO border, NO dashed box, NO rounded card.
   The dz-icon is hidden in the v2 template (H1 + sub + button only). */
.dropzone{background:var(--dropzone);border:0;border-radius:0;min-height:340px;padding:32px 20px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;transition:background .15s}
.dropzone.drag-over{background:#DCE9ED}
.dropzone .dz-icon{display:none}
.dropzone .dz-icon svg{width:100%;height:100%}
/* Pill button + two small teal circles stacked vertically to its right.
   Grid: the main button spans both rows; cloud buttons sit in the right column.
   Works with the v1 markup (one .btn + two .cloud-btn) on all 37 tool pages. */
.choose-row{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;gap:8px 12px;align-items:center;justify-content:center}
.choose-row .btn{grid-row:1 / span 2;border-radius:999px;padding:16px 36px;font-size:1.05rem}
.cloud-btn{width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;background:var(--teal);color:#fff;font-weight:800;font-size:1.1rem;display:inline-flex;align-items:center;justify-content:center}
.cloud-btn:hover{background:var(--teal-dark)}
.cloud-btn svg{width:20px;height:20px}
.dz-note{color:var(--grey);font-size:.92rem;margin:0}
.file-input-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.file-list{list-style:none;margin:24px 0;padding:0;display:grid;gap:10px}
.file-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:12px;cursor:grab}
.file-item.dragging{opacity:.45}
.file-item .file-ico{width:34px;height:34px;color:var(--teal);flex-shrink:0}
.file-item .file-ico svg{width:100%;height:100%}
.file-item .file-meta{flex:1;min-width:0}
.file-item .file-name{font-weight:600;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-item .file-sub{color:var(--grey);font-size:.85rem}
.file-item .file-btns{display:flex;gap:6px;flex-shrink:0}
.icon-btn{background:var(--page);border:1px solid var(--line);border-radius:6px;width:32px;height:32px;cursor:pointer;font-size:1rem;color:var(--navy);line-height:1}
.icon-btn:hover{border-color:var(--teal);color:var(--teal)}
.tool-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 24px}
.tool-actions .spacer{flex:1}
.status{color:var(--grey);font-size:.95rem}
.status.error{color:#B42318}
.status.success{color:var(--teal-dark)}
.result-box{background:#fff;border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:10px;padding:20px 22px;margin-bottom:32px}
.result-box h2{font-size:1.2rem;margin-bottom:6px}
.result-box p{color:var(--grey);margin-bottom:14px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;counter-increment:step}
.step::before{content:counter(step);display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--teal);color:#fff;font-weight:800;margin-bottom:12px}
.faq{max-width:760px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy)}
.faq p{margin:10px 0 0;color:var(--grey)}
/* Homepage FAQ section (own words; also carries the FAQPage JSON-LD) */
.faq-section{background:#fff}
.faq-section .container{max-width:800px}
.faq-section h2{font-size:2rem;margin-bottom:24px}
/* Tool footer — v3: FIXED 44px translucent white bar at the viewport bottom,
   12px text, copyright + Privacy / Terms / About links. */
.tool-footer{position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.6);backdrop-filter:blur(6px);border-top:1px solid var(--line);padding:0;color:#161616;font-size:12px;height:44px}
.tool-footer .container{display:flex;justify-content:flex-start;align-items:center;gap:12px;flex-wrap:wrap;height:44px}
.tool-footer a{color:#161616}

/* ---------- Legal / content pages ---------- */
.content-page{padding:48px 0 72px}
.content-page article{max-width:760px}
.content-page h2{margin-top:2em}
.content-page ul{color:var(--ink)}
.content-page li{margin-bottom:.4em}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .tool-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(3,1fr)}
  .mega-grid{grid-template-columns:repeat(3,196px)}
  .mega-panel{overflow-y:auto}
  .way-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .main-nav{display:none}
  .header-actions .lang-select{display:none}
  .hamburger{display:block}
  .two-col{grid-template-columns:1fr;gap:28px}
  .steps{grid-template-columns:1fr}
  .ninedot-panel{grid-template-columns:1fr}
  .ninedot-rail{border-left:0;border-top:1px solid var(--line);border-radius:0 0 16px 16px}
}
@media (max-width:700px){
  .tool-grid{grid-template-columns:repeat(2,1fr)}
  .way-grid{grid-template-columns:1fr}
  .mega-grid{grid-template-columns:repeat(2,196px)}
  .mega-panel{padding:20px}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .hero{min-height:0;padding:20px 16px 12px}
  .hero h1{font-size:24px;line-height:32px}
  .hero p{font-size:16px;line-height:24px}
  .filter-pill{font-size:14px;padding:0 14px}
}
@media (max-width:560px){
  .hero{padding:24px 16px 12px}
  .section{padding:40px 0}
  .footer-grid{grid-template-columns:1fr}
  .file-item{flex-wrap:wrap}
  .tool-area{padding:40px 0 56px}
}
@media (max-width:460px){
  .tools-section .container{padding:0 25px}
  .tool-grid{grid-template-columns:1fr}
  .mega-grid{grid-template-columns:196px}
  .ninedot-btn{display:none}
  .choose-row .btn{padding:14px 22px;font-size:.95rem;max-width:calc(100vw - 120px)}
  .cloud-btn{width:36px;height:36px}
  .container{padding:0 16px}
  .filter-pill{padding:8px 14px;font-size:.88rem}
  .lang-list{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* v2 fix: tool cards are links — no underline on hover. */
.tool-card:hover,.tool-card a:hover{text-decoration:none}
