/* Keep every page's scrolled header on the same high-contrast surface. */
body .site-header.is-scrolled { background: #fff; color: #17232a; border-bottom: 1px solid #e1e6ec; }
body .site-header.is-scrolled .site-nav a,
body .site-header.is-scrolled .language-switcher { color: #17232a; }
body .site-header.is-scrolled .brand-logo-shell > img { filter: none; }
body[data-page="privacy"] .site-header:not(.is-scrolled),
body[data-page="terms"] .site-header:not(.is-scrolled) { background: #071019; }
.site-footer { background: #081523; padding: 64px max(24px,5vw) 24px; }
.footer-main { grid-template-columns: 1fr 1.35fr; gap: 56px 80px; }
.footer-cta { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr auto; gap: 12px 40px; align-items: center; padding: 0 0 44px; border: 0; border-bottom: 1px solid #ffffff24; background: none; box-shadow: none; border-radius: 0; }
.footer-cta span { color: #98abc5; letter-spacing: .08em; }
.footer-cta h2 { font-size: clamp(26px,3.2vw,42px); line-height: 1.3; max-width: 660px; margin: 0; }
.footer-cta a { grid-column: 2; grid-row: 1 / 3; background: #fff; color: #0a14a0; padding: 16px 24px; border-radius: 4px; }
.site-footer .footer-brand .brand-logo-shell { background: transparent; box-shadow: none; padding: 0; width: 180px; height: 70px; border-radius: 0; }
.site-footer .footer-brand .brand-logo-shell img { inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; filter: brightness(0) invert(1); }
.footer-intro p { color: #b6c3d3; font-size: 16px; line-height: 1.85; max-width: 400px; }
.footer-links { gap: 40px; }
.footer-links h2 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 20px; }
.footer-links a { color: #bdcad9; font-weight: 500; margin-top: 14px; line-height: 1.6; }
.footer-bottom { align-items: center; color: #a7b7ca; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer .footer-legal a,.footer-legal button { margin: 0; padding: 0; border: 0; background: none; color: #c9d5e4; font: inherit; cursor: pointer; }
.footer-legal button:hover,.site-footer .footer-legal a:hover { color: #fff; text-decoration: underline; }
.cookie-consent { background: #fff; color: #17232a; border: 1px solid #dce3ec; width: min(560px,calc(100vw - 32px)); grid-template-columns: 1fr; padding: 26px; border-radius: 12px; box-shadow: 0 18px 70px #07101940; max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-consent span { color: #071019; font-size: 18px; letter-spacing: 0; }
.cookie-consent p { color: #526273; font-size: 14px; line-height: 1.7; }
.cookie-consent a { color: #0a14a0; text-decoration: underline; font-size: 14px; }
.cookie-actions { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.cookie-actions button,.cookie-preferences button { border: 1px solid #c4ccd7; background: #f5f7fa; color: #17232a; min-height: 44px; padding: 10px 14px; }
.cookie-actions .cookie-accept,.cookie-preferences button { color: #fff; background: #0a14a0; border-color: #0a14a0; }
.cookie-actions button:hover { border-color: #0a14a0; }
.cookie-preferences { border-top: 1px solid #dce3ec; color: #17232a; }
.cookie-preferences label { line-height: 1.6; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 64px; margin-top: 48px; }
.legal-layout nav { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 110px; border-inline-start: 2px solid #e0e5ed; padding-inline-start: 22px; font-size: 15px; }
.legal-layout nav a { color: #41536a; }
.legal-layout article { scroll-margin-top: 110px; margin-bottom: 40px; }
.legal-layout h2 { font-size: 24px; line-height: 1.4; }
.legal-layout p { line-height: 1.9; font-size: 17px; }
.legal-status { color: #68798b; }
@media(max-width:760px) {
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 30px; }
  .footer-cta a { margin-top: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 22px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-layout nav { position: static; }
  .cookie-consent { inset-inline: 16px; bottom: 16px; padding: 20px; }
  body.nav-open .site-header { background: #fff; }
}
@media(prefers-reduced-motion:reduce) { .cookie-consent { transition:none; } }
