.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(226 228 232 / .7);
  background: rgb(249 250 252 / .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__bar {
  display: flex;
  width: 100%;
  height: 64px;
  padding-inline: 32px;
  align-items: center;
  justify-content: space-between;
}

.site-header__leading,
.site-header__actions,
.site-wordmark,
.site-nav,
.site-sign-in {
  display: flex;
  align-items: center;
}

.site-header__leading {
  gap: 32px;
}

.site-wordmark {
  gap: 5px;
  width: fit-content;
}

.site-wordmark__mark {
  width: 20px;
  height: 20px;
  transform: translateY(2px);
}

.site-wordmark__text {
  color: var(--foreground);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 24px;
}

.site-wordmark__text span {
  color: var(--primary);
}

.site-nav {
  gap: 24px;
}

.site-nav a,
.mobile-menu a,
.site-footer__column a {
  transition: color 150ms cubic-bezier(.4, 0, .2, 1);
}

.site-nav a {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.site-nav a:hover,
.mobile-menu a:hover,
.site-footer__column a:hover {
  color: var(--foreground);
}

.site-header__actions {
  gap: 8px;
}

.site-sign-in {
  height: 44px;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(.4, 0, .2, 1);
}

.site-sign-in:hover {
  background: var(--secondary);
}

.site-sign-in svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.site-menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-menu-toggle__close,
.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__open {
  display: none;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__close {
  display: block;
}

.mobile-menu {
  padding: 12px 16px 16px;
  border-top: 1px solid rgb(226 228 232 / .55);
  background: rgb(249 250 252 / .94);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: flex;
  min-height: 41px;
  padding: 8px 12px;
  align-items: center;
  border-radius: 8px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 24px;
}

.mobile-menu .mobile-menu__cta {
  min-height: 0;
  margin-top: 9px;
  padding: 4px 16px;
  justify-content: center;
  border-radius: 9px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  line-height: 18px;
}

.mobile-menu .mobile-menu__cta:hover {
  color: var(--primary-foreground);
  background: rgb(45 79 227 / .9);
}

.site-footer {
  min-height: 401px;
  border-top: 1px solid var(--border);
  background: #f9fafc;
}

.site-footer__inner {
  width: min(100%, 1152px);
  margin-inline: auto;
  padding: 56px 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 320px repeat(3, 200px);
  justify-content: space-between;
  gap: 24px;
}

.site-footer__summary {
  max-width: 320px;
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 22.75px;
  text-wrap: pretty;
}

.site-footer__socials {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 12px;
}

.site-footer__socials a {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  transition: border-color 150ms cubic-bezier(.4, 0, .2, 1);
}

.site-footer__socials a:hover {
  border-color: #b9bdc5;
}

.site-footer__socials img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity 150ms cubic-bezier(.4, 0, .2, 1);
}

.site-footer__socials a:hover img {
  opacity: .9;
}

.site-footer__column h2 {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.site-footer__column ul {
  display: grid;
  margin-top: 16px;
  gap: 12px;
}

.site-footer__column a {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 20px;
}

.site-footer__legal {
  display: flex;
  margin-top: 40px;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .site-header__bar {
    padding-inline: 16px;
  }

  .site-nav {
    display: none;
  }

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

  .site-footer__inner {
    padding: 56px 16px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 389px) {
  .site-sign-in {
    padding-inline: 10px;
  }
}
