/* ============================================================
   qa.css — design QA corrections. Loaded LAST on every page.
   Scope: spacing rhythm · readability · contrast · tap targets.
   No new colours, no gradients, no new glass. Assistant only.
   ============================================================ */

:root{
  /* AA-compliant muted ink on every light surface the site uses:
     5.3:1 on --cream, 5.5:1 on --cream2, 4.8:1 on the statsband band */
  --mut:#675f53;
  /* one vertical rhythm for every content section */
  --sec-y:clamp(56px,6.2vw,88px);
  --sec-y-tight:clamp(30px,3.4vw,46px);
}

/* ---------- 1. section rhythm: one scale, everywhere ----------
   beats section.block (0,1,1) from style.css / index's inline sheet */
section.block,section.tst,section.cta-band,
section.statsband,section.baf-band,section.tsec,
.tst,.cta-band,.statsband,.baf-band{
  padding-top:var(--sec-y);
  padding-bottom:var(--sec-y);
}
/* the section directly under a page hero breathes tighter — consistently.
   every page hero → first section gap is now identical (70px / 90px) */
.phero + section.block,
.ahero + section.block,
section#shop,
section#featured{padding-top:var(--sec-y-tight)}
.ahero{padding-bottom:clamp(40px,5vh,64px)}

/* ---------- 2. readability: prose never under 17px ---------- */
.lead,
.treat .lead,
.about .lead,
.hi .lead,
.ahero .lead,
.cta-band .sub,
.sub{font-size:clamp(17px,1.15vw,19px);line-height:1.8}

.hero .hero-p{font-size:clamp(17px,1.15vw,19px);line-height:1.75}
.tsl .q{font-size:clamp(18px,1.35vw,20px)}
.tcard p{font-size:17px;line-height:1.65}
.tst .tc p{font-size:17px;line-height:1.7}
.faq details p{font-size:17px;line-height:1.8}
.tblock .proc{font-size:17px;line-height:1.85}
.checklist li{font-size:17px;line-height:1.55}
.soon{font-size:17px}
footer .fbrand p{font-size:17px;line-height:1.7}

/* small labels: brand floor is 13px, not 11/12 */
.eyebrow{font-size:13px;color:var(--mut)}
.trow .eb{font-size:13px;color:var(--mut)}
.trow:hover .eb{color:var(--ink)}
.stats .l,.statsband .l,.ufield label,.field label{font-size:13px;color:var(--mut)}
.pcard .pv,.scard .prc,.scat-b{font-size:13px;color:var(--mut)}
.bpill i,.sitem .st i{font-size:13px}
.sempty{font-size:15px}
/* treatments tab counters were greige-on-cream at 1.74:1 */
.treatx .tb .c{font-size:13px;color:var(--mut)}
.treatx .tb.active .c{color:var(--ink)}

/* ---------- 3. hero: real mobile H1 (40px) in one frame ---------- */
@media(max-width:760px){
  /* the wordmark repeats the logo sitting directly above it — drop it,
     and spend the reclaimed height on the headline */
  .hero .wordmark{display:none}
  /* let the three editorial lines reflow as one block so 40px fits 320px */
  .hero .hero-title{font-size:40px;line-height:1.12}
  .hero .hero-title .l{display:inline;white-space:normal}
  .hero .hero-p{font-size:17px;line-height:1.7;margin:14px auto 20px}
  /* the header is 74px tall and overlays the hero — clear it properly */
  .hero{padding-top:86px}
}
/* short phones (SE, 568–700px tall): tighten the leading, never the type size,
   so the hero still lands in exactly one frame */
@media(max-width:760px) and (max-height:700px){
  .hero{padding-top:80px}
  .hero .hwrap{gap:12px}
  .hero .hero-title{line-height:1.02}
  .hero .hero-p{line-height:1.5;margin:10px auto 14px}
}

/* ---------- 4. hierarchy: no H2 may equal or beat its H1 ---------- */
.ahero .aname{font-size:clamp(40px,4.8vw,66px)}
.lets-t{font-size:clamp(30px,3.4vw,48px)}

/* ---------- 5. tap targets ≥ 44×44 ---------- */
.car__dot{flex:none}
.car__dots{gap:0}
/* many-page carousels on narrow rails: prev / counter / next, all 44×44 */
.car__dots--compact{gap:6px;align-items:center}
.car__nav{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;
  background:transparent;border:1px solid var(--line);border-radius:50%;
  font-family:inherit;font-size:20px;line-height:1;color:var(--ink);cursor:pointer;
  transition:background .25s,color .25s}
.car__nav:hover{background:var(--ink);color:var(--paper)}
.car__count{min-width:56px;text-align:center;font-size:14px;font-weight:600;
  letter-spacing:.08em;color:var(--mut);font-variant-numeric:tabular-nums}
.tst .car__nav{border-color:rgba(239,236,228,.28);color:#efece4}
.tst .car__nav:hover{background:#efece4;color:var(--dark)}
.tst .car__count{color:rgba(239,236,228,.75)}
.tabs .tb,.treatx .tb,.bpill{min-height:44px}

/* the burger menu + search bar are display:none until opened — their targets
   were never sized. Every control in them is now a real 44x44. */
.mnav .mlinks a{padding:14px 0;min-height:44px;min-width:44px;display:inline-flex;align-items:center}
.mnav .msec a{min-height:44px;display:inline-flex;align-items:center}
.mnav .x,.mnav .mi,.sbin .mi,.sx,.sbtn,.burger{
  width:44px;height:44px;min-width:44px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;padding:0}
.mnav .msocial a{width:44px;height:44px;flex:none;display:inline-flex;align-items:center;justify-content:center}
.mnav .msocial a svg{width:22px;height:22px}
.mnav .mshop-t,.mnav .mshop .dbtn{min-height:44px}
header nav .drop a,header nav .dbtn{min-height:44px;display:flex;align-items:center}
.sitem{min-height:44px}
.field input,.field textarea,.ufield input,.ufield textarea,.sbin input{min-height:48px}
/* checkbox: 20px box inside a 44px hit area */
.uform .consent input[type=checkbox],
.field input[type=checkbox],
.ufield input[type=checkbox],
input[type=checkbox]{
  -webkit-appearance:none;appearance:none;
  width:44px;height:44px;min-height:44px;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:0;padding:0;cursor:pointer;margin:0
}
input[type=checkbox]::before{
  content:"";width:20px;height:20px;border:1px solid var(--mut);
  border-radius:3px;background:var(--paper);transition:background .2s,border-color .2s
}
input[type=checkbox]:checked::before{
  background:var(--ink);border-color:var(--ink);
  box-shadow:inset 0 0 0 3px var(--paper)
}
/* contact details are links — give them a real row */
.info-row a{display:inline-flex;align-items:center;min-height:44px}
.info-row{align-items:center}

/* ---------- 6. footer: half the length on mobile ---------- */
@media(max-width:560px){
  footer .fgrid{grid-template-columns:1fr 1fr;gap:0 26px}
  footer .fbrand{grid-column:1/-1}
  footer .fgrid>div:not(.fbrand){padding:16px 0}
  footer ul li a{padding:11px 0;min-height:44px}
  footer .hours li{padding:8px 0}
}
