/* Right Choice Recovery v1-rebuild tokens (bn-9-22 Step 2.1)
   Colors: brand-guideline.json `colors` (key named on each line). Use and discipline: brand-system.md section 4.
   Type: brand-system.md section 5 (CONFIRMED 2026-11-10, fonts A). Shape: section 7. Motion: section 9.
   Fonts are self-hosted (OFL): Bricolage Grotesque variable (opsz+wght), Atkinson Hyperlegible Next variable (wght). */

@font-face{font-family:"Bricolage Grotesque";src:url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations"),url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible Next";src:url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations"),url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible Next";src:url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations"),url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");font-weight:200 800;font-style:italic;font-display:swap}

:root{
  /* canvas and card fills */
  --white:#FFFFFF;            /* colors.white: canvas, form fields */
  --warm-white:#FBFAFA;       /* colors.warm_white: sticky header / action bar only */
  --warm-gray-light:#F4F1F1;  /* colors.warm_gray_light: neutral card fill */
  --plum-ultra-light:#FAEBF9; /* colors.plum_ultra_light: human card fill */
  --teal-ultra-light:#E7F9FE; /* colors.teal_ultra_light: practical card fill */
  /* text and dark surfaces */
  --navy:#0A2434;             /* colors.navy_ink: all text; gambling-chapter bleed; footer */
  --plum-ultra-dark:#280B28;  /* colors.plum_ultra_dark: founder card only */
  --muted:#6B6258;            /* colors.warm_gray_text: secondary text, captions */
  --line:#DDD5D5;             /* colors.warm_gray_line: hairlines only, never input borders */
  /* action colors */
  --plum:#90268F;             /* colors.plum: Call fill, selected state, focus ring on light */
  --plum-dark:#651B63;        /* approved_cta_pairs.call hover */
  --plum-hover:#7B217A;       /* colors.plum_hover: text-link hover on light */
  --plum-light:#EFC3EE;       /* colors.plum_light: accent text / focus ring on dark */
  --teal-dark:#05617A;        /* colors.teal_dark: Verify fill, schedule labels */
  --teal-ultra-dark:#022731;  /* approved_cta_pairs.verify_insurance hover */
  --teal:#067796;             /* colors.teal: icons, large practical labels on light */
  --teal-light:#B6EDFC;       /* colors.teal_light: accent text and numerals on navy */
  --star:var(--navy);         /* review star glyphs: navy_ink. Plum is reserved for Call and selected states (brand-system section 4: nothing decorative) */
  /* hairlines (SITE_CONSISTENCY pass 1): one value per surface family, each a tint of an approved colour. Decorative
     rules only (they separate, they never carry meaning), so they are not held to the 3:1 non-text minimum. */
  --line-on-dark:rgba(255,255,255,.22);  /* colors.white at 22%: rules on navy_ink and plum_ultra_dark (about 1.9:1 on navy) */
  --line-on-teal:rgba(5,97,122,.25);     /* colors.teal_dark at 25%: rules inside teal_ultra_light practical cards */
  /* card fill on navy (SITE_CONSISTENCY pass 2): the navy-chapter carousel cards on gambling-casino (.06) and veterans
     (.07) used two ad-hoc white tints; one value now, a tint of an approved colour like the hairlines above */
  --fill-on-dark:rgba(255,255,255,.06);  /* colors.white at 6% on navy_ink (renders #193140): white text 13.5:1, teal_light 10.6:1 */

  /* type families */
  --display:"Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body:"Atkinson Hyperlegible Next", ui-sans-serif, system-ui, sans-serif;

  /* type scale at 1440 (brand-system section 5); phone and 1920 below. H1 64, H2 44, statement 40 at 1440 */
  --h3:26px; --lead:21px; --text:18px; --label:17px; --small:15px;
  /* display sizes run fluidly between the phone (390) and desktop (1440) values so tablets get an in-between size
     instead of the full desktop H1 (768: H1 about 47, H2 about 35, statement about 33) */
  --h1:clamp(38px, calc(28.34px + 2.476vw), 64px);
  --h2:clamp(30px, calc(24.8px + 1.333vw), 44px);
  --statement:clamp(28px, calc(23.54px + 1.143vw), 40px);

  /* shape (brand-system section 7) */
  --r-human:20px;             /* reviews, people */
  --r-practical:6px;          /* insurance, schedules, FAQ */
  --r-btn:10px;               /* buttons and inputs; never pills */
  --r-held-top:8px; --r-held-bottom:28px; /* the held corner: router answer, founder card, close only */

  /* layout and rhythm */
  --wrap:1200px;
  --gutter:clamp(16px,4vw,48px);
  --section:clamp(64px,8vw,112px);
  --header-h:88px; --header-h-condensed:64px;

  /* motion (brand-system section 9) */
  --ease-state:cubic-bezier(0.2,0,0,1); --dur-state:200ms;
  --ease-reveal:cubic-bezier(0.22,1,0.36,1); --dur-reveal:360ms;
}
@media (min-width:1680px){ :root{ --h1:72px; --h2:52px; --statement:46px; --h3:28px; --lead:22px; } }
@media (max-width:760px){ :root{ --h3:21px; --lead:18px; --text:17px; --label:16px; --small:14px; --header-h:68px; --header-h-condensed:60px; } }

