:root {
  --navy: #141b2d;
  --pink: #ff5805;
  --gold: #ff7d3b;
  --bg: #f6f5f1;
  --card: #ffffff;
  --text: #141b2d;
  --muted: #6977a6;
  --border: rgba(12, 4, 7, 0.08);
  --border-strong: rgba(12, 4, 7, 0.16);
  --grid-size: 36px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #141b2d;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", sans-serif;
}

.container {
  width: min(calc(100% - 40px), var(--container, 1320px));
  max-width: var(--container, 1320px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 24px), var(--container, 1320px));
  }
}

html { scroll-padding-top: 112px; }
body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ============================================================
   GLOBAL SITE HEADER (FULL-WIDTH FLUSH TOP -> SQUEEZED GLASS PILL)
   ============================================================ */
.site-header,
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: padding 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.site-header:not(.is-scrolled) {
  padding: 0;
  background: transparent !important;
  background-image: none !important;
  border-bottom: none !important;
}
.header-inner {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 10px clamp(20px, 3.5vw, 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(12, 4, 7, 0.08);
  box-shadow: 0 4px 20px rgba(12, 4, 7, 0.04);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-sizing: border-box;
  overflow: hidden;
  will-change: max-width, width, padding, border-radius, background, box-shadow;
  transition: max-width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              min-height 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              margin 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.6s ease,
              box-shadow 0.7s ease,
              border-color 0.6s ease,
              backdrop-filter 0.6s ease,
              -webkit-backdrop-filter 0.6s ease;
}

/* Scrolled Squeezed Glass Pill State (kicks in when scrolling ~ half into hero section) */
.site-header.is-scrolled {
  padding: 12px 0;
  background: transparent !important;
  background-image: none !important;
  border-bottom: none !important;
}
.site-header.is-scrolled .header-inner {
  width: calc(100% - 48px);
  max-width: 1350px;
  margin: 0 auto;
  padding: 6px 14px 6px 20px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 48px -6px rgba(12, 4, 7, 0.14),
              0 4px 14px rgba(12, 4, 7, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Hide Join The Network and Let's Book a Call when header squeezes */
.site-header.is-scrolled .nav-badge,
.site-header.is-scrolled .nav-call-pill {
  opacity: 0 !important;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  gap: 0;
  border-width: 0;
  transform: scale(0.92);
  overflow: hidden;
  pointer-events: none !important;
}
.site-header.is-scrolled .nav-left {
  gap: 0;
}

/* Squeezed actions: snug inside the pill */
.site-header.is-scrolled .nav-actions {
  gap: 0;
}
.site-header.is-scrolled .btn-pill-cta {
  padding: 9px 20px;
  font-size: 13.5px;
  margin-right: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  white-space: nowrap;
  min-width: 0;

  transition: gap 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #141b2d;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.header-logo {
  height: 38px;
  max-height: 38px;
  max-width: 195px;
}
.footer-logo {
  height: 44px;
  max-height: 44px;
  max-width: 230px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  position: relative;
  background: #ff5805;
  display: inline-block;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 6px;
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 9999px;
  background: rgba(255, 88, 5, 0.1);
  color: #141b2d;
  border: 1px solid rgba(255, 88, 5, 0.3);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
  user-select: none;
  max-width: 240px;
  overflow: hidden;
  opacity: 1;
  transition: background 0.25s ease,
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              max-width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              border-width 0.8s ease;
}
.nav-badge:hover {
  background: rgba(255, 88, 5, 0.14);
}
.nav-badge-wave {
  font-size: 13px;
}

/* Nav links: anchored in true absolute center of header */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin: 0;
  z-index: 2;
  pointer-events: auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
  color: #141b2d;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #ff5805;
}

/* Nav Link Icons: hidden in large header, smoothly expands when scrolled small */
.nav-link-icon {
  display: inline-block;
  vertical-align: middle;
  width: 0;
  max-width: 0;
  height: 20px;
  opacity: 0;
  margin-right: 0;
  flex-shrink: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.6);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              margin-right 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              stroke 0.2s ease;
}

/* Scrolled small floating pill header reveals icons (+30% larger at 20px) */
.site-header.is-scrolled .nav-link-icon {
  width: 20px;
  max-width: 20px;
  height: 20px;
  opacity: 0.85;
  margin-right: 8px;
  pointer-events: auto;
  transform: scale(1);
}
.site-header.is-scrolled .nav-links a:hover .nav-link-icon,
.site-header.is-scrolled .nav-links a[aria-current="page"] .nav-link-icon {
  opacity: 1;
  stroke: #ff5805;
}

/* Nav actions: anchored to the right */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
  margin-left: auto;
  z-index: 1;

  transition: gap 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #141b2d;
  text-decoration: none;
  cursor: default;
  user-select: none;
  padding: 6px 12px;
  border-radius: 9999px;
  max-width: 280px;
  overflow: hidden;
  opacity: 1;
  transition: background 0.25s ease,
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              max-width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5805;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(255, 88, 5, 0.25);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 2px rgba(255, 88, 5, 0.35); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255, 88, 5, 0.15); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 2px rgba(255, 88, 5, 0.35); }
}
.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ff5805;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 22px rgba(255, 88, 5, 0.28);
  transform: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease,
              box-shadow 0.35s ease,
              padding 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              font-size 0.8s ease;
}
.btn-pill-cta:hover {
  background: #ff5805;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(255, 88, 5, 0.38);
}
.btn-label-swap {
  display: grid;
  overflow: hidden;
  white-space: nowrap;
  perspective: 240px;
  transform-style: preserve-3d;
}
.btn-label-swap > span,
.btn-label-swap::after {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.btn-label-swap > span {
  transform: translateY(0) rotateX(0deg);
  transform-origin: center bottom;
}
.btn-label-swap::after {
  content: attr(data-label);
  opacity: 0;
  transform: translateY(110%) rotateX(-90deg);
  transform-origin: center top;
}
.btn-pill-cta:hover .btn-label-swap > span,
.btn-pill-cta:focus-visible .btn-label-swap > span {
  opacity: 0;
  transform: translateY(-110%) rotateX(90deg);
}
.btn-pill-cta:hover .btn-label-swap::after,
.btn-pill-cta:focus-visible .btn-label-swap::after {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}
.btn-arrow {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-pill-cta:hover .btn-arrow {
  transform: translateX(3px);
}
.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #141b2d;
  padding: 4px 8px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 12px 16px;
  background: #fff;
  color: #121318;
  border-radius: 8px;
}

/* Shared nav current-page affordance. */
.nav-links a[aria-current="page"] {
  color: #ff5805;
}

/* Keep content visible when JS is unavailable. */
.no-js .reveal { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* Server-side contact form notices. */
.form-status {
  display: block;
}
.form-status--success {
  background: #e6f5ef;
  color: #2e7059;
}
.form-status--error {
  background: #fff0f2;
  color: #a52f49;
}

/* ============================================================
   GLOBAL FOOTER STYLING & ACTIVE PAGE AFFORDANCES
   ============================================================ */
footer {
  margin-top: 56px;
  background: #141b2d !important;
  color: #ffffff !important;
  border-radius: 30px 30px 0 0;
  padding: 58px 0 28px;
  position: relative;
  z-index: 10;
}

footer h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffffff !important;
  font-family: "Bricolage Grotesque", sans-serif;
}

footer p {
  font-size: 14px;
  color: #aeb6c8 !important;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.95fr 1.15fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid .brand {
  color: #ffffff !important;
}
.footer-brand-copy {
  margin-top: 18px;
  max-width: 370px;
  font-size: 14px;
  line-height: 1.6;
  color: #aeb6c8;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #c7ccda;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover {
  color: #ff5805;
  transform: translateX(3px);
}
/* Orange active page highlighting */
.footer-links a.active,
.footer-links a[aria-current="page"] {
  color: #ff5805 !important;
  font-weight: 600;
}
.footer-links a.active::before,
.footer-links a[aria-current="page"]::before {
  content: "•";
  color: #ff5805;
  margin-right: 6px;
  font-size: 14px;
  line-height: 1;
}

/* Contact CTA column in footer */
.footer-cta-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #aeb6c8;
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #ff5805;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(255, 88, 5, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-contact-btn:hover {
  background: #e04a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 88, 5, 0.45);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: #8f97aa;
}

