/* free website check */
.sc-page { --crit: #ef4444; --high: #f97316; --med: #fbbf24; --low: #60a5fa; --ok: #34d399; }

.sc-hero {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 28px 40px;
  text-align: center;
}
.sc-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 30%, transparent 75%);
}
.sc-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 4px 0 16px;
}
.sc-intro { margin: 0 auto 30px; max-width: 62ch; }

.sc-form { max-width: 680px; margin: 0 auto; }
.sc-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(249,115,22,.06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sc-input-wrap:focus-within {
  border-color: rgba(249,115,22,.7);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(249,115,22,.16);
}
.sc-input-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.sc-input-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 19px;
  padding: 12px 4px;
}
.sc-input-wrap input::placeholder { color: #5f6c7b; }
.sc-go { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; font-size: 16px; border: 0; cursor: pointer; white-space: nowrap; }
.sc-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc-go:disabled { opacity: .6; cursor: progress; }
.sc-error { min-height: 1.4em; margin: 12px 0 0; color: #fca5a5; font-size: 15px; }

.sc-trust { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.sc-trust li { display: inline-flex; align-items: center; gap: 8px; }
.sc-trust svg { width: 17px; height: 17px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* scanning stage */
.sc-stage {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 34px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #121922, #0d1218);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.sc-radar { position: relative; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, rgba(249,115,22,.08), transparent 70%); }
.sc-radar-ring { position: absolute; border: 1px solid rgba(249,115,22,.25); border-radius: 50%; }
.sc-radar-ring.r1 { inset: 0; }
.sc-radar-ring.r2 { inset: 36px; }
.sc-radar-ring.r3 { inset: 72px; }
.sc-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(249,115,22,.55), rgba(249,115,22,0) 70deg, transparent 360deg);
  animation: sc-spin 2.2s linear infinite;
}
.sc-radar-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--high); box-shadow: 0 0 12px var(--high); opacity: 0; animation: sc-blip 2.2s ease-out infinite; }
.sc-radar-dot.d1 { top: 46px; left: 140px; animation-delay: .35s; }
.sc-radar-dot.d2 { top: 150px; left: 60px; animation-delay: 1.2s; }
.sc-radar-dot.d3 { top: 120px; left: 170px; animation-delay: 1.75s; }
.sc-radar-shield { position: absolute; left: 50%; top: 50%; width: 48px; height: 60px; transform: translate(-50%, -50%); fill: rgba(249,115,22,.15); stroke: var(--accent); stroke-width: 6; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-blip { 0% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.2); } 60% { opacity: .2; } 100% { opacity: 0; } }

