/* ============================================================================
   SiteViewer mega menu — self-contained stylesheet for the Product / Solutions /
   Compare nav, injected by host.js. Shared pages get these rules via host.css;
   the standalone pages (landing/pricing) load THIS file directly because they
   carry their own inline design system and don't pull in host.css.

   Self-contained on purpose: the design tokens are (re)defined locally on the
   mega root elements, so the menu renders identically whether or not the host
   page defines --purple / --grad / --shadow-* etc. (pricing.html doesn't).
   ========================================================================== */
.nav-primary, .mega-scrim, .mega-dock {
  --ink: #15131c; --ink-soft: #4a4658; --ink-faint: #6b6781;
  --line: #e9e7ef; --line-soft: #f0eef4;
  --purple: #7c3aed; --grad: linear-gradient(96deg, #2563eb 0%, #7c3aed 100%);
  --shadow-sm: 0 1px 2px rgba(21,19,28,.06), 0 1px 3px rgba(21,19,28,.05);
  --shadow-md: 0 8px 24px -8px rgba(21,19,28,.12), 0 2px 6px rgba(21,19,28,.05);
  --shadow-lg: 0 32px 64px -24px rgba(21,19,28,.28), 0 8px 24px -12px rgba(21,19,28,.12);
  --ease: cubic-bezier(.2,.7,.2,1); --spring: cubic-bezier(.34,1.56,.46,1);
}

.nav-primary { display: flex; align-items: center; gap: 2px; }
.nav-item { position: static; }
.nav-item .nav-trigger { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; white-space: nowrap; }
.nav-item .nav-trigger:hover, .nav-item.is-open .nav-trigger { color: var(--ink); background: rgba(124,58,237,.07); }
.nav-caret { width: 14px; height: 14px; color: var(--ink-faint); transition: transform .35s var(--spring), color .2s ease; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); color: var(--purple); }