/* ============================================================
   SHARED THEME BUTTONS & 3D LABEL SWAP
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-pink,
.btn-hero-pink {
  background: #ff5805;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(255, 88, 5, .28);
}
.btn-pink:hover,
.btn-hero-pink:hover {
  background: #ff5805;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(255, 88, 5, .38);
}
.btn-label-swap {
  display: grid;
  overflow: hidden;
  white-space: nowrap;
  perspective: 240px;
  transform-style: preserve-3d;
}
.btn-label-swap > span,
.btn-label-swap::after {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.btn-label-swap > span {
  transform: translateY(0) rotateX(0deg);
  transform-origin: center bottom;
}
.btn-label-swap::after {
  content: attr(data-label);
  opacity: 0;
  transform: translateY(110%) rotateX(-90deg);
  transform-origin: center top;
}
.btn:hover .btn-label-swap > span,
.btn:focus-visible .btn-label-swap > span {
  opacity: 0;
  transform: translateY(-110%) rotateX(90deg);
}
.btn:hover .btn-label-swap::after,
.btn:focus-visible .btn-label-swap::after {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}
.btn-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(5px);
}

.cw-content { margin-top: 32px; }
.eyebrow--soft { color: #9eabc4 !important; }
.eyebrow--white-soft { color: rgba(255,255,255,.72) !important; }
.eyebrow--blue-soft { color: #6977a6 !important; }

/* ============================================================
   LEGAL & POLICY PAGES
   ============================================================ */
