/* Readability adjustments for small interface text; display type keeps its scale. */
.site-mark,.site-header .site-mark span{font-size:12px;font-weight:500}
.site-nav a,.header-contact,.site-footer a{font-size:13px;font-weight:500;line-height:1.5}
.site-footer a{overflow-wrap:anywhere}
.operator-details{font-size:12px;line-height:1.65}
body .eyebrow,.privacy-kicker{font-size:12px;font-weight:500;line-height:1.5}
body .cta,.story-back,.brand-film__link{font-size:14px;line-height:1.5}
.privacy-date{font-size:14px}
.privacy-footer>a{font-size:14px;line-height:1.5}
body[data-page="technology"] footer,body[data-page="technology"] .badge{font-size:14px}
body[data-page="home"] .reference-legal :is(a,button),body[data-page="home"] .analytics-settings{font-size:12px;line-height:1.5;font-weight:400}
body[data-page="home"] .portrait-signature>span{font-size:12px;line-height:1.4;letter-spacing:.06em}
@media(max-width:600px){
 body[data-page="home"] .reference-node .reference-label strong{font-size:12px;letter-spacing:0;line-height:1.3}
 body[data-page="home"] .reference-kicker{font-size:12px;letter-spacing:.1em;gap:10px}
 body[data-page="home"] .reference-kicker span{width:24px;flex-basis:24px}
}
/* Playground controls and help remain readable independently of the mock screen. */
.interface-lab :is(.interface-lab-header p,.lab-presets>p,.lab-hint,.interface-lab-response,.lab-send>span,.lab-export>p,.lab-export-preview p,.lab-direct-message p){font-size:14px;line-height:1.6;font-weight:400}
.interface-lab :is(.lab-eyebrow,.lab-preset-label,.lab-toolbar>span){font-size:12px;line-height:1.5;font-weight:500}
.interface-lab :is(.lab-control>span,.lab-control>label,.lab-share-fallback label,.lab-direct-message>label){font-size:14px;line-height:1.5;font-weight:400}
.interface-lab :is(.lab-options button,.lab-toolbar button,.lab-export-button,.lab-message-actions button,.lab-message-actions a,.lab-export-preview summary,.lab-export-preview a){font-size:14px;line-height:1.5;font-weight:400}
.interface-lab :is(.lab-discuss,.lab-compare-note,.lab-guide p){font-size:14px!important;line-height:1.6!important}
.interface-lab .lab-preset-options strong,.interface-lab .lab-route strong{font-size:16px;line-height:1.4}
.interface-lab .lab-preset-options button>span,.interface-lab .lab-route>span{font-size:14px;line-height:1.5}
.interface-lab :is(input,textarea){font-size:16px;line-height:1.5}
.interface-lab :is(.lab-brand span,.lab-kicker,.lab-canvas-foot){font-size:12px;letter-spacing:.06em;line-height:1.4}
.interface-lab .lab-copy p{font-size:14px;line-height:1.6}
.interface-lab .lab-preview-cta{font-size:14px!important;line-height:1.4;min-height:44px}

/* Device-specific mockup rules must not shrink its navigation below the caption size. */
.interface-lab .lab-stage .lab-brand span{font-size:12px;letter-spacing:.04em;line-height:1.4}
.interface-lab .lab-stage .lab-brand{flex-wrap:wrap}

body[data-page="home"] .reference-role{font-size:12px;letter-spacing:.12em}
.interface-lab .lab-export-button{font-size:14px!important;line-height:1.5}

.footer-legal { display:contents; }
@media(min-width:1024px) {
 .site-footer { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
 .site-footer .footer-legal { display:flex; align-items:center; justify-content:center; gap:clamp(20px,3vw,44px); text-align:center; }
 .site-footer>a:last-of-type { justify-self:end; text-align:right; }
}

/* Optical corrections for the existing display faces and responsive headings. */
@media (min-width:821px) and (max-width:1359px) {
 body[data-page="home"] .reference-role { top:5.6%; }
}
body[data-page="contact"] .contact-stage h1 {
 font-size:clamp(3.3rem,7.4vw,6.875rem);
 font-kerning:normal;
 letter-spacing:.008em;
 line-height:.92;
}
@media (max-width:820px) {
 body[data-page="contact"] .contact-stage h1 { font-size:clamp(3.375rem,12vw,6rem); }
}
@media (max-width:360px) {
 body[data-page="contact"] .contact-stage h1 { font-size:3rem; }
 body[data-page="contact"] .contact-stage .channel-caption { min-block-size:3em; text-wrap:balance; }
}
body[data-page="story"] .story-hero h1 {
 font-kerning:normal;
 letter-spacing:-.02em;
 line-height:1.04;
}
@media (max-width:359px) {
 body[data-page="story"] .story-hero h1 { font-size:2.125rem; }
}
body[data-page="checkout"] .checkout-shell h1 {
 font-kerning:normal;
 letter-spacing:-.025em;
}
body[data-page="checkout"] .checkout-shell [data-package-name] { text-wrap:balance; }
body[data-page="privacy"]:not(.legal-document) .privacy-header h1 {
 font-size:clamp(1.75rem,4.8vw,4rem);
 font-kerning:normal;
 letter-spacing:-.025em;
 line-height:1.08;
}
