:root {
  color-scheme: light;
}

.guidebook-page {
  --page-bg: #f5f5f7;
  --surface: rgba(255, 255, 255, .82);
  --surface-strong: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .11);
  --accent: #0071e3;
  --accent-2: #64d2ff;
  --accent-3: #86868b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .09);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245, 245, 247, 0.74);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px) saturate(1.35);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-mark {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, #0071e3, #64d2ff);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 99px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}

.guidebook-page .hero {
  min-height: min(640px, calc(100vh - 58px));
}

.guidebook-page .hero-kicker {
  color: var(--accent);
}

.guidebook-page .hero-title {
  font-size: clamp(52px, 7.5vw, 106px) !important;
}

.guidebook-page .app-actions {
  display: none !important;
}

@media (max-width: 1050px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .site-header .brand {
    font-size: 12px;
  }

  .nav-links {
    width: 100%;
  }

  .search-dock {
    top: 84px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(1180px, calc(100% - 24px));
  }

  .site-header .brand {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 12px;
  }
}
