.sc-header {
  position: relative;
  z-index: 50;
  color: white;
  background: oklch(0.37 0.11 320);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.sc-header__inner {
  width: min(calc(100% - 48px), 1240px);
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.sc-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  font: 700 21px/1 "Space Grotesk", "Avenir Next", sans-serif;
}
.sc-header__brand img { width: 31px; height: 32px; }
.sc-header__links { display: flex; align-items: center; gap: 25px; }
.sc-header__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.sc-header__links a:not(.sc-header__cta):hover { text-decoration: underline; text-underline-offset: 5px; }
.sc-header__links a[aria-current="page"]:not(.sc-header__cta) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.sc-header__cta {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid white;
  border-radius: 7px;
  color: white !important;
  background: transparent;
}
.sc-header__cta:hover { color: oklch(0.37 0.11 320) !important; background: white; }
.sc-header__toggle {
  position: relative;
  display: none;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid rgb(255 255 255 / .55);
  border-radius: 7px;
  color: white;
  background: transparent;
  font-size: 0;
  cursor: pointer;
}
.sc-header__toggle::before,
.sc-header__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sc-header__toggle::before {
  box-shadow: 0 6px 0 currentColor;
  transform: translate(-50%, -7px);
}
.sc-header__toggle::after { transform: translate(-50%, 5px); }
.sc-header[data-open="true"] .sc-header__toggle::before {
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
.sc-header[data-open="true"] .sc-header__toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.sc-header__toggle:hover,
.sc-header[data-open="true"] .sc-header__toggle {
  border-color: white;
  background: oklch(0.45 0.11 320);
}
.sc-header--transparent {
  color: oklch(0.145 0 0);
  background: transparent;
}
.sc-header--transparent .sc-header__brand,
.sc-header--transparent .sc-header__links a { color: oklch(0.145 0 0); }
.sc-header--transparent .sc-header__cta {
  color: oklch(0.37 0.11 320) !important;
  border-color: oklch(0.37 0.11 320);
}
.sc-header--transparent .sc-header__cta:hover {
  color: white !important;
  background: oklch(0.37 0.11 320);
}
.sc-header--transparent .sc-header__toggle {
  color: oklch(0.145 0 0);
  border-color: oklch(0.145 0 0 / .55);
}
.sc-header--transparent .sc-header__toggle:hover,
.sc-header--transparent[data-open="true"] .sc-header__toggle {
  color: oklch(0.37 0.11 320);
  border-color: oklch(0.37 0.11 320);
  background: oklch(0.94 0.04 326);
}
:focus-visible {
  outline: 3px solid oklch(0.993 0.006 342);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px oklch(0.37 0.11 320);
}
.sc-header :focus-visible { box-shadow: 0 0 0 5px oklch(0.145 0 0); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.sc-footer {
  padding: 40px 0;
  color: white;
  background: oklch(0.19 0 0);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.sc-footer__inner {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}
.sc-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  font: 700 20px/1 "Space Grotesk", "Avenir Next", sans-serif;
}
.sc-footer__brand img { width: 30px; height: 31px; }
.sc-footer__nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.sc-footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 13px;
  text-underline-offset: 5px;
}
.sc-footer__nav a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.sc-footer__meta { color: oklch(0.78 0 0); font-size: 12px; white-space: nowrap; }
@media (max-width: 960px) {
  .sc-header__inner { width: min(calc(100% - 32px), 1240px); min-height: 76px; }
  .sc-header__toggle { display: block; }
  .sc-header__links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    color: oklch(0.145 0 0);
    background: oklch(0.993 0.006 342);
    border: 1px solid oklch(0.87 0 0);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgb(0 0 0 / .16);
  }
  .sc-header[data-open="true"] .sc-header__links { display: flex; }
  .sc-header__links a { padding-inline: 10px; color: oklch(0.145 0 0); border-radius: 5px; }
  .sc-header__links a:not(.sc-header__cta):hover {
    color: oklch(0.37 0.11 320);
    background: oklch(0.94 0.04 326);
    text-decoration: none;
  }
  .sc-header .sc-header__cta {
    margin-top: 7px;
    justify-content: center;
    color: white !important;
    background: oklch(0.37 0.11 320);
    border-color: oklch(0.37 0.11 320);
  }
  .sc-header .sc-header__cta:hover,
  .sc-header .sc-header__cta:active {
    color: white !important;
    background: oklch(0.31 0.11 320);
    border-color: oklch(0.31 0.11 320);
  }
  .sc-footer__inner {
    width: min(calc(100% - 32px), 1240px);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }
  .sc-footer__nav { justify-content: flex-start; gap: 4px 20px; }
}
