/* Shared header and footer: homepage appearance across every page. */
body .site-header.site-header{height:clamp(53px,4.3vw,72px);background:var(--header-background);backdrop-filter:blur(10px) saturate(130%);-webkit-backdrop-filter:blur(10px) saturate(130%)}
body .site-header.site-header::after{content:'';position:absolute;left:0;right:0;top:100%;height:var(--header-transition-height);z-index:0;pointer-events:none;background:linear-gradient(to bottom,var(--header-background) 0%,var(--header-background) 8%,var(--header-transition-mid) 55%,transparent 100%)}
body .site-header:not(.has-header-clouds)::before{display:none}
body .site-header.has-header-clouds::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 140px 35px at 5% 100%,var(--detail-shade-rgba-255-255-255-8) 0 58%,transparent 60%),radial-gradient(ellipse 160px 29px at 22% 105%,var(--detail-shade-rgba-255-255-255-8) 0 55%,transparent 57%),radial-gradient(ellipse 140px 35px at 74% 106%,var(--detail-shade-rgba-255-255-255-8) 0 55%,transparent 57%),radial-gradient(ellipse 180px 30px at 94% 100%,var(--detail-shade-rgba-255-255-255-8) 0 60%,transparent 62%);opacity:.68}
body .site-header .header-inner{position:relative;z-index:1}
body .site-header .brand img{width:clamp(40px,3.2vw,54px);height:clamp(40px,3.2vw,54px);object-fit:contain;padding:4px;border-radius:13px;background:linear-gradient(145deg,var(--primary),var(--sky-mid));box-shadow:inset 0 0 0 2px var(--detail-shade-rgba-255-255-255-8)}
body .site-header .brand strong{font-size:clamp(16px,1.27vw,21px)}
body .site-header .brand small{font-size:clamp(9px,.72vw,12px)}
body .site-header .nav-link{font-size:clamp(14px,1.02vw,17px)}
body .site-header .mobile-nav-title{display:none}
body .site-footer.site-footer{margin-top:var(--home-footer-gap)}
body .site-footer .footer-wave{object-fit:cover}
body .site-footer .footer-peek{object-fit:contain}
@media(min-width:901px){
 body .site-header .header-inner{width:min(calc(100% - 6.2vw),1580px)}
 body .site-footer.site-footer{min-height:0;padding-top:100px}
 body .site-footer .footer-wave{top:0;bottom:auto;height:105px}
 body .site-footer .footer-whale{top:8px;bottom:auto}
 body .site-footer .footer-peek{top:4px;bottom:auto}
}
@media(max-width:760px){
 body .site-header.site-header{height:48px}
 body .site-header .header-inner{width:calc(100% - 24px);gap:8px}
 body .site-header .brand{gap:6px;margin-right:auto}
 body .site-header .brand img{width:34px;height:34px;padding:3px;border-radius:10px}
 body .site-header .brand strong{font-size:13px;letter-spacing:0}
 body .site-header .brand small{font-size:9px;margin-top:3px}
 body .site-header .header-actions{gap:6px}
 body .site-header .header-search,body .site-header .mobile-menu{padding:5px;background:none;display:inline-flex;width:auto}
 body .site-header .header-search span,body .site-header .desktop-social{display:none}
 body .site-header .header-search .icon,body .site-header .mobile-menu .icon{font-size:20px}
 body .site-header .header-inner .main-nav{position:absolute;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;top:calc(100% + 8px);right:0;left:auto;width:min(290px,calc(100vw - 24px));height:auto;max-height:min(70vh,420px);padding:14px;overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:0 10px 28px var(--detail-shade-rgba-60-98-183-13);z-index:20}
 body .site-header .header-inner .main-nav.mobile-nav-closed{display:none}
 body .site-header .main-nav .mobile-nav-title{display:block;grid-column:1/-1;font-size:13px;margin:0 0 4px;padding:0 5px;color:var(--muted)}
 body .site-header .header-inner .main-nav .nav-link{position:static;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;min-height:40px;padding:8px;border-radius:10px;color:var(--ink);font-size:14px;font-weight:500}
 body .site-header .header-inner .main-nav .nav-link.is-active{color:var(--primary-dark);font-weight:700}
 body .site-header .main-nav .nav-link.is-active:after{content:none}
 body .site-header .main-nav .nav-link:hover{background:var(--detail-shade-dce6ff)}
 body .site-header .main-nav .nav-link .icon{color:var(--primary);font-size:17px}
 body .site-footer.site-footer{min-height:0;padding-top:95px}
 body .site-footer .footer-wave{top:20px;bottom:auto;height:75px}
 body .site-footer .footer-whale{top:15px;bottom:auto;left:9%;width:80px;z-index:1}
 body .site-footer .footer-peek{top:10px;bottom:auto;right:9%;width:110px;z-index:1}
 body .site-footer .footer-copy{z-index:2}
}
/* When decorative assets are disabled, retain the global footer text without an empty illustration area. */
body .site-footer.site-footer.without-art{min-height:0;padding-top:0}
