:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --accent: #0891b2;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --line: #dbe4ef;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

/* Keep the service template on the same visual system as the main site. */
.site-header { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.header-inner { max-width: 1200px; padding: 1rem 2rem; }
.brand { color: #0154a0; font-family: Inter, Arial, sans-serif; }
.nav { gap: 2.5rem; }
.nav a { color: var(--muted); transition: color .3s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.hero { background: linear-gradient(135deg, #eff6ff 0%, #fff 58%, #ecfeff 100%); }
.button { border-radius: 8px; }
.site-footer { background: #0f285f; }

.header-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: .75rem; color: #0154a0; font-size: 1.5rem; font-weight: 700; }
.logo-img { display: block; width: auto; height: 50px; }
.nav-list { display: flex; align-items: center; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.nav-item-has-submenu { position: relative; }
.nav-submenu { position: absolute; top: 100%; left: 50%; display: none; min-width: 280px; padding: .65rem 0; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); list-style: none; z-index: 1001; }
.nav-item-has-submenu:hover .nav-submenu, .nav-item-has-submenu:focus-within .nav-submenu { display: block; }
.nav-submenu a { display: block; padding: .55rem 1rem; white-space: nowrap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--primary); color: #fff; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--primary-dark); font-weight: 800; letter-spacing: .04em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.35rem; font-size: .95rem; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--accent); }
.hero { padding: clamp(4rem, 9vw, 7rem) 0 4rem; background: linear-gradient(135deg, #eff6ff 0%, #fff 58%, #ecfeff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.kicker { margin: 0 0 .75rem; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; }
h1 { max-width: 800px; margin: 0 0 1.25rem; color: var(--primary-dark); font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.5rem); }
h2 { margin: 0 0 1rem; color: var(--primary-dark); font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
.lede { max-width: 700px; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.1rem; border: 1px solid var(--primary); border-radius: 5px; background: var(--primary); color: #fff; font-weight: 800; }
.button:hover { background: var(--primary-dark); color: #fff; }
.button.secondary { background: #fff; color: var(--primary); }
.hero-media { min-height: 300px; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.hero-media img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.breadcrumbs { padding: 1rem 0; color: var(--muted); font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line); }
.section { padding: 4.5rem 0; }
.section.alt { background: var(--surface-alt); }
.section-intro { max-width: 700px; margin-bottom: 2rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.card p { margin: 0; color: var(--muted); }
.card .eyebrow { margin-bottom: .8rem; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 1.5rem; }
.list li::before { content: ""; position: absolute; top: .7em; left: 0; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.cta { padding: 3rem; border-radius: 8px; background: var(--primary-dark); color: #fff; }
.cta h2, .cta p { color: #fff; }
.site-footer { padding: 2rem 0; background: #0f285f; color: #dbeafe; }
.site-footer p { color: #dbeafe; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #fff; }
@media (max-width: 760px) {
  .header-wrapper, .footer-inner { align-items: flex-start; flex-direction: column; padding: .8rem 0; }
  .nav-list { flex-wrap: wrap; gap: .7rem 1rem; }
  .nav { justify-content: flex-start; gap: .7rem 1rem; }
  .hero-grid, .split, .cards { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .cta { padding: 2rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Match the primary site header used by the home and Solutions pages. */
.site-header {
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  min-height: 0;
  padding: 1rem 2rem;
}

.brand {
  gap: .75rem;
  color: #0154a0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: auto;
  height: 50px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 2.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-weight: 500;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  content: "";
  transition: width .3s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

@media (max-width: 760px) {
  .header-inner {
    padding: 1rem 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .7rem 1rem;
  }
}
