/* Shared website shell. Header/menu content is configured in components/headers.json;
   footer variants in components/footers.json. Keep page-specific content elsewhere. */
:root{--shell-header-height:92px;--shell-logo-width:134px;--shell-logo-height:70px;--shell-header-width:1360px;--shell-header-gutter:32px;--shell-footer-width:1280px}
body :is(.shell-header.header,.shell-header.service-header,.shell-header.investor-header){box-sizing:border-box;width:min(var(--shell-header-width),calc(100% - var(--shell-header-gutter)*2));height:var(--shell-header-height);min-height:var(--shell-header-height);margin:0 auto;padding:0;display:flex;align-items:center;justify-content:space-between;gap:20px;border:0;background:#fffffff5;color:var(--ink,#171717);flex:none}
.shell-header{position:relative;z-index:100}
body:has(>.shell-footer-short){min-height:100dvh;display:flex;flex-direction:column}
body:has(>.shell-footer-short)>main{flex:1}
.shell-header:is(.investor-header,.legal-header){position:sticky;top:0;backdrop-filter:blur(16px)}
.shell-header :is(.brand,.service-brand,.investor-header-brand,.portal-brand){display:block;flex:none;width:var(--shell-logo-width);min-width:var(--shell-logo-width);height:var(--shell-logo-height);margin:0;text-decoration:none}
.shell-header :is(.brand,.service-brand,.investor-header-brand,.portal-brand) img{display:block;width:100%;height:var(--shell-logo-height);max-height:none;margin:0;object-fit:contain}
.shell-header .investor-header-start{display:flex;align-items:center;gap:20px;min-width:0}
.shell-footer{box-sizing:border-box;width:min(var(--shell-footer-width),calc(100% - 96px));margin:0 auto;color:var(--muted,#686868);font-size:10px;line-height:1.8}
.shell-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.shell-footer .brand{display:block;flex:none;width:134px}
.shell-footer .brand img{display:block;width:134px;height:70px;object-fit:contain}
.shell-footer-full{padding:55px 0 35px;border:0}
.shell-footer-full .footer-top{display:flex;align-items:center;gap:30px;padding-bottom:25px;border-bottom:1px solid var(--line,#dedede)}
.shell-footer-full .footer-top>p{font-size:11px;line-height:1.5;color:var(--muted,#686868);margin:0}
.shell-footer-full .footer-navigation{display:flex;flex-wrap:wrap;gap:27px;margin-inline-start:auto;font-size:10px}
.shell-footer-full .footer-bottom{display:flex;gap:40px;justify-content:space-between;align-items:flex-end;padding-top:25px;font-size:10px;line-height:1.8}
.shell-footer .legal{display:flex;flex-wrap:wrap;gap:24px;font-size:10px}
.shell-footer .store-badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.shell-footer .store-badge{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--ink,#171717);background:transparent;color:var(--ink,#171717);border-radius:8px;padding:10px 15px;min-height:54px;text-align:left}
.shell-footer .store-badge:hover{background:#f2f2f2}
.shell-footer .store-badge svg{width:22px;height:25px}
.shell-footer .store-badge small,.shell-footer .store-badge strong{display:block;line-height:1.3}
.shell-footer .store-badge small{font-size:9px}
.shell-footer .store-badge strong{font-size:16px}
.shell-footer .store-note{font-size:10px;color:var(--muted,#686868);margin-top:10px}
.shell-footer-short,.shell-footer-minimal{margin-top:32px;padding:24px 0;border-top:1px solid var(--line,#dedede)}
.shell-footer :is(.service-footer-bottom){display:flex;justify-content:space-between;gap:28px;padding:0;border:0;font-size:11px;line-height:1.8}
.shell-footer .service-footer-bottom p{max-width:650px;margin:0}
.shell-footer .service-footer-bottom nav{display:flex;flex-wrap:wrap;gap:24px;flex-shrink:0}
.shell-footer-minimal{margin-top:0}
.error-page .shell-footer-short{margin-top:0;padding:18px 0}
.shell-footer .legal-current{font-size:inherit;line-height:inherit}
.shell-footer .legal-current>[data-i18n="nav.youAreHere"]{white-space:nowrap}
@media(max-width:1200px){:root{--shell-header-height:74px;--shell-logo-width:108px;--shell-logo-height:56px;--shell-header-gutter:20px}.shell-header .investor-header-start{gap:12px}}
@media(max-width:700px){.shell-footer{width:calc(100% - 40px)}.shell-footer-full{padding-top:32px;padding-bottom:24px}.shell-footer-full .footer-top{flex-wrap:wrap;gap:16px}.shell-footer-full .footer-top>p{margin:0;font-size:11px}.shell-footer-full .footer-navigation{margin:12px 0 0;width:100%;font-size:10px;gap:18px}.shell-footer-full .footer-bottom{display:block}.shell-footer .legal{margin-top:18px;font-size:10px}.shell-footer :is(.service-footer-bottom){display:block;font-size:10px}.shell-footer .service-footer-bottom nav{margin-top:20px;gap:20px}.shell-footer-short{margin-top:32px}.shell-footer-short,.shell-footer-minimal{padding-block:24px}.error-page .shell-footer-short .service-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}.error-page .shell-footer-short .service-footer-bottom nav{margin:0}}
@media(max-width:600px){:root{--shell-logo-width:90px;--shell-logo-height:46px}.shell-header.service-header{flex-wrap:wrap}.shell-header.service-header .service-nav{border-top:0;padding-top:5px}body .shell-header.service-header:has(.service-nav){height:auto;min-height:74px;padding-block:8px 12px}.shell-header.service-header .service-languages{margin-inline-start:auto}.shell-header .header-note{font-size:10px;letter-spacing:.07em}.shell-header .website-link{font-size:11px}.shell-header .investor-home-button{font-size:11px}}
