/* ═══════════════════════════════════════════════════════════════════════════
   cf-additions.css — About/Contact/Support pages, the language-bar utility
   links, and the "Our coverage" map. Ported from the Claude Design handoff
   (design_handoff_crisisflare_additions, 2026-07-08). Loaded after client.css.

   Self-contained cf-* namespace + tokens so nothing collides with existing app
   styles. Overriding rule: none of this may visually outrank the crisis bar —
   supporter entry points stay quiet; orange = help-seeker actions only; red =
   Call 000 only.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --cf-navy: #16294C; --cf-navy-deep: #0F1E3A; --cf-orange: #EE7A1E; --cf-orange-ink: #A8470C;
  --cf-blue-050: #E9EEF7; --cf-blue-line: #C7D3E8; --cf-blue-mid: #2A4A86;
  --cf-red: #C0392B; --cf-green: #2F7D5B; --cf-cream: #FBF6EE; --cf-line: #E7DFD0;
  --cf-ink-2: #44506A; --cf-ink-3: #5B6580;
  --cf-r-card: 16px; --cf-r-md: 12px; --cf-r-sm: 9px; --cf-r-pill: 999px;
  --cf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.cf-scope { font-family: var(--cf-font); color: var(--cf-navy); }
.cf-scope :focus-visible { outline: 3px solid var(--cf-blue-mid); outline-offset: 2px; border-radius: 4px; }
.cf-scope a { color: var(--cf-navy); }
.cf-scope a:hover { color: var(--cf-navy-deep); }
.cf-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--cf-ink-3); margin: 0; }
.cf-h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 0; text-wrap: balance; }
.cf-h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 6px 0 0; text-wrap: balance; }
.cf-h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.cf-lede { font-size: 15.5px; color: var(--cf-ink-2); line-height: 1.55; margin: 10px 0 0; text-wrap: pretty; }
.cf-body { font-size: 14px; color: var(--cf-ink-2); line-height: 1.55; margin: 0; text-wrap: pretty; }
.cf-small { font-size: 13px; color: var(--cf-ink-3); line-height: 1.55; margin: 0; }
.cf-card { background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); padding: 20px; }
.cf-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Language-bar utility links (added into the existing .langbar-inner) ── */
.cf-langnav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.cf-langlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--cf-navy); font-size: 13.5px; font-weight: 700; text-decoration: none;
  padding: 7px 13px; border-radius: var(--cf-r-pill); min-height: 38px;
  background: #fff; border: 1px solid var(--cf-blue-line); white-space: nowrap;
}
.cf-langlink svg { width: 14px; height: 14px; flex: none; color: var(--cf-blue-mid); }
.cf-langlink:hover { background: #f4f7fc; border-color: #9fb2d6; }
.cf-langlink[aria-current="page"] { border-color: var(--cf-blue-mid); box-shadow: inset 0 0 0 1px var(--cf-blue-mid); }
.cf-langmore { display: none; position: relative; }
.cf-langmore-btn {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  background: #fff; border: 1px solid var(--cf-blue-line); color: var(--cf-navy);
  font-size: 13.5px; font-weight: 700; padding: 7px 12px;
  border-radius: var(--cf-r-pill); min-height: 38px; user-select: none;
}
.cf-langmore-btn::-webkit-details-marker { display: none; }
.cf-langmore-btn::marker { content: ""; }
.cf-langmore-btn:hover { background: #f4f7fc; }
.cf-langmore-btn .cf-caret { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .15s ease; }
.cf-langmore[open] .cf-langmore-btn .cf-caret { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .cf-langmore-btn .cf-caret { transition: none; } }
.cf-langmore-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  width: 224px; background: #fff; border: 1px solid var(--cf-blue-line);
  border-radius: var(--cf-r-md); box-shadow: 0 10px 30px rgba(15,30,58,.16); padding: 6px;
}
.cf-langmore-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; min-height: 44px; border-radius: var(--cf-r-sm);
  color: var(--cf-navy); font-weight: 700; font-size: 14.5px; text-decoration: none;
}
.cf-langmore-item:hover { background: var(--cf-blue-050); }
.cf-langmore-item svg { width: 16px; height: 16px; flex: none; color: var(--cf-blue-mid); }
/* ≤1060px: interpreter line drops to its own full-width row (production class is .interp) */
@media (max-width: 1060px) { .langbar .interp { flex-basis: 100%; order: 9; } }
/* ≤760px: the three links collapse into the "More" disclosure */
@media (max-width: 760px) {
  .cf-langnav { display: none; }
  .cf-langmore { display: inline-flex; margin-inline-start: auto; }
}

