/* ------------------------------------------------------------------
   Capavista marketing site - self-contained design system.
   No framework dependency: this file owns every pixel of the page.
   ------------------------------------------------------------------ */

:root {
    --ink: #0b0d17;
    --ink-soft: #3d4258;
    --muted: #6b7188;
    --paper: #ffffff;
    --paper-warm: #f6f7fb;
    --line: rgba(11, 13, 23, 0.08);
    --brand: #6d28d9;
    --brand-bright: #8b5cf6;
    --brand-tint: #a78bfa;
    --brand-ink: #4c1d95;
    --accent: #22d3ee;
    --good: #10b981;
    --warn: #f59e0b;
    --hero-bg: #08081b;
    --radius: 18px;
    --shadow-lg: 0 24px 60px -24px rgba(11, 13, 23, 0.35);
    --shadow-sm: 0 8px 24px -12px rgba(11, 13, 23, 0.18);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.filament-fabricator-body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::-moz-selection { background: rgba(139, 92, 246, 0.25); }

::selection { background: rgba(139, 92, 246, 0.25); }

.mk-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- type scale ---------- */
.mk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}
.mk-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}
.mk-eyebrow--tint { color: var(--brand-tint); }

.mk-h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.mk-h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.mk-h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.mk-lead { font-size: clamp(1.1rem, 1.65vw, 1.35rem); color: var(--ink-soft); line-height: 1.65; }

.mk-gradient-text {
    background: linear-gradient(92deg, #a78bfa 0%, #8b5cf6 35%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- buttons ---------- */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
    will-change: transform;
}
.mk-btn:hover { transform: translateY(-2px); }
.mk-btn:active { transform: translateY(0); }

.mk-btn--primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-bright) 100%);
    box-shadow: 0 12px 32px -10px rgba(109, 40, 217, 0.55);
}
.mk-btn--primary:hover { box-shadow: 0 18px 44px -12px rgba(109, 40, 217, 0.7); }

.mk-btn--ghost {
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}
.mk-btn--ghost:hover { background: var(--paper-warm); }

/* ghost button sat directly on the dark hero, not a light page */
.mk-btn--ghost-hero { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.mk-btn--ghost-hero:hover { background: rgba(255, 255, 255, 0.08); }

.mk-btn--light {
    color: var(--brand-ink);
    background: #fff;
    box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.45);
}

/* ---------- scroll reveals ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="scale"].is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .mk-orb, .mk-marquee__track, .mk-funnel__arrow { animation: none !important; }
    .mk-count__number.is-pop { animation: none !important; }
    .mk-count-card { opacity: 1 !important; transform: none !important; transition: none !important; }
    * { animation-duration: 0.001s !important; }
}

/* ---------- nav ---------- */
.mk-nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 60;
    transition: background 0.3s ease, box-shadow 0.3s ease, -webkit-backdrop-filter 0.3s ease;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}
.mk-nav.is-scrolled {
    background: rgba(8, 8, 27, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.mk-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}
.mk-nav__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.mk-nav__links { display: flex; align-items: center; gap: 28px; }
.mk-nav__links a {
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease;
}
.mk-nav__links a:hover { color: #fff; }
.mk-nav__actions { display: flex; align-items: center; gap: 14px; }
.mk-nav__login { font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.mk-nav__login:hover { color: #fff; }
.mk-nav__cta {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-bright) 100%);
    box-shadow: 0 8px 22px -10px rgba(109, 40, 217, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mk-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(109, 40, 217, 0.85); }
.mk-nav.is-scrolled .mk-nav__cta {
    color: #0b0d17;
    background: #fff;
    box-shadow: 0 10px 26px -10px rgba(255, 255, 255, 0.45);
}

.mk-nav__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-bright), var(--accent));
}

.mk-nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.mk-nav__burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

