/* booming mobile (H5) native-style layer. Loaded only at <=768px. */
:root {
  --m-h1: 34px; --m-h2: 24px; --m-body: 16px; --m-gap: 20px; --m-pad: 20px;
  --m-nav: 56px; --m-safe-b: env(safe-area-inset-bottom, 0px); --m-safe-t: env(safe-area-inset-top, 0px);
  --m-radius: 22px;
}
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { font-size: var(--m-body); -webkit-tap-highlight-color: transparent; padding-bottom: calc(84px + var(--m-safe-b)); overscroll-behavior-y: none; }
body.m-lock { overflow: hidden; }
input, button, textarea { font-size: 16px; }
.container { width: auto; max-width: none; margin-inline: var(--m-pad); }
.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.btn:hover, .story:hover, .bos-card:hover, .res:hover, .block-art:hover { transform: none; box-shadow: none; }
.btn, .bos-card, .res, .m-seg button, .m-tabs button, .m-cta button, .ns-group a { transition: transform .15s, background-color .2s, color .2s; }
.btn:active, .res:active, .bos-card:active, .m-seg button:active, .m-tabs button:active, .m-cta button:active { transform: scale(.97); }
.ns-group a:active { background: #f3f2fb; }
.btn { min-height: 44px; }

/* ---- top bar ---- */
.nav, .nav.solid { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: transparent; padding-top: var(--m-safe-t); }
.nav::before { content: ""; position: absolute; inset: 0; background: #ffffffc7; -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid #1b1a6e12; opacity: 0; transition: opacity .25s; pointer-events: none; }
.nav.scrolled::before, .menu-open .nav::before { opacity: 1; }
.menu-open .nav { z-index: 70; background: transparent; }
.nav-inner { height: var(--m-nav); position: relative; }
.logo-wide { height: 28px; }
.nav-cta .btn { display: none; }
.nav-burger { display: block; width: 44px; height: 44px; margin-right: -10px; background: transparent; }
.nav-burger i { left: 11px; right: 11px; }
.nav-burger i:first-child { top: 17px; } .nav-burger i:last-child { top: 25px; }
.menu-open .nav-burger { opacity: 0; pointer-events: none; }
body { padding-top: 0; }
.nav.solid ~ section:first-of-type, .nav.solid + .page-hero { padding-top: calc(var(--m-nav) + 28px); }
header.nav.solid + section { padding-top: calc(var(--m-nav) + 28px); }

/* ---- right drawer ---- */
.m-scrim { position: fixed; inset: 0; background: #0b0a1a66; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 69; }
.menu-open .m-scrim { opacity: 1; visibility: visible; }
.nav-sheet { display: block; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 86%; max-width: 360px; padding: calc(var(--m-nav) + var(--m-safe-t)) 22px calc(28px + var(--m-safe-b)); border-radius: 24px 0 0 24px; background: #fff; box-shadow: -20px 0 60px #0b0a1a33; transform: translateX(104%); opacity: 1; visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility .32s; z-index: 70; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.menu-open .nav-sheet { transform: none; visibility: visible; }
.nav-sheet.dragging { transition: none; }
.m-close { position: absolute; top: calc(6px + var(--m-safe-t)); right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f3f2fb; font-size: 0; cursor: pointer; }
.m-close::before, .m-close::after { content: ""; position: absolute; left: 14px; right: 14px; top: 21px; height: 2px; border-radius: 2px; background: #14121f; transform: rotate(45deg); }
.m-close::after { transform: rotate(-45deg); }
.ns-group { padding: 10px 0 12px; border-bottom: 1px solid #ecebf7; }
.ns-group p { font-size: 12px; margin: 8px 0 4px; }
.ns-group a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; margin: 0 -12px; border-radius: 12px; font-size: 17px; }
.ns-actions { gap: 12px; margin-top: 26px; }
.ns-actions .btn { display: inline-flex; min-height: 50px; }

/* ---- bottom CTA bar ---- */
.m-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--m-pad) calc(10px + var(--m-safe-b)); background: #ffffffd9; -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid #1b1a6e12; transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; gap: 12px; }
.m-cta.show { transform: none; }
.m-cta span { flex: 1; font-size: 13px; line-height: 1.3; color: #4a4a62; }
.m-cta span b { display: block; font-size: 15px; color: var(--ink); }
.m-cta button { flex: none; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(100deg, #1f46ff, #8a3ff2); color: #fff; font-weight: 600; font-family: inherit; cursor: pointer; }
.menu-open .m-cta, .m-sheet-open .m-cta { transform: translateY(110%); }

/* ---- bottom sheet ---- */
.m-sheet-wrap { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.m-sheet-open .m-sheet-wrap { visibility: visible; }
.m-sheet-bg { position: absolute; inset: 0; background: #0b0a1a73; opacity: 0; transition: opacity .25s; }
.m-sheet-open .m-sheet-bg { opacity: 1; }
.m-sheet { position: absolute; left: 0; right: 0; bottom: var(--kb, 0px); background: #fff; border-radius: 28px 28px 0 0; padding: 10px var(--m-pad) calc(24px + var(--m-safe-b)); transform: translateY(105%); transition: transform .34s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px #0b0a1a33; }
.m-sheet-open .m-sheet { transform: none; }
.m-sheet.dragging { transition: none; }
.m-handle { display: block; width: 100%; height: 26px; padding: 8px 0; background: transparent; border: 0; touch-action: none; }
.m-handle::after { content: ""; display: block; width: 40px; height: 5px; border-radius: 5px; background: #d8d6ea; margin: 0 auto; }
.m-sheet h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
.m-sheet .m-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.m-sheet form { margin-top: 18px; display: grid; gap: 12px; }
.m-sheet input { height: 54px; border: 1.5px solid #d9d7ec; border-radius: 16px; padding: 0 18px; font-family: inherit; outline: none; background: #fafaff; width: 100%; }
.m-sheet input:focus { border-color: #5b5bff; background: #fff; box-shadow: 0 0 0 4px #2f4bff14; }
.m-sheet.invalid input { border-color: #e0a29d; box-shadow: 0 0 0 4px #e5645c1a; }
.m-sheet .btn-grad { height: 54px; font-size: 17px; border: 0; width: 100%; }
.m-sheet .m-msg { min-height: 18px; font-size: 13px; color: #b4524b; padding-left: 4px; }
.m-sheet .m-msg:empty { display: none; }
.m-sheet .m-note { font-size: 12px; color: #8a8aa0; text-align: center; margin-top: 2px; }
.m-done { display: none; text-align: center; padding: 18px 0 8px; }
.m-sheet.done form, .m-sheet.done .m-sub, .m-sheet.done h3 { display: none; }
.m-sheet.done .m-done { display: block; }
.m-done i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, #1f46ff, #8a3ff2); animation: mPop .4s cubic-bezier(.2,1.4,.4,1); }
.m-done i::before { content: ""; width: 22px; height: 12px; border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff; transform: translateY(-3px) rotate(-45deg); }
.m-done b { display: block; font-size: 20px; }
.m-done p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@keyframes mPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- toast ---- */
.site-toast { top: calc(var(--m-nav) + var(--m-safe-t) + 10px); bottom: auto; transform: translate(-50%, -14px); z-index: 90; }
.site-toast.on { transform: translate(-50%, 0); }

/* ---- hero ---- */
.hero { min-height: 0; display: block; }
.hero-inner { display: block; padding: calc(var(--m-nav) + var(--m-safe-t) + 24px) 0 36px; }
.eyebrow { font-size: 13px; padding: 6px 14px; }
.hero h1 { margin-top: 18px; font-size: var(--m-h1); line-height: 1.06; letter-spacing: -0.035em; }
.hero p.lead { margin-top: 14px; font-size: 18px; line-height: 1.45; }
.hero p.lead2 { margin-top: 6px; font-size: 14px; }
.email-pill, .form-msg, .hero-channels, .hero-stage .f1, .hero-stage .f2, .hero-stage .f3 { display: none !important; }
.m-hero-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.m-hero-actions .btn { height: 52px; font-size: 16px; }
.m-hero-actions .btn-ghost { background: #ffffffb3; border: 1px solid #1b1a6e1f; color: var(--purple-deep); }
.hero-stage { display: block; height: auto; margin-top: 26px; }
.hero-stage .card, .hero-stage .c-main { position: relative; transform: none !important; width: auto; left: auto; top: auto; padding: 16px; border-radius: 22px; box-shadow: 0 18px 44px #1b1a6e1f; }
.c-main .card-head { margin-bottom: 8px; }
.c-main .bubble { font-size: 14px; padding: 10px 14px; margin-top: 8px; opacity: 0; transform: translateY(8px); animation: mBub .5s ease forwards; }
.c-main .bubble:nth-of-type(2) { animation-delay: .3s; } .c-main .bubble:nth-of-type(3) { animation-delay: 1.1s; } .c-main .bubble:nth-of-type(4) { animation-delay: 1.9s; }
@keyframes mBub { to { opacity: 1; transform: none; } }

/* ---- section rhythm ---- */
section { scroll-margin-top: var(--m-nav); }
.section-head { text-align: left; margin: 0 0 20px; }
.section-head h2, .platform h2 { font-size: var(--m-h2); line-height: 1.2; letter-spacing: -0.02em; }
.section-head p, .platform .sub { font-size: 15px; margin-top: 8px; }
.platform, .why, .stories, .bos, .resources, .sec { padding: 44px 0; }
.features { padding-top: 12px; }

/* ---- engine ---- */
.platform-grid { display: flex; flex-direction: column; gap: 18px; }
.platform-grid > div:not(.engine-fig) { order: -1; }
.platform .bullets { display: none; }
.engine-fig { max-width: 420px; margin: 0 auto; width: 100%; overflow: visible; }
.engine-svg { width: 100%; max-height: 270px; margin: 0; }
.engine-svg .leader { display: none; }
.engine-svg .lyr { transition: opacity .35s, transform .35s; }
.engine-svg .lyr.dim { opacity: .28; }
.engine-fig:hover .l-top, .engine-fig:hover .l-bot { transform: none; }
.engine-labels { display: flex; flex-direction: row-reverse; gap: 6px; margin-top: 14px; padding: 4px; background: #f1f0fb; border-radius: 16px; }
.engine-labels li { position: static; width: auto; transform: none; flex: 1; display: grid; gap: 0; justify-items: center; text-align: center; padding: 8px 4px; border-radius: 12px; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.engine-labels li.on { background: #fff; box-shadow: 0 2px 10px #1b1a6e1f; }
.engine-labels .n { font-size: 10.5px; }
.engine-labels b { font-size: 12.5px; }
.engine-labels small { display: none; }
.eng-desc { margin-top: 12px; text-align: center; font-size: 15px; color: #4a4a62; min-height: 46px; animation: mFade .3s; }
@keyframes mFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- product tabs + swipe track ---- */
.features .section-head { margin-bottom: 14px; }
.m-tabs { position: sticky; top: calc(var(--m-nav) + var(--m-safe-t)); z-index: 20; display: flex; gap: 6px; padding: 8px 0; margin: 0 calc(var(--m-pad) * -1) 12px; padding-inline: var(--m-pad); background: #ffffffe6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tabs button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #f1f0fb; color: #4a4a62; font: 600 14px/1 var(--font, inherit); cursor: pointer; }
.m-tabs button[aria-selected="true"] { background: #14121f; color: #fff; }
.m-track, .m-swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--m-pad) * -1); padding: 4px var(--m-pad) 8px; position: relative; overscroll-behavior-x: contain; }
.m-track::-webkit-scrollbar, .m-swipe::-webkit-scrollbar { display: none; }
.m-track > *, .m-swipe > * { scroll-snap-align: center; flex: 0 0 84%; min-width: 0; }
.m-swipe > .res, .m-swipe.res-swipe > * { flex-basis: 74%; }
.m-track .block { display: flex; flex-direction: column; gap: 14px; padding: 20px; margin: 0; border-radius: 26px; box-shadow: none; height: auto; }
.m-track .block > div:first-child { order: 1; display: flex; flex-direction: column; flex: 1; }
.m-track .block-art { order: 0; min-height: 0; height: 130px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.m-track .block-art svg.art { height: 112px; width: auto; max-width: 90%; }
.m-track .block h3 { font-size: 22px; line-height: 1.2; margin-top: 12px; }
.m-track .block p { font-size: 15px; line-height: 1.5; margin-top: 10px; }
.m-track .proof { display: none; }
.m-track .pills { margin-top: 14px; gap: 6px; }
.m-track .pills i { font-size: 12px; padding: 5px 11px; }
.m-track .block .btn { margin-top: auto; align-self: flex-start; }
.m-track .block .pills + .btn { margin-top: 18px; }
.m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.m-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d0cee6; transition: width .25s, background-color .25s; }
.m-dots i.on { width: 18px; border-radius: 4px; background: #5b5bff; }

/* ---- unified comparison ---- */
.m-cmp-on { display: none; }
.m-cmp { background: #f6f5fb; border-radius: 24px; padding: 8px; }
.m-seg { display: flex; gap: 4px; padding: 4px; background: #e9e7f7; border-radius: 16px; }
.m-seg button { flex: 1; height: 44px; border: 0; border-radius: 12px; background: transparent; font: 600 14px/1.1 inherit; color: #4a4a62; cursor: pointer; }
.m-seg button[aria-selected="true"] { background: #fff; color: var(--purple-deep); box-shadow: 0 2px 10px #1b1a6e1f; }
.m-seg button.accent[aria-selected="true"] { background: linear-gradient(100deg, #1f46ff, #8a3ff2); color: #fff; }
.m-cmp-list { list-style: none; padding: 6px 12px 10px; animation: mFade .3s; }
.m-cmp-list li { padding: 14px 0; border-bottom: 1px solid #e3e0f3; }
.m-cmp-list li:last-child { border-bottom: 0; }
.m-cmp-list li b { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.m-cmp-list li p { margin-top: 4px; font-size: 16px; line-height: 1.4; color: #3c3c50; }
.m-cmp.on-accent .m-cmp-list li p { color: var(--purple-deep); font-weight: 600; }
.why-line { text-align: left; font-size: 17px; margin-top: 20px; }

/* ---- why different / resources swipe ---- */
.bos-grid.m-swipe .bos-card, .res-grid.m-swipe .res { margin: 0; }
.bos-card { padding: 22px; border-radius: 22px; background: #fff; }
.bos-card h3 { font-size: 21px; margin-top: 8px; }
.bos-card p { font-size: 15px; }
.res .thumb { height: 120px; }
.res .body { padding: 16px; }
.res h4 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#articles .res-grid { display: grid; gap: 16px; }
#articles .res .thumb { height: auto; aspect-ratio: 16 / 9; }
#articles .res h4 { -webkit-line-clamp: 3; font-size: 18px; }
.resources .section-head p { margin-top: 6px; }

/* ---- CTA ---- */
.cta { width: auto; margin: 8px var(--m-pad) 32px; padding: 36px 22px; border-radius: 28px; text-align: left; }
.cta h2 { font-size: 26px; margin: 0; max-width: none; }
.cta .btn { margin-top: 20px; width: 100%; height: 52px; }

/* ---- footer accordion ---- */
.footer { padding: 36px 0 calc(24px + var(--m-safe-b)); }
.footer-grid { display: block; }
.footer-grid > div:first-child { margin-bottom: 18px; }
.footer .tagline { font-size: 14px; margin-top: 10px; }
.m-acc { border-top: 1px solid #2a2940; }
.m-acc:last-of-type { border-bottom: 1px solid #2a2940; }
.m-acc h5 { margin: 0; min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; cursor: pointer; }
.m-acc h5::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #9a99b0; border-bottom: 2px solid #9a99b0; transform: rotate(45deg); transition: transform .25s; margin-right: 4px; }
.m-acc.open h5::after { transform: rotate(-135deg); }
.m-acc ul { display: none; padding: 0 0 14px; gap: 0; }
.m-acc.open ul { display: grid; animation: mFade .25s; }
.m-acc ul a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
.footer-note { margin-top: 24px; font-size: 12px; }
.footer-bottom { flex-direction: column; gap: 6px; margin-top: 20px; padding-top: 16px; font-size: 12px; }

/* ---- subpages ---- */
.page-hero { padding: calc(var(--m-nav) + var(--m-safe-t) + 22px) 0 32px; }
.page-hero h1 { margin-top: 16px; font-size: 30px; line-height: 1.1; }
.page-hero p { font-size: 16px; margin: 14px 0 20px; }
.page-hero .btn { width: 100%; height: 52px; }
.page-hero.narrow p { margin-bottom: 0; }
.convo { margin-bottom: 28px; }
.cv { font-size: 15px; padding: 14px 16px; max-width: 90%; }
.steps3 { gap: 0; position: relative; padding-left: 8px; }
.steps3::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(#1f46ff55, #8a3ff255); }
.steps3 > div { position: relative; background: transparent; padding: 0 0 22px 40px; border-radius: 0; }
.steps3 > div:last-child { padding-bottom: 0; }
.steps3 .n { position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #1f46ff, #8a3ff2); color: #fff; font-size: 10px; letter-spacing: 0; }
.steps3 h3 { margin: 0 0 4px; font-size: 19px; }
.steps3 p { font-size: 15px; }
.two-col { display: flex; gap: 12px; }
.two-col.m-swipe > div { background: #f6f5fb; border-radius: 22px; padding: 22px; }
.two-col h3 { font-size: 20px; margin-bottom: 12px; }
.tick li { font-size: 15px; }
.more-links { margin-top: 24px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--m-pad) * -1); padding: 0 var(--m-pad); }
.more-links::-webkit-scrollbar { display: none; }
.more-links > * { flex: none; }
.more-links a { min-height: 40px; display: inline-flex; align-items: center; }
.prose { max-width: none; }
.prose h3 { font-size: 21px; margin: 30px 0 6px; scroll-margin-top: 120px; }
.prose p { font-size: 16px; line-height: 1.7; margin-top: 12px; }
.prose .upd { font-size: 13px; }
.m-chips { position: sticky; top: calc(var(--m-nav) + var(--m-safe-t)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--m-pad); margin: 0 calc(var(--m-pad) * -1) 8px; background: #ffffffe6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.m-chips::-webkit-scrollbar { display: none; }
.m-chips a { flex: none; min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #f1f0fb; font: 600 13.5px/1 inherit; color: #3c3c50; }
.m-chips a.on { background: #14121f; color: #fff; }
.m-chips.letters a { min-width: 36px; justify-content: center; padding: 0 10px; }
.m-progress { position: fixed; top: calc(var(--m-nav) + var(--m-safe-t)); left: 0; right: 0; height: 3px; z-index: 61; background: transparent; pointer-events: none; }
.m-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #1f46ff, #b23bf5); }
.article-body, .prose.article { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .m-cta, .m-sheet, .nav-sheet, .m-scrim, .m-sheet-bg { transition: none; }
  .c-main .bubble { animation: none; opacity: 1; transform: none; }
  .m-done i, .m-cmp-list, .eng-desc, .m-acc.open ul { animation: none; }
}
.m-track .block .tag { align-self: flex-start; }
.m-chips { margin: 0 0 8px; padding: 8px 0; }
.container.m-swipe, .container.more-links { margin-left: 0; margin-right: 0; margin-inline: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
