/* Shared site chrome — matches index.html nav & footer */
html {
  overflow-x: clip;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0eeee;
  padding: 0 5%;
  padding-top: env(safe-area-inset-top, 0);
}

.site-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.site-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav .nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.site-nav .nav-links a {
  text-decoration: none;
  color: #6b6b80;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.nav-current {
  color: #e87361;
}

.site-nav .nav-links a.nav-current {
  font-weight: 600;
}

.site-nav .nav-cta {
  background: #e87361;
  color: #ffffff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.site-nav .nav-cta:hover {
  opacity: 0.88 !important;
  color: #ffffff !important;
  text-decoration: none;
}

.site-footer {
  background: #1e1e2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 5% 2rem;
}

.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  min-width: 0;
}

.site-footer .footer-links {
  min-width: 0;
}

.site-footer .footer-brand img {
  height: 32px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1) opacity(0.9);
}

.site-footer .footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-legal {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.4rem;
}

.site-footer .footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.site-footer .footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a.footer-current {
  color: #ffffff;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .site-nav:has(.header-actions:not(.hidden)) .nav-links {
    display: none;
  }

  .site-footer .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-nav .nav-links {
    display: none;
  }

  .site-nav .nav-inner {
    min-height: 64px;
  }
}
