/* Shared structure, typography and navigation; colour roles come from the palette. */
.has-web-shell{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.has-web-shell>main{flex:1}
body .shared-header{width:min(80rem,calc(100% - 64px));margin-inline:auto;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--color-divider);background:var(--color-bg);color:var(--color-ink)}
.shared-header .brand>span{font-family:var(--font-head);font-size:1.6rem;font-weight:900;letter-spacing:-.055em;line-height:1.12}
.shared-header .brand-caption{font-family:var(--font-head);font-size:.75rem;font-weight:650;letter-spacing:.035em;line-height:1.5;margin-top:.55rem}
body .shared-header.shared-header nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 24px;padding:0;border:0;background:none;border-radius:0;box-shadow:none;min-width:0}
body .shared-header nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;font-size:.875rem;line-height:1.5;font-weight:650;color:var(--color-ink)}
body .shared-header nav>a:not(.button){padding:8px 0;border-bottom:2px solid transparent}
.shared-header nav>a:not(.button):hover,.shared-header nav>a[aria-current=page]{border-bottom-color:var(--color-accent)}
body .shared-header nav>.button{padding:10px 18px;min-height:48px;border:0;border-radius:99px;background:var(--color-primary);color:var(--color-primaryInk);white-space:normal}
.shared-header.sticker-header{position:sticky;top:0;z-index:30}
body .shared-footer{width:min(80rem,calc(100% - 64px));margin:48px auto 0;padding:28px 0 32px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px 40px;border-top:1px solid var(--color-divider);background:transparent;color:var(--color-ink)}
body .shared-footer .footer-wordmark{font-family:var(--font-head);font-weight:900;font-size:2rem;line-height:1.2;letter-spacing:-.055em;text-decoration:none;overflow-wrap:anywhere;min-width:0}
.shared-footer nav{display:flex;justify-content:flex-end;align-items:center;gap:8px 24px;flex-wrap:wrap;min-width:0}
.shared-footer nav>a{display:inline-flex;align-items:center;min-height:48px;padding:8px 0;font-size:.875rem;line-height:1.5;text-decoration:none;color:var(--color-ink)}
.shared-footer nav>a:hover{text-decoration:underline;text-underline-offset:.25em}
@media(max-width:720px){body .shared-header{width:calc(100% - 40px);gap:16px;padding:18px 0}body .shared-header.shared-header nav{width:100%;justify-content:flex-start;gap:8px 20px}body .shared-footer{width:calc(100% - 40px);grid-template-columns:minmax(0,1fr);margin-top:32px;gap:12px}.shared-footer nav{justify-content:flex-start;gap:8px 20px}}
@media(max-width:480px){body .shared-header:not(.site-header) nav{gap:8px 16px;justify-content:flex-start}body .shared-header:not(.site-header) nav>.button{font-size:.8125rem;padding:8px 12px;margin-left:auto}body .shared-header:not(.site-header) nav>a:not(.button){justify-content:flex-start;font-size:.875rem}}
