/* GENERATED by scripts/extract-home-css.mjs from qualia-landing-glass.html. Do not edit. */

:root {
  --sans: 'Manrope', sans-serif;
  --body: 'Inter', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --maxw: 1200px;

  --bg: #FFFFFF;
  --bg-alt: #FCFCFC;
  --ink: #14181F;
  --ink-soft: #2C2F35;
  --muted: #727479;
  --muted-2: #9AA0A8;
  --line: rgba(20,24,31,0.10);
  --line-soft: rgba(20,24,31,0.06);
  --card: #FCFCFC;
  --card-2: #FCFCFC;
  --pill-bg: #EAEEF4;
  --pill-ink: #4A5568;
  --navy: #1E2B62;
  --navy-grad: linear-gradient(180deg, #2a3a76 0%, #1E2B62 100%);
  --navy-grad-h: linear-gradient(180deg, #34468a 0%, #212f6c 100%);
  --faq-bg: #F0F2F6;
  --cta-bg: linear-gradient(135deg, #F6F9FD 0%, #E6EDFA 46%, #C7D7F1 100%);
  --cta-line: rgba(30,43,98,0.12);
  --cta-accent: #1E2B62;
  --prod-grad: linear-gradient(150deg, #253a86 0%, #1E2B62 52%, #141d45 100%);
  --shadow-1: 0 8px 24px rgba(16,24,45,.08);
  --shadow-2: 0 2px 6px rgba(16,24,45,.05);
  --shadow-card: 0 1px 2px rgba(16,24,45,.04), 0 12px 30px rgba(16,24,45,.06);
  --icon-btn: rgba(23,32,52,0.55);
}
html[data-theme="dark"] {
  --bg: #14181F;
  --bg-alt: #191D25;
  --ink: #FCFCFC;
  --ink-soft: #E8EAEC;
  --muted: #8A9099;
  --muted-2: #6C7079;
  --line: rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.06);
  --card: #1A1E26;
  --card-2: #14181F;
  --pill-bg: #242832;
  --pill-ink: #C4C9D2;
  --faq-bg: #191D25;
  --cta-bg: linear-gradient(135deg, #262D3C 0%, #1A1F29 46%, #101318 100%);
  --cta-line: rgba(255,255,255,0.08);
  --cta-accent: #E8D6C4;
  --shadow-1: 0 8px 24px rgba(0,0,0,.30);
  --shadow-2: 0 2px 6px rgba(0,0,0,.20);
  --shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 12px 30px rgba(0,0,0,.35);
  --icon-btn: rgba(255,255,255,0.7);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x: clip (not hidden) — clips sideways overflow without creating a
   scroll container. overflow-x: hidden forces overflow-y:auto on html/body and
   kills position:sticky for .bn-sticky / .cta-sticky. */
html { scroll-behavior: smooth; margin: 0 !important; padding: 0 !important; overflow-x: clip; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; margin: 0 !important; padding: 0 !important; }
/* solid-white-bg */
html:not([data-theme="dark"]) { background: #FFFFFF; }
html:not([data-theme="dark"]) body { background: #FFFFFF; }
#global-paper-bg { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
/* Global Default */
body { cursor: url('/assets/_home/cursors/pointer.svg') 4 4, auto; }

/* Interactive / Pointer */
a, button, summary, label, select, [data-scroll], .nav-link, .chat-mini, .chat-send, .dtab, .faq-q, .story-dot, [role="button"], .announce, .mm-link, .mm-close, .cs-expand, .cs-tab { cursor: url('/assets/_home/cursors/hover.svg') 10 10, pointer !important; }

/* Text Selection (Light and Dark) */
h1, h2, h3, h4, h5, h6, p, span.serif, .sub, .q-txt, input[type="text"], input[type="email"], textarea { cursor: url('/assets/_home/cursors/CursorText%20Light.svg') 12 12, text; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6, html[data-theme="dark"] p, html[data-theme="dark"] span.serif, html[data-theme="dark"] .sub, html[data-theme="dark"] .q-txt, html[data-theme="dark"] input[type="text"], html[data-theme="dark"] input[type="email"], html[data-theme="dark"] textarea { cursor: url('/assets/_home/cursors/CursorText%20Dark.svg') 12 12, text; }

/* 2D Drag Zones (Orbit, Component Stack) */
.cta-orbit, .cta-orbit:not(a), .cs-stage, .cs-card { cursor: url('/assets/_home/cursors/Hand.svg') 12 12, grab !important; }
.cta-orbit:active, .cta-orbit:active:not(a), .cs-stage:active, .cs-card:active { cursor: url('/assets/_home/cursors/HandGrabbing.svg') 12 12, grabbing !important; }

/* 1D Scroll Track (Stories/Testimonials) */
.stories, .stories .story { cursor: url('/assets/_home/cursors/ArrowsHorizontal.svg') 16 16, ew-resize !important; }
.stories:active, .stories:active .story { cursor: url('/assets/_home/cursors/ArrowsHorizontal.svg') 16 16, ew-resize !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 80px; }
.cta > .wrap, .final > .wrap, .faq-shell > .wrap { padding-left: 40px; padding-right: 40px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.sans { font-family: var(--sans); }

/* Prevent text selection on all SVGs except logo */
svg:not(.logo-mark):not(.logo-mark svg):not(.cap-mark):not([class*="logo"]) { user-select: none; -webkit-user-select: none; }

/* pill badge */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-ink); font-family: var(--body); font-size: 13px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
html[data-theme="dark"] .badge::before { background: #7f92d8; }

/* section heading */
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sec-title { font-family: var(--sans); font-weight: 600; font-size: 46px; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.sec-title .serif { font-size: 46px; display: block; }
.sec-sub { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ============ NAV ============ */
.nav { position: fixed; top: 22px; left: 0; right: 0; z-index: 100; padding: 0 32px; transition: top .3s ease, padding .3s ease, background .3s ease, box-shadow .3s ease; }
.nav-inner { opacity: 1; }
.nav-inner > .logo, .nav-inner > .nav-right { opacity: 0; animation: navIn .55s cubic-bezier(.22,.61,.36,1) .1s forwards; }
.nav-scrolled { top: 0; padding: 10px 32px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; box-shadow: none; }
html[data-theme="dark"] .nav-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; box-shadow: none; }
.nav-scrolled .logo, .nav-scrolled #themeBtn, .nav-scrolled #localeBtn, .nav-scrolled .nav-right .nav-cta { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
@keyframes navIn { to { opacity: 1; } }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.nav-inner { max-width: 1240px; margin: 0 auto; height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
html[data-theme="dark"] .logo { color: #E8D6C4; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; background: transparent; border: none; display: inline-flex; align-items: center; justify-content: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-inner .logo-mark { -webkit-mask: url(/assets/_home/glass/logo-mark.png) center/contain no-repeat; mask: url(/assets/_home/glass/logo-mark.png) center/contain no-repeat; background: #E8D6C4; }
html[data-theme="dark"] .nav-inner .logo-mark { background: #E8D6C4; }
.nav-inner .logo-mark img { display: none; }
/* consolidated pill items (revealed on scroll) */
.cap-logo, .cap-actions { display: inline-flex; align-items: center; overflow: hidden; max-width: 0; opacity: 0; margin: 0; pointer-events: none; transition: max-width .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease, margin .45s cubic-bezier(.22,.61,.36,1); }
.cap-actions { gap: 8px; }
.cap-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--navy) !important; }
html[data-theme="dark"] .cap-mark { background: #E8D6C4 !important; }
.cap-cta { align-self: center; height: 36px; max-height: 36px; min-height: 0; padding: 0 16px; margin: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-size: 13px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.cap-theme { width: 34px; height: 34px; color: var(--muted); }
.nav-scrolled .cap-logo { max-width: 44px; opacity: 1; margin-right: 8px; pointer-events: auto; }
.nav-scrolled .cap-actions { max-width: 320px; opacity: 1; margin-left: 10px; pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; }
.logo-word { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0.14em; color: #E8D6C4; }
.nav-scrolled .logo { color: var(--navy); }
html[data-theme="dark"] .nav-scrolled .logo { color: #A3CBFF; }
.nav-scrolled .logo-mark { background: transparent; border-color: transparent; }
.nav-links-cap { justify-self: center; display: flex; align-items: center; gap: 4px; height: 48px; padding: 6px 8px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid transparent; backdrop-filter: blur(36px) saturate(180%); -webkit-backdrop-filter: blur(36px) saturate(180%); -webkit-transform: translateZ(0); transform: translateZ(0); will-change: backdrop-filter; box-shadow: inset 0 2px 4px rgba(255,255,255,.14); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
html[data-theme="dark"] .nav-links-cap { background: rgba(255,255,255,.05); border: 1px solid transparent; box-shadow: inset 0 2px 4px rgba(255,255,255,.14); }
.nav-scrolled .nav-links-cap { background: var(--card); border: 1px solid var(--line-soft); box-shadow: 0 4px 16px rgba(16,24,45,.08); padding: 6px; }
.nav-scrolled .cap-actions .cap-cta { height: 34px; max-height: 34px; }
html[data-theme="dark"] .nav-scrolled .nav-links-cap { background: var(--card); border: 1px solid var(--line-soft); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.nav-scrolled .cap-actions .cap-cta { background: var(--navy-grad) !important; color: #fff !important; border: none !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.22) !important; }
html[data-theme="dark"] .nav-scrolled .cap-actions .cap-cta { background: #E8D6C4 !important; color: #14181F !important; }
.nav-link { padding: 6px 16px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: -0.01em; color: rgba(255,255,255,.95); transition: color .2s ease, background .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-scrolled .nav-link { color: var(--muted); }
.nav-scrolled .nav-link:hover { color: var(--ink); background: var(--pill-bg); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 38px; height: 38px; border: none; border-radius: 50%; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); transition: background .2s ease; }
.icon-btn:hover { background: rgba(255,255,255,.14); }
.nav-scrolled .icon-btn { color: var(--muted); }
.nav-scrolled .icon-btn:hover { background: var(--pill-bg); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: none; border-radius: 10px; background: var(--navy); color: #fff !important; text-decoration: none; line-height: 1; white-space: nowrap; font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px rgba(18,26,60,.28); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-1px); background: #2a3a76; color: #fff !important; box-shadow: 0 8px 20px rgba(18,26,60,.34); }
.nav-scrolled .nav-cta { background: var(--navy); color: #fff !important; box-shadow: 0 6px 16px rgba(18,26,60,.28); }
.hamburger { display: none; }
/* ---- locale / language selector ---- */
.locale-btn { height: 38px; padding: 0 10px; border: none; border-radius: 12px; background: transparent; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); font: 600 13px/1 var(--body); white-space: nowrap; transition: background .2s ease, color .3s ease; }
.locale-btn.has-region .lb-globe { display: none; }
.locale-btn svg { display: block; }
.locale-btn .lb-chev { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.locale-btn:hover { background: rgba(255,255,255,.14); }
.locale-btn.on .lb-chev { transform: rotate(180deg); }
.locale-btn:active { transform: scale(.96); }
.nav-scrolled .locale-btn { color: var(--muted); }
.nav-scrolled .locale-btn:hover { background: var(--pill-bg); }
.cap-locale { height: 32px; padding: 0 8px; font-size: 12px; gap: 5px; }
.loc-pop { position: fixed; z-index: 120; top: 80px; right: 32px; width: 432px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); padding: 26px 26px 8px; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: opacity .22s ease, transform .3s cubic-bezier(.22,.61,.36,1), visibility .22s ease; }
.loc-pop.on { opacity: 1; visibility: visible; transform: none; }
.loc-lab { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.loc-langs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.loc-item { display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--ink); font: 600 14px/1.2 var(--body); text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.loc-item:hover { background: var(--pill-bg); transform: translateY(-1px); }
.loc-item.on { border-color: var(--navy); background: rgba(30,43,98,.06); }
html[data-theme="dark"] .loc-item.on { border-color: #A3CBFF; background: rgba(163,203,255,.08); }
.loc-flag { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; background: var(--pill-bg); color: var(--pill-ink); font: 700 10px/1 var(--body); }
.loc-flag img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.loc-flag:has(img) { background: transparent; box-shadow: 0 0 0 1px var(--line); }
.loc-item.on .loc-flag { background: var(--navy); color: #fff; }
html[data-theme="dark"] .loc-item.on .loc-flag { background: #A3CBFF; color: #14181F; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 44vh; overflow-y: auto; padding-bottom: 18px; }
.loc-grid::-webkit-scrollbar { width: 6px; }
.loc-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
@media (max-width: 640px) { .loc-pop { padding: 22px 18px 6px; border-radius: 18px; } .loc-grid { max-height: 50vh; } }

/* ============ HERO ============ */
.hero { position: relative; overflow: visible; text-align: center; color: #fff; margin: 0 !important; padding: 0 !important; }
.hero-bg {
  position: absolute; inset: -40px 0 0; background: url('/assets/_home/images/hero-bg.jpg') center/cover no-repeat;
  -webkit-mask-image: linear-gradient(#000, #000), url('/assets/_home/glass/hero-cove.svg');
  -webkit-mask-size: 100% 100%, 2052px 71px;
  -webkit-mask-position: center, bottom center;
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.hero-bg::before { display: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,38,55,.28) 0%, rgba(30,38,55,.05) 40%, rgba(15,19,30,.28) 92%, rgba(15,19,30,.18) 100%); }
html[data-theme="dark"] .hero-bg::after { background: linear-gradient(180deg, rgba(14,19,30,.35) 0%, rgba(14,19,30,.1) 38%, rgba(14,19,30,.4) 92%, rgba(14,19,30,.28) 100%); }
.hero-cove { display: none; }
.hero-inner { position: relative; padding: 168px 32px 150px; display: flex; flex-direction: column; align-items: center; overflow: visible; }
.announce { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; margin-bottom: 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.30); background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.announce:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.announce:active { transform: translateY(0) scale(.98); }
.announce-thumb { position: relative; width: 40px; height: 24px; border-radius: 999px; overflow: hidden; flex-shrink: 0; align-self: center; }
.announce-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.announce-thumb .ap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,24,31,.28); color: #fff; }
.announce-thumb .ap svg { width: 10px; height: 10px; }
.announce-txt { font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.vmodal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.vmodal.open { display: flex; }
.vmodal-backdrop { position: absolute; inset: 0; background: rgba(10,13,24,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vmodal-box { position: relative; width: min(960px, 100%); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vmodal-box video { display: block; width: 100%; height: auto; }
.vmodal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: #14181F; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.vmodal-close:hover { background: #fff; transform: scale(1.06); }
.vmodal-close:active { transform: scale(.94); }
/* ===== CALL / LEAD MODAL ===== */
.cmodal { position: fixed; inset: 0; z-index: 220; display: none; align-items: center; justify-content: center; padding: 24px; }
.cmodal.open { display: flex; }
.cmodal-backdrop { position: absolute; inset: 0; background: rgba(20,24,40,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: cmFade .2s ease; }
.cmodal-box { position: relative; width: min(420px, 100%); background: var(--card); border: 1px solid var(--line-soft); border-radius: 20px; padding: 28px; box-shadow: 0 40px 90px rgba(16,24,45,.34); animation: cmPop .28s cubic-bezier(.22,.61,.36,1); }
@keyframes cmFade { from { opacity: 0; } }
@keyframes cmPop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.cmodal-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; transition: background .15s ease, color .15s ease; }
.cmodal-close:hover { background: var(--pill-bg); color: var(--ink); }
.cm-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px rgba(18,26,60,.32); }
.cm-icon svg { width: 20px; height: 20px; }
.cm-title { margin-top: 16px; font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.cm-sub { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cm-field { margin-top: 16px; }
.cm-label { display: block; font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.cm-opt { font-weight: 400; color: var(--muted); }
.cm-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.cm-input::placeholder { color: var(--muted-2); }
.cm-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,43,98,.14); }
html[data-theme="dark"] .cm-input:focus { border-color: #A3CBFF; box-shadow: 0 0 0 3px rgba(163,203,255,.18); }
.cm-phone { display: flex; gap: 8px; }
.cm-cc { position: relative; flex-shrink: 0; }
.cm-cc select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 500; font-size: 14px; cursor: pointer; outline: none; }
.cm-cc select:focus { border-color: var(--navy); }
.cm-cc .cc-chev { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.cm-phone .cm-input { flex: 1; }
.cm-submit { width: 100%; height: 48px; margin-top: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; border-radius: 30px; background: var(--navy-grad); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 26px rgba(18,26,60,.34); transition: transform .15s ease, box-shadow .15s ease, background .2s ease; }
.cm-submit:hover { transform: translateY(-2px); background: var(--navy-grad-h); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 34px rgba(18,26,60,.42); }
.cm-submit:active { transform: translateY(0) scale(.99); }
.cm-done { margin-top: 18px; text-align: center; }
.cm-done .cm-check { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: rgba(30,43,98,.1); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="dark"] .cm-done .cm-check { background: rgba(163,203,255,.14); color: #A3CBFF; }
/* ===== TALK-TO-AI MODAL ===== */
.tm-box { width: min(380px, 100%); }
.tm-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(30,43,98,.08); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="dark"] .tm-icon { background: rgba(163,203,255,.12); color: #A3CBFF; }
.tm-icon img { width: 20px; height: 20px; display: block; }
.tm-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--pill-bg); color: var(--pill-ink); font-size: 13px; line-height: 1.5; text-align: center; }
.tm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tm-btn { height: 46px; border: none; border-radius: 30px; font-family: var(--sans); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease, filter .2s ease; }
.tm-btn.primary { background: var(--navy-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 22px rgba(18,26,60,.3); }
.tm-btn.primary:hover { transform: translateY(-2px); background: var(--navy-grad-h); }
.tm-btn.ghost { background: #E4DACB; color: #2B3040; }
html[data-theme="dark"] .tm-btn.ghost { background: rgba(232,214,196,.16); color: var(--ink); }
.tm-btn.ghost:hover { transform: translateY(-2px); filter: brightness(.97); }
.tm-btn:active { transform: translateY(0) scale(.98); }
.hero h1 { font-family: var(--sans); font-weight: 600; font-size: 76px; line-height: 1.0; letter-spacing: -0.02em; color: #fff; overflow: visible !important; }
.hero h1 .serif { display: block; font-size: 68px; font-weight: 500; margin-top: 6px; letter-spacing: 0; padding: 0 10px; margin: 0 -10px; overflow: visible !important; }
.hero-sub { margin-top: 24px; font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.9); max-width: 480px; }
.hero-btn { margin-top: 34px; height: 54px; padding: 0 34px; border: none; border-radius: 999px; background: var(--navy-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 24px rgba(18,26,60,.38); color: #fff; font-family: var(--body); font-size: 15px; font-weight: 500; cursor: pointer; transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, background .25s ease; }
.hero-btn:hover { transform: translateY(-2px); background: var(--navy-grad-h); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 32px rgba(18,26,60,.5); }
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 10px 20px 40px; margin: -10px -20px -40px; overflow: visible !important; }
.hero-btn-glass { margin-top: 34px; height: 54px; padding: 0 26px; display: inline-flex; align-items: center; gap: 10px; border: none; border-radius: 999px; background: rgba(255,255,255,.09); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); box-shadow: inset 0 2px 4px rgba(255,255,255,.14); color: #fff; font-family: var(--body); font-size: 15px; font-weight: 500; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.hero-btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); box-shadow: none; }
.hero-btn-glass:active { transform: translateY(0) scale(.98); box-shadow: none; }
.hero-btn-glass svg { flex-shrink: 0; }
/* chat glass */
.chat { margin-top: 56px; width: 460px; max-width: 100%; background: rgba(255,255,255,.9); border: 8px solid rgba(20,24,31,.12); border-radius: 20px; box-shadow: 0 20px 50px rgba(16,24,45,.22); backdrop-filter: blur(14px); padding: 18px 18px 14px; text-align: left; }
html[data-theme="dark"] .chat { background: rgba(255,255,255,.92); }
.chat-row { display: flex; align-items: center; gap: 10px; }
.chat-genie { width: 26px; height: 26px; flex-shrink: 0; color: #5c6576; }
.chat-q { color: #3a4252; font-size: 14px; font-family: var(--body); width: 100%; border: none; background: transparent; outline: none; padding: 0; }
.chat-q::placeholder { color: #97a0af; opacity: 1; }
.chat-q::-webkit-input-placeholder { color: #97a0af; }
.chat-tools { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.chat-tools .left { display: flex; gap: 8px; }
.chat-mini { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e4e7ee; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: #6b7280; }
.chat-tools .right { display: flex; align-items: center; gap: 12px; }
.chat-send { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ============ SECTION SHELL ============ */
section { position: relative; }
.pad { padding: 80px 0; }
.pad-sm { padding: 64px 0; }

/* ============ DASHBOARD MOCK ============ */
.dash { position: relative; margin: 56px auto 0; max-width: 1040px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; display: grid; grid-template-columns: 210px 1fr; }
.dash-side { background: var(--bg-alt); border-right: 1px solid var(--line-soft); padding: 16px 12px; font-size: 12.5px; }
html[data-theme="dark"] .dash-side { background: #10151f; }
.dash-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-family: var(--sans); font-weight: 600; font-size: 14px; }
.dash-brand .m { width: 22px; height: 22px; border-radius: 7px; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.dash-nav-i { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; color: var(--muted); }
.dash-nav-i.active { background: var(--card); color: var(--ink); border: 1px solid var(--line-soft); font-weight: 500; }
.dash-nav-i .dot { width: 13px; height: 13px; border-radius: 3px; background: var(--muted-2); opacity: .5; }
.dash-sep { height: 1px; background: var(--line-soft); margin: 12px 4px; }
.dash-main { padding: 16px 18px; }
.dash-top { display: flex; align-items: flex-start; justify-content: space-between; }
.dash-top h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; }
.dash-top p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line-soft); padding: 5px 10px; border-radius: 999px; }
.dash-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8aad2e; }
.dash-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 16px; }
.kpi { border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 12px; background: var(--bg-alt); }
.kpi .lbl { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.kpi .val { font-family: var(--sans); font-weight: 600; font-size: 21px; margin-top: 5px; display: flex; align-items: baseline; gap: 6px; }
.kpi .val small { font-size: 10px; font-weight: 500; }
.up { color: #4a9e5c; } .warn { color: #d98a1f; }
.dash-panel { margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; background: var(--bg-alt); display: flex; gap: 12px; align-items: flex-start; }
.dash-panel .pi { width: 30px; height: 30px; border-radius: 8px; background: var(--pill-bg); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-panel h4 { font-size: 13px; font-weight: 600; }
.dash-panel p { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.feed { margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-alt); position: relative; }
.feed-h { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line-soft); }
.feed-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 10px 14px; align-items: center; border-bottom: 1px solid var(--line-soft); }
.feed-row:last-child { border-bottom: none; }
.feed-row .t { font-size: 10px; color: var(--muted-2); }
.feed-row h5 { font-size: 12.5px; font-weight: 600; }
.feed-row span.d { font-size: 11px; color: var(--muted); }
.tag { font-size: 9px; letter-spacing: .05em; font-weight: 600; padding: 3px 7px; border-radius: 5px; }
.tag.call { background: #eef1fb; color: #4257a8; } .tag.chat { background: #edf6ec; color: #4f8a44; } .tag.intel { background: #fbf1e6; color: #b07d33; }
html[data-theme="dark"] .tag.call { background: #232c48; color: #97a6e0; }
html[data-theme="dark"] .tag.chat { background: #1f2e22; color: #8fc384; }
html[data-theme="dark"] .tag.intel { background: #2e2617; color: #d3a768; }
.dash-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: var(--card); display: none; z-index: 2; }
.dash-slide.on { display: block; z-index: 3; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; border: none; background: transparent; padding: 0; cursor: pointer; z-index: 6; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.play:hover { transform: translate(-50%,-50%) scale(1.06); }
.play:active { transform: translate(-50%,-50%) scale(.96); }
.play img { width: 100%; height: 100%; display: block; }
.dash-tabs { margin: 40px auto 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; position: relative; z-index: 10; }
.dtab-pill { display: none; }
.dtab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-family: var(--body); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .25s ease; position: relative; z-index: 2; }
.dtab svg { color: currentColor; opacity: .85; }
.dtab i.ph { font-size: 18px; opacity: .9; line-height: 1; }
.dtab:hover { background: var(--bg); transform: translateY(-1px); }
.dtab:active { transform: scale(.97); }
.dtab.on { border-color: var(--navy); background: rgba(30,43,98,.06); color: var(--navy); font-weight: 600; }
html[data-theme="dark"] .dtab.on { border-color: #A3CBFF; background: rgba(163,203,255,.08); color: #A3CBFF; }
.finish { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 10px; padding: 7px 12px; box-shadow: var(--shadow-2); font-size: 11px; }
.finish .ring { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--navy) 260deg, var(--pill-bg) 0); display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: var(--navy); }
.finish .ring i { width: 18px; height: 18px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-style: normal; }

/* ============ BOTTLENECKS SECTION ============ */
#bottlenecks {
  position: relative;
  /* 100vh pin + a fixed 3600px runway (900px per step) so 01→04 always
     completes before the sticky releases, regardless of viewport height */
  height: calc(100vh + 3600px);
  margin: 0;
  padding: 0;
}
.bn-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start; /* top-align — no empty white band */
  padding-top: 88px;
  overflow: hidden;
}
#bottlenecks .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: block;
}
#bottlenecks .bn-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#bottlenecks .sec-head {
  text-align: center;
  align-items: center;
  margin-bottom: 0;
  gap: 12px;
}
#bottlenecks .sec-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
#bottlenecks .sec-title .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

/* progress track + steps */
.bn-steps {
  position: relative;
  display: flex;
  /* restore horizontal stacking */
  flex-direction: row;
  gap: 36px;
  padding-left: 0;
  padding-top: 28px;
  align-items: flex-start;
}
/* vertical track line (background) */
/* horizontal track background */
.bn-steps::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
/* vertical track fill (progress) */
.bn-steps::after {
  /* horizontal progress fill */
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(var(--bn-progress, 0));
  transition: transform 0.05s linear;
}
html[data-theme="dark"] .bn-steps::after {
  background: #7f92d8;
}

.bn-step {
  position: relative;
  padding: 20px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
/* dot */
.bn-step::before {
  /* point dot (filled with page background by default) */
  content: '';
  position: absolute;
  left: 0;
  top: -14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /* fill the inner circle with the page background */
  background: var(--bg);
  border: 3px solid var(--line);
  box-shadow: 0 0 0 2px var(--line);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}
.bn-step.active::before {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy), 0 0 12px rgba(30,43,98,0.35);
}
html[data-theme="dark"] .bn-step.active::before {
  background: #7f92d8;
  box-shadow: 0 0 0 2px #7f92d8, 0 0 12px rgba(127,146,216,0.4);
}

.bn-step .bn-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--line);
  font-weight: 400;
  transition: color 0.4s ease;
}
.bn-step.active .bn-num {
  color: var(--navy);
}
html[data-theme="dark"] .bn-step.active .bn-num {
  color: #7f92d8;
}

.bn-step h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}
.bn-step.active h3 {
  opacity: 1;
}

.bn-step p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 300px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}
.bn-step.active p {
  opacity: 1;
  max-height: 100px;
}

/* right side — large active step number display */
.bn-active-display {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bn-active-display .bn-big-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(140px, 18vw, 220px);
  font-weight: 400;
  color: var(--navy);
  opacity: 0.08;
  line-height: 1;
  user-select: none;
  transition: opacity 0.4s ease;
}
html[data-theme="dark"] .bn-active-display .bn-big-num {
  color: #7f92d8;
  opacity: 0.06;
}

/* Mobile / tablet: sticky vertical timeline scrub (same 01→04 logic as desktop).
   Runway is shorter than desktop (700px/step) so phones do not feel endless.
   Uses svh so iOS toolbars do not break the pin height. */
@media (max-width: 900px) {
  #bottlenecks {
    height: calc(100svh + 2800px);
    padding: 0;
  }
  .bn-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding-top: 72px;
    padding-bottom: 24px;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  #bottlenecks .wrap {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100svh - 96px);
    overflow: hidden;
  }
  .bn-left {
    gap: 10px;
    min-height: 0;
    flex: 1;
  }
  .bn-active-display { display: none; }
  #bottlenecks .sec-head { gap: 8px; margin-bottom: 4px; flex-shrink: 0; }
  #bottlenecks .sec-title { font-size: clamp(28px, 7vw, 36px); margin-bottom: 0; }

  .bn-steps {
    flex-direction: column;
    padding-left: 34px;
    padding-top: 8px;
    gap: 14px;
    flex: 1;
    min-height: 0;
    justify-content: flex-start;
  }
  /* Vertical track: top/height measured in JS from circle centers
     (--bn-line-top / --bn-line-height). Fallback approximates first→last. */
  .bn-steps::before, .bn-steps::after {
    left: 8px; /* 18px dot centered in 34px gutter → center at 9px; 2px line → left 8 */
    right: auto;
    top: var(--bn-line-top, 19px);
    bottom: auto;
    width: 2px;
    height: var(--bn-line-height, calc(100% - 38px));
  }
  .bn-steps::after {
    transform-origin: top center;
    transform: scaleY(var(--bn-progress, 0));
    transition: transform 0.05s linear;
    will-change: transform;
  }
  .bn-step {
    padding: 6px 0 6px 0;
    flex: 0 0 auto;
  }
  .bn-step::before {
    left: -34px;
    top: 10px;
    transform: none;
    /* inactive = hollow (desktop behavior) */
    background: var(--bg);
    border-color: var(--line);
    box-shadow: 0 0 0 2px var(--line);
  }
  .bn-step.active::before {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 0 0 2px var(--navy), 0 0 12px rgba(30,43,98,0.35);
  }
  html[data-theme="dark"] .bn-step.active::before {
    background: #7f92d8;
    border-color: #7f92d8;
    box-shadow: 0 0 0 2px #7f92d8, 0 0 12px rgba(127,146,216,0.4);
  }
  .bn-step .bn-num {
    font-size: 30px;
    color: var(--line);
  }
  .bn-step.active .bn-num { color: var(--navy); }
  html[data-theme="dark"] .bn-step.active .bn-num { color: #7f92d8; }
  .bn-step h3 {
    font-size: 16px;
    opacity: 0.35;
  }
  .bn-step.active h3 { opacity: 1; }
  .bn-step p {
    margin-top: 4px;
    max-width: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
  .bn-step.active p {
    opacity: 1;
    max-height: 120px;
  }
}
@media (max-width: 640px) {
  #bottlenecks { height: calc(100svh + 2400px); }
  .bn-sticky { padding-top: 64px; }
  #bottlenecks .wrap { padding: 0 18px; max-height: calc(100svh - 84px); }
  .bn-steps { gap: 12px; }
  .bn-step .bn-num { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  #bottlenecks { height: auto !important; padding: 48px 0 32px !important; }
  .bn-sticky {
    position: relative !important;
    height: auto !important;
    max-height: none !important;
    top: auto !important;
    overflow: visible !important;
    display: block !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #bottlenecks .wrap { max-height: none !important; overflow: visible !important; }
  .bn-step h3 { opacity: 1 !important; }
  .bn-step p { opacity: 1 !important; max-height: none !important; overflow: visible !important; }
  .bn-steps::after { transform: scaleX(1) !important; }
  @media (max-width: 900px) {
    .bn-steps::after { transform: scaleY(1) !important; }
    .bn-step::before,
    .bn-step.active::before {
      background: var(--navy) !important;
      border-color: var(--navy) !important;
      box-shadow: 0 0 0 2px var(--navy) !important;
    }
    .bn-step .bn-num { color: var(--navy) !important; }
  }
}

/* ============ PRODUCTS ============ */
#platform {
  --canvas: var(--bg);
  --card-r: 26px;
  position: relative;
  padding-top: 48px; /* tighten gap after bottlenecks unpin */
}
#platform::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--canvas);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 160px, black calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 160px, black calc(100% - 120px), transparent 100%);
  z-index: 0;
  pointer-events: none;
}
#platform .wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 120px;
}
#platform .head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#platform .head h2 {
  font-family: var(--sans);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
#platform .head h2 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.03em;
  color: var(--ink);
}
#platform .head p {
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
#platform .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
/* remove drop shadow on UltraChat card */
#platform .card.chat { box-shadow: none; margin-top: 0; grid-column: 1 / -1 !important; width: 100%; }

/* card accent colors for app cards */
#platform .card.voice { --card-accent: #1b51be; }
#platform .card.pulse { --card-accent: #7d5424; }
#platform .card.chat { --card-accent: #456a10; }

#platform .card.app .eyebrow,
#platform .card.app .link {
  color: var(--card-accent) !important;
}

/* Keep the main headline dark in both themes */
#platform .card.app h3 {
  color: #14181F !important;
}

/* Subtext stays dark and readable */
#platform .card.app p.sub {
  color: rgba(20,24,31,0.72) !important;
}

/* Hide Dial AI card and related photo card throughout the platform section */
#platform .card.dial,
#platform .card[data-screen-label*="Dial"],
#platform .card.photo.dial {
  display: none !important;
}

#platform .card {
  position: relative;
  border-radius: var(--card-r);
  overflow: hidden;
  min-height: 400px;
  min-width: 0;
  display: flex;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s cubic-bezier(.2,.7,.3,1);
}
#platform .card.app:hover {
  transform: scale(1.012);
}
#platform .card.app::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
#platform .card.app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
#platform .card.wide {
  grid-column: span 3;
}
#platform .card.two {
  grid-column: span 2;
}
#platform .card.photo {
  grid-column: span 1;
  min-height: 0;
  background: var(--card-2);
  border: 1px solid var(--line-soft);
}
#platform .card.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#platform .badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
#platform .badge::before {
  display: none !important;
}
#platform .inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 44px;
}
#platform .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#platform .card h3 {
  font-family: var(--sans);
  margin: 0;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 600;
  max-width: 14ch;
  color: #14181F;
}
#platform .card p.sub {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(20, 24, 31, 0.72);
  max-width: 42ch;
}
#platform .link {
  font-family: var(--sans);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  transition: gap .25s;
}
#platform .link i {
  font-size: 20px;
}
#platform .link:hover {
  gap: 14px;
  opacity: 1;
}
#platform .card.two .split {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
#platform .card.two .stage {
  min-height: 300px;
}
#platform .card.two .float.a {
  right: auto;
  left: 40%;
  top: 24%;
}
#platform .card.two .float.b {
  right: 7%;
  bottom: 8%;
}
#platform .split {
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
#platform .stage {
  position: relative;
  overflow: hidden;
}
#platform .float {
  position: absolute;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 10px 26px -12px rgba(20,24,31,.12), 0 1px 3px rgba(20,24,31,.04);
  border: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
#platform .in .float {
  opacity: 1;
  transform: none;
}
#platform .in .float.b {
  transition-delay: .16s;
}
#platform .voice {
  background: linear-gradient(135deg, #f0f6ff 0%, #dbe8ff 52%, #a9c9ff 100%);
  border: 1px solid rgba(169, 201, 255, .4);
}
#platform .voice .eyebrow, #platform .voice .link {
  color: #1b51be;
}
#platform .voice p.sub a {
  color: #1b51be;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
#platform .pulse {
  background: linear-gradient(135deg, #fdf8f2 0%, #f2e4d3 52%, #dcc3a4 100%);
  border: 1px solid rgba(220, 195, 164, .4);
}
#platform .pulse .eyebrow, #platform .pulse .link {
  color: #7d5424;
}
#platform .pulse p.sub a {
  color: #7d5424;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
#platform .chat {
  background: linear-gradient(135deg, #f6fbe9 0%, #e4f3c6 52%, #c3e488 100%);
  border: 1px solid rgba(195, 228, 136, .4);
}
#platform .chat .eyebrow, #platform .chat .link {
  color: #456a10;
}
#platform .dial {
  background: linear-gradient(135deg, #fdf8f2 0%, #f2e4d3 52%, #dcc3a4 100%);
  border: 1px solid rgba(220, 195, 164, .4);
}
#platform .dial .eyebrow, #platform .dial .link {
  color: #7d5424;
}

#platform .float {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}
#platform .float .t {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
#platform .float .k {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}
#platform .float .big {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
#platform .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
}
#platform .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
#platform .pulsedot {
  animation: pulsedot 1.8s ease-in-out infinite;
}
@keyframes pulsedot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.8); }
}
#platform .row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#platform .between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#platform .field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  transition: background .25s, transform .25s;
}
#platform .field:hover {
  transform: translateX(3px);
}
#platform .field .v {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
}
#platform .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
#platform .bar {
  height: 6px;
  border-radius: 99px;
  background: var(--line-soft);
  overflow: hidden;
}
#platform .bar>span {
  display: block;
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.4s cubic-bezier(.2,.7,.3,1) .3s;
}
#platform .in .bar>span {
  width: var(--w);
}
#platform .wave {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 20px;
}
#platform .wave i {
  width: 2.5px;
  border-radius: 2px;
  background: #1b51be;
  opacity: .85;
  display: block;
  height: 6px;
  animation: wv 1.1s ease-in-out infinite;
}
@keyframes wv {
  0%, 100% { height: 5px; }
  50% { height: 19px; }
}
#platform .seq .field {
  cursor: default;
}
#platform .seq .field:nth-child(2) {
  animation: glow 3.4s ease-in-out infinite;
}
@keyframes glow {
  0%, 72%, 100% { background: #f2f8e6; }
  80%, 92% { background: #e4f3c6; }
}

html[data-theme="dark"] #platform .float {
  background: var(--card-2);
}
html[data-theme="dark"] #platform .wave i {
  background: #7f92d8;
}

