/* ═══ Agentrixa — white glass theme ═══════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-tint: #f7f8fc;
  --ink: #0b0d17;
  --ink-2: #2a2f45;
  --muted: #5d6478;
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(15, 23, 42, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.9);
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --cyan: #06b6d4;
  --grad: linear-gradient(110deg, #4f46e5 0%, #8b5cf6 45%, #06b6d4 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -8px rgba(30, 27, 75, 0.12);
  --shadow-lg: 0 24px 64px -16px rgba(30, 27, 75, 0.22);
  --r: 20px;
  --r-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mt { margin-top: 2rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { flex: none; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

/* ─── ambient background (makes the glass visible) ─── */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.38; animation: float 22s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #c7d2fe; top: -160px; left: -120px; }
.b2 { width: 460px; height: 460px; background: #ddd6fe; top: 20%; right: -160px; animation-delay: -7s; }
.b3 { width: 420px; height: 420px; background: #a5f3fc; bottom: -180px; left: 30%; opacity: 0.28; animation-delay: -13s; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 30%, transparent 75%); opacity: 0.5; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.08); } }

/* ─── glass ─── */
.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9); }

/* ─── layout ─── */
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section.pt0 { padding-top: 0; }
.section.tint { background: linear-gradient(180deg, rgba(247, 248, 252, 0) 0%, rgba(241, 243, 251, 0.75) 18%, rgba(241, 243, 251, 0.75) 82%, rgba(247, 248, 252, 0) 100%); }
.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); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.row h2 { max-width: 640px; margin-bottom: 0; }
.section-head .muted { font-size: 1.08rem; }

.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin: 0 0 0.8em; display: inline-flex; align-items: center; gap: 6px; }
.eyebrow.pill { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--ink-2); backdrop-filter: blur(10px); }
.eyebrow.pill .ic { color: var(--violet); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.24rem); color: var(--muted); max-width: 620px; }

/* ─── buttons ─── */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; white-space: nowrap; font-family: inherit; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -8px rgba(11, 13, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(79, 70, 229, 0.6); background: linear-gradient(110deg, #1e1b4b, #312e81); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .ic { transition: transform 0.2s; }
.btn:hover .ic { transform: translateX(2px); }

/* ─── header (floating glass pill, button-style nav) ─── */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 20px; }
.header-shell { max-width: 1200px; margin: 0 auto; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 20px; transition: box-shadow 0.3s, background 0.3s; }
.site-header.scrolled .header-shell { background: var(--glass-strong); box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; background: rgba(15, 23, 42, 0.035); border: 1px solid var(--line); }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.nav-btn:hover { background: rgba(255, 255, 255, 0.9); color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-btn.is-active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(79, 70, 229, 0.25); }
.nav-btn .chev { transition: transform 0.2s; opacity: 0.6; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* mega menu */
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(940px, 92vw); transform: translate(-36%, 8px); display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 8px; padding: 14px; border-radius: 24px; opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line); box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; }
.mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-36%, 0); }
.has-mega:hover .chev { transform: rotate(180deg); }
.mega-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--muted); margin: 6px 10px 6px; }
.mega-item { display: flex; gap: 12px; padding: 10px; border-radius: 14px; transition: background 0.15s; }
.mega-item:hover { background: rgba(99, 102, 241, 0.07); }
.mega-item strong { display: block; font-size: 0.92rem; font-weight: 600; }
.mega-item small { color: var(--muted); font-size: 0.78rem; }
.mega-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12)); color: var(--indigo); }
.mega-cta { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: var(--grad); color: #fff; }
.mega-cta .eyebrow { color: rgba(255, 255, 255, 0.8); margin: 0; }
.mega-cta strong { font-family: var(--display); font-size: 1.2rem; }
.mega-cta span { font-size: 0.88rem; opacity: 0.92; }
.mega-cta .link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* mobile menu */
.mobile-menu { max-width: 1200px; margin: 10px auto 0; border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 110px); overflow-y: auto; background: rgba(255, 255, 255, 0.97); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .nav-btn { height: 46px; font-size: 1rem; }
.mobile-label { margin: 10px 16px 4px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 10px; }
.mobile-services a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 0.88rem; color: var(--ink-2); }
.mobile-services a:hover { background: rgba(99, 102, 241, 0.07); }
.mobile-services .ic { color: var(--indigo); }