/* ── Contact page ── */
.cf-page { max-width: 680px; margin-inline: auto; padding: 34px 20px 48px; display: grid; gap: 18px; }
.cf-page > .cf-lede { margin-top: 0; }
.cf-safety { display: flex; gap: 14px; align-items: flex-start; background: var(--cf-blue-050); border: 1px solid var(--cf-blue-line); border-radius: var(--cf-r-card); padding: 18px 20px; }
.cf-safety-ic { width: 22px; height: 22px; flex: none; color: var(--cf-blue-mid); margin-top: 2px; }
.cf-safety .cf-body { margin-top: 6px; }
.cf-safety-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
a.cf-chip-000 { display: inline-flex; align-items: center; gap: 7px; background: var(--cf-red); color: #fff; text-decoration: none; font-weight: 800; font-size: 13.5px; padding: 8px 15px; border-radius: var(--cf-r-pill); min-height: 38px; }
a.cf-chip-000:hover { background: #9E2B20; color: #fff; }
.cf-chip-000 svg { width: 15px; height: 15px; }
.cf-quietlink { font-size: 13.5px; font-weight: 700; color: var(--cf-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: 0; font-family: inherit; padding: 0; }
.cf-mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 12px; }
.cf-mail { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--cf-navy); text-decoration: none; word-break: break-all; }
.cf-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.cf-mail svg { width: 19px; height: 19px; flex: none; color: var(--cf-blue-mid); }
.cf-copybtn { font-family: inherit; cursor: pointer; background: #fff; color: var(--cf-navy); border: 1.5px solid var(--cf-blue-line); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: var(--cf-r-pill); min-height: 34px; }
.cf-copybtn:hover { border-color: var(--cf-blue-mid); background: #f4f7fc; }
.cf-copybtn.ok { background: var(--cf-green); border-color: var(--cf-green); color: #fff; }

/* ── Support us page ── */
.cf-fund { margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.cf-fund li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cf-ink-2); line-height: 1.5; }
.cf-fund svg { width: 18px; height: 18px; flex: none; color: var(--cf-blue-mid); margin-top: 1px; }
.cf-fund strong { color: var(--cf-navy); font-weight: 800; }
.cf-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-way { background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); padding: 18px 20px; }
.cf-way svg { width: 20px; height: 20px; color: var(--cf-blue-mid); margin-bottom: 9px; }
.cf-way .cf-body { margin-top: 5px; }
@media (max-width: 560px) { .cf-ways { grid-template-columns: 1fr; } }
.cf-form { display: grid; gap: 14px; margin-top: 16px; }
/* display:grid overrides the UA [hidden]{display:none}, so hide explicitly on success */
.cf-form[hidden] { display: none; }
.cf-field { display: grid; gap: 5px; }
.cf-label { font-size: 13px; font-weight: 800; color: var(--cf-navy); }
.cf-label .opt { font-weight: 600; color: var(--cf-ink-3); }
.cf-input, .cf-textarea { font-family: inherit; font-size: 15px; color: var(--cf-navy); background: #fff; border: 1.5px solid #D8CDB8; border-radius: var(--cf-r-sm); padding: 10px 13px; min-height: 44px; width: 100%; }
.cf-textarea { min-height: 88px; resize: vertical; }
.cf-input:hover, .cf-textarea:hover { border-color: #C2B7A0; }
.cf-input:focus-visible, .cf-textarea:focus-visible { outline: 3px solid var(--cf-blue-mid); outline-offset: 1px; border-color: var(--cf-blue-mid); }
.cf-radiogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.cf-radiogrid legend { padding: 0; margin: 0 0 5px; }
.cf-radio { position: relative; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; background: #fff; border: 1.5px solid #D8CDB8; border-radius: var(--cf-r-md); padding: 12px 14px; min-height: 44px; }
.cf-radio:hover { border-color: var(--cf-blue-mid); }
.cf-radio input { accent-color: var(--cf-navy); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.cf-radio:has(input:checked) { border-color: var(--cf-navy); box-shadow: inset 0 0 0 1px var(--cf-navy); background: #F7F9FD; }
.cf-radio b { display: block; font-size: 14px; font-weight: 800; }
.cf-radio small { display: block; font-size: 12.5px; color: var(--cf-ink-3); margin-top: 1px; }
@media (max-width: 560px) { .cf-radiogrid { grid-template-columns: 1fr; } }
.cf-submit { font-family: inherit; cursor: pointer; justify-self: start; background: var(--cf-navy); color: #fff; border: none; font-weight: 800; font-size: 14.5px; padding: 0 22px; min-height: 46px; border-radius: var(--cf-r-pill); }
.cf-submit:hover { background: var(--cf-navy-deep); }
.cf-submit:disabled { opacity: .6; cursor: default; }
.cf-form-fine { font-size: 12.5px; color: var(--cf-ink-3); line-height: 1.55; margin: 2px 0 0; }
.cf-form-err { font-size: 13px; color: var(--cf-red); font-weight: 700; margin: 2px 0 0; }
.cf-form-ok { display: flex; gap: 13px; align-items: flex-start; margin-top: 16px; background: #EDF5F1; border: 1px solid #BDDACC; border-radius: var(--cf-r-md); padding: 16px 18px; }
.cf-form-ok[hidden] { display: none; }
.cf-form-ok svg { width: 20px; height: 20px; flex: none; color: var(--cf-green); margin-top: 1px; }
.cf-form-ok .cf-body { margin-top: 4px; }

/* ── About · "Why we're different" ── */
.cf-diff { max-width: 1000px; margin-inline: auto; padding: 36px 20px 8px; }
.cf-diff .cf-lede { max-width: 66ch; }
.cf-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cf-diff-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-r-card); padding: 18px 20px; }
.cf-diff-ic { width: 44px; height: 44px; flex: none; border-radius: var(--cf-r-md); background: var(--cf-blue-050); color: var(--cf-blue-mid); display: flex; align-items: center; justify-content: center; }
.cf-diff-ic svg { width: 22px; height: 22px; }
.cf-diff-card .cf-body { margin-top: 5px; }
.cf-diff-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.cf-diff-mini { padding: 4px 2px; }
.cf-diff-mini .mhead { display: flex; align-items: center; gap: 8px; }
.cf-diff-mini svg { width: 17px; height: 17px; flex: none; color: var(--cf-blue-mid); }
.cf-diff-mini .is-flare svg { color: var(--cf-orange-ink); }
.cf-diff-mini h3 { font-size: 14px; font-weight: 800; margin: 0; }
.cf-diff-mini p { font-size: 13px; color: var(--cf-ink-3); line-height: 1.5; margin: 6px 0 0; text-wrap: pretty; }
.cf-diff-cta { margin: 24px 0 0; font-size: 13.5px; color: var(--cf-ink-3); }
.cf-diff-cta a { color: var(--cf-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.cf-diff-cta a svg { width: 14px; height: 14px; }
.cf-diff-cta a:hover { color: var(--cf-navy-deep); }
@media (max-width: 760px) { .cf-diff-grid { grid-template-columns: 1fr; } .cf-diff-minis { grid-template-columns: 1fr 1fr; gap: 18px 14px; } }

/* ── About · "Our coverage" map + table ── */
.cf-cover { max-width: 1000px; margin-inline: auto; padding: 36px 20px 44px; }
.cf-cover h2 strong { color: var(--cf-orange-ink); font-variant-numeric: tabular-nums; }
.cf-cover .cf-lede { max-width: 62ch; }
.cf-cover-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: start; margin-top: 24px; }
@media (max-width: 760px) { .cf-cover-grid { grid-template-columns: 1fr; } }
.cf-map { margin: 0; }
.cf-map svg { width: 100%; height: auto; display: block; }
.cf-map-t { font-family: var(--cf-font); text-anchor: middle; }
.cf-map-t .ab { font-size: 15px; font-weight: 800; letter-spacing: .08em; opacity: .8; }
.cf-map-t .ct { font-size: 27px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cf-map-t.dark { fill: #fff; }
.cf-map-t.light { fill: var(--cf-navy); }
.cf-map-side { font-family: var(--cf-font); fill: var(--cf-navy); font-weight: 800; font-size: 21px; font-variant-numeric: tabular-nums; }
.cf-map-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 12.5px; color: var(--cf-ink-3); font-weight: 600; }
.cf-map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cf-map-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(15,30,58,.12); }
.cf-t1 { fill: #2F4C7C; } .cf-t2 { fill: #5C77A6; } .cf-t3 { fill: #A9BCDA; } .cf-t4 { fill: #D9E2F2; }
i.cf-t1 { background: #2F4C7C; } i.cf-t2 { background: #5C77A6; } i.cf-t3 { background: #A9BCDA; } i.cf-t4 { background: #D9E2F2; }
.cf-cover-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cf-cover-table th, .cf-cover-table td { text-align: start; padding: 9px 4px; border-top: 1px solid var(--cf-line); }
.cf-cover-table thead th { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--cf-ink-3); border-top: 0; padding-top: 0; }
.cf-cover-table tbody th { font-weight: 700; color: var(--cf-navy); }
.cf-cover-table td { text-align: end; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--cf-navy); }
.cf-cover-table tfoot th { font-weight: 800; color: var(--cf-navy); border-top: 2px solid var(--cf-blue-line); }
.cf-cover-table tfoot td { text-align: end; font-weight: 800; color: var(--cf-orange-ink); border-top: 2px solid var(--cf-blue-line); font-variant-numeric: tabular-nums; }
.cf-cover-note { margin-top: 12px; }
