/* PDF Probe v2 — "The Ledger" (design preview only, not live).
   A bookkeeping ledger, not a SaaS dashboard: warm paper background,
   deep ledger-green ink, tabular figures, ruled tables, 1px borders.
   No gradients, no purple/blue, no shadows-as-decoration.
   Tokens are this product's own — not Collect's zinc. */
:root {
  --bg: #faf9f5;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --faint: #a8a29e;
  --line: #e7e2d8;
  --line-soft: #f0ece3;
  --brand: #166534;
  --brand-dark: #14532d;
  --brand-soft: #f0fdf4;
  --brand-border: #86c69b;
  --green: #166534;
  --green-bg: #f0fdf4;
  --green-line: #bbf7d0;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --red-line: #fecaca;
  --red-row: #fef2f2;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --amber-line: #fde68a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .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;
  font-variant-numeric: tabular-nums;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1 { font-size: 36px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; 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; }
.fine { font-size: 13px; color: var(--faint); }
main { padding: 32px 0 56px; }
.num { font-variant-numeric: tabular-nums; }


/* ---------- header / footer ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { color: var(--ink); font-weight: 800; font-size: 19px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.brand-tile { width: 30px; height: 30px; flex: none; border-radius: 7px; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.brand-tile svg { width: 18px; height: 18px; }
.brand-home { color: var(--faint); font-size: 13px; text-decoration: none; }
.brand-home:hover { color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 4px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 6px; }
.site-nav a:hover { color: var(--ink); background: var(--line-soft); }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 13px; background: var(--card); }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--muted); }
.foot-trust { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.foot-trust svg { width: 15px; height: 15px; flex: none; }

/* ---------- buttons ---------- */
button, .btn {
  display: inline-block; background: var(--brand); color: #fff; border: 0;
  border-radius: 8px; padding: 11px 20px; font-size: 15px; font-weight: 600;
  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, .btn.disabled { background: #a8a29e; cursor: not-allowed; }
.btn.secondary { background: var(--card); color: var(--brand); border: 1.5px solid var(--brand-border); }
.btn.secondary:hover { background: var(--brand-soft); }
.btn-lg { padding: 13px 26px; font-size: 16px; }

/* ---------- hero / quick answer ---------- */
.hero { padding: 24px 0 8px; }
.hero h1 { margin-bottom: 10px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.quick-answer {
  background: var(--brand-soft); border: 1px solid var(--green-line); border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 14px 18px; max-width: 720px;
}
.quota-pill {
  display: inline-block; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px; font-size: 14px; margin: 10px 0 4px; max-width: 100%;
  box-shadow: var(--shadow);
}
.quota-pill strong { font-weight: 700; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }

/* ---------- dropzone (tool page) ---------- */
.dropzone-form { margin: 24px 0 8px; }
.dropzone {
  background: var(--card); border: 1.5px dashed var(--brand-border); border-radius: 14px;
  padding: 40px 24px 32px; text-align: center; box-shadow: var(--shadow);
}
.dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dz-icon { width: 52px; height: 52px; margin-bottom: 10px; color: var(--brand); }
.dz-title { font-size: 21px; font-weight: 700; 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: 600; 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: var(--radius); padding: 13px 16px; }
.error { background: var(--red-bg); border: 1px solid var(--red-line); border-radius: var(--radius); padding: 13px 16px; }
.ok-badge { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: var(--radius); padding: 13px 16px; font-weight: 700; }
.warn-badge { background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: var(--radius); 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: 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 li p { color: var(--muted); font-size: 14px; margin: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border: 1.5px solid var(--brand); border-radius: 8px; color: var(--brand);
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.steps-mini { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.steps-mini li {
  display: inline-flex; align-items: center; gap: 8px; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; color: var(--muted);
}
.steps-mini li .step-num { margin: 0; width: 24px; height: 24px; font-size: 12px; border-radius: 999px; }
.steps-mini li.done { color: var(--brand-dark); border-color: var(--green-line); background: var(--brand-soft); }
.steps-mini li.active { color: var(--ink); border-color: var(--brand); font-weight: 600; }

/* ---------- feature / trust lists ---------- */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.feature-grid li { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.feature-grid .check { color: var(--brand); flex: none; margin-top: 2px; }
.feature-grid .check svg { width: 18px; height: 18px; display: block; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.trust-list li strong { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 4px; }
.trust-list li strong svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.trust-list li span { color: var(--muted); font-size: 14px; }
.trust-more { margin-top: 14px; }

/* ---------- pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
}
.price-card.featured { border: 2px solid var(--brand); }
.price-tag {
  position: absolute; top: -11px; left: 20px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px;
}
.price-name { font-weight: 700; font-size: 15px; }
.price-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 6px 0 2px; }
.price-pages { color: var(--muted); font-size: 14px; }
.price-note { color: var(--faint); font-size: 13px; margin-top: 14px; }

/* ---------- more cards / FAQ ---------- */
.more-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.more-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; text-decoration: none; display: block; box-shadow: var(--shadow);
}
.more-card:hover { border-color: var(--brand-border); }
.more-card strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.more-card span { color: var(--muted); font-size: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0 18px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); font-size: 15px; padding-bottom: 14px; }

/* ---------- reconciliation / results tables ---------- */
.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: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.recon-stat .value { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.recon-stat .value.good { color: var(--green); }
.recon-stat .value.bad { color: var(--red); }
.recon-meta { color: var(--muted); font-size: 14px; }
.legend { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.legend .swatch { width: 12px; height: 12px; background: var(--red-row); border: 1px solid var(--red-line); border-radius: 3px; display: inline-block; }
.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.tx { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
table.tx th, table.tx td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.tx th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); background: #fcfaf6; }
table.tx tr:last-child td { border-bottom: 0; }
table.tx td.num, table.tx th.num { text-align: right; }
table.tx tr.lowconf td { background: var(--red-row); }
.conf-low { color: var(--red); font-weight: 700; white-space: nowrap; }
.downloads { margin-top: 28px; }
.downloads .btn { margin-right: 10px; margin-bottom: 10px; }

/* ---------- forms (login / waitlist) ---------- */
.waitlist-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 520px; margin: 20px auto; box-shadow: var(--shadow); }
.waitlist-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.waitlist-form input {
  display: block; width: 100%; padding: 11px 12px; border: 1.5px solid var(--line);
  border-radius: 8px; font-size: 15px; margin-bottom: 14px; background: var(--card); color: var(--ink);
}
.waitlist-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 101, 52, .12); }
.waitlist-form button { width: 100%; }

/* ---------- privacy / terms lists ---------- */
.privacy-lede { font-size: 18px; color: var(--muted); max-width: 680px; }
.privacy-list { list-style: none; margin: 0; padding: 0; }
.privacy-list li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.privacy-list li strong { display: block; margin-bottom: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .recon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .steps-list, .price-cards, .feature-grid, .trust-list, .more-cards { grid-template-columns: 1fr; }
  .site-nav { margin-left: 0; }
  h1 { font-size: 30px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  main { padding: 24px 0 44px; }
  .dropzone { padding: 28px 16px 24px; }
  .dz-submit { min-width: 0; width: 100%; }
  .recon-grid { grid-template-columns: 1fr 1fr; }
  .recon-stat .value { font-size: 18px; }
  .price-amount { font-size: 30px; }
}