/* Nav over LIGHT pages (contact, legal): dark text, light glass on scroll. */
.mk-nav--onlight .mk-nav__logo img { filter: none; }
.mk-nav--onlight .mk-nav__links a,
.mk-nav--onlight .mk-nav__login { color: rgba(11, 13, 23, 0.72); }
.mk-nav--onlight .mk-nav__links a:hover,
.mk-nav--onlight .mk-nav__login:hover { color: var(--ink); }
.mk-nav--onlight .mk-nav__burger span { background: var(--ink); }
.mk-nav--onlight.is-scrolled {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 1px 0 rgba(11, 13, 23, 0.08);
}
.mk-nav--onlight.is-scrolled .mk-nav__cta {
    color: #fff;
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-bright) 100%);
    box-shadow: 0 8px 22px -10px rgba(109, 40, 217, 0.7);
}
.mk-nav--onlight .mk-nav__progress { background: linear-gradient(90deg, var(--brand), var(--brand-bright)); }

.mk-nav.is-open .mk-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mk-nav.is-open .mk-nav__burger span:nth-child(2) { opacity: 0; }
.mk-nav.is-open .mk-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
    .mk-nav__links, .mk-nav__login { display: none; }
    .mk-nav__burger { display: block; }
    .mk-nav.is-open { background: var(--hero-bg); }
    .mk-nav.is-open .mk-nav__links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        position: absolute;
        top: 68px;
        inset-inline: 0;
        padding: 12px 24px 24px;
        background: var(--hero-bg);
        box-shadow: 0 30px 40px -20px rgba(0,0,0,0.5);
    }
    .mk-nav.is-open .mk-nav__links a { padding: 10px 0; font-size: 17px; width: 100%; }
}

/* ---------- hero ---------- */
.mk-hero {
    position: relative;
    background: var(--hero-bg);
    color: #fff;
    padding: 140px 0 0;
    overflow: hidden;
}

.mk-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
    animation: mk-drift 18s ease-in-out infinite alternate;
}
.mk-orb--1 { width: 480px; height: 480px; top: -140px; left: -120px; background: #4c1d95; }
.mk-orb--2 { width: 420px; height: 420px; top: 20%; right: -140px; background: #155e75; animation-delay: -6s; }
.mk-orb--3 { width: 320px; height: 320px; bottom: -80px; left: 35%; background: #6d28d9; animation-delay: -12s; }

@keyframes mk-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}

.mk-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
    padding-bottom: 72px;
}
@media (max-width: 960px) { .mk-hero__grid { grid-template-columns: 1fr; } }

.mk-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
}
.mk-hero__badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: mk-pulse 2.2s infinite;
}
@keyframes mk-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mk-hero h1 { color: #fff; margin-bottom: 22px; }
.mk-hero__sub { font-size: clamp(1.1rem, 1.55vw, 1.3rem); color: rgba(255, 255, 255, 0.78); max-width: 36rem; margin-bottom: 34px; }

.mk-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.mk-hero__note { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); }

