/* Shared navigation and footer components. */
body .site-header.header--premium { position: sticky; top: 0; z-index: 50; padding: 10px 0; border: 0; background: #09182e; backdrop-filter: none; }
body .site-header.header--premium.is-scrolled { background: #09182e; box-shadow: 0 7px 22px #07132626; }
.site-header.header--premium .header-inner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 26px; width: min(1280px, calc(100% - 48px)); min-height: 75px; margin: 0 auto; padding: 0 20px; border: 1px solid #a1c5f125; border-radius: 20px; background: radial-gradient(ellipse at 0 0, #22425c66, transparent 50%), linear-gradient(110deg, #152c46, #10243b); box-shadow: inset 0 1px 0 #ffffff08, 0 9px 24px #030c1d20; }
.site-header.header--premium .brand { gap: 11px; color: #eff5ff; font-size: 1.2rem; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.site-header.header--premium .brand:hover { color: #fff; }
.site-header.header--premium .brand .brand-symbol { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #ffffffa6; border-radius: 13px; background: linear-gradient(140deg, #fff, #fff7e9); box-shadow: 0 5px 12px #020b1e26; flex-shrink: 0; }
.site-header.header--premium .brand .brand-symbol img { width: 29px; height: 29px; }
.site-header.header--premium .brand-lockup { display: flex; flex-direction: column; gap: 5px; }
.site-header.header--premium .brand-name { white-space: nowrap; }
.site-header.header--premium .brand .brand-name small { margin: 0 0 0 1px; font-size: .75rem; font-weight: 400; color: #8faac8; letter-spacing: 0; }
.site-header.header--premium .brand-tagline { color: #a2b8cf; font-weight: 400; letter-spacing: .04em; font-size: .6875rem; }
.site-header.header--premium .main-nav { position: static; justify-self: center; display: flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid #a2c9f318; border-radius: 13px; background: #081a2e82; box-shadow: inset 0 1px 0 #020b1e38; }
.site-header.header--premium .main-nav a { position: relative; display: block; padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; color: #a3b9d1; font-size: .8125rem; font-weight: 400; line-height: 1.5; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.site-header.header--premium .main-nav a::after { display: none; }
.site-header.header--premium .main-nav a:hover { color: #eff7ff; background: #bfdfff09; }
.site-header.header--premium .main-nav a.active,
.site-header.header--premium .main-nav a[aria-current] { color: #e0f0ff; border-color: #a4cfff26; background: linear-gradient(125deg, #2a4c6a, #193a55); box-shadow: inset 0 1px 0 #ffffff08, 0 3px 8px #010b1c12; }
.site-header.header--premium .header-cta { display: inline-flex; min-height: 43px; padding: 11px 16px; border: 1px solid #c3eeee80; border-radius: 12px; background: linear-gradient(125deg, #b8e9e8, #8bcbd6); color: #163d50; font-size: .8125rem; font-weight: 600; gap: 8px; box-shadow: inset 0 1px 0 #ffffff70, 0 5px 13px #06122826; white-space: nowrap; }
.site-header.header--premium .header-cta:hover { color: #153647; background: #d0f4f0; border-color: #dbfffb; box-shadow: 0 8px 16px #0612283d; }
.site-header.header--premium .header-cta .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.site-header.header--premium .menu-toggle { display: none; }
.site-header.header--premium .menu-close { display: none; }
.site-header.header--premium .scroll-progress { height: 1px; bottom: 0; opacity: .7; background: linear-gradient(90deg, #638cb4, #a8dcdf); }

body .site-footer.footer--compact { padding: 34px 0 0; border-top: 1px solid #a0c1e522; background: radial-gradient(ellipse at 0 0, #193654, transparent 60%), #0c1d34; }
.site-footer.footer--compact .compact-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 27px; }
.site-footer.footer--compact .brand { display: inline-flex; align-items: center; gap: 11px; color: #dce9f8; font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.site-footer.footer--compact .brand .footer-logo { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; border: 1px solid #ffffffa6; background: linear-gradient(140deg, #fff, #fff6e5); box-shadow: 0 5px 10px #05112526; }
.site-footer.footer--compact .brand .footer-logo img { width: 27px; height: 27px; }
.site-footer.footer--compact .brand .brand-name small { color: #819dbd; font-size: .75rem; font-weight: 400; margin-left: 1px; }
.site-footer.footer--compact .compact-footer-links { display: flex; flex-wrap: wrap; gap: 10px 25px; align-items: center; }
.site-footer.footer--compact .compact-footer-links a { color: #a0b7d1; text-decoration: none; font-size: .8125rem; line-height: 1.7; padding-block: 5px; transition: color .2s; }
.site-footer.footer--compact .compact-footer-links a:hover { color: #e0f1ff; }
.site-footer.footer--compact .compact-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 21px; border-top: 1px solid #b0c9e51c; color: #8fa7c2; font-size: .75rem; line-height: 1.85; }

@media (max-width: 1150px) {
  .site-header.header--premium .header-inner { gap: 18px; padding-inline: 17px; }
  .site-header.header--premium .main-nav a { padding-inline: 10px; }
  .site-header.header--premium .brand { font-size: 1.125rem; }
  .site-header.header--premium .header-cta { padding-inline: 13px; }
}
@media (max-width: 1000px) {
  .site-header.header--premium .header-inner { grid-template-columns: auto minmax(0, 1fr); }
  .site-header.header--premium .header-cta { display: none; }
  .site-header.header--premium .main-nav { justify-self: end; }
  .site-header.header--premium .main-nav a { padding: 9px 11px; }
  .site-footer.footer--compact .compact-footer-links { gap: 8px 20px; }
}
@media (max-width: 760px) {
  .site-header.header--premium .header-inner { width: calc(100% - 36px); padding-inline: 15px; gap: 15px; }
  .site-header.header--premium .main-nav { gap: 1px; padding: 4px; }
  .site-header.header--premium .main-nav a { padding: 9px; font-size: .75rem; }
  .site-header.header--premium .brand .brand-symbol { width: 39px; height: 39px; border-radius: 12px; }
  .site-header.header--premium .brand .brand-symbol img { width: 27px; height: 27px; }
  .site-footer.footer--compact .compact-footer-top { align-items: flex-start; gap: 25px; }
  .site-footer.footer--compact .compact-footer-links { max-width: 370px; justify-content: flex-end; }
}
@media (max-width: 700px) {
  body .site-header.header--premium { padding: 8px 0; }
  .site-header.header--premium .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; width: calc(100% - 28px); min-height: 64px; padding: 0 12px; border-radius: 17px; gap: 10px; }
  .site-header.header--premium .brand { font-size: 1.1rem; gap: 9px; }
  .site-header.header--premium .brand-tagline { display: none; }
  .site-header.header--premium .brand .brand-name small { font-size: .6875rem; }
  .site-header.header--premium .brand .brand-symbol { width: 37px; height: 37px; border-radius: 11px; }
  .site-header.header--premium .brand .brand-symbol img { width: 25px; height: 25px; }
  .site-header.header--premium .header-cta { display: inline-flex; width: 43px; height: 43px; min-height: 43px; padding: 0; border-radius: 12px; grid-column: 2; }
  .site-header.header--premium .header-cta-label { display: none; }
  .site-header.header--premium .header-cta .icon { width: 20px; height: 20px; }
  .site-header.header--premium .menu-toggle { grid-column: 3; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #b7cdea29; border-radius: 12px; background: #263f58; color: #bdd0e5; }
  .site-header.header--premium .menu-toggle .icon { width: 22px; height: 22px; }
  .site-header.header--premium .menu-toggle[aria-expanded="true"] { background: #3d5c79; color: #fff; }
  .site-header.header--premium .menu-toggle[aria-expanded="true"] .menu-lines { display: none; }
  .site-header.header--premium .menu-toggle[aria-expanded="true"] .menu-close { display: inline; }
  .site-header.header--premium .main-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; gap: 3px; border: 1px solid #a1c5f12e; border-radius: 17px; background: #10263e; box-shadow: 0 18px 35px #030e2a4d; z-index: 60; }
  .site-header.header--premium .main-nav.open { display: flex; flex-direction: column; align-items: stretch; }
  .site-header.header--premium .main-nav a { font-size: .9375rem; padding: 12px 14px; border-radius: 10px; }
  body .site-footer.footer--compact { padding-top: 30px; }
  .site-footer.footer--compact .compact-footer-top { flex-direction: column; align-items: flex-start; gap: 23px; padding-bottom: 24px; }
  .site-footer.footer--compact .compact-footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: none; gap: 4px 19px; }
  .site-footer.footer--compact .compact-footer-links a { padding-block: 8px; font-size: .875rem; }
  .site-footer.footer--compact .compact-footer-bottom { flex-direction: column; gap: 7px; padding-block: 18px; font-size: .6875rem; }
}
@media (max-width: 375px) {
  .site-header.header--premium .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header.header--premium .header-cta { display: none; }
  .site-header.header--premium .menu-toggle { grid-column: 2; }
  .site-footer.footer--compact .compact-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.header--premium .main-nav a, .site-footer.footer--compact .compact-footer-links a { transition: none; }
}
@media print {
  body .site-header.header--premium, body .site-footer.footer--compact { display: none; }
}

/* Footer refinement: an informative brand block with two concise link groups. */
body .site-footer.footer--compact { padding-top: 43px; background: radial-gradient(ellipse at 5% 0, #1b3855, transparent 60%), #0d1f36; }
.site-footer.footer--compact .compact-footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: start; gap: 70px; padding-bottom: 34px; }
.site-footer.footer--compact .compact-footer-brand { min-width: 0; }
.site-footer.footer--compact .compact-footer-brand .brand { font-size: 1.35rem; letter-spacing: -.035em; gap: 12px; }
.site-footer.footer--compact .brand .footer-logo { width: 44px; height: 44px; border-radius: 13px; border-color: #e1e9f4; }
.site-footer.footer--compact .brand .footer-logo img { width: 29px; height: 29px; }
.site-footer.footer--compact .compact-footer-description { max-width: 430px; color: #96acc5; font-size: .875rem; line-height: 1.95; margin-top: 18px; }
.site-footer.footer--compact .compact-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 40px; width: 100%; max-width: none; padding-top: 4px; }
.site-footer.footer--compact .compact-footer-group { min-width: 0; }
.site-footer.footer--compact .compact-footer-group h2 { color: #d2e2f3; font-size: .8125rem; font-weight: 500; letter-spacing: .025em; margin: 0 0 13px; }
.site-footer.footer--compact .compact-footer-group ul { display: grid; gap: 7px; list-style: none; padding: 0; margin: 0; }
.site-footer.footer--compact .compact-footer-group li { margin: 0; }
.site-footer.footer--compact .compact-footer-links a { display: inline-block; padding-block: 3px; font-size: .875rem; color: #8fa8c5; text-decoration: none; }
.site-footer.footer--compact .compact-footer-links a:hover { color: #e2f2ff; }
.site-footer.footer--compact .compact-footer-bottom { padding-block: 21px; color: #7f98b6; }
@media (max-width: 1000px) {
  .site-footer.footer--compact .compact-footer-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
  .site-footer.footer--compact .compact-footer-links { gap: 26px; }
}
@media (max-width: 700px) {
  body .site-footer.footer--compact { padding-top: 33px; }
  .site-footer.footer--compact .compact-footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .site-footer.footer--compact .compact-footer-description { max-width: 470px; margin-top: 16px; }
  .site-footer.footer--compact .compact-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; gap: 25px; }
  .site-footer.footer--compact .compact-footer-group ul { gap: 2px; }
  .site-footer.footer--compact .compact-footer-links a { padding-block: 8px; }
  .site-footer.footer--compact .compact-footer-bottom { padding-block: 18px; }
}
