/* =========================================================
   Oqeria v1.1 — design system
   Dark is default; [data-theme="light"] switches tokens.
   ========================================================= */
:root, [data-theme="dark"] {
  --bg: #07090F;
  --bg-2: #0B0F18;
  --surface: #10151F;
  --surface-2: #161C29;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #ECEFF6;
  --text-2: #A9B2C5;
  --muted: #6F7A93;
  --brand: #8B6CFF;
  --brand-2: #22D3EE;
  --lime: #C6F432;
  --grad: linear-gradient(135deg, #7C5CFF 0%, #22D3EE 100%);
  --grad-text: linear-gradient(100deg, #A48BFF 0%, #22D3EE 60%, #C6F432 100%);
  --glow: rgba(124,92,255,.35);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 60px rgba(0,0,0,.45);
  --card: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  --header-bg: rgba(7,9,15,.86);
  --ok: #34D399;
  --err: #F87171;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F6F6FA;
  --bg-2: #EEEFF6;
  --surface: #FFFFFF;
  --surface-2: #F3F4F9;
  --line: rgba(11,18,32,.09);
  --line-2: rgba(11,18,32,.16);
  --text: #0B1220;
  --text-2: #3A4458;
  --muted: #6B7488;
  --brand: #6A4BFF;
  --brand-2: #0EA5C6;
  --lime: #65A30D;
  --grad: linear-gradient(135deg, #6A4BFF 0%, #0EA5C6 100%);
  --grad-text: linear-gradient(100deg, #6A4BFF 0%, #0EA5C6 70%, #65A30D 100%);
  --glow: rgba(106,75,255,.22);
  --shadow: 0 1px 2px rgba(11,18,32,.05), 0 18px 50px rgba(11,18,32,.08);
  --card: linear-gradient(180deg, #FFFFFF, #FBFBFE);
  --header-bg: rgba(246,246,250,.9);
  color-scheme: light;
}
:root {
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16.5px; overflow-x: hidden; transition: background-color .5s var(--ease), color .5s var(--ease); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--brand); color: #fff; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.small { font-size: .82rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 300; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.grad, .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.35em; border-radius: 999px; font-weight: 600; font-size: .98rem; color: #fff; background: var(--grad); border: 0; cursor: pointer; overflow: hidden; isolation: isolate; box-shadow: 0 10px 30px var(--glow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; -webkit-tap-highlight-color: transparent; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #22D3EE, #C6F432); opacity: 0; transition: opacity .45s var(--ease); }
.btn:hover::before { opacity: .35; }
.btn:hover { box-shadow: 0 16px 40px var(--glow); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.04rem; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); color: var(--bg); }
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost-soft { background: var(--surface-2); color: var(--text); box-shadow: none; }
.btn-arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.btn.is-loading { pointer-events: none; opacity: .8; }
.link-arrow { font-weight: 600; color: var(--text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .3s; padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--brand-2); }

/* ---------- preloader + curtain ---------- */
.preloader { position: fixed; inset: 0; z-index: 400; background: #07090F; display: none; place-items: center; }
.is-preloading .preloader { display: grid; }
.preloader.done { animation: plOut .8s var(--ease-io) forwards; }
@keyframes plOut { to { clip-path: inset(0 0 100% 0); } }
.pl-inner { display: grid; gap: 22px; justify-items: center; }
.pl-bar { width: 180px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--grad); animation: plBar 1.5s var(--ease) forwards; }
@keyframes plBar { to { width: 100%; } }
.curtain { position: fixed; inset: 0; z-index: 350; pointer-events: none; background: var(--bg); transform: scaleY(0); transform-origin: bottom; }
.curtain::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.is-leaving .curtain { animation: curtainIn .45s var(--ease-io) forwards; }
.js body { animation: pageIn .6s var(--ease) both; }
@keyframes curtainIn { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- custom cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor [data-tilt] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor .pg, .has-cursor .demo-root { cursor: auto; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate3d(-100px,-100px,0); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand-2); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid color-mix(in srgb, var(--text) 45%, transparent); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s; }
.cursor-label { font: 600 .7rem/1 var(--mono); letter-spacing: .04em; color: #07090F; opacity: 0; transition: opacity .2s; white-space: nowrap; text-transform: uppercase; }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--brand-2); background: color-mix(in srgb, var(--brand-2) 12%, transparent); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--lime); border-color: var(--lime); }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot, .cursor.is-text .cursor-dot { opacity: 0; }
.cursor.is-text .cursor-ring { width: 3px; height: 26px; margin: -13px 0 0 -1px; border-radius: 2px; background: var(--brand-2); border-color: transparent; }
.cursor.is-down .cursor-ring { transform-origin: center; scale: .85; }
.cursor.is-hidden { opacity: 0; }

.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; color: var(--text); min-height: 28px; min-width: 120px; }
.site-nav { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.nav-link { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text-2); transition: color .3s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--text); }
.nav-link[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand-2); }
.nav-pill { position: absolute; z-index: 0; top: 5px; height: calc(100% - 10px); left: 0; width: 0; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); cursor: pointer; color: var(--text); transition: transform .4s var(--ease), border-color .3s; }
.theme-toggle:hover { border-color: var(--line-2); transform: rotate(-12deg); }
.theme-toggle svg { overflow: visible; }
.tt-core { transition: r .5s var(--ease); }
.tt-moon { transition: cx .5s var(--ease), cy .5s var(--ease); }
.tt-rays { transform-origin: 12px 12px; transition: transform .5s var(--ease), opacity .4s; }
[data-theme="dark"] .tt-core { r: 8px; }
[data-theme="dark"] .tt-rays { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="light"] .tt-moon { cx: 30px; cy: -4px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 100px 24px 30px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 46px) 37px); transition: clip-path .7s var(--ease-io); overflow-y: auto; }
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 46px) 37px); visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; font: 600 clamp(1.8rem, 8vw, 2.6rem)/1.25 var(--display); padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; transition-delay: 0s; }
.mobile-menu nav a .mono { font-size: .8rem; color: var(--muted); font-weight: 400; }
.mobile-menu nav a[aria-current] { color: var(--brand-2); }
.mobile-menu.open nav a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mm-foot { display: flex; gap: 10px; margin-top: 30px; }
.mm-foot .btn { flex: 1; }
body.menu-open { overflow: hidden; }

