/* One shell for the four public navigation panels (owner approved from documents/nav-panels-preview):
   same width, header row, column headings, rows and footer on desktop; grouped rows in the phone drawer. */
#site-nav .pnav { box-sizing: border-box; color-scheme: light; color: var(--text); font: 400 14px/1.4 "Open Sans", Arial, sans-serif; text-align: left; cursor: default; }
#site-nav .pnav *, #site-nav .pnav *::before, #site-nav .pnav *::after { box-sizing: border-box; }
#site-nav .pnav a { color: inherit; text-decoration: none; }

/* Desktop panel position and surface. Each panel keeps its own id and open/close script. */
#site-nav :is(#how-nav-panel, #mega-product, #mega-solutions, #mega-resources) {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 116px);
  overflow: auto; overscroll-behavior: contain; padding: 0;
  background: var(--surface) !important; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 60px -28px rgba(27, 10, 60, .55);
}
#site-nav #mega-resources { transition: opacity .18s ease, visibility .18s; }
#site-nav .group:hover #mega-resources, #site-nav .group:focus-within #mega-resources { transform: translateX(-50%); }
#site-nav [data-resources-menu]:is(:hover, :focus-within)::after { content: ""; position: absolute; top: 100%; left: 50%; width: min(1180px, calc(100vw - 48px)); height: 9px; transform: translateX(-50%); }
#site-nav [data-solutions-menu]:is(:hover, :focus-within, .is-open)::after { content: ""; position: absolute; top: 100%; left: 50%; width: min(1180px, calc(100vw - 48px)); height: 9px; transform: translateX(-50%); z-index: 111; }

/* Header row: title, one line and one text link. */
#site-nav .pnav-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 28px 14px; border-bottom: 1px solid var(--border); }
#site-nav .pnav-head h2 { margin: 0; font: 600 20px/1.3 "Poppins", "Open Sans", Arial, sans-serif; color: var(--text); }
#site-nav .pnav-head p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
#site-nav .pnav .pnav-link, #site-nav .pnav a.pnav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--link-ink, #009fed) !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
#site-nav .pnav-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Columns, headings and rows. */
#site-nav .pnav-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; padding: 18px 28px 22px; }
#site-nav .pnav-col { min-width: 0; }
#site-nav .pnav-col.span2 { grid-column: span 2; }
#site-nav .pnav-col h3, #site-nav .pnav-mh { margin: 0 0 6px; font: 600 13px/1.4 "Open Sans", Arial, sans-serif; color: #4338ca; letter-spacing: .06em; text-transform: uppercase; }
#site-nav .pnav-two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
#site-nav .pnav-row { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0 -8px; padding: 8px; border-radius: 12px; transition: background .16s ease; }
#site-nav .pnav-row:hover, #site-nav .pnav-row[aria-current="page"] { background: var(--ai-bg); }
#site-nav .pnav-row[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--ai-border); }
#site-nav .pnav-row:hover b { color: var(--brand-purple, #5220b4); }
#site-nav .pnav-row > span { min-width: 0; }
#site-nav .pnav-row b { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--text); }
#site-nav .pnav-row small { display: block; font-size: 13px; line-height: 1.35; color: var(--text-muted); }
#site-nav .pnav .public-nav-art { width: 40px; height: 40px; flex: 0 0 40px; }

/* Footer band: one text link and one primary action. */
#site-nav .pnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; background: var(--surface-canvas); border-top: 1px solid var(--border); }
#site-nav .pnav-cta, #site-nav .how-nav-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--btn-primary-bg, #00c434); color: var(--btn-primary-fg, #fff); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: inset 0 0 0 3px var(--btn-primary-ring, #84d828); transition: color .4s ease; }
#site-nav :is(.pnav-cta, .how-nav-link):is(:hover, :focus-visible) { color: #1b1c1a; }
#site-nav .pnav-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--brand-purple, #5220b4); color: var(--brand-purple, #5220b4); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 3px var(--btn-secondary-ring, #ddd6fe); transition: background .2s ease, color .2s ease; }
#site-nav .pnav-outline:is(:hover, :focus-visible) { background: var(--brand-purple, #5220b4); color: #fff; }
#site-nav .pnav :is(a, button):focus-visible { outline: 2px solid var(--brand-purple, #5220b4); outline-offset: 3px; }

/* Feature cards inside a panel. */
#site-nav .pnav-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-purple, #5220b4); }
#site-nav .pnav-featured { grid-column: 1 / 4; display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 10px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #f3eeff, #e9f9d6); border: 1px solid #e4dcff; }
#site-nav .pnav-featured .shot { display: block; width: 100%; height: 190px; object-fit: cover; object-position: left top; }
#site-nav .pnav-featured > div { position: relative; display: grid; align-content: center; gap: 4px; padding: 18px 22px; }
#site-nav .pnav-featured .masc { position: absolute; top: 12px; right: 16px; width: 64px; height: 64px; }
#site-nav .pnav-featured b { padding-right: 72px; font: 600 18px/1.3 "Poppins", "Open Sans", Arial, sans-serif; }
#site-nav .pnav-featured small { max-width: 34ch; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
#site-nav .pnav-featured .pnav-link { min-height: 0; margin-top: 6px; }
#site-nav .pnav-featured:hover b { color: var(--brand-purple, #5220b4); }
#site-nav .pnav-helpcard { grid-column: 3 / 5; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--ai-bg); border: 1px solid #e4dcff; }
#site-nav .pnav-helpcard b { display: block; font-size: 15px; font-weight: 600; }
#site-nav .pnav-helpcard small { font-size: 13px; color: var(--text-muted); }
#site-nav .pnav-helpcard:hover b { color: var(--brand-purple, #5220b4); }
#site-nav .pnav-renter { display: grid; gap: 10px; align-content: start; justify-items: center; padding: 18px; border-radius: 16px; background: var(--ai-bg); border: 1px solid #e4dcff; text-align: center; }
#site-nav .pnav-renter > b { font: 600 18px/1.3 "Poppins", "Open Sans", Arial, sans-serif; }
#site-nav .pnav-renter .public-nav-art { width: 96px; height: 96px; flex-basis: 96px; }

