:root {
  --brand-navy: #072b63;
  --brand-blue: #1f66ff;
  --brand-blue-dark: #114fd1;
  --brand-blue-soft: #eaf2ff;
  --brand-text: #10233f;
  --brand-muted: #5c6f8d;
  --brand-border: #d9e4f2;
  --brand-bg: #f7faff;
  --white: #ffffff;

  /* Compatibility aliases for older CSS */
  --cit-navy: var(--brand-navy);
  --cit-blue: var(--brand-blue);
  --cit-blue-dark: var(--brand-blue-dark);
  --cit-blue-soft: var(--brand-blue-soft);
  --cit-red: var(--brand-blue);
  --cit-red-dark: var(--brand-blue-dark);
  --cit-ink: var(--brand-text);
  --cit-muted: var(--brand-muted);
  --cit-border: var(--brand-border);
  --cit-bg: var(--brand-bg);
  --cit-shadow: 0 18px 45px rgba(7, 43, 99, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brand-text);
  background: var(--brand-bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  font-size: 14px;
}

.top-strip a {
  font-weight: 900;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--brand-border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(315px, 50vw);
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  color: #334155;
}

.site-nav a:hover {
  color: var(--brand-blue);
}

.header-cta,
.footer-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(31, 102, 255, 0.22);
}

.header-cta:hover,
.footer-cta:hover,
.btn-primary:hover {
  background: linear-gradient(90deg, #051f49, var(--brand-blue-dark));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--brand-border);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 900;
  color: var(--brand-navy);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px clamp(18px, 5vw, 72px);
  background: #0f172a;
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer p {
  color: #cbd5e1;
  margin: 12px 0 0;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #8bb7ff;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  margin-bottom: 6px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
}

.mobile-actions {
  display: none;
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 11px;
    font-size: 13px;
  }

  .header-cta {
    padding: 0 15px;
  }
}

@media (max-width: 900px) {
  .top-strip span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .brand-logo {
    width: min(230px, 56vw);
    max-height: 60px;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: var(--cit-shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 94px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-navy);
    font-weight: 900;
    text-decoration: none;
    box-shadow: var(--cit-shadow);
  }

  .mobile-actions a:last-child {
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue));
  }
}