/* ─── hero ─── */
.hero { padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero { padding: calc(var(--header-h) + 56px) 0 56px; }
.hero-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-actions .chips { margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 0.88rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic { color: var(--violet); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.post-title { font-size: clamp(1.9rem, 4vw, 2.9rem) !important; }
.post-meta { color: var(--muted); font-size: 0.9rem; }

.hero-visual { position: relative; padding: 30px 10px 50px; }
.call-card { border-radius: 26px; padding: 22px; }
.call-top { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.call-top .muted { margin-left: auto; font-variant-numeric: tabular-nums; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; margin: 14px 0; }
.wave i { flex: 1; height: 20%; border-radius: 3px; background: var(--grad); animation: wave 1.1s ease-in-out infinite alternate; animation-delay: var(--d); opacity: 0.85; }
@keyframes wave { to { height: 95%; } }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { margin: 0; padding: 11px 15px; border-radius: 16px; font-size: 0.9rem; max-width: 86%; opacity: 0; transform: translateY(6px); animation: pop 0.5s forwards; }
.bubble:nth-child(1) { animation-delay: 0.3s; } .bubble:nth-child(2) { animation-delay: 1.2s; } .bubble:nth-child(3) { animation-delay: 2.1s; } .bubble:nth-child(4) { animation-delay: 2.9s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.bubble.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.ai { background: linear-gradient(120deg, #4f46e5, #7c3aed); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 0.85rem; animation: bob 6s ease-in-out infinite; }
.toast > .ic { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: #dcfce7; color: #15803d; }
.toast.t2 > .ic { background: #e0e7ff; color: var(--indigo); }
.toast strong { display: block; font-size: 0.86rem; }
.toast small { color: var(--muted); }
.t1 { right: -14px; top: 0; }
.t2 { left: -24px; bottom: 6px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.hero-aside { border-radius: var(--r); padding: 28px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.price-row small { display: block; color: var(--muted); font-size: 0.8rem; }
.price-row strong { font-family: var(--display); font-size: 1.35rem; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--indigo); }
.crumbs span[aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* marquee */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; color: #8a91a8; font-size: 1.05rem; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── cards ─── */
.card { border-radius: var(--r); padding: 28px; display: block; transition: transform 0.25s, box-shadow 0.25s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 1px 0 #fff; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card p.big { color: var(--ink-2); font-size: 1.1rem; font-weight: 500; margin: 0; }
.card-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--indigo); background: linear-gradient(135deg, rgba(99, 102, 241, 0.13), rgba(6, 182, 212, 0.13)); border: 1px solid rgba(99, 102, 241, 0.12); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--indigo); margin-top: 6px; }
.service-card { display: flex; flex-direction: column; }
.service-card .chips { margin-top: auto; padding-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.chip { font-size: 0.76rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); color: var(--ink-2); }
.feature .card-ic { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
.step-n { font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--violet); display: block; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { border-radius: var(--r); padding: 26px; position: relative; }
.step .step-n { position: absolute; top: 22px; right: 24px; font-size: 2rem; opacity: 0.18; color: var(--ink); }

.stats { border-radius: 28px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px; }
.stats > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.spotlight { border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.spotlight::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%); pointer-events: none; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink-2); }
.check-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #e0e7ff; color: var(--indigo); margin-top: 1px; }

.industry { border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: transform 0.25s, box-shadow 0.25s; }
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.industry .card-ic { margin-bottom: 12px; }
.industry small { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.industry-card .ind-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.industry-card .ind-head .card-ic { margin: 0; }
.industry-card h2 { font-size: 1.35rem; margin: 0; }
.label { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 6px; margin-right: 6px; vertical-align: 1px; }
.label.bad { background: #fee2e2; color: #b91c1c; }
.label.good { background: #dcfce7; color: #15803d; }
.ind-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ind-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.ind-links a:hover { border-color: var(--indigo); color: var(--indigo); }

/* work */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-visual { position: relative; height: 180px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; }
.work-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.35), transparent 45%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 14px); }
.accent-violet { background: linear-gradient(135deg, #4f46e5, #a855f7); }
.accent-cyan { background: linear-gradient(135deg, #0891b2, #6366f1); }
.accent-pink { background: linear-gradient(135deg, #db2777, #8b5cf6); }
.accent-amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.accent-green { background: linear-gradient(135deg, #059669, #0ea5e9); }
.accent-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.work-ic { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.work-metrics { position: relative; display: flex; gap: 10px; }
.work-metrics div { flex: 1; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px); }
.work-metrics strong { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.work-metrics span { font-size: 0.75rem; opacity: 0.9; }
.work-body { padding: 22px 24px 8px; }
.work-body h3 { font-size: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 6px; border-radius: 999px; background: rgba(15, 23, 42, 0.035); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.filter { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.filter:hover { background: rgba(255, 255, 255, 0.85); }
.filter.is-active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(79, 70, 229, 0.25); }
.work-card.is-hidden { display: none; }
.case-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }

/* posts */
.post-card h3 { font-size: 1.12rem; }
.featured-post { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); }
.featured-post h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.featured-ic { width: 140px; height: 140px; border-radius: 32px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.sticky { position: sticky; top: 110px; }
.article-side .btn { margin-top: 10px; }

/* prose */
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 0.5em; }
.prose a { color: var(--indigo); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(99, 102, 241, 0.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--indigo); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-radius: 14px; background: rgba(99, 102, 241, 0.06); border-left: 3px solid var(--indigo); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.prose th { font-weight: 600; background: rgba(15, 23, 42, 0.03); }
.prose-lg p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.7; color: var(--ink-2); }

/* faq */
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 16px; padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 24px 20px; margin: 0; color: var(--muted); }
.plus { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #eef2ff; }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: var(--indigo); transform: translate(-50%, -50%); transition: transform 0.2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }

/* cities */
.city-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.city-cloud a { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); transition: all 0.2s; }
.city-cloud a:hover { border-color: var(--indigo); color: var(--indigo); background: #fff; }
.city-cloud .ic { color: var(--violet); }
.city-cloud a.strong, .strong { font-weight: 600; color: var(--indigo); }
.states { columns: 3 280px; column-gap: 20px; }
.state { break-inside: avoid; border-radius: 18px; padding: 22px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.state h2 { font-size: 1.1rem; margin-bottom: 6px; }
.state a { display: flex; align-items: center; gap: 6px; padding: 5px 0; color: var(--ink-2); font-size: 0.95rem; }
.state a:hover { color: var(--indigo); }
.state .ic { color: var(--violet); }
.link-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.link-cols h3 { margin-bottom: 14px; }
.link-cols a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.93rem; border-bottom: 1px dashed var(--line); }
.link-cols a:hover { color: var(--indigo); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-side { display: grid; gap: 16px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.contact-form { padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 0.95rem; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.85); transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); background: #fff; }
.contact-form .invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.contact-form textarea { resize: vertical; min-height: 120px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.choice { position: relative; display: block !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.8); font-weight: 500; font-size: 0.86rem; transition: all 0.15s; }
.choice span .ic { color: var(--indigo); }
.choice input:checked + span { border-color: var(--indigo); background: #eef2ff; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; font-weight: 600; font-size: 0.92rem; min-height: 1.2em; }
.form-status.ok { color: #15803d; } .form-status.err { color: #b91c1c; }
.contact-side { display: grid; gap: 16px; }
.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 16px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.85rem; }
.next-steps span { color: var(--muted); font-size: 0.9rem; }
.contact-line { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.contact-line .ic { color: var(--indigo); }
.contact-line a:hover { color: var(--indigo); }

/* ─── footer ─── */
.site-footer { padding: 40px 0 28px; }
.footer-cta { border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 64px; position: relative; overflow: hidden; }
.footer-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.14), transparent 50%), radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.14), transparent 50%); pointer-events: none; }
.footer-cta > * { position: relative; }
.footer-cta h2 { max-width: 560px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-grid a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--indigo); }
.footer-brand .logo { margin-bottom: 14px; padding: 0; }
.footer-brand > p { font-size: 0.92rem; max-width: 340px; }
.footer-contact { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; margin: 0 0 6px; }
.footer-contact a { display: inline; padding: 0; }
.footer-title { font-weight: 600; font-size: 0.86rem; margin-bottom: 10px; color: var(--ink); }
.footer-title.mt { margin-top: 20px; }
.socials { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.socials a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; background: rgba(255, 255, 255, 0.7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--indigo); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ─── responsive ─── */
@media (max-width: 1080px) {
  .nav-list { display: none; }
  .menu-toggle { display: inline-flex; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-split, .spotlight, .about-grid, .contact-grid, .article-grid, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .hero-visual { max-width: 520px; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .site-header { top: 10px; padding: 0 12px; }
  .header-shell { height: 58px; padding: 0 8px 0 16px; }
  .header-actions .btn-sm { display: none; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .g2, .g3, .g4, .steps, .form-row, .link-cols { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-actions .btn-lg { width: 100%; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-ic { display: none; }
  .t1 { right: 0; } .t2 { left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .filters { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* above-the-fold hero content shows instantly (better LCP), with a quick rise */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.6s ease both; }
.hero .hero-visual.reveal, .page-hero .hero-aside.reveal { animation-delay: 0.12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* industry pages */
.mt-s { margin-top: 12px; }
.industry-card h2 a:hover, .card h3 a:hover { color: var(--indigo); }
.sol-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.sol-card .card-ic { margin: 0; }
.sol-card .eyebrow { margin-bottom: 6px; }
.compliance { background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compliance p { margin: 0; }
.hero-aside .check-list a:hover { color: var(--indigo); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.lead-win { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15em; margin-bottom: 10px; }
.sample-badge { position: absolute; top: 18px; right: 18px; z-index: 1; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink-2); }
.center-text { text-align: center; }
.center-text .muted { max-width: 620px; margin-inline: auto; }
.text-link { color: var(--indigo); font-weight: 600; }
.mini-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.mini-list a { font-size: 0.9rem; font-weight: 500; color: var(--indigo); }
.mini-list a::before { content: '→ '; }
.city-cloud.left { justify-content: flex-start; margin-top: 16px; }
.area { display: inline-flex; align-items: center; gap: 5px; font-size: 0.86rem; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); }
.area .ic { color: var(--violet); }
.state span { display: flex; align-items: center; gap: 6px; padding: 5px 0; color: var(--muted); font-size: 0.95rem; }
.state span .ic { color: var(--violet); }
h2.h3 { font-size: 1.2rem; }