/* ---------- trust strip under hero ---------- */
.mk-trust {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 28px 0 40px;
}
.mk-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 800px) { .mk-trust__grid { grid-template-columns: repeat(2, 1fr); } }
.mk-trust__item {
    text-align: center;
    padding: 8px 10px;
}
.mk-trust__item b {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 4px;
}
.mk-trust__item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* hero word cycler */
.mk-cycler { display: inline-block; position: relative; }
.mk-cycler span {
    position: absolute;
    left: 0; top: 0;
    opacity: 0;
    transform: translateY(0.5em);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.mk-cycler span.is-active { position: relative; opacity: 1; transform: none; }

/* ---------- hero demo: resumes → shortlist ---------- */
.mk-demo {
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
    padding: 28px;
    transform: scale(1.12);
    transform-origin: center right;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
@media (max-width: 960px) {
    .mk-demo { transform: scale(1.04); transform-origin: center top; margin-top: 8px; }
}
.mk-demo__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mk-demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mk-demo__bar i:first-child { background: #f87171aa; }
.mk-demo__bar i:nth-child(2) { background: #fbbf24aa; }
.mk-demo__bar i:nth-child(3) { background: #34d399aa; }
.mk-demo__bar b { margin-left: 10px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }

.mk-demo__status {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    min-height: 18px;
}
.mk-demo__status .spin {
    width: 12px; height: 12px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: mk-rotate 0.9s linear infinite;
}
@keyframes mk-rotate { to { transform: rotate(360deg); } }

.mk-demo__list { display: flex; flex-direction: column; gap: 10px; }

.mk-demo-card {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.mk-demo-card.is-scored {
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12);
}
.mk-demo-card .rank {
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 10px;
    font-size: 13px; font-weight: 800;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: background 0.5s ease, color 0.5s ease;
}
.mk-demo-card .who { min-width: 0; }
.mk-demo-card .who b { display: block; font-size: 14px; color: rgba(255,255,255,0.92); font-weight: 650; }
.mk-demo-card .who small { display: block; font-size: 11.5px; color: rgba(255,255,255,0.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-demo-card .score {
    font-family: var(--font-mono);
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,0.4);
    min-width: 52px;
    text-align: right;
    transition: color 0.5s ease;
}
.mk-demo-card.is-scored .score { color: var(--accent); }
.mk-demo-card.is-top { background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.45); }
.mk-demo-card.is-top .rank { background: linear-gradient(135deg, var(--brand), var(--brand-bright)); color: #fff; }
.mk-demo-card.is-dim { opacity: 0.36; }

.mk-demo__evidence {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.mk-demo__evidence.is-visible { opacity: 1; transform: none; }
.mk-demo__evidence b { color: #7dd3fc; }

/* ---------- sections ---------- */
.mk-section { padding: 88px 0; position: relative; }
.mk-section--warm { background: var(--paper-warm); }
.mk-section--dark { background: var(--hero-bg); color: #fff; }
.mk-section__head { max-width: 46rem; margin-bottom: 44px; }
.mk-section__head .mk-h2 { margin-top: 12px; }
.mk-section__head .mk-lead { margin-top: 16px; }
.mk-section--dark .mk-lead { color: rgba(255, 255, 255, 0.7); }
.mk-section__head--center { text-align: center; margin-inline: auto; }
.mk-section__head--center .mk-eyebrow { justify-content: center; }

/* ---------- countdown theatric ---------- */
.mk-count {
    background: var(--hero-bg);
    color: #fff;
    text-align: center;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}
.mk-count__glow {
    position: absolute;
    inset: 20% 10% auto;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(109, 40, 217, 0.28), transparent 70%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.8s ease, transform 1.2s ease;
}

/* Decorative corner illustration; a mood accent, never competes with the counter. */
.mk-count__banner {
    display: none;
    position: absolute;
    right: 4%;
    bottom: -6%;
    width: 260px;
    height: auto;
    opacity: 0.55;
    filter: saturate(0.75);
    -webkit-mask-image: linear-gradient(200deg, black 45%, transparent 88%);
    mask-image: linear-gradient(200deg, black 45%, transparent 88%);
    pointer-events: none;
}
@media (min-width: 1100px) {
    .mk-count__banner { display: block; }
}
.mk-count.is-complete .mk-count__glow {
    opacity: 1;
    transform: scale(1.15);
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.22), rgba(109, 40, 217, 0.18) 45%, transparent 70%);
}
.mk-count .mk-eyebrow { color: var(--brand-bright); justify-content: center; }
.mk-count__number {
    font-size: clamp(5rem, 16vw, 12rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.25));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 18px 0 6px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}
.mk-count__number.is-ticking {
    filter: drop-shadow(0 0 28px rgba(139, 92, 246, 0.35));
}
.mk-count__number.is-final {
    background: linear-gradient(92deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
}
.mk-count__number.is-pop {
    animation: mk-count-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mk-count-pop {
    0% { transform: scale(0.92); }
    55% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.mk-count__caption {
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    font-weight: 650;
    color: rgba(255, 255, 255, 0.85);
    min-height: 1.6em;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.mk-count__caption.is-swap {
    animation: mk-caption-swap 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mk-caption-swap {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: none; }
}
.mk-count__sub { margin-top: 28px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.62); max-width: 40rem; margin-inline: auto; line-height: 1.65; }

.mk-funnel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin: 36px auto 0;
    max-width: 52rem;
    list-style: none;
}
.mk-funnel__step {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 7.5rem;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.35;
    transition: opacity 0.4s ease, background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.mk-funnel__step.is-active,
.mk-funnel__step.is-done {
    opacity: 1;
}
.mk-funnel__step.is-active {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 36px -20px rgba(139, 92, 246, 0.7);
}
.mk-funnel__step.is-done:not(.is-active) {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.28);
}
.mk-funnel__step b {
    font-size: 1.25rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.mk-funnel__step span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}
.mk-funnel__arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    line-height: 1;
    list-style: none;
    animation: mk-funnel-pulse 1.8s ease-in-out infinite;
}
@keyframes mk-funnel-pulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(3px); }
}
@media (max-width: 640px) {
    .mk-funnel { flex-direction: column; gap: 8px; }
    .mk-funnel__arrow { transform: none; animation: none; }
    .mk-funnel__step { width: min(100%, 16rem); }
}

.mk-count__shortlist {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    text-align: left;
}
@media (max-width: 800px) { .mk-count__shortlist { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; } }

.mk-count-card {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s),
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.mk-count-card.is-in {
    opacity: 1;
    transform: none;
}
.mk-count-card.is-in:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px -24px rgba(139, 92, 246, 0.65);
    transition-delay: 0s;
}
.mk-count-card .rank {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 11px;
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-bright));
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(109, 40, 217, 0.8);
}
.mk-count-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.mk-count-card span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.4; }
.mk-count-card em {
    font-style: normal;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
}

.mk-count__props {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: left;
}
@media (max-width: 900px) { .mk-count__props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mk-count__props { grid-template-columns: 1fr; } }

.mk-prop {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.mk-prop:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 20px 40px -24px rgba(109, 40, 217, 0.55);
}
.mk-prop .ico {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(34, 211, 238, 0.25));
    font-size: 18px;
    transition: transform 0.35s ease;
}
.mk-prop:hover .ico { transform: scale(1.1) rotate(-4deg); }
.mk-prop b { display: block; font-size: 15px; margin-bottom: 4px; }
.mk-prop span { font-size: 13px; color: rgba(255, 255, 255, 0.55); line-height: 1.5; display: block; }

