/* =========================================================
   DefinedLeads — public website styles
   ========================================================= */
:root {
  --ink: #070b1a;
  --ink-2: #0d1330;
  --ink-3: #161d44;
  --text: #0b1020;
  --muted: #5b6478;
  --muted-light: #a9b1c7;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --brand: #5b4bff;
  --brand-600: #4f46e5;
  --brand-2: #7c6cff;
  --accent: #06b6d4;
  --accent-2: #22d3ee;
  --success: #10b981;
  --danger: #e5484d;
  --grad: linear-gradient(135deg, #7c6cff 0%, #4f46e5 45%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,108,255,.12), rgba(6,182,212,.12));
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(16, 24, 64, .18);
  --shadow-lg: 0 30px 70px -24px rgba(16, 24, 64, .38);
  --container: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(91, 75, 255, .55); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { --bh: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--bh); padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { --bh: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 160%; background-position: 0% 50%; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 30px -12px rgba(79, 70, 229, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost-light { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline { color: var(--text); background: #fff; border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.btn-white { color: var(--brand-600); background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn-white:hover { transform: translateY(-2px); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill-dark { color: #dbe2ff; background: rgba(124,108,255,.14); border: 1px solid rgba(124,108,255,.35); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s var(--ease); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; text-decoration: none !important; letter-spacing: -.02em; }
.logo img { border-radius: 10px; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-8deg) scale(1.05); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { position: relative; color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; text-decoration: none; transition: color .2s; }
.main-nav a:not(.btn)::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
.site-header.scrolled { background: rgba(7, 11, 26, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.scrolled .header-inner { height: 64px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 10px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* light header variant for light pages */
.page-light .site-header:not(.scrolled) .logo, .page-light .site-header:not(.scrolled) .main-nav a:not(.btn) { color: var(--text); }
.page-light .site-header:not(.scrolled) .nav-toggle { background: var(--bg-alt); }
.page-light .site-header:not(.scrolled) .nav-toggle span { background: var(--text); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; color: #fff; background: radial-gradient(1200px 600px at 75% 10%, #1b1f5c 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, #062a3d 0%, transparent 55%), var(--ink); overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -120px; top: 8%; background: radial-gradient(circle, rgba(124,108,255,.35), transparent 65%); filter: blur(30px); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.035em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted-light); max-width: 580px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; color: #c9d0e6; font-size: 14px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: #34d399; }

.hero-visual { position: relative; perspective: 1200px; }
.dash-card { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 20px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.dash-dots i:first-child { background: #ff6b6b; } .dash-dots i:nth-child(2) { background: #fbbf24; } .dash-dots i:nth-child(3) { background: #34d399; }
.dash-title { font-weight: 700; font-size: 14px; color: #e6e9f5; }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #a7f3d0; background: rgba(16,185,129,.14); padding: 4px 10px; border-radius: 999px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpis div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px; }
.dash-kpis small { display: block; font-size: 12px; color: #9aa3bf; font-weight: 600; }
.dash-kpis strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.dash-kpis em { font-style: normal; font-size: 12px; font-weight: 700; }
.dash-kpis em.up { color: #34d399; }
.dash-chart { width: 100%; height: 150px; display: block; overflow: visible; }
.dash-grid line { stroke: rgba(255,255,255,.08); stroke-dasharray: 3 5; }
.dash-line { stroke-dasharray: 700; stroke-dashoffset: 700; }
.dash-area { opacity: 0; }
.in .dash-line, .dash-card.in .dash-line { animation: draw 2.2s var(--ease) .5s forwards; }
.in .dash-area { animation: fadein 1.2s ease 1.6s forwards; }
.dash-point { fill: #22d3ee; opacity: 0; filter: drop-shadow(0 0 8px #22d3ee); }
.in .dash-point { animation: fadein .4s ease 2.5s forwards, ping 2s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes ping { 50% { r: 8; } }
.dash-platforms { display: grid; gap: 8px; margin-top: 10px; }
.dash-platforms div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; font-size: 12px; color: #aab3cc; font-weight: 600; }
.dash-platforms b { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.dash-platforms b::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.6s var(--ease) 1s; }
.in .dash-platforms b::after { width: var(--w); }
.dash-note { margin: 12px 0 0; font-size: 11px; color: #7d86a3; text-align: right; }

.toast-stack { position: absolute; left: -36px; bottom: -28px; display: grid; gap: 10px; width: 290px; pointer-events: none; }
.lead-toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--text); box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); animation: toastIn .6s var(--ease) both; }
.lead-toast.out { animation: toastOut .5s var(--ease) both; }
.lead-toast .ti { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.lead-toast b { display: block; font-size: 13px; }
.lead-toast span { display: block; font-size: 12px; color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Platforms marquee ---------- */
.platforms { background: var(--ink); padding: 8px 0 42px; border-bottom: 1px solid rgba(255,255,255,.06); }
.platforms-label { text-align: center; color: #7d86a3; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { padding: 0 34px; font-size: 22px; font-weight: 800; color: rgba(255,255,255,.38); letter-spacing: -.02em; white-space: nowrap; transition: color .3s; }
.marquee-item:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Commitments ---------- */
.commitments { background: linear-gradient(180deg, var(--ink) 0, var(--ink) 50%, var(--bg) 50%); padding: 0 0 20px; }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.commit { padding: 28px 26px; border-right: 1px solid var(--line); }
.commit:last-child { border-right: 0; }
.commit strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.commit span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: radial-gradient(800px 500px at 90% 0%, #1b1f5c 0%, transparent 60%), var(--ink); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-head.light p { color: var(--muted-light); }
.section-head.light .eyebrow { color: var(--accent-2); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spotlight { position: relative; overflow: hidden; }
.spotlight::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124,108,255,.12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spotlight:hover::before { opacity: 1; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124,108,255,.35); }
.service-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--brand-600); background: var(--grad-soft); margin-bottom: 20px; transition: transform .5s var(--ease), background .4s, color .4s; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: var(--grad); color: #fff; }
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 18px 0 0; }
.tags li { font-size: 12px; font-weight: 600; color: #3b4361; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ---------- Method ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.method-tabs { display: grid; gap: 14px; }
.method-tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; text-align: left; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #fff; font: inherit; cursor: pointer; overflow: hidden; transition: background .3s, border-color .3s; }
.method-tab:hover { background: rgba(255,255,255,.06); }
.method-tab.active { background: rgba(124,108,255,.12); border-color: rgba(124,108,255,.45); }
.method-num { font-size: 14px; font-weight: 800; color: var(--accent-2); padding-top: 3px; }
.method-body strong { display: block; font-size: 20px; margin-bottom: 4px; }
.method-body span { display: block; color: var(--muted-light); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.method-tab.active .method-body span { max-height: 160px; opacity: 1; }
.method-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.method-progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.method-tab.active .method-progress i { animation: progress var(--dur, 6s) linear forwards; }
.method.paused .method-tab.active .method-progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.method-stage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; border-radius: 28px; background: radial-gradient(circle at 50% 40%, rgba(124,108,255,.18), transparent 70%), rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); }
.stage-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.stage-panel.active { opacity: 1; transform: none; }
.stage-svg { width: 82%; overflow: visible; }
.ring { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.r1 { stroke-dasharray: 6 8; animation: spin 40s linear infinite; transform-origin: 160px 160px; }
.r2 { stroke: rgba(124,108,255,.35); }
.r3 { stroke: rgba(34,211,238,.45); }
.bullseye { fill: url(#none); fill: rgba(34,211,238,.18); stroke: #22d3ee; stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }
.persona circle:first-child { fill: #1a2150; stroke: rgba(255,255,255,.25); }
.persona .ph { fill: none; stroke: #c7cdf0; stroke-width: 2; stroke-linecap: round; }
.persona { animation: float 4s ease-in-out infinite; }
.persona:nth-of-type(2) { animation-delay: -1s; } .persona:nth-of-type(3) { animation-delay: -2s; } .persona:nth-of-type(4) { animation-delay: -3s; }
.persona.hit circle { fill: url(#none); fill: #4f46e5; stroke: #fff; stroke-width: 2; }
.persona.hit .tick { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.persona.hit { animation: none; }
@keyframes float { 50% { translate: 0 -8px; } }
.stage-chips { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.stage-chips span { font-size: 12px; font-weight: 700; color: #dbe2ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; }
.ad-stack { position: relative; width: 70%; height: 70%; }
.ad-card { position: absolute; width: 62%; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.ad-media { height: 92px; border-radius: 10px; margin-bottom: 10px; }
.m1 { background: linear-gradient(135deg, #7c6cff, #22d3ee); } .m2 { background: linear-gradient(135deg, #f59e0b, #ef4444); } .m3 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.ad-card b { display: block; height: 9px; width: 80%; border-radius: 5px; background: #e4e8f1; margin-bottom: 6px; }
.ad-card i { display: block; height: 7px; width: 55%; border-radius: 4px; background: #eef1f7; margin-bottom: 10px; }
.ad-cta { display: block; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--brand-600); border-radius: 7px; padding: 6px; }
.a1 { left: 0; top: 10%; transform: rotate(-8deg); } .a2 { left: 19%; top: 0; z-index: 2; } .a3 { right: 0; top: 14%; transform: rotate(8deg); }
.stage-panel.active .a1 { animation: card1 5s ease-in-out infinite; } .stage-panel.active .a3 { animation: card3 5s ease-in-out infinite; }
@keyframes card1 { 50% { transform: rotate(-12deg) translate(-8px, 6px); } }
@keyframes card3 { 50% { transform: rotate(12deg) translate(8px, 6px); } }
.bars-viz { display: flex; align-items: flex-end; gap: 4%; width: 72%; height: 58%; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); }
.bars-viz span { flex: 1; height: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #22d3ee, #4f46e5); transition: height 1s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.stage-panel.active .bars-viz span { height: var(--h); }

/* ---------- Timeline ---------- */
.timeline { position: relative; list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline-line { position: absolute; top: 28px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.timeline-line i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.timeline-step { position: relative; text-align: center; padding: 0 6px; }
.step-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--brand-600); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.timeline-step.lit .step-dot { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06); box-shadow: 0 12px 26px -10px rgba(79,70,229,.7); }
.step-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.timeline-step h3 { font-size: 18px; }
.timeline-step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Reporting ---------- */
.report-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.report-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.report-copy > p { color: var(--muted); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list svg { flex: none; color: #fff; background: var(--success); border-radius: 50%; padding: 3px; margin-top: 2px; }
.report-card { background: #fcfcfb; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.report-kicker { display: block; font-size: 13px; font-weight: 600; color: #52514e; }
.report-value { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #0b0b0b; }
.seg { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: 9px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg button.active { background: #fff; color: var(--text); box-shadow: 0 2px 8px -2px rgba(16,24,64,.18); }
.report-chart { position: relative; height: 280px; }
.report-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.report-chart .grid line { stroke: #e1e0d9; stroke-width: 1; }
.report-chart .axis text { fill: #898781; font-size: 11px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.report-chart .baseline { stroke: #c3c2b7; }
.report-chart .line { fill: none; stroke: #2a78d6; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transition: d .7s var(--ease); }
.report-chart .area { fill: #2a78d6; opacity: .1; transition: d .7s var(--ease); }
.report-chart .cross { stroke: #c3c2b7; stroke-width: 1; opacity: 0; }
.report-chart .dot { fill: #2a78d6; stroke: #fcfcfb; stroke-width: 2; opacity: 0; }
.report-chart.hovering .cross, .report-chart.hovering .dot { opacity: 1; }
.chart-tip { position: absolute; pointer-events: none; background: #0b0b0b; color: #f0efec; font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -120%); opacity: 0; transition: opacity .15s; }
.chart-tip b { display: block; font-size: 14px; }
.report-chart.hovering .chart-tip { opacity: 1; }
.report-note { margin: 10px 0 0; font-size: 12px; color: #898781; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.industry span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-soft); color: var(--brand-600); flex: none; transition: background .35s, color .35s; }
.industry:hover { transform: translateY(-4px); border-color: rgba(124,108,255,.35); box-shadow: var(--shadow); }
.industry:hover span { background: var(--grad); color: #fff; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.compare-col { border-radius: var(--radius-lg); padding: 32px; }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 20px; }
.compare-col p { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 500; }
.compare-col .x, .compare-col .ok { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.them { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.them .x { background: #fde8e8; color: var(--danger); }
.us { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.us::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.us p { border-top-color: rgba(255,255,255,.1); }
.us .ok { background: rgba(52,211,153,.18); color: #34d399; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(124,108,255,.4); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); transition: background .3s, transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), background .3s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--grad); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 110px 0; color: #fff; text-align: center; background: var(--grad); background-size: 200% 200%; animation: gradmove 12s ease infinite; }
@keyframes gradmove { 50% { background-position: 100% 50%; } }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.03em; }
.cta-inner p { font-size: 19px; opacity: .9; max-width: 560px; margin: 0 auto 30px; }
.cta-orbs i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); animation: drift 12s ease-in-out infinite alternate; }
.cta-orbs i:nth-child(1) { width: 300px; height: 300px; left: -80px; top: -120px; }
.cta-orbs i:nth-child(2) { width: 200px; height: 200px; right: 8%; bottom: -90px; animation-duration: 9s; }
.cta-orbs i:nth-child(3) { width: 90px; height: 90px; right: 30%; top: 20%; animation-duration: 7s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab3cc; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin: 16px 0 22px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a:not(.btn):not(.logo), .site-footer span { display: block; color: #aab3cc; padding: 4px 0; font-size: 15px; }
.site-footer a:not(.btn):not(.logo):hover { color: #fff; text-decoration: none; }
.site-footer .muted { color: #6b7493; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a { display: inline !important; }

/* ---------- Inner pages (privacy, case studies, 404) ---------- */
.page-hero { position: relative; padding: 160px 0 80px; color: #fff; background: radial-gradient(900px 500px at 80% 0%, #1b1f5c 0%, transparent 60%), var(--ink); overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.page-hero p { color: var(--muted-light); font-size: 18px; max-width: 640px; }
.prose { max-width: 780px; margin: 0 auto; padding: 70px 24px 100px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose p, .prose li { color: #374055; }
.notice { padding: 14px 18px; border-radius: 12px; background: #fff7e6; border: 1px solid #fde3a7; color: #7a5200; font-size: 14px; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 560px; }
  .toast-stack { left: auto; right: -10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .method { grid-template-columns: 1fr; }
  .report-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px; background: rgba(7, 11, 26, .97); backdrop-filter: blur(14px); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility .3s; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { color: #fff !important; padding: 13px 10px; font-size: 17px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .commit:nth-child(2) { border-right: 0; }
  .commit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-left: auto; margin-right: auto; }
  .timeline-line { left: 28px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .timeline-line i { width: 100% !important; height: var(--fill, 0%); }
  .timeline-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; text-align: left; padding: 0 0 30px; }
  .step-dot { grid-row: 1 / span 3; margin: 0; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .hero-cta .btn { width: 100%; }
  .services-grid, .industry-grid { grid-template-columns: 1fr; }
  .dash-kpis strong { font-size: 19px; }
  .toast-stack { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .seg button { padding: 8px 9px; }
  .commit { padding: 22px 18px; }
  .commit strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .dash-line { stroke-dashoffset: 0; } .dash-area, .dash-point { opacity: 1; }
}
