/* Shared reading scale. Titles and heading sizes intentionally retain their design. */
:root { --reading-body:20px; --reading-control:18px; --reading-note:16px; }
:root:root body :is(p,li,.check-list,.extras-row,.tech-controls small,.dep-plan-features) {
  font-size:var(--reading-body);line-height:1.7;
}
:root:root body :is(.button,.text-link,.header-cta,.department-entry,.dep-quiet-link,
 .dep-official-link,.dep-vehicle-link,.insurance-more,.insurance-department-link,
 summary,label,legend,input,select,textarea,.message-label,.form-submit,.dep-form-submit,
 .quote-segments label>span,.service-options label,.dep-form-fields>label,
 .ret-fields label,.ret-fields input,.ret-reset,.ret-method summary,.edit-request,
 .dialog-explanation,.copy-status,.toast) {
  font-size:var(--reading-control);line-height:1.6;
}
:root:root body :is(.eyebrow,.hero .eyebrow,.stat-top,.section-no,.optional,
 .form-title>span,.form-footnote,.form-error,.dep-form-note,.dep-optional-label,
 .dep-small-label,.dep-section-note,.dep-basic-tag,.dep-optional>p,
 .dep-retirement-fiscal,.fine-print,.demo-disclaimer,.demo-heading,.demo-badge,
 .demo-metrics span,.demo-metrics strong small,.map-note span:not(.map-status-dot),
 .statistics small,.statistics a,.statistics strong>span,.photo-caption,
 .insurance-image>span,.insurance-list a>span,.process-grid article>span,
 .footer-brand small,.footer-bottom,.footer-contact-links a>span,
 .segment-tabs button small,.dep-tabs small,.dep-breadcrumb,.dep-photo-credit,
 .dep-retirement-modalities span,.dep-documents div>span,.ret-helper,
 .ret-result-label,.ret-currency-note,.ret-disclaimer,.retirement-news-kicker,
 .retirement-news-note,.retirement-news-source,.retirement-prompt>p,
 .ret-result-card>p.ret-explanation) {
  font-size:var(--reading-note);line-height:1.7;letter-spacing:normal;
}
:root:root body :is(.tech-controls small,.demo-disclaimer,.fine-print,.dep-section-note,
 .dep-basic-tag,.dep-optional>p,.form-footnote,.dep-form-note,.optional,
 .footer-bottom,.dep-breadcrumb,.ret-helper,.ret-disclaimer) {color:#526168;}
:root:root body :is(.hero-description,.dep-hero-description){font-size:22px;line-height:1.65;}
:root:root body :is(.service-strip span,.dep-service-strip span,.dep-service-strip p,
 .footer-main>div,.footer-contact-links a,.retirement-news details p,
 .ret-method p,.ret-result-grid p,.hero-bottom>span,.motion-toggle,.scroll-hint) {
  font-size:var(--reading-control);line-height:1.6;
}
:root:root body :is(.site-header nav,.site-header nav a) {font-size:16px;line-height:1.5;}
:root:root body #request-summary,:root:root body #dep-request-summary {
  font-size:var(--reading-control);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;
}
/* Let larger copy determine the height, and allow narrow columns to shrink safely. */
:root:root body :is(.button,.text-link,.header-cta){min-height:48px;white-space:normal;}
:root:root body :is(.tech-controls>button,.segment-tabs button,.dep-tabs>button){height:auto;}
:root:root body :is(.tech-controls>button>span,.segment-content,.tech-demo,
 .insurance-copy,.dep-plan-copy,.dep-plan-aside,.dep-retirement-copy,.dep-advice-intro,
 .dep-documents>a>div,.quote-card,.ret-form,.ret-result-card,.footer-main>div) {min-width:0;}
