/* Free website check. Kept out of styles-v55.css so adding the page doesn't force a
   cache-busting version bump on every page of the site. Same tokens, same field
   treatment as .contact-form so it reads as one site. */

[hidden] { display: none !important; }

.chk-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.chk-form {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 1rem 1.2rem; align-items: end;
}
@media (max-width: 860px) { .chk-form { grid-template-columns: 1fr; } }

.chk-field {
  display: grid; gap: 0.5rem; font-family: var(--body); font-size: 0.98rem; color: var(--foam);
}
.chk-opt { color: var(--mist); }
.chk-field input {
  background: rgba(244, 242, 234, 0.04); border: 1px solid rgba(244, 242, 234, 0.4);
  padding: 1.05rem 1.1rem; color: var(--foam); font-family: var(--body);
  font-size: 1.1rem; border-radius: 0; width: 100%; min-width: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.chk-field input::placeholder { color: rgba(244, 242, 234, 0.38); }
.chk-field input:focus {
  outline: none; border-color: var(--acid);
  box-shadow: 0 0 0 1px var(--acid), 0 0 30px rgba(var(--acid-rgb), 0.12);
}
.chk-go { border: 0; cursor: pointer; white-space: nowrap; min-height: 3.6rem; }
.chk-go:disabled { opacity: 0.7; cursor: progress; }
.chk-error { grid-column: 1 / -1; color: #ff9b8a; min-height: 1.4em; font-size: 1rem; }

.chk-results { padding-top: 0; scroll-margin-top: 6rem; }
.chk-results .section-head h2 { outline: none; }

.chk-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 72rem;
  display: grid; gap: 0; border-top: 1px solid var(--hairline);
}
.chk-item {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.35rem 1.6rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--hairline);
}
.chk-badge {
  grid-row: span 2; align-self: start;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.45rem 0.7rem; border: 1px solid currentColor; text-align: center;
}
.chk-title { font-family: var(--body); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.chk-detail { color: var(--mist); max-width: 46rem; }

/* Colour plus a heavier edge, so the status reads without colour vision too. The
   label text carries it as well. */
.is-bad .chk-badge { color: #ff8a73; box-shadow: inset 0 0 0 1px currentColor; }
.is-warn .chk-badge { color: #ffd27a; }
.is-unknown .chk-badge { color: var(--mist); border-style: dashed; }
.is-good .chk-badge { color: var(--acid); }
.is-good .chk-title { font-weight: 500; }

@media (max-width: 640px) {
  .chk-item { grid-template-columns: 1fr; }
  .chk-badge { grid-row: auto; justify-self: start; }
}

.chk-note { max-width: 72rem; margin: 1.6rem auto 0; color: var(--mist); font-size: 0.95rem; }
.chk-next { padding-top: clamp(3rem, 6vw, 5rem); }

.chk-privacy { grid-column: 1 / -1; color: var(--mist); font-size: 0.88rem; max-width: 46rem; }
.chk-privacy a { color: var(--acid); }

/* Consent box. Sits inside .contact-form, whose labels are display:grid, so this
   overrides back to a row with the box on the left. 44px tap target via padding. */
.contact-form label.chk-consent {
  display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer;
  color: var(--mist); font-size: 0.95rem; padding: 0.4rem 0;
}
.contact-form .chk-consent input {
  flex: none; width: 1.3rem; height: 1.3rem; margin: 0.1rem 0 0; padding: 0;
  accent-color: var(--acid);
}
