.self-check {
  color: var(--ink);
  background: var(--bg);
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.self-check .site-shell { width: min(1080px, calc(100% - 32px)); }
.self-check__intro { max-width: 740px; margin-bottom: 2.5rem; }
.self-check h1, .self-check h2, .self-check h3 {
  max-width: none;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -.025em;
}
.self-check h1 { font-size: clamp(2.8rem, 6vw, 4.3rem); line-height: 1.08; }
.self-check .eyebrow { color: var(--accent-ink); font-size: .7rem; font-weight: 700; }
.self-check .lead { max-width: 62ch; color: var(--muted); font-size: 1.1rem; }
.self-check__caution {
  width: fit-content;
  max-width: 72ch;
  padding: .7rem 1rem;
  margin: 1.5rem 0 .7rem;
  color: var(--ink);
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 600;
}
.self-check__standard { display: grid; gap: .6rem; max-width: 410px; margin-bottom: 2rem; font-weight: 600; }
.self-check__standard select {
  min-height: 54px;
  width: 100%;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.self-check__groups { display: grid; gap: 1rem; margin-bottom: 2rem; }
.self-check__group {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.self-check__group-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.self-check__group-head > span { color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.self-check__group h2 { margin: 0; font-size: 1.65rem; }
.self-check fieldset { min-width: 0; margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--line); }
.self-check legend { display: block; width: 100%; font-weight: 600; }
.self-check__question-number { margin-right: .8rem; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.self-check__choices { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 0 2.2rem; }
.self-check__choices label { position: relative; cursor: pointer; }
.self-check__choices input { position: absolute; opacity: 0; inset: 0; }
.self-check__choices span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem 1rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  transition: background .16s ease, border-color .16s ease;
}
.self-check__choices span::after { content: "✓"; margin-left: .5rem; color: var(--accent-ink); opacity: 0; font-weight: 700; }
.self-check__choices input:checked + span { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.self-check__choices input:checked + span::after { opacity: 1; }
.self-check__choices input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.self-check .button { min-height: 48px; padding: .7rem 1.25rem; border-radius: 8px; background: var(--accent); font-weight: 600; }
.self-check .button:hover { background: var(--accent-strong); }
.self-check__result, .self-check__contact { margin-top: 3rem; scroll-margin-top: 110px; }
.self-check__result { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.self-check__result > h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.self-check__result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.self-check__result-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.self-check__result-card h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.self-check__result-card p, .self-check__result-card li { color: var(--muted); }
.self-check__result-card ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.self-check__result-card li + li { margin-top: .6rem; }
.self-check__result-card strong { color: var(--accent-ink); }
.self-check__contact { max-width: 740px; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.self-check__contact .contact-form label { color: var(--ink); }
.self-check__contact .contact-form input,
.self-check__contact .contact-form select,
.self-check__contact .contact-form textarea { border-color: var(--line); border-radius: 8px; }
.self-check [hidden] { display: none !important; }
@media (max-width: 700px) {
  .self-check__result-grid { grid-template-columns: 1fr; }
  .self-check__choices { margin-left: 0; }
  .self-check__contact { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .self-check__choices span { transition: none; }
}
