:root {
  --ref7-content-width: 1160px;
  --ref7-page-gutter: 24px;
  --ref7-header-height: 70px;
  --ref7-control-height: 42px;
  --ref7-shell-bg: #080808;
  --ref7-shell-text: #f5f5f5;
  --ref7-shell-muted: #a8a8a8;
  --ref7-shell-line: rgba(255, 255, 255, 0.18);
  --ref7-shell-control: rgba(255, 255, 255, 0.06);
  --ref7-font:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

html {
  scroll-padding-top: var(--ref7-header-height);
}

body {
  font-family: var(--ref7-font);
}

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

.ref7-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  min-height: var(--ref7-header-height);
  flex: 0 0 auto;
  border-bottom: 1px solid var(--ref7-shell-line);
  background: rgba(8, 8, 8, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.ref7-site-header__inner {
  width: min(100% - (2 * var(--ref7-page-gutter)), var(--ref7-content-width));
  min-height: var(--ref7-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ref7-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ref7-shell-text);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

.ref7-site-brand__icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 22%;
  object-fit: cover;
}

.ref7-site-nav,
.ref7-site-nav__main,
.ref7-site-nav__utility {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref7-site-nav__link {
  min-height: var(--ref7-control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--ref7-shell-control);
  color: var(--ref7-shell-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

.ref7-site-nav__language-long {
  display: none;
}

.ref7-site-nav__link[aria-current="page"] {
  border-color: #ffffff;
  background: #ffffff;
  color: #0a0a0a;
}

.ref7-site-nav__link:focus-visible,
.ref7-menu-toggle:focus-visible,
.ref7-site-brand:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .ref7-site-nav__link:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #0a0a0a;
  }

  .ref7-site-brand:hover {
    color: #ffffff;
  }

  .ref7-menu-toggle:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #0a0a0a;
  }
}

.ref7-site-nav__external {
  display: none;
}

.ref7-menu-toggle {
  width: var(--ref7-control-height);
  height: var(--ref7-control-height);
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  padding: 0;
  background: var(--ref7-shell-control);
  color: var(--ref7-shell-text);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.ref7-menu-toggle__icon,
.ref7-menu-toggle__icon::before,
.ref7-menu-toggle__icon::after {
  width: 18px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.ref7-menu-toggle__icon {
  position: relative;
}

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

.ref7-menu-toggle__icon::before {
  top: -6px;
}

.ref7-menu-toggle__icon::after {
  top: 6px;
}

.ref7-site-header[data-menu-open] .ref7-menu-toggle__icon {
  background: transparent;
}

.ref7-site-header[data-menu-open] .ref7-menu-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.ref7-site-header[data-menu-open] .ref7-menu-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.ref7-footer {
  width: 100%;
  flex: 0 0 auto;
  border-top: 1px solid var(--ref7-shell-line);
  padding: 22px var(--ref7-page-gutter);
  background: #050505;
}

.ref7-footer__inner {
  width: 100%;
  max-width: var(--ref7-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  line-height: 1.5;
}

.ref7-footer__copyright {
  min-width: 0;
  color: #666663;
  font-size: 12px;
  white-space: nowrap;
}

.ref7-footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 20px;
  flex-wrap: nowrap;
  font-size: 14px;
}

.ref7-footer a {
  color: #f7f7f4;
  text-decoration: none;
  transition: color 160ms ease;
}

.ref7-footer__copyright a {
  color: inherit;
}

.ref7-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .ref7-footer a:hover {
    color: #a4a4a0;
  }
}

@media (max-width: 760px) {
  :root {
    --ref7-page-gutter: 16px;
    --ref7-header-height: 64px;
  }

  .ref7-site-header__inner {
    gap: 16px;
  }

  .ref7-site-brand__icon {
    width: 38px;
    height: 38px;
  }

  .ref7-menu-toggle {
    display: grid;
  }

  .ref7-site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: var(--ref7-page-gutter);
    left: var(--ref7-page-gutter);
    display: none;
    align-items: stretch;
    border: 1px solid var(--ref7-shell-line);
    border-radius: 20px;
    padding: 12px;
    background: #111111;
  }

  .ref7-site-header[data-menu-open] .ref7-site-nav {
    display: flex;
    flex-direction: column;
  }

  .ref7-site-nav__main {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .ref7-site-nav__utility {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--ref7-shell-line);
    padding: 12px 4px 0;
  }

  .ref7-site-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding-right: 16px;
    padding-left: 16px;
  }

  .ref7-site-nav__external {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    color: var(--ref7-shell-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .ref7-site-nav__utility .language-switch {
    width: auto;
    min-width: 72px;
    min-height: 44px;
    flex: 0 0 auto;
    justify-content: center;
    padding: 8px 14px;
  }

  .ref7-site-nav__external:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -2px;
  }

  .ref7-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ref7-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ref7-footer__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .ref7-site-header {
    background: var(--ref7-shell-bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref7-site-nav__link,
  .ref7-menu-toggle,
  .ref7-menu-toggle__icon,
  .ref7-menu-toggle__icon::before,
  .ref7-menu-toggle__icon::after,
  .ref7-footer a {
    transition: none;
  }
}