@media(max-width: 1080px) {
  #platform .grid { grid-template-columns: 1fr 1fr; }
  #platform .card.wide, #platform .card.two { grid-column: span 2; }
  #platform .card.photo { grid-column: span 2; height: 300px; }
  #platform .split { grid-template-columns: 1fr; grid-template-rows: auto 400px; }
  #platform .card { min-height: 0; }
  #platform .inner { padding: 34px; }
}
@media(max-width: 900px) {
  #platform .wrap { padding: 64px 32px 80px; }
}
@media(max-width: 640px) {
  #platform .wrap { padding: 64px 18px 80px; }
  #platform .grid { grid-template-columns: 1fr; gap: 12px; }
  #platform .card.wide, #platform .card.two, #platform .card.photo, #platform .card.chat { grid-column: span 1; }
  #platform .inner { padding: 26px; }
  #platform .split { grid-template-rows: auto auto; }
  #platform .stage { display: flex; flex-direction: column; gap: 12px; padding: 0 22px 26px; }
  #platform .float { position: relative; left: auto!important; right: auto!important; top: auto!important; bottom: auto!important; width: 100%!important; }
}
@media(prefers-reduced-motion: reduce) {
  #platform * { animation: none!important; transition: none!important; }
  #platform .float { opacity: 1; transform: none; }
}

