/* ==========================================================================
   Netstech — site styles
   ========================================================================== */
:root {
  --ink: #0E1330;
  --ink-2: #1A2036;
  --text: #3B4262;
  --muted: #6B7394;
  --line: #E6E8F2;
  --line-2: #D9DCEB;
  --bg: #FFFFFF;
  --tint: #F5F6FB;
  --brand: #4F5BD5;
  --brand-d: #3F49BD;
  --brand-2: #8B5CF6;
  --cyan: #22D3EE;
  --green: #16A34A;
  --dark: #0B1026;
  --dark-2: #141A3A;
  --grad: linear-gradient(135deg, #4F5BD5 0%, #8B5CF6 55%, #22D3EE 110%);
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(14,19,48,.04), 0 8px 24px -12px rgba(14,19,48,.12);
  --shadow-lg: 0 30px 60px -30px rgba(14,19,48,.35);
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1200px;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.035em; }
h3, .h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.ic { flex-shrink: 0; vertical-align: middle; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(79,91,213,.45); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow, .narrow { max-width: 820px; }
.wrap .narrow { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center-x { justify-content: center; }
.mt { margin-top: 32px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(79,91,213,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--brand-d); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--ink); background: var(--tint); }
.btn-ghost:hover { background: #ECEEF8; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: #25D366; color: #06351b; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 15px; }
.more .ic { transition: transform .2s; }
.more:hover .ic { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.pill.sm { padding: 1px 7px; font-size: 10.5px; vertical-align: 2px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--dark); color: #C9CEF0; font-size: 14px; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; }
.announce a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(14,19,48,.25); }
.site-header .wrap { max-width: 1360px; }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.035em; color: var(--ink); }
.logo.light { color: #fff; }
.logo { flex-shrink: 0; }
.logo img { height: 46px; width: auto; max-width: none; flex-shrink: 0; }
.foot-brand .logo img { height: 50px; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.logo.light .logo-mark { background: #fff; }
.logo-mark span { width: 10px; height: 10px; border-radius: 3.5px; background: var(--grad); }
.main-nav { margin-left: 12px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; padding: 9px 11px; border-radius: 10px; font-weight: 500; font-size: 15px; color: #4A5270; background: none; border: 0; }
.nav-link:hover, .has-menu:hover > .nav-link, .nav-link[aria-expanded="true"] { background: var(--tint); color: var(--ink); }
.nav-link .ic { transition: transform .2s; opacity: .6; }
.has-menu:hover > .nav-link .ic { transform: rotate(180deg); }
.nav-link.hl { color: var(--brand); font-weight: 600; }
.has-menu { position: relative; }
.menu { position: absolute; top: 100%; left: -8px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu:hover .menu, .has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu-in { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(14,19,48,.35); padding: 8px; display: grid; gap: 2px; min-width: 300px; }
.menu-in.two { grid-template-columns: 1fr 1fr; min-width: 580px; }
.menu-in a { display: block; padding: 11px 13px; border-radius: 12px; }
.menu-in a:hover, .menu-in a[aria-current] { background: var(--tint); }
.menu-in strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.menu-in span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
/* mega menu (old site's 3-level structure) */
.header-in { position: relative; }
.has-menu:has(.mega) { position: static; }
.menu.mega { left: 0; right: 0; padding-top: 6px; }
.mega-in { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -28px rgba(14,19,48,.4); padding: 26px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 28px; max-height: calc(100vh - 120px); overflow-y: auto; }
.mega-head { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--line); width: 100%; }
.mega-head .ic { opacity: 0; transform: translateX(-4px); transition: all .15s; color: var(--brand); }
.mega-head:hover { color: var(--brand); } .mega-head:hover .ic { opacity: 1; transform: none; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col li a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; color: var(--text); line-height: 1.35; }
.mega-col li a:hover, .mega-col a[aria-current] { background: var(--tint); color: var(--brand); }
.has-menu.active > .nav-link, .nav-link[aria-current] { color: var(--brand); }
.drawer .d-all { font-weight: 600; color: var(--brand) !important; }
.drawer .d-l2 { font-weight: 600; color: var(--ink) !important; margin-top: 6px; }
.drawer .d-l3 { padding-left: 24px !important; font-size: 14.5px; }
.header-cta { flex-shrink: 0; margin-left: auto; display: flex; align-items: center; gap: 14px; }
.h-phone { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.burger { display: none; background: var(--tint); border: 0; border-radius: 10px; width: 42px; height: 42px; place-items: center; color: var(--ink); }

.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(11,16,38,.45); backdrop-filter: blur(4px); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; padding: 18px 20px 28px; overflow-y: auto; animation: slideIn .25s ease; display: flex; flex-direction: column; gap: 4px; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-close { background: var(--tint); border: 0; border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; color: var(--ink); cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .ic { transform: rotate(180deg); }
.drawer details a { display: block; padding: 9px 12px; color: var(--text); border-radius: 8px; }
.drawer details a:hover { background: var(--tint); }
.drawer details[open] { padding-bottom: 8px; }
.drawer-apps { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--tint); color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.drawer-link { padding: 14px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; background: var(--dark); color: #C4C9E8; overflow: hidden; isolation: isolate; }
.hero { padding: 96px 0 110px; }
.page-hero { padding: 64px 0 80px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 { max-width: 12ch; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb.o1 { width: 620px; height: 620px; background: radial-gradient(circle, #4F5BD5 0%, transparent 65%); top: -240px; right: -120px; animation: float 14s ease-in-out infinite; }
.orb.o2 { width: 480px; height: 480px; background: radial-gradient(circle, #8B5CF6 0%, transparent 65%); bottom: -260px; left: -140px; opacity: .4; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.06); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #D5D9F5; font-size: 13.5px; font-weight: 500; margin-bottom: 22px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; color: #B7BDE0; max-width: 58ch; margin: 18px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14.5px; color: #C4C9E8; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: #34D399; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #C9CDF7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero-visual { position: relative; }
.dash { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(12px); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.dash.sm { transform: none; }
.dash-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.dash-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.dash-bar em { margin-left: 8px; font: 500 12px var(--mono); font-style: normal; color: #8E95C4; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash.sm .dash-grid { grid-template-columns: repeat(2, 1fr); }
.kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px; }
.kpi small { display: block; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8E95C4; }
.kpi strong { display: block; color: #fff; font-size: 22px; letter-spacing: -.03em; margin: 2px 0; }
.kpi span { font-size: 12px; color: #A3A9D3; }
.kpi .up { color: #34D399; font-weight: 600; }
.kpi .ai { color: #A5B4FC; }
.dash-chart { height: 110px; display: flex; align-items: flex-end; gap: 6px; padding: 14px 4px 0; margin: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.dash-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #818CF8, rgba(99,102,241,.25)); animation: grow 1.2s cubic-bezier(.2,.7,.2,1) both; transform-origin: bottom; }
.dash-chart i:nth-child(odd) { animation-delay: .08s; }
@keyframes grow { from { transform: scaleY(0); } }
.dash-rows { display: grid; gap: 8px; margin: 12px 0; }
.dash-rows div { display: grid; grid-template-columns: 78px 1fr 36px; gap: 10px; align-items: center; font-size: 12.5px; }
.dash-rows b { height: 7px; border-radius: 9px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.dash-rows b::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); }
.dash-rows em { font-style: normal; color: #fff; text-align: right; }
.dash-agent { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px; background: rgba(139,92,246,.16); border: 1px solid rgba(139,92,246,.35); font-size: 13px; color: #DDD6FE; }
.dash-agent b { color: #fff; }
.float-apps .fa { position: absolute; width: 58px; height: 58px; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); animation: bob 6s ease-in-out infinite; background: #fff; }
.float-apps .fa img { width: 100%; height: 100%; object-fit: cover; }
.fa0 { top: -26px; left: -20px; } .fa1 { top: 34%; right: -28px; animation-delay: -1s !important; } .fa2 { bottom: -28px; left: 18%; animation-delay: -2s !important; }
.fa3 { top: -30px; right: 22%; animation-delay: -3s !important; width: 48px !important; height: 48px !important; } .fa4 { bottom: 16%; left: -34px; animation-delay: -4s !important; width: 46px !important; height: 46px !important; } .fa5 { bottom: -22px; right: 12%; animation-delay: -5s !important; width: 44px !important; height: 44px !important; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ---------- trust / marquee ---------- */
.trust { padding: 34px 0 10px; border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding-bottom: 24px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; color: #8A91AE; white-space: nowrap; letter-spacing: -.01em; }
.client img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---------- stats ---------- */
.stats-sec { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 24px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--dark); color: #B7BDE0; overflow: hidden; isolation: isolate; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.dark .eyebrow { color: #A5B4FC; }
.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.65; }
.dark .lead { color: #A3A9D3; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.row-head .sec-head { margin-bottom: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.grid.compact { gap: 14px; }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature.sm { padding: 20px; }
.feature.sm h3 { font-size: 1rem; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.feature .num, .num { font: 500 12.5px var(--mono); color: var(--brand); letter-spacing: .06em; display: inline-block; margin-bottom: 14px; }
.f-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: linear-gradient(135deg, rgba(79,91,213,.12), rgba(139,92,246,.12)); color: var(--brand); margin-bottom: 16px; }
.f-ic.sm { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 10px; }
.dark .f-ic { background: rgba(165,180,252,.12); color: #A5B4FC; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.ticks .ic { color: var(--green); margin-top: 3px; }
.ticks.lg li { font-size: 16px; }
.feature .more { margin-top: 16px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; min-height: 230px; }
.bento-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.14), transparent 70%); transition: transform .4s; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.bento-card:hover::after { transform: scale(1.3); }
.bento-card.b0, .bento-card.b1 { background: linear-gradient(160deg, #11173A, #1B2152); border-color: #252C63; color: #B7BDE0; }
.bento-card.b0 h3, .bento-card.b1 h3 { color: #fff; }
.bento-card.b0 .b-ic, .bento-card.b1 .b-ic { background: rgba(165,180,252,.14); color: #C7D2FE; }
.bento-card.b0, .bento-card.b1 { grid-column: span 2; }
.bento-card h3 { font-size: 1.35rem; margin-top: auto; }
.bento-card p { font-size: 15px; margin: 0; max-width: 48ch; }
.b-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--brand); margin-bottom: 26px; }
.b-tag { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; display: block; }
.b0 .b-tag, .b1 .b-tag { color: #A5B4FC; }
.b-go { position: absolute; top: 26px; right: 26px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .35; transition: opacity .2s, transform .2s; }
.bento-card:hover .b-go { opacity: 1; transform: rotate(-45deg); }

/* split cloudpos */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 26px; }
.mini-features > div { display: flex; gap: 14px; }
.mini-features .f-ic { margin: 0; width: 40px; height: 40px; }
.mini-features h3 { font-size: 1rem; margin-bottom: 4px; }
.mini-features p { font-size: 14.5px; color: var(--muted); margin: 0; }
.phone-stack { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 34px; padding: 9px; background: #0E1330; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,19,48,.1); }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 9/18; object-fit: cover; object-position: top; }
.phone.p0 { left: 6%; top: 0; z-index: 2; transform: rotate(-4deg); }
.phone.p1 { right: 4%; top: 70px; transform: rotate(5deg); opacity: .96; }

/* industries */
.ind-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind-img { aspect-ratio: 16/10; overflow: hidden; background: var(--tint); }
.ind-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ind-card:hover .ind-img img { transform: scale(1.05); }
.ind-body { padding: 22px 24px 26px; }
.ind-body p { font-size: 15px; color: var(--muted); margin: 0; }
.ind-body .num { margin-bottom: 8px; }

/* apps showcase */
.apps-show { background: radial-gradient(1200px 400px at 50% 0%, rgba(79,91,213,.07), transparent 70%); }
.apps-show-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.apps-show-head .sec-head { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,19,48,.08), 0 4px 12px -6px rgba(14,19,48,.2); }
.tab .count { font: 500 11.5px var(--mono); background: var(--tint); padding: 1px 7px; border-radius: 99px; color: var(--muted); }
.tab.active .count { background: rgba(79,91,213,.12); color: var(--brand); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .22s, box-shadow .22s, border-color .22s; }
.app-card[hidden] { display: none; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79,91,213,.35); }
.app-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 20px -10px rgba(14,19,48,.4), 0 0 0 1px rgba(14,19,48,.06); background: #fff; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.app-icon-fallback.lg { border-radius: 30px; }
.app-type { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.t-mobile { background: rgba(22,163,74,.1); color: #15803D; }
.t-desktop { background: rgba(79,91,213,.1); color: var(--brand); }
.t-web { background: rgba(34,211,238,.12); color: #0E7490; }
.app-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.app-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.app-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.pbadges { display: flex; flex-wrap: wrap; gap: 5px; }
.pbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--text); background: var(--tint); padding: 3px 8px; border-radius: 7px; }
.pbadges.light .pbadge { background: rgba(255,255,255,.08); color: #D5D9F5; border: 1px solid rgba(255,255,255,.1); }
.app-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.app-meta .ic { color: #F59E0B; }

/* AI dark */
.ai-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 85% 10%, rgba(139,92,246,.35), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(79,91,213,.35), transparent 70%); }
.glass { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.glass:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.glass p { font-size: 15px; margin: 0; color: #A3A9D3; }

/* two-col panels */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.tint .panel { background: #fff; }
.panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel > .more { margin-top: 22px; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li > span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 500 13px var(--mono); color: var(--brand); background: rgba(79,91,213,.1); }
.steps h3 { font-size: 1rem; margin: 4px 0 2px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; }
.chips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.chips-grid > div { padding: 18px; border-radius: 16px; background: var(--tint); }
.chips-grid h3 { font-size: 1rem; margin-bottom: 4px; }
.chips-grid p { font-size: 14px; color: var(--muted); margin: 0; }

/* integrations */
.int-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.int-chips span { padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: 0 1px 2px rgba(14,19,48,.04); }

/* posts */
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .22s, box-shadow .22s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--tint); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.post-body h2, .post-body h3 { font-size: 1.15rem; }
.post-body p { font-size: 15px; color: var(--muted); }
.post-body .more { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(79,91,213,.35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--tint); }
.faq-i::before, .faq-i::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .2s; }
.faq-i::after { transform: rotate(90deg); }
.faq details[open] .faq-i::after { transform: rotate(0); }
.faq-a { padding: 0 22px 18px; }
.faq-a p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { padding: 0 0 100px; }
.section.tint + .cta-band, .section.dark + .cta-band { padding-top: 100px; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 56px; background: linear-gradient(135deg, #141A45, #0B1026 60%); color: #B7BDE0; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 90% 0%, rgba(139,92,246,.45), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(79,91,213,.4), transparent 70%); }
.cta-card h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-card p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

/* page hero */
.page-hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 20ch; }
.page-hero.center h1, .page-hero .center h1 { margin-left: auto; margin-right: auto; }
.page-hero .center .hero-sub { margin-left: auto; margin-right: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 26px; font-size: 13.5px; color: #8E95C4; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #D5D9F5; }
.hero-card .dash { transform: none; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.timeline li { position: relative; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.timeline li::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: var(--grad); border-radius: 2px; opacity: .8; }
.t-when { display: block; font: 500 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #A5B4FC; margin-bottom: 10px; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { font-size: 14.5px; margin: 0; color: #A3A9D3; }

/* prose */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 16px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.1rem; }
.prose .lead { font-size: 1.15rem; color: var(--ink); }

/* link cards */
.link-card { position: relative; display: block; padding: 22px 24px 50px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.link-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.link-card .ic { position: absolute; bottom: 20px; left: 24px; color: var(--brand); }

/* cloudpos */
.arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.arch::before { content: ''; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(165,180,252,.5), transparent); }
.arch-node { position: relative; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.arch-node p { font-size: 14.5px; margin: 0; color: #A3A9D3; }
.tracks { display: grid; gap: 28px; }
.track { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: #fff; }
.track.flip .track-img { order: 2; }
.track-img { border-radius: 18px; overflow: hidden; background: var(--tint); aspect-ratio: 16/11; }
.track-img img { width: 100%; height: 100%; object-fit: cover; }
.track-body h3 { font-size: 1.6rem; }
.track dl { margin: 18px 0; display: grid; gap: 4px; }
.track dt { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-top: 10px; }
.track dd { margin: 0; color: var(--text); }
.track-card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tc-top { display: flex; justify-content: space-between; }
.track-card p { font-size: 14.5px; color: var(--muted); }
.track-card .more { margin-top: auto; }

/* about */
.office { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.office h3 { font-size: 1.35rem; margin: 0; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 8px; }
.office a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; font-size: 14.5px; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.client-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.client-tile img { max-height: 48px; width: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .f-ic { margin: 0; }
.contact-list small { display: block; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }
.form-card { padding: 36px; border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 16px; margin-top: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 15.5px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,91,213,.14); }
.form-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 0; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; font-weight: 500; margin-bottom: 16px; }
.alert.ok { background: #ECFDF3; color: #166534; border: 1px solid #BBF7D0; }
.alert.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* apps catalogue */
.app-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-hero-stats div { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.app-hero-stats strong { display: block; color: #fff; font-size: 2rem; letter-spacing: -.04em; line-height: 1.1; }
.app-hero-stats span { font-size: 13.5px; color: #A3A9D3; }
.apps-cat { padding-top: 40px; }
.filterbar { position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(14,19,48,.3); }
.filterbar .tabs { border: 0; background: transparent; padding: 0; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); flex: 1; max-width: 380px; min-width: 220px; color: var(--muted); }
.search input { border: 0; background: transparent; font: inherit; font-size: 15px; padding: 11px 0; width: 100%; color: var(--ink); outline: none; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.cchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--text); transition: all .15s; }
.cchip span { font: 500 11px var(--mono); color: var(--muted); }
.cchip:hover { border-color: var(--brand); color: var(--brand); }
.cchip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cchip.active span { color: #A5B4FC; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty a { color: var(--brand); font-weight: 600; }

/* app detail */
.app-hero { padding-bottom: 48px; }
.app-head { display: flex; gap: 32px; align-items: center; }
.app-head-icon { flex-shrink: 0; width: 128px; height: 128px; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15); background: #fff; }
.app-head-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-head-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.app-head-tags .chip { margin-bottom: 14px; }
.app-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 6px; }
.app-head .hero-sub { margin: 0 0 16px; }
.app-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25); transition: transform .15s, background .2s; }
.store-btn:hover { transform: translateY(-1px); background: #111; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.store-btn small { font-size: 10px; font-weight: 500; letter-spacing: .04em; opacity: .85; }
.app-hero .btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.app-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; margin: 40px 0 0; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.app-facts div { padding: 16px 18px; background: rgba(11,16,38,.75); }
.app-facts dt { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8E95C4; margin-bottom: 4px; }
.app-facts dd { margin: 0; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.app-facts dd .ic { color: #FBBF24; }
.shots-sec { padding: 56px 0 0; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.shot { flex: 0 0 auto; width: 220px; padding: 0; border: 0; background: none; border-radius: 22px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 16px 30px -18px rgba(14,19,48,.5), 0 0 0 1px var(--line); cursor: zoom-in; transition: transform .2s; }
.shot:hover { transform: translateY(-3px); }
.shot img { width: 100%; aspect-ratio: 9/18; object-fit: cover; object-position: top; }
.shots.wide .shot { width: 440px; border-radius: 16px; }
.shots.wide .shot img { aspect-ratio: 16/10; }
.app-body { padding-top: 56px; }
.app-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.app-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; padding: 6px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.app-toc a { padding: 7px 13px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.app-toc a:hover { background: #fff; color: var(--ink); }
.app-sec { margin-top: 56px; }
.app-sec > h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 20px; }
.app-sec .steps li { border-color: var(--line); }
.video { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; margin-top: 32px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.app-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.side-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.side-head img { border-radius: 12px; }
.side-head strong { display: block; color: var(--ink); line-height: 1.25; }
.side-head span { font-size: 13.5px; color: var(--muted); }
.side-btns { display: grid; gap: 10px; }
.side-btns .store-btn { justify-content: center; }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 16px; }
.side-note { font-size: 14px; color: var(--muted); }
.side-card .btn + .btn { margin-top: 8px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6,9,24,.88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88vh; max-width: 90vw; border-radius: 18px; margin: auto; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* post */
.post-hero .narrow { margin: 0 auto; }
.post-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px var(--mono); color: #8E95C4; margin-bottom: 14px; }
.post-cover { margin: 0 0 36px; border-radius: 20px; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tags span { padding: 5px 12px; border-radius: 99px; background: var(--tint); font-size: 13.5px; font-weight: 500; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--ink); text-decoration: none !important; }
.share a:hover { background: var(--brand); color: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* article pages (imported content) */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-main { max-width: 800px; }
.article-main img { margin: 1.5em 0; border: 1px solid var(--line); }
.article-main table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.article-main td, .article-main th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.side-nav, .side-cta { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.side-nav h2, .side-cta h2 { font-size: 1rem; margin-bottom: 12px; }
.side-parent { display: block; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 360px; overflow-y: auto; }
.side-nav li a { display: block; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; color: var(--text); }
.side-nav li a:hover { background: var(--tint); }
.side-nav li a[aria-current] { background: rgba(79,91,213,.1); color: var(--brand); font-weight: 600; }
.side-cta { background: linear-gradient(160deg, #11173A, #1B2152); border-color: #252C63; color: #B7BDE0; }
.side-cta h2 { color: #fff; }
.side-cta p { font-size: 14.5px; }
.side-cta .btn + .btn { margin-top: 8px; }
.side-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.side-cta .btn-ghost { background: rgba(255,255,255,.08); color: #fff; }
.side-app { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--tint); }
.side-app img { border-radius: 12px; }
.side-app small { display: block; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-app strong { display: block; color: var(--ink); }
.side-app em { font-style: normal; font-size: 13px; color: var(--brand); font-weight: 600; }
.sub-card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(79,91,213,.35); }
.sub-card p { font-size: 14.5px; color: var(--muted); }
.sub-card .more { margin-top: auto; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-side { position: static; }
}

/* clients & misc */
.client-grid.big { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.client-grid.big .client-tile { min-height: 170px; }
.client-grid.big .client-tile img { max-height: 70px; }
.guide-link { display: flex; margin-top: 14px; font-size: 14px; }
.sub-card h3 a:hover { color: var(--brand); }
.sub-card .ticks a { color: var(--text); }
.sub-card .ticks a:hover { color: var(--brand); }

/* html sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 28px; }
.sm-col h2 { padding-bottom: 10px; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.sm-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sm-col a { color: var(--text); font-size: 15px; }
.sm-col a:hover { color: var(--brand); }
.muted-note { margin-top: 40px; color: var(--muted); font-size: 14px; }
.muted-note a { color: var(--brand); font-weight: 600; }

/* footer */
.site-footer { background: var(--dark); color: #9AA1CC; padding: 80px 0 30px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; }
.foot-brand p { margin: 18px 0 20px; max-width: 38ch; }
.foot-contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.foot-contact li { display: flex; gap: 10px; align-items: center; }
.foot-contact .ic { color: #A5B4FC; }
.foot-contact a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #C9CEF0; transition: background .2s, color .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-cols h2 { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-cols a:hover { color: #fff; }
.foot-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-offices strong { display: flex; align-items: center; gap: 6px; color: #fff; margin-bottom: 4px; }
.foot-offices span { font-size: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; color: #7D84B0; }
.foot-bottom a:hover { color: #fff; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 16px 30px -10px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .h-phone span { display: none; }
}
@media (max-width: 1180px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .main-nav, .h-phone { display: none; }
  .burger { display: grid; }
  .hero-in, .split, .page-hero-split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.b0, .bento-card.b1 { grid-column: span 2; }
  .arch { grid-template-columns: repeat(2, 1fr); }
  .arch::before { display: none; }
  .app-layout { grid-template-columns: 1fr; }
  .app-side { position: static; }
  .foot-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .phone-stack { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 80px; }
  .page-hero { padding: 40px 0 56px; }
  .header-cta .btn { display: none; }
  .g2, .g3, .g4, .g5, .two-col, .stats, .bento, .mini-features, .chips-grid, .f-row, .track, .foot-offices { grid-template-columns: 1fr; }
  .bento-card.b0, .bento-card.b1 { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app-card { padding: 16px; }
  .app-icon { width: 52px; height: 52px; border-radius: 14px; }
  .app-card p { display: none; }
  .app-card-foot .pbadges { display: none; }
  .track { padding: 18px; gap: 20px; }
  .track.flip .track-img { order: 0; }
  .cta-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .app-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .app-head-icon { width: 96px; height: 96px; border-radius: 24px; }
  .shot { width: 170px; }
  .shots.wide .shot { width: 300px; }
  .filterbar { position: static; }
  .search { max-width: none; }
  .phone-stack { height: 420px; }
  .phone { width: 190px; border-radius: 28px; }
  .dash { transform: none; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid .kpi:nth-child(3) { display: none; }
  .float-apps .fa { width: 44px !important; height: 44px !important; border-radius: 12px; }
  .fa1 { right: -8px; } .fa4 { left: -10px; }
  .form-card, .panel { padding: 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 9px 10px; }
  .apps-show-head .tabs .tab .ic { display: none; }
}
@media (max-width: 400px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-card p { display: block; }
}
.sm-col ul ul { padding-left: 16px; margin: 6px 0 4px; border-left: 2px solid var(--line); }
.sm-col ul ul a { font-size: 14px; color: var(--muted); }
.sm-col h2 a { color: var(--ink); }

/* hero: project board (agency) */
.proj-list { display: grid; gap: 10px; margin: 14px 0; }
.proj-list > div { display: grid; grid-template-columns: 32px 1fr 70px 74px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.p-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(165,180,252,.14); color: #C7D2FE; }
.p-name { color: #fff; font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.p-name small { display: block; font-weight: 400; font-size: 11.5px; color: #8E95C4; }
.proj-list b { height: 6px; border-radius: 9px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.proj-list b::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); }
.proj-list em { font-style: normal; font-size: 11.5px; font-weight: 600; text-align: center; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: #C7D2FE; }
.proj-list em.p-live { background: rgba(52,211,153,.16); color: #6EE7B7; }
.proj-list em.p-ok { background: rgba(251,191,36,.14); color: #FCD34D; }
@media (max-width: 760px) { .proj-list > div { grid-template-columns: 32px 1fr 64px; } .proj-list b { display: none; } }

.captcha { display: flex; justify-content: center; min-height: 78px; }
.captcha-note { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.captcha-note a { color: var(--brand); }
.grecaptcha-badge { visibility: hidden; }
