/* ============================================================
   UpKYC — design system
   Brand: green AML-score app, AI-first, ergonomic
   ============================================================ */
:root {
    --green-50:  #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;

    --ink-900: #0a1428;
    --ink-700: #1f2937;
    --ink-500: #475569;
    --ink-400: #64748b;
    --ink-300: #94a3b8;
    --line:    #e5e7eb;
    --line-2:  #f3f4f6;
    --surface: #ffffff;
    --tint:    #f0fdf4;

    --radius-sm: 8px;
    --radius:   12px;
    --radius-lg: 18px;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, .06);
    --shadow:    0 12px 28px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, .12);

    --grad-brand: linear-gradient(135deg, #15803d 0%, #16a34a 45%, #22c55e 100%);
    --grad-soft:  linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    --grad-hero:  radial-gradient(80% 60% at 80% 0%, rgba(34, 197, 94, .14) 0%, transparent 60%);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; line-height: 1.6;
    color: var(--ink-700); background: var(--surface);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-500); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
    margin: 0; color: var(--ink-900); line-height: 1.2;
    font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0; }
code { font-family: 'JetBrains Mono', 'DM Mono', monospace; font-size: .92em; color: var(--green-700); background: var(--green-50); padding: 1px 6px; border-radius: 4px; }

.cnt { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.section { padding: 80px 0; }
.section.alt { background: var(--tint); }
.section.dark { background: linear-gradient(180deg, #0a1428 0%, #0f1d36 100%); color: #cbd5e1; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #f8fafc; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
    margin-bottom: 14px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: dot-pulse 2s ease-out infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head h2 em { font-style: italic; color: var(--green-600); font-weight: 900; }
.section-head .lead { color: var(--ink-500); font-size: 17px; max-width: 640px; margin: 0 auto; }

.lead { color: var(--ink-500); font-size: 17px; }
.accent { color: var(--green-600); }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
    text-decoration: none; cursor: pointer; border: 0;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    font-family: inherit;
}
.btn.primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 18px rgba(22,163,74,.22); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(22,163,74,.32); color: #fff; }
.btn.outline { background: #fff; color: var(--green-700); border: 1.5px solid var(--green-500); }
.btn.outline:hover { background: var(--green-50); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink-700); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn.lg { padding: 14px 26px; font-size: 15px; }

/* ============================================================
   Top nav
   ============================================================ */
.top {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* On pages with a video hero, the header floats fully transparent
   over the video; nav text just switches to dark green for contrast. */
body:has(.hero-has-video) .top:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body:has(.hero-has-video) .top:not(.scrolled) .brand .name { color: #14532d; }
body:has(.hero-has-video) .top:not(.scrolled) .brand .name b { color: #15803d; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a {
    color: #14532d;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: color .25s ease, transform .25s ease;
}
/* travelling shimmer across each nav link, staggered */
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74,222,128,.55) 50%,
        transparent 100%);
    transform: translateX(-120%) skewX(-18deg);
    animation: nav-shimmer 6s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(1)::before { animation-delay: 0s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(2)::before { animation-delay: .35s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(3)::before { animation-delay: .70s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(4)::before { animation-delay: 1.05s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(5)::before { animation-delay: 1.40s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:nth-child(6)::before { animation-delay: 1.75s; }
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a:hover {
    color: #052e16;
    transform: translateY(-1px);
}
body:has(.hero-has-video) .top:not(.scrolled) .top-nav a.active {
    color: #052e16;
    border-bottom-color: #15803d;
}
@keyframes nav-shimmer {
    0%        { transform: translateX(-120%) skewX(-18deg); }
    18%, 100% { transform: translateX(180%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
    body:has(.hero-has-video) .top:not(.scrolled) .top-nav a::before { animation: none; display: none; }
}
body:has(.hero-has-video) .top:not(.scrolled) .top-cta {
    background: linear-gradient(135deg, #15803d, #16a34a);
    border: 1px solid transparent;
    color: #fff;
    animation: cta-pulse 2.4s ease-in-out infinite;
}
body:has(.hero-has-video) .top:not(.scrolled) .top-cta:hover {
    background: linear-gradient(135deg, #166534, #15803d);
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    60%      { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
}
@media (prefers-reduced-motion: reduce) {
    body:has(.hero-has-video) .top:not(.scrolled) .top-cta { animation: none; }
}
.top-inner {
    max-width: 1160px; margin: 0 auto; padding: 14px 22px;
    display: flex; align-items: center; gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; display: block; }
.brand .name {
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--ink-900);
    letter-spacing: -0.01em;
}
.brand .name b { color: var(--green-600); }
.top-nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.top-nav a { color: var(--ink-500); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.top-nav a:hover, .top-nav a.active { color: var(--green-700); border-bottom-color: var(--green-500); }
.top-cta { margin-left: 6px; }
@media (max-width: 920px) {
    .top-nav { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    padding: 96px 0 80px;
    background: var(--grad-soft), var(--grad-hero);
    border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -120px; right: -120px;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--green-600); font-weight: 900; }
.hero p.lead { font-size: 18px; color: var(--ink-500); max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; background: #fff; border: 1px solid var(--green-200);
    border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--green-700);
    box-shadow: var(--shadow-sm);
}
.hero-chip i { color: var(--green-500); }

/* AML Score gauge (hero visual) */
.score-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-lg); position: relative;
    max-width: 420px; margin: 0 auto;
}
.score-card::before {
    content: ''; position: absolute; inset: -2px; border-radius: inherit;
    background: var(--grad-brand); z-index: -1; opacity: .15;
    filter: blur(20px);
}
.score-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.score-head .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; background: var(--green-50); color: var(--green-700);
    border-radius: 999px; font-family: 'JetBrains Mono', monospace;
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.score-head .pill .ld { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); animation: dot-pulse 2s infinite; }
.score-head .who { font-size: 12px; color: var(--ink-400); font-family: 'JetBrains Mono', monospace; }
.score-gauge {
    position: relative; width: 220px; height: 220px; margin: 0 auto;
}
.score-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-gauge .track { stroke: var(--green-100); stroke-width: 14; fill: none; }
.score-gauge .fill {
    stroke: url(#gauge-grad); stroke-width: 14; fill: none; stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    filter: drop-shadow(0 0 6px rgba(74,222,128,.55));
    transition: stroke .35s ease, filter .35s ease;
}
.score-card.high-risk .score-gauge .fill {
    stroke: url(#gauge-grad-red);
    filter: drop-shadow(0 0 6px rgba(239,68,68,.65));
}
.score-card.high-risk .score-num .n { color: #b91c1c; }
.score-card.high-risk .score-num .l { color: #b91c1c; }

/* red halo when in high-risk state */
.score-card.high-risk .score-gauge::before {
    background: radial-gradient(circle, rgba(239,68,68,.32) 0%, rgba(239,68,68,0) 65%);
}

/* score-card needs to allow the toast to float above its top edge */
.score-card { overflow: visible; }

/* Floating popup over the score card */
.score-toast {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translate(-50%, -10px) scale(.85);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap;
    color: #14532d;
    background: #fff;
    border: 1.5px solid #4ade80;
    box-shadow:
        0 14px 30px -8px rgba(34,197,94,.45),
        0 0 0 4px rgba(74,222,128,.18);
    opacity: 0;
    transition:
        opacity .3s ease,
        transform .35s cubic-bezier(.34, 1.56, .64, 1),
        color .25s, background .25s, border-color .25s, box-shadow .25s;
    z-index: 6;
    pointer-events: none;
}
.score-toast i { color: var(--green-600); font-size: 13px; }
.score-toast.show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}
.score-toast.warn {
    color: #b91c1c;
    border-color: #ef4444;
    background: #fff5f5;
    box-shadow:
        0 14px 30px -8px rgba(239,68,68,.45),
        0 0 0 4px rgba(239,68,68,.18);
}
.score-toast.warn i { color: #dc2626; }
/* soft continuous halo behind the gauge */
.score-gauge::before {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,222,128,.32) 0%, rgba(74,222,128,0) 65%);
    animation: gauge-halo 2.6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
.score-gauge svg, .score-num { position: relative; z-index: 1; }
@keyframes gauge-halo {
    0%, 100% { transform: scale(.92); opacity: .55; }
    50%      { transform: scale(1.05); opacity: .9; }
}
.score-num {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.score-num .n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 64px; color: var(--ink-900); line-height: 1; letter-spacing: -.04em; }
.score-num .l { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--green-700); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; font-weight: 700; }
.score-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.score-foot .item { text-align: center; }
.score-foot .item .v { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px; color: var(--ink-900); }
.score-foot .item .k { font-size: 10px; color: var(--ink-400); font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

/* Page hero (smaller variant for inner pages) */
.page-hero {
    padding: 64px 0 56px;
    background: var(--grad-soft), var(--grad-hero);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.page-hero p.lead { max-width: 720px; }

/* ============================================================
   Feature cards
   ============================================================ */
.feat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 22px; transition: all .25s;
    box-shadow: var(--shadow-sm);
}
.feat:hover { transform: translateY(-3px); border-color: var(--green-300); box-shadow: var(--shadow); }
.feat .fi {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--grad-brand); color: #fff;
    display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(22,163,74,.22);
}
.feat h4 { color: var(--ink-900); margin-bottom: 6px; font-size: 17px; }
.feat p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }
.feat .ai-tag {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; padding: 3px 9px;
    background: var(--green-50); color: var(--green-700);
    border-radius: 99px; font-family: 'JetBrains Mono', monospace;
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ============================================================
   Audience cards (for-you split)
   ============================================================ */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .aud-grid { grid-template-columns: 1fr; } }
.aud {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 28px; transition: all .3s; position: relative; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--grad-brand);
}
.aud .ai {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--green-50); color: var(--green-700);
    display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
    border: 1px solid var(--green-200);
}
.aud h3 { font-size: 22px; margin-bottom: 6px; }
.aud .who { color: var(--green-600); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.aud p { color: var(--ink-500); line-height: 1.65; margin-bottom: 16px; font-size: 15px; }
.aud ul { list-style: none; padding: 0; margin: 0; }
.aud ul li {
    padding: 6px 0 6px 24px; position: relative; color: var(--ink-700);
    font-size: 14px; line-height: 1.5;
}
.aud ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 7px; color: var(--green-500); font-size: 12px;
}

/* ============================================================
   Stat strip
   ============================================================ */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .stat { text-align: center; padding: 18px 8px; }
.stats .stat .n {
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 44px;
    color: var(--green-600); line-height: 1; margin-bottom: 6px; letter-spacing: -.03em;
}
.stats .stat .l {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--ink-500); letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}

/* ============================================================
   Phone mockup
   ============================================================ */
.phone {
    width: 270px; margin: 0 auto; padding: 11px;
    background: #0a1428; border-radius: 32px;
    box-shadow: 0 28px 60px rgba(10, 20, 40, .22);
    position: relative;
}
.phone::before {
    content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 16px; background: #000; border-radius: 0 0 10px 10px; z-index: 2;
}
.phone-screen {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border-radius: 22px; aspect-ratio: 9 / 18; overflow: hidden;
    padding: 28px 14px 14px; display: flex; flex-direction: column; gap: 14px;
    position: relative;
}
.phone-head { display: flex; align-items: center; gap: 8px; }
.phone-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); animation: dot-pulse 1.6s infinite; }
.phone-head .label { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--green-700); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.phone-score-mini {
    width: 130px; height: 130px; margin: 6px auto;
    border-radius: 50%; background: conic-gradient(var(--green-500) 0deg, var(--green-500) 288deg, var(--green-100) 288deg);
    display: grid; place-items: center;
    box-shadow: inset 0 0 0 10px #fff, 0 6px 18px rgba(22,163,74,.18);
    position: relative;
}
.phone-score-mini .n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 36px; color: var(--ink-900); }
.phone-score-mini .l { position: absolute; bottom: 30px; font-family: 'JetBrains Mono', monospace; font-size: 8px; color: var(--green-700); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.phone-rows { display: flex; flex-direction: column; gap: 6px; }
.phone-row {
    display: flex; align-items: center; gap: 8px;
    background: #fff; padding: 8px 10px; border-radius: 8px;
    border: 1px solid var(--green-100); font-size: 10px;
}
.phone-row i { color: var(--green-600); flex-shrink: 0; }
.phone-row .nm { color: var(--ink-700); flex: 1; font-weight: 600; }
.phone-row .v { color: var(--green-700); font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700; }
.phone-cta { margin-top: auto; background: var(--grad-brand); color: #fff; text-align: center; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: 700; }

/* ============================================================
   Regulatory cards
   ============================================================ */
.reg-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.reg {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; transition: all .25s; position: relative; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.reg::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-brand);
}
.reg:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.reg .ri {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--green-50); color: var(--green-700);
    display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 14px;
    border: 1px solid var(--green-200);
}
.reg h4 { font-size: 16px; color: var(--green-700); margin-bottom: 4px; }
.reg .agency { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-400); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.reg p { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* ============================================================
   Step flow (how it works)
   ============================================================ */
.steps {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
    position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 18px 18px; text-align: center; position: relative;
    box-shadow: var(--shadow-sm);
    animation: step-glow 14s ease-in-out infinite;
}
.step::after {
    content: ''; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 2px; background: var(--green-300);
    z-index: 1;
}
.step:last-child::after { display: none; }
@media (max-width: 880px) { .step::after { display: none; } }
.step .num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--grad-brand); color: #fff;
    display: grid; place-items: center; margin: 0 auto 12px;
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16px;
    box-shadow: 0 6px 16px rgba(22,163,74,.25);
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-500); line-height: 1.55; }
@keyframes step-glow {
    0%, 14%, 100% { border-color: var(--line); box-shadow: var(--shadow-sm); }
    4%, 10% { border-color: var(--green-400); box-shadow: 0 14px 28px rgba(22,163,74,.18); transform: translateY(-2px); }
}
.steps .step:nth-of-type(1) { animation-delay: 0s; }
.steps .step:nth-of-type(2) { animation-delay: -10.5s; }
.steps .step:nth-of-type(3) { animation-delay: -7s; }
.steps .step:nth-of-type(4) { animation-delay: -3.5s; }
.steps .step:nth-of-type(5) { animation-delay: -1.75s; }

/* ============================================================
   Flow gallery (system flow PDF pages)
   ============================================================ */
.flow-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.flow-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: all .3s; position: relative;
    box-shadow: var(--shadow-sm);
}
.flow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-card .num-tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--grad-brand); color: #fff;
    font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 10px;
    padding: 3px 8px; border-radius: 99px; letter-spacing: .08em;
    box-shadow: 0 4px 10px rgba(22,163,74,.25);
}
.flow-card .frame {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 16px; min-height: 200px;
    display: flex; align-items: center; justify-content: center;
}
.flow-card .frame img {
    max-width: 100%; height: auto; display: block; border-radius: 6px;
    box-shadow: 0 6px 14px rgba(10,20,40,.10);
}
.flow-card .body { padding: 14px 18px 18px; }
.flow-card .body h4 { font-size: 15px; margin-bottom: 4px; }
.flow-card .body p { font-size: 13px; color: var(--ink-500); line-height: 1.55; }

