/* PDF Probe — unified design system (v2.1, widescreen).
   Industry-standard tool-page language: hero + big dashed dropzone,
   numbered 3-step flow, trust signals, pricing cards, FAQ accordions.
   Adaptive widescreen: 1280px centered container, grids reflow
   3 -> 2 -> 1 columns, breakpoints at 1024 / 760 / 640 / 420.
   No webfonts, no frameworks — one small stylesheet for fast load. */
:root {
  --ink: #17172e;
  --muted: #5b5b70;
  --faint: #8a8a9e;
  --bg: #f7f7fb;
  --card: #ffffff;
  --line: #e4e4ef;
  --line-soft: #eeeef4;
  --brand: #2547d0;
  --brand-dark: #1b35a6;
  --brand-soft: #eef1fe;
  --brand-border: #b9c2e8;
  --green: #1d7a4c;
  --green-bg: #e6f4ec;
  --green-line: #a5d6a7;
  --red: #b42318;
  --red-bg: #fdecea;
  --red-line: #f5c6cb;
  --red-row: #fde8e8;
  --amber: #8a5a00;
  --amber-bg: #fff4e0;
  --amber-line: #ffcc80;
  --header: #14142b;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(23, 23, 46, .06), 0 4px 14px rgba(23, 23, 46, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
  background: var(--bg);
  font-size: 16px;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1 { font-size: 38px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 23px; margin: 40px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 0 0 4px; }
p { margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
main { padding: 32px 0 56px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--header); color: #fff; padding: 13px 0; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand { color: #fff; font-weight: 800; font-size: 19px; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; letter-spacing: -0.01em; }
.brand-icon { width: 26px; height: 26px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.site-nav a { color: #c9c9e3; text-decoration: none; font-size: 14px; font-weight: 500; padding: 4px 0; }
.site-nav a:hover { color: #fff; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--muted); }
.foot-trust { font-weight: 600; color: var(--ink); }

/* ---------- buttons ---------- */
button, .btn {
  display: inline-block; background: var(--brand); color: #fff; border: 0;
  border-radius: 8px; padding: 12px 22px; font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none; line-height: 1.3; text-align: center;
}
button:hover, .btn:hover { background: var(--brand-dark); color: #fff; }
button:disabled, .btn:disabled { background: #aab3d6; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.secondary:hover { background: var(--brand-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 20px 0 8px; }
.hero .lede { margin-left: auto; margin-right: auto; }
.quota-pill {
  display: inline-block; background: var(--green-bg); color: var(--green);
  border: 1px solid var(--green-line); border-radius: 999px;
  padding: 6px 16px; font-size: 14px; margin: 10px 0 4px; max-width: 100%;
}
.quota-pill strong { font-weight: 800; }

/* ---------- dropzone (tool page) ---------- */
.dropzone-form { margin: 24px 0 8px; }
.dropzone {
  background: var(--card); border: 2px dashed var(--brand-border); border-radius: 16px;
  padding: 40px 24px 32px; text-align: center; box-shadow: var(--shadow);
  transition: border-color .15s, background .15s;
}
.dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone.drag .dz-icon { transform: translateY(-3px); }
.dz-icon { width: 56px; height: 56px; margin-bottom: 8px; transition: transform .15s; }
.dz-title { font-size: 21px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.dz-or { color: var(--faint); font-size: 14px; margin: 0 0 12px; }
.dz-browse { margin-bottom: 14px; }
#file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dz-file { font-weight: 700; color: var(--brand-dark); margin: 0 0 4px; word-break: break-all; }
.dz-error { color: var(--red); font-weight: 600; margin: 0 0 8px; }
.dz-limits { color: var(--faint); font-size: 13px; margin: 0 0 18px; }
.dz-submit { min-width: 220px; }

/* ---------- notices / badges ---------- */
.notice { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 10px; padding: 13px 16px; }
.error { background: var(--red-bg); border: 1px solid var(--red-line); border-radius: 10px; padding: 13px 16px; }
.ok-badge { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 10px; padding: 13px 16px; font-weight: 700; }
.warn-badge { background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 10px; padding: 13px 16px; font-weight: 700; }
.spinner {
  width: 34px; height: 34px; border: 4px solid var(--brand-soft); border-top-color: var(--brand);
  border-radius: 50%; margin: 26px auto 12px; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing { text-align: center; }

/* ---------- steps ---------- */
.steps-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.steps-list p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 15px; margin-bottom: 10px;
}
.steps-mini { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.steps-mini li {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--faint); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px 6px 6px;
}
.steps-mini .step-num { width: 24px; height: 24px; font-size: 12px; margin: 0; background: #c9c9d8; }
.steps-mini li.active { color: var(--brand-dark); border-color: var(--brand-border); }
.steps-mini li.active .step-num { background: var(--brand); }
.steps-mini li.done { color: var(--green); }
.steps-mini li.done .step-num { background: var(--green); }

/* ---------- trust ---------- */
.trust-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trust-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.trust-list strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.trust-list span { color: var(--muted); font-size: 14px; }
.trust-more { margin-top: 14px; }

/* ---------- feature grid (landing pages) ---------- */
.feature-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-grid li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-size: 15px; box-shadow: var(--shadow);
  display: flex; gap: 10px; align-items: flex-start;
}
.check {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green);
  font-weight: 800; font-size: 13px; margin-top: 1px;
}

/* ---------- pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 0; }
.price-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 71, 208, .12), var(--shadow); }
.price-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 2px 12px; white-space: nowrap;
}
.price-name { display: block; font-weight: 700; font-size: 15px; color: var(--muted); }
.price-amount { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 4px 0 2px; }
.price-pages { display: block; color: var(--muted); font-size: 14px; }
.price-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- more cards ---------- */
.more-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.more-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; box-shadow: var(--shadow); color: var(--ink);
}
.more-card:hover { border-color: var(--brand-border); }
.more-card strong { display: block; font-size: 16px; margin-bottom: 2px; }
.more-card span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ accordions ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 15px 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; flex: none; }
.faq-item[open ] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA row ---------- */
.cta-row { text-align: center; margin: 28px 0 8px; }
.cta-row .btn { margin: 0 6px 8px; }

/* ---------- preview page ---------- */
.recon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.recon-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.recon-stat .label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.recon-stat .value { display: block; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.recon-stat .value.bad { color: var(--red); }
.recon-stat .value.good { color: var(--green); }
.recon-meta { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.legend { font-size: 14px; color: var(--muted); }
.swatch { display: inline-block; width: 14px; height: 14px; background: var(--red-row); border: 1px solid var(--red-line); vertical-align: middle; margin-right: 4px; border-radius: 3px; }
.table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table.tx { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; min-width: 560px; }
table.tx th, table.tx td { border-bottom: 1px solid var(--line-soft); padding: 8px 12px; text-align: left; }
table.tx thead th { background: #f2f2f8; position: sticky; top: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.tx tbody tr:last-child td { border-bottom: 0; }
table.tx .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.lowconf td { background: var(--red-row); }
.conf-low { color: var(--red); font-weight: 700; white-space: nowrap; }
.downloads { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.downloads h2 { margin-top: 0; }
.downloads .btn { margin: 4px 6px; }
.fine { color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- pricing table (legacy, kept for compat) ---------- */
table.pricing { border-collapse: collapse; background: #fff; margin: 12px 0; }
table.pricing th, table.pricing td { border: 1px solid var(--line); padding: 8px 16px; text-align: left; }

/* ---------- privacy page ---------- */
.privacy-lede { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: var(--radius); padding: 16px 20px; font-size: 17px; }
.privacy-list { list-style: none; margin: 20px 0 0; padding: 0; }
.privacy-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.privacy-list strong { display: block; font-size: 16px; margin-bottom: 2px; }

/* ---------- waitlist form ---------- */
.waitlist-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 18px 0; }
.waitlist-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.waitlist-form input[type=email] {
  display: block; width: 100%; max-width: 420px; padding: 11px 12px;
  border: 1.5px solid #c9c9d8; border-radius: 8px; font-size: 15px; margin-bottom: 14px;
}
.waitlist-form input[type=email]:focus { outline: none; border-color: var(--brand); }

/* ---------- responsive ---------- */
/* Tablet / small laptop: 3-col grids -> 2 cols, recon 4 -> 2 */
@media (max-width: 1024px) {
  .steps-list, .price-cards { grid-template-columns: repeat(2, 1fr); }
  .steps-list li:last-child, .price-card:last-child { grid-column: 1 / -1; }
  .recon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  h1 { font-size: 30px; }
  .lede { font-size: 16.5px; }
  .steps-list, .trust-list, .feature-grid, .more-cards { grid-template-columns: 1fr; }
  .steps-list li:last-child, .price-card:last-child { grid-column: auto; }
  .price-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .recon-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { gap: 10px; }
  .site-nav { margin-left: 0; gap: 4px 14px; }
  .site-nav a { padding: 8px 2px; }
  .dropzone { padding: 30px 16px 24px; }
  .dz-submit { width: 100%; }
  main { padding: 24px 0 44px; }
}
/* Small phones (umbrella 640 breakpoint): full-width CTAs, tighter padding */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 28px; }
  .cta-row .btn, .downloads .btn { display: block; width: 100%; margin: 0 0 10px; }
  .dz-browse { display: block; width: 100%; }
  .price-amount { font-size: 32px; }
}
/* Very small phones (360px): keep recon stats readable, no overflow */
@media (max-width: 420px) {
  .recon-grid { grid-template-columns: 1fr 1fr; }
  .recon-stat { padding: 12px; }
  .recon-stat .value { font-size: 17px; }
  .dz-submit { min-width: 0; }
}