/* ============ OS FEATURES ============ */
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.os { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px; display: flex; gap: 18px; align-items: flex-start; box-shadow: none; transition: transform .35s cubic-bezier(.22,.61,.36,1), background .3s ease; }
.os:hover { transform: translateY(-3px); }
.os-ic { transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.os:hover .os-ic { transform: scale(1.06) rotate(-4deg); }
html[data-theme="dark"] .os { background: var(--card); }
.os-ic { position: relative; width: 62px; height: 62px; flex-shrink: 0; border-radius: 14px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; filter: none; --feat-tile: rgba(100,150,220,0.18); --feat-ic: #6496DC; }
html[data-theme="dark"] .os-ic { background: transparent; box-shadow: none; filter: none; --feat-tile: rgba(100,150,220,0.25); --feat-ic: #4A7AB5; }
.os-ic img, .os-ic svg { width: 100%; height: 100%; display: block; filter: none; }
.os h4 { font-family: var(--sans); font-weight: 600; font-size: 19px; }
.os p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============ FAQ ============ */
.faq-shell { margin: 0 auto; padding: 0 20px; }
.faq-list { max-width: 760px; margin: 46px auto 0; display: flex; flex-direction: column; }
.faq { position: relative; background: transparent; overflow: hidden; border-bottom: 1px solid var(--line-soft); transition: background .3s ease, border-color .3s ease; }
.faq:last-child { border-bottom: none; }
.faq:before { content: ""; position: absolute; inset: 0; background: var(--card); opacity: 0; border-radius: 12px; transition: opacity .4s cubic-bezier(.22,.61,.36,1); z-index: 0; pointer-events: none; }
.faq.open:before { opacity: 0; }

.faq-q { position: relative; z-index: 1; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); transition: color .25s ease; }
.faq-q:hover .q-txt { color: var(--navy); }
html[data-theme="dark"] .faq-q:hover .q-txt { color: #A3CBFF; }
.faq.open .faq-q .q-txt { color: var(--navy); }
html[data-theme="dark"] .faq.open .faq-q .q-txt { color: #A3CBFF; }
.faq-q .q-txt { flex: 1; transition: color .3s ease; }

.faq-ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; color: var(--muted-2); display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; transition: transform .6s cubic-bezier(.34,1.56,.34,1.05), color .3s ease, background .2s ease; }
.faq-ic svg { width: 100%; height: 100%; display: block; stroke-width: 2.2; }
.faq:hover .faq-ic { color: var(--navy); }
html[data-theme="dark"] .faq:hover .faq-ic { color: #A3CBFF; }
.faq.open .faq-ic { color: var(--navy); transform: rotate(180deg) scale(1.05); }
html[data-theme="dark"] .faq.open .faq-ic { color: #A3CBFF; }

.faq-a { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.34,1.1,.34,1); }
.faq-a-inner { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-10px); transition: opacity .4s ease, transform .55s cubic-bezier(.34,1.1,.34,1); }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq.open .faq-a-inner { opacity: 1; transform: translateY(0); transition-delay: .05s; }
.faq-a p { color: var(--muted); font-size: 15px; line-height: 1.6; padding: 0 16px 28px 16px; margin: 0; }

/* ============ CTA GLASS ============ */
.cta-track { position: relative; }
.cta-sticky { display: flex; align-items: center; width: 100%; }
@media (min-width: 901px) { .cta-track { height: calc(100vh + 1080px); } .cta-sticky { position: sticky; top: 0; height: 100vh; } }
.cta { position: relative; flex: 1 1 auto; min-width: 0; background: var(--cta-bg); border: 1px solid var(--cta-line); border-radius: 28px; margin: 0 80px; padding: 54px 0; overflow: hidden; transform: scale(var(--cta-scale, 1)); transform-origin: 50% 50%; will-change: transform; }
.cta-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: center; }
/* inverted panel — dark treatment while the page is light, light treatment while the page is dark */
.cta {
  --cta-inv-bg: linear-gradient(135deg, #232A45 0%, #141A2E 100%);
  --cta-inv-line: rgba(255,255,255,.14);
  --cta-inv-ink: #FCFCFC;
  --cta-inv-mut: rgba(252,252,252,.72);
  --cta-accent: #E8D6C4;
  --cta-ring-bg: rgba(255,255,255,.05);
  --cta-ring-line: rgba(255,255,255,.10);
  --cta-ring-shadow: rgba(0,0,0,.12);
  --cta-r1-bg: rgba(255,255,255,.05);
  --cta-r1-shadow: rgba(0,0,0,.15);
  --cta-glow-opacity: 0.15;
  --orbit-mark: #E8D6C4;
  --oi-shadow: none;

  background: var(--cta-inv-bg);
  border-color: var(--cta-inv-line);
  color: var(--cta-inv-ink);
}
.cta h2, .cta h2 .serif { color: var(--cta-inv-ink); }
.cta p, .cta li, .cta .cta-link { color: var(--cta-inv-mut); }

html[data-theme="dark"] .cta {
  --cta-inv-bg: linear-gradient(135deg, #F4F6FB 0%, #E4E9F4 100%);
  --cta-inv-line: rgba(20,24,31,.12);
  --cta-inv-ink: #14181F;
  --cta-inv-mut: rgba(20,24,31,.68);
  --cta-accent: #1E2B62;
  --cta-ring-bg: rgba(20,24,31,.03);
  --cta-ring-line: rgba(20,24,31,.08);
  --cta-ring-shadow: rgba(20,24,31,.05);
  --cta-r1-bg: rgba(20,24,31,.05);
  --cta-r1-shadow: rgba(20,24,31,.15);
  --cta-glow-opacity: 0.55;
  --orbit-mark: var(--navy);
  --oi-shadow: none;
}
.cta-eyebrow { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--cta-accent); }
.cta h2 { font-family: var(--sans); font-weight: 700; font-size: 44px; line-height: 1.08; letter-spacing: -0.025em; color: var(--cta-inv-ink); margin-top: 20px; }
.cta h2 .serif { display: block; font-size: 44px; margin-top: 2px; }
.cta p { margin-top: 20px; color: var(--cta-inv-mut); font-size: 16px; line-height: 1.65; max-width: 420px; text-wrap: pretty; }
.cta-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; padding: 0; border: 0; background: none; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--cta-accent); cursor: pointer; }
.cta-link .arw { width: 32px; height: 32px; border-radius: 999px; border: 1.6px solid currentColor; display: inline-flex; align-items: center; justify-content: center; transition: transform .32s cubic-bezier(.22,.61,.36,1), background-color .32s ease, color .32s ease; }
.cta-link .arw svg { width: 15px; height: 15px; display: block; }
.cta-link:hover .arw { transform: translateX(5px); background: var(--cta-accent); color: var(--card); }
.cta-btn { margin-top: 26px; height: 50px; padding: 0 30px; border: none; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--body); font-weight: 500; font-size: 15px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 8px 24px rgba(18,26,60,.28); }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18,26,60,.4); }
/* glass constellation — rendered artwork (4 concentric circles, outer ⌀ = --oc) + revolving icons */
.cta-orbit { --oc: clamp(300px, 34vw, 440px); position: relative; width: var(--oc); height: var(--oc); margin-left: auto; justify-self: end; touch-action: none; user-select: none; -webkit-user-select: none; cursor: url(/assets/_home/cursors/drag.svg) 13 17, grab; }
.cta-orbit.grabbing { cursor: url(/assets/_home/cursors/drag.svg) 13 17, grabbing; }
/* four concentric glass discs — ⌀440 / 327 / 188 / 93 at --oc = 440 */
.orbit-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 999px; background: var(--cta-ring-bg); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); pointer-events: none; }
.orbit-ring::before, .orbit-ring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
/* 1px, zero-blur inner shadows — masked so only the top-left and bottom-right arcs read */
.orbit-ring::before { box-shadow: inset 1px 1px 0 var(--cta-ring-line); -webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.9) 18%, transparent 44%); mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.9) 18%, transparent 44%); }
.orbit-ring::after { box-shadow: inset -1px -1px 0 var(--cta-ring-line); -webkit-mask-image: linear-gradient(315deg, #000 0%, rgba(0,0,0,.9) 18%, transparent 44%); mask-image: linear-gradient(315deg, #000 0%, rgba(0,0,0,.9) 18%, transparent 44%); }
/* outer shadow pushed to the top-left / bottom-right so it never reads at TR or BL */
.orbit-ring.r4, .orbit-ring.r3, .orbit-ring.r2 { box-shadow: -34px -34px 70px -30px var(--cta-ring-shadow), 34px 34px 70px -30px var(--cta-ring-shadow); }
.orbit-ring.r1 { width: 21.136%; height: 21.136%; background: var(--cta-r1-bg); box-shadow: 0 4px 24px var(--cta-r1-shadow); }
.orbit-ring.r4 { width: 100%; height: 100%; }
.orbit-ring.r3 { width: 74.318%; height: 74.318%; }
.orbit-ring.r2 { width: 42.727%; height: 42.727%; }
/* ambient artificial shadows */
.orbit-glow { position: absolute; pointer-events: none; user-select: none; z-index: 0; opacity: var(--cta-glow-opacity); }
.orbit-glow img { width: 100%; height: 100%; display: block; }
.orbit-glow.tl { width: 71.6%; height: 72.7%; left: -6%; top: -8%; }
.orbit-glow.br { width: 74.1%; height: 70.5%; right: -7%; bottom: -8%; }
.orbit-rotor { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--rot, 0deg)); will-change: transform; z-index: 1; }
.orbit-item { position: absolute; top: 0; left: 0; --r: calc(var(--oc) * 0.37159); --sz: calc(var(--oc) * 0.17727); --tilt: 0deg; --a: 0deg; transform: translate(-50%,-50%) rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1)); }
.orbit-item .oi { display: block; width: var(--sz); height: var(--sz); transform: rotate(calc(var(--rot, 0deg) * -1 + var(--tilt))); will-change: transform; margin: 0; }
.orbit-item .oi > img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; filter: brightness(0) invert(1); }
/* icon centres sit on the 3rd circle's edge so each straddles into the 4th band */
.orbit-item.p1 { --a: 0deg;   --sz: calc(var(--oc) * 0.19545); --tilt: -16deg; }
.orbit-item.p2 { --a: 51deg;  --sz: calc(var(--oc) * 0.17727); --tilt: 22deg; }
.orbit-item.p3 { --a: 103deg; --sz: calc(var(--oc) * 0.21364); --tilt: -34deg; }
.orbit-item.p4 { --a: 154deg; --sz: calc(var(--oc) * 0.18409); --tilt: 12deg; }
.orbit-item.p5 { --a: 206deg; --sz: calc(var(--oc) * 0.20455); --tilt: -28deg; }
.orbit-item.p6 { --a: 257deg; --sz: calc(var(--oc) * 0.17727); --tilt: 38deg; }
.orbit-item.p7 { --a: 309deg; --sz: calc(var(--oc) * 0.19091); --tilt: -12deg; }
/* extra third-party marks sit bare — no fill, no border */
.oi-sparkle, .oi-icon { display: flex; align-items: center; justify-content: center; background: transparent; border-radius: 28%; }
.oi-sparkle i, .oi-icon i { font-size: clamp(26px, 100%, 34px); color: var(--orbit-mark); }
.oi-tile { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: none; border: 0; box-shadow: none; }
.oi-tile img { width: 64%; height: 64%; object-fit: contain; filter: var(--oi-shadow); }
/* logo mark, centred inside the 93px disc */
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 21.14%; height: 21.14%; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.orbit-center svg { width: 62%; height: 62%; display: block; }
.orbit-center svg path { fill: var(--orbit-mark); }

