/* Main menu ("Main Menu Brief", Nov 24, 2026): Products panel, Resources dropdown, Book a demo, Login, Get started.
   Markup is the same on every page (written by scripts/menu.py, which also explains it). Brand colors only;
   lavender is used only on the Fuse Assist card. */
@font-face { font-family: "Work Sans"; src: url(/assets/fonts/WorkSans-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.dm-item { position: relative; }
.dm-btn { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: transparent; font-family: inherit; font-weight: 500; color: #2d413d; cursor: pointer; }
.dm-chev { width: .75rem; height: .75rem; transition: transform .15s; }
.dm-item.is-open .dm-chev { transform: rotate(180deg); }
.dm-panel { font-family: "Work Sans", Roboto, Arial, sans-serif; color: #2d413d; text-align: left; }
.dm-panel a { text-decoration: none; color: inherit; }
.dm-panel ul { margin: 0; padding: 0; list-style: none; }
.dm-ico { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: #f3f3f1; color: #2d413d; }
.dm-ico svg { width: 1.25rem; height: 1.25rem; }
.dm-link { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem; border-radius: .8rem; transition: background-color .15s; }
.dm-link:hover, .dm-link:focus-visible { background: #f6f6f4; outline: none; }
.dm-link:focus-visible { box-shadow: 0 0 0 2px #a08e3c; }
.dm-link[aria-current="page"] { background: #f3f3f1; }
.dm-txt { display: grid; gap: .15rem; padding-top: .1rem; }
.dm-txt b { display: flex; align-items: center; gap: .45rem; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.dm-txt small { color: #6b7673; font-size: .8125rem; line-height: 1.4; }
.dm-new { display: inline-block; padding: .1rem .5rem; border-radius: 99px; background: #a08e3c; color: #fff; font-size: .625rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; text-transform: uppercase; }
.dm-mobile { display: none !important; }

/* the Fuse Assist feature card */
.dm-feature { display: flex; flex-direction: column; gap: .45rem; padding: .9rem; border-radius: 1rem; background: #ece6f3; transition: box-shadow .15s; }
.dm-feature:hover { box-shadow: inset 0 0 0 1.5px #7d6b9e; }
.dm-feature:focus-visible { outline: 2px solid #a08e3c; outline-offset: 2px; }
.dm-feature h3 { margin: .2rem 0 0; font-family: "Organetto Semi-Extended", "Work Sans", Roboto, Arial, sans-serif; font-size: 1.0625rem; font-weight: 700; line-height: 1.25; color: #2d413d; }
.dm-feature p { margin: 0; color: #4a5653; font-size: .8125rem; line-height: 1.5; }
.dm-feature .dm-new { align-self: flex-start; }
.dm-more { color: #2d413d; font-size: .875rem; font-weight: 700; }
.dm-more span { display: inline-block; transition: translate .15s; }
.dm-feature:hover .dm-more span { translate: 3px 0; }
.dm-feature .dm-mini { margin-top: .5rem; }
.dm-mini { padding: .55rem; border-radius: .7rem; background: #fff; box-shadow: 0 8px 20px rgba(74, 61, 99, .12); font-size: .75rem; }
.dm-mini p { display: flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; padding-bottom: .45rem; border-bottom: 1px solid #ebeceb; font-weight: 600; }
.dm-mini-logo { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: .35rem; background: #2d413d; color: #fff; }
.dm-mini-logo svg { width: .8rem; height: .8rem; }
.dm-mini p em { padding: 0 .35rem; border-radius: 99px; background: #a08e3c; color: #fff; font-size: .5625rem; font-style: normal; font-weight: 700; line-height: 1.6; }
.dm-mini ul { display: grid; gap: .3rem; }
.dm-mini li { display: flex; align-items: center; gap: .4rem; padding: .3rem .4rem; border: 1px solid #ebeceb; border-radius: .45rem; white-space: nowrap; min-width: 0; }
.dm-mini li em { flex: none; }
.dm-mini li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dm-mini li em { padding: 0 .35rem; border-radius: 99px; background: #eef0ee; font-size: .5625rem; font-style: normal; font-weight: 600; line-height: 1.6; }
.dm-mini-ico { display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; border-radius: .35rem; background: #fbf6df; color: #a08e3c; }
.dm-mini-ico.is-red { background: #fdecea; color: #c0504d; }
.dm-mini-ico svg { width: .75rem; height: .75rem; }

/* right side of the top bar */
.dm-demo { color: #2d413d; font-weight: 500; text-decoration: none; white-space: nowrap; }
.dm-demo:hover { text-decoration: underline; text-decoration-color: #a08e3c; text-underline-offset: 4px; }
.button.dm-login { border: 1.5px solid #2d413d; background: transparent; color: #2d413d; white-space: nowrap; }
.button.dm-login:hover { background: #f3f3f1; }
.button.dm-start { border-color: transparent; background: #a08e3c; color: #fff; white-space: nowrap; }
.button.dm-start:hover { background: #8a7a31; }

/* ---------- desktop ---------- */
@media screen and (min-width: 992px) {
  .navbar_button-wrapper { display: flex; align-items: center; gap: 1.25rem; }
  .button.dm-login { padding: .55rem 1.2rem; }
  .dm-panel { position: absolute; top: calc(100% + .75rem); z-index: 1000; padding: .6rem; border-radius: 1.1rem; background: #fff; border: 1px solid #e3e6e4;
    box-shadow: 0 24px 60px rgba(45, 65, 61, .16); opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity .15s, translate .15s, visibility .15s; }
  .dm-item.is-open .dm-panel { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .15s, translate .15s, visibility 0s; }
  /* invisible bridge, so moving the mouse from the button down to the panel doesn't close it */
  .dm-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.85rem; height: .85rem; }
  /* about 960px, so the Fuse Assist card fits its text and drawing side by side; left is set by menu.js (centred on the page) */
  .dm-wide { left: 0; width: min(960px, calc(100vw - 2rem)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: .6rem; }
  /* Fuse Assist card: the text and the suggestions drawing side by side */
  .dm-wide .dm-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 1rem; row-gap: .45rem; align-items: start; justify-items: start; }
  .dm-wide .dm-feature > .dm-new, .dm-wide .dm-feature > h3, .dm-wide .dm-feature > p, .dm-wide .dm-feature > .dm-more { grid-column: 1; }
  .dm-wide .dm-feature .dm-mini { grid-column: 2; grid-row: 1 / 5; align-self: center; margin-top: 0; }
  /* the four products as plain links in a 2 x 2 block at the top */
  .dm-wide .dm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .5rem .25rem; padding: .3rem; }
  .dm-small { left: 0; width: 21rem; }
  .dm-small ul { display: grid; gap: .15rem; }
  .dm-feature .dm-slim { display: none; }
}
@media screen and (min-width: 992px) and (max-width: 1299px) {
  .navbar_button-wrapper { gap: .8rem; }
  .button.dm-login, .button.dm-start { padding-left: 1rem; padding-right: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .dm-panel, .dm-chev { transition: none !important; translate: none !important; } }

/* ---------- mobile: full-screen panel behind the menu icon; accordions, links only ---------- */
@media screen and (max-width: 991px) {
  .dm-demo, .navbar_button-wrapper .dm-login { display: none !important; }
  .dm-mobile { display: block !important; }
  .dm-item { width: 100%; text-align: center; }
  .dm-btn { justify-content: center; width: 100%; }
  .dm-panel { display: none; max-width: 22rem; margin: 0 auto .5rem; }
  .dm-item.is-open .dm-panel { display: block; }
  .dm-panel .dm-ico, .dm-panel .dm-txt small, .dm-feature .dm-mini, .dm-feature h3, .dm-feature p, .dm-feature > .dm-new, .dm-feature > .dm-more { display: none; }
  .dm-link { justify-content: center; padding: .45rem .7rem; }
  .dm-txt b { font-size: 1.25rem; font-weight: 500; }
  .dm-feature { flex-direction: row; justify-content: center; align-items: center; gap: .6rem; margin-bottom: .35rem; padding: .7rem 1rem; border-radius: .8rem; }
  .dm-feature .dm-slim { display: flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 700; }
  /* Get started and Login stay at the bottom of the panel, always visible */
  .navbar_menu .navbar_bottom-layout { position: sticky; bottom: 0; z-index: 2; padding-top: 1rem; padding-bottom: 1rem; background: inherit; }
}