.crumbs { padding-top: 96px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); position: relative; z-index: 2; margin-bottom: -60px; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }

/* ---------- reveal / split ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 45ms + var(--d, 0s)); }
.in > .split-w > span, .split-w.in > span, [data-split].in .split-w > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow { position: absolute; inset: -20%; z-index: -2; background: radial-gradient(40% 35% at 80% 20%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%), radial-gradient(40% 40% at 10% 85%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%); animation: glowMove 18s ease-in-out infinite alternate; }
@keyframes glowMove { to { transform: translate3d(3%, -4%, 0) rotate(8deg); } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .82rem var(--mono); color: var(--text-2); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; letter-spacing: .02em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero-title .line { display: block; }
.rotator { display: inline-block; position: relative; white-space: nowrap; }
.rot-word { display: inline-block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.rot-word.out { animation: rotOut .45s var(--ease-io) forwards; }
.rot-word.inn { animation: rotIn .6s var(--ease) forwards; }
@keyframes rotOut { to { transform: translateY(-40%); opacity: 0; filter: blur(6px); } }
@keyframes rotIn { from { transform: translateY(40%); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 38em; }
.hero .lead { margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.hero-points li::before { content: '✓'; color: var(--lime); font-weight: 700; margin-right: 7px; }
.hero-visual { position: relative; transform-style: preserve-3d; perspective: 1000px; }
.chip { position: absolute; font: 500 .8rem var(--mono); padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 85%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: var(--shadow); white-space: nowrap; transform: translateZ(60px); }
.chip-a { top: -18px; left: -24px; } .chip-b { bottom: 40px; right: -26px; } .chip-c { bottom: -20px; left: 30px; }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; width: 24px; height: 40px; margin-left: -12px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* console */
.console { position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow), 0 40px 100px -40px var(--glow); overflow: hidden; font-family: var(--mono); font-size: .9rem; backdrop-filter: blur(10px); }
.console::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 60%, transparent), transparent 40%, transparent 60%, color-mix(in srgb, var(--brand-2) 50%, transparent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .console-bar i:nth-child(2) { background: #FEBC2E; } .console-bar i:nth-child(3) { background: #28C840; }
.console-bar span { margin-left: 8px; }
.console-body { padding: 22px 20px 26px; min-height: 340px; }
.q-line { color: var(--text); position: relative; padding-left: 32px; min-height: 3.2em; }
.prompt { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #07090F; font-weight: 700; font-size: .78rem; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--brand-2); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer { margin-top: 18px; display: grid; gap: 10px; }
.answer .row { display: flex; gap: 12px; color: var(--text-2); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.answer .row.show { opacity: 1; transform: none; }
.answer .row b { color: var(--brand-2); font-weight: 500; min-width: 88px; }
.answer .ok { color: var(--ok); }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 34px; width: max-content; font: 600 clamp(1.3rem, 2.6vw, 2rem)/1 var(--display); white-space: nowrap; will-change: transform; }
.marquee-track span { color: var(--text); }
.marquee-track span:nth-child(4n+3) { -webkit-text-stroke: 1px var(--text-2); color: transparent; }
.marquee-track i { font-style: normal; color: var(--brand-2); }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; flex-wrap: wrap; }
.split-head h2 { max-width: 15em; margin: 0; }
.kicker { font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--brand-2); margin-bottom: 1.1em; }
.icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-2); background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); flex: none; }
.icon.big { width: 64px; height: 64px; border-radius: 18px; }
.icon.big svg { width: 30px; height: 30px; }
.ticks { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.ticks.big li { font-size: 1.08rem; padding-block: 6px; border-bottom: 1px solid var(--line); }

/* services explorer */
.svc-explorer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-item { position: relative; display: flex; align-items: center; gap: 22px; padding: 24px 4px; font: 600 clamp(1.3rem, 2.6vw, 2.1rem)/1.15 var(--display); color: var(--muted); transition: color .4s, padding .5s var(--ease); }
.svc-item .mono { font-size: .8rem; font-weight: 400; color: var(--muted); }
.svc-item .svc-go { margin-left: auto; opacity: 0; transform: translateX(-14px) rotate(-45deg); transition: .5s var(--ease); color: var(--brand-2); }
.svc-item::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad); transition: width .7s var(--ease); }
.svc-item.on, .svc-item:hover { color: var(--text); padding-left: 16px; }
.svc-item.on .svc-go, .svc-item:hover .svc-go { opacity: 1; transform: none; }
.svc-item.on::after { width: 100%; }
.svc-mobile { display: none; color: var(--text-2); padding: 0 4px 18px; margin: -8px 0 0; }
.svc-preview { position: sticky; top: 110px; min-height: 380px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); padding: 34px; box-shadow: var(--shadow); overflow: hidden; }
.svc-preview::before { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; background: radial-gradient(closest-side, var(--glow), transparent); }
.svc-panel { position: absolute; inset: 34px; opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none; }
.svc-panel.on { opacity: 1; transform: none; position: relative; inset: auto; pointer-events: auto; }
.svc-panel h3 { font-size: 1.6rem; margin-top: 22px; }
.svc-panel p { color: var(--text-2); }

