/* Hacked-site cleanup page. Shared tokens and components (plan sheet, effort columns) live in landing.css. */

.lp section[id] { scroll-margin-top: 80px; }

/* Hero: the cleanup report. Each finding shows its final state; the motion starts it at "found". */

.lp .w-report-wrap { margin-top: 12px; }
.lp .w-report { padding: 24px 26px calc(22px + var(--zz)); }

.lp .w-report-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--rule);
}

.lp .w-report-head strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.lp .w-report-head span { font-size: 0.82rem; font-weight: 600; color: var(--mute); }

.lp .w-report-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.92rem;
}

.lp .w-report-list .w-states { justify-items: end; font-size: 0.8rem; }

.lp .w-report-list .w-states > span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf5e2;
  color: #2f5410;
}

.lp .w-report-list .w-states > .is-bad { background: #fde8e8; color: #b42328; }

.lp .w-report-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-weight: 700;
}

.lp .w-report-stamp {
  padding: 4px 18px 0;
  border: 3px solid #3f6b16;
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
  color: #3f6b16;
  transform: rotate(-8deg);
}

/* Signs of a hack: cards the visitor ticks */

.lp .w-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lp .w-sign {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  height: 100%;
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 400;
  cursor: pointer;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.lp .w-sign:hover { box-shadow: inset 0 0 0 1px var(--rose); }

/* The real checkbox stays in place for keyboards and screen readers, under the drawn box */
.lp .w-sign input {
  position: absolute;
  top: 22px;
  inset-inline-start: 20px;
  width: 26px;
  height: 26px;
  margin: 0;
  opacity: 0;
}

.lp .w-sign-box {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid var(--rule);
  border-radius: 7px;
  background: #fff;
  font-size: 0.75rem;
  color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.lp .w-sign-box i { opacity: 0; }
.lp .w-sign input:focus-visible + .w-sign-box { outline: 3px solid var(--magenta); outline-offset: 3px; }
.lp .w-sign input:checked + .w-sign-box { border-color: var(--bad); background: var(--bad); }
.lp .w-sign input:checked + .w-sign-box i { opacity: 1; }
.lp .w-sign:has(input:checked) { background: #fff5f5; box-shadow: inset 0 0 0 2px var(--bad); }

.lp .w-sign-text strong { display: block; font-size: 1.05rem; }
.lp .w-sign-text small { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--mute); }

.lp .w-signs-result { max-width: 760px; margin: 36px auto 0; text-align: center; }
.lp .w-signs-result p { font-size: 1.1rem; font-weight: 600; }
.lp .w-signs-result.is-warn p { color: #b42328; }
.lp .w-signs-result .w-actions { justify-content: center; margin-top: 20px; }

@media (max-width: 900px) {
  .lp .w-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .lp .w-report { padding: 20px 18px calc(20px + var(--zz)); }
  .lp .w-report-list li { font-size: 0.88rem; }
  .lp .w-signs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lp .w-sign { padding: 16px; }
  .lp .w-sign input { top: 18px; inset-inline-start: 16px; }
}
