/* Shared site nav + footer - markup injected by js/header.js and js/footer.js.
   Consolidates rules previously duplicated across landing.css / landing-index.css. */

/* position:sticky (not fixed) - reserves its own space in normal document
   flow, so nothing after it (ticker, main) needs manual offset math. Holds
   the deadline bar + nav + (optional) ticker together as one unit. */
.header-stack {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}
.site-nav {
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast), background var(--fast);
}
.site-nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: var(--f-dot);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: var(--t-body-sm);
  color: var(--muted);
  transition: color var(--fast);
}
.nav-link:hover { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fast), visibility var(--fast);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: var(--t-body-sm);
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--fast), background var(--fast);
}
.nav-dropdown-menu a:hover { color: var(--text); background: var(--raised); }
.nav-dropdown-menu a.in-build {
  color: var(--muted-legal);
  filter: blur(0.5px);
  opacity: 0.55;
}
.nav-dropdown-menu a.in-build:hover,
.nav-dropdown-menu a.in-build:focus-visible {
  filter: none;
  opacity: 1;
  color: var(--muted);
}
.nav-dropdown-menu a.in-build::after {
  content: 'In build';
  display: block;
  font-family: var(--f-dot);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
}

/* #header-stack is position:sticky and reserves its own space in normal
   document flow, so main needs zero manual offset - no padding-top here. */

/* Footer - no grey divider lines, spacing alone separates the blocks
   (matches the rest of the site's seamless-scroll treatment). */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 64px;
}
.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-cta-headline {
  font-family: var(--f-dot);
  font-size: var(--t-h3);
  letter-spacing: 0.04em;
}
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-who-we-are {
  padding: 20px 24px;
  margin-bottom: 40px;
  max-width: 60ch;
  border-left: 2px solid var(--orange);
}
.footer-who-we-are p { color: var(--muted); font-size: var(--t-body-sm); line-height: 1.65; margin-top: 10px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 64px;
  margin-bottom: 40px;
}
.footer-col-brand { flex: 1 1 360px; max-width: 480px; }
.footer-nav-group { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-nav-group .footer-col-title { color: var(--orange); }
.footer-col-title {
  font-family: var(--f-dot);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: var(--t-body-sm); color: var(--muted); transition: color var(--fast); }
.footer-col-links a:hover { color: var(--text); }
.footer-pitch { color: var(--muted); font-size: var(--t-body); max-width: 520px; line-height: 1.7; }
.footer-legal-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: var(--t-label);
  color: var(--muted-legal);
}
.footer-legal-row a { color: var(--muted-legal); transition: color var(--fast); }
.footer-legal-row a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .footer-nav-group { gap: 32px; }
}