/* horizontal demo scroller */
.hscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(24px, calc((100vw - 1240px) / 2 + 24px)) 26px; scrollbar-width: none; cursor: grab; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.hscroll .demo-card { flex: 0 0 clamp(270px, 30vw, 360px); scroll-snap-align: start; }
.demo-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transform-style: preserve-3d; transition: border-color .4s; overflow: hidden; }
.demo-card:hover { border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.dc-top { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem var(--mono); color: var(--lime); letter-spacing: .08em; }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 1.8s infinite; }
.dc-art { position: relative; height: 170px; margin: 14px 0 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; transform: translateZ(30px); }
.dc-title { font: 600 1.3rem/1.2 var(--display); }
.dc-tag { font: .78rem var(--mono); color: var(--muted); }
.dc-desc { color: var(--text-2); font-size: .95rem; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.demo-card.big .dc-art { height: 200px; }

/* demo card art */
.da-grid { display: grid; grid-template-columns: repeat(2, 54px); gap: 10px; }
.da-grid i { height: 54px; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 50%, transparent), color-mix(in srgb, var(--brand-2) 35%, transparent)); animation: pop 3s var(--ease) infinite; }
.da-grid i:nth-child(2) { animation-delay: .3s; } .da-grid i:nth-child(3) { animation-delay: .6s; } .da-grid i:nth-child(4) { animation-delay: .9s; }
@keyframes pop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }
.da-cart { position: absolute; right: 14px; top: 12px; font: 600 .8rem var(--mono); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.da-cart b { color: var(--lime); }
.da-cols { display: flex; gap: 10px; }
.da-cols > span { width: 62px; min-height: 110px; padding: 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.da-cols i { height: 18px; border-radius: 5px; background: color-mix(in srgb, var(--brand) 40%, transparent); }
.da-cols > span:first-child i:first-child { animation: hop 4s var(--ease) infinite; }
@keyframes hop { 0%, 30% { transform: none; } 50%, 80% { transform: translateX(144px); opacity: .9; } 100% { transform: none; } }
.da-chat { display: grid; gap: 8px; width: 70%; }
.da-chat i { height: 16px; width: 70%; border-radius: 8px; background: var(--surface-2); }
.da-chat i.me { justify-self: end; background: color-mix(in srgb, var(--brand) 55%, transparent); width: 55%; }
.da-chat i.short { width: 30%; }
.da-chat .typing { display: flex; gap: 4px; width: auto; height: auto; padding: 6px 9px; justify-self: start; }
.da-chat .typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: dots 1.2s infinite; }
.da-chat .typing b:nth-child(2) { animation-delay: .15s; } .da-chat .typing b:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.da-flow { display: flex; align-items: center; gap: 0; }
.da-flow i { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1.5px solid var(--line-2); animation: flowLit 2.4s infinite; }
.da-flow i:nth-of-type(2) { animation-delay: .8s; } .da-flow i:nth-of-type(3) { animation-delay: 1.6s; }
.da-flow em { width: 34px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); background-size: 200% 100%; animation: flowLine 1.2s linear infinite; }
@keyframes flowLit { 0%, 30% { border-color: var(--brand-2); box-shadow: 0 0 18px color-mix(in srgb, var(--brand-2) 50%, transparent); } 40%, 100% { border-color: var(--line-2); box-shadow: none; } }
@keyframes flowLine { to { background-position: -200% 0; } }
.da-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.da-bars i { width: 20px; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--grad); animation: bar 2.6s var(--ease) infinite alternate; transform-origin: bottom; }
.da-bars i:nth-child(odd) { animation-delay: .4s; }
@keyframes bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.da-cal { display: grid; grid-template-columns: repeat(7, 20px); gap: 6px; }
.da-cal i { height: 20px; border-radius: 5px; background: var(--surface-2); }
.da-cal i.on { background: var(--grad); animation: pop 2s infinite; }

