/* The site's top menu: Features opens a panel of every feature; a phone gets a menu button and a sheet. Shared by every marketing page (link it after the page's own CSS). */
.nav .nav-l { gap: 4px; }
.nav .nav-l > a, .nav .mg-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 500; color: #fff; background: none; border: 0; cursor: pointer; opacity: .92; transition: opacity .2s, background .2s; text-decoration: none; }
.nav .nav-l > a:hover, .nav .mg-btn:hover, .nav .has-mega.open .mg-btn { opacity: 1; background: rgba(255,255,255,.14); }
.nav .nav-l > a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav .mg-btn svg { width: 11px; height: 11px; transition: transform .25s var(--ease, ease); }
.nav .has-mega.open .mg-btn svg { transform: rotate(180deg); }
.has-mega { position: static; }
.mega { position: absolute; left: 50%; top: 100%; width: min(1060px, calc(100vw - 40px)); margin-top: -4px; padding: 14px; z-index: 95; opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.985); transform-origin: 50% 0; transition: opacity .22s ease, transform .28s var(--ease, ease), visibility 0s linear .28s; color: var(--ink, #1b1a20); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 26px; }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega-card { position: relative; overflow: hidden; background: #fff; border-radius: 26px; padding: 22px 22px 16px; box-shadow: 0 50px 90px -34px rgba(20,24,70,.6), 0 0 0 1px rgba(20,24,60,.06); }
.mega-card::before { content: ""; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,50,127,.16), transparent); pointer-events: none; }
.mega-card::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 40%; opacity: .5; background-image: radial-gradient(rgba(232,50,127,.35) 1px, transparent 1.2px); background-size: 14px 14px; mask-image: linear-gradient(to left, #000, transparent); -webkit-mask-image: linear-gradient(to left, #000, transparent); pointer-events: none; }
.mega-cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 14px; }
.mg-col h6 { margin: 0 0 8px 10px; font: 600 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #5f5d68); }
.mega .mg-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: start; padding: 10px; border-radius: 14px; color: var(--ink, #1b1a20); opacity: 1; text-decoration: none; transition: background .18s, transform .2s var(--ease, ease); }
.mega .mg-item:hover, .mega .mg-item:focus-visible { background: color-mix(in srgb, var(--c, #e8327f) 9%, #fff); transform: translateY(-1px); }
.mg-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--c, #e8327f); background: color-mix(in srgb, var(--c, #e8327f) 14%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #e8327f) 24%, transparent); }
.mg-ico svg { width: 19px; height: 19px; }
.mg-item b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.mg-item span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted, #5f5d68); font-weight: 400; }
.mega-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 4px 0; padding-top: 12px; border-top: 1px dashed rgba(0,0,0,.14); font-size: 13.5px; color: var(--muted, #5f5d68); }
.mega .mega-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cta-2, #c81f68); text-decoration: none; opacity: 1; }
.mega .mega-all:hover { color: var(--cta, #e8327f); }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; place-items: center; }
.nav-burger svg { width: 22px; height: 22px; }
.msheet { position: fixed; inset: 0; z-index: 120; display: none; overflow-y: auto; background: var(--paper, #f4f2ed); color: var(--ink, #1b1a20); padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 40px; }
.msheet.open { display: block; animation: ms-in .28s var(--ease, ease) both; } @keyframes ms-in { from { opacity: 0; transform: translateY(14px); } }
.ms-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ms-top .brand img.wm { height: 26px; width: auto; }
.ms-close { width: 42px; height: 42px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--hair, #e6e3dc); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink, #1b1a20); }
.ms-links { display: grid; gap: 4px; } .ms-links a, .ms-links summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 14px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: inherit; text-decoration: none; cursor: pointer; list-style: none; } .ms-links summary::-webkit-details-marker { display: none; }
.ms-links a:active, .ms-links summary:active { background: rgba(0,0,0,.05); }
.ms-feat { display: grid; gap: 2px; padding: 4px 4px 12px 8px; }
.ms-feat h6 { margin: 12px 0 4px 8px; font: 600 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #5f5d68); }
.ms-feat a { font-size: 16px; font-weight: 500; padding: 10px 8px; gap: 12px; justify-content: flex-start; } .ms-feat .mg-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; } .ms-feat .mg-ico svg { width: 17px; height: 17px; }
.ms-cta { display: grid; gap: 10px; margin-top: 22px; } .ms-cta .btn { justify-content: center; padding: 15px; font-size: 16px; }
@media (max-width: 960px) { .nav .nav-l { display: none; } .nav-burger { display: grid; } .nav .nav-r { gap: 8px; } .nav .nav-r .login { display: none; } }
@media (max-width: 420px) { .nav .nav-r .btn-cta { padding: 10px 12px; font-size: 13.5px; } }
@media (hover: none) { .mega { display: none; } }
body.ms-lock { overflow: hidden; }
.mega .mega-all { white-space: nowrap; } .mega .mega-all svg { width: 16px; height: 16px; flex: none; }
.ms-links summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; } .ms-links details[open] summary svg { transform: rotate(180deg); } .ms-links summary::-webkit-details-marker { display: none; }