.mega-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(18,15,28,.20); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
header.nav.mega-open .mega-scrim { opacity: 1; visibility: visible; }
.mega-dock { position: absolute; left: 0; right: 0; top: 100%; height: 0; z-index: 60; pointer-events: none; }
.mega {
  position: absolute; top: 9px; left: 50%;
  width: min(1060px, calc(100vw - 28px));
  transform: translateX(-50%) translateY(14px) scale(.985);
  transform-origin: top center;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(170%) blur(20px); -webkit-backdrop-filter: saturate(170%) blur(20px);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s var(--ease), transform .4s var(--spring), visibility .26s linear;
}
.mega::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.mega.active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.mega-grid { display: grid; gap: 14px; padding: 20px; }
.mega[data-panel="product"] .mega-grid { grid-template-columns: 1.32fr .9fr; }
.mega[data-panel="solutions"] .mega-grid { grid-template-columns: .92fr 1.08fr; }
.mega[data-panel="compare"] .mega-grid { grid-template-columns: 1.32fr .9fr; }
.m-col { min-width: 0; }
.m-label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); padding: 2px 12px 8px; display: flex; align-items: center; gap: 8px; }
.m-label .ln { flex: 1; height: 1px; background: var(--line); }
.m-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.m-aud { display: flex; flex-direction: column; gap: 2px; }
.m-link { display: flex; gap: 13px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background .2s ease; }
.m-link:hover { background: #f7f5fb; }
.m-link .m-ic { width: 40px; height: 40px; border-radius: 11px; background: #f3eefe; display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px #ece3fc; transition: transform .35s var(--spring); }
.m-link:hover .m-ic { transform: scale(1.08) rotate(-5deg); }
.m-ic svg { width: 20px; height: 20px; color: var(--purple); }
.m-tt { font-size: 14.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; line-height: 1.2; }
.m-arrow { opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .25s var(--ease); color: var(--purple); display: inline-flex; }
.m-arrow svg { width: 13px; height: 13px; }
.m-link:hover .m-arrow { opacity: 1; transform: none; }
.m-ds { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; font-weight: 500; line-height: 1.45; }
.m-pro { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--grad); padding: 2px 6px; border-radius: 999px; }
.m-studio { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #5b53e6; padding: 2px 6px; border-radius: 999px; }
.m-feature { display: flex; flex-direction: column; }

/* live mini-demo (Product panel right column) — pure CSS animation, no JS */
.md { background: #fff; border: 1px solid var(--line-soft); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-md); }
.md-bar { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); background: #fbfbfd; }
.md-dots { display: flex; gap: 5px; flex-shrink: 0; }
.md-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.md-dots i:nth-child(1){ background:#ff5f57; } .md-dots i:nth-child(2){ background:#febc2e; } .md-dots i:nth-child(3){ background:#28c840; }
.md-url { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 11px; color: var(--ink-soft); font-weight: 500; overflow: hidden; white-space: nowrap; }
.md-locks { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.md-locks svg { position: absolute; inset: 0; width: 12px; height: 12px; }
.md-lk-open { color: var(--ink-faint); animation: mdLkO 6s var(--ease) infinite; }
.md-lk-closed { color: #1f9d55; opacity: 0; animation: mdLkC 6s var(--ease) infinite; }
.md-host { color: var(--ink-soft); flex-shrink: 0; }
.md-path { color: var(--ink); font-weight: 700; max-width: 0; overflow: hidden; display: inline-block; vertical-align: bottom; animation: mdPath 6s var(--ease) infinite; }
.md-badge { margin-left: auto; font-size: 8px; font-weight: 800; letter-spacing: .03em; color: var(--purple); background: #f3eefe; padding: 2px 6px; border-radius: 999px; flex-shrink: 0; opacity: 0; transform: scale(.5); animation: mdBadge 6s var(--ease) infinite; }
.md-body { position: relative; height: 100px; display: grid; place-items: center; background: radial-gradient(120% 130% at 82% -20%, rgba(124,58,237,.10), transparent 55%), #faf9fc; }
.md-pub, .md-live { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.md-pub { color: var(--ink-soft); opacity: 0; animation: mdPub 6s var(--ease) infinite; }
.md-pub .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #d9d2ee; border-top-color: var(--purple); animation: mdSpin .8s linear infinite; }
.md-live { color: var(--ink); opacity: 0; animation: mdLive 6s var(--ease) infinite; }
.md-live .d { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,.5); animation: ping 2s infinite; }
.md-prog { position: absolute; bottom: 16px; width: 60%; height: 6px; border-radius: 999px; background: #ece8f6; overflow: hidden; opacity: 0; animation: mdProgWrap 6s var(--ease) infinite; }
.md-prog i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); animation: mdProg 6s var(--ease) infinite; }
.md-view { position: absolute; right: 9px; bottom: 9px; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); border-radius: 9px; padding: 5px 8px; font-size: 10px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px) scale(.9); animation: mdView 6s var(--ease) infinite; }
.md-view img { width: 16px; height: 16px; border-radius: 50%; }
@keyframes mdSpin { to { transform: rotate(360deg); } }
@keyframes ping { 0%{ box-shadow:0 0 0 0 rgba(40,200,64,.5);} 70%{ box-shadow:0 0 0 7px rgba(40,200,64,0);} 100%{ box-shadow:0 0 0 0 rgba(40,200,64,0);} }
@keyframes mdPath { 0%,15%{ max-width:0; opacity:0; } 30%,86%{ max-width:120px; opacity:1; } 96%,100%{ max-width:0; opacity:0; } }
@keyframes mdProgWrap { 0%,11%{ opacity:0; } 14%,32%{ opacity:1; } 37%,100%{ opacity:0; } }
@keyframes mdProg { 0%,12%{ width:0; } 32%{ width:100%; } 100%{ width:100%; } }
@keyframes mdPub { 0%,8%{ opacity:0; transform:translateY(4px); } 13%,30%{ opacity:1; transform:none; } 36%,100%{ opacity:0; } }
@keyframes mdLive { 0%,38%{ opacity:0; transform:translateY(5px); } 47%,90%{ opacity:1; transform:none; } 96%,100%{ opacity:0; } }
@keyframes mdBadge { 0%,31%{ opacity:0; transform:scale(.5); } 40%,88%{ opacity:1; transform:scale(1); } 94%,100%{ opacity:0; transform:scale(.5); } }
@keyframes mdLkC { 0%,31%{ opacity:0; } 40%,90%{ opacity:1; } 96%,100%{ opacity:0; } }
@keyframes mdLkO { 0%,31%{ opacity:1; } 40%,90%{ opacity:0; } 96%,100%{ opacity:1; } }
@keyframes mdView { 0%,52%{ opacity:0; transform:translateY(6px) scale(.9); } 61%,88%{ opacity:1; transform:none; } 94%,100%{ opacity:0; } }

/* promo card (dark) */
.m-promo { position: relative; overflow: hidden; margin-top: 12px; border-radius: 15px; padding: 16px 18px; color: #fff; box-shadow: var(--shadow-md); background: radial-gradient(130% 130% at 0% 0%, #3a1d6e 0%, transparent 58%), linear-gradient(135deg, #16111f, #1d1532); display: flex; flex-direction: column; gap: 5px; }
.m-promo::before { content: ""; position: absolute; width: 160px; height: 160px; right: -40px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); filter: blur(8px); pointer-events: none; }
.m-promo .ptag { position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 800; letter-spacing: .07em; color: #cdbcff; text-transform: uppercase; }
.m-promo .ptag .pdot { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 0 rgba(167,139,250,.6); animation: dotpulse 2.6s var(--ease) infinite; }
@keyframes dotpulse { 0%,100%{ box-shadow:0 0 0 0 rgba(124,58,237,.45);} 50%{ box-shadow:0 0 0 5px rgba(124,58,237,0);} }
.m-promo h5 { position: relative; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.m-promo p { position: relative; font-size: 12px; color: #b6aecb; font-weight: 500; line-height: 1.45; margin: 0; }
.m-promo .plink { position: relative; margin-top: 5px; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.m-promo .plink svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.m-promo:hover .plink svg { transform: translateX(3px); }

/* AI / platform integration tiles */
.m-ints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-int { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 13px; background: #f7f5fb; box-shadow: inset 0 0 0 1px var(--line-soft); font-weight: 700; font-size: 13px; color: var(--ink); transition: transform .3s var(--spring), box-shadow .25s ease, background .25s ease; }
.m-int:hover { transform: translateY(-3px); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 26px -14px var(--glow, rgba(124,58,237,.5)); }
.m-int .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.m-int .ico img { width: 18px; height: 18px; object-fit: contain; }
.m-int .ico svg { width: 18px; height: 18px; }
.m-int .ico.dark { background: #0e0a18; }
.m-int .ico.tint { background: #f3eefe; }
.m-int.any { justify-content: center; color: var(--ink-faint); font-weight: 600; font-size: 12.5px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.m-int.any:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d8d4e4, var(--shadow-sm); }
.m-ints.plats { grid-template-columns: 1fr 1fr; }
.m-int .logo { width: 18px; height: 18px; object-fit: contain; display: block; }
.m-int .wmk { height: 14px; width: auto; display: block; }

/* mega footer bar */
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; background: #f7f5fb; border-top: 1px solid var(--line-soft); }
.mega-foot .mf-txt { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.mega-foot .mf-txt b { color: var(--ink); font-weight: 700; }
.mega-foot .mf-link { font-size: 13px; font-weight: 700; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; transition: background .2s ease; }
.mega-foot .mf-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.mega-foot .mf-link:hover { background: #f0e9fc; }
.mega-foot .mf-link:hover svg { transform: translateX(3px); }

/* staggered reveal of panel items when a panel opens */
.mega .m-feats > a, .mega .m-aud > a, .mega .m-ints > a, .mega .m-feature > * { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .5s var(--spring); }
.mega.active .m-feats > a, .mega.active .m-aud > a, .mega.active .m-ints > a, .mega.active .m-feature > * { opacity: 1; transform: none; }
.mega.active .m-feats > a:nth-child(1), .mega.active .m-aud > a:nth-child(1), .mega.active .m-ints > a:nth-child(1) { transition-delay: .05s; }
.mega.active .m-feats > a:nth-child(2), .mega.active .m-aud > a:nth-child(2), .mega.active .m-ints > a:nth-child(2) { transition-delay: .09s; }
.mega.active .m-feats > a:nth-child(3), .mega.active .m-aud > a:nth-child(3), .mega.active .m-ints > a:nth-child(3) { transition-delay: .13s; }
.mega.active .m-feats > a:nth-child(4), .mega.active .m-aud > a:nth-child(4), .mega.active .m-ints > a:nth-child(4) { transition-delay: .17s; }
.mega.active .m-feats > a:nth-child(5), .mega.active .m-ints > a:nth-child(5) { transition-delay: .21s; }
.mega.active .m-feats > a:nth-child(6), .mega.active .m-ints > a:nth-child(6) { transition-delay: .25s; }
.mega.active .m-feature > *:nth-child(1) { transition-delay: .1s; }
.mega.active .m-feature > *:nth-child(2) { transition-delay: .18s; }

/* Hidden on mobile — the page's own hamburger menu takes over below 860px. */
@media (max-width: 860px) {
  .nav-primary, .mega-dock, .mega-scrim { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mega .m-feats > a, .mega .m-aud > a, .mega .m-ints > a, .mega .m-feature > * { opacity: 1; transform: none; }
  .md-path { max-width: 120px !important; opacity: 1 !important; }
  .md-badge { opacity: 1 !important; transform: none !important; }
  .md-lk-open { opacity: 0 !important; } .md-lk-closed { opacity: 1 !important; }
  .md-live { opacity: 1 !important; transform: none !important; }
  .md-view { opacity: 1 !important; transform: none !important; }
  .md-pub, .md-prog { opacity: 0 !important; }
}

/* ============================================================================
   Mobile menu — the standalone pages (landing/pricing/demo) don't load host.css,
   so the redesigned drawer (promo / tappable accordions / color-coded tiles) needs
   its rules HERE. Scoped by #mobile-menu so it wins over any leftover old
   .mobile-menu .m-* rules in a page's inline <style> on a source-order tie, and
   carries its own token block because mega.css's tokens live on .nav-* only.
   Mirror of host.css's mobile-menu section — keep the two in sync.
   ========================================================================== */
#mobile-menu {
  --ink: #15131c; --ink-soft: #4a4658; --ink-faint: #6b6781;
  --bg: #f6f5f8; --card: #ffffff;
  --line: #e9e7ef; --line-soft: #f0eef4;
  --blue: #2563eb; --purple: #7c3aed;
  --grad: linear-gradient(96deg, #2563eb 0%, #7c3aed 100%);
  --shadow-sm: 0 1px 2px rgba(21,19,28,.06), 0 1px 3px rgba(21,19,28,.05);
  --shadow-md: 0 8px 24px -8px rgba(21,19,28,.12), 0 2px 6px rgba(21,19,28,.05);
  --ease: cubic-bezier(.2,.7,.2,1); --spring: cubic-bezier(.34,1.56,.46,1);
}
#mobile-menu .wrap { padding: 0 18px; }

/* slim promo */
#mobile-menu .promo { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 16px; margin: 2px 0 18px; color: #fff; position: relative; overflow: hidden; text-decoration: none; background: radial-gradient(120% 160% at 0% 0%, #6d3df0 0%, transparent 60%), linear-gradient(110deg, #4f29d4, #7c3aed 60%, #8b46f5); box-shadow: 0 12px 26px -12px rgba(124,58,237,.7); transition: transform .2s var(--ease), box-shadow .25s ease; }
#mobile-menu .promo:active { transform: scale(.99); }
#mobile-menu .promo .pspark { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
#mobile-menu .promo .pspark svg { width: 19px; height: 19px; color: #fff; }
#mobile-menu .promo .ptxt { flex: 1; min-width: 0; }
#mobile-menu .promo .ptxt b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; }
#mobile-menu .promo .ptxt span { display: block; font-size: 12px; color: rgba(255,255,255,.82); font-weight: 500; }
#mobile-menu .promo .parrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
#mobile-menu .promo .parrow svg { width: 15px; height: 15px; color: #fff; }

/* shared row anatomy: [icon tile] · [title + descriptor] · [trailing affordance] */
#mobile-menu .tile { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; transition: transform .3s var(--spring); }
#mobile-menu .tile svg { width: 21px; height: 21px; }
#mobile-menu .tile.purple { background: #f1ebfe; box-shadow: inset 0 0 0 1px #e7dcfb; color: var(--purple); }
#mobile-menu .tile.blue   { background: #e9f0fe; box-shadow: inset 0 0 0 1px #d9e6fc; color: var(--blue); }
#mobile-menu .tile.green  { background: #e6f5ec; box-shadow: inset 0 0 0 1px #d3edde; color: #1f9d55; }
#mobile-menu .rtext { flex: 1; min-width: 0; }
#mobile-menu .rtext .rt { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; display: flex; align-items: center; gap: 8px; }
#mobile-menu .rtext .rd { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px; line-height: 1.3; }

/* accordion group card */
#mobile-menu .acc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s ease; }
#mobile-menu .acc.open { box-shadow: var(--shadow-md); border-color: #e2def0; }
#mobile-menu .acc-head { width: 100%; background: none; border: 0; outline: none; cursor: pointer; display: flex; align-items: center; gap: 13px; padding: 14px; text-align: left; }
#mobile-menu .acc:has(.acc-head:focus-visible) { box-shadow: var(--shadow-md), 0 0 0 2px rgba(124,58,237,.5); }
#mobile-menu .acc-head:active .tile { transform: scale(.94); }
#mobile-menu .acc .count { font-size: 11.5px; font-weight: 800; color: var(--ink-faint); background: var(--bg); border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; }
#mobile-menu .chev { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: transform .4s var(--spring), background .25s ease, color .25s ease; }
#mobile-menu .chev svg { width: 17px; height: 17px; }
#mobile-menu .acc.open .chev { transform: rotate(180deg); background: #f1ebfe; box-shadow: inset 0 0 0 1px #e7dcfb; color: var(--purple); }
#mobile-menu .acc.open[data-accent="blue"] .chev { background: #e9f0fe; box-shadow: inset 0 0 0 1px #d9e6fc; color: var(--blue); }
#mobile-menu .acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
#mobile-menu .acc.open .acc-panel { grid-template-rows: 1fr; }
#mobile-menu .acc-inner { overflow: hidden; min-height: 0; }
#mobile-menu .acc-well { margin: 0 10px 10px; padding: 4px 6px; background: #faf9fc; border-radius: 13px; }
#mobile-menu .child { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 11px; position: relative; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .18s ease; }
#mobile-menu .acc.open .child { opacity: 1; transform: none; }
#mobile-menu .acc.open .child:nth-child(1) { transition-delay: .05s; }
#mobile-menu .acc.open .child:nth-child(2) { transition-delay: .09s; }
#mobile-menu .acc.open .child:nth-child(3) { transition-delay: .13s; }
#mobile-menu .acc.open .child:nth-child(4) { transition-delay: .17s; }
#mobile-menu .acc.open .child:nth-child(5) { transition-delay: .21s; }
#mobile-menu .acc.open .child:nth-child(6) { transition-delay: .25s; }
#mobile-menu .acc.open .child:nth-child(7) { transition-delay: .29s; }
#mobile-menu .acc.open .child:nth-child(8) { transition-delay: .33s; }
#mobile-menu .acc.open .child:nth-child(9) { transition-delay: .37s; }
#mobile-menu .child:active { background: #f0edf7; }
#mobile-menu .child .tile { width: 38px; height: 38px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); }
#mobile-menu .child .tile svg { width: 18px; height: 18px; }
#mobile-menu .child .rt { font-size: 14.5px; }
#mobile-menu .child .rd { font-size: 11.5px; margin-top: 1px; }
#mobile-menu .child .cgo { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; transition: transform .2s var(--ease); }
#mobile-menu .child:active .cgo { transform: translateX(2px); }
#mobile-menu .sbadge { font-size: 8.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #5b53e6; padding: 2px 6px; border-radius: 999px; }

/* "Get started" divider */
#mobile-menu .m-divider { display: flex; align-items: center; gap: 12px; margin: 6px 2px 14px; }
#mobile-menu .m-divider::before, #mobile-menu .m-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
#mobile-menu .m-divider span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* direct link rows (Features / Pricing) */
#mobile-menu .link-row { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 13px 14px; margin-bottom: 12px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .25s ease, border-color .2s ease; }
#mobile-menu .link-row:active { transform: scale(.99); }
#mobile-menu .link-row .lgo { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; transition: transform .2s var(--ease); }
#mobile-menu .link-row:active .lgo { transform: translateX(2px); }

/* footer: single Start free, single Log in, brand line */
/* display:block is explicit because landing/pricing carry a STALE inline `.mobile-menu .m-foot
   { display:flex }` from the old footer; an id-scoped block here overrides it so the items stack. */
#mobile-menu .m-foot { display: block; padding: 14px 0 8px; margin-top: 4px; border-top: 1px solid var(--line); }
#mobile-menu .cta { width: 100%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; border-radius: 999px; padding: 15px; letter-spacing: -.01em; box-shadow: 0 10px 24px -8px rgba(124,58,237,.6); text-decoration: none; transition: transform .18s var(--ease), box-shadow .25s ease; }
#mobile-menu .cta:active { transform: scale(.98); }
#mobile-menu .cta svg { width: 18px; height: 18px; }
#mobile-menu .m-login { display: block; text-align: center; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); padding: 14px 0 4px; text-decoration: none; }
#mobile-menu .m-login b { color: var(--ink); font-weight: 700; }
#mobile-menu .m-foot-note { text-align: center; font-size: 11.5px; color: var(--ink-faint); font-weight: 500; margin-top: 2px; }
#mobile-menu .m-brandline { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--ink-faint); font-size: 12px; }
#mobile-menu .m-brandline .logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 4px 10px -3px rgba(124,58,237,.5); }
#mobile-menu .m-brandline .logo-mark svg { width: 15px; height: 15px; color: #fff; }
#mobile-menu .m-brandline strong { color: var(--ink-soft); font-weight: 700; }
body.menu-open { overflow: hidden; }
