/* /privacy-choices and /report — the privacy & safety pages. Built on the
   site tokens in style.css (navy, amber, Poppins/Inter/JetBrains Mono); a dark
   hero over a light body, like the legal pages. */

.cx-hero { padding-top: 8rem; padding-bottom: 2.5rem; }
.cx-body { padding-top: 2.5rem; padding-bottom: 5rem; }
.cx-narrow { max-width: 780px; }
.cx-hero .sdesc { max-width: 640px; }

.cx-card {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.75rem;
  border: 1px solid #e3e6ee;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px hsla(251, 32%, 15%, .04), 0 8px 24px hsla(251, 32%, 15%, .04);
}
.cx-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cx-kicker { margin: 0 0 .35rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--growth-amber-dark); }
.cx-card__title { margin: 0; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.35; color: var(--trust-navy); }
.cx-text { margin: .9rem 0 0; font-size: .95rem; line-height: 1.65; color: #475569; }
.cx-text a, .cx-note a, .cx-link { color: var(--trust-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: hsla(var(--growth-amber-hsl), .7); }
.cx-text--muted { color: var(--slate); }
.cx-small { font-size: .8rem; line-height: 1.6; }

.cx-status {
  flex: none; padding: .3rem .75rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.cx-status.is-in { background: #eef1f6; color: #475569; }
.cx-status.is-out { background: hsl(142, 60%, 92%); color: hsl(142, 70%, 24%); }

.cx-note { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: calc(var(--radius) - .25rem); border-left: 3px solid #cbd5e1; background: #f5f7fa; font-size: .9rem; line-height: 1.6; color: #334155; }
.cx-note[hidden] { display: none; }
.cx-note strong { color: var(--trust-navy); }
.cx-note--ok { border-left-color: var(--success); background: hsl(142, 60%, 96%); }
.cx-note--warn { border-left-color: var(--growth-amber); background: hsla(var(--growth-amber-hsl), .1); }
.cx-note--error { border-left-color: var(--danger); background: hsl(0, 85%, 97%); margin: 0 0 1.25rem; }
.cx-note--urgent { border-left-color: #b91c1c; background: hsl(0, 85%, 97%); margin: -0.25rem 0 1.25rem; }
.cx-emergency { margin: 0 0 1.25rem; }

.cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.cx-actions [hidden] { display: none; }
.cx-btn { border: 0; cursor: pointer; }
.cx-btn-ghost {
  display: inline-flex; align-items: center; padding: .7rem 1.4rem; border: 1px solid #cbd5e1; border-radius: var(--radius);
  background: var(--white); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; color: var(--trust-navy); cursor: pointer; transition: border-color .2s;
}
.cx-btn-ghost:hover { border-color: var(--trust-navy); }
.cx-link { font-size: .88rem; font-weight: 500; }

/* ── Form (/report) ── */
.cx-form { padding: 2rem; }
.cx-field { display: block; margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.cx-label { display: block; margin-bottom: .45rem; padding: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--trust-navy); }
.cx-req { color: var(--growth-amber-dark); }
.cx-opt { margin-left: .25rem; text-transform: none; letter-spacing: 0; color: var(--slate); }
.cx-help { display: block; margin: -.15rem 0 .5rem; font-size: .82rem; line-height: 1.5; color: var(--slate); }
.cx-input {
  display: block; width: 100%; padding: .75rem .95rem;
  border: 1px solid #d5dae4; border-radius: calc(var(--radius) - .25rem); background: var(--white);
  font-family: var(--font-body); font-size: .92rem; line-height: 1.5; color: var(--trust-navy);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
textarea.cx-input { resize: vertical; min-height: 90px; }
.cx-input:focus { border-color: var(--growth-amber); box-shadow: 0 0 0 3px hsla(var(--growth-amber-hsl), .18); }
.cx-input[aria-invalid="true"] { border-color: var(--danger); }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.cx-error { display: block; margin-top: .4rem; font-size: .8rem; font-weight: 500; color: hsl(0, 70%, 42%); }

.cx-options { display: grid; gap: .6rem; }
.cx-options--compact { grid-template-columns: 1fr 1fr; }
.cx-option { position: relative; display: block; cursor: pointer; }
.cx-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx-option__ui {
  display: block; padding: .85rem 1rem .85rem 2.6rem; position: relative;
  border: 1px solid #d5dae4; border-radius: calc(var(--radius) - .25rem); background: var(--white);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.cx-option__ui::before {
  content: ''; position: absolute; left: 1rem; top: 1.05rem; width: 14px; height: 14px;
  border: 1.5px solid #94a3b8; border-radius: 999px; background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.cx-option__title { display: flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--trust-navy); }
.cx-option__hint { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.5; color: var(--slate); }
.cx-option:hover .cx-option__ui { border-color: #94a3b8; }
.cx-option input:checked + .cx-option__ui { border-color: var(--trust-navy); background: hsla(251, 32%, 15%, .03); box-shadow: 0 0 0 1px var(--trust-navy); }
.cx-option input:checked + .cx-option__ui::before { border-color: var(--trust-navy); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--trust-navy); }
.cx-option input:focus-visible + .cx-option__ui { outline: 2px solid var(--growth-amber); outline-offset: 2px; }
.cx-option--urgent .cx-option__ui { border-left: 3px solid #b91c1c; }
.cx-tag { padding: .1rem .45rem; border-radius: 999px; background: #b91c1c; font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }

.cx-check { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 1rem; font-size: .88rem; line-height: 1.55; color: #334155; cursor: pointer; }
.cx-check input { flex: none; width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--trust-navy); cursor: pointer; }
.cx-check[hidden] { display: none; }

.cx-block { margin: 0 0 1.25rem; padding: 1.1rem 1.1rem .25rem; border: 1px dashed #cbd5e1; border-radius: calc(var(--radius) - .25rem); background: #fafbfd; }
.cx-block__title { margin: 0 0 .8rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
/* With JS, each category's extra part shows only when that category is picked. */
.cx-form.is-enhanced [data-for]:not(.is-on) { display: none; }

.cx-form .cf-turnstile { margin: .5rem 0 1rem; }
.cx-submit { width: 100%; justify-content: center; margin: .5rem 0 0; padding: .9rem; border: 0; cursor: pointer; }
.cx-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Sent ── */
.cx-done { text-align: center; padding: 2.5rem 1.75rem; outline: none; }
.cx-done__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 999px; background: var(--success); color: var(--white); font-size: 1.5rem; font-weight: 700; }
.cx-done .cx-text { max-width: 560px; margin-left: auto; margin-right: auto; }
.cx-ref { font-family: var(--font-mono); color: var(--growth-amber-dark); white-space: nowrap; }
.cx-done .cx-link { display: inline-block; margin-top: 1.25rem; }

@media (max-width: 640px) {
  .cx-hero { padding-top: 6.5rem; }
  .cx-card, .cx-form { padding: 1.25rem; }
  .cx-row, .cx-options--compact { grid-template-columns: 1fr; }
  .cx-card__head { flex-direction: column; }
}

/* ── Legal pages (site/templates/legal) ── */
.lg-wrap { max-width: 1120px; }
.lg-hero { padding-bottom: 2rem; }
.lg-siblings { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.lg-siblings a {
  padding: .35rem .8rem; border: 1px solid hsla(0, 0%, 100%, .18); border-radius: 999px;
  font-size: .78rem; color: hsla(0, 0%, 100%, .75); text-decoration: none; transition: border-color .2s, color .2s;
}
.lg-siblings a:hover { border-color: var(--growth-amber); color: var(--white); }
.lg-siblings a[aria-current="page"] { border-color: var(--growth-amber); background: hsla(var(--growth-amber-hsl), .14); color: var(--white); }
.lg-body { padding-top: 2.5rem; padding-bottom: 5rem; }
.lg-grid { display: grid; gap: 2rem; align-items: start; }
.lg-article { min-width: 0; max-width: 760px; }
.lg-toc details { border: 1px solid #e3e6ee; border-radius: var(--radius); background: var(--white); padding: .9rem 1.1rem; }
.lg-toc summary { cursor: pointer; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.lg-toc ul { margin: .75rem 0 0; padding: 0; list-style: none; font-size: .84rem; line-height: 1.5; }
.lg-toc li + li { margin-top: .35rem; }
.lg-toc a { color: var(--trust-navy); text-decoration: none; }
.lg-toc a:hover { color: var(--growth-amber-dark); text-decoration: underline; }
.lg-article h2 { scroll-margin-top: 6rem; }
/* The blog drop cap would land on "Effective date" — not for legal text. */
.lg-article.blog-body > p:first-of-type::first-letter { float: none; padding: 0; font: inherit; color: inherit; line-height: inherit; }
.lg-print { margin-top: 3rem; font-size: .82rem; }
@media (min-width: 1024px) {
  .lg-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; }
  .lg-toc { position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow: auto; }
}
@media print {
  .lg-hero { padding: 1rem 0 0; background: none; color: #000; }
  .lg-siblings, .lg-toc, .lg-print, .nav, header, footer, .ftr { display: none !important; }
  .lg-grid { display: block; }
}
