@font-face {
  font-family: "Zeal Chrome Sans";
  src: url("zeal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

.z-header,
.z-footer {
  font-family: "DM Sans", "Zeal Chrome Sans", Arial, sans-serif;
  text-align: start;
}

.z-header *,
.z-footer * {
  box-sizing: border-box;
}

:where(.z-header > .wrap, .z-footer > .wrap) {
  width: min(77rem, calc(100% - clamp(2rem, 8vw, 8rem)));
  margin-inline: auto;
}

.z-header {
  position: sticky;
  z-index: 100;
  inset-block-start: 0;
  margin: 0;
  padding: 0;
  color: #151524;
  background: #fff;
  border-block-end: 1px solid #ecebf0;
}

.z-header__inner {
  display: flex;
  align-items: center;
  min-height: 71px;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  position: relative;
}

.z-header a,
.z-footer a {
  border: 0;
  color: inherit;
  text-decoration: none;
}

.z-header .z-header__skip {
  position: absolute;
  z-index: 2;
  inset: .5rem auto auto .75rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.z-header .z-header__skip:focus {
  width: auto;
  height: auto;
  padding: .6rem 1rem;
  clip-path: none;
  background: #151524;
  color: #fff;
  border-radius: .4rem;
}

.z-header__brand,
.z-footer__brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.z-header__brand img {
  display: block;
  width: clamp(5.35rem, 8vw, 6.6rem);
  height: auto;
}

.z-header__desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.125rem, 2.2vw, 2.4rem);
  flex: 1;
}

.z-header__desktop a,
.z-menu__panel a {
  align-content: center;
  min-height: 44px;
  font-size: .92rem;
  font-weight: 550;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.z-header__desktop a:is(:hover, [aria-current="page"]),
.z-menu__panel a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .33em;
  text-decoration-thickness: 2px;
}

.z-header .z-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: .55rem 1.3rem;
  color: #fff;
  background: #151524;
  border-radius: 999px;
  white-space: nowrap;
  font-size: .89rem;
  font-weight: 650;
  line-height: 1.3;
}

.z-header .z-header__cta:hover {
  background: #393549;
}

.z-header :is(a, summary):focus-visible {
  outline: 3px solid #6053a6;
  outline-offset: 3px;
}

.z-menu {
  display: none;
}

.z-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-height: 44px;
  padding-inline: .15rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.z-menu > summary::-webkit-details-marker {
  display: none;
}

.z-menu__icon {
  position: relative;
  width: 16px;
  height: 9px;
  flex-shrink: 0;
}

.z-menu__icon::before,
.z-menu__icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.8px;
  border-radius: 3px;
  background: currentColor;
}

.z-menu__icon::before { top: 0; }
.z-menu__icon::after { bottom: 0; }

.z-menu[open] .z-menu__icon::before {
  top: 4px;
  transform: rotate(45deg);
}

.z-menu[open] .z-menu__icon::after {
  bottom: 3px;
  transform: rotate(-45deg);
}

.z-menu__panel {
  position: absolute;
  inset-inline: 0;
  inset-block-start: calc(100% - .1rem);
  display: grid;
  gap: .125rem;
  max-height: calc(100dvh - 85px);
  overflow-y: auto;
  padding: .5rem;
  border: 1px solid #dcdbe2;
  border-radius: .75rem;
  background: white;
  box-shadow: 0 .65rem 1.5rem #15152415;
}

.z-menu:not([open]) .z-menu__panel {
  display: none;
}

.z-menu__panel a {
  display: block;
  padding: .75rem;
  border-radius: .4rem;
}

.z-menu__panel a:is(:hover, :focus-visible) {
  background: #f0effa;
}

.z-footer {
  position: static;
  display: block;
  margin: 0;
  padding: 0;
  background: #151524;
  color: #fff;
}

.z-footer__inner {
  padding-block: clamp(2.75rem, 6vw, 5.25rem) 2rem;
}

.z-footer__directory {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.2vw, 3.5rem);
}

.z-footer__brand-link img {
  display: block;
  width: 6.9rem;
  height: auto;
}

.z-footer__brand p {
  max-width: 31ch;
  margin: 1rem 0 .85rem;
  color: #e8e7ef;
  font-size: 1rem;
  line-height: 1.5;
}

.z-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-inline-start: -.65rem;
}

.z-footer .z-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.z-footer .z-footer__social:hover {
  background: #373649;
}

.z-footer__social svg {
  display: block;
  width: 20px;
  height: 20px;
}

.z-footer__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}

.z-footer__group h2 {
  margin: .25rem 0 .85rem;
  color: white;
  font-size: .94rem;
  font-weight: 670;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.z-footer__group > a,
.z-cookie > summary,
.z-cookie > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: .35rem 0;
  color: #cecedb;
  font-size: .91rem;
  line-height: 1.45;
  cursor: pointer;
}

.z-cookie > summary {
  display: list-item;
  list-style-position: inside;
}

.z-footer__group :is(a, summary):hover,
.z-footer__group a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.z-cookie p {
  margin: .35rem 0;
  color: #cecedb;
  font-size: .84rem;
  line-height: 1.5;
}

.z-cookie[open] > a {
  color: #d6d3ff;
  text-decoration: underline;
}

.z-footer :is(a, summary):focus-visible {
  outline: 2px solid #c7c4ff;
  outline-offset: 3px;
}

.z-footer__legal {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid #424151;
}

.z-footer__legal p {
  max-width: 108ch;
  margin: 0;
  color: #bdbccf;
  font-size: .8rem;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .z-header__desktop { display: none; }
  .z-header__inner { gap: clamp(.6rem, 2vw, 1.3rem); }
  .z-header__cta { margin-inline-start: auto; }
  .z-menu { display: block; }

  .z-footer__directory {
    grid-template-columns: repeat(3, minmax(0,1fr));
    row-gap: 2rem;
  }

  .z-footer__brand {
    grid-column: 1 / -1;
  }

  .z-footer__brand p { max-width: 44ch; }
}

@media (max-width: 560px) {
  .z-header__inner { gap: .65rem; }
  .z-header .z-header__cta { padding-inline: .75rem; font-size: .83rem; }
  .z-footer__directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .z-footer__group:last-child { grid-column: 1 / -1; }
  .z-footer__brand p { max-width: 36ch; }
}

@media (max-width: 360px) {
  .z-header__inner { gap: .45rem; }
  .z-header__brand img { width: 4.8rem; }
}
