/* Split PDF (page-specific) */

.tool-hero {
  padding: 44px 0 24px;
  background: linear-gradient(180deg, #f7faff, transparent);
  border-bottom: 1px solid var(--border);
}

.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 14px; margin-bottom: 8px;
}
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}
.muted { color: var(--muted); }

.uploader { margin-top: 16px; }
.uploader-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 24px;
}
.uploader-inner {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 180px;
  text-align: center;
}
.uploader-icon { font-size: 26px; }
.uploader-text strong { display: block; color: var(--ink); }
.uploader .hint { font-size: 12px; color: var(--muted); }

/* Options */
.options { display: grid; gap: 12px; margin-top: 14px; }
.option-row { display: grid; gap: 8px; }
.option-row > label { font-weight: 600; color: var(--ink); }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }

.range-row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.input {
  padding: 10px 12px; border:1px solid var(--border); border-radius:10px; outline:none;
}
.input:focus { border-color:#c9d4ff; box-shadow:0 0 0 3px #e8eeff; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 999px; cursor: pointer; background: #fff;
  user-select: none;
}
.chip input { accent-color: var(--blue); }

/* Preview */
.preview { margin-top: 14px; }
.preview-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.thumbs { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.pg {
  aspect-ratio: 3/4; border:1px solid var(--border); border-radius:10px; background:#fff;
  display:grid; place-items:center; color:#94a3b8; font-weight:700;
}
.pg.ph {
  background: repeating-linear-gradient(135deg, #f3f6ff, #f3f6ff 10px, #e8efff 10px, #e8efff 20px);
}

/* CTA */
.cta-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; flex-wrap: wrap;
}
.convert-btn[disabled] { opacity: .6; cursor: not-allowed; }
.small { font-size: 13px; }

/* Layout sections */
.three-cols { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.seo-grid  { display: grid; gap: 16px; grid-template-columns: 1.1fr .9fr; }

.prose h2 { margin: 0 0 10px; }
.prose h3 { margin: 14px 0 8px; }
.prose ol, .prose ul { padding-left: 18px; margin: 0 0 10px; }
.faq details + details { margin-top: 8px; }

@media (max-width: 900px) {
  .three-cols, .seo-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3,1fr); }
}
