/* Optional SMS consent checkbox (A2P 10DLC) + legal page prose.
   Shared by every Flyover Creative form that collects a phone number.
   Uses the site tokens from styles.css (dark surface, champagne accent). */
.sms-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--border-accent, rgba(200, 169, 126, 0.2));
  border-radius: 10px;
  background: var(--accent-glow, rgba(200, 169, 126, 0.08));
  color: var(--text-secondary, rgba(245, 245, 247, 0.6));
  font-family: var(--font-sans, "Instrument Sans", -apple-system, sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  cursor: pointer;
}

.sms-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent, #c8a97e);
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.sms-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent, #c8a97e);
  outline-offset: 2px;
}

.sms-consent > span { display: block; min-width: 0; }

.sms-consent a {
  color: var(--accent, #c8a97e);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Two stacked boxes (customer care, then marketing) sit closer together. */
.sms-consent + .sms-consent { margin-top: -10px; }

/* Inside the landing-page form cards the fields already use a 13px gap. */
.lp-form-card .sms-consent,
.lp-form-card .sms-consent + .sms-consent { margin: 0; }

/* Legal pages (Privacy Policy, Terms) share the journal article layout. */
.legal-page h2 { margin: 2.4rem 0 0.8rem; }
.legal-page h3 { margin: 1.6rem 0 0.6rem; }
.legal-page p,
.legal-page li { color: var(--text-secondary, rgba(245, 245, 247, 0.6)); line-height: 1.75; }
.legal-page ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: 0.35rem; }
.legal-page strong { color: var(--text-primary, #f5f5f7); }
.legal-page a {
  color: var(--accent, #c8a97e);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.legal-page blockquote {
  margin: 1rem 0 1.4rem;
  padding: 14px 16px;
  border: 1px solid var(--border-accent, rgba(200, 169, 126, 0.2));
  border-radius: 10px;
  background: var(--accent-glow, rgba(200, 169, 126, 0.08));
  color: var(--text-primary, #f5f5f7);
  font-size: 14px;
  line-height: 1.65;
}
.legal-page [id] { scroll-margin-top: 110px; }
