/*
 * Path:        public_html/assets/css/page_support.css
 * Filename:    page_support.css
 * Project:     revisualized.com
 * Description: Shared layout for the support family: privacy policy,
 *              accessibility statement, 404, and the connect page including
 *              its form. Form colors use the --color-input-border token
 *              defined in every mode block. The connect page shares this
 *              stylesheet rather than carrying one of its own.
 * Status:      production
 * Revision:    3
 * Updated:     2026-08-02 (Rev 3: dashed placeholder boxes removed, separators kept)
 * Included by: connect/index.php, privacy/index.php, accessibility/index.php,
 *              404.php via $page_stylesheet (Contract 1)
 */

.support_page { max-width: 72ch; }

.support_page__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-page-text);
  margin-bottom: 16px;
}

.support_page__updated {
  font-size: 0.688rem;
  color: var(--color-text-label);
  margin-bottom: 20px;
}

.support_page__copy { font-size: var(--text-body); line-height: 1.75; color: var(--color-text-muted); }
.support_page__copy h2 { font-size: 1rem; font-weight: 700; color: var(--color-page-text); margin: 28px 0 10px; }
.support_page__copy p { margin-bottom: 14px; }
.support_page__copy ul { margin: 0 0 14px 24px; }
.support_page__copy li { margin-bottom: 6px; }
.support_page__copy a { color: var(--color-accent); text-decoration: underline; }
.support_page__copy a:hover { color: var(--color-accent-hover); }

/* ---- Connect form ---- */

.connect_form { margin-top: 24px; }

.connect_form__field { margin-bottom: 18px; }

.connect_form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-label);
  margin-bottom: 6px;
}

.connect_form__input,
.connect_form__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-input-border);
  border-radius: 5px;
  background: var(--color-surface-card);
  color: var(--color-page-text);
  font-family: inherit;
  font-size: 0.875rem;
}

.connect_form__textarea { min-height: 160px; resize: vertical; }

.connect_form__consent_row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.connect_form__consent_row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.connect_form__consent_text {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Honeypot field: removed from the visual and accessibility layers.
   Kept off screen rather than display none so naive automation still
   fills it. */
.connect_form__field--honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.connect_form__submit {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--color-border-strong);
  border-radius: 5px;
  background: var(--color-surface-card);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.connect_form__submit:hover {
  background: var(--color-accent);
  color: var(--color-page-background);
  border-color: var(--color-accent);
}

.connect_form__notice {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--color-surface-card);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