/* base */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--navy);font-family:var(--body);font-size:var(--text);line-height:1.6;font-optical-sizing:auto}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0}
blockquote{margin:0} /* SITE_CONSISTENCY pass 2: pages set it locally; measured on all 20 pages, no blockquote used the UA margin */
h1,h2,h3,h4,.statement{font-family:var(--display);font-weight:600;letter-spacing:-0.02em;margin:0;text-wrap:balance}
h1{font-size:var(--h1);line-height:1.05}
h2{font-size:var(--h2);line-height:1.1}
h3{font-size:var(--h3);line-height:1.25}
.statement{font-size:var(--statement);line-height:1.2;font-weight:500}
.lead{font-size:var(--lead);line-height:1.5;max-width:60ch}
.small{font-size:var(--small);line-height:1.45;color:var(--muted)}
/* eyebrow labels are navy (SITE_CONSISTENCY pass 1): plum is reserved for Call, selected states, focus and links
   (brand-system section 4); dark cards override to plum_light / teal_light in their page.css */
.label{display:inline-block;font-size:var(--small);font-weight:600;letter-spacing:.01em;color:var(--navy)}
.wrap{max-width:calc(var(--wrap) + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.section{padding:var(--section) 0}
:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
.on-dark{color:#fff}
.on-dark :focus-visible{outline-color:var(--plum-light)}
.on-dark .small{color:#fff}
.text-link{font-weight:600;color:var(--plum);text-underline-offset:4px}
.text-link:hover{color:var(--plum-hover)}
.on-dark .text-link{color:var(--plum-light)}
/* phone: text links get a 44px hit area without moving the layout. Padding on every side is cancelled by an equal
   negative margin (inline links ignore the vertical margin; block and flex ones are pulled back by it), and the focus
   ring is pulled back in by the same amount so it sits 2px outside the text instead of around the padded box, where it
   used to cover the lines above and below (SITE_CONSISTENCY pass 2). A page that needs a different hit area sets
   --tl-pad on the link; one that sets its own padding sets --tl-pad:0px. */
@media (max-width:760px){
  .text-link{--tl-pad:max(4px, calc(23px - .645em));padding:var(--tl-pad);margin:calc(-1 * var(--tl-pad))} /* 12px at 17px text, 14px at 14px: 44px or more in both type families */
  .text-link:focus-visible{outline-offset:calc(2px - var(--tl-pad))}
}
/* The Joint Commission file (site/brand, supplied) draws its seal in the middle 68% of a square canvas, so at any set
   size it read about a third smaller than the LegitScript seal beside it. Scaled so the seal itself fills the size the
   page gives it; layout is unchanged and the transparent margin never takes clicks (SITE_CONSISTENCY pass 2). */
main img[src$="joint-commission-logo.svg"]{transform:scale(1.47);pointer-events:none}
/* breadcrumbs (SITE_CONSISTENCY pass 3): one style for every template that shows them (articles, team profiles, the
   team hub, policies) instead of three. Muted underlined links, the current page in navy 600, and a 44px hit area that
   doesn't move the layout (padding cancelled by an equal negative margin; the focus ring is pulled back toward the text).
   A page sets only its own spacing around the nav. */
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 0;font-size:var(--small);line-height:1.45;color:var(--muted)}
.crumbs li+li::before{content:"/";margin:0 10px;color:var(--muted)}
.crumbs a{display:inline;padding:12px 6px;margin:-12px -6px;color:var(--muted);text-underline-offset:3px}
.crumbs a:hover{color:var(--plum-hover)}
.crumbs a:focus-visible{outline-offset:-4px}
.crumbs [aria-current]{color:var(--navy);font-weight:600}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--navy);color:#fff;padding:12px 16px;border-radius:var(--r-btn);font-weight:600;text-decoration:none}
.skip-link:focus{top:12px}

/* buttons: approved CTA pairs only (brand-guideline approved_cta_pairs) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:var(--r-btn);font:600 var(--label)/1.2 var(--body);text-decoration:none;border:2px solid transparent;cursor:pointer;white-space:nowrap;transition:background-color var(--dur-state) var(--ease-state),color var(--dur-state) var(--ease-state),border-color var(--dur-state) var(--ease-state)}
.btn svg{width:18px;height:18px;flex:none}
.btn-call{background:var(--plum);color:#fff}                 /* call: white on #90268F */
.btn-call:hover,.btn-call:active{background:var(--plum-dark)}
.btn-verify{background:var(--teal-dark);color:#fff}          /* verify_insurance: white on #05617A */
.btn-verify:hover,.btn-verify:active{background:var(--teal-ultra-dark)}
.btn-outline{background:var(--white);color:var(--navy);border-color:var(--navy);border-width:1.5px} /* contact (Q10) */
.btn-outline:hover{background:var(--navy);color:#fff}
.on-dark .btn-outline{background:transparent;color:#fff;border-color:#fff}
.on-dark .btn-outline:hover{background:#fff;color:var(--navy)}
.btn-on-dark{background:#fff;color:var(--navy)}              /* on_dark: #0A2434 on white */
.ctas{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
/* rows with three buttons (the closes, the gambling hero): when the column is too narrow for one line, the row becomes a
   justified block (two buttons over one full-width button) instead of a ragged 2+1; when it fits, it fills at most 640px */
@media (min-width:761px){
  .ctas:has(> .btn ~ .btn ~ .btn){max-width:640px}
  .ctas:has(> .btn ~ .btn ~ .btn) > .btn{flex:1 1 auto}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:0s!important;animation-duration:0s!important;animation-iteration-count:1!important}
}