/* ============================================================
   Concept compare (Credit Score vs UPKYC)
   ============================================================ */
.compare {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
    max-width: 1000px; margin: 0 auto;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.compare .col.upkyc { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); border-color: var(--green-200); }
.compare .col h3 { margin-bottom: 6px; }
.compare .col .tagline { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-400); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.compare .col.upkyc .tagline { color: var(--green-700); }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare ul li {
    padding: 10px 0 10px 28px; position: relative;
    font-size: 14.5px; color: var(--ink-700); line-height: 1.55;
    border-bottom: 1px dashed var(--line);
}
.compare ul li:last-child { border-bottom: 0; }
.compare ul li::before {
    content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 4px; top: 12px; color: var(--ink-300); font-size: 10px;
}
.compare .col.upkyc ul li::before { color: var(--green-500); }
.compare .col.upkyc ul li { color: var(--ink-900); }
.compare ul li b { color: var(--green-700); }

/* ============================================================
   CTA block
   ============================================================ */
.cta-band {
    background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
    padding: 56px 36px; text-align: center; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.10) 0%, transparent 50%);
    pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; opacity: .95; font-size: 17px; }
.cta-band .btn.primary { background: #fff; color: var(--green-700); }
.cta-band .btn.primary:hover { background: var(--green-50); color: var(--green-800); }
.cta-band .btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn.outline:hover { background: rgba(255,255,255,.12); }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   Case study challenges + solutions
   ============================================================ */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 880px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm);
}
.cs-card .tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 9px; border-radius: 99px;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.cs-card.challenge { border-left: 4px solid #dc2626; }
.cs-card.challenge .tag { background: #fee2e2; color: #b91c1c; }
.cs-card.solution { border-left: 4px solid var(--green-500); background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); }
.cs-card.solution .tag { background: var(--green-100); color: var(--green-800); }
.cs-card h4 { font-size: 16px; margin-bottom: 6px; }
.cs-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; margin-bottom: 10px; }
.cs-card .result {
    margin-top: 12px; padding: 10px 12px; background: #fff;
    border: 1px dashed var(--green-300); border-radius: 8px;
    font-size: 13px; color: var(--green-800);
}
.cs-card .result b { font-weight: 700; }

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form label { font-size: 12px; font-weight: 700; color: var(--ink-700); font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
    font-family: inherit; font-size: 15px; color: var(--ink-900);
    padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px;
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 0; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.16);
}
.contact-form textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info .info-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.contact-info .info-card .ii {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--green-50); color: var(--green-700); display: grid; place-items: center;
    font-size: 1.05rem; flex-shrink: 0;
}
.contact-info .info-card h5 { font-size: 14px; margin-bottom: 4px; }
.contact-info .info-card p, .contact-info .info-card a { font-size: 14px; color: var(--ink-500); margin: 0; line-height: 1.5; }
.contact-info .info-card a:hover { color: var(--green-600); }