/* theme-specific glass icon inversion logic for light cta backgrounds */
.cta-orbit .oi-tile img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1)) !important;
}
html[data-theme="dark"] .cta-orbit .oi-tile img {
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.1)) !important;
}
/* ============ MOTION REVEALS ============ */
.mv-rise,
.mv-hero,
.mv-zoom,
.mv-clip {
  opacity: 0;
  will-change: transform, opacity;
}
.mv-rise {
  transform: translate3d(0, 22px, 0);
  transition: opacity .68s cubic-bezier(.16,1,.3,1), transform .68s cubic-bezier(.16,1,.3,1);
}
.mv-hero {
  transform: translate3d(0, 34px, 0) scale(.988);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.mv-zoom {
  transform: translate3d(0, 14px, 0) scale(.972);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.mv-clip {
  clip-path: inset(0 0 100% 0 round 18px);
  transform: translate3d(0, 18px, 0);
  transition: clip-path .95s cubic-bezier(.22,1,.36,1), opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.mv-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 18px);
}
.mv-stagger {
  transition-delay: calc(var(--mv-i, 0) * 75ms);
}
.mv-float {
  animation: mvFloat 5.4s ease-in-out infinite;
}
@keyframes mvFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
[data-mv-magnetic] {
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .24s ease;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}
[data-mv-magnetic].mv-active {
  box-shadow: 0 14px 28px rgba(16,24,45,.2);
}
html[data-theme="dark"] [data-mv-magnetic].mv-active {
  box-shadow: 0 14px 28px rgba(0,0,0,.38);
}
@media (prefers-reduced-motion: reduce) {
  .mv-rise,
  .mv-hero,
  .mv-zoom,
  .mv-clip,
  .mv-float {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }
  [data-mv-magnetic] {
    transform: none !important;
  }
}

/* site preloader — 1px signal line + odometer */
#site-preloader { position: fixed; inset: 0; z-index: 9998; background: #14181F; display: flex; align-items: center; justify-content: center; transition: transform .8s cubic-bezier(.7,0,.2,1), opacity .55s ease; }
#site-preloader::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 42%, #1D222C 0%, #171C24 45%, #10141A 100%); }
#site-preloader::after { content: ''; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
#site-preloader.is-hiding { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.pre-rig { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; width: min(760px, 84vw); }
.pre-lab { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: .16em; color: rgba(255,255,255,.42); font-variant-numeric: tabular-nums; line-height: 1; flex: none; }
.pre-lab.r { color: rgba(255,255,255,.2); }
#pre-wave { display: block; flex: 1; height: 150px; }

/* ============ STORIES ============ */
.stories-viewport { margin-top: 40px; padding: 14px 0 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.stories { display: flex; gap: 22px; transition: transform .55s cubic-bezier(.22,.61,.36,1); cursor: url(/assets/_home/cursors/drag.svg) 13 17, grab; touch-action: pan-y; }
.stories:active { cursor: url(/assets/_home/cursors/drag.svg) 13 17, grabbing; }
.story { user-select: none; -webkit-user-select: none; flex: 0 0 calc((100% - 44px) / 3); position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 24px; min-height: 320px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.story::before { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
html[data-theme="dark"] .story::before { background: linear-gradient(105deg, transparent, rgba(255,255,255,.10), transparent); }
.story:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(16,24,45,.05), 0 22px 44px rgba(16,24,45,.12); border-color: var(--line); }
.story:hover::before { opacity: 1; animation: shimmer 1s ease; }
@keyframes shimmer { from { left: -60%; } to { left: 130%; } }
.story .quote { font-family: var(--serif); font-style: italic; font-size: 42px; line-height: .5; color: var(--ink); }
.story .stars { display: flex; gap: 2px; margin-left: auto; }
.story-top { display: flex; align-items: flex-start; }
.story p { margin: 18px 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; flex: 1; display: flex; align-items: center; text-align: justify; }
.story-by { display: flex; align-items: center; gap: 11px; margin-top: 0; }
.story-by img { display: none; }
.story-by .nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.story-by .rl { font-size: 12px; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 30px; }
.dots i { cursor: pointer; }
.dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: all .2s ease; cursor: pointer; }
.dots i.on { width: 22px; background: var(--navy); }

/* trusted */
.trusted { display: flex; align-items: center; gap: 26px; margin: 64px 16px 0; padding: 26px 34px; background: var(--faq-bg); border-radius: 16px; }
.trusted .lbl { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap; }
.trusted .logos { display: flex; align-items: center; justify-content: space-around; flex: 1; gap: 20px; opacity: .55; }
.logos-marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.logos-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: logosScroll 34s linear infinite; }
.logos-track img { height: 24px; width: auto; object-fit: contain; opacity: .62; transition: opacity .2s ease; flex-shrink: 0; }
.logos-track img:hover { opacity: 1; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
html[data-theme="dark"] .logos-track img { filter: brightness(0) invert(1); opacity: .7; }
@keyframes logosScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ms { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 18px; color: var(--muted); }
.ms .g { display: grid; grid-template-columns: 9px 9px; grid-template-rows: 9px 9px; gap: 2px; }
.ms .g span { display: block; } .ms .g span:nth-child(1){background:#f25022}.ms .g span:nth-child(2){background:#7fba00}.ms .g span:nth-child(3){background:#00a4ef}.ms .g span:nth-child(4){background:#ffb900}

/* final cta */
.final { position: relative; padding: 80px 0; text-align: center; border-radius: 28px; margin: 0 80px; background: radial-gradient(60% 90% at 8% 10%, rgba(122, 140, 235, 0.5), transparent 60%), radial-gradient(55% 85% at 92% 85%, rgba(93, 111, 214, 0.55), transparent 60%), radial-gradient(40% 60% at 80% 15%, rgba(160, 175, 245, 0.4), transparent 65%), linear-gradient(120deg, #f6f7fc 0%, #eef0fa 50%, #e4e8f8 100%); overflow: hidden; }
html[data-theme="dark"] .final { background: radial-gradient(60% 90% at 8% 10%, rgba(96, 114, 210, 0.4), transparent 60%), radial-gradient(55% 85% at 92% 85%, rgba(63, 80, 170, 0.45), transparent 60%), radial-gradient(40% 60% at 80% 15%, rgba(120, 138, 220, 0.3), transparent 65%), linear-gradient(120deg, #16204a 0%, #131a3c 50%, #10162f 100%); }
.final h2 { font-family: var(--sans); font-weight: 600; font-size: 44px; letter-spacing: -0.02em; color: var(--ink); }
.final p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.final .cta-btn { display: inline-block; margin-top: 0; }
.final-actions { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cta-btn-ghost { height: 50px; padding: 0 30px; border-radius: 999px; background: transparent; color: var(--ink); border: 1px solid rgba(23,32,52,.18); font-family: var(--body); font-weight: 500; font-size: 15px; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.cta-btn-ghost:hover { transform: translateY(-2px); background: rgba(23,32,52,.05); border-color: rgba(23,32,52,.3); }
.cta-btn-ghost:active { transform: translateY(0); }
html[data-theme="dark"] .cta-btn-ghost { color: #E8D6C4; border-color: rgba(255,255,255,.22); }
html[data-theme="dark"] .cta-btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
html[data-theme="dark"] .final .cta-btn { background: #E8D6C4; color: #14181F; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
html[data-theme="dark"] .cta-btn { background: #E8D6C4; color: #14181F; }
/* final CTA secondary = same glass button as the hero, tuned per section brightness */
.final .hero-btn-glass { margin-top: 0; height: 50px; color: var(--ink); background: rgba(23,32,52,.06); box-shadow: inset 0 2px 4px rgba(255,255,255,.3); }
.final .hero-btn-glass:hover { transform: translateY(-2px); background: rgba(23,32,52,.09); }
.final .hero-btn-glass img { filter: invert(1) brightness(.2); }
html[data-theme="dark"] .final .hero-btn-glass { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 2px 4px rgba(255,255,255,.14); }
html[data-theme="dark"] .final .hero-btn-glass img { filter: none; }

/* footer */
footer { border-top: 1px solid var(--line-soft); margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding: 60px 0; }
.foot .logo { color: var(--ink); }
.foot .logo .logo-mark { background: var(--navy); border: none; }
html[data-theme="dark"] .foot .logo .logo-mark { background: rgba(20,24,31,0.75); border: 1px solid rgba(255,255,255,0.1); }
.foot .logo .logo-word { color: var(--navy); }
html[data-theme="dark"] .foot .logo .logo-word { color: #E8D6C4; }
.foot-desc { margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 300px; }
.foot-cp { margin-top: 16px; color: var(--muted-2); font-size: 12.5px; }
.foot-col h5 { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 13px; transition: color .2s ease; }
.foot-col a:hover { color: var(--ink); }

/* interaction states */
.nav-link:active { transform: scale(.96); }
.nav-cta:active { transform: translateY(0) scale(.97); }
.icon-btn:active { transform: scale(.92); }
.hero-btn:active { transform: translateY(0) scale(.98); }
.cta-btn:active { transform: translateY(0) scale(.98); }
.wide-btn:active { transform: translateY(0) scale(.98); }
.faq-q:hover .faq-ic { background: var(--line); }
.dots i:hover { background: var(--muted-2); }
.chat-send { cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.chat-send:hover { filter: brightness(1.14); transform: scale(1.06); }
.chat-send:active { transform: scale(.95); }
.chat-mini { cursor: pointer; transition: border-color .15s ease; }
.chat-mini:hover { border-color: var(--navy); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(130px, 1fr)); gap: 28px 28px; padding: 42px 0 12px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.foot-brand .logo .logo-word { color: var(--navy) !important; }
html[data-theme="dark"] .foot-brand .logo .logo-word { color: #E8D6C4 !important; }
.foot-brand .logo-mark { background: transparent; border: none; }
.foot-brand .lm-dark { display: none; }
html[data-theme="dark"] .foot-brand .lm-light { display: none; }
html[data-theme="dark"] .foot-brand .lm-dark { display: block; }
.foot-brand-note { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
.foot-col h4 { margin: 0 0 12px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.foot-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.35; padding: 5px 0; }
.foot-col a:hover { color: var(--navy); }
html[data-theme="dark"] .foot-col a:hover { color: #E8D6C4; }
.foot-col .foot-desc { display: block; color: var(--muted-2); font-size: 12.5px; font-weight: 400; line-height: 1.4; margin-top: 2px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; max-width: none; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-min { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 34px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.foot-min .logo .logo-word { color: var(--navy); }
html[data-theme="dark"] .foot-min .logo .logo-word { color: #E8D6C4; }
.foot-min .logo-mark { background: transparent; border: none; }
html[data-theme="dark"] .foot-min .logo-mark { background: transparent; border: none; }
.foot-min .lm-dark { display: none; }
html[data-theme="dark"] .foot-min .lm-light { display: none; }
html[data-theme="dark"] .foot-min .lm-dark { display: block; }

/* WhatsApp FAB */
.wa-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; padding: 10px; border-radius: 999px; display: flex; align-items: center; gap: 0; background: #25D366; color: #fff; box-shadow: none; text-decoration: none; transition: transform .18s ease, padding .4s cubic-bezier(.22,.61,.36,1); }
html[data-theme="dark"] .wa-fab { color: #14181F; }
.wa-fab:hover { transform: translateY(-2px) scale(1.04); padding-right: 20px; color: #fff; }
html[data-theme="dark"] .wa-fab:hover { color: #14181F; }
.wa-fab:active { transform: translateY(0) scale(.97); }
.wa-glyph { display: block; flex-shrink: 0; transform-origin: 50% 70%; }
.wa-fab { animation: waShake 5s ease-in-out infinite; transform-origin: 50% 60%; }
.wa-fab:hover { animation: none; }
@keyframes waShake { 0%,88%,100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 91% { transform: rotate(12deg); } 93% { transform: rotate(-9deg); } 95% { transform: rotate(7deg); } 97% { transform: rotate(-4deg); } 99% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
/* Live Paper shader overlay (progressive enhancement; PNG texture is the fallback) */
.paper-live-ov { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; z-index: 4; opacity: .2; }
.paper-live-ov canvas { width: 100% !important; height: 100% !important; display: block; }
.paper-live .hero-bg { background-image: url('/assets/_home/images/hero-bg.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-blend-mode: normal; }
.paper-live .cta { background: var(--cta-inv-bg); }
.paper-live .prod, .paper-live .prod-wide { background: var(--prod-grad); }
.paper-live .prod-shot::after, .paper-live .insight-shot::after, .paper-live .os-ic::after, .paper-live .dash-tex, .paper-live .cta::after, .paper-live .prod::after, .paper-live .prod-wide::after, .paper-live .final::after, .paper-live .hero-bg::before { display: none; }
.wa-label { font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: currentColor; white-space: nowrap; overflow: hidden; max-width: 0; opacity: 0; margin-left: 0; transition: max-width .4s cubic-bezier(.22,.61,.36,1), opacity .3s ease, margin-left .4s cubic-bezier(.22,.61,.36,1); }
.wa-fab:hover .wa-label { max-width: 160px; opacity: 1; margin-left: 11px; }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; padding: 10px; } .wa-label { font-size: 14px; } }

/* responsive */
@media (max-width: 900px) {
  .nav-links-cap { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .hero h1 { font-size: 48px; } .hero h1 .serif { font-size: 42px; }
  .sec-title, .sec-title .serif { font-size: 34px; }
  .stats, .prod-grid, .os-grid, .stories { grid-template-columns: 1fr; }
  .prod-wide, .cta-grid { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; } .dash-side { display: none; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
  .announce-thumb { width: 32px; height: 20px; }
  .trusted { flex-direction: column; align-items: flex-start; }
}

/* ===== mobile nav menu ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 130; display: none; flex-direction: column; background: var(--bg); overflow: hidden; }
.mobile-menu.open { display: flex; }
body.mm-lock { overflow: hidden; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 24px; flex-shrink: 0; }
.mm-logo { color: var(--navy); }
html[data-theme="dark"] .mm-logo { color: #E8D6C4; }
.mm-logo .logo-mark { -webkit-mask: url(/assets/_home/glass/logo-mark.png) center/contain no-repeat; mask: url(/assets/_home/glass/logo-mark.png) center/contain no-repeat; background: var(--navy); }
html[data-theme="dark"] .mm-logo .logo-mark { background: #E8D6C4; }
.mm-logo .logo-mark img { display: none; }
.mm-logo .logo-word { color: var(--navy); }
html[data-theme="dark"] .mm-logo .logo-word { color: #E8D6C4; }
.mm-close { width: 42px; height: 42px; border: none; border-radius: 50%; background: var(--pill-bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.mm-close:hover { background: var(--line); }
.mm-close:active { transform: scale(.92); }
.mm-links { display: flex; flex-direction: column; padding: 8px 24px; gap: 0; flex: 1; }
.mm-link { font-family: var(--sans); font-weight: 500; font-size: 26px; letter-spacing: -.02em; color: var(--ink); padding: 18px 4px; border-bottom: 1px solid var(--line-soft); transition: color .2s ease, padding-left .2s ease; }
.mm-link:hover, .mm-link:active { color: var(--navy); padding-left: 10px; }
html[data-theme="dark"] .mm-link:hover, html[data-theme="dark"] .mm-link:active { color: #A3CBFF; }
.mm-foot { padding: 20px 24px calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.mm-panels { position: relative; flex: 1; overflow: hidden; min-height: 0; }
.mm-panel { position: absolute; inset: 0; transition: transform .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mm-main { transform: translateX(0); display: flex; flex-direction: column; }
.mm-locale-panel { transform: translateX(100%); }
.mm-panels.open-locale .mm-main { transform: translateX(-100%); }
.mm-panels.open-locale .mm-locale-panel { transform: translateX(0); }
.mm-locale-head { display: flex; align-items: center; gap: 12px; padding: 0 24px; height: 56px; }
.mm-back { width: 40px; height: 40px; border: none; border-radius: 50%; background: var(--pill-bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s ease; }
.mm-back:hover { background: var(--line); }
.mm-locale-title { font-family: var(--sans); font-weight: 600; font-size: 18px; }
.mm-locale-section { padding: 0 24px; margin-top: 20px; }
.mm-locale-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mm-locale-opts { display: flex; flex-direction: column; gap: 4px; }
.mm-locale-opt { border: none; background: transparent; text-align: left; padding: 12px 16px; border-radius: 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s ease; }
.mm-locale-opt:hover { background: var(--pill-bg); }
.mm-locale-opt.on { background: var(--navy); color: #fff; }
html[data-theme="dark"] .mm-locale-opt.on { background: #E8D6C4; color: #14181F; }
.mm-locale { height: 56px; border: none; border-radius: 16px; background: var(--pill-bg); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0 20px; transition: background .18s ease; }
.mm-locale:hover { background: var(--line); }
.mm-cta { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px; border: none; border-radius: 14px; background: var(--navy); color: #fff !important; text-decoration: none; line-height: 1; font-family: var(--sans); font-weight: 600; font-size: 16px; cursor: pointer; box-shadow: 0 8px 22px rgba(18,26,60,.3); transition: transform .18s ease, background .2s ease; }
.mm-cta:active { transform: scale(.98); }
html[data-theme="dark"] .mm-cta { background: var(--navy); color: #fff !important; }
.mm-theme { height: 52px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .18s ease; }
.mm-theme:hover { background: var(--pill-bg); }
.mm-theme .mm-theme-ic { display: inline-flex; }
@keyframes mmSlide { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu.open .mm-link, .mobile-menu.open .mm-foot > *, .mobile-menu.open .mm-locale { animation: mmSlide .42s cubic-bezier(.22,.61,.36,1) backwards; }
.mobile-menu.open .mm-link:nth-child(1) { animation-delay: .05s; }
.mobile-menu.open .mm-link:nth-child(2) { animation-delay: .1s; }
.mobile-menu.open .mm-link:nth-child(3) { animation-delay: .15s; }
.mobile-menu.open .mm-link:nth-child(4) { animation-delay: .2s; }
.mobile-menu.open .mm-link:nth-child(5) { animation-delay: .24s; }
.mobile-menu.open .mm-locale { animation-delay: .28s; }
.mobile-menu.open .mm-foot > *:nth-child(1) { animation-delay: .24s; }
.mobile-menu.open .mm-foot > *:nth-child(2) { animation-delay: .28s; }

/* ===== responsive: tablet ===== */
@media (max-width: 900px) {
  .hamburger { display: inline-flex; }
  .cap-actions, #localeBtnMini, .nav-right > .locale-btn, .nav-right .locale-btn { display: none !important; }
  .nav-scrolled .cap-actions, .nav-scrolled .nav-right > .locale-btn { display: none !important; }
  .cap-actions .cap-cta, .nav-right .nav-cta { display: none !important; }
  .wrap { padding: 0 32px; }
  .cta, .final, .faq-shell { margin: 0 32px; }
  .cta > .wrap, .final > .wrap, .faq-shell > .wrap { padding-left: 16px; padding-right: 16px; }
  .pad, .pad-sm { padding: 72px 0; }
  .hero-inner { padding: 132px 32px 92px; }
  .hero h1 { font-size: 44px; }
  .hero h1 .serif { font-size: 38px; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .sec-title, .sec-title .serif { font-size: 34px; }
  .sec-sub { font-size: 15px; }
  .stories .story { flex: 0 0 100%; }
  .prod-grid { zoom: 1; }
  .prod-wide { padding: 26px; grid-template-columns: 1fr; }
  .insight-shot { margin: 26px 0 -26px 0; border-radius: 14px 14px 0 0; align-self: stretch; }
  .cta { padding: 40px 0; }
  .cta-orbit { margin: 8px auto 0; justify-self: center; }
  .final-actions { flex-wrap: wrap !important; }
}

/* ===== responsive: mobile ===== */
@media (max-width: 640px) {
  .pre-rig { width: 100%; padding: 0 24px; box-sizing: border-box; gap: 14px; }
  #pre-wave { min-width: 0; }
  .nav { padding: 0 20px; }  .nav-scrolled { padding: 10px 20px; }
  .nav-right .nav-cta { display: none; }
  .wrap { padding: 0 32px; }
  .pad, .pad-sm { padding: 56px 0; }
  .hero-inner { padding: 116px 24px 76px; }
  .hero h1 { font-size: 37px; line-height: 1.05; }
  .hero h1 .serif { font-size: 30px; }
  .hero-sub { font-size: 15px; max-width: none; }
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; margin-top: 30px; padding: 10px 20px 40px; margin-bottom: -40px; margin-left: -20px; margin-right: -20px; overflow: visible !important; }
  .hero-btn, .hero-btn-glass { width: 100%; margin-top: 0; height: 52px; justify-content: center; }
  .chat { margin-top: 36px; width: 100%; }
  .sec-head { gap: 14px; }
  .sec-title, .sec-title .serif { font-size: 29px; }
  .sec-sub { font-size: 14.5px; }
  .dash { margin-top: 36px; }
  .dash-main { padding: 14px; }
  .dash-kpis { gap: 8px; }
  .kpi { padding: 10px; }
  .kpi .val { font-size: 18px; }
  .feed-row, .feed-h { padding: 9px 12px; }
  .stats { margin-top: 40px; gap: 16px; }
  .stat { padding: 26px 24px; height: auto !important; aspect-ratio: auto; }
  .stat .num { font-size: 30px; }
  .stat .cap { margin-top: 22px; max-width: none; }
  .os-grid { margin-top: 40px; }
  .os { padding: 22px; gap: 15px; }
  .os-ic { width: 54px; height: 54px; }
  .os h4 { font-size: 18px; }
  .prod-wide { padding: 24px; }
  .prod-wide h3 { font-size: 24px; }
  .cta { padding: 34px 0; border-radius: 22px; margin: 0 32px; }
  .cta h2, .cta h2 .serif { font-size: 30px; }
  .cta-orbit { --oc: min(360px, 66vw); }
  .faq-shell { margin: 0 32px; border-radius: 22px; }
  .faq-list { margin-top: 34px; }
  .faq-idx { display: none; }
  .faq-q { padding: 19px 18px; font-size: 15px; gap: 12px; }
  .faq-a-inner { padding: 0 18px 19px 20px; }
  .final { margin: 0 32px; }
  .final h2 { font-size: 32px; }
  .final p { font-size: 14.5px; }
  .final-actions { flex-direction: column !important; width: 100%; gap: 12px; padding: 0 16px; }
  .final-actions .cta-btn, .final-actions .cta-btn-ghost { width: 100%; }
  .trusted { margin: 44px 6px 0; padding: 20px 22px; overflow: hidden; }
  .trusted .logos-track img { height: 18px; }
  .cmodal-box { padding: 28px 22px; border-radius: 20px; }
  .cm-title { font-size: 22px; }
  .mm-link { font-size: 23px; padding: 16px 4px; }
}

/* ===== responsive: small mobile ===== */
@media (max-width: 420px) {
  .logo-word { font-size: 14px; }
  .hero h1 { font-size: 31px; }
  .hero h1 .serif { font-size: 26px; }
  .sec-title, .sec-title .serif { font-size: 25px; }
  .cta-orbit { --oc: min(280px, 62vw); }
  .cta h2, .cta h2 .serif { font-size: 27px; }
  .final h2 { font-size: 27px; }
  .prod-wide h3 { font-size: 22px; }
}

/* ===== mobile header states + fullscreen image viewer ===== */
.dash-expand { display: none; }
.img-viewer { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(8,11,20,.94); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); touch-action: none; }
.img-viewer.open { display: block; }
.iv-stage { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.iv-img { max-width: 100%; max-height: 100%; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; cursor: grab; display: block; }
.iv-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 2; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.iv-close:hover { background: rgba(255,255,255,.28); } .iv-close:active { transform: scale(.92); }
.iv-zoom { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; background: rgba(255,255,255,.12); padding: 6px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.iv-zoom button { width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 21px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease, transform .12s ease; }
.iv-zoom button:hover { background: rgba(255,255,255,.28); } .iv-zoom button:active { transform: scale(.9); }

@media (max-width: 900px) {
  .dash-slide { object-position: top left; }
  .dash-expand { display: inline-flex; position: absolute; top: 10px; right: 10px; z-index: 7; width: 38px; height: 38px; border: none; border-radius: 10px; background: rgba(18,22,34,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.14); transition: background .18s ease, transform .15s ease; }
  .dash-expand:hover { background: rgba(18,22,34,.7); } .dash-expand:active { transform: scale(.92); }
  /* keep header visible on mobile through all scroll states */
  .nav-scrolled .logo, .nav-scrolled #themeBtn, .nav-scrolled #localeBtn, .nav-scrolled .nav-right .nav-cta { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
  .nav-msolid .locale-btn { color: var(--ink) !important; }
  /* glass fill while colliding with hero text */
  .nav-mglass .nav-inner { background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border-radius: 16px; box-shadow: inset 0 2px 4px rgba(255,255,255,.14); padding: 0 16px; transition: background .3s ease; }
  /* solid fill once past the hero — floating pill, same layout as the glass state */
  .nav-msolid { background: transparent; box-shadow: none; }
  html[data-theme="dark"] .nav-msolid { background: transparent; box-shadow: none; }
  .nav-msolid .nav-inner { background: var(--bg); border-radius: 16px; padding: 0 16px; box-shadow: 0 6px 22px rgba(16,24,45,.14); transition: background .3s ease, box-shadow .3s ease; }
  html[data-theme="dark"] .nav-msolid .nav-inner { box-shadow: 0 6px 22px rgba(0,0,0,.55); }
  .nav-msolid .logo, .nav-msolid .logo-word { color: var(--ink) !important; }
  .nav-msolid .icon-btn, .nav-msolid .hamburger { color: var(--ink) !important; }
  .nav-msolid .nav-cta { color: #fff !important; }
.nav-msolid .nav-inner .logo-mark { background: var(--navy) !important; }
  html[data-theme="dark"] .nav-msolid .nav-inner .logo-mark { background: #E8D6C4 !important; }
}

/* ============ CARD-STACK DEMO ============ */
.demo-stage { position: relative; max-width: 820px; margin: 0 auto; }

.demo-cards {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.demo-card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0F0F0F;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  cursor: pointer;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), filter .55s ease, opacity .45s ease;
  transform-origin: 50% 100%;
  will-change: transform;
}
.demo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* pill tab strip */
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.demo-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.demo-tab:hover { color: var(--ink); }
.demo-tab.on {
  border-color: transparent;
  color: var(--ink);
  font-weight: 600;
}
.demo-tab-pill {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  z-index: 0;
}
html[data-theme="dark"] .demo-tab-pill {
  background: var(--card-2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.20), 0 4px 12px rgba(0,0,0,0.12);
}
.demo-tab-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* fullscreen overlay */
.demo-fs {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  height: 100vh;
  height: 100dvh;
}
.demo-fs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.96);
}
.demo-fs-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-fs-inner img {
  max-width: 94%;
  max-height: 86%;
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  pointer-events: none;
}
.demo-fs-label {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  white-space: nowrap;
}
.demo-fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.demo-fs-nav:hover { background: rgba(255,255,255,0.22); }
.demo-fs-nav:active { transform: translateY(-50%) scale(.92); }
.demo-fs-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.demo-fs-close:hover { background: rgba(255,255,255,0.28); }
.demo-fs-close:active { transform: scale(.92); }

/* mobile tweaks */
@media (max-width: 440px) {
  .demo-cards { aspect-ratio: 4 / 3; }
  .demo-tabs { gap: 6px; margin-top: 14px; }
  .demo-tab { padding: 7px 10px; font-size: 12px; }
  .demo-card { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-card { transition: none; }
}


/* ===== Card Stack ===== */
.cs-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cs-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
}
.cs-tab:hover { background: var(--bg); transform: translateY(-1px); }
.cs-tab.on { border-color: var(--navy); background: rgba(30,43,98,.06); color: var(--navy); font-weight: 600; }
html[data-theme="dark"] .cs-tab.on { border-color: #A3CBFF; background: rgba(163,203,255,.08); color: #A3CBFF; }
.cs-tab i.ph { font-size: 18px; opacity: .9; }

.cs-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 28px auto 0;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  overflow: visible;
}
.cs-card {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .6s ease, opacity .4s ease;
  transform-origin: 50% 100%;
  position: absolute;
  top: 0; left: 0;
}
.cs-card[data-depth="0"] { z-index: 3; position: relative; transform: none; filter: none; }
.cs-card[data-depth="1"] { z-index: 2; transform: translateY(18px) translateX(10px) rotate(4deg) scale(.95); filter: brightness(.82); }
.cs-card[data-depth="2"] { z-index: 1; transform: translateY(36px) translateX(-10px) rotate(-4deg) scale(.9); filter: brightness(.64); }
.cs-card[data-depth="hidden"] { display: none; }

.cs-expand {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 38px; height: 38px;
  border: none; border-radius: 10px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s ease, transform .15s ease;
}
.cs-expand:hover { background: rgba(0,0,0,.65); }
.cs-expand:active { transform: scale(.92); }

/* fullscreen viewer */
.cs-fs {
  position: fixed; inset: 0; z-index: 2147483647;
  display: none; align-items: center; justify-content: center;
}
.cs-fs.open { display: flex; }
.cs-fs-back { position: absolute; inset: 0; background: rgba(8,8,8,.96); }
.cs-fs-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.cs-fs-img { max-width: 92%; max-height: 84%; border-radius: 10px; object-fit: contain; user-select: none; pointer-events: none; }
.cs-fs-label {
  position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff; font: 500 13px/1 var(--body); white-space: nowrap;
}
.cs-fs-prev, .cs-fs-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .18s ease;
}
.cs-fs-prev { left: 16px; }
.cs-fs-next { right: 16px; }
.cs-fs-prev:hover, .cs-fs-next:hover { background: rgba(255,255,255,.24); }
.cs-fs-close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px;
  width: 44px; height: 44px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.cs-fs-close:hover { background: rgba(255,255,255,.28); }
.cs-fs-close:active { transform: scale(.92); }
body.cs-locked { overflow: hidden; }

@media (max-width: 640px) {
  .cs-stage { aspect-ratio: 4 / 3; }
  .cs-expand { top: 10px; right: 10px; width: 34px; height: 34px; }
}
