/* --------------------------------------------- Tidewell: the SaaS page */
.tw { font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; --focus: var(--p-deep); }
.tw-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 700; letter-spacing: -0.045em; color: #fff; }
.tw-logo i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--p); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.18); overflow: hidden; }
.tw-logo i::before, .tw-logo i::after { content: ""; position: absolute; left: -4px; right: -4px; height: 9px; border-radius: 50%; border-top: 2px solid #fff; }
.tw-logo i::before { top: 6px; }
.tw-logo i::after { top: 11px; opacity: 0.6; }
.tw-page { min-height: 100%; background: radial-gradient(70% 55% at 50% 0%, rgb(var(--p-rgb) / 0.38) 0%, rgb(var(--p-rgb) / 0) 70%), var(--deep3); color: var(--on-deep); padding-bottom: 80px; }
.tw-hero { display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(56px, 9cqh, 96px) 24px 36px; }
.tw-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 4px; border-radius: 999px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); font-size: 14px; color: var(--on-deep); }
.tw-pill-new { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--p); color: var(--p-ink); font-size: 12.5px; font-weight: 700; }
.tw-h1 { font-size: clamp(42px, 6.2cqw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.tw-h1 span { color: var(--p-deep); }
.tw-sub { max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--mut-deep); }
.tw-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tw-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15.5px; font-weight: 600; }
.tw-btn-p { background: var(--p); color: var(--p-ink); }
.tw-btn-g { color: var(--on-deep); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
.tw-shot { padding: 12px 24px 0; display: grid; justify-items: center; }
.tw-app { display: grid; grid-template-columns: 64px minmax(0, 1fr); width: min(980px, 100%); border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 40px 80px -30px rgb(0 0 0 / 0.6); color: var(--tx); }
.tw-side { display: grid; align-content: start; gap: 12px; padding: 18px 16px; background: var(--sf); border-right: 1px solid var(--line); }
.tw-side b { width: 32px; height: 32px; border-radius: 9px; background: var(--p); }
.tw-side i { width: 32px; height: 8px; border-radius: 4px; background: var(--line-2); }
.tw-side i.on { background: var(--p-txt); }
.tw-main { padding: 20px; display: grid; gap: 16px; }
.tw-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tw-kpi { padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.tw-kpi p { font-size: 12.5px; color: var(--mut); }
.tw-kpi strong { font-size: 26px; letter-spacing: -0.03em; font-weight: 700; }
.tw-kpi span { font-size: 12.5px; font-weight: 600; }
.tw-kpi .up { color: var(--p-txt); }
.tw-kpi .dn { color: var(--mut); }
.tw-chart { height: 150px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 0 0; overflow: hidden; }
.tw-chart svg { width: 100%; height: 100%; }
.tw-area { fill: rgb(var(--p-rgb) / 0.14); }
.tw-line { fill: none; stroke: var(--p); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tw-rows { display: grid; gap: 8px; }
.tw-rows i { height: 12px; border-radius: 6px; background: var(--sf); }
@container site (max-width: 767px) {
  .tw-app { grid-template-columns: minmax(0, 1fr); }
  .tw-side { display: none; }
  .tw-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tw-kpi:last-child { display: none; }
  .tw-sub { font-size: 16.5px; }
}

/* ------------------------------------------------------ today, as written */
.s-mt .mt-head { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; background-color: #000000; padding-left: 20px; padding-right: 20px; border-bottom: 1px solid #2A2A2A; }
.s-mt .mt-desk { display: flex; flex-direction: column; justify-content: center; width: 1100px; max-width: 100%; height: 70px; padding-top: 15px; padding-bottom: 15px; background-color: #000000; }
.s-mt .mt-row { display: flex; align-self: center; width: 100%; justify-content: space-between; align-items: center; }
.s-mt .mt-left { display: flex; column-gap: 60px; align-items: center; }
.s-mt .mt-logo { display: flex; position: relative; }
.s-mt .mt-logo .tw-logo { width: 150px; }
.s-mt .mt-links { display: flex; column-gap: 28px; align-items: center; }
.s-mt .mt-trig { display: flex; align-items: center; column-gap: 5px; justify-content: center; cursor: pointer; }
.s-mt .mt-trig p, .s-mt .mt-link { font-size: 15px; font-weight: 400; color: #FFFFFF; }
.s-mt .mt-ico { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 1.6; }
.s-mt .mt-lw { display: flex; align-items: center; }
.s-mt .mt-ctas { display: flex; column-gap: 8px; }
.s-mt .mt-btn { display: inline-block; font-size: 14px; font-weight: 400; padding: 6px 16px; border-radius: 8px; transition: all 0.3s ease; line-height: 1.5; }
.s-mt .mt-ghost { background-color: #FFFFFF; color: #0A0A0A; }
.s-mt .mt-primary { background-color: var(--p); color: var(--p-ink-today); }
.s-mt .bricksfusionmenu { margin-left: auto; margin-right: auto; max-width: 100%; background-color: #000000; padding: 15px; border-radius: 12px; border: 1px solid #2A2A2A; align-self: center; display: flex; align-items: center; justify-content: center; }
.s-mt .mt-wrap { display: flex; flex-direction: column; width: 100%; row-gap: 15px; }
.s-mt .mt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; }
.s-mt .mt-item { display: flex; align-items: flex-start; padding: 12px; border-radius: 10px; border: 1px solid #2A2A2A; background-color: #131316; transition: all 0.3s ease; cursor: pointer; }
.s-mt .mt-item:not(.mt-feat):hover { background-color: #1E1E22; }
.s-mt .mt-iw { display: flex; flex-direction: column; row-gap: 4px; }
.s-mt .mt-ih { display: flex; align-items: center; column-gap: 8px; }
.s-mt .mt-ih svg { width: 20px; height: 20px; fill: none; stroke: #888888; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-mt .mt-it { color: #FFFFFF; font-size: 14px; font-weight: 500; }
.s-mt .mt-id { color: #888888; font-size: 13px; font-weight: 300; }
.s-mt .mt-badge { color: #FFFFFF; font-size: 10px; font-weight: 400; padding: 2px 8px; border-radius: 4px; height: fit-content; line-height: 1.5; }
.s-mt .mt-feat { background-color: var(--p); border-color: var(--p); }
.s-mt .mt-feat .mt-it, .s-mt .mt-feat .mt-id { color: var(--p-ink-today); }
.s-mt .mt-feat .mt-ih svg { stroke: var(--p-ink-today); }
.s-mt .mt-foot { display: flex; flex-direction: column; row-gap: 12px; }
.s-mt .mt-hr { width: 100%; border: 0; border-top: 1px solid #2A2A2A; margin: 0; }
.s-mt .mt-frow { display: flex; justify-content: space-between; align-items: center; }
.s-mt .mt-fh { color: #FFFFFF; font-size: 14px; font-weight: 400; }
.s-mt .mt-fs { color: #888888; font-size: 13px; font-weight: 300; }
.s-mt .mt-fbtn { display: inline-block; color: #FFFFFF; font-size: 13px; font-weight: 400; padding: 8px 16px; border-radius: 8px; border: 1px solid #2A2A2A; background-color: rgba(0, 0, 0, 0); line-height: 1.5; }
.s-mt .mt-fbtn:hover { color: #FFFFFF; border-color: #FFFFFF; }
/* the style generateDesktopCode() injects: cinematic, normal speed, fill */
.s-mt.bf-loading .bricksfusionmenu { opacity: 0 !important; visibility: hidden !important; }
.s-mt .bricksfusionmenu { opacity: 0; visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); transform: translateY(-3px); position: absolute; top: 100%; left: 0; right: 0; z-index: 9999; transition: opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1), clip-path 0.55s cubic-bezier(0.19, 1, 0.22, 1), transform 0.55s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0.55s; will-change: opacity, clip-path, transform; }
.s-mt .bricksfusionmenu.active { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0 0 0% 0); transform: translateY(0); transition: opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1), clip-path 0.55s cubic-bezier(0.19, 1, 0.22, 1), transform 0.55s cubic-bezier(0.19, 1, 0.22, 1); }
.s-mt .bricksfusionmenu > * { opacity: 0; transform: translateY(-6px); transition: opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1) 0.12s, transform 0.55s cubic-bezier(0.19, 1, 0.22, 1) 0.12s; will-change: opacity, transform; }
.s-mt .bricksfusionmenu.active > * { opacity: 1; transform: translateY(0); }
.s-mt [trigger-main] { transition: background-color 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s cubic-bezier(0.19, 1, 0.22, 1), border-radius 0.25s cubic-bezier(0.19, 1, 0.22, 1); position: relative; z-index: 1; will-change: background-color, box-shadow, border-radius; }
.s-mt [trigger-main].active-trigger { background-color: rgba(255, 255, 255, 1); border-radius: 6px; padding: 4px 8px; margin: -4px -8px; z-index: 1000; }
.s-mt [trigger-main].active-trigger, .s-mt [trigger-main].active-trigger * { color: #000000 !important; stroke: #000000; }
.s-mt .bricksfusionmenu.instant-close, .s-mt .bricksfusionmenu.instant-close > * { transition: none !important; }
.s-mt .bf-blur-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.05); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; }
.s-mt .bf-blur-overlay.active { opacity: 1; visibility: visible; }
/* mobile: Bricks toggle, offcanvas and static dropdowns */
.s-mt .mt-mob { display: none; flex-direction: row; justify-content: space-between; align-items: center; width: 1100px; max-width: 100%; }
.s-mt .mt-tog { position: relative; z-index: 9999; display: inline-flex; padding: 10px 0; }
.s-mt .mt-box { position: relative; display: inline-block; width: 28px; height: 18px; }
.s-mt .mt-inner, .s-mt .mt-inner::before, .s-mt .mt-inner::after { position: absolute; width: 28px; height: 2px; background-color: #FFFFFF; border-radius: 2px; }
.s-mt .mt-inner { top: 2px; transition: background-color 0s linear 0.13s; }
.s-mt .mt-inner::before { content: ""; top: 7px; transition: top 0.1s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.s-mt .mt-inner::after { content: ""; top: 14px; transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.s-mt .mt-tog.is-active .mt-inner { transition-delay: 0.22s; background-color: transparent; }
.s-mt .mt-tog.is-active .mt-inner::before { top: 0; transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.15s, transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s; transform: translate3d(0, 7px, 0) rotate(45deg); }
.s-mt .mt-tog.is-active .mt-inner::after { top: 0; transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s cubic-bezier(0.215, 0.61, 0.355, 1) 0.22s; transform: translate3d(0, 7px, 0) rotate(-45deg); }
.s-mt .mt-logo-m { display: flex; position: relative; z-index: 999; }
.s-mt .mt-logo-m .tw-logo { width: 128px; font-size: 19px; }
.s-mt .mt-ofc { position: fixed; inset: 0; z-index: 10000; pointer-events: none; visibility: hidden; transition: visibility 0s linear 0.3s; }
.s-mt .mt-ofc.brx-open { pointer-events: auto; visibility: visible; transition: none; }
.s-mt .mt-ofc-inner { position: absolute; top: 0; left: 0; bottom: 0; width: 50%; background-color: #000000; transform: translateX(-100%); transition: transform 0.3s ease; display: flex; }
.s-mt .mt-ofc.brx-open .mt-ofc-inner { transform: none; }
.s-mt .BF-menu { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 120px 30px 50px; row-gap: 20px; }
.s-mt .mt-oitems { display: flex; flex-direction: column; width: 100%; row-gap: 10px; }
.s-mt .brx-submenu-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 6px; font-size: 16px; font-weight: 300; color: #FFFFFF; cursor: pointer; }
.s-mt .brx-submenu-toggle button svg { width: 16px; height: 16px; fill: none; stroke: #FFFFFF; stroke-width: 1.6; }
.s-mt .mt-ol a { font-size: 16px; font-weight: 300; color: #FFFFFF; }
.s-mt .mt-octas { display: flex; flex-direction: column; width: 100%; row-gap: 10px; }
.s-mt .mt-obtn { display: block; text-align: center; font-size: 15px; font-weight: 400; padding: 10px 15px; border-radius: 10px; }
.s-mt .brxe-dropdown[data-static] .brx-dropdown-content { display: flex; flex-direction: column; row-gap: 10px; position: fixed; top: 0; left: 0; width: 100%; height: fit-content; min-height: 100%; box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.10), 0px 3px 3px rgba(3, 7, 18, 0.08), 0px 6px 6px rgba(3, 7, 18, 0.06); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); visibility: visible; transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1000; background-color: #000000; padding: 140px 20px 20px; overflow: auto; }
.s-mt .brxe-dropdown[data-static].open > .brx-dropdown-content { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.s-mt .brxe-dropdown[data-static] .brx-dropdown-content > * { opacity: 0; transform: translateX(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.s-mt .brxe-dropdown[data-static].open .brx-dropdown-content > * { opacity: 1; transform: translateX(0); transition-delay: 0.2s; }
.s-mt .brxe-dropdown[data-static] .brx-dropdown-content.closing { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
.s-mt .brxe-dropdown[data-static] .brx-dropdown-content.closing > * { opacity: 0; transform: translateX(20px); transition: opacity 0.3s ease, transform 0.3s ease; transition-delay: 0s; }
.s-mt .mt-back { display: flex; flex-direction: row; align-items: center; column-gap: 8px; cursor: pointer; width: fit-content; color: #FFFFFF; }
.s-mt .mt-back svg { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 1.6; }
.s-mt .mt-back p { font-size: 16px; font-weight: 300; }
.s-mt .mt-body.menu-open { overflow: hidden !important; }
@container site (max-width: 991px) {
  .s-mt .mt-head { z-index: 99999; }
  .s-mt .mt-desk, .s-mt .bricksfusionmenu { display: none; }
  .s-mt .mt-mob { display: flex; padding-top: 12px; padding-bottom: 12px; }
}
@container site (max-width: 767px) {
  .s-mt .mt-ofc-inner { width: 100%; }
}
@container site (max-width: 478px) {
  .s-mt .BF-menu { padding-top: 140px; padding-bottom: 50px; }
  .s-mt .mt-logo-m .tw-logo { width: 128px; }
}

/* -------------------------------------------------------------- improved */
.s-mb .mb-scroll { padding-top: 72px; }
.s-mb .mb-head { position: absolute; z-index: 40; top: 0; left: 0; right: 0; height: 72px; transition: transform 0.36s cubic-bezier(0.3, 0.7, 0.1, 1); }
.s-mb .mb-head::before { content: ""; position: absolute; inset: 0; background: var(--deep); box-shadow: inset 0 -1px 0 var(--line-deep); transform-origin: 50% 0; transition: transform 0.36s cubic-bezier(0.3, 0.7, 0.1, 1); }
/* data-bf-sticky: shrink folds the bar to 56 px, hide sends it up while you read down */
.s-mb.is-shrunk .mb-head::before { transform: scaleY(0.7778); }
.s-mb.is-shrunk .mb-bar { translate: 0 -8px; }
.s-mb.is-shrunk .mb-surface, .s-mb.is-shrunk .mb-pane { translate: 0 -16px; }
.s-mb.is-hid .mb-head { transform: translateY(-100%); }
.s-mb .mb-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 36px; height: 72px; max-width: 1160px; margin: 0 auto; padding: 0 24px; transition: translate 0.36s cubic-bezier(0.3, 0.7, 0.1, 1); }
.s-mb .mb-nav { position: static; }
.s-mb .mb-list { display: flex; gap: 2px; }
.s-mb .mb-trig { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--on-deep); transition: color 0.25s; }
.s-mb .mb-trig svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.s-mb .mb-trig[aria-expanded="true"] { color: var(--deep); }
.s-mb .mb-trig[aria-expanded="true"] svg { transform: rotate(180deg); }
.s-mb .mb-trig:not([aria-expanded="true"]):hover { color: var(--p-deep); }
.s-mb .mb-fill { position: absolute; z-index: 0; top: 17px; left: 0; height: 38px; width: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.s-mb .mb-fill.is-on { opacity: 1; }
.s-mb .mb-fill i { position: absolute; top: 0; left: 0; height: 38px; background: var(--on-deep); transform-origin: 0 0; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
.s-mb .mb-fill .l { width: 19px; border-radius: 19px 0 0 19px; }
.s-mb .mb-fill .r { width: 19px; border-radius: 0 19px 19px 0; }
.s-mb .mb-fill .m { width: 10px; }
.s-mb .mb-fill.is-snap i { transition: none; }
.s-mb .mb-ctas { margin-left: auto; display: flex; gap: 10px; }
.s-mb .mb-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.s-mb .mb-ghost { color: var(--on-deep); box-shadow: inset 0 0 0 1px var(--line-deep); }
.s-mb .mb-ghost:hover { box-shadow: inset 0 0 0 1px var(--on-deep); }
.s-mb .mb-primary { background: var(--p); color: var(--p-ink); }
.s-mb .mb-mtog { display: none; }
/* the Buscar slot (data-bf-search): a button in the bar, a pane in the same surface */
.s-mb[data-bf-search="off"] .mb-sli, .s-mb[data-bf-search="off"] .mb-msearch, .s-mb[data-bf-search="off"] .mb-mres, .s-mb[data-bf-search="off"] .mb-mcount { display: none; }
.s-mb .mb-sli { margin-left: 6px; }
.s-mb .mb-strig { width: 38px; padding: 0; justify-content: center; }
.s-mb .mb-strig svg { width: 18px; height: 18px; stroke-width: 2.2; }
.s-mb .mb-strig[aria-expanded="true"] svg { transform: none; }
.s-mb .mb-sbox { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border-radius: calc(var(--bf-menu-radius, 18px) * 0.67); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line-deep2); color: var(--on-deep); }
.s-mb .mb-sbox svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mut-deep2); stroke-width: 2; stroke-linecap: round; }
.s-mb .mb-q { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 17px; font-weight: 600; color: var(--on-deep); }
.s-mb .mb-q::placeholder { color: var(--mut-deep2); font-weight: 500; }
.s-mb .mb-q::-webkit-search-cancel-button { display: none; }
.s-mb .mb-sbox kbd { font: 600 11px/1 "Geist Mono", ui-monospace, monospace; padding: 4px 6px; border-radius: 6px; color: var(--mut-deep2); box-shadow: inset 0 0 0 1px var(--line-deep2); }
.s-mb .mb-sbox:focus-within { box-shadow: inset 0 0 0 2px var(--p-deep2); }
.s-mb .mb-scount { padding: 12px 4px 6px; font-size: 13px; color: var(--mut-deep2); min-height: 40px; }
.s-mb .mb-sres { display: grid; gap: 4px; }
.s-mb .mb-sres a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: calc(var(--bf-menu-radius, 18px) * 0.56); color: var(--on-deep); transition: background-color 0.15s; }
.s-mb .mb-sres a:hover, .s-mb .mb-sres a:focus-visible { background: rgb(255 255 255 / 0.08); }
.s-mb .mb-sres .t { font-size: 15px; font-weight: 700; }
.s-mb .mb-sres .t mark { background: none; color: var(--p-deep2); }
.s-mb .mb-sres .d { display: block; font-size: 13px; font-weight: 400; color: var(--mut-deep2); margin-top: 2px; }
.s-mb .mb-sres .g { flex: none; font: 500 11.5px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mut-deep2); }
.s-mb .mb-sall { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--line-deep2); font-size: 14px; font-weight: 600; color: var(--on-deep); }
.s-mb .mb-sall code { font: 500 12px/1 "Geist Mono", ui-monospace, monospace; color: var(--mut-deep2); }
.s-mb .mb-sall:hover .mb-sall-t { text-decoration: underline; text-underline-offset: 3px; }

.s-mb .mb-surface { position: absolute; z-index: 1; top: 82px; left: 50%; width: var(--bf-menu-width, 720px); margin-left: calc(var(--bf-menu-width, 720px) / -2); pointer-events: none; transition: translate 0.36s cubic-bezier(0.3, 0.7, 0.1, 1); }
.s-mb .mb-bg { position: absolute; top: 0; left: 0; right: 0; height: 200px; border-radius: var(--bf-menu-radius, 18px); background: var(--deep2); box-shadow: inset 0 0 0 1px var(--line-deep2), 0 40px 80px -30px rgb(0 0 0 / 0.55); transform-origin: 50% 0; opacity: 0; transform: translateY(-8px) scale(0.985); transition: opacity 0.22s, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; }
.s-mb.is-panel .mb-bg { opacity: 1; transform: none; }
.s-mb .mb-pane { position: absolute; z-index: 2; top: 82px; left: 50%; width: var(--bf-menu-width, 720px); margin-left: calc(var(--bf-menu-width, 720px) / -2); padding: 14px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.34s; }
.s-mb .mb-pane.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity 0.24s 0.04s, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.s-mb .mb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s-mb .mb-pane .mb-grid > li, .s-mb .mb-pane .mb-foot { opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.s-mb .mb-pane.is-on .mb-grid > li, .s-mb .mb-pane.is-on .mb-foot { opacity: 1; transform: none; transition-delay: calc(60ms + var(--k) * 28ms); }
.s-mb .mb-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: calc(var(--bf-menu-radius, 18px) * 0.67); background: rgb(255 255 255 / 0.035); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); transition: background-color 0.2s, box-shadow 0.2s; color: var(--on-deep); }
.s-mb .mb-item:hover { background: rgb(255 255 255 / 0.075); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.s-mb .mb-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgb(var(--p-rgb) / 0.24); color: var(--p-deep2); }
.s-mb .mb-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.s-mb .mb-tx { display: grid; gap: 2px; min-width: 0; }
.s-mb .mb-it { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.s-mb .mb-id { font-size: 13.5px; line-height: 1.45; color: var(--mut-deep2); }
.s-mb .mb-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.01em; background: rgb(255 255 255 / 0.12); color: var(--on-deep); }
.s-mb .mb-new { background: var(--a); color: var(--a-ink); }
.s-mb .mb-feat { background: var(--p); box-shadow: none; }
.s-mb .mb-feat:hover { background: var(--p); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.35); }
.s-mb .mb-feat .mb-it, .s-mb .mb-feat .mb-id { color: var(--p-ink); }
.s-mb .mb-feat .mb-ico { background: rgb(255 255 255 / 0.18); color: var(--p-ink); }
.s-mb .mb-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 4px 2px; border-top: 1px solid var(--line-deep2); }
.s-mb .mb-fh { font-size: 14.5px; font-weight: 700; color: var(--on-deep); }
.s-mb .mb-fs { font-size: 13.5px; color: var(--mut-deep2); }
.s-mb .mb-fbtn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-deep); box-shadow: inset 0 0 0 1px var(--line-deep2); transition: background-color 0.2s, color 0.2s; }
.s-mb .mb-fbtn:hover { background: var(--on-deep); color: var(--deep2); }
.s-mb .mb-dim { position: absolute; z-index: 30; top: 56px; left: 0; right: 0; bottom: 0; background: rgb(var(--deep-rgb) / var(--bf-menu-dim, 0.42)); -webkit-backdrop-filter: blur(var(--bf-menu-blur, 6px)); backdrop-filter: blur(var(--bf-menu-blur, 6px)); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.s-mb.is-panel .mb-dim { opacity: 1; visibility: visible; transition: opacity 0.25s; }
.s-mb .mb-m { display: none; }

@container site (max-width: 991px) {
  .s-mb .mb-head { height: 64px; }
  .s-mb .mb-bar { height: 64px; padding: 0 16px; }
  .s-mb .mb-scroll { padding-top: 64px; }
  .s-mb .mb-nav, .s-mb .mb-ctas, .s-mb .mb-surface, .s-mb .mb-dim { display: none; }
  .s-mb .mb-mtog { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: var(--on-deep); font-size: 15px; font-weight: 600; }
  .s-mb .mb-mi { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--on-deep); }
  .s-mb .mb-mi i { position: absolute; left: 8px; right: 8px; height: 1.5px; border-radius: 2px; background: var(--deep); transition: transform 0.32s cubic-bezier(0.7, 0, 0.2, 1); }
  .s-mb .mb-mi i:first-child { top: 11px; }
  .s-mb .mb-mi i:last-child { top: 16px; }
  .s-mb.is-mopen .mb-mi i:first-child { transform: translateY(2.5px) rotate(45deg); }
  .s-mb.is-mopen .mb-mi i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .s-mb .mb-m { display: block; position: absolute; z-index: 35; top: 64px; left: 0; right: 0; bottom: 0; background: var(--deep); transform: translateX(-100%); visibility: hidden; transition: transform 0.36s cubic-bezier(0.3, 0.7, 0.1, 1), visibility 0s linear 0.36s; }
  .s-mb.is-mopen .mb-m { transform: none; visibility: visible; transition: transform 0.36s cubic-bezier(0.3, 0.7, 0.1, 1), visibility 0s; }
  .s-mb .mb-views { position: absolute; inset: 0 0 86px 0; overflow: hidden; }
  .s-mb .mb-view { position: absolute; inset: 0; overflow-y: auto; padding: 14px 20px 24px; transition: transform 0.34s cubic-bezier(0.3, 0.7, 0.1, 1), opacity 0.24s, visibility 0s linear 0.34s; }
  /* the root view shows at once when the menu opens (focus goes straight in); it only waits to hide when pushed */
  .s-mb .mb-root { transform: none; transition: transform 0.34s cubic-bezier(0.3, 0.7, 0.1, 1), opacity 0.24s, visibility 0s; }
  .s-mb .mb-root.is-pushed { transform: translateX(-28%); opacity: 0; visibility: hidden; transition: transform 0.34s cubic-bezier(0.3, 0.7, 0.1, 1), opacity 0.24s, visibility 0s linear 0.34s; }
  .s-mb .mb-sub { transform: translateX(100%); visibility: hidden; }
  .s-mb .mb-sub.is-on { transform: none; visibility: visible; transition: transform 0.34s cubic-bezier(0.3, 0.7, 0.1, 1), opacity 0.24s, visibility 0s; }
  .s-mb .mb-mlist > li > * { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 68px; font-size: 28px; font-weight: 600; letter-spacing: -0.035em; color: var(--on-deep); border-bottom: 1px solid var(--line-deep); }
  .s-mb .mb-mlist svg { width: 24px; height: 24px; fill: none; stroke: var(--mut-deep); stroke-width: 1.8; stroke-linecap: round; }
  .s-mb .mb-mlist > li { opacity: 0; transform: translateX(-16px); transition: opacity 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .s-mb.is-mopen .mb-mlist > li { opacity: 1; transform: none; transition-delay: calc(140ms + var(--k) * 45ms); }
  .s-mb .mb-back { display: inline-flex; align-items: center; gap: 4px; height: 40px; margin-left: -6px; padding: 0 8px 0 2px; font-size: 15px; font-weight: 600; color: var(--mut-deep); }
  .s-mb .mb-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .s-mb .mb-vt { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; color: var(--on-deep); margin: 4px 0 14px; }
  .s-mb .mb-mcards { display: grid; gap: 8px; }
  .s-mb .mb-msearch { display: flex; align-items: center; gap: 10px; height: 48px; margin: 2px 0 6px; padding: 0 14px; border-radius: 14px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px var(--line-deep); color: var(--on-deep); }
  .s-mb .mb-msearch svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--mut-deep); stroke-width: 2; stroke-linecap: round; }
  .s-mb .mb-msearch:focus-within { box-shadow: inset 0 0 0 2px var(--p-deep); }
  .s-mb .mb-msearch .mb-q::placeholder { color: var(--mut-deep); }
  .s-mb .mb-mcount { color: var(--mut-deep); min-height: 0; padding: 6px 2px; }
  .s-mb .mb-mcount:empty { display: none; }
  .s-mb .mb-mres a { padding: 12px 4px; border-bottom: 1px solid var(--line-deep); border-radius: 0; }
  .s-mb .mb-mres .d, .s-mb .mb-mres .g { color: var(--mut-deep); }
  .s-mb .mb-mres .t mark { color: var(--p-deep); }
  .s-mb.is-mq .mb-mlist { display: none; }
  .s-mb .mb-mcards .mb-id { color: var(--mut-deep); }
  .s-mb .mb-mctas { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 22px; background: var(--deep); box-shadow: inset 0 1px 0 var(--line-deep); }
  .s-mb .mb-mctas .mb-btn { height: 48px; }
}

html.rm .s-mb .mb-fill i { transition: none !important; }
html.rm .s-mb .mb-trig svg, html.rm .s-mb .mb-mi i { transition: none !important; }
html.rm .s-mb .mb-bg, html.rm .s-mb .mb-pane, html.rm .s-mb .mb-pane .mb-grid > li, html.rm .s-mb .mb-pane .mb-foot, html.rm .s-mb .mb-m, html.rm .s-mb .mb-view, html.rm .s-mb .mb-mlist > li { transform: none !important; transition-property: opacity, visibility !important; transition-duration: 0.18s !important; transition-delay: 0s !important; }
