/* rf.css · SITE-REFRESH-1103 r1 design pass. Loaded last. No new colours: only the site's own tokens.
   Basis: UI UX Pro Max core checklist (44px targets, 16px body, readable measure, visible focus, reduced motion)
   and Emil Kowalski's animation guidance (ease-out on enter, press feedback, cut decoration that loops forever). */
/* Targets: the motion pause control was 32px tall. */
.mfx-pause{min-height:44px;padding-top:8px;padding-bottom:8px}
/* Hover lift only where a real pointer hovers; touch screens keep a still button. */
@media (hover:none){.btn:hover,.app:hover{transform:none}}
/* Press feedback, quick and ease-out; skipped when the visitor asks for less motion. */
@media (prefers-reduced-motion:no-preference){
.btn{transition:transform .16s var(--ease,cubic-bezier(.22,1,.36,1)),box-shadow .2s var(--ease,cubic-bezier(.22,1,.36,1))}
.btn:active{transform:scale(.97)}}
/* The looping shimmer on cards adds motion with no meaning; keep the static glint only. */
.tac::after{animation:none;display:none}
/* Focus: a ring with an offset so it never sits on the text. */
a:focus-visible,button:focus-visible,summary:focus-visible,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Type hierarchy on Lab pages: a clearer eyebrow, 15-16px supporting text, a readable line length. */
.dochead .kicker{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.dochead .lede{font-size:clamp(17px,2vw,19px);line-height:1.55}
.small,.card .small,.card p.small{font-size:15px;line-height:1.55}
.tac h3{font-size:17px;line-height:1.3;margin-bottom:8px}
.tac p{font-size:16px;line-height:1.55}
.tacgrid{gap:16px}
.card{line-height:1.6}
.card>p,.card li,.gk-sec>p,.glass>p{max-width:68ch}
.card h2{margin-bottom:12px}
.labwrap>div>.card+.card{margin-top:20px}
/* Study pages: a quote block and a source box built from the kit's glass tokens. */
.rf-quote{margin:16px 0;padding:14px 18px;border-left:4px solid var(--accent);border-radius:0 18px 18px 0;background:var(--glass);font-size:18px;line-height:1.55}
.rf-quote p{margin:0 0 8px;max-width:62ch}
.rf-quote footer{color:var(--muted);font-size:15px}
.rf-source{font-size:15px;line-height:1.6;color:var(--muted)}
.rf-answer{font-size:clamp(18px,2.2vw,21px);line-height:1.55;max-width:64ch}
.rf-toc{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.rf-toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;background:var(--glass);text-decoration:none;color:var(--text)}
/* CTA pair: the secondary home link becomes an outlined pill the same height as the primary, so the pair reads as one choice with a clear first option. */
.dp-alt{min-height:48px;padding:0 20px;margin-left:8px;border:1px solid color-mix(in srgb,currentColor 45%,transparent);border-radius:999px;text-decoration:none}
.dp-alt:hover{text-decoration:underline;text-underline-offset:4px}
/* Study pages: four routes as a true 2x2. */
@media (min-width:640px){.tacgrid.rf-2x2{grid-template-columns:repeat(2,1fr)}}
