/* Digital Harika — animated edition. Brand colours: deep slate, electric blue, indigo. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #020617;
  --bg-2: #060d20;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --line: rgba(148, 163, 184, 0.13);
  --line-2: rgba(148, 163, 184, 0.24);
  --white: #f8fafc;
  --text: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --sky: #60a5fa;
  --indigo: #818cf8;
  --violet: #a855f7;
  --green: #22c55e;
  --grad: linear-gradient(100deg, #60a5fa 0%, #818cf8 55%, #a78bfa 100%);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 78rem;
  --header-h: 5rem;
  --r: 1.25rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--white); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p, ul, ol, figure { margin: 0; padding: 0; }
::selection { background: rgba(59, 130, 246, .4); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--blue); color: #fff; padding: .7rem 1rem; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.6rem; height: 1.6rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.narrow { max-width: 48rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(96,165,250,.7); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.8rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s; will-change: transform; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 0 24px rgba(37,99,235,.45); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover { box-shadow: 0 0 36px rgba(59,130,246,.7); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--white); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(96,165,250,.5); }
.btn--wa { background: var(--green); color: #03140a; box-shadow: 0 10px 30px rgba(34,197,94,.25); }
.btn--wa:hover { background: #4ade80; }
.btn--light { background: #fff; color: var(--bg); }
.btn--light:hover { background: #e2e8f0; }
.btn--block { width: 100%; }
.btn--sm { padding: .65rem 1.25rem; font-size: .88rem; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 559px) { .btn-row > .btn { flex: 1 1 100%; } }
.link { display: inline-flex; align-items: center; gap: .4rem; color: var(--sky); font-weight: 600; font-size: .95rem; }
.link .icon { transition: transform .3s var(--ease); }
.link:hover { color: #93c5fd; }
.link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, transform .4s var(--ease); animation: drop .8s var(--ease) both; }
@keyframes drop { from { transform: translateY(-100%); } }
.site-header.is-scrolled, .site-header.is-open { background: rgba(2, 6, 23, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 3rem; width: auto; }
.wordmark { display: none; font-weight: 800; font-size: 1.35rem; color: var(--white); letter-spacing: -.02em; }
.wordmark i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand.no-logo .wordmark { display: inline; }
.main-nav { display: none; align-items: center; gap: .35rem; position: relative; }
.main-nav > a, .dd-trigger { position: relative; z-index: 1; font-size: .92rem; font-weight: 500; color: var(--text); padding: .55rem .95rem; border-radius: 999px; transition: color .25s; display: inline-flex; align-items: center; gap: .3rem; }
.main-nav > a:hover, .dd-trigger:hover, .main-nav > a[aria-current="page"], .dd-trigger[data-current] { color: #fff; }
.nav-pill { position: absolute; z-index: 0; top: 50%; height: 2.35rem; border-radius: 999px; background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.25); transform: translateY(-50%); opacity: 0; pointer-events: none; transition: left .35s var(--ease), width .35s var(--ease), opacity .25s; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.dd-toggle { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .4rem .25rem; display: inline-flex; margin-left: -.6rem; position: relative; z-index: 1; }
.dd-toggle .icon { transition: transform .3s; }
.nav-dropdown.is-open .dd-toggle .icon { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 16rem; margin-top: .75rem; list-style: none; padding: .45rem; background: rgba(15, 23, 42, .97); border: 1px solid var(--line-2); border-radius: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(96,165,250,.06); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity .22s, transform .3s var(--ease), visibility .22s; }
.dropdown-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
.nav-dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel li { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); transition-delay: calc(var(--i) * 25ms); }
.nav-dropdown.is-open .dropdown-panel li { opacity: 1; transform: none; }
.dropdown-panel a { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-radius: .6rem; font-size: .9rem; color: var(--text); white-space: nowrap; transition: background-color .2s, color .2s; }
.dropdown-panel a .icon { width: 1rem; height: 1rem; color: var(--sky); }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { background: rgba(96,165,250,.1); color: #fff; }
.dropdown-panel .all { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 .6rem .6rem; color: var(--sky); font-weight: 600; }
.header-cta { display: none; }
.menu-toggle { background: none; border: 0; color: var(--white); padding: .4rem; cursor: pointer; display: inline-flex; }
.menu-toggle .icon { width: 1.6rem; height: 1.6rem; }
.menu-toggle .icon-close, .site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-header.is-open .mobile-nav { clip-path: inset(0 0 0 0); }
.mobile-nav nav { padding: .75rem 1.25rem 2rem; display: flex; flex-direction: column; }
.mobile-nav nav > a { font-size: 1.3rem; font-weight: 700; color: var(--white); padding: .75rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav .m-services { display: grid; padding: .5rem 0 .8rem; border-bottom: 1px solid var(--line); }
.mobile-nav .m-services a { padding: .4rem 0 .4rem 1rem; color: var(--muted); }
.mobile-nav .btn { margin-top: 1.4rem; }
@media (min-width: 980px) { .main-nav, .header-cta { display: flex; } .menu-toggle, .mobile-nav { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 5.5rem 0; }
@media (min-width: 980px) { .section { padding: 7.5rem 0; } }
.section--tight { padding: 4.5rem 0; }
@media (min-width: 980px) { .section--tight { padding: 5.75rem 0; } }
.section--alt { background: linear-gradient(180deg, rgba(15,23,42,.55), rgba(15,23,42,.25)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1.1rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(59,130,246,.1); border: 1px solid rgba(96,165,250,.25); color: var(--sky); font-size: .82rem; font-weight: 600; margin-bottom: 1.25rem; }
.dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sky); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sky); animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.head-row .section-head { margin: 0; }

/* Ambient orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.orb--blue { background: rgba(37,99,235,.45); }
.orb--indigo { background: rgba(99,102,241,.4); animation-duration: 18s; }
.orb--violet { background: rgba(168,85,247,.28); animation-duration: 22s; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } 100% { transform: translate(-30px,25px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 4.5rem; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
@media (min-width: 980px) { .hero { padding: calc(var(--header-h) + 3rem) 0 6rem; } }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(59,130,246,.13), transparent 60%); }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }
.hero h1 { font-size: clamp(2.6rem, 6.3vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(6px); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + .25s); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotator > span.r-on { opacity: 1; transform: none; }
.rotator > span.r-out { opacity: 0; transform: translateY(-60%); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 2.25rem; }
.fade-up { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--delay, .9s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; max-width: 34rem; }
.stat { padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(15,23,42,.55); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: .25rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.5rem; z-index: 2; transform: translateX(-50%); width: 1.5rem; height: 2.4rem; border: 2px solid var(--line-2); border-radius: 1rem; display: none; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: .45rem; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sky); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 980px) and (min-height: 760px) { .scroll-hint { display: block; } }

/* Dashboard (interactive hero visual) */
.dash { position: relative; border-radius: 1.5rem; padding: 1.35rem; background: linear-gradient(160deg, rgba(30,41,59,.85), rgba(15,23,42,.9)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(96,165,250,.08), 0 0 80px rgba(37,99,235,.15); transform-style: preserve-3d; transition: transform .2s ease-out; }
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(96,165,250,.6), transparent 40%, transparent 60%, rgba(168,85,247,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.dash-title { font-size: .9rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: .55rem; }
.live { font-size: .72rem; font-weight: 600; color: #4ade80; display: inline-flex; align-items: center; gap: .35rem; }
.live::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.seg { display: inline-flex; padding: .25rem; border-radius: 999px; background: rgba(2,6,23,.6); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; background: none; border: 0; padding: .4rem .8rem; font-size: .78rem; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .25s; }
.seg button[aria-selected="true"] { color: #fff; }
.seg .seg-pill { position: absolute; top: .25rem; bottom: .25rem; border-radius: 999px; background: var(--blue); box-shadow: 0 0 16px rgba(37,99,235,.6); transition: left .4s var(--ease), width .4s var(--ease); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
.kpi { padding: .8rem .85rem; border-radius: .9rem; background: rgba(2,6,23,.5); border: 1px solid var(--line); }
.kpi span { display: block; font-size: .7rem; color: var(--muted); margin-bottom: .2rem; }
.kpi strong { font-size: 1.25rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.kpi em { display: block; font-style: normal; font-size: .72rem; color: #4ade80; font-weight: 600; margin-top: .1rem; }
.chart { position: relative; border-radius: .9rem; background: rgba(2,6,23,.5); border: 1px solid var(--line); padding: .6rem .6rem .3rem; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .gridl { stroke: rgba(148,163,184,.1); stroke-width: 1; }
.chart .area { fill: url(#areaGrad); transition: d .9s var(--ease); }
.chart .line { fill: none; stroke: url(#lineGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 10px rgba(96,165,250,.5)); transition: d .9s var(--ease); }
.chart .pt { fill: var(--bg); stroke: var(--sky); stroke-width: 2.5; opacity: 0; transition: opacity .2s; }
.chart .pt.on { opacity: 1; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .guide { stroke: rgba(96,165,250,.4); stroke-dasharray: 4 4; opacity: 0; transition: opacity .2s; }
.chart .guide.on { opacity: 1; }
.tip { position: absolute; pointer-events: none; padding: .35rem .6rem; border-radius: .5rem; background: #fff; color: var(--bg); font-size: .75rem; font-weight: 700; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity .15s; }
.tip.on { opacity: 1; }
.chart-x { display: flex; justify-content: space-between; font-size: .68rem; color: var(--faint); padding: .35rem .2rem 0; }
.dash-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .85rem; font-size: .72rem; color: var(--faint); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 1.4rem; }
.bars i { width: 4px; border-radius: 2px; background: var(--indigo); animation: eq 1.2s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; } .bars i:nth-child(4) { animation-delay: .6s; } .bars i:nth-child(5) { animation-delay: .8s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border-radius: .9rem; background: rgba(15,23,42,.95); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0,0,0,.45); font-size: .78rem; color: var(--text); animation: bob 5s ease-in-out infinite; }
.float-card strong { display: block; color: #fff; font-size: .9rem; }
.float-card .ic { width: 2rem; height: 2rem; border-radius: .6rem; display: grid; place-items: center; background: rgba(34,197,94,.15); color: #4ade80; }
.float-card--a { top: -2.4rem; left: -1.25rem; }
.float-card--b { bottom: -2.6rem; left: -1.25rem; animation-delay: -2.5s; }
.float-card--b .ic { background: rgba(96,165,250,.15); color: var(--sky); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual { position: relative; }
@media (max-width: 1079px) { .hero-visual { max-width: 36rem; } }
@media (max-width: 560px) { .float-card { display: none; } .kpi strong { font-size: 1.05rem; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }
.clients { padding: 2.75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15,23,42,.35); }
.clients-label { text-align: center; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; padding: .85rem 1.5rem; border-radius: 999px; background: rgba(30,41,59,.55); border: 1px solid var(--line-2); color: var(--white); font-weight: 600; font-size: .98rem; transition: border-color .3s, background-color .3s; }
.chip:hover { border-color: rgba(96,165,250,.6); background: rgba(37,99,235,.18); }
.chip::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--grad); }

/* ---------- Spotlight cards ---------- */
.spot { position: relative; isolation: isolate; border-radius: var(--r); background: rgba(15,23,42,.7); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.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%), rgba(96,165,250,.16), transparent 45%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(129,140,248,.9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.spot:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(0,0,0,.4); }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.card { padding: 1.9rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }
.ic-tile { width: 3.1rem; height: 3.1rem; border-radius: 1rem; display: grid; place-items: center; margin-bottom: 1.4rem; background: linear-gradient(140deg, rgba(37,99,235,.25), rgba(129,140,248,.15)); border: 1px solid rgba(96,165,250,.25); color: var(--sky); transition: transform .5s var(--ease), background .4s; }
.spot:hover .ic-tile { transform: rotate(-8deg) scale(1.1); background: var(--blue); color: #fff; }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card .link { margin-top: 1.25rem; }
.card-stretch { display: flex; flex-direction: column; }
.card-stretch p { flex: 1; }
.card-stretch a.cover::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Services explorer (tabs) ---------- */
.explorer { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .explorer { grid-template-columns: 22rem 1fr; gap: 2rem; align-items: start; } }
.tablist { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .tablist { flex-direction: column; overflow: visible; padding: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.tab { position: relative; display: flex; align-items: center; gap: .8rem; flex-shrink: 0; text-align: left; padding: .85rem 1.1rem; border-radius: 1rem; border: 1px solid var(--line); background: rgba(15,23,42,.5); color: var(--text); font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .3s var(--ease); overflow: hidden; }
.tab .icon { color: var(--muted); transition: color .3s; }
.tab:hover { border-color: var(--line-2); color: #fff; }
.tab[aria-selected="true"] { background: linear-gradient(100deg, rgba(37,99,235,.28), rgba(99,102,241,.12)); border-color: rgba(96,165,250,.45); color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.2); }
.tab[aria-selected="true"] .icon { color: var(--sky); }
@media (min-width: 980px) { .tab[aria-selected="true"] { transform: translateX(6px); } .tab::after { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: var(--grad); transform: scaleY(0); transition: transform .35s var(--ease); } .tab[aria-selected="true"]::after { transform: scaleY(1); } }
.tabpanel { padding: 2.25rem; border-radius: 1.5rem; }
@media (min-width: 768px) { .tabpanel { padding: 3rem; } }
.tabpanel.enter > * { animation: panelIn .6s var(--ease) both; }
.tabpanel.enter > *:nth-child(2) { animation-delay: .06s; } .tabpanel.enter > *:nth-child(3) { animation-delay: .12s; } .tabpanel.enter > *:nth-child(4) { animation-delay: .18s; } .tabpanel.enter > *:nth-child(5) { animation-delay: .24s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tabpanel h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
.tabpanel h3 .ic-tile { margin: 0; }
.tabpanel > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.75rem; max-width: 40rem; }
.feat-list { list-style: none; display: grid; gap: .75rem; margin-bottom: 1.75rem; }
@media (min-width: 640px) { .feat-list { grid-template-columns: 1fr 1fr; } }
.feat-list li { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: .85rem; background: rgba(2,6,23,.45); border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: .95rem; }
.feat-list .icon { color: #4ade80; }
.benefit-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.benefit-chips li { padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #c7d2fe; background: rgba(129,140,248,.12); border: 1px solid rgba(129,140,248,.3); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; display: grid; gap: 1.25rem; }
.timeline::before, .timeline .fill { content: ""; position: absolute; left: 1.45rem; top: 1rem; bottom: 1rem; width: 2px; border-radius: 2px; background: var(--line-2); }
.timeline .fill { background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 14px rgba(96,165,250,.6); }
.t-step { position: relative; padding-left: 4.25rem; }
.t-num { position: absolute; left: 0; top: .6rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--surface); border: 2px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease); z-index: 1; }
.t-step.active .t-num { background: var(--blue); border-color: var(--sky); color: #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.2), 0 0 24px rgba(59,130,246,.6); }
.t-body { padding: 1.5rem 1.75rem; }
.t-body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.t-body p { color: var(--muted); font-size: .98rem; }
@media (min-width: 980px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 4.5rem; }
  .timeline::before, .timeline .fill { left: 1.5rem; right: 1.5rem; top: 1.45rem; bottom: auto; width: auto; height: 2px; }
  .timeline .fill { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .t-step { padding-left: 0; }
  .t-num { top: -4.5rem; }
}

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.5rem; border-radius: 1.5rem; padding: 1.5rem; }
@media (min-width: 980px) { .calc { grid-template-columns: 1fr 1fr; padding: 2.5rem; gap: 2.5rem; } }
.calc-inputs { display: grid; gap: 1.6rem; }
.range { display: grid; gap: .6rem; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range label { font-weight: 600; font-size: .95rem; color: var(--white); }
.range output { font-weight: 800; font-size: 1.05rem; color: var(--sky); font-variant-numeric: tabular-nums; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), rgba(148,163,184,.2) var(--fill, 50%)); outline: none; cursor: pointer; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 5px rgba(37,99,235,.2); transition: transform .2s; }
.range input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.range small { font-size: .78rem; color: var(--faint); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; align-content: start; }
.out { padding: 1.3rem; border-radius: 1rem; background: rgba(2,6,23,.55); border: 1px solid var(--line); }
.out span { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .3rem; }
.out strong { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.out--big { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(37,99,235,.3), rgba(99,102,241,.18)); border-color: rgba(96,165,250,.4); }
.out--big strong { font-size: clamp(2rem, 4vw, 2.8rem); }
.calc-note { grid-column: 1 / -1; font-size: .8rem; color: var(--faint); }

/* ---------- Compare toggle ---------- */
.switch-wrap { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.compare-grid { display: grid; gap: 1rem; }
@media (min-width: 680px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .compare-grid { grid-template-columns: repeat(3, 1fr); } }
.cmp { padding: 1.6rem; perspective: 900px; }
.cmp h3 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.cmp .flip { display: grid; }
.cmp .face { grid-area: 1 / 1; font-size: 1.12rem; font-weight: 600; line-height: 1.45; transition: opacity .45s var(--ease), transform .55s var(--ease); backface-visibility: hidden; }
.cmp .face--agency { color: #fca5a5; opacity: 0; transform: rotateX(90deg); }
.cmp .face--us { color: var(--white); }
.compare-grid.show-agency .face--agency { opacity: 1; transform: none; }
.compare-grid.show-agency .face--us { opacity: 0; transform: rotateX(-90deg); }
.cmp .mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.15); color: #4ade80; transition: all .4s; }
.compare-grid.show-agency .cmp .mark { background: rgba(239,68,68,.15); color: #f87171; }

/* ---------- Industries ---------- */
.ind { padding: 1.6rem; }
.ind .ic-tile { width: 2.7rem; height: 2.7rem; border-radius: .85rem; margin-bottom: 1.1rem; }
.ind h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.ind p { color: var(--muted); font-size: .9rem; }

/* ---------- Cities ---------- */
.cities { display: grid; gap: .9rem; }
@media (min-width: 560px) { .cities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cities { grid-template-columns: repeat(3, 1fr); } }
.city { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; }
.city .pin { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: rgba(37,99,235,.15); color: var(--sky); flex-shrink: 0; position: relative; }
.city .pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(96,165,250,.5); opacity: 0; }
.city:hover .pin::after { animation: ring 1.2s var(--ease) infinite; }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.city strong { display: block; color: var(--white); font-size: 1.1rem; }
.city span { font-size: .85rem; color: var(--muted); }
.city .icon--arrow { margin-left: auto; color: var(--muted); transition: transform .3s, color .3s; }
.city:hover .icon--arrow { transform: translateX(4px); color: var(--sky); }

/* ---------- About teaser ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.split h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.split .lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }
.ticks { list-style: none; display: grid; gap: .85rem; margin-bottom: 2.25rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text); }
.ticks .icon { color: var(--sky); margin-top: .15rem; }
.portrait { position: relative; max-width: 30rem; margin: 0 auto; width: 100%; }
.portrait .frame { position: relative; aspect-ratio: 4 / 5; border-radius: 2rem; overflow: hidden; background: linear-gradient(160deg, #1e3a8a, #312e81 60%, #0f172a); border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.5); transform-style: preserve-3d; transition: transform .2s ease-out; }
.portrait .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: 7rem; font-weight: 800; color: rgba(255,255,255,.18); }
.portrait::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(37,99,235,.5), rgba(168,85,247,.4), rgba(96,165,250,.5), rgba(37,99,235,.5)); filter: blur(50px); opacity: .55; animation: spin 16s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-card { position: absolute; left: -1rem; bottom: 2rem; padding: 1.1rem 1.3rem; border-radius: 1rem; background: rgba(15,23,42,.95); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0,0,0,.45); animation: bob 6s ease-in-out infinite; }
.badge-card strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.badge-card span { font-size: .8rem; color: var(--muted); }
@media (min-width: 640px) { .badge-card { left: -2rem; } }

/* ---------- Posts ---------- */
.post { display: flex; flex-direction: column; }
.post-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, #1e3a8a, #312e81); }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: rgba(255,255,255,.35); }
.post:hover .post-img img { transform: scale(1.07); }
.post-tag { position: absolute; top: .9rem; left: .9rem; z-index: 1; padding: .3rem .7rem; border-radius: .5rem; background: rgba(2,6,23,.8); backdrop-filter: blur(6px); border: 1px solid rgba(96,165,250,.3); color: var(--sky); font-size: .72rem; font-weight: 700; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--faint); margin-bottom: .65rem; }
.post h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .6rem; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.post:hover h3 { color: var(--sky); }
.post p { color: var(--muted); font-size: .9rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .link { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; max-width: 52rem; margin: 0 auto; }
.faq details { border-radius: 1rem; background: rgba(15,23,42,.5); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; overflow: hidden; }
.faq details[open] { background: rgba(15,23,42,.9); border-color: rgba(96,165,250,.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; font-size: 1.05rem; font-weight: 600; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.06); transition: background-color .3s, transform .4s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--muted); transition: transform .4s var(--ease), background-color .3s; }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: rgba(37,99,235,.25); transform: rotate(180deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--sky); }
.faq .answer { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-grid h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.1rem; }
.contact-grid > div > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.c-list { list-style: none; display: grid; gap: .75rem; margin-bottom: 2rem; }
.c-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.c-item .ic-tile { width: 2.6rem; height: 2.6rem; border-radius: .8rem; margin: 0; }
.c-item span { display: block; font-size: .78rem; color: var(--faint); }
.c-item strong { font-weight: 600; color: var(--white); font-size: .98rem; }
.form { position: relative; display: grid; gap: 1.25rem; padding: 1.75rem; border-radius: 1.5rem; background: rgba(15,23,42,.85); border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.4); }
@media (min-width: 640px) { .form { padding: 2.5rem; } }
.form h3 { font-size: 1.5rem; }
.form > p { color: var(--muted); font-size: .95rem; margin-top: -.6rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; padding: 1.35rem 1rem .55rem; border-radius: .85rem; background: rgba(2,6,23,.7); border: 1px solid var(--line-2); color: #fff; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 8rem; resize: vertical; padding-top: 1.6rem; }
.field label { position: absolute; left: 1rem; top: 1rem; font-size: .95rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-.6rem) scale(.78); color: var(--sky); }
.field select { appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; }
.field select option { background: var(--surface); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--faint); text-align: center; }
.form-note a { color: var(--muted); text-decoration: underline; }

/* ---------- Page heads ---------- */
.page-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 4.5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .page-head { padding: calc(var(--header-h) + 4.5rem) 0 6rem; } }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 1.4rem; max-width: 22ch; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--faint); margin-bottom: 2rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "›"; color: var(--faint); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--sky); }
.head-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .head-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.big-icon { width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; display: grid; place-items: center; margin-bottom: 1.75rem; background: linear-gradient(140deg, var(--blue), #6366f1); color: #fff; box-shadow: 0 20px 40px rgba(37,99,235,.35); animation: bob 5s ease-in-out infinite; }
.big-icon .icon { width: 2rem; height: 2rem; }
.panel { padding: 2rem; border-radius: 1.5rem; }
.panel h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.city-hero-img { position: absolute; inset: 0; z-index: 0; }
.city-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .35; transform: scale(1.08); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.18) translate(-2%, -2%); } }
.city-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.6), var(--bg)); }

/* ---------- Long form ---------- */
.longform { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .longform { grid-template-columns: 16rem 1fr; gap: 4rem; } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 2rem); } }
.toc h2 { font-size: .85rem; font-weight: 700; color: var(--sky); margin-bottom: .9rem; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .88rem; color: var(--muted); line-height: 1.4; transition: color .25s, border-color .25s, padding-left .3s var(--ease); }
.toc a:hover { color: #fff; }
.toc a.active { color: #fff; border-left-color: var(--sky); padding-left: 1.25rem; }
.toc-cta { margin-top: 1.75rem; padding: 1.25rem; border-radius: 1rem; background: linear-gradient(140deg, rgba(37,99,235,.2), rgba(99,102,241,.1)); border: 1px solid rgba(96,165,250,.3); }
.toc-cta p { font-size: .9rem; color: var(--text); margin-bottom: .9rem; }
.prose { max-width: 46rem; color: var(--text); font-size: 1.08rem; line-height: 1.8; }
@media (min-width: 768px) { .prose { font-size: 1.14rem; } }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 1.75em; margin-top: 2em; }
.prose h3 { font-size: 1.3em; margin-top: 1.7em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: #fff; }
.prose a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--sky); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-left: 3px solid var(--blue); background: rgba(37,99,235,.08); border-radius: 0 .75rem .75rem 0; color: var(--white); }
.benefit-row { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 680px) { .benefit-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefit-row { grid-template-columns: repeat(4, 1fr); } }
.benefit-row li { padding: 1.5rem; display: flex; gap: .9rem; align-items: center; font-weight: 700; color: var(--white); font-size: 1.05rem; }
.benefit-row .ic-tile { width: 2.6rem; height: 2.6rem; margin: 0; border-radius: .8rem; }
.pill-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-links a { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(15,23,42,.6); border: 1px solid var(--line-2); font-size: .9rem; font-weight: 500; transition: all .3s var(--ease); }
.pill-links a:hover { border-color: var(--sky); color: #fff; background: rgba(37,99,235,.15); transform: translateY(-2px); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 4rem 1.5rem; border-radius: 2rem; background: linear-gradient(120deg, #1d4ed8, #4f46e5 55%, #7c3aed); box-shadow: 0 40px 80px rgba(37,99,235,.3); }
@media (min-width: 768px) { .cta-band { padding: 5rem 3rem; } }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.25), transparent 50%); transition: background .2s; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: #fff; margin: 0 auto 1.1rem; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 36rem; margin: 0 auto 2.2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.4); }

/* ---------- Blog index ---------- */
.search { position: relative; max-width: 34rem; margin-top: 2rem; }
.search .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 1rem 1rem 1rem 3rem; border-radius: 999px; background: rgba(15,23,42,.8); border: 1px solid var(--line-2); color: #fff; }
.search input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.count { font-size: .85rem; color: var(--faint); margin-bottom: 1.5rem; }
.featured { display: grid; margin-bottom: 3rem; border-radius: 1.5rem; }
@media (min-width: 980px) { .featured { grid-template-columns: 1.2fr 1fr; } }
.featured .post-img { aspect-ratio: auto; min-height: 17rem; }
.featured .post-body { padding: 2rem; justify-content: center; }
@media (min-width: 980px) { .featured .post-body { padding: 2.75rem; } }
.featured h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin-bottom: 1rem; }
.featured h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.featured:hover h2 { color: var(--sky); }
.featured p { color: var(--muted); margin-bottom: 1.25rem; }
.empty { text-align: center; padding: 3rem 1rem; border-radius: 1.25rem; border: 1px dashed var(--line-2); }
.empty h3 { margin-bottom: .5rem; }
.empty p { color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- Article ---------- */
.article-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + 2.5rem) 0 2.5rem; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 24ch; margin-bottom: 1.5rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; font-size: .9rem; color: var(--muted); }
.byline .who { color: #fff; font-weight: 600; }
.byline .cat { color: var(--sky); font-weight: 600; }
.share-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(15,23,42,.8); border: 1px solid var(--line-2); font-size: .85rem; cursor: pointer; transition: all .3s; }
.share-btn:hover { border-color: var(--sky); color: #fff; }
.share-btn.is-done { color: #4ade80; border-color: rgba(34,197,94,.5); }
.article-img { position: relative; aspect-ratio: 21 / 9; border-radius: 1.5rem; overflow: hidden; margin: 1rem 0 3.5rem; background: linear-gradient(140deg, #1e3a8a, #312e81); border: 1px solid var(--line-2); }
.article-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-box { display: flex; gap: 1.25rem; align-items: center; margin-top: 3.5rem; padding: 1.5rem; border-radius: 1.25rem; max-width: 46rem; }
.author-box .av { width: 4.5rem; height: 4.5rem; border-radius: 50%; overflow: hidden; flex-shrink: 0; position: relative; background: linear-gradient(140deg, var(--blue), #6366f1); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: #fff; }
.author-box .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-box h2 { font-size: 1.1rem; margin-bottom: .3rem; }
.author-box p { color: var(--muted); font-size: .92rem; margin-bottom: .5rem; }

/* ---------- Legal & simple ---------- */
.legal-body section + section { margin-top: 2.5rem; }
.legal-body h2 { font-size: 1.5rem; margin-bottom: .9rem; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body p + p, .legal-body p + ul { margin-top: 1rem; }
.legal-body ul { padding-left: 1.3rem; display: grid; gap: .5rem; }
.legal-body li::marker { color: var(--sky); }
.legal-body a { color: var(--sky); }
.simple { position: relative; overflow: hidden; min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 1.25rem 5rem; }
.simple > div:not(.sparks):not(.grid-bg):not(.orb) { position: relative; z-index: 1; }
.simple h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 1rem; }
.simple p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.simple .btn-row { justify-content: center; }
.check-anim { width: 5.5rem; height: 5.5rem; margin: 0 auto 1.75rem; }
.check-anim circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.big404 { font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: glitch 3s infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 94% { transform: translate(-4px, 2px) skewX(6deg); } 96% { transform: translate(4px, -2px) skewX(-6deg); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 5rem 0 2.5rem; background: #01040f; }
.footer-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; margin-bottom: 3.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 1.25rem 0 1.5rem; max-width: 22rem; }
.footer-brand .brand img { height: 4rem; }
.socials { list-style: none; display: flex; gap: .6rem; }
.socials a { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); transition: all .3s var(--ease); }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); border-color: var(--blue); }
.socials .icon { width: 1.05rem; height: 1.05rem; }
.footer-col h2 { font-size: .95rem; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a, .footer-col li { color: var(--muted); font-size: .9rem; }
.footer-col a { transition: color .2s, padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--sky); padding-left: 4px; }
.footer-bottom { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: #fff; }
.footer-word { position: relative; z-index: 0; font-size: clamp(3.5rem, 13vw, 11rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; text-align: center; margin: 0 0 2.5rem; background: linear-gradient(180deg, rgba(96,165,250,.22), rgba(96,165,250,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* floating actions */
.fab { position: fixed; right: 1.1rem; z-index: 90; width: 3.3rem; height: 3.3rem; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .35s var(--ease), opacity .3s, background-color .3s; }
.fab--wa { bottom: 1.1rem; background: var(--green); color: #03140a; }
.fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2s var(--ease) infinite; }
.fab--wa .icon { width: 1.5rem; height: 1.5rem; }
.fab--top { bottom: 5rem; background: var(--surface-2); color: #fff; border: 1px solid var(--line-2); opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none; width: 2.8rem; height: 2.8rem; right: 1.35rem; }
.fab--top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--top.show:hover { background: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .w { opacity: 1; transform: none; filter: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
.tabpanel.spot:hover, .calc.spot:hover, .dash.spot:hover { transform: none; }
.timeline { padding-left: 0; }
/* mobile overflow guards */
.hero-grid, .head-grid, .split, .contact-grid, .explorer, .longform, .calc { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (min-width: 980px) { .head-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .split, .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .explorer { grid-template-columns: 22rem minmax(0, 1fr); } }
@media (min-width: 1024px) { .longform { grid-template-columns: 16rem minmax(0, 1fr); } }
.hero-grid > *, .explorer > * { min-width: 0; }
.dash-top { flex-wrap: wrap; }
@media (max-width: 560px) {
  .dash { padding: 1rem; }
  .seg button { padding: .35rem .6rem; font-size: .72rem; }
  .kpis { gap: .45rem; }
  .kpi { padding: .6rem; }
  .kpi em { display: none; }
  .stats { gap: .5rem; }
  .stat { padding: .8rem; }
}
.spec { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4em; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.spec .rotator { display: grid; overflow: hidden; padding-bottom: .1em; }
.spec { align-items: center; }
.rotator > span { transform: translateY(.35em); filter: blur(4px); transition: opacity .45s var(--ease), transform .5s var(--ease), filter .45s; }
.rotator > span.r-on { transform: none; filter: none; }
.rotator > span.r-out { transform: translateY(-.35em); filter: blur(4px); }
.spec .rotator { flex: 0 0 auto; white-space: nowrap; } .rotator > span { white-space: nowrap; line-height: 1.25; }

/* ---------- Service page (enhanced) ---------- */
.svc-hero { padding-bottom: 6rem; }
@media (min-width: 980px) { .svc-hero { padding-bottom: 8rem; } }
.hero-checks { list-style: none; display: grid; gap: .6rem; margin: 1.75rem 0 2.25rem; }
.hero-checks li { display: flex; align-items: center; gap: .65rem; color: var(--text); font-weight: 500; }
.hero-checks .icon { color: #4ade80; }

.orbit { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1; margin: 0 auto; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(96,165,250,.22); animation: spin 28s linear infinite; }
.orbit .r1 { inset: 30%; border-color: rgba(129,140,248,.35); animation-duration: 14s; }
.orbit .r2 { inset: 16%; border-style: dashed; animation-duration: 22s; animation-direction: reverse; }
.orbit .r3 { inset: 2%; animation-duration: 34s; }
.orbit .ring i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 14px 3px rgba(96,165,250,.8); }
.orbit .r2 i { background: var(--indigo); box-shadow: 0 0 14px 3px rgba(129,140,248,.8); }
.orbit .r3 i { background: #c084fc; box-shadow: 0 0 14px 3px rgba(192,132,252,.7); }
.orbit .core { position: absolute; inset: 38%; border-radius: 28%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue), #6366f1 60%, #8b5cf6); box-shadow: 0 0 0 10px rgba(37,99,235,.12), 0 0 60px rgba(59,130,246,.65); animation: corePulse 3.2s ease-in-out infinite; }
.orbit .core .icon { width: 42%; height: 42%; stroke-width: 1.8; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 18px rgba(37,99,235,.06), 0 0 90px rgba(99,102,241,.8); transform: scale(1.04); } }
.o-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--white); background: rgba(15,23,42,.92); border: 1px solid var(--line-2); box-shadow: 0 15px 35px rgba(0,0,0,.45); animation: bob 5s ease-in-out infinite; backdrop-filter: blur(6px); }
.o-chip span { color: #4ade80; display: inline-flex; }
.o-chip.c1 { top: 8%; left: -2%; }
.o-chip.c2 { top: 22%; right: -4%; animation-delay: -1.2s; }
.o-chip.c3 { bottom: 20%; left: -6%; animation-delay: -2.4s; }
.o-chip.c4 { bottom: 6%; right: 2%; animation-delay: -3.6s; }
@media (max-width: 560px) { .o-chip { font-size: .72rem; padding: .45rem .7rem; } .o-chip.c1 { left: 0; } .o-chip.c3 { left: 0; } .o-chip.c2, .o-chip.c4 { right: 0; } }

.stat-band { position: relative; z-index: 3; margin-top: -3.25rem; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 1.5rem; background: rgba(15,23,42,.9); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0,0,0,.45); backdrop-filter: blur(12px); overflow: hidden; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row > div { padding: 1.5rem 1.25rem; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .stat-row > div { border-bottom: 0; } .stat-row > div:last-child { border-right: 0; } }
.stat-row strong { display: block; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-row span { font-size: .85rem; color: var(--muted); }

.feature-card { padding: 1.9rem 1.6rem 1.6rem; min-height: 12.5rem; display: flex; flex-direction: column; }
.feature-card .f-num { position: absolute; top: 1.1rem; right: 1.3rem; font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(148,163,184,.08); transition: color .4s; }
.feature-card:hover .f-num { color: rgba(96,165,250,.25); }
.feature-card h3 { font-size: 1.15rem; margin-top: auto; }
.feature-card .f-bar { display: block; height: 3px; margin-top: 1.1rem; border-radius: 3px; background: var(--grad); transform-origin: left; transform: scaleX(.18); transition: transform .6s var(--ease); }
.feature-card:hover .f-bar { transform: scaleX(1); }

.benefit-stack { list-style: none; display: grid; gap: 1rem; }
.benefit-stack li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .4rem 1rem; padding: 1.3rem 1.4rem; }
.benefit-stack .ic-tile { width: 2.8rem; height: 2.8rem; margin: 0; border-radius: .85rem; grid-row: span 2; }
.benefit-stack .b-text { font-weight: 700; color: var(--white); font-size: 1.08rem; }
.b-meter { display: block; height: 6px; border-radius: 6px; background: rgba(148,163,184,.15); overflow: hidden; }
.b-meter i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.benefit-stack li.in .b-meter i { transform: scaleX(1); }

.chapters { display: grid; gap: 1.5rem; }
.chapter { position: relative; padding: 2rem 1.5rem 2rem 1.5rem; border-radius: 1.5rem; }
@media (min-width: 768px) { .chapter { padding: 2.5rem 2.75rem 2.5rem 5.5rem; } }
.chapter::before { z-index: -1; }
.chapter .prose { max-width: none; }
.chapter .prose h2 { margin-top: 0; font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.ch-num { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: .9rem; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(140deg, var(--blue), #6366f1); box-shadow: 0 10px 25px rgba(37,99,235,.35); }
@media (min-width: 768px) { .ch-num { position: absolute; left: 1.5rem; top: 2.5rem; margin: 0; } }
.chapter:hover { transform: none; }

.muted-label { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.pill-links a { display: inline-flex; align-items: center; gap: .4rem; }
.pill-links .icon { color: var(--sky); }

/* ---------- Extra animations ---------- */
/* page fade */
body { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }
body.leaving { opacity: 0; transition: opacity .25s ease; }

/* heading word reveal */
.js .hsplit .hw { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(4px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s; transition-delay: calc(var(--i) * 55ms); }
.js .hsplit.hs-in .hw { opacity: 1; transform: none; filter: none; }

/* shimmering gradient text */
.grad-text, .rotator > span, .stat-row strong, .wordmark i, .big404 { background-size: 220% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 220% center; } }
:root { --grad: linear-gradient(100deg, #60a5fa 0%, #818cf8 30%, #a78bfa 50%, #818cf8 70%, #60a5fa 100%); }

/* cursor glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(59,130,246,.10), rgba(99,102,241,.05) 40%, transparent 70%); opacity: 0; transition: opacity .4s; will-change: transform; }
.cursor-glow.on { opacity: 1; }
main, .site-footer { position: relative; z-index: 2; }

/* parallax orbs */
.orb { translate: 0 var(--py, 0px); }

/* ripple */
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .65s ease-out forwards; pointer-events: none; z-index: 0; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* icon pop when revealed */
.in .ic-tile, .in.spot .ic-tile { animation: pop .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + .2s); }
@keyframes pop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.12) rotate(6deg); opacity: 1; } 100% { transform: none; } }

/* animated CTA band */
.cta-band { background: linear-gradient(120deg, #1d4ed8, #4f46e5, #7c3aed, #2563eb, #1d4ed8); background-size: 300% 300%; animation: bgShift 12s ease infinite; }
@keyframes bgShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(255,255,255,.9) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 4s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rot { to { --ang: 360deg; } }

/* timeline active pulse */
.t-step.active .t-num::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--sky); animation: ring 1.8s var(--ease) infinite; }

/* floating sparkles in heads */
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.sparks i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px 2px rgba(96,165,250,.7); opacity: 0; animation: rise var(--t, 9s) linear infinite; animation-delay: var(--dl, 0s); left: var(--x, 50%); }
.sparks i:nth-child(3n) { background: var(--indigo); box-shadow: 0 0 10px 2px rgba(129,140,248,.7); }
.sparks i:nth-child(4n) { background: #c084fc; width: 3px; height: 3px; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .8; } 100% { transform: translateY(-110vh) translateX(40px); opacity: 0; } }

/* services ticker */
.ticker { padding: 1.25rem 0; border-bottom: 1px solid var(--line); background: rgba(2,6,23,.6); }
.tick { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(148,163,184,.45); transition: color .3s, -webkit-text-stroke-color .3s; padding: 0 .75rem; }
.tick:hover { color: var(--white); -webkit-text-stroke-color: transparent; }
.tick .icon { color: var(--sky); width: 1.1rem; height: 1.1rem; }

/* tilt smoothing */
[data-tilt] { transition: transform .25s ease-out; transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  .js .hsplit .hw { opacity: 1; transform: none; filter: none; }
  .sparks, .cursor-glow { display: none; }
  body { animation: none; }
}
.form-status { font-size: .92rem; text-align: center; min-height: 1.2em; margin-top: -.25rem; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #fca5a5; }
.form-status a { color: #fff; text-decoration: underline; }
/* article tables, quick answer, post FAQ */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92em; display: block; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 1rem; }
.prose th, .prose td { padding: .8em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: rgba(37,99,235,.15); color: #fff; font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: rgba(96,165,250,.05); }
.prose > blockquote:first-child { margin-top: 0; padding: 1.4rem 1.6rem; border-left: 0; border-radius: 1.25rem; background: linear-gradient(130deg, rgba(37,99,235,.22), rgba(99,102,241,.12)); border: 1px solid rgba(96,165,250,.35); font-style: normal; }
.prose blockquote p + p { margin-top: .6em; }
.post-faq { margin-top: 3.5rem; max-width: 46rem; }
.post-faq h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.cover-art { position: relative; overflow: hidden; border-radius: 1.5rem; margin: 1rem 0 3.5rem; padding: 3rem 1.5rem; min-height: 15rem; display: grid; place-items: center; text-align: center; background: linear-gradient(130deg, #0f1f4d, #1e1b4b 55%, #2e1065); border: 1px solid var(--line-2); }
.cover-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px); background-size: 40px 40px; }
.cover-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1rem; }
.cover-inner .ic-tile { margin: 0; width: 4rem; height: 4rem; background: linear-gradient(140deg, var(--blue), #8b5cf6); color: #fff; animation: bob 5s ease-in-out infinite; }
.cover-inner strong { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.04em; background: var(--grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.cover-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.cover-chips span { padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #c7d2fe; background: rgba(15,23,42,.6); border: 1px solid rgba(129,140,248,.35); }
.post-img .ph { background: radial-gradient(circle at 30% 20%, rgba(96,165,250,.25), transparent 60%); }
/* no sideways scroll on phones */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
@media (max-width: 979px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(28px); } }
.simple > div:not(.sparks):not(.grid-bg):not(.orb) { width: 100%; max-width: 40rem; min-width: 0; }
.toc-box summary { list-style: none; }
.toc-box summary::-webkit-details-marker { display: none; }
@media (max-width: 1023px) {
  .toc-box { border: 1px solid var(--line-2); border-radius: 1rem; background: rgba(15,23,42,.6); }
  .toc-box summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; cursor: pointer; }
  .toc-box summary h2 { margin: 0; }
  .toc-box summary::after { content: "+"; font-size: 1.3rem; color: var(--sky); line-height: 1; }
  .toc-box[open] summary::after { content: "–"; }
  .toc-box ol { margin: 0 1.2rem 1rem; }
  .toc .toc-cta { display: none; }
}
@media (min-width: 1024px) { .toc-box summary { pointer-events: none; } }
