/* Unified site nav — matches the new homepage header exactly.
   Injected into every legacy page by scripts/mirror.mjs. */

/* Hide the old Webflow navbar (and its mobile overlay).
   This site's navbar is a fixed `section.nav` wrapper with .nav-bar-links. */
.w-nav, .w-nav-overlay, section.nav, .nav-bar-links { display: none !important; }

.cv-sitenav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(24px, 6vw, 120px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(6,6,25,0.82), rgba(6,6,25,0));
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}
.cv-sitenav *, .cv-sitenav *::before, .cv-sitenav *::after { box-sizing: border-box; }
.cv-sitenav a { text-decoration: none; }
.cv-sitenav .cv-logo { display: flex; align-items: center; }
.cv-sitenav .cv-logo img { height: 26px; width: auto; display: block; }
.cv-sitenav .cv-links { display: flex; align-items: center; gap: 38px; }
.cv-sitenav .cv-link { font-size: 13px; font-weight: 500; letter-spacing: 0.4px; color: rgba(255,255,255,0.72); }
.cv-sitenav .cv-link:hover { color: #7dfff0; }
.cv-sitenav .cv-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 22px;
  border: 1px solid rgba(22,231,207,0.55); border-radius: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #16E7CF;
}
.cv-sitenav .cv-cta:hover { background: rgba(22,231,207,0.12); border-color: #16E7CF; }

.cv-sitenav .cv-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.cv-sitenav .cv-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }

.cv-sitemenu {
  display: none; position: fixed; inset: 0; z-index: 9985;
  background: rgba(6,6,25,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.cv-sitemenu.open { display: flex; }
.cv-sitemenu a { font-size: 20px; font-weight: 600; letter-spacing: 0.6px; color: rgba(255,255,255,0.85); text-decoration: none; }
.cv-sitemenu a:hover { color: #7dfff0; }
.cv-sitemenu .cv-cta {
  display: inline-flex; align-items: center; height: 48px; padding: 0 22px;
  border: 1px solid rgba(22,231,207,0.55); border-radius: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #16E7CF;
}

body.cv-menu-open { overflow: hidden; }
body.cv-menu-open .cv-sitenav .cv-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.cv-menu-open .cv-sitenav .cv-burger span:nth-child(2) { opacity: 0; }
body.cv-menu-open .cv-sitenav .cv-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .cv-sitenav .cv-links { display: none; }
  .cv-sitenav .cv-burger { display: block; }
}

/* ============================================================
   Legacy-page polish (font normalization + hero parallax + reveal)
   Added to spruce up mirrored Webflow pages to match the new site.
   ============================================================ */
@font-face { font-family:'Montserrat'; font-weight:400; font-display:swap; src:url('/_ds/conduit-cards-design-system-cff6cd2b-f388-46d6-949d-a488072a9d50/assets/fonts/Montserrat-Regular.otf') format('opentype'); }
@font-face { font-family:'Montserrat'; font-weight:500; font-display:swap; src:url('/_ds/conduit-cards-design-system-cff6cd2b-f388-46d6-949d-a488072a9d50/assets/fonts/Montserrat-Medium.otf') format('opentype'); }
@font-face { font-family:'Montserrat'; font-weight:600; font-display:swap; src:url('/_ds/conduit-cards-design-system-cff6cd2b-f388-46d6-949d-a488072a9d50/assets/fonts/Montserrat-SemiBold.otf') format('opentype'); }
@font-face { font-family:'Montserrat'; font-weight:700; font-display:swap; src:url('/_ds/conduit-cards-design-system-cff6cd2b-f388-46d6-949d-a488072a9d50/assets/fonts/Montserrat-Bold.otf') format('opentype'); }
@font-face { font-family:'Montserrat'; font-weight:800; font-display:swap; src:url('/_ds/conduit-cards-design-system-cff6cd2b-f388-46d6-949d-a488072a9d50/assets/fonts/Montserrat-ExtraBold.otf') format('opentype'); }

/* Normalize hero headline typography to the brand font */
section[class*="-landing"] h1,
section[class*="-landing"] h2 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.02em; text-wrap: balance;
}

/* Scroll-reveal — the .cv-reveal class is added by JS, so if JS never runs the
   content stays fully visible (no risk of hidden content). */
.cv-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.cv-reveal.cv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cv-reveal { opacity: 1 !important; transform: none !important; } }

/* Hero entrance — gentle fade-up on load (pure CSS, always ends visible).
   A safe "header effect" in place of background parallax, which conflicts
   with the varied Webflow hero backgrounds. */
@media (prefers-reduced-motion: no-preference) {
  section[class*="-landing"] h1,
  section[class*="-landing"] h2,
  section[class*="-landing"] p,
  section[class*="-landing"] .w-button,
  section[class*="-landing"] a[class*="button"] {
    animation: cv-hero-in 0.85s cubic-bezier(0.22,0.61,0.36,1) both;
  }
  section[class*="-landing"] p { animation-delay: 0.12s; }
  section[class*="-landing"] .w-button,
  section[class*="-landing"] a[class*="button"] { animation-delay: 0.22s; }
}
@keyframes cv-hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
