/* SiteFix Report — design tokens and components. System font stack: no
   external font requests, fast and privacy-friendly. */
:root {
  --navy-900: #071630;
  --navy-800: #0b1f3a;
  --navy-700: #13305a;
  --blue-600: #2457d6;
  --blue-700: #1c46b3;
  --blue-50: #eef3ff;
  --blue-100: #dbe5ff;
  --ink: #0f172a;
  --body: #334155;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --bg: #f6f8fb;
  --soft: #f1f5f9;
  --critical: #b42318;
  --critical-bg: #fef3f2;
  --high: #c2410c;
  --high-bg: #fff4ed;
  --medium: #a15c07;
  --medium-bg: #fffaeb;
  --low: #475569;
  --low-bg: #f1f5f9;
  --good: #067647;
  --good-bg: #ecfdf3;
  --avg: #b54708;
  --poor: #b42318;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 30px -12px rgba(11, 31, 58, .25);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--body);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.btn-block { width: 100%; }
.mt-16 { margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-800); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: #c7d2fe; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .9375rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn { margin-left: 6px; }
.nav a.btn-light, .nav a.btn-light:hover { color: var(--navy-800); background: #fff; }

/* ---------- Buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .9375rem;
  cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--blue-600); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--blue-50); }
.btn-danger { background: transparent; color: var(--critical); }
.btn-danger:hover { background: var(--critical-bg); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-800); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

label { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: 6px; }
.input, select.input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(36, 87, 214, .2); }
.input[aria-invalid="true"] { border-color: var(--critical); }
.field-hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.field-error { font-size: .875rem; color: var(--critical); margin-top: 6px; font-weight: 500; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 20px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 1.15rem; }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9375rem; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: var(--critical-bg); border-color: #fecdca; color: #7a271a; }
.alert-info { background: var(--blue-50); border-color: var(--blue-100); color: var(--navy-700); }
.alert-warn { background: var(--medium-bg); border-color: #fedf89; color: #7a2e0e; }
.alert-success { background: var(--good-bg); border-color: #abefc6; color: #054f31; }
.alert p:last-child { margin: 0; }

/* ---------- Landing ---------- */
.hero { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%); color: #dbe5ff; padding: 72px 0 88px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 56ch; color: #c7d2fe; margin-bottom: 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .875rem; color: #a5b4fc; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; margin-bottom: 14px; }
.section .eyebrow { color: var(--blue-600); }
.preview { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 20px; color: var(--body); }
.preview-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.preview-head strong { color: var(--ink); }
.preview-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.preview-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.preview-item:last-child { border-bottom: 0; }
.preview-item p { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.preview-item strong { color: var(--ink); font-size: .9375rem; }
.preview-caption { font-size: .75rem; color: var(--muted); margin-top: 10px; font-style: italic; }

.section { padding: 80px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { font-size: 1.075rem; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .feature { background: var(--bg); }
.feature-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 14px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: .9375rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 24px 72px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps li h3 { margin-bottom: 4px; }
.steps li p { margin: 0; font-size: .9375rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.check-list li { padding-left: 28px; position: relative; font-size: .9375rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23067647'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.2 1.2 4.8 4.8 9-9-1.2-1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9375rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--soft); color: var(--ink); font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; }
.compare-table tbody th { color: var(--ink); font-weight: 600; width: 34%; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.price-card { background: #fff; border: 2px solid var(--blue-600); border-radius: 14px; padding: 32px; box-shadow: var(--shadow-lg); }
.price { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { margin: 20px 0 24px; padding-left: 20px; }
.price-card li { margin-bottom: 6px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 8px; }
.cta-band { background: var(--navy-800); color: #c7d2fe; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 32px 0; font-size: .875rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #c7d2fe; }

/* ---------- Dashboard ---------- */
.app-main { padding: 32px 0 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 1.75rem; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.audit-form .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.audit-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.more-options { margin-top: 14px; }
.more-options summary { cursor: pointer; color: var(--blue-600); font-weight: 600; font-size: .9375rem; }

.progress-list { list-style: none; margin: 0; padding: 0; }
.progress-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--soft); }
.progress-list li:last-child { border-bottom: 0; }
.progress-list .p-label { flex: 1; color: var(--ink); font-weight: 500; }
.progress-list .p-detail { font-size: .8125rem; color: var(--muted); text-align: right; }
.p-icon { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--line-strong); }
.p-icon svg { width: 14px; height: 14px; }
[data-state="running"] .p-icon { border-color: var(--blue-100); border-top-color: var(--blue-600); animation: spin .9s linear infinite; }
[data-state="done"] .p-icon { background: var(--good); border-color: var(--good); color: #fff; }
[data-state="failed"] .p-icon { background: var(--critical); border-color: var(--critical); color: #fff; }
[data-state="skipped"] .p-icon { background: var(--soft); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { [data-state="running"] .p-icon { animation-duration: 3s; } }

.result-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.result-head h2 { margin: 0 0 4px; font-size: 1.5rem; word-break: break-word; }
.result-head .url { color: var(--muted); font-size: .9375rem; word-break: break-all; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.summary-text { font-size: 1.075rem; color: var(--ink); margin: 16px 0 0; }

.tabs { display: inline-flex; background: var(--soft); border-radius: 8px; padding: 4px; gap: 4px; }
.tab { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .875rem; color: var(--muted); padding: 8px 14px; border-radius: 6px; cursor: pointer; min-height: 36px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gauge { text-align: center; padding: 16px 8px; border-radius: var(--radius-sm); background: var(--bg); }
.gauge svg { width: 96px; height: 96px; display: block; margin: 0 auto 8px; }
.gauge .g-label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.gauge .g-band { font-size: .8125rem; color: var(--muted); }
.gauge-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); margin-top: 14px; }
.gauge-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: currentColor; }
.lg-good { color: var(--good); } .lg-avg { color: var(--avg); } .lg-poor { color: var(--poor); }
.metric-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .9375rem; }
.metric-table th, .metric-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.metric-table th { font-size: .8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.metric-table td.val { font-weight: 700; white-space: nowrap; }
.v-good { color: var(--good); } .v-avg { color: var(--avg); } .v-poor { color: var(--poor); } .v-na { color: var(--muted); font-weight: 500 !important; }

.sev-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sev-count { border: 1px solid var(--line); border-top: 4px solid; border-radius: var(--radius-sm); padding: 14px 16px; background: #fff; text-align: left; font: inherit; cursor: pointer; color: var(--body); }
.sev-count:hover { border-color: var(--line-strong); }
.sev-count strong { display: block; font-size: 1.75rem; line-height: 1.1; }
.sev-count.critical { border-top-color: var(--critical); } .sev-count.critical strong { color: var(--critical); }
.sev-count.high { border-top-color: var(--high); } .sev-count.high strong { color: var(--high); }
.sev-count.medium { border-top-color: var(--medium); } .sev-count.medium strong { color: var(--medium); }
.sev-count.low { border-top-color: var(--low); } .sev-count.low strong { color: var(--low); }

.badge { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.badge.critical { background: var(--critical-bg); color: var(--critical); }
.badge.high { background: var(--high-bg); color: var(--high); }
.badge.medium { background: var(--medium-bg); color: var(--medium); }
.badge.low { background: var(--low-bg); color: var(--low); }
.badge.neutral { background: var(--soft); color: var(--muted); }
.badge.pass { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--medium-bg); color: var(--medium); }
.badge.fail { background: var(--critical-bg); color: var(--critical); }
.badge.not_run { background: var(--soft); color: var(--muted); }

.fix-first { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fix-card { border: 1px solid var(--line); border-left: 4px solid; border-radius: var(--radius-sm); padding: 16px; background: #fff; }
.fix-card.critical { border-left-color: var(--critical); } .fix-card.high { border-left-color: var(--high); }
.fix-card.medium { border-left-color: var(--medium); } .fix-card.low { border-left-color: var(--low); }
.fix-card h4 { margin: 8px 0 6px; font-size: 1rem; }
.fix-card p { margin: 0; font-size: .875rem; }
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-col { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; }
.plan-col h4 { margin: 0 0 2px; font-size: .9375rem; }
.plan-col > p { font-size: .8125rem; color: var(--muted); margin: 0 0 10px; }
.plan-col ol { margin: 0; padding-left: 20px; font-size: .875rem; }
.plan-col li { margin-bottom: 6px; color: var(--ink); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.chip { border: 1px solid var(--line-strong); background: #fff; color: var(--body); font: inherit; font-size: .875rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filters select.input { width: auto; min-height: 36px; padding: 6px 10px; font-size: .875rem; }
.issue { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.issue > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.issue > summary::-webkit-details-marker { display: none; }
.issue > summary:hover { background: var(--bg); }
.issue-name { font-weight: 600; color: var(--ink); }
.issue-meta { font-size: .8125rem; color: var(--muted); }
.chev { width: 20px; height: 20px; color: var(--muted); transition: transform .15s; }
.issue[open] .chev { transform: rotate(180deg); }
.issue-body { padding: 4px 16px 18px; border-top: 1px solid var(--soft); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.issue-body h5 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 4px; }
.issue-body p { margin: 0; font-size: .9375rem; }
.issue-body ol { margin: 0; padding-left: 20px; font-size: .9375rem; }
.issue-body li { margin-bottom: 4px; }
.issue-body .full { grid-column: 1 / -1; }
.evidence { background: var(--bg); border-radius: 6px; padding: 10px 12px; font-family: var(--mono); font-size: .8125rem; color: var(--body); white-space: pre-wrap; word-break: break-word; margin: 0; max-height: 220px; overflow: auto; }
.empty { text-align: center; padding: 28px; color: var(--muted); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: .8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.data-table td:first-child { color: var(--ink); font-weight: 500; }
.data-table .detail { color: var(--body); word-break: break-word; }

.history-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--soft); }
.history-item:last-child { border-bottom: 0; }
.history-item input { width: 20px; height: 20px; accent-color: var(--blue-600); }
.history-item .h-host { font-weight: 600; color: var(--ink); word-break: break-all; }
.history-item .h-meta { font-size: .8125rem; color: var(--muted); }
.history-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.delta-up { color: var(--good); font-weight: 700; } .delta-down { color: var(--poor); font-weight: 700; } .delta-none { color: var(--muted); }
.cmp-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.cmp-lists ul { list-style: none; margin: 0; padding: 0; }
.cmp-lists li { padding: 8px 0; border-bottom: 1px solid var(--soft); font-size: .9rem; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.sticky-side { position: sticky; top: 84px; }
.notes { font-size: .875rem; color: var(--muted); padding-left: 18px; margin: 0; }
.notes li { margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .layout-2 { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .grid-3, .steps, .fix-first, .plan, .cmp-lists { grid-template-columns: 1fr; }
  .pricing, .grid-2 { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: repeat(2, 1fr); }
  .issue-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .card { padding: 18px; }
  .audit-form .row, .audit-form .row-2 { grid-template-columns: 1fr; }
  .audit-form .row .btn { width: 100%; }
  .sev-counts { grid-template-columns: repeat(2, 1fr); }
  .check-list { grid-template-columns: 1fr; }
  .nav a:not(.btn) { padding: 8px; font-size: .875rem; }
  .site-header .container { min-height: 56px; }
  .history-item { grid-template-columns: auto 1fr; }
  .history-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .issue > summary { grid-template-columns: 1fr auto; }
  .issue > summary .badge { grid-column: 1 / -1; justify-self: start; }
  .result-actions .btn { flex: 1 1 auto; }
  .compare-table th, .compare-table td { padding: 10px; font-size: .875rem; }
}
@media (max-width: 480px) {
  .nav .hide-xs { display: none; }
  .nav { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
}
@media print {
  .site-header, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
