/* ClickDialog Site Chrome V8 — shared navigation and footer on every public route.
   Loaded last to keep the existing page systems and brand tokens intact. */
.site-header .header-row {
  min-height: 76px;
  gap: clamp(18px, 2vw, 34px);
}
.site-header .cd-nav-v3 { gap: 2px; }
.site-header .cd-nav-disclosure > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #263852;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -.012em;
}
.site-header .cd-nav-disclosure > summary:is(:hover, :focus-visible),
.site-header .cd-nav-disclosure[open] > summary {
  color: #1548bc;
  background: #edf3ff;
}
.site-header .cd-nav-disclosure[open] > summary {
  border-color: rgba(38, 91, 209, .15);
}
.site-header .cd-nav-chevron,
.site-header .cd-mobile-chevron {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #6b7c97;
  transform-origin: 50% 50%;
  transition: transform .2s cubic-bezier(.2,.75,.3,1), color .2s ease;
}
.site-header .cd-nav-disclosure[open] .cd-nav-chevron {
  transform: rotate(180deg);
  color: #1a55d1;
}
.site-header .cd-nav-panel {
  top: calc(100% + 5px);
  right: 0;
  width: min(780px, calc(100vw - 40px));
  border: 1px solid #e1e9f6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(13, 37, 82, .14), 0 3px 15px rgba(13, 37, 82, .05);
  padding: 26px;
}
.site-header .cd-nav-panel-heading {
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom-color: #e9eef8;
}
.site-header .cd-nav-panel-list { gap: 8px 12px; }
.site-header .cd-nav-panel-list > a {
  min-height: 66px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 14px;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.site-header .cd-nav-panel-list > a:is(:hover, :focus-visible) {
  background: #f4f7ff;
  border-color: #e4ecfb;
  transform: translateX(2px);
}
.site-header .cd-nav-v3 > .cd-nav-cta {
  min-height: 44px;
  border-radius: 11px;
  margin-left: clamp(8px, 1.1vw, 16px);
  padding-inline: 20px;
  box-shadow: 0 4px 14px rgba(22, 78, 191, .17);
}
.site-header .cd-nav-v3 > .cd-nav-login {
  margin-left: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-header .cd-mobile-section[open] .cd-mobile-chevron {
  transform: rotate(180deg);
  color: #1554c9;
}

/* Editorially lighter, commercially clearer global footer */
.site-footer.cd-footer-v8 {
  isolation: isolate;
  position: relative;
  overflow: clip;
  margin: 0;
  padding: 0;
  border-top: 0;
  color: #e8efff;
  background: linear-gradient(135deg, #0a1837 0%, #111f46 54%, #0a1734 100%);
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}
.site-footer.cd-footer-v8::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  right: -16%;
  top: -300px;
  width: min(900px, 80vw);
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 106, 240, .21), rgba(63, 106, 240, .06) 36%, transparent 70%);
}
.site-footer.cd-footer-v8 > .wrap {
  position: relative;
  z-index: 1;
}
.site-footer.cd-footer-v8 .cd-footer-invite {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  padding-block: clamp(54px, 6vw, 88px) clamp(42px, 5vw, 64px);
  border-bottom: 1px solid rgba(197, 214, 255, .16);
}
.cd-footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #9cbaff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
}
.cd-footer-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7faaff;
  box-shadow: 0 0 0 5px rgba(88, 130, 249, .13);
}
.site-footer.cd-footer-v8 .cd-footer-invite h2 {
  max-width: 760px;
  margin: 0;
  color: #f9fbff;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.site-footer.cd-footer-v8 .cd-footer-invite h2 em {
  display: block;
  color: #9fbbff;
  font-style: normal;
}
.cd-footer-invite-copy > p:last-child {
  max-width: 550px;
  margin: 20px 0 0;
  color: #b3c3e3;
  font-size: 15px;
  line-height: 1.65;
}
.site-footer.cd-footer-v8 .cd-footer-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 15px 20px 15px 24px;
  margin-bottom: 4px;
  flex-shrink: 0;
  border: 1px solid #e0e9ff;
  border-radius: 13px;
  color: #11264e;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(1, 9, 32, .16);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.site-footer.cd-footer-v8 .cd-footer-primary span { font-size: 19px; line-height: 1; }
