/* ProofAudit site — accessibility is the product, so this stylesheet is deliberately
   conservative: always-visible focus outlines, AA+ contrast pairs only, no motion. */

:root {
  --ink: #1f2937;      /* on white: 14.7:1 */
  --muted: #4b5563;    /* on white: 7.6:1  */
  --brand: #0b5fff;    /* on white: 5.1:1; white on brand: 5.1:1 */
  --panel: #f0f5ff;
  --border: #e5e7eb;
  --ok: #047857;       /* on white: 5.5:1 */
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 1rem;
}

/* Always-visible focus indicator — never outline:none anywhere on this site. */
*:focus {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 8px; z-index: 10; }

header.site {
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.wordmark {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.3px;
}
header.site nav a {
  color: var(--ink);
  text-decoration: none;
  margin-right: 18px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
header.site nav a:hover { border-bottom-color: var(--brand); }

main { max-width: 1040px; margin: 0 auto; padding: 24px; }

h1 { font-size: 2.1rem; line-height: 1.25; margin: 28px 0 10px; }
h2 { font-size: 1.4rem; margin: 40px 0 10px; }
h3 { font-size: 1.05rem; margin: 18px 0 6px; }
p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.note { color: var(--muted); font-size: 0.92rem; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--brand);
}
.btn.secondary { background: #fff; color: var(--brand); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 8px; }

.stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; padding: 0; list-style: none; }
.stats li {
  flex: 1 1 220px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.stats b { display: block; font-size: 1.5rem; color: var(--brand); }

.steps { list-style: none; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.steps li { flex: 1 1 260px; background: var(--panel); border-radius: 10px; padding: 16px 18px; }
.steps .k { font-weight: 700; color: var(--brand); }

table.issues { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
table.issues caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
table.issues th, table.issues td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
table.issues th { background: var(--panel); }
.table-scroll { overflow-x: auto; }

.sev { font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.sev.critical { color: #9b1c1c; }
.sev.serious { color: #92400e; }
.sev.moderate { color: #3730a3; }
.stamp { color: var(--ok); font-size: 0.85rem; }

table.pricing { border-collapse: collapse; width: 100%; max-width: 720px; }
table.pricing th, table.pricing td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
table.pricing th { background: var(--panel); }

.panel { background: var(--panel); border: 1px solid #dbe7ff; border-radius: 10px; padding: 16px 20px; margin: 22px 0; }

form.contact { max-width: 520px; }
form.contact label { display: block; font-weight: 600; margin: 14px 0 4px; }
form.contact input, form.contact textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--muted);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
}
form.contact button { margin-top: 16px; cursor: pointer; font: inherit; }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 22px 24px 34px;
}
footer.site .inner { max-width: 1040px; margin: 0 auto; color: var(--muted); font-size: 0.88rem; }

ul.checks { padding-left: 1.2em; }
ul.checks li { margin-bottom: 6px; }

dl.statuses dt { font-weight: 700; margin-top: 14px; }
dl.statuses dd { margin: 2px 0 0 0; color: var(--muted); }

sup a { color: var(--brand); text-decoration: none; }