.sc-stage-label { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.sc-stage-label strong { color: #fff; font-size: 20px; display: block; margin-top: 2px; word-break: break-all; }
.sc-progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 20px; }
.sc-progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #f97316, #fbbf24); transition: width .5s ease; box-shadow: 0 0 16px rgba(249,115,22,.6); }
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-steps li { position: relative; padding-inline-start: 32px; color: #56616e; font-size: 15px; transition: color .3s ease; }
.sc-steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #2a3441;
  box-sizing: border-box;
}
.sc-steps li.active { color: #fff; }
.sc-steps li.active::before { border-color: var(--accent); border-top-color: transparent; animation: sc-spin .8s linear infinite; }
.sc-steps li.done { color: var(--muted); }
.sc-steps li.done::before { border-color: var(--ok); background: var(--ok); }
.sc-steps li.done::after { content: ""; position: absolute; inset-inline-start: 6px; top: 6px; width: 5px; height: 8px; border: solid #0a0d12; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* result */
.sc-result { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 10px 28px 30px; }
.sc-summary {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #141c26, #0d1218);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  position: relative;
  overflow: hidden;
}
.sc-summary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--sc-tone, var(--ok)); box-shadow: 0 0 30px var(--sc-tone, var(--ok)); }
.sc-summary.tone-critical { --sc-tone: var(--crit); }
.sc-summary.tone-warn { --sc-tone: var(--med); }
.sc-summary.tone-good { --sc-tone: var(--ok); }

.sc-gauge { position: relative; width: 240px; height: 240px; }
.sc-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-gauge-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 14; }
.sc-gauge-fill { fill: none; stroke: url(#sc-grad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 527.8; stroke-dashoffset: 527.8; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 10px var(--sc-tone, var(--ok))); }
.sc-grad-a { stop-color: var(--sc-tone, var(--ok)); }
.sc-grad-b { stop-color: #fbbf24; }
.tone-good .sc-grad-b { stop-color: #22d3ee; }
.tone-critical .sc-grad-b { stop-color: #f97316; }
.sc-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sc-gauge-num { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-gauge-cap { color: var(--muted); font-size: 13px; margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }
.sc-grade {
  position: absolute;
  inset-inline-end: 4px;
  top: 4px;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: #0a0d12;
  background: var(--sc-tone, var(--ok));
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.sc-domain-line { margin: 0 0 6px; color: var(--muted); font-size: 15px; word-break: break-all; }
.sc-verdict h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; margin: 0 0 10px; }
.sc-verdict-sub { color: var(--muted); margin: 0 0 18px; max-width: 56ch; }
.sc-counts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 0; }
.sc-counts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid; }
.sc-counts li b { font-size: 18px; }
.sc-counts .critical { color: #fca5a5; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.1); }
.sc-counts .high { color: #fdba74; border-color: rgba(249,115,22,.45); background: rgba(249,115,22,.1); }
.sc-counts .medium { color: #fde68a; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.sc-counts .low { color: #bfdbfe; border-color: rgba(96,165,250,.4); background: rgba(96,165,250,.08); }
.sc-counts .zero { opacity: .45; }
.sc-scanid { margin: 0; color: #5f6c7b; font-size: 13px; }

.sc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 18px; }
.sc-cat {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #131a23, #0f141b);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease, border-color .2s ease;
}
.sc-cat.in { opacity: 1; transform: none; }
.sc-cat:hover { border-color: rgba(255,255,255,.18); }
.sc-cat-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; }
.sc-cat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-cat h4 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.sc-cat-meta { margin: 0; color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sc-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sc-dot.critical { background: var(--crit); } .sc-dot.high { background: var(--high); }
.sc-dot.medium { background: var(--med); } .sc-dot.low { background: var(--low); }
.sc-status { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.sc-cat.pass .sc-cat-icon { color: var(--ok); background: rgba(52,211,153,.12); }
.sc-cat.pass .sc-status { color: var(--ok); background: rgba(52,211,153,.12); }
.sc-cat.warn .sc-cat-icon { color: var(--med); background: rgba(251,191,36,.12); }
.sc-cat.warn .sc-status { color: var(--med); background: rgba(251,191,36,.12); }
.sc-cat.fail { border-color: rgba(239,68,68,.4); }
.sc-cat.fail .sc-cat-icon { color: #fca5a5; background: rgba(239,68,68,.14); }
.sc-cat.fail .sc-status { color: #fca5a5; background: rgba(239,68,68,.14); }

.sc-locked { margin-top: 18px; padding: 24px; border-radius: 20px; border: 1px dashed rgba(255,255,255,.16); background: rgba(255,255,255,.02); }
.sc-locked-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.sc-locked-head svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; margin-top: 2px; }
.sc-locked-head h3 { margin: 0 0 4px; color: #fff; }
.sc-locked-head p { margin: 0; color: var(--muted); font-size: 15px; }
.sc-locked-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-locked-list li { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #10161e; border: 1px solid var(--border); }
.sc-sev { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 7px; text-align: center; }
.sc-sev.critical { color: #fff; background: var(--crit); }
.sc-sev.high { color: #0a0d12; background: var(--high); }
.sc-sev.medium { color: #0a0d12; background: var(--med); }
.sc-sev.low { color: #0a0d12; background: var(--low); }
.sc-blur { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-blur i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); filter: blur(1.5px); }
.sc-blur i + i { width: 60%; opacity: .7; }
.sc-blur span { color: var(--muted); font-size: 12px; }
.sc-lock { width: 18px; height: 18px; fill: none; stroke: #5f6c7b; stroke-width: 2; }
.sc-more { color: var(--muted); font-size: 14px; text-align: center; padding: 6px; }

.sc-cta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(249,115,22,.4);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(249,115,22,.16), transparent 60%),
    linear-gradient(180deg, #151c26, #0f141b);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.sc-cta h3 { font-size: 26px; color: #fff; margin: 0 0 10px; }
.sc-cta p { color: var(--muted); margin: 0; }
.sc-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-lead input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; font: inherit; box-sizing: border-box; }
.sc-lead input:focus { outline: 2px solid rgba(249,115,22,.55); outline-offset: 1px; }
.sc-lead input[name="company"], .sc-lead .btn, .sc-lead-status, .sc-lead-privacy { grid-column: 1 / -1; }
.sc-lead input.invalid { border-color: rgba(255,120,120,.75); }
.sc-lead .btn { border: 0; cursor: pointer; padding: 14px; font-size: 16px; }
.sc-lead .btn:disabled { opacity: .6; cursor: progress; }
.sc-lead-status { margin: 0; min-height: 1.2em; font-size: 14px; }
.sc-lead-status.ok { color: #7fe3a8; }
.sc-lead-status.error { color: #ff9b9b; }
.sc-lead-privacy { margin: 0; font-size: 12px; color: #5f6c7b !important; }
.sc-again-row { text-align: center; margin: 26px 0 0; }
.sc-again-row .btn { background: transparent; cursor: pointer; font: inherit; font-weight: 600; }
.sc-bottom { text-align: start; margin-top: 0; }

.site-nav a.nav-scan { color: var(--accent); font-weight: 600; }

@media (max-width: 820px) {
  .sc-stage, .sc-summary, .sc-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sc-stage { padding: 26px 20px; }
  .sc-steps li { text-align: start; }
  .sc-counts { justify-content: center; }
  .sc-verdict-sub { margin-inline: auto; }
  .sc-cta { text-align: start; justify-items: stretch; }
}
@media (max-width: 560px) {
  .sc-hero { padding-top: 48px; }
  .sc-input-wrap { flex-wrap: wrap; padding: 8px; }
  .sc-input-icon { display: none; }
  .sc-input-wrap input { flex-basis: 100%; padding: 10px; }
  .sc-go { width: 100%; justify-content: center; }
  .sc-lead { grid-template-columns: 1fr; }
  .sc-locked-list li { grid-template-columns: 80px 1fr; }
  .sc-lock { display: none; }
  .sc-gauge { width: 210px; height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-radar-sweep, .sc-radar-dot, .sc-steps li.active::before { animation: none; }
  .sc-cat { opacity: 1; transform: none; transition: none; }
}

.sc-page [hidden] { display: none !important; }
.sc-page .field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sc-hero .sc-intro { max-width: 640px; margin: 0 auto 30px; text-align: center; }
.sc-locked-list li.sc-more { display: block; background: transparent; border: 0; padding: 6px; }
