/* R48 · additions on the R46 site for the Clinic + Scan only options. Existing tokens only (no new colours or fonts). Design review build. */
.r48-cta{min-height:44px;padding:var(--space-xs) var(--space-md);margin-inline-start:var(--space-sm)}
.sheet-plain a.r48-sheet-cta{display:flex;width:100%;justify-content:center;margin-block:var(--space-sm);color:var(--color-accent-ink)}
.r48-aside{margin-top:var(--space-lg);max-width:70ch;font-size:var(--text-small);color:var(--color-muted)}
.nb{white-space:nowrap}
.r48-cta:focus-visible,.r48-sheet-cta:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}
.r48-cta:active,.r48-sheet-cta:active{background:var(--color-dark)}
.r48-newscta{margin-top:var(--space-md)}
.r48-tips{margin-top:var(--space-md)}

/* A · three plain steps instead of product cards */
.r48-steps{list-style:none;margin:var(--space-2xl) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:2px solid var(--color-ink)}
.r48-steps li{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-xs);padding:var(--space-lg) var(--gap-columns) var(--space-xl) 0}
.r48-steps li+li{padding-inline-start:var(--gap-columns);border-inline-start:1px solid var(--color-hairline)}
.r48-n{font-size:var(--text-section);line-height:1;font-weight:300;color:var(--color-accent);font-variant-numeric:tabular-nums lining-nums}
.r48-steps h3,.r48-cards h3{font-size:var(--text-title);font-weight:400;line-height:1.4;letter-spacing:-.015em}
.r48-steps p{font-size:15px;line-height:1.7;max-width:46ch}
.r48-steps .text-link{margin-top:var(--space-xs)}

/* C · one product, three steps with the device that does each */
.r48-single{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap-columns);row-gap:var(--space-lg)}
.r48-single-head{grid-column:1/6}
.r48-single-head h2{text-wrap:balance;font-size:var(--text-section);line-height:1.25;letter-spacing:-.025em;overflow-wrap:break-word;min-width:0}
.r48-single-head .section-lead{margin-top:var(--space-md)}
.r48-single-head .text-link{margin-top:var(--space-md)}
.r48-cards{grid-column:7/13;list-style:none;margin:0;padding:0;border-top:2px solid var(--color-ink)}
.r48-cards li{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-areas:"n h" "n d" "n p";column-gap:var(--space-md);row-gap:var(--space-3xs);padding:var(--space-lg) 0;border-bottom:1px solid var(--color-hairline)}
.r48-cards .r48-n{grid-area:n}
.r48-cards h3{grid-area:h}
.r48-dev{grid-area:d;font-size:var(--text-small);font-weight:600;color:var(--color-accent)}
.r48-cards li>p:last-child{grid-area:p;margin-top:var(--space-xs);font-size:15px;line-height:1.7}
.r48-single>.r48-aside{grid-column:7/13;margin-top:0}

/* pricing */
.pr-row.r48-pr2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pr-row.r48-pr3{grid-template-columns:repeat(3,minmax(0,1fr))}
.r48-price{font-size:28px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums;color:var(--color-ink)}
.c-hprices.r48-hp2{grid-template-columns:repeat(2,max-content)}
.c-chapters ol.r48-ch2{grid-template-columns:repeat(2,minmax(0,1fr))}
.foot-products.r48-fp2{grid-template-columns:repeat(2,minmax(0,1fr))}
.foot-products.r48-fp1{grid-template-columns:minmax(0,1fr)}
.foot-products.r48-fp1 a{max-width:420px}

