.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cyber-scan {
  padding: 48px 0 72px;
  color: var(--ink, #151a16);
}

.cyber-scan .wrap {
  max-width: 860px;
}

.scan-card,
.scan-result,
.scan-gate {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(11, 13, 12, 0.08);
}

.scan-card,
.scan-result {
  padding: 28px;
}

.scan-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  min-height: 280px;
  color: #fff;
}

.scan-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.scan-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 12, 0.78), rgba(11, 13, 12, 0.28));
}

.scan-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 72px 0 48px;
}

.scan-kicker {
  color: #67b346;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scan-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
}

.scan-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.scan-form input {
  flex: 1 1 240px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 13, 12, 0.45);
  color: #fff;
  padding: 0 18px;
  font: inherit;
}

.scan-form button,
.scan-actions button,
.scan-actions a,
.scan-gate button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #67b346;
  color: #10160e;
  font: inherit;
  font-weight: 700;
  padding: 0 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scan-actions button.ghost,
.scan-actions a.ghost {
  background: transparent;
  color: #151a16;
  border: 1px solid #dce1dd;
}

.scan-note,
.scan-err {
  margin-top: 12px;
}

.scan-err {
  color: #9b2c2c;
}

.scan-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.scan-steps li {
  padding: 6px 0;
  color: #636b65;
}

.scan-steps li.on {
  color: #151a16;
  font-weight: 700;
}

.score-row {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.score-num {
  font-size: 72px;
  line-height: 0.9;
  color: #67b346;
  font-weight: 700;
}

.sev {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.sev.critical { color: #991b1b; }
.sev.high { color: #c2410c; }
.sev.medium { color: #92600a; }
.sev.low { color: #52525b; }
.sev.info { color: #52525b; }

.finding {
  border-top: 1px solid #dce1dd;
  padding: 12px 0;
}

.finding button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  font: inherit;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.finding .body {
  padding: 10px 0 4px;
}

.finding .evidence {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: #f4f6f4;
  border-radius: 12px;
  padding: 10px 12px;
}

.locked .finding .body,
.locked .pass-line {
  filter: blur(5px);
  user-select: none;
}

.scan-gate {
  margin-top: 16px;
  padding: 22px;
}

.scan-gate label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.scan-gate input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #dce1dd;
  padding: 0 12px;
  font: inherit;
  margin-top: 4px;
}

.scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pass-line {
  padding: 8px 0;
  border-top: 1px solid #dce1dd;
}

.pass-line::before {
  content: "SECURE  ";
  color: #67b346;
  font-size: 12px;
  font-weight: 800;
}
