@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --shell-brand: #03248b;
  --shell-brand-strong: #1e3a8a;
  --shell-muted: #64748b;
}

@view-transition {
  navigation: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.site-header {
  view-transition-name: site-header;
}

.site-main {
  view-transition-name: page-content;
}

.site-footer {
  view-transition-name: site-footer;
}

.shell-link {
  color: var(--shell-muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.shell-link:hover,
.shell-link.is-active {
  color: var(--shell-brand-strong);
}

.shell-link.is-active {
  border-bottom-color: var(--shell-brand-strong);
}

.shell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--shell-brand-strong);
  color: #ffffff;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.shell-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.shell-cta.is-active {
  background: #0f2f80;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}

.shell-mobile-link {
  display: block;
  border-radius: 1.25rem;
  padding: 0.9rem 1rem;
  color: #334155;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.shell-mobile-link:hover {
  background: #eff6ff;
  color: var(--shell-brand-strong);
  transform: translateX(2px);
}

.shell-mobile-link.is-active {
  background: #e0ecff;
  color: var(--shell-brand-strong);
  font-weight: 800;
}

html.is-leaving .site-main {
  opacity: 0.82;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

@supports (view-transition-name: page-content) {
  html.is-leaving .site-main {
    opacity: 1;
    transform: none;
    transition: none;
  }

  ::view-transition-old(page-content),
  ::view-transition-new(page-content) {
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  ::view-transition-old(site-header),
  ::view-transition-new(site-header),
  ::view-transition-old(site-footer),
  ::view-transition-new(site-footer) {
    animation-duration: 220ms;
    animation-timing-function: ease-out;
  }
}
