:root {
  --site-shell-bg: #05080b;
  --site-shell-panel: #080d12;
  --site-shell-white: #fff;
  --site-shell-muted: #9caab5;
  --site-shell-line: rgba(255, 255, 255, 0.11);
  --site-shell-blue: #00a8ff;
  --site-shell-font:
    "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.site-nav,
.site-footer {
  box-sizing: border-box;
  font-family: var(--site-shell-font);
}

.site-nav *,
.site-nav *::before,
.site-nav *::after,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block;
  padding: 20px clamp(34px, 4.2vw, 80px) !important;
  color: var(--site-shell-white);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease,
    background 180ms ease;
  view-transition-name: crizol-site-nav;
  will-change: transform;
}

.site-nav::after {
  content: none !important;
  display: none !important;
}

.site-nav.is-scrolled,
.site-nav.is-open {
  background: rgba(5, 8, 11, 0.96) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
}

.site-nav.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-100% - 8px), 0);
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.site-nav-inner {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.site-brand img {
  width: auto;
  height: 52px;
  display: block;
  object-fit: contain;
}

.site-brand-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
  color: var(--site-shell-white);
}

.site-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--site-shell-blue);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.site-button {
  min-width: 148px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--site-shell-white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-button.is-primary {
  padding-right: 18px;
  padding-left: 24px;
  border-color: #fff;
  color: #05080b;
  background: #fff;
}

.site-arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--site-shell-blue);
}

.site-arrow svg {
  width: 16px;
  height: 16px;
}

.site-menu-toggle {
  width: 50px;
  height: 50px;
  display: none;
  flex: 0 0 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.06),
    0 12px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.site-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  flex: 0 0 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-nav.is-open .site-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav.is-open .site-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.is-open .site-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: clamp(64px, 5vw, 92px) clamp(18px, 4vw, 64px) 42px;
  color: #fff;
  background: var(--site-shell-bg);
}

.site-footer-card {
  width: min(1760px, 100%);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 34px;
  background: var(--site-shell-panel);
}

.site-footer-grid {
  display: grid;
  grid-template-columns:
    minmax(280px, 1.3fr) repeat(2, minmax(150px, 0.8fr))
    minmax(220px, 1fr);
  gap: clamp(34px, 5vw, 86px);
}

.site-footer-brand img {
  width: 104px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.site-footer-brand p,
.site-footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.6;
}

.site-footer-brand p {
  max-width: 330px;
}

.site-footer-socials {
  display: flex;
  margin-top: 22px;
}

.site-footer-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-footer-socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer-socials svg {
  width: 28px;
  height: 28px;
  display: block;
}

.site-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer-column h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-column a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-footer-column a:hover {
  color: #fff;
}

.site-footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 700;
}

body.is-page-leaving .site-footer,
body.marketing-page.is-page-leaving .site-footer {
  animation: mk-page-leave 240ms cubic-bezier(0.4, 0, 1, 1) both;
  pointer-events: none;
}

@media (max-width: 1320px) and (min-width: 1041px) {
  .site-nav-inner {
    gap: 20px;
  }

  .site-brand-copy {
    font-size: 19px;
  }

  .site-nav-links {
    gap: 30px;
  }

  .site-nav-links a,
  .site-button {
    font-size: 15px;
  }

  .site-nav-actions {
    gap: 12px;
  }

  .site-button {
    min-width: auto;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    padding: 19px 22px !important;
  }

  .site-nav.is-open {
    background: #05080b;
  }

  .site-nav-inner {
    min-height: 46px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .site-brand {
    flex-shrink: 0;
    gap: 12px;
  }

  .site-brand img {
    height: 46px;
  }

  .site-brand-copy {
    width: auto;
    max-width: none;
    font-size: clamp(16px, 5vw, 20px);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .site-menu-toggle {
    display: flex;
  }

  .site-nav-links,
  .site-nav-actions {
    display: none;
  }

  .site-nav.is-open .site-nav-links,
  .site-nav.is-open .site-nav-actions {
    position: absolute;
    right: 18px;
    left: 18px;
    display: flex;
    border: 1px solid var(--site-shell-line);
    background: #05080b;
  }

  .site-nav.is-open .site-nav-links {
    top: 92px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 16px 8px;
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
  }

  .site-nav.is-open .site-nav-links a {
    display: block;
    padding: 11px 10px;
    font-size: 16px;
  }

  .site-nav.is-open .site-nav-links a[aria-current="page"]::after {
    display: none;
  }

  .site-nav.is-open .site-nav-actions {
    top: 248px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 16px 16px;
    border-top: 0;
    border-radius: 0 0 22px 22px;
  }

  .site-nav.is-open .site-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 20px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 56px 18px 28px;
  }

  .site-footer-card {
    padding: 30px 28px;
    border-radius: 26px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer-brand {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .site-footer-brand img {
    width: 76px;
    margin: 2px 0 0;
    grid-row: 1 / 3;
  }

  .site-footer-brand p {
    max-width: none;
    grid-column: 2;
    font-size: 14px;
  }

  .site-footer-socials {
    grid-column: 2;
    margin-top: 16px;
  }

  .site-footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .site-nav {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .site-brand {
    gap: 9px;
  }

  .site-brand img {
    height: 42px;
  }

  .site-brand-copy {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .site-menu-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .site-footer-card {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-footer-brand {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
  }

  .site-footer-brand img {
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-menu-toggle span {
    transition: none;
  }
}
