/**
 * ============================================================
 *  CSS / PAGES / LEGAL
 *  About, Privacy Policy, Terms & Conditions, Consent Form.
 *  Deliberately thin: the header reuses .cp-breadcrumb/.cp-hero
 *  from conditions.css and the body copy reuses .prose from
 *  components.css, same as every other long-form page on the
 *  site. This file only adds the small bits neither covers:
 *  the "last updated" line, the official-details callout box,
 *  and the consent form's fields.
 * ============================================================
 */

.legal-updated { font-size: 0.78rem; color: var(--muted); margin-top: -0.5rem; }

/* Body copy wrapper for about/tnc/privacy — left-aligned to match
   the .cp-hero header directly above it (same left padding, no
   auto-centering). Deliberately NOT .post-content: that class
   centers a narrow column, which is right for a blog article read
   top-to-bottom but looks disconnected from a left-aligned eyebrow
   + heading like every other page on this site uses. */
.legal-body { padding: 0 2.5rem 6rem; max-width: 760px; }

.legal-official {
  background: var(--teal-soft, #eef4f2); border-radius: 0.9rem;
  padding: 1.5rem 1.75rem; margin: 2.5rem 0;
  font-size: 0.92rem; color: var(--ink); line-height: 2;
}
.legal-official div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.legal-official strong { color: var(--ink); font-weight: 500; flex-shrink: 0; }
.legal-official a { color: var(--teal); }

/* ── CONSENT FORM ── */
.cf-wrap { max-width: 620px; margin: 0; padding: 1rem 2.5rem 6rem; }
.cf-field { margin-bottom: 2.25rem; }
.cf-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.cf-label .cf-optional { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--border); font-size: 0.72rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cf-input {
  width: 100%; border: 1px solid var(--border); border-radius: 0.6rem;
  padding: 0.8rem 1rem; font-family: var(--body, inherit); font-size: 0.92rem;
  color: var(--ink); background: #fff; transition: border-color 0.2s;
}
.cf-input:focus { outline: none; border-color: var(--teal); }
.cf-input::placeholder { color: var(--border); }
.cf-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cf-option {
  border: 1px solid var(--border); border-radius: 100px; padding: 0.55rem 1.1rem;
  font-size: 0.85rem; color: var(--ink); cursor: pointer; transition: 0.2s; user-select: none;
  position: relative;
}
.cf-option:hover { border-color: var(--teal); }
.cf-option input { position: absolute; opacity: 0; pointer-events: none; }
.cf-option.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cf-consent {
  display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.88rem;
  color: var(--ink); line-height: 1.6; padding: 1.25rem; background: var(--teal-soft, #eef4f2);
  border-radius: 0.75rem; cursor: pointer;
}
.cf-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.cf-consent a { color: var(--teal); text-decoration: underline; }
.cf-submit { margin-top: 2rem; width: 100%; justify-content: center; }
.cf-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.cf-error { font-size: 0.8rem; color: #b3492f; margin-top: 0.5rem; display: none; }
.cf-error.show { display: block; }

/* ── MOBILE ──
   Matches the breakpoint and padding used by .cp-breadcrumb/.cp-hero
   in conditions.css, so the header and body stay flush together. */
@media (max-width: 900px) {
  .legal-body { padding: 0 1.25rem 4rem; }
  .cf-wrap { padding: 1rem 1.25rem 4rem; }
}
