:root {
  --gca-header-height: 68px;
  --gca-focus: #0b57d0;
  --gca-surface: #ffffff;
  --gca-surface-soft: #f4f6f3;
  --gca-ink: #151817;
  --gca-muted: #5e6763;
  --gca-line: #dfe4dd;
  --gca-red: #d71920;
}

html {
  scroll-padding-top: calc(var(--gca-header-height) + 20px);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.gca-menu-open {
  overflow: hidden;
}

.gca-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--gca-ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 750;
  transition: transform 160ms ease;
}

.gca-skip-link:focus {
  transform: translateY(0);
}

header {
  z-index: 50 !important;
  box-shadow: 0 1px 0 rgba(21, 24, 23, 0.04);
}

header nav {
  position: relative;
}

header .brand {
  flex: 0 0 auto;
}

header .nav-links {
  justify-content: flex-end;
  gap: 6px !important;
}

header .nav-links > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 6px;
  color: var(--gca-muted);
  padding: 8px 10px;
  font-weight: 700;
  white-space: nowrap;
}

header .nav-links > a:hover {
  background: var(--gca-surface-soft);
  color: var(--gca-ink);
  text-decoration: none;
}

header .nav-links > a[aria-current="page"] {
  background: #fff0f0;
  color: #b80f16;
}

.gca-menu-button,
.gca-back-to-top {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gca-line);
  border-radius: 6px;
  background: var(--gca-surface);
  color: var(--gca-ink);
  cursor: pointer;
}

.gca-menu-button:hover,
.gca-back-to-top:hover {
  border-color: #aeb7b1;
  background: var(--gca-surface-soft);
}

.gca-menu-icon,
.gca-menu-icon::before,
.gca-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.gca-menu-icon {
  position: relative;
}

.gca-menu-icon::before,
.gca-menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.gca-menu-icon::before {
  top: -6px;
}

.gca-menu-icon::after {
  top: 6px;
}

.gca-menu-button[aria-expanded="true"] .gca-menu-icon {
  background: transparent;
}

.gca-menu-button[aria-expanded="true"] .gca-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.gca-menu-button[aria-expanded="true"] .gca-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.gca-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  box-shadow: 0 8px 24px rgba(21, 24, 23, 0.14);
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gca-back-to-top.is-visible {
  display: inline-flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gca-data-link::after {
  content: " DATA";
  margin-left: 5px;
  color: var(--gca-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--gca-focus);
  outline: 3px solid color-mix(in srgb, var(--gca-focus) 72%, transparent);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  :root {
    --gca-header-height: 64px;
  }

  header nav {
    min-height: var(--gca-header-height) !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  .gca-menu-button {
    display: inline-flex;
    flex: 0 0 auto;
  }

  header .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid !important;
    max-height: 0;
    align-items: stretch !important;
    gap: 4px !important;
    overflow: hidden;
    border: 0 solid var(--gca-line);
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(21, 24, 23, 0.12);
    opacity: 0;
    padding: 0 10px;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease, padding 160ms ease;
  }

  header .nav-links.is-open {
    max-height: calc(100vh - var(--gca-header-height) - 20px);
    overflow-y: auto;
    border-width: 0 1px 1px;
    opacity: 1;
    padding: 10px;
    pointer-events: auto;
    transform: translateY(0);
  }

  header .nav-links > a {
    min-height: 44px;
    justify-content: space-between;
    padding: 10px 12px;
  }

  main {
    padding-top: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