/* How It Works: copy, Mozart note and the route of eight linked stops. */
#site-nav .pnav-how { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 26px 28px 22px; }
#site-nav .pnav-how-copy h2 { margin: 8px 0 10px; font: 600 26px/1.25 "Poppins", "Open Sans", Arial, sans-serif; color: var(--text); }
#site-nav .pnav-how-copy p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
#site-nav .pnav-how-ai { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border-radius: 14px; background: var(--ai-bg); border: 1px solid #e4dcff; }
#site-nav .pnav-how-ai img { width: 56px; height: 56px; flex: 0 0 56px; }
#site-nav .pnav-how-ai p { font-size: 13px; line-height: 1.4; color: var(--text); }
#site-nav .pnav-how-ai b { color: var(--brand-purple, #5220b4); }
#site-nav .how-nav-route { position: relative; padding: 4px 10px; min-width: 0; }
#site-nav .how-nav-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#site-nav .how-nav-path path { fill: none; stroke: #d6c9ff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
#site-nav .how-nav-path path.dash { stroke: #fff; stroke-width: 2; stroke-dasharray: 2 10; }
#site-nav .how-nav-route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 10px; position: relative; z-index: 1; }
#site-nav .how-nav-route li { min-width: 0; }
#site-nav .how-nav-route li:nth-child(5) { grid-column: 4; grid-row: 2; }
#site-nav .how-nav-route li:nth-child(6) { grid-column: 3; grid-row: 2; }
#site-nav .how-nav-route li:nth-child(7) { grid-column: 2; grid-row: 2; }
#site-nav .how-nav-route li:nth-child(8) { grid-column: 1; grid-row: 2; }
#site-nav .how-nav-route li > a { display: grid; justify-items: center; text-align: center; padding: 6px 4px 8px; border-radius: 14px; transition: background .16s ease; }
#site-nav .how-nav-route li > a:hover { background: var(--ai-bg); }
#site-nav .how-nav-route li > a:hover strong { color: var(--brand-purple, #5220b4); }
#site-nav .how-nav-route .public-nav-art { width: 52px; height: 52px; flex-basis: 52px; margin: 0; }
#site-nav .how-nav-node { display: grid; place-items: center; width: 34px; height: 34px; margin: 6px 0 8px; border-radius: 50%; border: 2px solid #d6c9ff; background: var(--surface); color: var(--brand-purple, #5220b4); font-size: 12px; font-weight: 700; }
#site-nav .how-nav-route li:first-child .how-nav-node { background: var(--brand-purple, #5220b4); border-color: var(--brand-purple, #5220b4); color: #fff; }
#site-nav .how-nav-route li:last-child .how-nav-node { background: #b5fc4f; border-color: #b5fc4f; color: #1b1c1a; }
#site-nav .how-nav-route strong { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--text); }
#site-nav .how-nav-route small { font-size: 12px; line-height: 1.35; color: var(--text-muted); }
#site-nav .is-how-open .how-nav-node { animation: how-nav-arrive .4s ease both; }
#site-nav .is-how-open li:nth-child(2) .how-nav-node { animation-delay: .1s; }
#site-nav .is-how-open li:nth-child(3) .how-nav-node { animation-delay: .2s; }
#site-nav .is-how-open li:nth-child(4) .how-nav-node { animation-delay: .3s; }
#site-nav .is-how-open li:nth-child(5) .how-nav-node { animation-delay: .4s; }
#site-nav .is-how-open li:nth-child(6) .how-nav-node { animation-delay: .5s; }
#site-nav .is-how-open li:nth-child(7) .how-nav-node { animation-delay: .6s; }
#site-nav .is-how-open li:nth-child(8) .how-nav-node { animation-delay: .7s; }
@keyframes how-nav-arrive { from { opacity: .35; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }

/* Phone drawer: grouped rows under each section, ending in the section's one action. */
#site-nav .pnav-m { padding: 6px 4px 14px; }
#site-nav .pnav-m .pnav-mh { margin: 14px 6px 4px; font-size: 12px; }
#site-nav .pnav-m .pnav-row { min-height: 52px; margin: 0; padding: 6px; }
#site-nav .pnav-m .public-nav-art { width: 36px; height: 36px; flex-basis: 36px; }
#site-nav .pnav-m :is(.pnav-cta, .how-nav-link) { width: 100%; margin-top: 14px; }

@media (min-width: 1024px) and (max-width: 1199.98px) {
  #site-nav .pnav-cols { gap: 8px 14px; padding: 16px 20px 20px; }
  #site-nav .pnav-row { gap: 10px; }
  #site-nav .pnav-row small { font-size: 12px; }
  #site-nav .pnav-how { grid-template-columns: 260px 1fr; gap: 20px; padding: 22px 20px 18px; }
  #site-nav .pnav-how-copy h2 { font-size: 23px; }
  #site-nav .pnav-featured .shot { height: 170px; }
}
@media (max-width: 1023.98px) {
  #site-nav :is(#how-nav-panel, #mega-product, #mega-solutions, #mega-resources) { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  #site-nav .pnav-row, #site-nav .how-nav-route li > a, #site-nav .pnav-cta, #site-nav .pnav-outline, #site-nav #mega-resources { transition: none; }
  #site-nav .is-how-open .how-nav-node { animation: none; }
}
