/* Frosted disclosures extend the existing glass header. */
/* Keep the header's blur on its own layer so each dropdown can also blur
   the page behind it, rather than sampling an already isolated header. */
.navbar-section.navbar-section { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.navbar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  pointer-events: none;
}
.navbar-section .nav-dropdown { position: relative; }
.navbar-section .nav-dropdown-trigger {
  gap: 7px;
  margin-inline: -11px;
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.navbar-section .nav-dropdown-trigger:is(:hover, :focus-visible),
.navbar-section .nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--color--base--black);
  background: rgba(246, 243, 247, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 0 0 2px rgba(255, 255, 255, .85), 0 2px 8px rgba(32, 24, 36, .06);
  text-decoration: none;
}
.navbar-section .nav-dropdown-trigger:focus-visible { outline: 2px solid #958c99; outline-offset: 4px; }
.navbar-section .nav-dropdown-chevron { width: 12px; height: 12px; opacity: .6; transition: transform .2s ease; }
.navbar-section [aria-expanded="true"] > .nav-dropdown-chevron { transform: rotate(180deg); }
.navbar-section .nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -22px;
  width: 306px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .88));
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 12px 46px -15px rgba(56, 37, 23, .18), inset 0 1px 0 rgba(255, 255, 255, .75);
  transform-origin: 36px 0;
}
.navbar-section .nav-dropdown-panel[hidden] { display: none !important; }
.navbar-section .nav-dropdown-panel:not([hidden]) { animation: nav-glass-reveal .2s cubic-bezier(.2, .7, .2, 1) both; }
/* The transparent bridge keeps pointer travel from dismissing the panel. */
.navbar-section .nav-dropdown-panel::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.navbar-section .nav-dropdown-items { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.navbar-section .nav-placeholder-row,
.navbar-section .nav-dropdown-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #342b26;
  background: transparent;
  font: inherit;
  font-family: var(--font--heading);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: default;
  transition: background .16s ease, color .16s ease;
}
.navbar-section .nav-placeholder-row.is-featured { background: rgba(255, 107, 26, .13); }
.navbar-section .nav-dropdown-link { cursor: pointer; text-decoration: none; }
.navbar-section :is(.nav-placeholder-row, .nav-dropdown-link):is(:hover, :focus-visible) { color: var(--color--base--black); background: rgba(246, 243, 247, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.navbar-section .nav-dropdown-secondary { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(92, 69, 54, .13); }
.navbar-section .nav-dropdown-panel--solutions { width: 432px; }
.navbar-section .nav-dropdown-panel--product { left: -11px; width: 160px; padding: 8px; border-radius: 16px; }
.navbar-section .nav-dropdown-panel--solutions .nav-dropdown-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes nav-glass-reveal { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 1100px) {
  .navbar-section .nav-menu_wrapper { max-height: calc(100dvh - 100px); overflow-y: auto; }
  .navbar-section .nav-menu_list { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0 22px; }
  .navbar-section .nav-dropdown-trigger { justify-content: space-between; width: 100%; min-height: 46px; margin: 0; padding-inline: 12px; }
  .navbar-section .nav-dropdown-panel, .navbar-section .nav-dropdown-panel--solutions {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-block: 5px 12px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  }
  .navbar-section .nav-dropdown-panel::before { display: none; }
  .navbar-section :is(.nav-placeholder-row, .nav-dropdown-link) { min-height: 44px; padding: 10px 13px; font-size: 14px; }
  .navbar-section .nav-menu_list > .nav-list-item > a, .navbar-section .nav-auth-item > a { padding-inline: 12px; }
  .navbar-section .nav-auth-item::before { display: none; }
  .navbar-section .nav-button-wrapper.is-signup-wrapper { margin-top: 8px; }
  .navbar-section .nav-button { width: 100%; }
}
@media (max-width: 600px) {
  .navbar-section .nav-dropdown-panel--solutions .nav-dropdown-items { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .navbar-section .nav-dropdown-panel:not([hidden]) { animation: none; }
  .navbar-section .nav-dropdown-trigger, .navbar-section .nav-dropdown-chevron, .navbar-section .nav-placeholder-row, .navbar-section .nav-dropdown-link { transition: none; }
}
