/* Shared logo sizing: identical visible heights, cropped SVG proportions. */
:root{--brand-height:52px;--footer-brand-height:48px}
.brand{width:auto;flex-shrink:0;display:flex;align-items:center}
.brand img{height:var(--brand-height);width:auto;max-width:100%}
.footer-brand img,.footer-logo{height:var(--footer-brand-height);width:auto;max-width:100%}
.header-inner{height:95px}
@media(max-width:1200px){:root{--brand-height:44px}}
@media(max-width:980px){
 .header-inner{height:84px}
 .footer-main{grid-template-columns:1fr 1fr}
 .footer-main>div:first-child{grid-column:1/-1}
}
@media(max-width:700px){
 :root{--brand-height:40px;--footer-brand-height:clamp(36px,11.3vw,44px)}
 .header-inner{height:82px}
 .menu-toggle{width:37px;height:37px;flex-shrink:0}
}
@media(max-width:400px){
 :root{--brand-height:clamp(33px,calc(10vw + 1px),40px)}
 .header-inner{gap:4px}
}

@media(min-width:981px) and (max-width:1040px){.header-inner{gap:12px}.desktop-nav{gap:13px}}
/* Integration-only additions: original brand stylesheet remains last. */
/* These shared rules allow the homepage and legal page to skip pages.css. */
.desktop-nav a[aria-current="page"]{color:var(--green);position:relative}
.desktop-nav a[aria-current="page"]:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;background:var(--bright)}
.response-note{font-size:14px;margin:0 0 21px;color:var(--muted)}
.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#quote-error{margin-top:18px;color:var(--ink);overflow-wrap:anywhere}
#download-summary{margin-top:20px}
footer{padding-bottom:18px}
@media(max-width:700px){footer{padding-bottom:calc(59px + env(safe-area-inset-bottom))}}
.size-tab .size-scene{width:66px;height:auto;opacity:.6;transition:opacity .15s}.size-tab[aria-selected=true] .size-scene{opacity:1}
.size-illustration .size-scene-large{width:100%;height:auto;max-height:190px}
.size-illustration .size-scene-large[hidden]{display:none!important}
.box-pictogram{width:60px;height:60px}.box-pictogram .size-scene{width:52px;height:auto}
@media(max-width:700px){.size-tab .size-scene{width:52px}.box-pictogram{width:50px;height:50px}.box-pictogram .size-scene{width:44px}}
@media(prefers-reduced-motion:reduce){.size-tab .size-scene{transition:none}}

/* Footer credits and scoped link feedback; filled CTA styles remain untouched. */
:root{--link-hover:var(--green);--link-hover-inverse:#b5e2aa;--link-focus:#59a9df}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px}
.footer-bottom>span{margin:0}
.footer-bottom a{font-size:inherit;font-weight:inherit;line-height:inherit}
.footer-conicrea-mobile,.footer-legal-mobile{display:none}
[data-copyright-year]{display:inline-block;min-width:4ch;font-variant-numeric:tabular-nums}
:where(a:not(.button):not(.skip):not(:has(img)),button.text-button,.footer-links button){text-underline-offset:4px;text-decoration-thickness:1px;transition:color .18s}
:where(a:not(.button):not(.skip):not(:has(img)),button.text-button,.footer-links button):hover{color:var(--link-hover);text-decoration-line:underline}
.legal a:not(.button):is(:hover,:focus-visible){color:var(--link-hover);text-decoration-line:underline;text-underline-offset:4px}
:is(.topbar,.final-cta,.estimate-banner) a:not(.button):hover{color:var(--link-hover-inverse)}
a:has(img){transition:opacity .18s}
a:has(img):hover{opacity:.8}
a:focus-visible,button:focus-visible{outline:3px solid var(--link-focus);outline-offset:4px}
@media(max-width:700px){
 .footer-main{display:block;padding:26px 0 20px}
 .footer-main>div:first-child{grid-column:auto;text-align:center}
 .footer-main>div:first-child>a{display:flex;justify-content:center;width:100%;max-width:100%}
 .footer-main>div:first-child>p,.footer-main>div:not(:first-child){display:none}
 .footer-logo{width:auto;max-width:100%;height:var(--footer-brand-height);margin-bottom:0;object-fit:contain}
 .footer-bottom{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px;padding:11px 0;font-size:12px;line-height:1.5;text-align:center}
 .footer-bottom>span{display:block;max-width:100%;margin:0;white-space:nowrap}
 .footer-bottom .footer-credit,.footer-bottom .footer-legal-desktop{display:none}
 .footer-bottom .footer-conicrea-mobile,.footer-bottom .footer-legal-mobile{display:inline}
 .mobile-actions{display:flex;height:58px;box-sizing:content-box;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #dbe3e9}
 .mobile-actions>a,.mobile-actions>button{height:58px;min-height:0;min-width:0;justify-content:center;align-items:center;font-weight:650;white-space:nowrap;padding:0}
 .mobile-actions>a{flex:0 0 35%;width:35%;gap:8px;font-size:14px}
 .mobile-actions>button{flex:0 0 65%;width:65%;gap:13px;font-size:15px}
 .mobile-actions .icon{width:19px;height:19px;flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){a,button.text-button,.footer-links button{transition:none}}