/* ---------- statement (large-title) ---------- */
.mk-statement { padding: 120px 0; text-align: center; }
.mk-statement__title { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 20ch; margin-inline: auto; }
.mk-statement p { margin: 22px auto 0; max-width: 42rem; }

/* ---------- feature rows ---------- */
.mk-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
    padding: 44px 0;
}
.mk-feature--visual-left .mk-feature__copy { order: 2; }
@media (max-width: 880px) {
    .mk-feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
    .mk-feature--visual-left .mk-feature__copy { order: 0; }
}
.mk-feature__copy .mk-eyebrow { margin-bottom: 10px; }
.mk-feature__copy .mk-h2 { margin-top: 0; }
.mk-feature__copy .mk-lead { margin-top: 14px; font-size: 1.12rem; color: var(--ink-soft); }
.mk-feature__copy h3 { margin-top: 0; }

.mk-feature__visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    border: 1px solid var(--line);
    transform: scale(1.06);
    transform-origin: center;
}
.mk-feature__visual img { width: 100%; height: auto; }

/* mini-visuals built in CSS for feature rows */
.mk-mini {
    padding: 48px 32px 32px;
    background: linear-gradient(160deg, #f8f7ff, #eef4ff);
    min-height: 360px;
    display: flex; flex-direction: column; justify-content: center; gap: 14px;
    position: relative;
}
.mk-mini__label {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
}
.mk-mini__row {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 12px; padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 600; color: var(--ink);
}
.mk-mini__row .tag {
    margin-left: auto;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 999px;
    white-space: nowrap;
}
.tag--good { color: #047857; background: #d1fae5; }
.tag--warn { color: #92400e; background: #fef3c7; }
.tag--info { color: #1e40af; background: #dbeafe; }

.mk-mini__bar { height: 8px; border-radius: 99px; background: #e6e9f4; overflow: hidden; flex: 1; max-width: 160px; }
.mk-mini__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--accent)); width: var(--w, 60%); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.is-visible .mk-mini__bar i, .mk-feature.is-visible .mk-mini__bar i { transform: scaleX(1); }

.mk-mini__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
}
.mk-mini__legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: -1px;
}

/* ---------- how it works: sticky scene ---------- */
.mk-how { background: var(--hero-bg); color: #fff; padding: 100px 0; }
.mk-how__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}
@media (max-width: 880px) { .mk-how__grid { grid-template-columns: 1fr; } }

.mk-how__sticky {
    position: sticky;
    top: 108px;
}
@media (max-width: 880px) { .mk-how__sticky { position: relative; top: 0; margin-bottom: 12px; } }

.mk-how__frame {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.mk-how__scene {
    position: absolute;
    inset: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.mk-how__scene.is-active { opacity: 1; transform: none; }
.mk-how__scene .glyph {
    width: 84px; height: 84px;
    display: grid; place-items: center;
    font-size: 38px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(34, 211, 238, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.mk-how__scene b { font-size: 19px; }
.mk-how__scene p { font-size: 14px; color: rgba(255, 255, 255, 0.6); max-width: 30rem; }

.mk-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.38;
    transition: opacity 0.4s ease;
}
.mk-step:last-child { border-bottom: 0; }
.mk-step.is-active { opacity: 1; }
.mk-step__num {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 14px;
    font-weight: 800;
    font-family: var(--font-mono);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease, border-color 0.4s ease;
}
.mk-step.is-active .mk-step__num {
    background: linear-gradient(135deg, var(--brand), var(--brand-bright));
    border-color: transparent;
}
.mk-step b { display: block; font-size: 17px; margin-bottom: 6px; }
.mk-step p { font-size: 14.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

/* ---------- skill gap / info ---------- */
.mk-gap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
@media (max-width: 880px) { .mk-gap__grid { grid-template-columns: 1fr; } }

.mk-gap__chart {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 28px;
}
.mk-gap__chart h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: var(--ink-soft); }
.mk-skill { margin-bottom: 16px; }
.mk-skill .row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mk-skill .row span:last-child { color: var(--muted); font-weight: 500; }
.mk-skill .track { height: 9px; background: #eef0f7; border-radius: 99px; position: relative; overflow: hidden; }
.mk-skill .track i {
    position: absolute; inset-block: 0; left: 0;
    width: var(--w);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--brand), var(--brand-bright));
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.mk-skill .track em {
    position: absolute; inset-block: -2px;
    left: var(--need);
    width: 2px;
    background: var(--warn);
}
.is-visible .mk-skill .track i { transform: scaleX(1); }
.mk-gap__legend { display: flex; gap: 18px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.mk-gap__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- process fit (integrations) ---------- */
.mk-fit__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 880px) { .mk-fit__cards { grid-template-columns: 1fr; } }
.mk-fit-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.mk-fit-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(109, 40, 217, 0.22);
}
.mk-fit-card .ico {
    font-size: 26px;
    margin-bottom: 14px;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mk-fit-card:hover .ico { transform: scale(1.12) rotate(-6deg); }
.mk-fit-card b { display: block; font-size: 16px; margin-bottom: 8px; }
.mk-fit-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.mk-fit__roadmap { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.mk-band {
    position: relative;
    background: linear-gradient(120deg, #4c1d95, #6d28d9 45%, #0e7490);
    color: #fff;
    text-align: center;
    padding: 96px 0;
    overflow: hidden;
}
.mk-band::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 70% 20%, rgba(255,255,255,0.14), transparent 60%);
}
.mk-band h2 { position: relative; margin-bottom: 16px; }
.mk-band p { position: relative; color: rgba(255,255,255,0.75); max-width: 38rem; margin: 0 auto 34px; font-size: 1.1rem; }

/* ---------- pricing ---------- */
.mk-pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .mk-pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.mk-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mk-price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mk-price-card--featured {
    border: 2px solid var(--brand);
    box-shadow: 0 30px 70px -30px rgba(109, 40, 217, 0.45);
}
@media (min-width: 941px) { .mk-price-card--featured { transform: scale(1.04); } .mk-price-card--featured:hover { transform: scale(1.04) translateY(-6px); } }

.mk-price-card .flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    padding: 4px 14px;
    font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, var(--brand), var(--brand-bright));
    border-radius: 999px;
    white-space: nowrap;
}
.mk-price-card h3 { font-size: 20px; }
.mk-price-card .detail { font-size: 14px; color: var(--ink-soft); margin-top: 6px; min-height: 40px; }
.mk-price-card .amount { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 22px; }
.mk-price-card .amount b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.mk-price-card .amount span { color: var(--muted); font-size: 14px; }
.mk-price-card ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.mk-price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.mk-price-card li::before {
    content: "✓";
    flex: 0 0 auto;
    width: 19px; height: 19px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 11px; font-weight: 800;
    color: var(--brand);
    background: rgba(109, 40, 217, 0.1);
    margin-top: 1px;
}
.mk-price-card .mk-btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.mk-faq { max-width: 46rem; margin-inline: auto; }
.mk-faq details {
    border-bottom: 1px solid var(--line);
}
.mk-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 4px;
    font-size: 16.5px;
    font-weight: 650;
    transition: color 0.2s ease;
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary:hover { color: var(--brand); }
.mk-faq summary .chev {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--paper-warm);
    font-size: 13px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.mk-faq details[open] summary .chev { transform: rotate(45deg); background: var(--brand); color: #fff; }
.mk-faq .answer { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; max-width: 40rem; }

/* ---------- skills radar ---------- */
.mk-radar-section {
    background: var(--hero-bg);
    color: #fff;
    overflow: hidden;
}
.mk-radar-section .mk-lead { color: rgba(255, 255, 255, 0.65); }

.mk-radar__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}
@media (max-width: 940px) { .mk-radar__grid { grid-template-columns: 1fr; } }

.mk-radar__legend { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.mk-radar__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.mk-radar__toggle:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.1); }
.mk-radar__toggle:not(.is-on) { opacity: 0.42; }
.mk-radar__toggle .swatch { width: 12px; height: 12px; border-radius: 4px; }
.swatch--candidate { background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.swatch--required { border: 2px dashed #f59e0b; background: transparent; }

.mk-radar__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mk-radar__chip {
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.mk-radar__chip:hover { transform: translateY(-1px); }
.mk-radar__chip--good { color: #6ee7b7; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
.mk-radar__chip--gap { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }

.mk-radar__hint { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

.mk-radar__card {
    position: relative;
    border-radius: 24px;
    padding: 24px 20px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.mk-radar__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 0 8px 6px;
    transition: opacity 0.22s ease;
}
.mk-radar__meta > div > b { display: block; font-size: 17px; }
.mk-radar__meta > div > span { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.mk-radar__fit { text-align: right; }
.mk-radar__fit b {
    display: block;
    font-size: 28px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(92deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mk-radar__fit span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

.mk-radar svg { width: 100%; height: auto; display: block; }

.mk-radar .ring { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.mk-radar .axis { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; transition: stroke 0.25s ease; }
.mk-radar .axis.is-hot { stroke: rgba(167, 139, 250, 0.65); stroke-width: 1.5; }

.mk-radar__series { transform-origin: 320px 290px; transition: opacity 0.35s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.mk-radar__series--candidate { transform: scale(0); transition-delay: 0.15s; }
.mk-radar__series--required { transform: scale(0); }
[data-radar].is-visible .mk-radar__series { transform: scale(1); }
.mk-radar.series-off-candidate .mk-radar__series--candidate,
.mk-radar.series-off-required .mk-radar__series--required { opacity: 0; }

.mk-radar .poly-candidate { stroke-width: 2.5; stroke-linejoin: round; }
.mk-radar .poly-required { fill: rgba(245, 158, 11, 0.05); stroke: #f59e0b; stroke-width: 1.7; stroke-dasharray: 7 6; stroke-linejoin: round; }

.mk-radar__dot {
    fill: #0b0d17;
    stroke: #a78bfa;
    stroke-width: 2.5;
    cursor: pointer;
    opacity: 0;
    transform-origin: 320px 290px;
    transform: scale(0.4);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), r 0.2s ease, stroke 0.2s ease;
    transition-delay: calc(0.9s + var(--i) * 0.05s);
    outline: none;
}
[data-radar].is-visible .mk-radar__dot { opacity: 1; transform: scale(1); }
.mk-radar.series-off-candidate .mk-radar__dot { opacity: 0; pointer-events: none; }
.mk-radar__dot:hover, .mk-radar__dot:focus-visible, .mk-radar__dot.is-hot {
    r: 9;
    stroke: #22d3ee;
    transition-delay: 0s;
}

.mk-radar__label {
    fill: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: fill 0.2s ease, opacity 0.22s ease;
}
.mk-radar__label.is-hot, .mk-radar__label:hover { fill: #fff; }

/* Example-profile switcher: cycles the card through a few illustrative
   candidates so the same evidence chart reads across very different roles. */
.mk-radar__profiles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 14px;
}
.mk-radar__profile-dot {
    position: relative;
    width: 22px;
    height: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.mk-radar__profile-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    transform: scaleX(0.364);
    transform-origin: left center;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.mk-radar__profile-dot:hover::before { border-color: rgba(255, 255, 255, 0.6); }
.mk-radar__profile-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mk-radar__profile-dot.is-active::before {
    transform: scaleX(1);
    border-color: transparent;
    background: linear-gradient(90deg, var(--brand-tint), var(--accent));
}

.mk-radar__tooltip {
    position: absolute;
    z-index: 5;
    max-width: 265px;
    padding: 13px 15px;
    border-radius: 14px;
    background: rgba(13, 13, 33, 0.96);
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 14px));
    transition: opacity 0.15s ease;
}
.mk-radar__tooltip[hidden] { display: block; opacity: 0; visibility: hidden; }
.mk-radar__tooltip b[data-tt-name] { font-size: 14px; }
.mk-radar__tooltip .vals { display: flex; gap: 12px; margin: 7px 0; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.mk-radar__tooltip .vals b { font-variant-numeric: tabular-nums; }
.mk-radar__tooltip .val--candidate b { color: #a78bfa; }
.mk-radar__tooltip .val--required b { color: #fbbf24; }
.mk-radar__tooltip p { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.65); }
.mk-radar__tooltip p:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
    .mk-radar__series, .mk-radar__dot { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- footer ---------- */
.mk-footer { background: var(--hero-bg); color: rgba(255, 255, 255, 0.6); padding: 64px 0 40px; }
.mk-footer__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.mk-footer__logo img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.mk-footer__links { display: flex; gap: 22px; font-size: 14px; }
.mk-footer__links a:hover { color: #fff; }
.mk-footer__legal { width: 100%; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: rgba(255, 255, 255, 0.38); }

/* ---------- legal documents (privacy / terms) ---------- */
.mk-legal {
    padding: 140px 0 96px;
    background: var(--paper);
    color: var(--ink);
}
.mk-legal__inner { max-width: 44rem; }
.mk-legal .mk-eyebrow { margin-bottom: 14px; }
.mk-legal .mk-h2 { margin-bottom: 10px; }
.mk-legal__updated {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 36px;
}
.mk-legal__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.mk-legal__body h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 2.2em 0 0.7em;
}
.mk-legal__body h3 {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--ink);
    margin: 1.6em 0 0.55em;
}
.mk-legal__body p { margin: 0 0 1em; }
.mk-legal__body ul,
.mk-legal__body ol {
    margin: 0 0 1.15em;
    padding-left: 1.35em;
    list-style: disc;
}
.mk-legal__body ol { list-style: decimal; }
.mk-legal__body li { margin: 0.35em 0; }
.mk-legal__body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mk-legal__body a:hover { color: var(--brand-ink); }
.mk-legal__body strong { color: var(--ink); font-weight: 700; }

/* ---------- demo request: modal + form ---------- */
.mk-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.mk-modal[hidden] { display: none; }
.mk-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 8, 27, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.mk-modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 34px 32px 28px;
    box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6);
    animation: mk-modal-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mk-modal-in {
    from { opacity: 0; transform: translateY(22px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.mk-modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: var(--paper-warm);
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.mk-modal__close:hover { background: #e8e9f2; color: var(--ink); }
.mk-modal__sub { margin: 8px 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.mk-demo-inline__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-top: 40px;
}
@media (max-width: 880px) { .mk-demo-inline__grid { grid-template-columns: 1fr; } }
.mk-demo-inline { padding-top: 140px; }
.mk-demo-inline .mk-demo-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px 28px 24px;
    box-shadow: var(--shadow-lg);
}
.mk-demo-form__points { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mk-demo-form__points li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.mk-demo-form__points li::before {
    content: "✓";
    position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 11px; font-weight: 800;
    color: var(--brand);
    background: rgba(109, 40, 217, 0.1);
}

.mk-demo-form { position: relative; }
.mk-demo-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mk-demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 520px) { .mk-demo-form__row { grid-template-columns: 1fr; } }
.mk-demo-form label { display: block; }
.mk-demo-form label > span {
    display: block;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.mk-demo-form label > span em { color: var(--brand); font-style: normal; margin-left: 2px; }
.mk-demo-form input[type="text"],
.mk-demo-form input[type="email"],
.mk-demo-form select,
.mk-demo-form textarea {
    width: 100%;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper-warm);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 11px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.mk-demo-form input:focus, .mk-demo-form select:focus, .mk-demo-form textarea:focus {
    outline: none;
    border-color: var(--brand-bright);
    background: #fff;
}
.mk-demo-form__full { margin-bottom: 14px; }
.mk-demo-form__submit { width: 100%; }
.mk-demo-form__submit[disabled] { opacity: 0.6; cursor: wait; transform: none !important; }
.mk-demo-form__note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.mk-demo-form__error {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.mk-demo-form__success {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
}
.mk-demo-form__success[hidden] { display: none; }
.mk-demo-form__success .ico {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 22px; font-weight: 800;
    color: #047857;
    background: #d1fae5;
    margin-bottom: 6px;
}
.mk-demo-form__success b { font-size: 18px; }
.mk-demo-form__success p { font-size: 14px; color: var(--muted); max-width: 26rem; line-height: 1.6; }

body.mk-modal-open { overflow: hidden; }

/* On-light nav: mobile menu opens as a light sheet. */
@media (max-width: 820px) {
    .mk-nav--onlight.is-open,
    .mk-nav--onlight.is-open .mk-nav__links {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 30px 40px -20px rgba(11, 13, 23, 0.18);
    }
    .mk-nav--onlight.is-open .mk-nav__links a { color: var(--ink); }
}
