.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-xs);
  font: 600 16px/24px 'Inter', sans-serif;
}

.button--primary { background: var(--sky-500); color: #fff; }
.button--secondary { background: var(--sky-50); color: var(--sky-700); }
.button--ghost { background: transparent; color: var(--text); border-color: var(--line); width: 100%; }

.figma-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.figma-logo__image {
  position: absolute;
  max-width: none;
}
.figma-logo--header {
  width: 146.540878px;
  height: 40px;
}
.figma-logo--header .figma-logo__image {
  width: 171.169854px;
  height: 65.408px;
  left: -12.326px;
  top: -12.832px;
}
.figma-logo--footer {
  width: 175.849045px;
  height: 48px;
}
.figma-logo--footer .figma-logo__image {
  width: 205.403336px;
  height: 78.4896px;
  left: -14.791px;
  top: -15.398px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(23,23,23,0.06);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 80px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted-2);
  font: 600 16px/24px 'Inter', sans-serif;
  transition: background-color 160ms ease, color 160ms ease;
}
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current_page_item > a,
.site-nav__list > li.current-menu-ancestor > a,
.site-nav__list > li > a:hover,
.site-nav__list > li > a:focus {
  background: var(--sky-100);
  color: var(--sky-700);
}
.site-header__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.site-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.site-footer { padding: 64px 0 48px; }
.site-footer__inner { display: flex; flex-direction: column; gap: 64px; }
.site-footer__top { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 36px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 34px; }
.site-footer__logo { display: inline-flex; align-items: center; }
.site-footer__columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.site-footer__column,
.site-footer__meta { display: flex; flex-direction: column; gap: 10px; }
.site-footer__column h2 { color: #a3a3a3; font: 500 14px/20px 'Inter', sans-serif; }
.site-footer__column p,
.site-footer__meta p,
.site-footer__bottom p { color: var(--muted); font: 400 16px/24px 'Inter', sans-serif; }
.site-footer__bottom { padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }

@media (max-width: 991px) {
  .site-header__inner { justify-content: space-between; gap: 20px; min-height: 72px; }
  .site-header__toggle { display: block; }
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(23,23,23,0.12);
  }
  .site-header__nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 18px; }
  .figma-logo--header {
    width: 131.887px;
    height: 36px;
  }
  .figma-logo--header .figma-logo__image {
    width: 154.053px;
    height: 58.867px;
    left: -11.093px;
    top: -11.549px;
  }
  .figma-logo--footer {
    width: 161.195px;
    height: 44px;
  }
  .figma-logo--footer .figma-logo__image {
    width: 188.287px;
    height: 71.949px;
    left: -13.559px;
    top: -14.115px;
  }
  .site-footer__top,
  .site-footer__columns { grid-template-columns: 1fr; }
}
