.check-form textarea,
.check-form select {
  min-width: 0;
  flex: 1;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--input-border);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.check-form textarea:focus,
.check-form select:focus {
  border-color: var(--accent);
  outline: 3px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.check-form label {
  margin-top: 1.25rem;
}

.check-form label:first-of-type {
  margin-top: 0;
}

.check-form__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.check-form__check input {
  flex: none;
}

.check-form__submit {
  margin-top: 1.5rem;
  width: 100%;
}

.tool-record {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.tool-copy {
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--button-bg);
  color: var(--button-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.tool-copy:hover {
  background: var(--button-hover);
}

.site-footer__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer__tools a {
  color: var(--muted);
}

.site-footer__tools a:hover {
  color: var(--ink);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.back-link:hover {
  color: var(--ink);
}

.upsell {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.upsell h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.upsell p {
  margin: 0;
  color: var(--muted);
}

.upsell__cta {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-weight: 600;
}
