/* Public site + report. Contrast checked to WCAG AA; visible focus everywhere. */
:root {
  --ink: #14213d; --ink-2: #3d4a63; --muted: #5b6577; --line: #d9dee7; --bg: #ffffff; --bg-2: #f4f6fa;
  --brand: #0b5cad; --brand-ink: #ffffff; --brand-dark: #084785; --ok: #146c43; --warn: #8a4b00; --bad: #a4161a;
  --radius: 12px; --focus: 3px solid #f2a900;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; font-size: 1.0625rem; background: var(--bg); }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: var(--focus); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: .2em 0 .4em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .3em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.small { font-size: .9rem; color: var(--muted); }
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.small { padding: 7px 14px; font-size: .95rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.site-header nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-header nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.site-header nav a:not(.btn):hover { text-decoration: underline; }

.hero { background: linear-gradient(180deg, var(--bg-2), #fff); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding-left: 28px; position: relative; margin: 6px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.scan-form h2 { font-size: 1.35rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid #8a94a6; border-radius: 8px; background: #fff; color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-msg { color: var(--bad); font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }

section { padding: 56px 0; }
.band { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 10px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier .price { font-size: 1.6rem; font-weight: 800; margin: 4px 0 8px; }
.tier.featured { border: 2px solid var(--brand); }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.claims { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.claims th, .claims td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.claims th { background: var(--ink); color: #fff; }
.claims td:last-child { color: var(--bad); text-decoration: line-through; text-decoration-thickness: 1px; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

.site-footer { background: var(--ink); color: #e6eaf2; padding: 28px 0; font-size: .92rem; }
.site-footer a { color: #fff; }

/* report */
.report { padding-top: 40px; padding-bottom: 40px; max-width: 900px; }
.report section { padding: 0; margin: 28px 0; }
.report .card { margin: 24px 0; padding: 22px; }
.pages { padding-left: 20px; word-break: break-word; }
.note { border-left: 5px solid var(--warn); }
.issue { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 14px 0; }
.issue h3 { display: flex; gap: 10px; align-items: baseline; }
.num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; }
.meta { color: var(--muted); font-size: .92rem; margin: 2px 0 8px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 700; font-size: .8rem; margin-right: 6px; }
.tag-critical { background: #fde8e8; color: var(--bad); }
.tag-serious { background: #fff1db; color: var(--warn); }
.tag-moderate, .tag-minor { background: #e8eef9; color: var(--brand-dark); }
.issue details { margin-top: 6px; }
.issue summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.issue code { font-size: .82rem; background: var(--bg-2); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.fix { color: var(--ink-2); font-size: .9rem; }
.cta { border: 2px solid var(--brand); }
.spinner { width: 36px; height: 36px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .steps, .tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .tiers { grid-template-columns: 1fr; }
  .site-header nav { gap: 12px; }
  section { padding: 40px 0; }
}
