/* ==========================================================================
   The provider page's nav (see tools/mnav.mjs for the markup; the pattern is in docs/design-notes.md)
   Desktop: a click opens one full-width sheet under the bar, in the bar's navy; it stays open until a
   click outside or Escape. Words only, in columns split by faint lines. Phones: a full-screen navy sheet
   with drill-in panels and the calls to action pinned at the bottom.
   ========================================================================== */
.mnav {
  --mnav-bg: #050c18;
  --mnav-ink: #ededf3;
  --mnav-ink-2: #c3c3cc;
  --mnav-ink-3: rgba(195, 195, 204, 0.72);
  --mnav-line: rgba(175, 178, 206, 0.24);
  --mnav-gutter: max(24px, calc((100vw - 1240px) / 2));
  --mnav-ease: cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--cvh-sans, "Inter", system-ui, sans-serif);
  z-index: 70;
  border-bottom: 1px solid transparent !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: background 0.3s ease, border-color 0.3s ease;
}
body.is-nav-solid .mnav,
.mnav.is-open {
  background: var(--mnav-bg) !important;
  border-bottom-color: var(--mnav-line) !important;
}
.mnav :is(a, button):focus-visible { outline: 2px solid #7fd3f7; outline-offset: 3px; border-radius: 6px; }

/* --- the bar ---------------------------------------------------------- */
.mnav-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
  padding: 0 var(--mnav-gutter);
}
.mnav-brand { display: inline-flex; align-items: center; flex: none; }
.mnav-brand img { display: block; height: 26px; width: auto; }
.mnav-menus { flex: 1; }
.mnav-menus ul { display: flex; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mnav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: var(--mnav-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.mnav-trigger:hover { opacity: 0.74; }
.mnav-chev { width: 11px; height: 11px; opacity: 0.8; transition: transform 0.25s var(--mnav-ease); }
.mnav-trigger[aria-expanded="true"] .mnav-chev { transform: rotate(180deg); }
.mnav-menus:has([aria-expanded="true"]) .mnav-trigger[aria-expanded="false"] { opacity: 0.6; }
.mnav-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.mnav-login { color: var(--mnav-ink); font-size: 15px; font-weight: 400; text-decoration: none; }
.mnav-login:hover { opacity: 0.74; }
.mnav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #050c18;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}
.mnav-cta:hover { background: #dfeaf5; }
.mnav-burger { display: none; }

/* --- the desktop sheet ------------------------------------------------- */
.mnav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  background: var(--mnav-bg);
  transition: height 0.34s var(--mnav-ease), box-shadow 0.34s ease;
}
.mnav.is-open .mnav-panel { border-top: 1px solid var(--mnav-line); margin-top: -1px; box-shadow: 0 30px 60px -20px rgba(3, 14, 27, 0.55); }
.mnav-view { padding: 40px var(--mnav-gutter) 0; animation: mnav-in 0.28s var(--mnav-ease) both; }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mnav-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding-bottom: 40px; }
.mnav-grid .mnav-col { padding: 0 32px; border-left: 1px solid var(--mnav-line); }
.mnav-grid .mnav-col:first-child { padding-left: 0; border-left: 0; }
.mnav-grid .mnav-col:last-child { padding-right: 0; }
.mnav-col-title { margin: 0 0 6px; color: var(--mnav-ink); font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.mnav-col-desc { margin: 0 0 24px; color: var(--mnav-ink-2); font-size: 14px; line-height: 1.5; max-width: 30ch; }
.mnav-label { margin: 0 0 8px; color: var(--mnav-ink-3); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.mnav-links { margin: 0; padding: 0; list-style: none; }
.mnav-links a {
  display: inline-block;
  padding: 7px 0;
  color: var(--mnav-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mnav-links a:hover { color: #7fd3f7; }
.mnav-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  border-top: 1px solid var(--mnav-line);
  color: var(--mnav-ink);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}
.mnav-foot span { transition: transform 0.2s var(--mnav-ease); }
.mnav-foot:hover span { transform: translateX(4px); }
.mnav-sheet { display: none; }

/* --- phones and tablets: the full-screen sheet ------------------------- */
@media (max-width: 1023.98px) {
  .mnav-bar { height: 60px; padding: 0 20px; }
  .mnav-menus, .mnav-actions, .mnav-panel { display: none; }
  .mnav-brand { margin-right: auto; }
  .mnav-burger {
    display: inline-grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .mnav-burger span { display: block; width: 20px; height: 1.5px; border-radius: 2px; background: var(--mnav-ink, #ededf3); }
  .mnav-sheet {
    --mnav-bg: #050c18;
    --mnav-ink: #ededf3;
    --mnav-ink-2: #c3c3cc;
    --mnav-ink-3: rgba(195, 195, 204, 0.72);
    --mnav-line: rgba(175, 178, 206, 0.24);
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    background: var(--mnav-bg);
    color: var(--mnav-ink);
    font-family: var(--cvh-sans, "Inter", system-ui, sans-serif);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.24s ease, transform 0.24s var(--mnav-ease, ease), visibility 0s linear 0.24s;
  }
  .mnav-sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mnav-sheet-head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; flex: none; }
  .mnav-sheet-head .mnav-brand img { height: 24px; }
  .mnav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--mnav-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
  }
  .mnav-back span { font-size: 22px; line-height: 1; margin-top: -2px; }
  .mnav-close {
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    color: var(--mnav-ink);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }
  .mnav-sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 24px; }
  .mnav-sheet-list { margin: 0; padding: 0; list-style: none; }
  .mnav-sheet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--mnav-line);
    background: none;
    color: var(--mnav-ink);
    font: inherit;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .mnav-sheet-item span { color: var(--mnav-ink-3); font-size: 24px; font-weight: 300; }
  .mnav-sub { animation: mnav-slide 0.28s var(--mnav-ease, ease) both; }
  @keyframes mnav-slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
  .mnav-sheet-list:not([hidden]) { animation: mnav-back 0.28s var(--mnav-ease, ease) both; }
  @keyframes mnav-back { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
  .mnav-sub-cols .mnav-col { padding: 22px 0 18px; border-bottom: 1px solid var(--mnav-line); }
  .mnav-sub-cols .mnav-col:first-child { padding-top: 10px; }
  .mnav-sub .mnav-col-desc { margin-bottom: 16px; }
  .mnav-sub .mnav-links a { padding: 9px 0; font-size: 16px; }
  .mnav-sub .mnav-foot { border-top: 0; font-size: 16px; }
  .mnav-sheet-cta { display: grid; gap: 10px; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mnav-line); flex: none; }
  .mnav-sheet-cta .mnav-cta { padding: 14px 18px; font-size: 16px; }
  .mnav-login-btn {
    display: flex;
    justify-content: center;
    padding: 13px 18px;
    border: 1px solid rgba(237, 237, 243, 0.4);
    border-radius: 999px;
    color: var(--mnav-ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
  }
}
body.mnav-locked { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mnav-panel, .mnav-sheet, .mnav-chev { transition: none; }
  .mnav-view, .mnav-sub, .mnav-sheet-list:not([hidden]) { animation: none; }
}

/* --- the footer: the navy of the page's closing chapter, with the all-white logo -- */
.site-footer {
  background: #050c18 !important;
  border-top: 1px solid rgba(175, 178, 206, 0.18) !important;
  color: #c3c3cc !important;
}
.site-footer .footer-brand img { height: 30px; width: auto; }
.site-footer p { color: #c3c3cc; }
.site-footer .footer-grid h4 { color: rgba(195, 195, 204, 0.72); }
.site-footer .footer-links a { color: #ededf3; }
.site-footer .footer-links a:hover { color: #7fd3f7; }
.site-footer .footer-bottom { color: rgba(195, 195, 204, 0.72); padding-top: 20px; border-top: 1px solid rgba(175, 178, 206, 0.18); }
/* two-column menus keep the width of a column on the wider menus rather than spreading across the bar */
@media (min-width: 1024px) {
  .mnav-grid.mnav-cols-2 { max-width: 66%; }
}
.site-footer .footer-brand { display: inline-flex; margin-bottom: 14px; }
.mnav [hidden], .mnav-sheet [hidden] { display: none !important; }
