@font-face { font-family: IntuitionBrand; src: url("/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Shared site header: exactly the same geometry on static and Next pages. */
.brand-header { box-sizing: border-box; display: flex; align-items: center; position: relative; width: 100%; min-height: 84px; margin: 0; padding: 18px calc(clamp(24px, 4.5vw, 56px) + env(safe-area-inset-right)) 18px calc(clamp(24px, 4.5vw, 56px) + env(safe-area-inset-left)); background: #fff; color: #111; text-align: left; z-index: 20; }
.brand-header .brand-home { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; margin: 0; padding: 0; color: #111; text-decoration: none; font-family: IntuitionBrand, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.brand-header .brand-home svg { display: block; flex: none; width: 32px; height: 32px; }
.brand-header .brand-home b { font-weight: 700; color: #111; }
.brand-header .brand-home:focus-visible { outline: 2px solid #111; outline-offset: 5px; border-radius: 4px; }
/* Match language controls while preserving each page's translation behavior. */
html body #lang-switch, html body #lang-switch.fixed { display: inline-flex; position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); z-index: 10000; align-items: center; background: #fff; border: 1px solid #e5e5e5; border-radius: 999px; padding: 0 4px; font: 600 11px IntuitionBrand, -apple-system, sans-serif; letter-spacing: .08em; box-shadow: 0 2px 6px rgba(0,0,0,.03); }
html body #lang-switch button { min-width: 44px; min-height: 44px; padding: 12px 14px; color: #595959; background: none; border: none; font: inherit; letter-spacing: inherit; cursor: pointer; }
html body #lang-switch button::after { content: none; }
html body #lang-switch button:focus-visible { outline: 2px solid #ffd500; outline-offset: 2px; border-radius: 999px; }
@media (max-width: 768px) { .brand-header { min-height: 76px; padding: 14px 24px; } .brand-header .brand-home { font-size: 22px; } html body #lang-switch, html body #lang-switch.fixed { top: max(14px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right)); } }
@media print { .brand-header, #lang-switch { display: none !important; } }