/* ============================================================
   Footer
   ============================================================ */
/* ---------- See · Share · Control 3-pillar graphic ---------- */
.ssc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 40px 0 20px;
}
@media (max-width: 920px) { .ssc-grid { grid-template-columns: 1fr; } }
.ssc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ssc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -18px rgba(34,197,94,.35), var(--shadow-md);
}
.ssc-illust {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid var(--green-100);
    padding: 18px 20px 8px;
}
.ssc-illust svg { width: 100%; height: auto; display: block; }
.ssc-body { padding: 20px 22px 24px; }
.ssc-num {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 700;
    letter-spacing: .14em;
    color: var(--green-700);
    background: var(--green-50);
    padding: 4px 9px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.ssc-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--ink-900);
}
.ssc-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-500);
    margin: 0;
}

/* — SEE animation: arc draw + bars filling — */
.ssc-see-arc {
    animation: ssc-see-arc-draw 3s ease-in-out infinite;
    transform-origin: 62px 80px;
}
@keyframes ssc-see-arc-draw {
    0%, 100% { stroke-dashoffset: 138; }
    40%, 80% { stroke-dashoffset: 38; }
}
.ssc-see-bar {
    transform-origin: left center;
    transform: scaleX(0);
    animation: ssc-bar-grow 3s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes ssc-bar-grow {
    0%, 100% { transform: scaleX(0); }
    30%, 80% { transform: scaleX(1); }
}

/* — SHARE animation: recipients fading in sequence + centre pulse — */
.ssc-recip { opacity: 0; animation: ssc-recip-in 4s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: 100px 70px; }
@keyframes ssc-recip-in {
    0%, 100% { opacity: 0; transform: scale(.9); }
    25%, 90% { opacity: 1; transform: scale(1); }
}
.ssc-share-pulse {
    transform-origin: 100px 70px;
    animation: ssc-share-ripple 2.4s ease-out infinite;
}
@keyframes ssc-share-ripple {
    0%   { transform: scale(1);   opacity: .6; stroke-width: 2; }
    100% { transform: scale(2.2); opacity: 0;  stroke-width: 0.5; }
}

/* — CONTROL animation: rows fading in like settings toggling — */
.ssc-row { opacity: 0; animation: ssc-row-in 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ssc-row-in {
    0%, 100% { opacity: 0; transform: translateX(-6px); }
    20%, 90% { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .ssc-see-arc, .ssc-see-bar, .ssc-recip, .ssc-share-pulse, .ssc-row { animation: none; opacity: 1; transform: none; }
    .ssc-see-bar { transform: scaleX(1); }
    .ssc-see-arc { stroke-dashoffset: 38; }
}

/* Certified strip — white panel sitting just above the footer */
.cert-strip {
    background: #ffffff;
    padding: 26px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.cert-strip .cert-inner {
    max-width: 1160px; margin: 0 auto; padding: 0 22px;
    display: flex; justify-content: center;
}
.cert-strip .lx-cert-row {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 18px; justify-content: center;
}
.cert-strip .lx-cert-label {
    color: #475569;
    font-family: 'JetBrains Mono', 'Inter', monospace, sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    margin-right: 4px;
}
.cert-strip .lx-cert {
    display: inline-block; vertical-align: middle;
    background: transparent;
    transition: transform .25s ease;
}
.cert-strip .lx-cert:hover { transform: translateY(-2px); }

.foot {
    background: linear-gradient(180deg, #0a1428 0%, #0f1d36 100%);
    color: #cbd5e1; padding: 56px 0 26px; margin-top: 0;
}
.foot-grid {
    max-width: 1160px; margin: 0 auto; padding: 0 22px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 56px; width: auto; margin-bottom: 14px; display: block; }
.foot-brand p { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 14px; }
.foot-col h6 { color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li { padding: 5px 0; }
.foot-col ul li a { color: rgba(255,255,255,.72); font-size: 13.5px; }
.foot-col ul li a:hover { color: var(--green-400); }
.foot-bot {
    max-width: 1160px; margin: 32px auto 0; padding: 18px 22px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.4);
    letter-spacing: .08em; text-transform: uppercase;
}
.foot-bot a { color: rgba(255,255,255,.5); }
.foot-bot a:hover { color: var(--green-400); }

@media (prefers-reduced-motion: reduce) {
    .step, .eyebrow .dot, .phone-head .dot, .score-gauge .fill, .score-head .pill .ld { animation: none; }
}

/* ---------- Hero with video background ---------- */
.hero.hero-has-video {
    background: #061410;
    margin-top: -68px;       /* pull up under sticky nav */
    padding-top: 380px;      /* push content well down from the top */
    padding-bottom: 80px;
    min-height: 82vh;        /* +50% video footprint */
}
.hero.hero-has-video > .cnt { position: relative; z-index: 2; }
.hero.hero-has-video .hero-grid {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 260px;
}
@media (max-width: 920px) {
    .hero.hero-has-video .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.hero.hero-has-video::before { display: none; }
.hero-bg-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: brightness(1.18) saturate(1.1) contrast(1.02);
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(6,20,16,.12) 0%, rgba(6,20,16,.32) 100%);
    pointer-events: none;
}
.hero.hero-has-video .hero-grid { position: relative; z-index: 2; }

/* Light text on the video background */
.hero.hero-has-video .eyebrow { color: #d4f5e0; }
.hero.hero-has-video .eyebrow .dot { background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.25); }
.hero.hero-has-video h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero.hero-has-video h1 em { color: #4ade80; }
.hero.hero-has-video p.lead { color: rgba(255,255,255,.85); }

.hero.hero-has-video .hero-chip {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.18);
    color: #ecfdf5;
    backdrop-filter: blur(6px);
}
.hero.hero-has-video .hero-chip i { color: #4ade80; }

.hero.hero-has-video .btn.outline {
    color: #ecfdf5;
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.06);
}
.hero.hero-has-video .btn.outline:hover {
    background: rgba(255,255,255,.14);
    border-color: #fff;
}

/* Score card stays on top of the video, slightly lifted */
.hero.hero-has-video .score-card {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,.45), var(--shadow-lg);
    /* ~50% scale */
    max-width: 210px;
    padding: 14px;
}
.hero.hero-has-video .score-head { margin-bottom: 10px; }
.hero.hero-has-video .score-head .pill { padding: 2px 6px; font-size: 8px; gap: 4px; }
.hero.hero-has-video .score-head .pill .ld { width: 4px; height: 4px; }
.hero.hero-has-video .score-head .who { font-size: 8px; }
.hero.hero-has-video .score-gauge { width: 110px; height: 110px; }
.hero.hero-has-video .score-gauge .track,
.hero.hero-has-video .score-gauge .fill { stroke-width: 10; }
.hero.hero-has-video .score-num .n { font-size: 32px; }
.hero.hero-has-video .score-num .l { font-size: 7px; margin-top: 2px; letter-spacing: .1em; }
.hero.hero-has-video .score-foot { gap: 4px; margin-top: 10px; padding-top: 8px; }
.hero.hero-has-video .score-foot .item .v { font-size: 11px; }
.hero.hero-has-video .score-foot .item .k { font-size: 7px; letter-spacing: .06em; }

/* Hero H1 +25% on the video hero (cumulative on the previous bump) */
.hero.hero-has-video h1 { font-size: clamp(30px, 3.9vw, 45px); margin-bottom: 14px; }
.hero.hero-has-video .eyebrow { font-size: 15px; margin-bottom: 18px; }

/* Pipeline wrap — pinned to bottom-center of hero */
.hero.hero-has-video .aml-pipeline-wrap {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 14px 22px;
    border-radius: 999px;
    background:
        radial-gradient(120% 80% at 50% 50%, rgba(34,197,94,.10), transparent 70%),
        linear-gradient(180deg, rgba(6, 22, 16, .68), rgba(4, 16, 12, .78));
    border: 1px solid rgba(74, 222, 128, .35);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow:
        0 24px 60px -14px rgba(0,0,0,.65),
        inset 0 1px 0 rgba(255,255,255,.08);
    overflow: hidden;
}
/* glowing energy line behind the stages */
.hero.hero-has-video .aml-pipeline-wrap::before {
    content: '';
    position: absolute;
    left: 22px; right: 22px;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
        rgba(74,222,128,0) 0%,
        rgba(74,222,128,.35) 10%,
        rgba(74,222,128,.55) 50%,
        rgba(74,222,128,.35) 90%,
        rgba(74,222,128,0) 100%);
    filter: blur(2px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}
/* travelling light orb that runs across the whole pipeline */
.hero.hero-has-video .aml-pipeline-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #ecfdf5 0%, #4ade80 40%, rgba(74,222,128,0) 75%);
    box-shadow: 0 0 18px 4px rgba(74,222,128,.7);
    transform: translateY(-50%);
    animation: orb-travel 4.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}
@keyframes orb-travel {
    0%        { left: 0%;  opacity: 0; }
    8%        { opacity: 1; }
    92%       { opacity: 1; }
    100%      { left: 100%; opacity: 0; }
}
.hero.hero-has-video .aml-pipeline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
}
.hero.hero-has-video .aml-pipeline .stage {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px 9px 30px;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ecfdf5;
    background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px -6px rgba(0,0,0,.4), 0 0 0 0 rgba(74,222,128,0);
    animation: stage-glow 4.2s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    transition: transform .25s ease;
    z-index: 2;
}
/* live LED dot inside each stage */
.hero.hero-has-video .aml-pipeline .stage::before {
    content: '';
    position: absolute;
    left: 12px; top: 50%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.7);
    transform: translateY(-50%);
    animation: led-pulse 1.6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    z-index: 2;
}
/* travelling light streak inside each stage */
.hero.hero-has-video .aml-pipeline .stage::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,
        rgba(74,222,128,0) 0%,
        rgba(74,222,128,.35) 50%,
        rgba(74,222,128,0) 100%);
    transform: skewX(-20deg);
    animation: stage-sweep 3.6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    pointer-events: none;
}
.hero.hero-has-video .aml-pipeline .stage i { color: #4ade80; font-size: 13px; position: relative; z-index: 1; }
.hero.hero-has-video .aml-pipeline .stage span { position: relative; z-index: 1; }
.hero.hero-has-video .aml-pipeline .sep {
    color: rgba(255,255,255,.4);
    font-size: 11px;
    animation: sep-flow 3.6s ease-in-out infinite;
    animation-delay: calc(var(--d, 0s) + .25s);
}
.hero.hero-has-video .aml-pipeline .sep:nth-of-type(1) { animation-delay: .35s; }
.hero.hero-has-video .aml-pipeline .sep:nth-of-type(2) { animation-delay: .95s; }
.hero.hero-has-video .aml-pipeline .sep:nth-of-type(3) { animation-delay: 1.55s; }
.hero.hero-has-video .aml-pipeline .sep-strong {
    color: #4ade80;
    font-size: 16px;
    margin: 0 4px;
    animation-delay: 2.15s;
}
.hero.hero-has-video .aml-pipeline .stage-out {
    color: #062013;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-color: transparent;
    box-shadow: 0 10px 26px -6px rgba(34,197,94,.7);
}
.hero.hero-has-video .aml-pipeline .stage-out i { color: #062013; }
.hero.hero-has-video .aml-pipeline .stage-out::before {
    background: #062013;
    box-shadow: 0 0 0 0 rgba(6,32,19,.6);
    animation: led-pulse-dark 1.6s ease-in-out infinite;
}
.hero.hero-has-video .aml-pipeline .stage-out::after {
    background: linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.45) 50%,
        rgba(255,255,255,0) 100%);
}
@keyframes stage-glow {
    0%, 80%, 100% {
        box-shadow: 0 4px 14px -6px rgba(0,0,0,.4), 0 0 0 0 rgba(74,222,128,0);
        border-color: rgba(255,255,255,.18);
        transform: translateY(0);
    }
    15%, 30% {
        box-shadow: 0 4px 14px -6px rgba(0,0,0,.4), 0 0 0 8px rgba(74,222,128,.22);
        border-color: rgba(74,222,128,.7);
        transform: translateY(-1px);
    }
}
@keyframes led-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.0); }
    50%      { box-shadow: 0 0 0 4px rgba(74,222,128,.45); }
}
@keyframes led-pulse-dark {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6,32,19,0); }
    50%      { box-shadow: 0 0 0 4px rgba(6,32,19,.45); }
}
@keyframes stage-sweep {
    0%          { left: -120%; }
    25%, 100%   { left: 120%; }
}
@keyframes sep-flow {
    0%, 100%    { color: rgba(255,255,255,.4); transform: translateX(0); }
    40%         { color: #4ade80; transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero.hero-has-video .aml-pipeline .stage,
    .hero.hero-has-video .aml-pipeline .stage::after,
    .hero.hero-has-video .aml-pipeline .stage::before,
    .hero.hero-has-video .aml-pipeline .sep,
    .hero.hero-has-video .aml-pipeline-wrap::after { animation: none; }
}
@media (max-width: 920px) {
    .hero.hero-has-video .aml-pipeline-wrap {
        border-radius: 22px;
        padding: 10px 14px;
        bottom: 18px;
    }
}