.site-footer.cd-footer-v8 .cd-footer-primary:hover {
  color: #0b2d74;
  background: #eef4ff;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(1, 9, 32, .22);
}
.site-footer.cd-footer-v8 .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(25px, 3.2vw, 52px);
  padding-block: 54px 47px;
}
.site-footer.cd-footer-v8 .footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.site-footer.cd-footer-v8 .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.site-footer.cd-footer-v8 .footer-brand .home-mark { max-height: 36px; width: auto; }
.site-footer.cd-footer-v8 .footer-brand img { display: block; }
.site-footer.cd-footer-v8 .footer-positioning {
  margin: 20px 0 0;
  max-width: 285px;
  color: #f4f7ff;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.035em;
}
.site-footer.cd-footer-v8 .fine-print {
  margin: 8px 0 0;
  max-width: 310px;
  color: #b2c2e1;
  font-size: 13px;
  line-height: 1.65;
}
.site-footer.cd-footer-v8 .footer-grid h2 {
  margin: 6px 0 17px;
  color: #a9bde4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .025em;
  text-transform: none;
}
.site-footer.cd-footer-v8 .footer-grid a:not(.brand),
.site-footer.cd-footer-v8 .footer-grid button.cd-ga4-preferences {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 2px 0;
  margin: 0;
  color: #e8efff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 440;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color .18s ease;
}
.site-footer.cd-footer-v8 .footer-grid a:not(.brand):hover,
.site-footer.cd-footer-v8 .footer-grid button.cd-ga4-preferences:hover {
  color: #9fbeff;
  text-decoration: none;
}
.site-footer.cd-footer-v8 .footer-grid a.cd-footer-email {
  margin-top: 10px;
  color: #bcd1ff;
  font-weight: 600;
}
.site-footer.cd-footer-v8 .cd-footer-email span { margin-left: 8px; }
.site-footer.cd-footer-v8 .cd-footer-business {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-block: 18px 22px;
  border-top: 1px solid rgba(197, 214, 255, .13);
}
.site-footer.cd-footer-v8 .cd-footer-business p {
  margin: 0;
  color: #a5b8da;
  font-size: 11px;
  line-height: 1.55;
}
.site-footer.cd-footer-v8 .footer-bottom {
  display: flex;
  min-height: 56px;
  margin: 0 auto;
  padding-block: 17px 22px;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(197, 214, 255, .13);
  color: #a9bde1;
  font-size: 11px;
  line-height: 1.5;
}
.site-footer.cd-footer-v8 :is(a,button):focus-visible {
  outline: 2px solid #a9c4ff;
  outline-offset: 4px;
  border-radius: 4px;
}
@media (max-width: 1120px) {
  .site-header .header-row { min-height: 66px; }
  .site-footer.cd-footer-v8 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 44px;
  }
  .site-footer.cd-footer-v8 .cd-footer-invite { align-items: flex-start; }
}
@media (max-width: 680px) {
  .site-footer.cd-footer-v8 .cd-footer-invite {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    padding-block: 55px 41px;
  }
  .site-footer.cd-footer-v8 .cd-footer-invite h2 { font-size: clamp(32px, 9vw, 43px); }
  .site-footer.cd-footer-v8 .cd-footer-primary { width: 100%; justify-content: space-between; }
  .site-footer.cd-footer-v8 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 37px 22px;
    padding-block: 42px;
  }
  .site-footer.cd-footer-v8 .footer-intro { grid-column: 1 / -1; }
  .site-footer.cd-footer-v8 .cd-footer-business {
    display: block;
    padding-block: 20px;
  }
  .site-footer.cd-footer-v8 .cd-footer-business p + p { margin-top: 9px; }
  .site-footer.cd-footer-v8 .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 390px) {
  .site-footer.cd-footer-v8 .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer.cd-footer-v8 .footer-intro { grid-column: auto; }
  .site-footer.cd-footer-v8 .footer-grid h2 { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .cd-nav-chevron,
  .site-header .cd-mobile-chevron,
  .site-footer.cd-footer-v8 .cd-footer-primary,
  .site-footer.cd-footer-v8 .footer-grid a { transition: none; }
}