:root:root body .tech-controls small {display:block;margin-top:6px;}
:root:root body .tech-controls>button{align-items:flex-start;padding-block:22px;}
:root:root body .tech-controls>button>svg{flex-shrink:0;}
:root:root body .extras-row{align-items:flex-start;}
:root:root body .extras-row>div{flex:1;min-width:0;}
:root:root body .extras-row .text-link{flex-shrink:0;}
:root:root body .hero{height:auto;max-height:none;min-height:720px;}
:root:root body .hero-inner{min-height:720px;height:auto;padding-bottom:160px;}
:root:root body .hero-bottom{flex-wrap:wrap;gap:16px;}
:root:root body .service-strip>.wrap,:root:root body .dep-service-strip>.wrap{flex-wrap:wrap;gap:16px 30px;padding-block:18px;}
:root:root body .dep-service-strip p{margin-left:0;}
:root:root body .dep-tabs>button{flex-wrap:wrap;}
:root:root body .dep-tabs small{margin-top:8px;}
:root:root body .dep-retirement-modalities{flex-wrap:wrap;}
:root:root body .dep-photo-note{bottom:74px;}
:root:root body .dep-photo-credit{bottom:16px;background:#142735e6;padding:4px 8px;max-width:calc(100% - 40px);}
:root:root body .form-title{flex-wrap:wrap;gap:12px;}
:root:root body .form-title>span{max-width:none;text-align:left;}
:root:root body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:52px;}
:root:root body .footer-main>div{flex-wrap:wrap;}
:root:root body .footer-main>div a{overflow-wrap:anywhere;}
:root:root body .retirement-prompt{width:330px;}
@media(min-width:901px) and (max-width:1200px){
 .header-inner{flex-wrap:wrap;gap:12px 20px;}
 .site-header nav{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap;}
 .header-cta{margin-left:auto;}
 html{scroll-padding-top:160px;}
 .tech-layout,.dep-hero,.dep-plan-panel,.dep-advice-inner{gap:32px;}
 .dep-documents{grid-template-columns:1fr;}
}
@media(max-width:900px){
 :root{--reading-body:18px;--reading-control:18px;}
 :root:root body .hero-inner{padding-bottom:35px;}
 :root:root body .hero-bottom{position:static;margin-top:38px;}
 :root:root body .extras-row{flex-direction:column;gap:18px;}
 :root:root body .extras-row .text-link{max-width:100%;}
 :root:root body .dep-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
 :root:root body .dep-tabs>button{flex-direction:column;align-items:flex-start;}
 :root:root body .footer-main>div{display:grid;grid-template-columns:1fr 1fr;}
}
@media(max-width:680px){
 :root:root body :is(.hero-description,.dep-hero-description){font-size:20px;}
 :root:root body .hero-inner{min-height:740px;}
 :root:root body .tech-controls>button{padding:18px 14px;}
 :root:root body .tech-controls>button>span{flex:1;}
 :root:root body .tech-controls b{display:block;}
 :root:root body .tech-controls small{display:block;}
 :root:root body .dep-photo-note{position:relative;left:auto;right:auto;bottom:auto;margin:220px 16px 90px;padding:18px;}
 :root:root body .dep-hero-image{height:auto;min-height:420px;}
 :root:root body .dep-photo-credit{right:16px;max-width:calc(100% - 32px);}
 :root:root body .dep-documents>a{gap:12px;}
 :root:root body .dep-documents>a>svg{flex-shrink:0;}
 :root:root body .footer-main>div{grid-template-columns:1fr;}
 :root:root body .form-title,:root:root body .dep-advice-card .form-title{flex-direction:column;align-items:flex-start;}
 :root:root body .demo-heading{flex-wrap:wrap;}
 :root:root body .demo-metrics{flex-wrap:wrap;}
}

/* Small labels in the route illustration and vehicle insurance page. */
:root:root body :is(.route-foot span,.hero-route>small,.route-label,.insurance-breadcrumb,
 .insurance-image-caption,.insurance-option-top>span,.insurance-review-list article>span){font-size:16px;line-height:1.7;letter-spacing:normal;}
:root:root body :is(.insurance-back-link,.insurance-strip>.wrap>a){font-size:18px;line-height:1.6;}
:root:root body .insurance-breadcrumb{flex-wrap:wrap;}
:root:root body .insurance-image-caption{background:#142735e6;padding:4px 8px;max-width:calc(100% - 36px);}
@media(max-width:1000px){.insurance-options-grid{grid-template-columns:1fr;}}
@media(max-width:680px){
 :root:root body .insurance-image-note{position:relative;left:auto;right:auto;bottom:auto;margin:180px 16px 85px;}
 :root:root body .insurance-hero-image{height:auto;min-height:400px;}
 :root:root body .insurance-hero-image>img{position:absolute;inset:0;}
}
