:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #0b0f14; color: #edf3f8; line-height: 1.55; }
a { color: inherit; }
.site-header { padding: 1.1rem 1.25rem; border-bottom: 1px solid #26313d; }
.brand { text-decoration: none; font-weight: 750; letter-spacing: .01em; }
.brand span { font-weight: 450; color: #aab9c7; }
.container { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }
.hero, .report-header { padding: 5rem 0 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; font-weight: 700; font-size: .78rem; color: #99acc0; }
h1 { font-size: clamp(2.1rem, 7vw, 4.3rem); line-height: 1.02; margin: .4rem 0 1rem; }
.lede { font-size: 1.15rem; color: #b7c5d2; max-width: 42rem; }
.scan-form { margin-top: 2.5rem; padding: 1.25rem; background: #121922; border: 1px solid #26313d; border-radius: 16px; }
.scan-form label { display: block; font-weight: 700; margin-bottom: .5rem; }
.scan-form input { width: 100%; padding: .95rem 1rem; font: inherit; font-size: 1.05rem; border-radius: 10px; border: 1px solid #3b4b5d; background: #090d12; color: white; }
button { width: 100%; border: 0; border-radius: 10px; padding: .95rem 1rem; margin-top: .8rem; font: inherit; font-weight: 750; cursor: pointer; }
.fine-print { font-size: .82rem; color: #91a0ae; margin-bottom: 0; }
.form-error { margin-top: .5rem; color: #ffb2ad; }
.back { color: #a9bbcb; text-decoration: none; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.5rem; }
.summary-grid div { padding: 1rem; background: #121922; border: 1px solid #26313d; border-radius: 12px; }
.summary-grid strong { display: block; font-size: 1.7rem; }
.summary-grid span { font-size: .83rem; color: #aab9c7; }
.results { padding-bottom: 4rem; }
.result-card { border: 1px solid #26313d; border-left-width: 5px; background: #121922; border-radius: 14px; padding: 1.25rem; margin: 1rem 0; }
.status-pass { border-left-color: #50c878; }
.status-fail { border-left-color: #ef6b63; }
.status-warning, .status-unknown, .status-error { border-left-color: #e8b44f; }
.status-label { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #b8c7d5; }
.result-card h2 { margin: .4rem 0; }
.impact, .recommendation { margin-top: 1rem; padding: .85rem 1rem; background: #0c1218; border-radius: 10px; }
.impact { border-left: 3px solid #e8b44f; }
.impact p, .recommendation p { margin-bottom: 0; }
details { margin-top: 1rem; color: #aab9c7; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .78rem; }
@media (max-width: 520px) { .hero, .report-header { padding-top: 3rem; } .summary-grid { grid-template-columns: 1fr; } }


.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}

.export-button {
  display: inline-block;
  padding: .7rem 1rem;
  border: 1px solid #58a6ff;
  border-radius: .55rem;
  background: #163a5f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.export-button:hover { filter: brightness(1.12); }
.export-button.secondary { background: transparent; }
