/* Shared public header and footer. Load after page-specific presentation. */
html { scroll-padding-top: 80px; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 600;
  height: 64px; padding: 0 4rem; gap: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12,13,17,.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(240,237,232,.045);
}
.site-header .brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.site-header .nav-app-icon {
  width: 40px; height: 40px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; border-radius: 10px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(240,237,232,.06);
}
.site-header .nav-app-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); }
.site-header .nav-wordmark { width: auto; height: 18px; max-width: 176px; object-fit: contain; }
.site-header .nav-links {
  position: static; display: flex; align-items: center; gap: 2.25rem;
  height: auto; padding: 0; margin: 0; flex-shrink: 0;
  background: none; border: 0; backdrop-filter: none;
}
.site-header .nav-link, .site-header .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; line-height: 1.2; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; color: rgba(240,237,232,.60);
  min-height: 40px; transition: color .2s ease;
}
.site-header .nav-link:hover { color: #F0EDE8; }
.site-header .nav-cta {
  padding: .55rem 1.4rem; border-radius: 100px; font-weight: 700;
  color: #0C0D11; background: #F0EDE8;
  box-shadow: 0 0 30px rgba(240,237,232,.22), 0 0 70px rgba(240,237,232,.08);
}
.site-header .nav-cta:hover { color: #0C0D11; background: #fff; }
.site-header a:focus-visible { outline: 2px solid #F0EDE8; outline-offset: 4px; }
.site-header .nav-cta-mobile { display: none; }
.site-header .nav-cta-full { display: inline; }
.hero .hero-btns { flex-direction: column; align-items: center; gap: 16px; }
.hero .hero-btns .btn-ghost { color: rgba(240,237,232,.60); }
body:has(.site-header) > main.wrap { padding-top: 64px; }
.skip-link { z-index: 700; }

.site-footer {
  width: 100%;
  padding: 2.25rem 4rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(240,237,232,.045);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 2.5rem;
  background: #0C0D11;
  color: rgba(240,237,232,.35);
}
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; text-decoration: none; }
.site-footer .footer-app-icon {
  width: 26px; height: 26px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; border-radius: 7px; background: #000;
  opacity: .58; transition: opacity .2s ease;
}
.site-footer .footer-app-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); }
.site-footer .footer-logo { width: auto; height: 15px; opacity: .46; transition: opacity .2s ease; }
.site-footer .footer-brand:hover .footer-app-icon,
.site-footer .footer-brand:hover .footer-logo { opacity: .8; }
.site-footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem 2rem;
}
.site-footer a {
  color: rgba(240,237,232,.45);
  font-family: 'Syne',sans-serif;
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer .footer-links a:hover { color: #E8622A; }
.site-footer a:focus-visible { outline: 2px solid #F0EDE8; outline-offset: 5px; }
.site-footer .footer-copy { margin: 0; font-size: .68rem; line-height: 1.5; white-space: nowrap; }
.site-footer .footer-credit {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: flex-end; gap: .5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(240,237,232,.045);
  font-family: 'DM Sans',sans-serif; font-size: .75rem; line-height: 1.33;
  text-transform: none; letter-spacing: normal;
}
.site-footer .footer-credit:hover { color: #F0EDE8; }
.footer-credit-icon { display: block; width: auto; height: 20px; }
.footer-credit-wordmark { display: block; width: auto; height: 15px; }
@media (max-width: 960px) {
  .site-header { padding-inline: 1.5rem; gap: 1rem; }
  .site-header .nav-links { gap: 1rem; }
  .site-header .nav-link, .site-header .nav-cta { font-size: .62rem; letter-spacing: .06em; }
  .site-header .nav-cta { padding-inline: .9rem; }
  .site-footer { padding-inline: 1.75rem; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
  .site-footer .footer-links { justify-content: flex-end; }
  .site-footer .footer-copy { grid-column: 1 / -1; white-space: normal; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 120px; }
  .site-header { height: 104px; padding: 8px .9rem; flex-wrap: wrap; gap: 4px; }
  .site-header .brand { height: 36px; gap: 9px; }
  .site-header .nav-app-icon { width: 32px; height: 32px; border-radius: 8px; }
  .site-header .nav-wordmark { height: 14px; }
  .site-header .nav-links { flex: 1 0 100%; width: 100%; justify-content: space-between; gap: 6px; }
  .site-header .nav-link, .site-header .nav-cta { min-height: 44px; font-size: .55rem; letter-spacing: .04em; }
  .site-header .nav-cta { padding-inline: .7rem; }
  .site-header .nav-cta-full { display: none; }
  .site-header .nav-cta-mobile { display: inline; }
  body:has(.site-header) > main.wrap { padding-top: 104px; }
  .js .hero-pin .hero { padding-top: 136px; }
  .site-footer { padding: 1.75rem 1.25rem; grid-template-columns: 1fr; gap: 1.25rem; }
  .site-footer .footer-links { justify-content: flex-start; gap: .8rem 1.3rem; }
  .site-footer .footer-copy { grid-column: auto; }
  .site-footer .footer-credit { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header a, .site-footer a, .site-footer .footer-app-icon, .site-footer .footer-logo { transition: none; }
}
