/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PDF VAULT — WHITE THEME v13
   Font: Plus Jakarta Sans (Google Fonts)
   Accent: #6366f1 Indigo
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --white:   #ffffff;
  --off:     #f8f8f8;
  --off2:    #f2f2f2;
  --b1:      #e5e5e5;
  --b2:      #ebebeb;
  --b3:      #dddddd;
  --ac:      #6366f1;
  --ac-bg:   #eef2ff;
  --ac-dark: #4f46e5;
  --h1:      #0a0a0a;
  --h3:      #222222;
  --body:    #444444;
  --sec:     #555555;
  --meta:    #767676;
  --f: 'Plus Jakarta Sans', sans-serif;
  --fmono: 'DM Mono', monospace;
  --r: 10px;
  --rs: 7px;
  --surface2: #f8fafc;
  --border2: #e5e7eb;
  --text2: #555555;
  --radius-sm: 8px;
  --font: var(--f);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f); background: var(--white); color: var(--body); overflow-x: hidden; line-height: 1.6; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--b1); border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; background: var(--white);
  border-bottom: 0.5px solid var(--b2);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; letter-spacing: -0.4px;
  color: var(--h1); text-decoration: none;
}
.nav-logo-icon {
  width: 28px; height: 28px; background: var(--ac);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; flex-shrink: 0;
}
.nav-logo span { color: var(--ac); }
.nav-links { display: flex; gap: 1px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 600; color: var(--sec);
  padding: 5px 11px; border-radius: 7px; text-decoration: none;
  letter-spacing: -0.1px; transition: all .15s;
}
.nav-links a:hover { background: var(--off); color: var(--h1); }
.nav-links a.active { color: var(--ac); background: var(--ac-bg); }
.nav-btn {
  background: var(--ac); color: #fff; border: none;
  padding: 8px 18px; border-radius: 8px; font-size: 13px;
  font-weight: 700; cursor: pointer; font-family: var(--f);
  letter-spacing: -0.2px; transition: all .2s;
  text-decoration: none; display: inline-block;
}
.nav-btn:hover { background: var(--ac-dark); }
.nav-mob,
.nav-mob-btn { display: none; background: none; border: 0.5px solid var(--b1); border-radius: 7px; padding: 6px 10px; cursor: pointer; font-size: 16px; color: var(--sec); }
.mob-menu { display: none; flex-direction: column; gap: 2px; background: var(--white); border-bottom: 0.5px solid var(--b2); padding: 10px 20px; }
.mob-menu a { display: block; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--sec); text-decoration: none; border-radius: 7px; }
.mob-menu a:hover { background: var(--off); color: var(--h1); }
.mob-menu.open { display: flex; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wrap    { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.wrap-sm { max-width: 780px;  margin: 0 auto; padding: 0 32px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.sec     { padding: 40px 0 28px; }
.section { padding: 52px 0 44px; }
.sec-alt { background: var(--off); border-top: 0.5px solid var(--b2); border-bottom: 0.5px solid var(--b2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TYPOGRAPHY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ac); margin-bottom: 6px; display: block; }
.h1 { font-size: clamp(28px,4.5vw,42px); font-weight: 800; color: var(--h1); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 12px; }
.h2 { font-size: clamp(20px,2.5vw,26px); font-weight: 800; color: var(--h1); letter-spacing: -0.75px; margin-bottom: 6px; }
.h3 { font-size: 15px; font-weight: 800; color: var(--h3); letter-spacing: -0.3px; margin-bottom: 5px; }
.lead { font-size: 15px; font-weight: 500; color: var(--sec); line-height: 1.75; max-width: 560px; }
.page-title { font-size: clamp(30px,4.5vw,46px); font-weight: 800; color: var(--h1); line-height: 1.07; letter-spacing: -1.4px; margin: 12px 0; max-width: 780px; }
.page-sub { font-size: 16px; font-weight: 500; color: var(--sec); line-height: 1.75; max-width: 700px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--meta); font-size: 12.5px; font-weight: 700; margin-bottom: 18px; }
.breadcrumb a { color: var(--meta); text-decoration: none; }
.breadcrumb a:hover { color: var(--ac); }
.em-ac { background: linear-gradient(135deg,var(--ac),#8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: normal; }
.bc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--meta); margin-bottom: 20px; flex-wrap: wrap; }
.bc a { color: var(--meta); text-decoration: none; }
.bc a:hover { color: var(--ac); }
.bc span { color: var(--b1); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn        { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: 9px; font-size: 13.5px; font-weight: 700; font-family: var(--f); letter-spacing: -0.2px; cursor: pointer; transition: all .2s; text-decoration: none; border: none; }
.btn-fill   { background: var(--ac); color: #fff; box-shadow: 0 4px 14px rgba(99,102,241,.3); }
.btn-fill:hover { background: var(--ac-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,.4); }
.btn-ghost  { background: var(--white); color: var(--h3); border: 0.5px solid var(--b3); }
.btn-ghost:hover { border-color: var(--ac); color: var(--ac); }
.btn-green  { background: #059669; color: #fff; box-shadow: 0 4px 14px rgba(5,150,105,.25); }
.btn-green:hover { background: #047857; }
.btn-sm     { padding: 7px 16px; font-size: 12.5px; border-radius: 7px; }
.btn-full   { width: 100%; justify-content: center; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BADGE / TAG
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tag      { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 0.5px solid var(--b3); border-radius: 100px; padding: 5px 13px; font-size: 11.5px; font-weight: 700; color: var(--sec); }
.tag-dot  { width: 7px; height: 7px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.badge    { display: inline-block; background: var(--ac-bg); color: var(--ac); font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; letter-spacing: 0.2px; text-transform: uppercase; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATS ROW
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stats      { display: flex; border: 0.5px solid var(--b1); border-radius: 11px; overflow: hidden; background: var(--white); width: fit-content; }
.stat       { padding: 11px 22px; text-align: center; border-right: 0.5px solid var(--b1); }
.stat:last-child { border-right: none; }
.stat-n     { font-size: 22px; font-weight: 800; color: var(--ac); letter-spacing: -1px; }
.stat-l     { font-size: 10px; font-weight: 700; color: var(--meta); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 2px; }

/* Homepage hero */
.home-hero {
  border-bottom: 0.5px solid var(--b2);
  background:
    radial-gradient(circle at 80% 18%, rgba(99,102,241,0.12), transparent 28%),
    linear-gradient(180deg,#f7f7fc,#fff 72%);
  padding: 44px 0 34px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 30px;
  align-items: center;
}

.home-hero-copy .tag {
  margin-bottom: 18px;
}

.home-hero-copy .lead {
  margin-bottom: 22px;
}

.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.home-hero-panel {
  border: 0.5px solid var(--b1);
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
  padding: 18px;
}

.home-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  border-bottom: 0.5px solid var(--b2);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.home-panel-head span {
  color: var(--ac);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.home-panel-head strong {
  color: var(--h1);
  font-size: 15px;
  font-weight: 800;
}

.home-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-panel-grid a {
  min-height: 96px;
  border: 0.5px solid var(--b1);
  border-radius: 12px;
  background: linear-gradient(180deg,#fff,#fafafa);
  color: inherit;
  text-decoration: none;
  padding: 13px;
  display: grid;
  gap: 4px;
  transition: all .18s;
}

.home-panel-grid a:hover {
  border-color: var(--ac);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99,102,241,.1);
}

.home-panel-grid span {
  width: fit-content;
  border-radius: 7px;
  background: var(--ac-bg);
  color: var(--ac);
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
}

.home-panel-grid strong {
  color: var(--h1);
  font-size: 13px;
  line-height: 1.25;
}

.home-panel-grid small {
  color: var(--sec);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cards-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.card        { background: var(--white); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 20px; text-decoration: none; display: block; transition: all .18s; position: relative; min-height: 184px; }
.card:hover  { border-color: var(--ac); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(99,102,241,.1); }
.card-icon   { width: 36px; height: 36px; background: var(--ac-bg); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 12px; flex-shrink: 0; }
.card-tag    { font-size: 11px; font-weight: 800; color: var(--ac); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 10px; display: block; }
.card-eye    { font-size: 10.5px; font-weight: 800; color: var(--ac); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; display: block; }
.card-title  { font-size: 14px; font-weight: 800; color: var(--h1); margin-bottom: 5px; line-height: 1.35; letter-spacing: -0.3px; }
.card-desc   { font-size: 12.5px; font-weight: 500; color: var(--sec); line-height: 1.65; }
.card-meta   { font-size: 11px; font-weight: 600; color: var(--meta); margin-top: 10px; }
.card-link   { font-size: 12px; font-weight: 700; color: var(--ac); margin-top: 10px; display: block; }
.card::after {
  content: "Open guide";
  display: inline-flex;
  margin-top: 14px;
  color: var(--ac);
  font-size: 12px;
  font-weight: 800;
}

.guide-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,760px) minmax(260px,1fr);
  gap: 32px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 64px;
}

.guide-main {
  min-width: 0;
}

.guide-sidebar {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 12px;
}

.guide-side-card {
  background: var(--white);
  border: 0.5px solid var(--b1);
  border-radius: var(--r);
  padding: 18px;
}

.guide-side-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--h1);
  margin-bottom: 10px;
}

.guide-side-card a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: var(--sec);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0.5px solid var(--b2);
}

.guide-side-card a:last-child { border-bottom: none; }
.guide-side-card a:hover { color: var(--ac); }

/* Grid systems */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.g6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOOL CARD (Homepage directory)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tool-card       { background: var(--white); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 18px 12px; text-align: center; text-decoration: none; display: block; transition: all .18s; }
.tool-card:hover { border-color: var(--ac); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(99,102,241,.1); }
.tool-card-icon  { font-size: 24px; margin-bottom: 8px; display: block; }
.tool-card-name  { font-size: 12px; font-weight: 800; color: var(--h1); line-height: 1.35; margin-bottom: 3px; letter-spacing: -0.2px; }
.tool-card-desc  { font-size: 11px; font-weight: 600; color: var(--sec); line-height: 1.4; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOOL UI (Inside each tool page)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tool-box         { background: var(--white); border: 0.5px solid var(--b1); border-radius: 14px; padding: 28px; margin: 24px 0; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.tool-box-title   { font-size: 17px; font-weight: 800; color: var(--h1); letter-spacing: -0.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.tool-box-sub     { font-size: 13px; font-weight: 500; color: var(--sec); margin-bottom: 20px; line-height: 1.6; }
.dz               { border: 1.5px dashed var(--b3); border-radius: 12px; padding: 36px 24px; text-align: center; cursor: pointer; background: var(--off); position: relative; overflow: hidden; transition: all .2s; }
.dz:hover, .dz.over { border-color: var(--ac); background: var(--ac-bg); }
.dz input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dz-icon          { font-size: 32px; margin-bottom: 8px; display: block; }
.dz-title         { font-size: 14px; font-weight: 800; color: var(--h3); margin-bottom: 4px; letter-spacing: -0.2px; }
.dz-sub           { font-size: 12.5px; font-weight: 500; color: var(--sec); }
.dz-privacy       { font-size: 11px; font-weight: 600; color: var(--meta); margin-top: 8px; }
.size-label       { font-size: 11px; font-weight: 800; color: var(--h3); text-transform: uppercase; letter-spacing: 0.8px; margin: 14px 0 6px; display: block; }
.presets          { display: flex; gap: 6px; flex-wrap: wrap; }
.preset-btn       { background: var(--off); border: 0.5px solid var(--b3); color: var(--sec); padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; font-family: var(--f); cursor: pointer; transition: all .15s; letter-spacing: -0.1px; }
.preset-btn:hover, .preset-btn.active { border-color: var(--ac); color: var(--ac); background: var(--ac-bg); }
.ti               { background: var(--off); border: 0.5px solid var(--b3); color: var(--h1); padding: 8px 12px; border-radius: 8px; font-size: 14px; font-family: var(--f); outline: none; font-weight: 600; transition: border-color .15s; }
.ti:focus         { border-color: var(--ac); background: var(--white); }
.file-list        { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.file-item        { display: flex; align-items: center; gap: 10px; background: var(--off); border: 0.5px solid var(--b1); border-radius: 8px; padding: 9px 13px; }
.file-item-icon   { width: 34px; height: 34px; background: var(--ac-bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.file-item-name   { font-size: 13px; font-weight: 700; color: var(--h3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item-size   { font-size: 11px; font-weight: 600; color: var(--meta); }
.prog-wrap        { margin-top: 14px; display: none; background: var(--off); border: 0.5px solid var(--b1); border-radius: 9px; padding: 14px; }
.prog-lbl         { font-size: 12.5px; font-weight: 700; color: var(--sec); display: flex; justify-content: space-between; margin-bottom: 8px; }
.prog-track       { background: var(--b1); border-radius: 100px; height: 6px; overflow: hidden; }
.prog-fill        { height: 100%; background: linear-gradient(90deg,var(--ac),#8b5cf6); border-radius: 100px; width: 0; transition: width .3s; }
.result-wrap      { background: #f0fdf4; border: 0.5px solid #bbf7d0; border-radius: var(--r); padding: 18px; margin-top: 14px; display: none; }
.result-title     { font-size: 14px; font-weight: 800; color: #166534; margin-bottom: 4px; }
.result-detail    { font-size: 12.5px; font-weight: 600; color: #166534; margin-bottom: 14px; opacity: .8; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ARTICLE (SEO content below tool)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.article          { max-width: 760px; margin: 0 auto; padding: 36px 0 60px; }
.article h2       { font-size: 20px; font-weight: 800; color: var(--h1); margin: 32px 0 10px; letter-spacing: -0.5px; padding-bottom: 8px; border-bottom: 0.5px solid var(--b2); }
.article h3       { font-size: 15px; font-weight: 800; color: var(--h3); margin: 20px 0 6px; letter-spacing: -0.2px; }
.article p        { font-size: 14px; font-weight: 500; color: var(--body); line-height: 1.9; margin-bottom: 12px; }
.article strong   { color: var(--h3); font-weight: 700; }
.article a        { color: var(--ac); text-decoration: none; font-weight: 600; }
.article a:hover  { text-decoration: underline; }
.article ul, .article ol { padding-left: 18px; margin-bottom: 12px; }
.article li       { font-size: 14px; font-weight: 500; color: var(--body); line-height: 1.8; margin-bottom: 4px; }
.step-card        { background: var(--off); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 16px; margin: 10px 0; }
.step-card h3     { margin: 0 0 5px; font-size: 14px; font-weight: 800; color: var(--h3); letter-spacing: -0.2px; }
.step-card p      { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--sec); line-height: 1.75; }
.step-num         { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--ac); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 800; margin-right: 6px; vertical-align: middle; flex-shrink: 0; }
.tip-box          { background: #fffbeb; border: 0.5px solid #fcd34d; border-radius: var(--r); padding: 13px 16px; margin: 16px 0; font-size: 13.5px; font-weight: 500; color: #92400e; line-height: 1.7; }
.tip-box strong   { color: #78350f; font-weight: 800; }
.warn-box         { background: #fff1f2; border: 0.5px solid #fda4af; border-radius: var(--r); padding: 13px 16px; margin: 16px 0; font-size: 13.5px; font-weight: 500; color: #9f1239; line-height: 1.7; }
.warn-box strong  { color: #881337; font-weight: 800; }
.info-box         { background: var(--ac-bg); border: 0.5px solid #c7d2fe; border-radius: var(--r); padding: 13px 16px; margin: 16px 0; font-size: 13.5px; font-weight: 500; color: #3730a3; line-height: 1.7; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tw       { overflow-x: auto; margin: 16px 0; border: 0.5px solid var(--b1); border-radius: var(--r); }
.tw table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tw th    { background: var(--off); color: var(--h3); font-weight: 800; padding: 11px 14px; text-align: left; border-bottom: 0.5px solid var(--b1); font-size: 12px; letter-spacing: -0.1px; }
.tw td    { padding: 10px 14px; color: var(--sec); font-weight: 600; border-bottom: 0.5px solid var(--b2); }
.tw tr:last-child td { border-bottom: none; }
.tw tr:hover td { background: var(--off); }
.tw .ac   { color: var(--ac); font-family: var(--fmono); font-size: 12px; font-weight: 700; }
.table-wrap       { overflow-x: auto; margin: 16px 0; border: 0.5px solid var(--b1); border-radius: var(--r); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table-wrap th    { background: var(--off); color: var(--h3); font-weight: 800; padding: 11px 14px; text-align: left; border-bottom: 0.5px solid var(--b1); font-size: 12px; letter-spacing: -0.1px; }
.table-wrap td    { padding: 10px 14px; color: var(--sec); font-weight: 600; border-bottom: 0.5px solid var(--b2); }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:hover td { background: var(--off); }
.req-link { color: var(--ac); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.req-link::after { content: "→"; font-size: 11px; opacity: .8; }
.req-link:hover { text-decoration: underline; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FAQ
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.faq-wrap  { }
.faq-item  { border: 0.5px solid var(--b1); border-radius: 9px; margin-bottom: 6px; overflow: hidden; background: var(--white); }
.faq-item.open, .faq-item:hover { border-color: var(--ac); }
.faq-q     { padding: 14px 18px; font-size: 14px; font-weight: 700; color: var(--h1); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .15s; letter-spacing: -0.2px; }
.faq-q:hover, .faq-item.open .faq-q { background: var(--off); }
.faq-item.open .faq-q { color: var(--ac); }
.faq-arr   { font-size: 12px; color: var(--meta); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-arr { transform: rotate(180deg); color: var(--ac); }
.faq-a     { padding: 0 18px 13px; font-size: 13.5px; font-weight: 500; color: var(--body); line-height: 1.8; display: none; }
.faq-item.open .faq-a { display: block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RELATED TOOLS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 8px; margin: 14px 0; }
.rel-card { background: var(--white); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 13px; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: all .15s; }
.rel-card:hover { border-color: var(--ac); transform: translateY(-2px); }
.rel-card-icon { font-size: 22px; flex-shrink: 0; }
.rel-card h4 { font-size: 12.5px; font-weight: 800; color: var(--h1); letter-spacing: -0.2px; }
.rel-card p  { font-size: 11px; font-weight: 600; color: var(--meta); margin-top: 1px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 10px; margin: 14px 0 24px; }
.related-card { background: var(--white); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 13px; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: all .15s; color: inherit; }
.related-card:hover { border-color: var(--ac); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(99,102,241,.1); }
.related-card-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--ac-bg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.related-card h4 { font-size: 12.5px; font-weight: 800; color: var(--h1); letter-spacing: -0.2px; margin: 0; line-height: 1.35; }
.related-card p  { font-size: 11px; font-weight: 600; color: var(--meta); margin: 2px 0 0; line-height: 1.35; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AD SLOT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ad-slot,
.adsense-wrap {
  width: min(970px, calc(100% - 32px));
  min-height: 90px;
  text-align: center;
  margin: 28px auto;
  overflow: hidden;
  border-radius: 8px;
}
.qstrip + .ad-slot { display: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUICK STRIP
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.qstrip       { background: var(--off2); border-bottom: 0.5px solid var(--b2); padding: 9px 32px; display: flex; align-items: center; gap: 14px; }
.qstrip-label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--meta); white-space: nowrap; }
.qlinks       { display: flex; gap: 6px; flex-wrap: wrap; }
.qlink        { background: var(--white); border: 0.5px solid var(--b3); border-radius: 100px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--sec); text-decoration: none; transition: all .15s; white-space: nowrap; }
.qlink:hover  { border-color: var(--ac); color: var(--ac); }

.tools-directory {
  padding-top: 36px;
  padding-bottom: 60px;
}

.tool-flow-page {
  max-width: 980px;
  padding-top: 28px;
  padding-bottom: 60px;
}

.tool-flow-page .bc,
.tool-flow-page .eyebrow,
.tool-flow-page .h1,
.tool-flow-page .lead {
  text-align: center;
}

.tool-flow-page .bc {
  justify-content: center;
}

.tool-flow-page .lead {
  margin-left: auto;
  margin-right: auto;
}

.single-tool-shell {
  background: var(--white);
  border: 0.5px solid var(--b1);
  border-radius: 14px;
  padding: 28px;
  margin: 24px auto 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.tool-panel {
  display: grid;
  gap: 18px;
}

.panel-top {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  align-items: start;
}

.panel-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--h1);
}

.panel-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--ac);
  font-size: 11px;
  vertical-align: middle;
}

.panel-desc {
  margin-top: 6px;
  color: var(--sec);
  font-size: 14px;
  line-height: 1.65;
}

.panel-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel-link {
  border: 0.5px solid var(--b2);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--sec);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
}

.panel-link:hover {
  color: var(--ac);
  border-color: var(--ac);
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 300px;
  border: 2px dashed #c7d2fe;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

.dropzone.dragover {
  border-color: var(--ac);
  background: #f8f7ff;
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dz-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ac);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.dz-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--h1);
}

.dz-sub,
.dz-privacy {
  color: var(--meta);
  font-size: 13px;
  font-weight: 600;
}

.dz-btn,
.btn-action,
.btn-download {
  border: 0;
  border-radius: 10px;
  background: var(--ac);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.btn-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.btn-clear {
  border: 0.5px solid var(--b2);
  border-radius: 10px;
  background: #fff;
  color: var(--sec);
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.file-list {
  display: grid;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 0.5px solid var(--b2);
  border-radius: 10px;
  background: #fff;
}

.file-info {
  min-width: 0;
  flex: 1;
}

.file-name {
  font-weight: 800;
  color: var(--h1);
  overflow-wrap: anywhere;
}

.file-size {
  color: var(--meta);
  font-size: 12px;
  font-weight: 700;
}

.file-remove {
  border: 0;
  background: #f1f5f9;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.compress-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.compress-opt {
  border: 0.5px solid var(--b2);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  background: #fff;
}

.compress-opt.selected {
  border-color: var(--ac);
  background: #f8f7ff;
}

.compress-opt-icon,
.compress-opt-name {
  font-weight: 800;
  color: var(--h1);
}

.compress-opt-desc {
  color: var(--meta);
  font-size: 12px;
  margin-top: 4px;
}

.options-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 0.5px solid var(--b2);
  border-radius: 12px;
  background: #f8fafc;
}

.options-box label,
.field-label {
  display: grid;
  gap: 6px;
  color: var(--h3);
  font-size: 13px;
  font-weight: 800;
}

.options-box input,
.options-box select,
.tool-input {
  width: 100%;
  min-height: 42px;
  border: 0.5px solid var(--b1);
  border-radius: 9px;
  background: #fff;
  color: var(--h1);
  padding: 9px 11px;
  font: inherit;
  font-size: 14px;
}

.input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.input-row .tool-input {
  flex: 1;
  min-width: 220px;
}

.drag-hint {
  border: 0.5px solid #c7d2fe;
  border-radius: 999px;
  background: #f8f7ff;
  color: var(--ac-dark);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.mode-btn,
.preset-btn {
  border: 0.5px solid var(--b2);
  border-radius: 9px;
  background: #fff;
  color: var(--sec);
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.mode-btn.active,
.preset-btn.active {
  border-color: var(--ac);
  background: var(--ac-bg);
  color: var(--ac-dark);
}

.tool-panel > div[style*="grid-template-columns:1fr 1fr"],
.tool-panel div[style*="grid-template-columns:repeat(3,1fr)"],
.tool-panel div[style*="grid-template-columns:repeat(4,1fr)"] {
  min-width: 0;
}

.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.progress-area,
.result-area {
  display: none;
  border: 0.5px solid var(--b2);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.progress-row,
.result-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--ac);
}

.result-header {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.result-check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 900;
}

.result-title {
  font-weight: 900;
  color: var(--h1);
}

.result-detail {
  color: var(--meta);
  font-size: 13px;
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer              { background: var(--off); border-top: 0.5px solid var(--b2); }
.footer-grid        { max-width: 1100px; margin: 0 auto; padding: 40px 32px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p     { font-size: 12px; font-weight: 500; color: var(--meta); line-height: 1.65; margin-top: 8px; max-width: 200px; }
.footer-col h4      { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--meta); margin-bottom: 10px; }
.footer-col a       { display: block; font-size: 12.5px; font-weight: 700; color: var(--sec); text-decoration: none; margin-bottom: 7px; transition: color .15s, transform .15s; }
.footer-col a::after { content: " →"; opacity: 0; color: var(--ac); transition: opacity .15s; }
.footer-col a:hover { color: var(--ac); transform: translateX(2px); }
.footer-col a:hover::after { opacity: 1; }
.footer-bottom      { max-width: 1100px; margin: 0 auto; padding: 14px 32px; border-top: 0.5px solid var(--b2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p    { font-size: 12px; font-weight: 600; color: var(--meta); }
.footer-btm-links   { display: flex; gap: 16px; }
.footer-btm-links a { font-size: 12px; font-weight: 600; color: var(--meta); text-decoration: none; }
.footer-btm-links a:hover { color: var(--ac); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SPLIT LAYOUT (SEO section)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.split          { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.ref-box        { background: var(--white); border: 0.5px solid var(--b1); border-radius: var(--r); padding: 16px; margin-bottom: 10px; }
.ref-box h4     { font-size: 12px; font-weight: 800; color: var(--h3); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; letter-spacing: -0.1px; }
.ref-row        { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 0.5px solid var(--b2); font-size: 12px; font-weight: 600; color: var(--sec); }
.ref-row:last-child { border: none; }
.ref-val        { font-weight: 700; color: var(--ac); font-family: var(--fmono); font-size: 11px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media(max-width:900px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-panel { max-width: 680px; }
  .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-detail-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .g6 { grid-template-columns: repeat(3,1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .nav { padding: 0 16px; }
  .nav-links, .nav-btn { display: none; }
  .nav-mob, .nav-mob-btn { display: block; }
  .wrap, .wrap-sm, .container, .qstrip, .footer-grid, .footer-bottom { padding-left: 16px; padding-right: 16px; }
  .tools-directory { padding-top: 24px; padding-bottom: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .guide-detail-layout { padding-top: 22px; padding-bottom: 42px; }
  .guide-sidebar { grid-template-columns: 1fr; }
  .home-hero { padding: 28px 0 24px; }
  .home-panel-grid { grid-template-columns: 1fr; }
  .home-hero-actions .btn { width: 100%; justify-content: center; }
  .g2, .g3, .g4, .g6 { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1; min-width: 90px; border-bottom: 0.5px solid var(--b1); }
  .h1 {
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.14;
    letter-spacing: -0.8px;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .lead {
    font-size: 14px;
    line-height: 1.65;
    max-width: 100%;
  }
  .eyebrow {
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
  }
  .sec { padding-top: 28px; }
  .tool-card { padding: 16px 10px; }
  .tool-box { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .tool-flow-page {
    padding-top: 22px;
    padding-bottom: 42px;
  }
  .tool-flow-page .lead {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px !important;
  }
  .single-tool-shell {
    padding: 14px;
    margin-top: 14px;
  }
  .panel-top {
    grid-template-columns: 1fr;
  }
  .panel-links {
    display: none;
  }
  .panel-title {
    font-size: 19px;
  }
  .panel-desc {
    display: none;
  }
  .dropzone {
    min-height: 220px;
  }
  .compress-grid {
    grid-template-columns: 1fr;
  }
  .tool-panel > div[style*="display:flex"] {
    flex-wrap: wrap;
  }
  .tool-panel > div[style*="grid-template-columns:1fr 1fr"],
  .tool-panel div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .tool-panel div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  .tool-panel > div[style*="grid-template-columns:1fr 1fr"] > *,
  .tool-panel div[style*="grid-template-columns:repeat(3,1fr)"] > *,
  .tool-panel div[style*="grid-template-columns:repeat(4,1fr)"] > * {
    min-width: 0;
  }
  .tool-actions .btn-action,
  .tool-actions .btn-clear,
  .btn-download {
    width: 100%;
  }
  .ad-slot,
  .adsense-wrap {
    width: calc(100% - 32px);
    min-height: 72px;
    margin-top: 18px;
    margin-bottom: 18px;
  }
}

@media(max-width:420px) {
  .h1 { font-size: 28px; }
}

.sec,
.article,
.faq-wrap,
.related-grid {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}
