/* One type scale for the agent pages (Clara, Dora, Nova, Theo, bid forms, bid pricing).
   Product mockups keep the hero app sizes; this only sets the page copy around them. */

/* section labels */
:is(.ca-eye, .rl-eye, .lv-eye, .sd-eye, .cl-label, .dr-label, .th-label, .ea-rule, .tx-fg-h, .kx-fg-h),
:is(#clara-faq, #faq, [id$="-faq"]) .eyebrow,
:is(#clara-faq, #faq, [id$="-faq"]) .eyebrow span {
  font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important;
  text-transform:none !important; line-height: 1.4 !important; color: #5000A8 !important;
}
.ea-rule span { font-size: inherit !important; letter-spacing: inherit !important; }
:is(.cl-mono-line, .dr-mono-line) { font-size: 13px !important; letter-spacing: 0 !important; font-weight: 500 !important; }

/* section intro under an H2 */
:is(.ca-lead, .rl-lead, .lv-lead, .sd-lead, .ea-lead),
section .grid p.text-muted.text-lg,
#evidence h2 + p, #evidence .section-h + p {
  font-size: 18px !important; line-height: 1.6 !important; font-weight: 400 !important; letter-spacing: -.005em !important;
}

/* second big headline on Theo matches every other H2 */
.ea-h2 { font-size: clamp(2rem, 4vw, 2.5rem) !important; line-height: 1.06 !important; letter-spacing: -.04em !important; }

/* team handoff cards */
.cl-hc h3, .cl-hc-title, section a[href^="/agents/"] h3 { font-size: 17px !important; line-height: 1.35 !important; font-weight: 600 !important; }
.cl-hc p, section a[href^="/agents/"] p.text-sm { font-size: 14.5px !important; line-height: 1.55 !important; }
.cl-hc .rl, section a[href^="/agents/"] .mono.text-xs { font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0 !important; }

/* FAQ */
.accordion-trigger :is(h3, h4) { font-size: 17px !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
.accordion-content p { font-size: 16px !important; line-height: 1.65 !important; }

/* evidence and step copy */
:is(.ev-p, .fd-std, .ev3-aside, .ev3-std, .sd-step p, .ws-note) { font-size: 15px !important; line-height: 1.6 !important; }

/* sample notes and captions */
:is(.hs-note, .ax-cap, .rl-cap, .sd-note, .tw-note, .ca-note, .lv-note, .ea-consent, .cta-band-note) {
  font-size: 13px !important; line-height: 1.55 !important; color: #6B6B6E !important;
}
.ca-foot p, section > div > p.text-muted.text-sm { font-size: 15px !important; }

/* beta chips outside the app windows */
:is(.dd-beta, .ea-chip, .ca-beta, .cl-hc .beta, .sf-beta) { font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0 !important; }

@media (max-width: 640px) {
  :is(.ca-lead, .rl-lead, .lv-lead, .sd-lead, .ea-lead), section .grid p.text-muted.text-lg,
  #evidence h2 + p, #evidence .section-h + p { font-size: 16.5px !important; }
  .accordion-trigger :is(h3, h4) { font-size: 16px !important; }
  .accordion-content p { font-size: 15.5px !important; }
}

/* evidence steps: one label size, one body size */
:is(.ev-k, .fd-k, .ws-g, .ws-tb small) { font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
:is(.ev-paper p, .fd-bot p:not(.fd-src), .ws-f p, .sd-foot p, .lv-cap p, .kx-step p) { font-size: 15px !important; line-height: 1.6 !important; }
:is(.ev-sub, .fd-src, .nv-cap, .ws-d small) { font-size: 13px !important; line-height: 1.5 !important; }
/* team cards on Theo match the others */
.th-hc h3 { font-size: 17px !important; line-height: 1.35 !important; }
.th-hc p { font-size: 14.5px !important; line-height: 1.55 !important; }