.legal-page-shell {
  min-height: 70vh;
}
.legal-hero {
  margin-top: -98px;
  padding: 136px 0 50px;
  background: #f6f5f1;
  border-bottom: 1px solid rgba(12, 4, 7, 0.08);
}
.legal-hero__title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #141b2d;
  margin: 10px 0 8px;
}
.legal-hero__subtitle {
  font-size: 14px;
  color: #6977a6;
  margin: 0;
}
.legal-body {
  padding: 60px 0 90px;
}
.legal-card {
  background: #ffffff;
  border: 1px solid rgba(12, 4, 7, 0.08);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 4px 20px rgba(12, 4, 7, 0.04);
  min-height: 200px;
}
/* ============================================================
   SHARED RESPONSIVE NAVIGATION & MOBILE OVERLAY
   ============================================================ */
/* Backdrop blur overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 27, 45, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 1050px) {
  .site-header {
    min-height: 64px;
  }
  .site-header.is-scrolled {
    min-height: 56px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 8px 20px;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  }

  .header-inner .nav-links,
  .header-inner .nav-actions {
    display: none;
  }

  .header-inner .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 24px;
    color: #141b2d;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .header-inner .menu-btn:hover {
    background: rgba(12, 4, 7, 0.05);
  }

  /* When open: floating modal card on top of hero section regardless of scroll */
  .header-inner.open,
  .site-header.is-scrolled .header-inner.open,
  .site-header.is-open .header-inner,
  .site-header.is-open.is-scrolled .header-inner {
    position: absolute !important;
    top: 10px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    min-height: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 20px 22px !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    border: 1px solid rgba(12, 4, 7, 0.08) !important;
    box-shadow: 0 24px 60px rgba(12, 4, 7, 0.22), 0 4px 16px rgba(12, 4, 7, 0.08) !important;
    z-index: 1001 !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
    animation: mobileMenuCardIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .header-inner.open .nav-left,
  .site-header.is-scrolled .header-inner.open .nav-left {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(12, 4, 7, 0.08) !important;
    gap: 14px !important;
  }

  .header-inner.open .nav-left .brand {
    font-size: 19px;
  }

  .header-inner.open .menu-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(12, 4, 7, 0.75);
    border-radius: 8px;
    background: #ffffff;
    color: #141b2d;
    cursor: pointer;
    line-height: 1;
  }

  .header-inner.open .nav-links,
  .site-header.is-scrolled .header-inner.open .nav-links {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(12, 4, 7, 0.08) !important;
  }

  .header-inner.open .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #141b2d;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .header-inner.open .nav-links a:hover {
    background: rgba(255, 88, 5, 0.06);
    color: #ff5805;
  }
  .header-inner.open .nav-links a[aria-current="page"] {
    color: #ff5805;
    background: rgba(255, 88, 5, 0.08);
  }

  .header-inner.open .nav-link-icon {
    width: 20px;
    max-width: 20px;
    height: 20px;
    opacity: 0.85;
    margin-right: 0;
    transform: scale(1);
    stroke: currentColor;
    pointer-events: auto;
  }

  .header-inner.open .nav-links a[aria-current="page"] .nav-link-icon,
  .header-inner.open .nav-links a:hover .nav-link-icon {
    stroke: #ff5805;
    opacity: 1;
  }

  .header-inner.open .nav-actions,
  .site-header.is-scrolled .header-inner.open .nav-actions {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding-top: 16px !important;
    margin: 0 !important;
  }

  .header-inner.open .nav-call-pill {
    max-width: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #141b2d;
    padding: 0 4px;
    margin: 0;
  }

  .header-inner.open .nav-actions .btn-pill-cta,
  .site-header.is-scrolled .header-inner.open .nav-actions .btn-pill-cta {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    background: #ff5805 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(255, 88, 5, 0.35) !important;
    margin-right: 0 !important;
  }

  .site-header.is-scrolled .header-inner.open .nav-call-pill {
    max-width: none;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: 100%;
    padding: 8px 16px;
    border-radius: 0;
  }

  .site-header.is-scrolled .header-inner {
    width: calc(100% - 24px);
    border-radius: 9999px;
    padding: 6px 14px;
  }

  .header-inner.open,
  .site-header.is-scrolled .header-inner.open,
  .site-header.is-open .header-inner,
  .site-header.is-open.is-scrolled .header-inner {
    top: 8px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    padding: 14px 16px 18px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    min-height: auto !important;
  }

  .nav-badge {
    display: none;
  }

  .header-logo {
    height: 32px;
    max-height: 32px;
    max-width: 155px;
  }

  .footer-logo {
    height: 38px;
    max-height: 38px;
    max-width: 180px;
  }

  /* Center align footer on mobile with Nav & Legal in one row */
  footer {
    text-align: center !important;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    text-align: center !important;
    justify-items: center !important;
    gap: 32px 16px !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-col--brand {
    grid-column: 1 / -1 !important;
  }
  .footer-col--nav {
    grid-column: 1 / 2 !important;
  }
  .footer-col--legal {
    grid-column: 2 / 3 !important;
  }
  .footer-col--contact {
    grid-column: 1 / -1 !important;
  }
  .footer-grid .brand {
    display: flex !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .footer-brand-copy {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }
  .footer-col h4 {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .footer-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-cta-desc {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }
  .footer-contact-btn {
    margin-inline: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  footer {
    text-align: center !important;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    text-align: center !important;
    justify-items: center !important;
    gap: 32px 16px !important;
  }
  .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .footer-col--brand {
    grid-column: 1 / -1 !important;
  }
  .footer-col--nav {
    grid-column: 1 / 2 !important;
  }
  .footer-col--legal {
    grid-column: 2 / 3 !important;
  }
  .footer-col--contact {
    grid-column: 1 / -1 !important;
  }
  .footer-grid .brand {
    display: flex !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .footer-brand-copy {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }
  .footer-col h4 {
    text-align: center !important;
    margin-inline: auto !important;
  }
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .footer-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-cta-desc {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 100% !important;
  }
  .footer-contact-btn {
    margin-inline: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@keyframes mobileMenuCardIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   MARQUEE BAR GLOBAL MIDNIGHT THEME
   ============================================================ */
:root {
  --cw-marquee-bg: #141b2d;
  --cw-marquee-border: rgba(255, 88, 5, 0.3);
  --cw-marquee-shadow: 0 16px 38px -6px rgba(20, 27, 45, 0.45);
  --cw-marquee-color-orange: #ff5805;
  --cw-marquee-glyph-orange: #ffffff;
  --cw-marquee-color-white: #ffffff;
  --cw-marquee-glyph-white: #ff5805;
}