/* sphere */
.sphere-sec { overflow: hidden; }
.sphere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sphere-wrap { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.sphere-wrap::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(20px); }
.sphere { position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.sphere:active { cursor: grabbing; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.stack span { font: 500 .8rem var(--mono); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); transition: .3s; }
.stack span:hover { color: var(--text); border-color: var(--brand-2); transform: translateY(-2px); }
.hint { color: var(--muted); font-size: .8rem; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.timeline::after { content: ''; position: absolute; left: 0; top: 7px; height: 1px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--tl, 0)); transition: transform .2s linear; }
.timeline li { position: relative; padding-top: 34px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand-2); z-index: 1; }
.tl-when { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.timeline p { color: var(--text-2); font-size: .93rem; margin: 0; }

/* bento + spotlight */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b-card, .feat, .svc-card { position: relative; border-radius: var(--radius); padding: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.b-wide { grid-column: span 2; }
.b-card p, .feat p, .svc-card p { color: var(--text-2); margin: 0; }
[data-spot]::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 45%); }
[data-spot]:hover::before { opacity: 1; }
[data-spot]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand-2) 70%, transparent), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
[data-spot]:hover::after { opacity: 1; }
.live-chart { margin-top: 22px; }
.live-chart canvas { width: 100%; height: 110px; display: block; }
.live-chart span { color: var(--muted); }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transform-style: preserve-3d; }
.work-thumb { aspect-ratio: 16/10; background: var(--bg-2); display: grid; place-items: center; color: var(--brand-2); font-size: 2rem; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-body { padding: 22px; }
.work-body p { color: var(--text-2); }
.filters-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .9rem; color: var(--text-2); transition: .3s; }
.chip-btn.on, .chip-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
[data-filter-grid] > div { transition: opacity .4s, transform .5s var(--ease); }
[data-filter-grid] > div.hide { display: none; }
.empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 50px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.empty .big { font-size: 2.6rem; color: var(--brand-2); margin: 0; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 2px; font: 600 1.12rem/1.35 var(--display); cursor: pointer; transition: color .3s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand-2); }
.pm { position: relative; flex: none; width: 22px; height: 22px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq-list details p { color: var(--text-2); padding: 0 2px 22px; margin: 0; max-width: 60ch; animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq-page { display: grid; gap: 60px; max-width: 900px; }
.faq-group h2 { font-size: 1.6rem; }

/* contact */
.contact-band { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.enquiry-form label { display: block; font-weight: 500; font-size: .88rem; color: var(--text-2); margin-bottom: 16px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 15px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.enquiry-form input:hover, .enquiry-form select:hover, .enquiry-form textarea:hover { border-color: var(--line-2); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); background: var(--surface); }
.enquiry-form input.valid { border-color: color-mix(in srgb, var(--ok) 60%, transparent); }
.enquiry-form textarea { resize: vertical; min-height: 120px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-done { text-align: center; padding: 26px 6px; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 700; color: #07090F; background: var(--grad); animation: popIn .7s var(--ease); }
@keyframes popIn { from { transform: scale(0) rotate(-90deg); } }
.contact-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; color: var(--text-2); }
.contact-list span { font: .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); min-width: 92px; }
.contact-list a { font-weight: 600; color: var(--text); }
.contact-list a:hover { color: var(--brand-2); }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.note ol { margin: 0; padding-left: 20px; color: var(--text-2); }
.note li { margin-bottom: 6px; }
.alert { padding: 12px 14px; border-radius: 12px; margin: 0 0 14px; font-size: .92rem; }
.alert.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); border: 1px solid color-mix(in srgb, var(--err) 35%, transparent); }
.alert.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }

