:root { --nmn-purple: #5e1eaa; --nmn-plum: #3f145b; --nmn-cyan: #0aabf3; --nmn-ink: #1a1a2e; --nmn-muted: #6b6580; --nmn-line: #e8e4ee; --nmn-surface: #fff; --nmn-soft: #f8f7fa; }
@property --nmn-core-gradient-start { syntax: '<color>'; inherits: true; initial-value: #eee5ff; }
@property --nmn-core-gradient-end { syntax: '<color>'; inherits: true; initial-value: #eee5ff; }
@property --nmn-core-label-color { syntax: '<color>'; inherits: true; initial-value: #6c2cc4; }
.nmn-header *, .nmn-header *::before, .nmn-header *::after { box-sizing: border-box; }
.nmn-panel[hidden] { display: none !important; }
/* Applied only when the plugin has rendered a usable replacement header. */
body.nmn-ready .site-header,
body:has(.nmn-header) .site-header,
body.nmn-ready #mega-menu-wrap-v_nav_header_primary,
body.nmn-ready #mega-menu-v_nav_header_primary,
body.nmn-ready .mega-menu-v_nav_header_primary { display: none !important; }
.nmn-header { isolation: isolate; position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--nmn-surface) 94%, transparent); border: 0; box-shadow: 0 5px 18px rgba(33, 13, 58, .09); backdrop-filter: blur(14px); font-family: inherit; color: var(--nmn-ink); }
.nmn-primary-item.has-panel::before { content: none !important; display: none !important; }
.nmn-shell { max-width: 1440px; height: 72px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 52px); display: flex; align-items: center; gap: 28px; }
.nmn-brand { align-items: center; display: flex; flex: 0 0 138px; height: 36px; text-decoration: none; }
.nmn-brand img { display: block; height: auto; max-height: 36px; max-width: 138px; width: 100%; }
.nmn-nav { flex: 1; height: 100%; }.nmn-primary-list { height: 100%; display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }.nmn-primary-item { height: 100%; display: flex; align-items: center; position: static !important; }
.nmn-trigger,.nmn-top-link { appearance: none; background: none; border: 0; color: var(--nmn-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 7px; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }.nmn-trigger:hover,.nmn-trigger[aria-expanded="true"],.nmn-top-link:hover { background: var(--nmn-soft); color: var(--nmn-purple); }.nmn-trigger:focus-visible,.nmn-top-link:focus-visible,.nmn-actions a:focus-visible { outline: 3px solid var(--nmn-cyan); outline-offset: 3px; }.nmn-trigger svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease; }.nmn-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nmn-panel { position: absolute; z-index: 10; top: 100%; left: 0; width: 100%; border: 0; margin-top: 0; background: var(--nmn-surface); box-shadow: 0 20px 42px rgba(33, 13, 58, .14); opacity: 0; visibility: hidden; transform: translateY(-7px) scale(.992); transform-origin: top center; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }.nmn-primary-item.is-open .nmn-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition-delay: 0s; }.nmn-primary-item.is-from-search .nmn-panel { opacity: 1; transition: height .25s ease-out .02s, visibility 0s; visibility: visible; }
.nmn-panel-inner { max-width: 1440px; margin: auto; padding: 28px clamp(20px, 4vw, 52px) 32px; }.nmn-menu-grid { display: grid; grid-template-columns: 1fr; }.nmn-menu-grid.has-featured { grid-template-columns: minmax(220px, .62fr) 1.38fr; gap: 34px; }.nmn-feature-card { background: linear-gradient(140deg, var(--nmn-plum), var(--nmn-purple)); border-radius: 12px; color: #fff; display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding: 24px; text-decoration: none; }.nmn-feature-card:hover { filter: brightness(1.08); }.nmn-feature-card .nmn-eyebrow { color: var(--nmn-cyan); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.nmn-feature-card strong { font-size: 20px; margin: 8px 0 6px; }.nmn-feature-card > span:not(.nmn-eyebrow) { color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.5; }.nmn-feature-card em { color: var(--nmn-cyan); font-size: 13px; font-style: normal; font-weight: 700; margin-top: 16px; }.nmn-menu-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 30px; }.nmn-menu-section { min-width: 0; }.nmn-menu-section h2 { color: var(--nmn-muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; margin: 4px 0 8px; text-transform: uppercase; }.nmn-menu-links { display: grid; gap: 2px; }.nmn-menu-links a { border-radius: 8px; color: var(--nmn-ink); display: block; padding: 9px 10px; text-decoration: none; }.nmn-menu-links a:hover { background: var(--nmn-soft); }.nmn-menu-links strong { display: block; font-size: 13px; }.nmn-menu-links span { color: var(--nmn-muted); display: block; font-size: 12px; line-height: 1.4; margin-top: 2px; }
.nmn-actions { align-items: center; display: flex; gap: 10px; }.nmn-actions a,.nmn-mobile-actions a { border-radius: 7px; color: var(--nmn-ink); font-size: 14px; font-weight: 700; padding: 10px 14px; text-decoration: none; white-space: nowrap; }.nmn-login { border: 1px solid var(--nmn-line); }.nmn-contact { background: var(--nmn-purple); color: #fff !important; }.nmn-contact:hover { background: var(--nmn-plum); }
.nmn-mobile-toggle,.nmn-mobile-panel { display: none; }
@media (max-width: 980px) { .nmn-shell { height: 64px; gap: 16px; }.nmn-nav,.nmn-actions { display: none; }.nmn-mobile-toggle { display: grid; gap: 5px; margin-left: auto; padding: 9px; background: transparent; border: 0; cursor: pointer; }.nmn-mobile-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--nmn-ink); }.nmn-mobile-panel { display: block; background: var(--nmn-surface); border-top: 1px solid var(--nmn-line); max-height: calc(100vh - 64px); overflow: auto; padding: 12px clamp(20px, 4vw, 32px) 24px; }.nmn-mobile-group { border-bottom: 1px solid var(--nmn-line); }.nmn-mobile-group summary { cursor: pointer; font-size: 16px; font-weight: 750; list-style: none; padding: 16px 0; }.nmn-mobile-group summary::after { content: '+'; float: right; color: var(--nmn-purple); }.nmn-mobile-group[open] summary::after { content: '−'; }.nmn-mobile-group > div { display: grid; gap: 4px; padding: 0 0 16px 14px; }.nmn-mobile-group a,.nmn-mobile-link { color: var(--nmn-ink); font-size: 14px; padding: 7px 0; text-decoration: none; }.nmn-mobile-heading { color: var(--nmn-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-top: 12px; text-transform: uppercase; }.nmn-mobile-actions { display: grid; gap: 10px; padding-top: 20px; }.nmn-mobile-actions a { text-align: center; }.nmn-mobile-actions > a:first-child { border: 1px solid var(--nmn-line); } }
@media (max-width: 700px) { .nmn-menu-grid.has-featured,.nmn-menu-columns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nmn-header *, .nmn-header *::before, .nmn-header *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }.nmn-menu-grid--platform .nmn-menu-section:nth-child(4) h2 span,.nmn-menu-grid--platform .nmn-menu-section:nth-child(4) h2 span::before { animation: none !important; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Proposal-aligned desktop Platform panel. */
@media (min-width: 981px) {
  .nmn-shell { height: 88px; max-width: 1920px; padding-inline: clamp(28px, 3.4vw, 64px); }
  .nmn-trigger { height: 100%; padding-inline: 18px; position: relative; }
  .nmn-trigger[aria-expanded="true"]::after { background: #8536e7; border-radius: 3px 3px 0 0; bottom: 0; content: ""; height: 4px; left: 18px; position: absolute; right: 18px; }
  .nmn-panel-inner { max-width: 1920px; padding: 36px clamp(28px, 3.4vw, 64px) 30px; }
  .nmn-menu-grid--platform { gap: 40px; grid-template-columns: 410px minmax(0, 1fr); }
  .nmn-menu-grid--platform .nmn-rail { border-right: 1px solid #e6e2eb; display: flex; flex-direction: column; gap: 26px; padding-right: 40px; }
  .nmn-menu-grid--platform .nmn-feature-card { border-radius: 16px; min-height: 210px; padding: 28px; }
  .nmn-menu-grid--platform .nmn-feature-card .nmn-eyebrow { display: none; }
  .nmn-menu-grid--platform .nmn-feature-card strong { font-size: 24px; margin: 0 0 8px; }
  .nmn-menu-grid--platform .nmn-feature-card > span:not(.nmn-eyebrow) { font-size: 16px; line-height: 1.45; max-width: 270px; }
  .nmn-menu-grid--platform .nmn-feature-card em { font-size: 15px; margin-top: 22px; }
  .nmn-rail-link { color: var(--nmn-ink); padding: 2px 20px; text-decoration: none; }
  .nmn-rail-link strong { display: block; font-size: 19px; margin-bottom: 5px; }
  .nmn-rail-link span { color: #7b748b; display: block; font-size: 15px; line-height: 1.4; max-width: 290px; }
  .nmn-menu-grid--platform .nmn-menu-columns { display: block; }
  .nmn-menu-grid--platform .nmn-menu-section { border-top: 1px solid #e5e1e8; padding: 13px 0 10px; }
  .nmn-menu-grid--platform .nmn-menu-section h2 { align-items: center; color: #9d96aa; display: flex; font-size: 15px; gap: 16px; letter-spacing: 0; line-height: 1.3; margin: 0 0 8px; text-transform: none; }
  .nmn-menu-grid--platform .nmn-menu-section h2 span { background: #eee5ff; border-radius: 7px; color: #6c2cc4; font-size: 14px; font-weight: 800; padding: 5px 14px; }
  .nmn-menu-grid--platform .nmn-menu-section h2 span { align-items: center; display: inline-flex; }
  .nmn-platform-badge-icon { background: currentColor; display: inline-block; flex: 0 0 15px; height: 15px; margin-right: 7px; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; width: 15px; }
  .nmn-platform-badge-icon--analytics { -webkit-mask-image: url("analytics-01.svg?ver=1.1.57"); mask-image: url("analytics-01.svg?ver=1.1.57"); }
  .nmn-platform-badge-icon--ai { -webkit-mask-image: url("ai-chat-02.svg?ver=1.1.57"); mask-image: url("ai-chat-02.svg?ver=1.1.57"); }
  .nmn-platform-badge-icon--security { -webkit-mask-image: url("security-check.svg?ver=1.1.57"); mask-image: url("security-check.svg?ver=1.1.57"); }
  .nmn-platform-badge-icon--core { -webkit-mask-image: url("nano-technology.svg?ver=1.1.57"); mask-image: url("nano-technology.svg?ver=1.1.57"); }
  .nmn-menu-grid--platform .nmn-menu-section h2 em { color: #a59daf; font-size: 14px; font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(2) h2 span { background: #ffe0ff; color: #c643c7; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(3) h2 span { background: #def4ff; color: #009bd8; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) h2 span { animation: nmn-core-pill-cycle 24000ms ease-in-out infinite; background: linear-gradient(115deg, var(--nmn-core-gradient-start), var(--nmn-core-gradient-end)); color: var(--nmn-core-label-color); padding-right: 28px; position: relative; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) h2 span::before { animation: nmn-core-beacon-pulse 4200ms ease-out infinite; background: var(--nmn-core-label-color); border-radius: 50%; content: ""; height: 6px; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 6px; }
  @keyframes nmn-core-pill-cycle { 0%, 25% { --nmn-core-gradient-start: #eee5ff; --nmn-core-gradient-end: #eee5ff; --nmn-core-label-color: #6c2cc4; } 29.167% { --nmn-core-gradient-start: #eee5ff; --nmn-core-gradient-end: #ffe0ff; --nmn-core-label-color: #9a36c6; } 33.333%, 58.333% { --nmn-core-gradient-start: #ffe0ff; --nmn-core-gradient-end: #ffe0ff; --nmn-core-label-color: #c643c7; } 62.5% { --nmn-core-gradient-start: #ffe0ff; --nmn-core-gradient-end: #def4ff; --nmn-core-label-color: #6370d0; } 66.667%, 91.667% { --nmn-core-gradient-start: #def4ff; --nmn-core-gradient-end: #def4ff; --nmn-core-label-color: #009bd8; } 95.833% { --nmn-core-gradient-start: #def4ff; --nmn-core-gradient-end: #eee5ff; --nmn-core-label-color: #3664ce; } 100% { --nmn-core-gradient-start: #eee5ff; --nmn-core-gradient-end: #eee5ff; --nmn-core-label-color: #6c2cc4; } }
  @keyframes nmn-core-beacon-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--nmn-core-label-color) 50%, transparent); } 30% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--nmn-core-label-color) 0%, transparent); } 30.1%, 100% { box-shadow: 0 0 0 0 transparent; } }
  .nmn-menu-grid--platform .nmn-menu-links { column-gap: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 4px; }
  .nmn-menu-grid--platform .nmn-menu-links a { padding: 10px 20px; }
  .nmn-menu-grid--platform .nmn-menu-links strong { font-size: 17px; }
  .nmn-menu-grid--platform .nmn-menu-links span { color: #797287; font-size: 14px; line-height: 1.45; margin-top: 4px; }
  .nmn-menu-grid--platform .nmn-menu-section--core { background: linear-gradient(105deg, #421166, #8134e0); border: 0; border-radius: 14px; margin-top: 20px; padding: 20px 28px 18px; }
  .nmn-menu-grid--platform .nmn-menu-section--core h2 { border: 0; color: #2fd2ff; font-size: 12px; font-weight: 800; letter-spacing: .08em; margin: 0 0 5px; text-transform: uppercase; }
  .nmn-menu-grid--platform .nmn-menu-section--core h2 span { background: none; color: inherit; font-size: inherit; padding: 0; }
  .nmn-menu-grid--platform .nmn-menu-section--core .nmn-menu-links { display: block; }
  .nmn-menu-grid--platform .nmn-menu-section--core .nmn-menu-links a { padding: 0; }
  .nmn-menu-grid--platform .nmn-menu-section--core .nmn-menu-links strong { color: #fff; font-size: 20px; }
  .nmn-menu-grid--platform .nmn-menu-section--core .nmn-menu-links span { color: rgba(255,255,255,.84); font-size: 15px; max-width: 1000px; }
}

/* Platform pairs resilience products, then gives Core its own full-width row. */
@media (min-width: 981px) {
  .nmn-menu-grid--platform .nmn-menu-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 4px;
  }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(3),
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) { grid-column: 1 / -1; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(3) h2 span { white-space: nowrap; }
  .nmn-menu-grid--platform .nmn-menu-links { grid-template-columns: 1fr; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(3) .nmn-menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(3) .nmn-menu-links a:nth-child(2) { margin-left: 16px; }
}

@media (max-width: 980px) {
  .nmn-menu-grid--platform .nmn-rail { display: contents; }
  .nmn-menu-grid--platform .nmn-menu-columns { display: grid; }
}

/* Proposal-wide desktop rhythm: every panel shares the same inset, type scale,
   hover treatment, and active-tab geometry. Individual menus only vary where
   the approved composition calls for a rail or divider. */
@media (min-width: 981px) {
  .nmn-header { --nmn-panel-inset: clamp(48px, 4.15vw, 82px); }
  .nmn-shell { display: grid !important; grid-template-columns: 138px minmax(0, 1fr) auto; height: 80px; max-width: 2048px; padding-inline: var(--nmn-panel-inset); column-gap: 36px; }
  .nmn-brand { align-self: center; flex: 0 0 148px; height: 42px; transform: translateY(-10px); }
  .nmn-brand img { max-height: 42px; max-width: 148px; }
  .nmn-nav { align-self: stretch; display: flex; margin-right: 0; min-width: 0; }
  .nmn-actions { align-self: center; justify-self: end; margin-left: 0 !important; position: static; transform: translateY(-10px); }
  .nmn-primary-list { align-items: center; gap: 8px; width: 100%; }
  .nmn-primary-item { align-items: center; height: 80px !important; }
  .nmn-trigger, .nmn-top-link { align-items: center; height: auto; line-height: 1.2; border-radius: 10px; font-size: clamp(16px, 1.05vw, 18px); font-weight: 650; gap: 8px; padding: 11px 18px; }
  .nmn-top-link { position: relative; top: -11px !important; transform: none !important; }
  .nmn-about-trigger { position: relative !important; top: -7px !important; transform: none !important; }
  .nmn-panel { background: var(--nmn-surface); border: 0; border-radius: 0 0 16px 16px; box-shadow: 0 20px 42px rgba(33, 13, 58, .14); left: var(--nmn-panel-inset); margin-top: 0; overflow: hidden; right: var(--nmn-panel-inset); top: calc(100% + 8px); transform: none; transition: opacity .28s cubic-bezier(0, 0, .2, 1), height .25s ease-out .02s, visibility 0s linear .28s; width: auto; }
  .nmn-panel.nmn-panel-finalized { height: 0 !important; opacity: 0 !important; transition: none !important; visibility: hidden !important; }
  .nmn-panel-inner { padding: 30px !important; }
  .nmn-primary-item.is-open .nmn-panel { z-index: 11; }
  .nmn-primary-item.is-closing .nmn-panel { opacity: 1; pointer-events: none; transition: opacity .28s cubic-bezier(0, 0, .2, 1), height .25s ease-in, visibility 0s linear .28s; visibility: visible; z-index: 11; }
  .nmn-primary-item.is-switching .nmn-panel { transition: height .25s ease-out .02s, visibility 0s; }
  .nmn-panel-inner.nmn-pane-open { animation: nmn-pane-open .2s ease both; }
  .nmn-panel-inner.nmn-pane-close { animation: nmn-pane-close .12s ease both; }
  .nmn-panel--platform .nmn-panel-inner.nmn-pane-close,
  .nmn-panel--resources .nmn-panel-inner.nmn-pane-close,
  .nmn-panel--about .nmn-panel-inner.nmn-pane-close { animation: nmn-pane-collapse .18s cubic-bezier(.22, .8, .25, 1) both; transform-origin: top; }
  .nmn-panel-inner.nmn-pane-in-right { animation: nmn-pane-in-right .34s cubic-bezier(.22, .8, .25, 1) .05s both; }
  .nmn-panel-inner.nmn-pane-in-left { animation: nmn-pane-in-left .34s cubic-bezier(.22, .8, .25, 1) .05s both; }
  .nmn-panel-inner.nmn-pane-out-right { animation: nmn-pane-out-right .15s ease-in both; }
  .nmn-panel-inner.nmn-pane-out-left { animation: nmn-pane-out-left .15s ease-in both; }
  @keyframes nmn-pane-in-right { from { opacity: 0; transform: translateX(42px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
  @keyframes nmn-pane-in-left { from { opacity: 0; transform: translateX(-42px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
  .nmn-primary-item.is-leaving .nmn-panel { background: transparent; box-shadow: none; opacity: 1; pointer-events: none; visibility: visible; z-index: 12; }
  @keyframes nmn-pane-out-right { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-18px); } }
  @keyframes nmn-pane-out-left { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(18px); } }
  @keyframes nmn-pane-open { from { opacity: 0; transform: none; } to { opacity: 1; transform: none; } }
  @keyframes nmn-pane-close { from { opacity: 1; transform: none; } to { opacity: 0; transform: none; } }
  @keyframes nmn-pane-collapse { from { opacity: 1; transform: translateY(0) scaleY(1); } to { opacity: 0; transform: translateY(-8px) scaleY(.94); } }
  body::before { backdrop-filter: blur(5px) saturate(.92); background: rgba(25, 17, 41, .10); content: ""; inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .3s cubic-bezier(.22, .8, .25, 1); z-index: 999; }
  body.nmn-menu-open::before { opacity: 1; }
  .nmn-shell { position: relative; z-index: 2; }
  .nmn-actions .nmn-login,
  .nmn-actions .nmn-contact { border-radius: 30px; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease; }
  .nmn-actions .nmn-login { background: #fff; border: 2px solid #8039df; box-shadow: 0 8px 22px rgba(128, 57, 223, .15); color: #8039df !important; }
  .nmn-actions .nmn-login:hover { background: #fff; border-color: #5e1eaa; box-shadow: 0 8px 22px rgba(128, 57, 223, .25); color: #5e1eaa !important; }
  .nmn-actions .nmn-contact { background: #8039df; box-shadow: 0 8px 22px rgba(128, 57, 223, .15); }
  .nmn-actions .nmn-contact:hover { background: #5e1eaa; box-shadow: 0 8px 22px rgba(128, 57, 223, .25); }
  .nmn-trigger svg { width: 11px; }
  .nmn-trigger[aria-expanded="true"]::after { display: none; }
  .nmn-menu-indicator { background: #8536e7; border-radius: 5px 5px 0 0; bottom: -8px; height: 5px; left: 0; opacity: 0; pointer-events: none; position: absolute; transform: scaleY(0); transform-origin: bottom; transition: left .3s ease-in-out .05s, width .3s ease-in-out .05s, transform .3s ease-in-out .05s, opacity .3s ease-in-out .05s; z-index: 3; }
  .nmn-menu-indicator.is-visible { opacity: 1; transform: scaleY(1); }
  .nmn-actions { gap: 18px; }
  .nmn-actions a { border-radius: 10px; font-size: clamp(16px, 1vw, 18px); padding: 11px 22px; }

  .nmn-panel-inner { max-width: 2048px; min-height: 0; padding: 30px !important; }
  .nmn-menu-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(140px, 10vw, 220px); }
  .nmn-menu-columns { display: contents; }
  .nmn-menu-section { min-width: 0; }
  .nmn-menu-section h2 { color: #a39bad; font-size: clamp(14px, .9vw, 16px); font-weight: 700; letter-spacing: 0; line-height: 1.25; margin: 0 0 4px; text-transform: none; }
  .nmn-menu-section h2 { padding-inline: 10px; }
  .nmn-menu-links { gap: 0; }
  .nmn-menu-links a { border-radius: 10px; padding: 10px; }
  .nmn-menu-links strong { font-size: clamp(16px, 1vw, 18px); font-weight: 650; line-height: 1.25; }
  .nmn-menu-links span { color: #777087; font-size: clamp(14px, .9vw, 16px); line-height: 1.42; margin-top: 3px; }
  .nmn-menu-links a:hover { background: #f8f6fb; }

  /* Solutions and About use the same equal columns, 20px column inset, and
     shared inset divider as the editorial panels. */
  .nmn-panel--solutions .nmn-panel-inner,
  .nmn-panel--about .nmn-panel-inner { padding: 0 !important; }
  .nmn-menu-grid--solutions,
  .nmn-menu-grid--about { column-gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmn-menu-grid--solutions .nmn-menu-section,
  .nmn-menu-grid--about .nmn-menu-section { max-width: none; padding: 20px; }
  .nmn-menu-grid--solutions .nmn-menu-section h2,
  .nmn-menu-grid--about .nmn-menu-section h2 { padding-top: 10px; }
  .nmn-menu-grid--solutions .nmn-menu-section + .nmn-menu-section,
  .nmn-menu-grid--about .nmn-menu-section + .nmn-menu-section { padding-left: 20px; }
  .nmn-menu-grid--solutions .nmn-menu-links { gap: 0; }
  .nmn-menu-grid--solutions .nmn-menu-links a > strong { align-items: center; display: flex; gap: 0; }
  .nmn-menu-grid--solutions .nmn-menu-links a > span { margin-left: 28px; }
  .nmn-solution-icon { display: inline-block; flex: 0 0 20px; height: 20px; object-fit: contain; width: 20px; }

  /* The two editorial panels use the same 3-column architecture: feature,
     primary links, and an evaluation/customer column. */
  .nmn-menu-grid--why-nasuni,
  .nmn-menu-grid--resources { column-gap: 40px; grid-template-columns: 430px minmax(0, 1fr); }
  .nmn-menu-grid--why-nasuni .nmn-rail,
  .nmn-menu-grid--resources .nmn-rail { border-right: 1px solid #e7e2eb; display: flex; flex-direction: column; gap: 22px; padding-right: 40px; }
  .nmn-menu-grid--why-nasuni .nmn-feature-card,
  .nmn-menu-grid--resources .nmn-feature-card { border-radius: 14px; min-height: 270px; padding: 28px; }
  .nmn-menu-grid--why-nasuni .nmn-feature-card strong,
  .nmn-menu-grid--resources .nmn-feature-card strong { font-size: 21px; line-height: 1.2; }
  .nmn-menu-grid--why-nasuni .nmn-feature-card > span:not(.nmn-eyebrow),
  .nmn-menu-grid--resources .nmn-feature-card > span:not(.nmn-eyebrow) { font-size: 16px; line-height: 1.45; }
  .nmn-menu-grid--why-nasuni .nmn-menu-columns,
  .nmn-menu-grid--resources .nmn-menu-columns { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nmn-menu-grid--why-nasuni .nmn-menu-section,
  .nmn-menu-grid--resources .nmn-menu-section { padding: 2px 40px 0 22px; }
  .nmn-menu-grid--why-nasuni .nmn-menu-section + .nmn-menu-section,
  .nmn-menu-grid--resources .nmn-menu-section + .nmn-menu-section { border-left: 1px solid #e7e2eb; padding-left: 62px; }
  .nmn-menu-grid--why-nasuni .nmn-menu-section h2,
  .nmn-menu-grid--resources .nmn-menu-section h2 { margin-bottom: 16px; }
  .nmn-menu-grid--why-nasuni .nmn-menu-links,
  .nmn-menu-grid--resources .nmn-menu-links { gap: 14px; }

  /* Resources has two related groups in its middle column. Keep Learn and
     Connect stacked, while the customer links form the full-height right
     column—matching the approved proposal rather than a four-cell grid. */
  .nmn-menu-grid--resources .nmn-menu-columns { grid-template-rows: auto auto; }
  .nmn-menu-grid--resources .nmn-menu-section:nth-child(2) {
    border-left: 0;
    border-top: 1px solid #e7e2eb;
    margin-top: 18px;
    padding: 20px 40px 0 22px;
  }
  .nmn-menu-grid--resources .nmn-menu-section:nth-child(3) {
    border-left: 1px solid #e7e2eb;
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-left: 62px;
  }

  /* About uses the global two-column composition above. */
  .nmn-menu-grid--about .nmn-menu-links { gap: 14px; }

  /* A menu list is a continuous hit area: adjacent links meet, with a
     consistent 15px interactive perimeter on every desktop panel. */
  .nmn-menu-grid .nmn-menu-links { gap: 0; }
  .nmn-menu-grid .nmn-menu-links a { padding: 10px; }
  .nmn-menu-grid--platform .nmn-menu-links a { padding: 10px; }
  .nmn-menu-grid--platform .nmn-menu-links { column-gap: 0; row-gap: 0; }
  .nmn-menu-grid--platform .nmn-menu-section--core .nmn-menu-links a { padding: 10px; }
  .nmn-menu-grid--platform .nmn-rail { gap: 0; }
  .nmn-menu-grid--platform .nmn-rail-link { padding: 10px; }

  /* Platform follows the same panel-edge and column rhythm as the other
     menus, while preserving its overview rail. */
  .nmn-panel--platform .nmn-panel-inner { padding: 0 !important; }
  .nmn-menu-grid--platform { gap: 0; grid-template-columns: 30fr 70fr; }
  .nmn-menu-grid--platform .nmn-rail { border-right: 0; padding: 20px; position: relative; }
  .nmn-menu-grid--platform .nmn-rail::after { background: #e7e2eb; bottom: 20px; content: ""; position: absolute; right: 0; top: 20px; width: 1px; }
  .nmn-menu-grid--platform .nmn-rail-link { border-radius: 10px; margin-top: 10px; transition: background .18s ease; }
  .nmn-menu-grid--platform .nmn-rail-link:hover { background: #f8f6fb; }
  .nmn-menu-grid--platform .nmn-platform-overview-gallery { position: static; }
  .nmn-menu-grid--platform .nmn-platform-placeholder { display: block; height: 100%; object-fit: cover; object-position: center center; width: 100%; }
  .nmn-menu-grid--platform .nmn-menu-columns { padding: 20px; }
  .nmn-menu-grid--platform .nmn-menu-section { border-top: 0; padding: 8px 0 6px; }
  .nmn-menu-grid--platform .nmn-menu-section h2 { padding-bottom: 12px; position: relative; }
  .nmn-menu-grid--platform .nmn-menu-section h2::after { background: #e5e1e8; bottom: 0; content: ""; height: 1px; left: 0; position: absolute; right: 0; }
  .nmn-menu-grid--platform .nmn-menu-section h2 span { transform: translateX(-10px); }

  /* Core is the platform foundation: give its single destination the same
     elevated treatment at rest and let a lighter gradient rise on hover. */
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a {
    background: linear-gradient(120deg, #5e1eaa 0%, #8039df 100%);
    box-shadow: 0 12px 32px rgba(128, 57, 223, .28);
    color: #fff;
    overflow: hidden;
    padding: 18px 20px;
    position: relative;
    transform: translateY(0);
    transform-origin: center;
    transition: box-shadow .24s ease, transform .24s cubic-bezier(.22, .8, .25, 1);
  }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a::before {
    background: linear-gradient(120deg, #7130c3 0%, #9750ee 100%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .24s ease;
  }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a > strong,
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a > span { position: relative; z-index: 1; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a > strong { color: #fff; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a > span { color: #cbbef3; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a:hover {
    background: linear-gradient(120deg, #5e1eaa 0%, #8039df 100%);
    box-shadow: 0 17px 38px rgba(93, 33, 174, .44);
    transform: translateY(-2px) scale(1.01);
  }
  .nmn-core-chevron { opacity: 0; transform: translateX(-7px); transition: opacity .16s ease, transform .16s ease; }
  .nmn-core-link:hover .nmn-core-chevron { opacity: 1; transform: translateX(0); }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links a:hover::before { opacity: 1; }

  /* Why Nasuni uses a dedicated editorial composition. */
  .nmn-why-grid { column-gap: 0; grid-template-columns: 30fr 35fr 35fr; }
  .nmn-panel--why-nasuni .nmn-panel-inner { padding: 0 !important; }
  .nmn-panel--resources .nmn-panel-inner { padding: 0 !important; }
  .nmn-why-grid .nmn-menu-section { padding: 20px; }
  .nmn-why-grid .nmn-menu-section + .nmn-menu-section { border-left: 0; padding-left: 20px; }
  .nmn-why-grid .nmn-menu-section h2 { margin: 0 0 4px; padding: 10px 10px 2px; }
  .nmn-why-feature { border-right: 0; position: relative; }
  .nmn-why-column { min-width: 0; padding: 0; }
  .nmn-why-grid .nmn-why-evaluate { border-left: 0; }
  .nmn-why-story { border-radius: 14px; color: var(--nmn-ink); display: block; padding: 10px; text-decoration: none; transition: background .18s ease; }
  .nmn-why-story:hover { background: #f5f1fb; }
  .nmn-why-story-media { background: #421166; border-radius: 10px; display: block; height: 230px; overflow: hidden; position: relative; width: 100%; }
  .nmn-why-story-image { height: 100%; object-fit: cover; width: 100%; }
  .nmn-why-story-media.has-logo::after { background: linear-gradient(135deg, rgba(55, 15, 89, .76), rgba(110, 46, 176, .28)); content: ""; inset: 0; position: absolute; }
  .nmn-why-industry { background: rgba(55, 15, 89, .9); border-radius: 7px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 7px 10px; position: absolute; right: 14px; text-transform: uppercase; top: 14px; z-index: 1; }
  .nmn-why-story-logo { left: 50%; max-height: 76px; max-width: 62%; object-fit: contain; position: absolute; top: 53%; transform: translate(-50%, -50%); z-index: 1; }
  .nmn-why-story-copy { color: var(--nmn-ink); display: block; padding: 16px 0 0; }
  .nmn-why-story-copy strong, .nmn-why-highlight strong { display: block; font-size: clamp(17px, 1.05vw, 19px); font-weight: 650; line-height: 1.25; }
  .nmn-why-story-copy > span, .nmn-why-highlight > span { color: #777087; display: block; font-size: clamp(14px, .9vw, 16px); line-height: 1.42; margin-top: 3px; }
  .nmn-why-story-copy em, .nmn-why-highlight em { color: #8536e7; display: block; font-size: 15px; font-style: normal; font-weight: 700; margin-top: 16px; }
  /* Featured cards cycle in place so the surrounding editorial columns never
     reflow. The active control doubles as a compact duration indicator. */
  .nmn-feature-gallery { position: static; }
  .nmn-feature-gallery-controls { align-items: center; display: flex; gap: 10px; position: absolute; right: 40px; top: 36px; z-index: 4; }
  .nmn-feature-gallery-controls button { background: #c9c9d0; border: 0; border-radius: 999px; cursor: pointer; height: 6px; overflow: hidden; padding: 0; position: relative; transition: background .18s ease, width .2s ease; width: 18px; }
  .nmn-feature-gallery-controls button:hover { background: #bdb8c8; }
  .nmn-feature-gallery-controls button.is-active { background: #d8d4df; width: 42px; }
  .nmn-feature-gallery.is-running .nmn-feature-gallery-controls button.is-active::after { animation: nmn-gallery-progress var(--nmn-gallery-duration, 5000ms) linear forwards; background: #8536e7; content: ""; inset: 0 auto 0 0; position: absolute; width: 0; }
  .nmn-feature-gallery-stage { height: 420px; position: relative; }
  .nmn-gallery-card { bottom: auto; inset-inline: 0; opacity: 0; pointer-events: none; position: absolute; top: 0; transform: translateY(16px); visibility: hidden; }
  .nmn-gallery-card.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; z-index: 2; }
  .nmn-gallery-card.is-active:not(.is-initial) { animation: nmn-gallery-enter .72s cubic-bezier(.16, 1, .3, 1) both; }
  .nmn-gallery-card.is-exiting { animation: nmn-gallery-exit .52s cubic-bezier(.4, 0, .2, 1) both; pointer-events: none; visibility: visible; z-index: 1; }
  .nmn-gallery-card.is-active:not(.is-initial) .nmn-why-story-media { animation: nmn-gallery-element-in .58s cubic-bezier(.16, 1, .3, 1) both; }
  .nmn-gallery-card.is-active:not(.is-initial) .nmn-why-story-copy strong { animation: nmn-gallery-element-in .46s cubic-bezier(.16, 1, .3, 1) .12s both; }
  .nmn-gallery-card.is-active:not(.is-initial) .nmn-why-story-copy > span { animation: nmn-gallery-element-in .46s cubic-bezier(.16, 1, .3, 1) .22s both; }
  .nmn-gallery-card.is-active:not(.is-initial) .nmn-why-story-copy em { animation: nmn-gallery-element-in .46s cubic-bezier(.16, 1, .3, 1) .3s both; }
  @keyframes nmn-gallery-progress { from { width: 0; } to { width: 100%; } }
  @keyframes nmn-gallery-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes nmn-gallery-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-16px); } }
  @keyframes nmn-gallery-element-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .nmn-why-stat { background: #eee9ff; border-radius: 13px; margin: 10px 0 0; padding: 20px 25px; }
  .nmn-why-stat strong { color: #40145f; display: block; font-size: clamp(22px, 1.55vw, 28px); line-height: 1.1; }
  .nmn-why-stat span { color: #777087; display: block; font-size: 15px; line-height: 1.45; margin-top: 8px; }
  .nmn-why-link { color: var(--nmn-ink); text-decoration: none; }
  /* Shared cadence for a final item that leads into a ruled subsection. */
  .nmn-menu-link--separator { border-radius: 0; position: relative; }
  .nmn-menu-link--separator::after { background: #e7e2eb; bottom: -20px; content: ""; height: 1px; left: 0; position: absolute; right: 0; }
  .nmn-why-subhead { border-top: 0; margin-top: 35px !important; padding-top: 15px !important; }
  .nmn-why-links { display: grid; gap: 0; }
  .nmn-why-highlight { background: #eee9ff; border-radius: 13px; color: #40145f; display: block; margin: 16px 0 0; padding: 20px 25px; text-decoration: none; }
  .nmn-why-highlight:hover { background: #e6ddff; }
  .nmn-resources-subhead { border-top: 0; margin-top: 35px !important; padding-top: 15px !important; }

  /* Shared menu-item type scale. The Platform Overview card intentionally
     retains its larger display title. */
  .nmn-menu-links strong,
  .nmn-menu-grid--platform .nmn-menu-links strong,
  .nmn-rail-link strong,
  .nmn-feature-card strong,
  .nmn-why-story-copy strong,
  .nmn-why-highlight strong { font-size: 15px; }
  .nmn-menu-links a > strong::after,
  .nmn-rail-link strong::after { background: url("arrow-right-double-sharp.svg?ver=1.1.54") center / contain no-repeat; content: ""; display: inline-block; height: 17px; margin-left: 5px; opacity: 0; transform: translateX(-7px); transition: opacity .16s ease, transform .16s ease; vertical-align: -3px; width: 17px; }
  .nmn-menu-links a:hover > strong::after,
  .nmn-rail-link:hover strong::after { opacity: 1; transform: translateX(0); }
  .nmn-menu-links a.nmn-chevron-exit > strong::after,
  .nmn-rail-link.nmn-chevron-exit strong::after { animation: nmn-chevron-exit .16s ease forwards; }
  .nmn-core-link.nmn-chevron-exit .nmn-core-chevron { animation: nmn-chevron-exit .16s ease forwards; }
  .nmn-menu-grid--platform .nmn-menu-section:nth-child(4) .nmn-menu-links .nmn-core-link > .nmn-core-title::after { content: none !important; display: none !important; }
  @keyframes nmn-chevron-exit { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(7px); } }

  /* Shared column rule: inset from the panel edges and independent of content height. */
  .nmn-menu-grid--solutions .nmn-menu-section + .nmn-menu-section,
  .nmn-menu-grid--why-nasuni .nmn-menu-section + .nmn-menu-section,
  .nmn-resources-grid .nmn-menu-section + .nmn-menu-section,
  .nmn-menu-grid--about .nmn-menu-section + .nmn-menu-section { border-left: 0; position: relative; }
  .nmn-menu-grid--solutions .nmn-menu-section + .nmn-menu-section::before,
  .nmn-menu-grid--why-nasuni .nmn-menu-section + .nmn-menu-section::before,
  .nmn-resources-grid .nmn-menu-section + .nmn-menu-section::before,
  .nmn-menu-grid--about .nmn-menu-section + .nmn-menu-section::before { background: #e7e2eb; bottom: 20px; content: ""; left: 0; position: absolute; top: 20px; width: 1px; }
}

@media (max-width: 980px) {
  .nmn-why-feature, .nmn-why-column { border: 0; padding: 0; }
  .nmn-why-grid { display: block; }
  .nmn-shell { position: relative; }
  .nmn-mobile-toggle { margin-left: 0; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
}

/* UniFS network animation used in the Platform gallery card. */
.nmn-hub-media { background: radial-gradient(circle at 50% 48%, #7136ca 0, #3f215f 42%, #251d39 100%); }
.nmn-hub-dots { background-image: radial-gradient(circle, rgba(203,190,243,.32) 1px, transparent 1.3px); background-size: 18px 18px; inset: 0; opacity: .48; position: absolute; }
.nmn-hub-lines { height: 100%; inset: 0; position: absolute; width: 100%; }
.nmn-hub-flow { animation: nmn-hub-flow 5s linear infinite; }.nmn-hub-flow--office { stroke: #cbbef3; }.nmn-hub-flow--remote,.nmn-hub-flow--edge { stroke: #0aabf3; }.nmn-hub-flow--ai { animation-duration: 3.6s; stroke: #fd63ff; }
.nmn-hub-packet { animation: nmn-hub-packet 4.4s ease-in-out infinite; background: #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.2); height: 7px; margin: -3px 0 0 -3px; opacity: 0; position: absolute; width: 7px; }.nmn-hub-packet--1 { animation-name: nmn-hub-packet-1; }.nmn-hub-packet--2 { animation-delay: .7s; animation-name: nmn-hub-packet-2; }.nmn-hub-packet--3 { animation-delay: 1.4s; animation-name: nmn-hub-packet-3; background: #fd63ff; box-shadow: 0 0 0 4px rgba(253,99,255,.22); }.nmn-hub-packet--4 { animation-delay: 2.1s; animation-name: nmn-hub-packet-4; }
.nmn-hub-core { align-items: center; animation: nmn-hub-pulse 3.6s ease-in-out infinite; background: radial-gradient(circle at 35% 30%, #a86bf0, #5e1eaa 70%); border-radius: 50%; display: flex; flex-direction: column; height: 44%; justify-content: center; left: 50%; position: absolute; text-align: center; top: 50%; transform: translate(-50%,-50%); width: 29%; z-index: 1; }.nmn-hub-core strong { color: #fff; font-size: clamp(16px, 1.8vw, 22px); letter-spacing: -.03em; line-height: 1; }.nmn-hub-core small { color: #cbbef3; font-size: clamp(7px, .74vw, 10px); font-weight: 650; line-height: 1.15; margin-top: 3px; }
.nmn-hub-node { align-items: center; background: #5a2a8f; border: 1px solid rgba(203,190,243,.6); border-radius: 999px; color: #fff; display: flex; font-size: clamp(9px, .9vw, 12px); font-weight: 800; gap: 4px; line-height: 1; padding: 5px 8px 5px 7px; position: absolute; transform: translate(-50%,-50%); white-space: nowrap; z-index: 2; }.nmn-hub-node i { color: #2fd2ff; font-size: 13px; font-style: normal; line-height: 1; }.nmn-hub-node--office { left: 20%; top: 22%; }.nmn-hub-node--remote { left: 80%; top: 22%; }.nmn-hub-node--ai { background: #6a2590; border-color: rgba(253,99,255,.7); left: 80%; top: 81%; }.nmn-hub-node--ai i { color: #fd63ff; }.nmn-hub-node--edge { background: #3f3a9a; border-color: rgba(10,171,243,.7); left: 20%; top: 81%; }
@keyframes nmn-hub-flow { to { stroke-dashoffset: -40; } }
@keyframes nmn-hub-pulse { 0%,100% { box-shadow: 0 0 0 1px rgba(253,99,255,.35), 0 10px 28px rgba(63,20,91,.5), 0 0 0 0 rgba(203,190,243,.3); } 50% { box-shadow: 0 0 0 1px rgba(253,99,255,.35), 0 10px 28px rgba(63,20,91,.5), 0 0 0 14px rgba(203,190,243,0); } }
@keyframes nmn-hub-packet-1 { 0% { left:50%; opacity:0; top:50%; } 15%,85% { opacity:1; } 100% { left:30%; opacity:0; top:31%; } }
@keyframes nmn-hub-packet-2 { 0% { left:50%; opacity:0; top:50%; } 15%,85% { opacity:1; } 100% { left:70%; opacity:0; top:31%; } }
@keyframes nmn-hub-packet-3 { 0% { left:50%; opacity:0; top:50%; } 15%,85% { opacity:1; } 100% { left:70%; opacity:0; top:74%; } }
@keyframes nmn-hub-packet-4 { 0% { left:50%; opacity:0; top:50%; } 15%,85% { opacity:1; } 100% { left:30%; opacity:0; top:74%; } }
@media (prefers-reduced-motion: reduce) { .nmn-hub-flow,.nmn-hub-packet,.nmn-hub-core { animation: none !important; }.nmn-hub-packet { opacity: 0 !important; } }

/* Compact AI Activate query panel used in the Platform gallery card. */
.nmn-aiq-media { background: transparent; box-sizing: border-box; display: block; flex: 0 0 230px; height: 230px !important; min-height: 230px; padding: 0; }
.nmn-aiq-panel { background: rgba(10, 4, 28, .84); border: 1px solid rgba(203, 190, 243, .2); border-radius: 11px; box-shadow: 0 14px 30px rgba(0, 0, 0, .24); display: flex; flex-direction: column; font-family: inherit; height: 100%; overflow: hidden; }
.nmn-aiq-bar { align-items: center; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .07); display: flex; gap: 5px; padding: 8px 10px; }
.nmn-aiq-dot { border-radius: 50%; display: block; height: 6px; width: 6px; }
.nmn-aiq-dot--red { background: #ff5f57; }.nmn-aiq-dot--yellow { background: #ffbd2e; }.nmn-aiq-dot--green { background: #28c840; }
.nmn-aiq-label { color: rgba(203, 190, 243, .64); display: block; font-size: 8px; font-weight: 800; letter-spacing: .12em; margin-left: 6px; text-transform: uppercase; }
.nmn-aiq-slot { display: block; flex: 1; min-height: 0; padding: 13px 12px 8px; }
.nmn-aiq-row { align-items: flex-start; display: flex; gap: 7px; transition: opacity .24s ease, transform .24s ease; }
.nmn-aiq-avatar { align-items: center; background: linear-gradient(135deg, #cbbef3, #8039df); border-radius: 50%; color: #fff; display: flex; flex: 0 0 22px; font-size: 6px; font-weight: 900; height: 22px; justify-content: center; letter-spacing: .04em; margin-top: 2px; }
.nmn-aiq-bubble { background: rgba(128, 57, 223, .25); border: 1px solid rgba(128, 57, 223, .46); border-radius: 3px 10px 10px; color: rgba(255, 255, 255, .93); display: block; flex: 1; font-size: 10px; font-style: italic; line-height: 1.45; min-height: 35px; overflow: hidden; padding: 8px 9px; white-space: nowrap; }
.nmn-aiq-chat-typed { display: inline-block; overflow: hidden; vertical-align: bottom; width: 0; animation: nmn-aiq-chat-type 12s steps(24, end) infinite; }
.nmn-aiq-chat-cursor, .nmn-aiq-input-cursor { background: #cbbef3; display: inline-block; height: 10px; margin-left: 2px; vertical-align: -1px; width: 1px; animation: nmn-aiq-blink .8s step-end infinite; }
.nmn-aiq-response { background: rgba(255, 255, 255, .05); border: 1px solid transparent; border-radius: 3px 10px 10px; display: block; margin: 0 0 0 29px; max-height: 0; opacity: 0; overflow: hidden; padding: 0 9px; transform: translateY(5px); animation: nmn-aiq-response 12s ease-in-out infinite; }
.nmn-aiq-response-label { color: #cbbef3; display: block; font-size: 8px; font-weight: 900; letter-spacing: .1em; margin-bottom: 4px; text-transform: uppercase; }
.nmn-aiq-thinking { align-items: center; display: flex; gap: 3px; height: 12px; opacity: 0; animation: nmn-aiq-thinking 12s ease-in-out infinite; }
.nmn-aiq-thinking-label { color: rgba(255, 255, 255, .66); font-size: 7px; font-style: italic; margin-right: 2px; }
.nmn-aiq-thinking i { background: #cbbef3; border-radius: 50%; display: block; height: 3px; width: 3px; animation: nmn-aiq-dot-pulse .8s ease-in-out infinite; }.nmn-aiq-thinking i:nth-of-type(2) { animation-delay: .12s; }.nmn-aiq-thinking i:nth-of-type(3) { animation-delay: .24s; }
.nmn-aiq-response-text { color: rgba(255, 255, 255, .78); display: block; font-size: 9px; line-height: 1.35; opacity: 0; animation: nmn-aiq-answer 12s ease-in-out infinite; }
.nmn-aiq-response-text span { display: block; }.nmn-aiq-response-text span + span { margin-top: 2px; }
.nmn-aiq-files { display: flex; gap: 4px; margin-top: 6px; opacity: 0; overflow: hidden; animation: nmn-aiq-files-reveal 12s ease-in-out infinite; }
.nmn-aiq-files span { background: rgba(128, 57, 223, .2); border: 1px solid rgba(128, 57, 223, .32); border-radius: 4px; color: #cbbef3; display: block; font-size: 6px; font-weight: 700; overflow: hidden; padding: 3px 4px; text-overflow: ellipsis; white-space: nowrap; }
.nmn-aiq-foot { align-items: center; border-top: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .38); display: flex; font-size: 8px; gap: 7px; padding: 8px 10px; }
.nmn-aiq-input { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; display: block; flex: 1; height: 27px; overflow: hidden; padding: 6px 8px; white-space: nowrap; }
.nmn-aiq-placeholder { display: inline-block; animation: nmn-aiq-placeholder 12s ease-in-out infinite; }
.nmn-aiq-input-typed { color: rgba(255, 255, 255, .78); display: inline-block; overflow: hidden; vertical-align: bottom; width: 0; animation: nmn-aiq-input-type 12s steps(24, end) infinite; }
.nmn-aiq-send { align-items: center; background: #8039df; border-radius: 50%; display: flex; height: 21px; justify-content: center; width: 21px; }
.nmn-aiq-send svg { fill: #fff; height: 9px; width: 9px; }
/* Chat-style layout for the compact navigation preview. */
.nmn-aiq-slot { padding: 11px 12px 7px; }
.nmn-aiq-row { justify-content: flex-end; }
.nmn-aiq-avatar { display: none; }
.nmn-aiq-bubble { border-radius: 10px 3px 10px 10px; flex: 0 1 auto; font-size: 11px; font-style: normal; max-width: 78%; min-height: 0; padding: 7px 9px; }
.nmn-aiq-response { background: rgba(255, 255, 255, .065); border-radius: 3px 10px 10px 10px; margin-left: 0; margin-right: auto; width: 78%; }
.nmn-aiq-response-label { display: none; }
.nmn-aiq-thinking { margin-top: 1px; }
.nmn-aiq-thinking-label { font-style: normal; }
.nmn-aiq-nasuni-icon { background: url("nasuni-icon-white.svg?ver=1.1.56") center / contain no-repeat; display: block; height: 15px; margin-right: 3px; width: 15px; }
.nmn-aiq-response-text { font-size: 10px; }
.nmn-aiq-foot { gap: 5px; padding: 7px 9px; }
.nmn-aiq-composer-action { align-items: center; color: rgba(255, 255, 255, .78); display: flex; flex: 0 0 auto; justify-content: center; }
.nmn-aiq-add { font-size: 18px; font-weight: 300; height: 21px; line-height: 1; width: 15px; }
.nmn-aiq-input { align-items: center; display: flex; font-size: 10px; min-width: 0; padding: 5px 7px; }
.nmn-aiq-placeholder, .nmn-aiq-input-typed { flex: 0 1 auto; font-style: normal; max-width: 100%; overflow: hidden; text-overflow: clip; white-space: nowrap; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-input-typed { flex-basis: auto; width: auto !important; }
.nmn-aiq-effort { align-items: center; color: rgba(255, 255, 255, .68); display: flex; flex: 0 0 auto; font-size: 8px; gap: 3px; }
.nmn-aiq-effort svg { fill: none; height: 5px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; width: 7px; }
.nmn-aiq-voice { height: 18px; width: 13px; }
.nmn-aiq-voice svg { fill: none; height: 12px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 12px; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-response { margin-top: 8px; }
@keyframes nmn-aiq-blink { 50% { opacity: 0; } }
@keyframes nmn-aiq-input-type { 0%, 8% { width: 0; } 28%, 32% { width: 24ch; } 36%, 100% { width: 0; } }
@keyframes nmn-aiq-placeholder { 0%, 7% { opacity: 1; } 8%, 36% { opacity: 0; } 37%, 100% { opacity: 1; } }
@keyframes nmn-aiq-chat-type { 0%, 36% { width: 0; } 56%, 88% { width: 24ch; } 94%, 100% { width: 0; } }
@keyframes nmn-aiq-response { 0%, 58% { border-color: transparent; margin-top: 0; max-height: 0; opacity: 0; padding-block: 0; transform: translateY(5px); } 66%, 88% { border-color: rgba(255, 255, 255, .08); margin-top: 9px; max-height: 80px; opacity: 1; padding-block: 8px; transform: translateY(0); } 96%, 100% { border-color: transparent; margin-top: 0; max-height: 0; opacity: 0; padding-block: 0; transform: translateY(5px); } }
@keyframes nmn-aiq-thinking { 0%, 64% { opacity: 0; } 67%, 73% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes nmn-aiq-dot-pulse { 50% { opacity: .3; transform: translateY(-1px); } }
@keyframes nmn-aiq-answer { 0%, 72% { opacity: 0; transform: translateY(3px); } 78%, 90% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(3px); } }
@keyframes nmn-aiq-files-reveal { 0%, 78% { opacity: 0; transform: translateY(3px); } 83%, 90% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(3px); } }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-chat-typed,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-input-typed,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-response,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-thinking,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-response-text,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-files,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-placeholder { animation: none; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-send { transition: transform .18s ease, box-shadow .18s ease; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-response { transition: border-color .25s ease, margin-top .25s ease, max-height .25s ease, opacity .25s ease, padding .25s ease, transform .25s ease; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-response-text,
.nmn-aiq-panel.is-aiq-running .nmn-aiq-files { transition: opacity .35s ease, transform .35s ease; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-thinking { transition: opacity .28s ease; }
.nmn-aiq-panel.is-aiq-running .nmn-aiq-send.is-sending { box-shadow: 0 0 0 5px rgba(128, 57, 223, .2); transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .nmn-aiq-chat-typed, .nmn-aiq-input-typed { width: 24ch; animation: none; } .nmn-aiq-placeholder, .nmn-aiq-thinking { display: none; } .nmn-aiq-response, .nmn-aiq-response-text, .nmn-aiq-files { animation: none; border-color: rgba(255, 255, 255, .08); margin-top: 9px; max-height: 80px; opacity: 1; padding-block: 8px; transform: none; } }

@media (max-width: 980px) {
  .nmn-mobile-group > div { gap: 0; }
  .nmn-mobile-group a,
  .nmn-mobile-link { padding: 10px; }
}

/* Keep the header controls comfortably grouped on ultra-wide displays while
   preserving the broader navigation rhythm at regular desktop widths. */
@media (min-width: 1440px) {
  .nmn-shell { max-width: 1440px; }
}

/* Site search */
.nmn-search-trigger,
.nmn-mobile-search-trigger { align-items: center; appearance: none; background: transparent; border: 0; border-radius: 10px; color: var(--nmn-ink); cursor: pointer; display: inline-flex; justify-content: center; transition: background-color .2s ease, color .2s ease; }
.nmn-search-trigger { height: 46px; padding: 10px; width: 46px; }
.nmn-search-trigger:hover,
.nmn-search-trigger:focus-visible,
.nmn-mobile-search-trigger:hover,
.nmn-mobile-search-trigger:focus-visible { background: var(--nmn-soft); color: var(--nmn-purple); }
.nmn-search-trigger:focus-visible,
.nmn-mobile-search-trigger:focus-visible,
.nmn-search-close:focus-visible,
.nmn-search-form button:focus-visible { outline: 3px solid var(--nmn-cyan); outline-offset: 3px; }
.nmn-search-icon { background: currentColor; display: block; height: 24px; mask: url("search.svg") center / contain no-repeat; -webkit-mask: url("search.svg") center / contain no-repeat; width: 24px; }
.nmn-search-modal { bottom: auto; height: calc(100vh - 80px); left: 0; position: absolute; right: 0; top: 100%; z-index: 20; }
.nmn-search-modal[hidden] { display: none; }
.nmn-search-dialog { background: var(--nmn-surface); border-radius: 0 0 16px 16px; box-shadow: 0 20px 42px rgba(33, 13, 58, .14); box-sizing: border-box; opacity: 0; overflow: hidden; padding: clamp(32px, 4vw, 52px); position: absolute; transform: none; transform-origin: top; transition: height .25s ease-out, opacity .18s ease-out; }
.nmn-search-modal.is-open .nmn-search-dialog { opacity: 1; transform: none; }
.nmn-search-modal.is-from-menu .nmn-search-dialog { opacity: 1; transition: height .25s ease-out; }
.nmn-search-content { opacity: 0; transform: translateX(18px); }
.nmn-search-modal.is-open .nmn-search-content { animation: nmn-search-content-in .28s cubic-bezier(.22, .8, .25, 1) .05s both; }
.nmn-search-modal.is-leaving .nmn-search-content { animation: nmn-search-content-out .15s ease-in both; }
@keyframes nmn-search-content-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes nmn-search-content-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(18px); } }
.nmn-search-dialog h2 { color: var(--nmn-ink); font-size: clamp(28px, 2.2vw, 38px); line-height: 1.15; margin: 0 0 24px; }
.nmn-search-close { align-items: center; appearance: none; background: transparent; border: 0; border-radius: 10px; cursor: pointer; display: flex; height: 40px; justify-content: center; padding: 8px; position: absolute; right: clamp(18px, 2vw, 28px); top: clamp(18px, 2vw, 28px); width: 40px; }
.nmn-search-close:hover { background: var(--nmn-soft); }.nmn-search-close img { display: block; height: 24px; width: 24px; }
.nmn-search-form,.nmn-search-form:hover,.nmn-search-form:focus-within { border: 1px solid var(--nmn-purple); border-radius: 10px; box-shadow: none; }.nmn-search-form { box-sizing: border-box; display: flex; max-width: 100%; min-height: 52px; overflow: hidden; width: 100%; }.nmn-search-form input { background: transparent; border: 0; box-shadow: none; box-sizing: border-box; color: var(--nmn-ink); flex: 1 1 0; font: inherit; font-size: 16px; max-width: none; min-width: 0; outline: 0; padding: 12px 14px; width: 0 !important; }.nmn-search-form input:focus,.nmn-search-form input:active { box-shadow: none; outline: 0; }.nmn-search-form input::placeholder { color: var(--nmn-muted); opacity: 1; }.nmn-search-form button { align-items: center; appearance: none; background: transparent; border: 0; border-radius: 10px; box-sizing: border-box; color: var(--nmn-purple); cursor: pointer; display: flex; flex: 0 0 44px; justify-content: center; margin: 4px; padding: 8px; width: 44px; }.nmn-search-form button:hover { background: var(--nmn-soft); }
body.nmn-search-open { overflow: hidden; } body.nmn-menu-open::before, body.nmn-search-open::before { opacity: 1; }
.nmn-mobile-search-trigger { color: var(--nmn-ink); font: inherit; font-size: 14px; font-weight: 700; gap: 8px; padding: 10px 14px; text-align: center; }
.nmn-mobile-search-trigger .nmn-search-icon { height: 20px; width: 20px; }
@media (min-width: 981px) { .nmn-actions .nmn-search-trigger { font-size: clamp(16px, 1vw, 18px); } .nmn-search-dialog { left: 0; margin-inline: auto; max-width: 1276px !important; right: 0; top: 0; width: calc(100% - clamp(96px, 8.3vw, 164px)) !important; } }
@media (max-width: 980px) { body.nmn-search-open::before { backdrop-filter: blur(5px) saturate(.92); background: rgba(25, 17, 41, .10); content: ""; inset: 0; opacity: 1; pointer-events: none; position: fixed; transition: opacity .3s cubic-bezier(.22, .8, .25, 1); z-index: 999; } .nmn-search-modal { height: calc(100vh - 64px); top: 100%; } .nmn-mobile-actions .nmn-mobile-search-trigger { border: 1px solid var(--nmn-line); } .nmn-search-dialog { border-radius: 0 0 12px 12px; left: 0; max-width: none !important; padding: 28px 24px; right: 0; top: 0; width: auto !important; } .nmn-search-dialog h2 { font-size: 28px; margin-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .nmn-search-trigger, .nmn-mobile-search-trigger { transition: none; } }

/* Mobile navigation motion */
@media (max-width: 980px) {
  .nmn-mobile-toggle { align-items: center; display: flex; flex-direction: column; gap: 5px; height: 42px; justify-content: center; transition: background-color .2s ease; width: 42px; }
  .nmn-mobile-toggle:hover { background: var(--nmn-soft); border-radius: 10px; }
  .nmn-mobile-toggle-line { background: var(--nmn-ink); display: block; height: 2px; transform-origin: center; transition: transform .24s cubic-bezier(.22, .8, .25, 1), background-color .2s ease; width: 22px; }
  /* The screen-reader label is also a span, so target the two visual lines explicitly. */
  .nmn-mobile-toggle[aria-expanded="true"] .nmn-mobile-toggle-line:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .nmn-mobile-toggle[aria-expanded="true"] .nmn-mobile-toggle-line:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nmn-mobile-toggle[aria-expanded="true"] .nmn-mobile-toggle-line { background: var(--nmn-purple); }

  .nmn-mobile-panel { box-sizing: border-box; max-height: 0; opacity: 0; overflow: hidden; padding-block: 0; transform: translateY(-8px); transition: max-height .32s cubic-bezier(.22, .8, .25, 1), opacity .2s ease, padding .32s cubic-bezier(.22, .8, .25, 1), transform .32s cubic-bezier(.22, .8, .25, 1); }
  .nmn-mobile-panel.is-open { max-height: calc(100vh - 64px); opacity: 1; overflow-y: auto; padding-block: 12px 24px; transform: translateY(0); }
  .nmn-mobile-panel.is-closing { max-height: 0; opacity: 0; overflow: hidden; padding-block: 0; transform: translateY(-8px); }

  .nmn-mobile-group summary { align-items: center; display: flex; justify-content: space-between; position: relative; }
  .nmn-mobile-group summary::before,
  .nmn-mobile-group summary::after,
  .nmn-mobile-group[open] summary::after { background: var(--nmn-purple); content: ""; display: block; height: 2px; position: absolute; right: 2px; top: 50%; transform-origin: center; transition: opacity .2s ease, transform .24s cubic-bezier(.22, .8, .25, 1); width: 14px; }
  .nmn-mobile-group summary::before { transform: rotate(90deg); }
  .nmn-mobile-group summary::after { transform: rotate(0); }
  .nmn-mobile-group.is-open summary::before { opacity: 0; transform: rotate(90deg) scaleX(.25); }
  .nmn-mobile-group > .nmn-mobile-drawer { display: grid; gap: 0; grid-template-rows: 0fr; overflow: hidden; padding: 0; transition: grid-template-rows .26s cubic-bezier(.22, .8, .25, 1); }
  .nmn-mobile-group > .nmn-mobile-drawer > .nmn-mobile-drawer-inner { display: grid; gap: 0; min-height: 0; opacity: 0; overflow: hidden; padding: 0 0 0 14px; transform: translateY(-8px); transition: opacity .18s ease, padding .26s cubic-bezier(.22, .8, .25, 1), transform .26s cubic-bezier(.22, .8, .25, 1); }
  .nmn-mobile-group.is-open > .nmn-mobile-drawer { grid-template-rows: 1fr; }
  .nmn-mobile-group.is-open > .nmn-mobile-drawer > .nmn-mobile-drawer-inner { opacity: 1; padding-bottom: 16px; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .nmn-mobile-toggle-line, .nmn-mobile-panel, .nmn-mobile-group summary::before, .nmn-mobile-group summary::after, .nmn-mobile-group > .nmn-mobile-drawer, .nmn-mobile-group > .nmn-mobile-drawer > .nmn-mobile-drawer-inner { transition: none !important; }
}
