:root {
  --navy: #163f87;
  --blue: #168bc0;
  --sky: #42b8df;
  --red: #ec1b24;
  --ink: #13233a;
  --muted: #607089;
  --surface: rgba(255,255,255,.78);
  --line: rgba(20,63,135,.12);
  --shadow: 0 24px 70px rgba(18,48,92,.14);
  --shadow-soft: 0 12px 35px rgba(18,48,92,.09);
  --max: 1180px;
}
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.topbar { background: linear-gradient(90deg, #133879, #137eae); color: #fff; font-size: 14px; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar p { margin: 0; opacity: .92; }
.topbar-links { display: flex; gap: 18px; font-weight: 700; }
.topbar-links a:hover { opacity: .82; }
.site-header.addlestone-header { position: sticky; top: 0; z-index: 40; background: rgba(247,251,255,.86); border-bottom: 1px solid rgba(20,63,135,.08); backdrop-filter: blur(18px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { width: 205px; max-width: 205px; flex: 0 0 auto; display: block; line-height: 0; }
.logo img { width: 100%; max-width: 205px; max-height: 72px; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #34445a; font-size: 15px; font-weight: 700; }
.nav-links ul, .footer-links ul { list-style: none; margin: 0; padding: 0; }
.nav-links ul { display: flex; align-items: center; gap: 24px; }
.nav-links li, .footer-links li { margin: 0; }
.nav-links a:hover, .current-menu-item > a { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 12px 24px rgba(22,63,135,.24); }
.btn-red { color: #fff; background: linear-gradient(135deg, #f13a42, var(--red)); box-shadow: 0 12px 24px rgba(236,27,36,.21); }
.btn-light { background: rgba(255,255,255,.82); color: var(--navy); border-color: rgba(22,63,135,.12); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); font-size: 22px; color: var(--navy); }
footer { padding: 66px 0 24px; background: #f8fbff; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 42px; }
.footer-grid h4 { margin: 0 0 15px; color: var(--ink); }
.footer-links, .footer-links ul { display: grid; gap: 9px; font-size: 14px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 80; padding: 14px 18px; border-radius: 16px; background: #10233e; color: #fff; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .nav-links, .nav-actions .btn-light { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links.open { display: flex; position: absolute; left: 16px; right: 16px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; }
  .nav-links.open ul { display: grid; gap: 0; }
  .nav-links.open a { display: block; padding: 12px; border-radius: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 82px; }
  .topbar-inner { justify-content: center; min-height: 36px; }
  .topbar p { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; }
  .nav { min-height: 72px; }
  .logo { width: 170px; }
  .nav-actions .btn-primary { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