/* page hero */
.page-hero { position: relative; padding: 170px 0 90px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 50% at 90% 0%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%), radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); }
.page-hero h1 { max-width: 16em; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.page-hero .lead { margin-top: 10px; }
.page-hero .cta-row { margin-top: 26px; }
.notfound { min-height: 80vh; display: flex; align-items: center; }
.big404 { color: var(--brand-2); font-size: 1rem; }

/* service pages */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; transform-style: preserve-3d; transition: border-color .4s; }
.svc-card:hover { border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.svc-card .mono { color: var(--muted); font-size: .8rem; }
.svc-card h2 { font-size: 1.5rem; margin: 6px 0 0; }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; }
.incl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.incl { display: flex; gap: 14px; }
.incl h3 { font-size: 1.02rem; margin-bottom: 4px; }
.incl p { color: var(--text-2); font-size: .93rem; margin: 0; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--lime) 18%, transparent); color: var(--lime); font-weight: 700; font-size: .85rem; }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.problems { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problems li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 1.05rem; }
.problems .mono { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat .mono { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 18px; }
.deliv { display: flex; flex-wrap: wrap; gap: 10px; }
.deliv span { padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 500; }
.demo-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.dt-art { height: 240px; margin: 0; }
.rel-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rel { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; transition: .35s var(--ease); }
.rel .icon { width: 36px; height: 36px; border-radius: 50%; }
.rel .icon svg { width: 18px; height: 18px; }
.rel:hover { border-color: var(--brand-2); transform: translateY(-3px); }
.prose p { color: var(--text-2); font-size: 1.06rem; }
.prose.narrow { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal a { color: var(--brand-2); }

/* process */
.steps-big { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-big li { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sb-num { font: 700 clamp(3.5rem, 9vw, 7rem)/.9 var(--display); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.steps-big h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.steps-big p { color: var(--text-2); font-size: 1.08rem; max-width: 55ch; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.name-card { position: sticky; top: 110px; border-radius: 24px; padding: 32px; text-align: center; background: var(--card); border: 1px solid var(--line); color: var(--text-2); transform-style: preserve-3d; }
.name-card [data-oq-logo] { display: flex; justify-content: center; min-height: 110px; }
.name-card h3 { color: var(--text); margin-top: 16px; }
.name-card b { color: var(--text); }

/* cta strip */
.cta-strip { padding: 90px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .25em; }
.cta-inner p { color: var(--text-2); margin: 0; }

/* footer */
.site-footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: 90px 0 28px; overflow: hidden; }
.foot-cta { margin-bottom: 80px; }
.foot-big { display: inline-flex; align-items: center; gap: .3em; font: 700 clamp(2.3rem, 7.5vw, 6.2rem)/1 var(--display); letter-spacing: -0.04em; transition: color .4s; }
.foot-big .arrow { display: inline-block; transition: transform .6s var(--ease); color: var(--brand-2); }
.foot-big:hover .arrow { transform: translateX(16px) rotate(-45deg); }
.foot-big:hover { color: var(--brand-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.fg-brand p { color: var(--muted); margin: 14px 0 0; }
.site-footer h3 { font: 500 .76rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; }
.site-footer .footer-grid a:not([aria-label]) { display: block; color: var(--text-2); margin-bottom: 10px; transition: color .3s, transform .3s var(--ease); width: fit-content; }
.site-footer .footer-grid a:not([aria-label]):hover { color: var(--text); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: .84rem; color: var(--muted); }
.fb-links { display: flex; gap: 20px; }
.fb-links a:hover { color: var(--text); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 220%); opacity: 0; visibility: hidden; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 500; font-size: .92rem; transition: transform .5s var(--ease), opacity .3s, visibility .5s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .contact-grid, .about-grid, .sphere-grid, .two-col, .faq-wrap, .svc-explorer { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .svc-mobile { display: block; }
  .svc-item.on::after { width: 0; }
  .svc-item.on { padding-left: 4px; color: var(--muted); }
  .svc-item.on .svc-go { opacity: 0; }
  .svc-item:hover { color: var(--text); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .timeline::before, .timeline::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .demo-grid, .work-grid, .svc-cards, .feat-grid { grid-template-columns: 1fr 1fr; }
  .incl-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .demo-teaser { grid-template-columns: 1fr; }
  .name-card { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-row { height: 64px; }
  .nav-cta { display: none; }
  .hero { padding: 100px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-visual { margin-top: 10px; }
  .chip { display: none; }
  .console-body { min-height: 360px; font-size: .84rem; }
  .scroll-hint { display: none; }
  .bento, .demo-grid, .work-grid, .svc-cards, .feat-grid, .incl-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line-2); margin-left: 7px; }
  .timeline li { padding: 0 0 28px 26px; }
  .tl-dot { left: -8px; top: 4px; }
  .steps-big li { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; }
  .page-hero { padding: 130px 0 60px; }
  .crumbs { padding-top: 80px; margin-bottom: -50px; }
  .form-card { padding: 20px; border-radius: 20px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hscroll .demo-card { flex-basis: 78vw; }
  .foot-cta { margin-bottom: 56px; }
  .demo-teaser { padding: 20px; }
  .section-head { margin-bottom: 38px; }
}
@media (hover: none) {
  .demo-card:active, .svc-card:active, .b-card:active, .work-card:active { transform: scale(.985); transition: transform .2s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-w > span { transform: none; }
}

/* e-commerce store feature */
.store-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.store-feature .lead { margin-bottom: 24px; }
.sf-shot { position: relative; display: block; border-radius: 22px; overflow: hidden; background: #F6EFE3; transform-style: preserve-3d; }
.sf-shot img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.sf-shot:hover img { transform: scale(1.05); }
.sf-shot span { position: absolute; left: 14px; bottom: 14px; font: 600 .78rem var(--mono); background: #1F6F4A; color: #fff; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .store-feature { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- Oqeria Desk landing ---------- */
.desk-hero { min-height: auto; padding: 130px 0 90px; }
.desk-hero .wrap { display: grid; gap: 50px; }
.dh-copy { max-width: 820px; }
.dh-copy .hero-title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.dh-note { color: var(--muted); font-size: .8rem; margin-top: 18px; }
.desk-mock { border-radius: 22px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow), 0 60px 140px -60px var(--glow); overflow: hidden; }
.dm-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.dm-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .dm-bar i:nth-child(2) { background: #FEBC2E; } .dm-bar i:nth-child(3) { background: #28C840; }
.dm-bar span { margin-left: 8px; }
.dm-body { display: grid; grid-template-columns: 150px 260px 1fr 200px; min-height: 340px; font-size: .86rem; }
.dm-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--line); background: var(--bg-2); }
.dm-nav b { color: var(--brand-2); margin: 0 8px 10px; }
.dm-nav span { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--text-2); }
.dm-nav span.on { background: var(--surface-2); color: var(--text); }
.dm-nav em { font-style: normal; font-size: .72rem; background: var(--brand); color: #fff; border-radius: 99px; padding: 0 7px; }
.dm-list { border-right: 1px solid var(--line); }
.dm-row { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dm-row.on { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--brand-2); }
.dm-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dm-row small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 700; flex: none; }
.dm-row em { font-style: normal; font-size: .68rem; padding: 2px 8px; border-radius: 99px; }
.st-ai { background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--brand-2); }
.st-wait { background: rgba(251,191,36,.15); color: #FBBF24; } .st-hum { background: color-mix(in srgb, var(--lime) 18%, transparent); color: var(--lime); }
.dm-chat { padding: 18px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.dc-m { max-width: 85%; padding: 10px 13px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.5; }
.dc-m b { display: block; font-size: .72rem; color: var(--brand-2); margin-bottom: 2px; }
.dc-m.me { align-self: flex-end; background: var(--grad); color: #fff; border: 0; }
.dc-sys { align-self: center; font-size: .75rem; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 99px; padding: 4px 12px; }
.dc-m.typing { display: flex; gap: 4px; width: fit-content; }
.dc-m.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: blink 1.2s infinite; }
.dc-m.typing span:nth-child(2) { animation-delay: .2s; } .dc-m.typing span:nth-child(3) { animation-delay: .4s; }
.dm-side { padding: 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; background: var(--bg-2); }
.dm-side small { color: var(--muted); }
.dm-score { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 8px; }
.dm-score i { display: block; height: 100%; width: var(--w); background: var(--grad); }
.dm-btn { margin-top: auto; text-align: center; padding: 9px; border-radius: 10px; background: var(--lime); color: #07090F; font-weight: 600; font-size: .8rem; }
@media (max-width: 1080px) { .dm-body { grid-template-columns: 220px 1fr; } .dm-nav, .dm-side { display: none; } }
@media (max-width: 680px) { .dm-body { grid-template-columns: 1fr; } .dm-list { display: none; } .desk-hero { padding: 110px 0 60px; } }