@media(max-width:999px){
 .r48-cta{margin-inline-start:auto;min-height:44px;padding-inline:var(--space-sm)}
 .r48-cta+.sheet{margin-inline-start:0}
 .sheet-plain a.r48-sheet-cta{display:none}
 .r48-steps{grid-template-columns:minmax(0,1fr)}
 .r48-steps li,.r48-steps li+li{padding:var(--space-lg) 0;border-inline-start:0;border-top:1px solid var(--color-hairline)}
 .r48-steps li:first-child{border-top:0}
 .r48-single-head,.r48-cards,.r48-single>.r48-aside{grid-column:1/-1}
 .pr-row.r48-pr3,.pr-row.r48-pr2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .c-chapters ol.r48-ch2,.c-chapters ol.r48-ch3{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:699px){
 .pr-row.r48-pr3,.pr-row.r48-pr2{grid-template-columns:minmax(0,1fr)}
 .c-hprices.r48-hp2{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .r48-cards li{grid-template-columns:44px minmax(0,1fr)}
 .foot-products.r48-fp2{grid-template-columns:minmax(0,1fr)}
}
/* R67: logo C lockup rules removed; the Silver-kit lockup is sized by /r66-logo.css (.brand .lg-h). */
/* R60 header demo CTA (design R59 option B, manifest a8276bac…7ea) + sticky header. Existing tokens only; appended after every page's own CSS (r49.css is the last stylesheet before fl-consent.css on all 76 header pages). */
:root{--hc-h:88px;--hc-top:calc(var(--hc-h) + var(--space-lg))}
html{scroll-padding-top:var(--hc-top)}
.header{position:sticky;top:0}
.header .hcta{min-height:44px;padding:var(--space-xs) var(--space-md);flex-shrink:0}
.hcta .hc-s{display:none}
.hcta:active{background:var(--color-dark);border-color:var(--color-dark);color:var(--color-accent-ink);filter:none}
.hcta[aria-current=page],.hcta[aria-current=page]:hover,.hcta[aria-current=page]:active{background:var(--color-field);border-color:var(--color-accent);color:var(--color-accent);cursor:default;filter:none}
.sheet-body .hcta-sheet{display:none}
/* B: outline at the top, solid after 8px of scroll (html.is-scrolled is set by hcta.js; without JS it stays outline) */
.header .hcta{background:var(--color-clear);color:var(--color-accent)}
.header .hcta:hover{background:var(--color-field);border-color:var(--color-hover);color:var(--color-hover)}
.header .hcta:active{background:var(--color-dark);border-color:var(--color-dark);color:var(--color-accent-ink)}
html.is-scrolled .header .hcta{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink)}
html.is-scrolled .header .hcta:hover{background:var(--color-hover);border-color:var(--color-hover)}
html.is-scrolled .header .hcta:active{background:var(--color-dark);border-color:var(--color-dark)}
html.is-scrolled .header{box-shadow:0 1px 0 var(--color-hairline),0 14px 24px -22px var(--color-shadow)}
.header .hcta[aria-current=page],html.is-scrolled .header .hcta[aria-current=page]{background:var(--color-field);border-color:var(--color-accent);color:var(--color-accent)}
@media(prefers-reduced-motion:no-preference){
 .header .hcta{transition:background-color var(--dur-micro) var(--ease-out),border-color var(--dur-micro) var(--ease-out),color var(--dur-micro) var(--ease-out)}
 .header{transition:box-shadow var(--dur-menu) var(--ease-out)}
}
/* sticky header: every existing sticky element must sit below it (header + 24px) */
.caps-photo,.c-ch-photo,.a-rail,.b-rel,.doc .toc,.roi-b-card{top:var(--hc-top)}
/* tablet + phone: nav is folded into the drawer (<=999px); the CTA sits left of the menu button */
@media(max-width:999px){
 :root{--hc-h:72px}
 .header .hcta{margin-left:auto}
 .header .hcta+.sheet{margin-left:0}
 .a-rail{top:var(--hc-h)}  /* FAQ / legal group row is a flush sticky bar under the header, no gap */
}
/* >=1000: the sticky contents rail (FAQ, privacy, terms, credits) can be taller than the space under the header on short screens; it scrolls inside itself so every link stays reachable. Padding and negative margin cancel out (no layout shift) and keep the link hover bar and focus ring inside the scroll box. */
@media(min-width:1000px){
 .a-rail{max-height:calc(100vh - var(--hc-top) - var(--space-lg));max-height:calc(100dvh - var(--hc-top) - var(--space-lg));overflow-y:auto;overscroll-behavior:contain;padding:var(--space-2xs) var(--space-lg);margin:calc(-1 * var(--space-2xs)) calc(-1 * var(--space-lg))}
}
/* EN nav compression at 1000-1099px (the logo is squeezed otherwise) */
@media(min-width:1000px) and (max-width:1099px){
 html:lang(en) .header .nav-list{gap:var(--space-2xs)}
 html:lang(en) .header .nav-link{padding-inline:var(--space-xs);min-width:44px;justify-content:center}
}
/* phone: 8px minimum gap between touch targets, compact pill, EN label "Demo" */
@media(max-width:479px){
 .header{gap:var(--space-xs)}
 .header .hcta{padding-inline:var(--space-xs)}
 .hcta .hc-l{display:none}
 .hcta .hc-s{display:inline}
}
/* narrow phone (<=389): menu button loses its chevron + 4px padding so logo | CTA | menu | EN fit one row */
@media(max-width:389px){
 .header .sheet-trigger{padding-inline:var(--space-xs);min-width:44px;justify-content:center}
 .header .sheet-trigger .chevron{display:none}
}
/* very narrow (<=359): the pill would crowd the EN switch, so the CTA becomes the first row of the drawer */
@media(max-width:359px){
 .header .hcta{display:none}
 .header .hcta+.sheet{margin-left:auto}
 .sheet-body .hcta-sheet{display:flex;width:100%;min-height:48px;margin-bottom:var(--space-md)}
}
