.eyebrow {
  margin: 0;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: var(--color-surface);
  border-bottom-color: var(--color-border);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--container-max));
  height: 72px;
  margin-inline: auto;
  padding-inline: 48px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo {
  width: 135px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.site-nav__link:hover {
  opacity: 0.68;
}

/* Button treatment carried over from the v1 design system:
   pill, weight 600; primary shifts to accent on hover; outline inverts to solid. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}

.button--dark {
  background: var(--color-text);
  color: var(--color-background);
  padding-inline: 14px;
}

.button--dark:hover {
  background: var(--color-accent);
}

.button--outline {
  min-height: 48px;
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px var(--color-text);
  padding-inline: 20px;
}

.button--outline:hover {
  background: var(--color-text);
  color: var(--color-background);
}

.site-nav__cta {
  min-width: 122px;
}

/* Homepage version switcher */
.site-nav__item--review {
  position: relative;
}

.dropdown__toggle {
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  padding-inline: 12px;
  cursor: pointer;
}

.dropdown__caret {
  transition: transform 180ms ease;
}

.dropdown__toggle[aria-expanded="true"] .dropdown__caret {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 210px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-background);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav__item--review.is-open .dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown__label {
  padding: 8px 12px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.dropdown__label:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

.dropdown__link {
  display: block;
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.3;
  transition: background-color 160ms ease;
}

.dropdown__link:hover {
  background: #f4f2ee;
}

.dropdown__link[aria-current="page"] {
  background: #f4f2ee;
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .site-header__inner {
    padding-inline: 24px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav__list {
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    height: 68px;
    padding-inline: 16px;
  }

  .site-header__logo {
    width: 118px;
  }

  .menu-toggle {
    position: relative;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-background);
    color: var(--color-text);
    cursor: pointer;
  }

  .menu-toggle__line {
    position: absolute;
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle__line:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle__line:last-child {
    transform: translateY(4px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:last-child {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 16px;
    left: 16px;
    z-index: 55;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-background);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .site-nav__list {
    display: grid;
    gap: 4px;
  }

  .site-nav__link {
    width: 100%;
    min-height: 44px;
    padding-inline: 4px;
    font-size: 15px;
  }

  .site-nav__cta {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    font-size: 15px;
  }

  .dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    font-size: 15px;
  }

  .dropdown__menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    border: none;
    box-shadow: none;
    padding: 0 0 0 4px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 180ms ease;
  }

  .site-nav__item--review.is-open .dropdown__menu {
    max-height: 160px;
  }

  .dropdown__link {
    font-size: 15px;
  }
}
