/* Site header and footer from the main-branch Pragmatly pages (copied from style.css so the homepage can share them
   without loading the whole sheet). Variables are scoped so they do not touch the homepage palette. */
.site-header,.site-footer{--navy:#123a68;--blue:#1f5d9c;--blue-2:#2d73b9;--muted:#5F7391;--line:#d9e5f2;--bg:#ffffff}
.site-header *,.site-footer *{box-sizing:border-box}
.site-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(90deg, rgba(250, 252, 255, 0.82) 0%, rgba(250, 252, 255, 0.78) 40%, rgba(45, 115, 185, 0.26) 100%); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid rgba(217, 229, 242, 0.7); }
.site-header .shell { max-width: none; margin: 0; display: flex; align-items: center; gap: 28px; padding: 14px 24px; min-height: 80px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 27px; width: auto; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.btn-link { color: var(--navy); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; padding: 4px 0;
  border-bottom: 1px solid transparent; transition: border-color 0.15s, color 0.15s; }
.btn-link:hover { color: var(--blue); border-bottom-color: currentColor; }
.site-header a:hover,.site-footer a:hover{text-decoration:none}
.shell{max-width:1080px;margin:0 auto;padding:0 24px}
.site-header .shell{max-width:none;margin:0}
.shell-aligned{max-width:none;margin:0;padding:0 24px 0 88px}
footer.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg); }
footer.site-footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer.site-footer p { color: var(--muted); font-size: 13.5px; }
footer.site-footer .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site-footer a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
footer.site-footer a:hover { color: var(--blue); }
@media (max-width:720px){.site-header .shell{justify-content:space-between}.brand-sub{display:none}.shell-aligned{padding:0 24px}}
@media (max-width:600px){
  .site-header .shell{flex-wrap:wrap;gap:6px 12px;padding:12px 24px;min-height:0}
  .site-header .brand{order:1}
  .site-header .nav-actions{display:contents}
  .site-header .shell::after{content:'';order:3;flex-basis:100%;height:0}
  .site-header .nav-actions .btn-link{order:4;font-size:12.5px}
  .site-header .nav-actions .btn-link+.btn-link{margin-left:2px}
}
