:root {
  --shell-navy: #071c3b;
  --shell-blue: #2088e5;
  --shell-cyan: #51e2d3;
  --shell-muted: #566277;
  --shell-line: #dbe2ea;
  --shell-white: #ffffff;
}

body { padding-top: 0 !important; }
.main { margin-left: 0 !important; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; color: var(--shell-navy); padding: 10px 16px; border-radius: 8px; box-shadow: 0 16px 40px rgba(7, 28, 59, .18); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  max-width: 1240px;
  min-height: 78px;
  width: min(1240px, calc(100% - 28px));
  margin: 14px auto;
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 10px;
  z-index: 500;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 226, 234, .9);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(7, 28, 59, .08);
  backdrop-filter: blur(16px);
}
.site-header .brand,
.site-footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--shell-navy); font-size: 1.04rem; letter-spacing: -.02em; text-decoration: none; }
.site-header .brand img { width: 42px; height: 42px; }
.site-header .brand strong,
.site-footer .brand strong { font-weight: 850; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: .89rem; font-weight: 700; }
.site-nav a { color: #43516a; text-decoration: none; }
.site-nav a:not(.nav-cta):hover,
.site-nav a[aria-current="page"]:not(.nav-cta) { color: var(--shell-navy); }
.site-nav a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -2px 0 var(--shell-blue); }
.site-nav .nav-cta { min-height: 44px; padding: 11px 17px; display: inline-flex; align-items: center; border-radius: 12px; background: var(--shell-navy); color: #fff; }
.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] { background: #0d2a50; color: #fff; }
.nav-toggle { display: none; border: 0; width: 44px; height: 44px; border-radius: 12px; background: #edf2f7; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--shell-navy); border-radius: 4px; }

.site-footer { width: 100%; max-width: none !important; margin: 0; padding: 64px 0 24px !important; background: #06162d !important; color: #d9e3ef !important; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1fr; gap: 50px; }
.site-footer .footer-brand { color: #fff; }
.site-footer .footer-brand img { width: 38px; height: 38px; }
.site-footer .footer-intro { max-width: 360px; margin: 16px 0 0; color: #90a1b8; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column a { color: #d9e3ef; text-decoration: none; }
.footer-column a:hover { color: var(--shell-cyan); }
.footer-label { margin-bottom: 6px; color: #7890ac; font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-bottom { margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #71849e; font-size: .78rem; }

@media (max-width: 1050px) {
  .site-nav { gap: 14px; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  .site-header { min-height: 68px; top: 6px; margin-block: 8px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: calc(100% - 28px);
    padding: 12px;
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border: 1px solid var(--shell-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(7, 28, 59, .16);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; padding: 12px 14px; display: flex; align-items: center; border-radius: 10px; }
  .site-nav a[aria-current="page"]:not(.nav-cta) { background: #edf6fd; box-shadow: none; }
  .site-nav .nav-cta { justify-content: center; margin-top: 5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 32px, 1180px); }
  .site-header { width: calc(100% - 16px); padding-left: 12px; }
  .site-header .brand span { font-size: .92rem; }
  .site-header .brand img { width: 38px; height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
