/* ════════════════════════════════════════════════════════════════════════
   ktp-a11y.css — the accessibility layer, shared by every page of
   knowtheprocess.info.

   Our visitor is usually 55 or older, usually frightened, usually on a
   phone, and frequently holding a court document nobody has explained to
   them. This file is the part of the site that takes that seriously:
   bigger type they control, the phone number permanently within thumb
   reach, and every page readable out loud.

   It loads AFTER each page's own <style> so its base-size rule wins. The
   design tokens (--green, --paper, --line …) are defined identically by
   all three pages; the fallbacks here are only for safety.
   ════════════════════════════════════════════════════════════════════════ */

/* Text scaling. Every page states its sizes in rem so one root value moves
   all of them together. 18px is the floor, not the ceiling — see the
   control in ktp-a11y.js. */
html{font-size:var(--base,18px)}
body{font-size:1rem}

/* Sticky call bar — the number is the whole point of the site. */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:200;display:flex;gap:10px;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:var(--green-deep);box-shadow:0 -4px 18px rgba(0,0,0,.18)}
.callbar a,.callbar button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:58px;border-radius:12px;font-weight:700;font-size:1.05rem;border:none;
  font-family:inherit;text-decoration:none}
.callbar .cb-call{background:#fff;color:var(--green-deep)}
.callbar .cb-call:hover{text-decoration:none;background:#f3f3f3}
.callbar .cb-ask{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55)}
body{padding-bottom:86px}
@media(min-width:760px){ body{padding-bottom:0} .callbar{position:static;box-shadow:none;
  max-width:1040px;margin:28px auto 0;border-radius:14px} }

/* The accessibility strip. Sits directly under the header on every view, so
   the two things an older visitor most often needs — bigger type and someone
   to read it out loud — are never more than one tap away. */
.a11ybar{background:var(--green-tint);border-bottom:1px solid var(--line)}
.a11ybar-in{display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;padding:10px 0}
.a11ybar .listen{margin-bottom:0}
.a11y-lab{font-size:.92rem;font-weight:600;color:var(--green-deep);margin-right:2px}
@media(max-width:560px){ .a11ybar-in{justify-content:center} .a11ybar .listen{flex:1 1 100%;justify-content:center} }

/* Text-size control. Three steps, remembered between visits. */
.a11y{display:flex;align-items:center;gap:6px}
.a11y button{min-width:44px;min-height:44px;border-radius:9px;border:1.5px solid var(--line);
  background:var(--card);color:var(--ink);font-weight:700;font-family:inherit;line-height:1}
.a11y button[aria-pressed="true"]{background:var(--green);color:#fff;border-color:var(--green)}
.a11y .a1{font-size:.95rem}.a11y .a2{font-size:1.15rem}.a11y .a3{font-size:1.35rem}

/* Read-aloud button that sits on any section. */
.listen{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 16px;
  border-radius:10px;border:1.5px solid var(--green);background:var(--green-tint);
  color:var(--green-deep);font-weight:700;font-family:inherit;font-size:1rem;margin-bottom:14px}
.listen[aria-pressed="true"]{background:var(--green);color:#fff}

/* Consent block on the lead forms. */
.consent{margin:18px 0 6px;padding:14px 16px;border-radius:10px;background:var(--paper);
  border:1.5px solid var(--line);font-size:.95rem;line-height:1.55;color:var(--ink-soft)}
.consent label{display:flex;gap:11px;align-items:flex-start;cursor:pointer;font-weight:500}
.consent input[type=checkbox]{width:26px;height:26px;min-width:26px;margin-top:2px;accent-color:var(--green)}
.consent .fine{display:block;margin-top:9px;font-size:.88rem;color:var(--ink-soft)}
