/* Marketing CSS bundle. Source files stay beside this file.
   Rebuild with: python tools/bundle_marketing_css.py
   Keep this file as one stylesheet request. */

/* --- tokens.css --- */
:root {
    /* ============================================
       Brand palette — Smart-Pi  (#00A297)
       Flat colors only — no gradients anywhere.
       ============================================ */
    --mk-brand: #00A297;
    --mk-brand-dark: #007A72;
    --mk-brand-deep: #0D3B38;
    --mk-brand-light: #E6F7F5;
    --mk-brand-muted: #B8E8E3;
    --mk-accent-warm: #F4A100;
    --mk-accent-coral: #FF6B4A;

    /* Ink — solid dark surfaces (hero, CTA, footer) */
    --mk-ink: #0D3B38;
    --mk-ink-soft: #11514C;
    --mk-ink-border: rgba(255, 255, 255, 0.1);
    --mk-on-ink: #FFFFFF;
    --mk-on-ink-muted: #A9D6D1;

    /* Text & surfaces */
    --mk-text: #16302D;
    --mk-text-muted: #54706C;
    --mk-surface: #F4FAF9;
    --mk-body-bg: #FFFFFF;
    --mk-card-bg: #FFFFFF;
    --mk-card-bg-elevated: #FFFFFF;
    --mk-header-bg: rgba(255, 255, 255, 0.86);
    --mk-sticky-bg: rgba(255, 255, 255, 0.95);
    --mk-scrollbar: rgba(0, 0, 0, 0.2);

    /* Legacy aliases (templates/CSS compatibility) */
    --mk-primary: #00796F;
    --mk-primary-hover: #005E56;
    --mk-secondary: var(--mk-brand-dark);
    --mk-hero-bg: var(--mk-ink);
    --mk-page-hero-bg: var(--mk-brand-light);
    --mk-heading: var(--mk-text);
    --mk-footer-text: var(--mk-on-ink-muted);
    --mk-muted: var(--mk-text-muted);
    --mk-border: #DCEBE9;
    --mk-border-strong: #C2DDDA;
    --mk-badge: var(--mk-accent-warm);
    --mk-admin-teal: var(--mk-brand);
    --mk-primary-rgb: 0, 162, 151;
    --mk-secondary-rgb: 0, 122, 114;

    /* Typography scale (fluid) */
    --mk-fs-display: clamp(2.25rem, 4.5vw, 3.5rem);
    --mk-fs-h1: clamp(2rem, 4vw, 3rem);
    --mk-fs-h2: clamp(1.6rem, 2.8vw, 2.25rem);
    --mk-fs-h3: clamp(1.25rem, 1.8vw, 1.45rem);
    --mk-fs-h4: 1.125rem;
    --mk-fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);
    --mk-fs-body: 1rem;
    --mk-fs-sm: 0.875rem;
    --mk-fs-xs: 0.8rem;

    /* Spacing (8pt scale) */
    --mk-space-1: 0.5rem;
    --mk-space-2: 1rem;
    --mk-space-3: 1.5rem;
    --mk-space-4: 2rem;
    --mk-space-5: 3rem;
    --mk-space-6: 4rem;
    --mk-space-7: 6rem;
    --mk-section-y: clamp(56px, 9vw, 96px);

    /* Layout */
    --mk-radius-sm: 6px;
    --mk-radius: 10px;
    --mk-radius-lg: 14px;
    --mk-radius-xl: 20px;
    --mk-container: 1200px;
    --mk-gutter: 16px;
    --mk-header-height: 76px;

    /* Elevation — soft layered shadows */
    --mk-shadow-xs: 0 1px 2px rgba(13, 59, 56, 0.05);
    --mk-shadow-sm: 0 1px 2px rgba(13, 59, 56, 0.05), 0 4px 12px rgba(13, 59, 56, 0.06);
    --mk-shadow: 0 2px 4px rgba(13, 59, 56, 0.05), 0 10px 28px rgba(13, 59, 56, 0.09);
    --mk-shadow-lg: 0 4px 8px rgba(13, 59, 56, 0.06), 0 20px 48px rgba(13, 59, 56, 0.14);
    --mk-shadow-brand: 0 6px 20px rgba(0, 162, 151, 0.25);

    /* Focus ring */
    --mk-focus-ring: 0 0 0 3px rgba(0, 162, 151, 0.35);

    /* Motion */
    --mk-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mk-transition-fast: 0.18s ease;

    /* Fonts */
    --mk-font: 'body-font', 'Vazirmatn', Tahoma, sans-serif;

    /* Dot-grid pattern for dark sections (flat, no gradient) */
    --mk-ink-dots: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px);
    --mk-ink-dots-size: 26px 26px;

    /* Controlled brand gradients — same color family, subtle depth.
       Used only on dark hero/CTA/AI surfaces; body stays flat. */
    --mk-grad-ink: linear-gradient(155deg, #0D3B38 0%, #11514C 55%, #0A5F58 100%);
    --mk-grad-brand: linear-gradient(135deg, #00A297 0%, #007A72 100%);
    --mk-grad-glow: radial-gradient(ellipse at 20% 0%, rgba(0, 162, 151, 0.28) 0%, transparent 55%);

    /* Pricing and compare. Light values; dark overrides below. */
    --mk-offer-muted: #2f4c48;
    --mk-offer-solid: #0d3b38;
    --mk-offer-solid-text: #ffffff;
    --mk-offer-solid-hover: #007a72;
    --mk-offer-bar-1: #007a72;
    --mk-offer-bar-2: #0a5c56;
    --mk-offer-bar-3: #0d3b38;
    --mk-offer-bar-text: #ffffff;
    --mk-offer-line: #0d3b38;
    --mk-offer-head: var(--mk-surface);
    --mk-offer-head-premium: #e3f4f2;
}

/* ============================================
   Dark theme — standard Smart-Pi dark palette
   Applied via html[data-theme="dark"]
   ============================================ */
html[data-theme="dark"] {
    color-scheme: dark;

    /* Brand */
    --mk-brand: #00a882;
    --mk-brand-dark: #2dd4a8;
    --mk-brand-deep: #12332e;
    --mk-brand-light: rgba(0, 131, 104, 0.15);
    --mk-brand-muted: rgba(0, 168, 130, 0.35);

    /* Ink — dark sections stay slightly distinct from body */
    --mk-ink: #0d2a26;
    --mk-ink-soft: #11413b;
    --mk-ink-border: rgba(255, 255, 255, 0.08);
    --mk-on-ink: #f5f8f6;
    --mk-on-ink-muted: #9dbdb6;

    /* Text & surfaces */
    --mk-text: #e8ecea;
    --mk-text-muted: #84948e;
    --mk-surface: #0e1614;
    --mk-body-bg: #080f0d;
    --mk-card-bg: #121a18;
    --mk-card-bg-elevated: #1a2421;
    --mk-header-bg: rgba(18, 26, 24, 0.88);
    --mk-sticky-bg: rgba(18, 26, 24, 0.95);
    --mk-scrollbar: rgba(255, 255, 255, 0.25);

    /* Aliases & borders. Primary buttons stay the darkened green in both themes. */
    --mk-primary: #00796F;
    --mk-primary-hover: #005E56;
    --mk-page-hero-bg: #0c1a17;
    --mk-border: #1a2421;
    --mk-border-strong: #283530;
    --mk-primary-rgb: 0, 168, 130;
    --mk-secondary-rgb: 45, 212, 168;

    /* Elevation — deeper black shadows */
    --mk-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --mk-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    --mk-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
    --mk-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.45);
    --mk-shadow-brand: 0 6px 20px rgba(0, 168, 130, 0.3);

    /* Focus ring */
    --mk-focus-ring: 0 0 0 3px rgba(0, 168, 130, 0.45);

    /* Gradients tuned for dark */
    --mk-grad-ink: linear-gradient(155deg, #0d2a26 0%, #10352f 55%, #0d403a 100%);
    --mk-grad-brand: linear-gradient(135deg, #00a882 0%, #007a63 100%);
    --mk-grad-glow: radial-gradient(ellipse at 20% 0%, rgba(0, 168, 130, 0.22) 0%, transparent 55%);

    --mk-offer-muted: #c9ddd8;
    --mk-offer-solid: #b7f3ea;
    --mk-offer-solid-text: #062421;
    --mk-offer-solid-hover: #8fe0d6;
    --mk-offer-bar-1: #b7f3ea;
    --mk-offer-bar-2: #8fe0d6;
    --mk-offer-bar-3: #3fbfb2;
    --mk-offer-bar-text: #062421;
    --mk-offer-line: #9dbdb6;
    --mk-offer-head: var(--mk-surface);
    --mk-offer-head-premium: #0d201c;
}

/* --- layout.css --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.marketing-body {
    margin: 0;
    font-family: var(--mk-font);
    font-size: var(--mk-fs-body);
    line-height: 1.8;
    color: var(--mk-text);
    background: var(--mk-body-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mk-heading);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

h1 { font-size: var(--mk-fs-h1); }
h2 { font-size: var(--mk-fs-h2); margin-bottom: 1rem; }
h3 { font-size: var(--mk-fs-h3); }
h4 { font-size: var(--mk-fs-h4); }

p { margin-bottom: 1rem; }

a {
    color: var(--mk-brand);
    text-decoration: none;
    transition: color var(--mk-transition-fast);
}

a:hover {
    color: var(--mk-brand-dark);
}

:is(a, button):focus-visible {
    outline: none;
    box-shadow: var(--mk-focus-ring);
    border-radius: var(--mk-radius-sm);
}

::selection {
    background: var(--mk-brand);
    color: #fff;
}

.mk-container {
    max-width: var(--mk-container);
    margin: 0 auto;
    padding: 0 var(--mk-gutter);
}

/* Sections — light / surface / ink rhythm */
.mk-section {
    padding: var(--mk-section-y) 0;
}

.mk-section--surface {
    background: var(--mk-surface);
}

.mk-section--dark {
    position: relative;
    background: var(--mk-ink);
    color: var(--mk-on-ink-muted);
}

.mk-section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mk-ink-dots);
    background-size: var(--mk-ink-dots-size);
    pointer-events: none;
}

.mk-section--dark > * {
    position: relative;
}

.mk-section--dark h2,
.mk-section--dark h3,
.mk-section--dark h4 {
    color: var(--mk-on-ink);
}

/* Section headers */
.mk-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.mk-section-header .mk-subtitle,
.mk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
    font-weight: 700;
    font-size: var(--mk-fs-xs);
    letter-spacing: 0.06em;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.mk-section--dark .mk-subtitle,
.mk-section--dark .mk-eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: var(--mk-brand-muted);
}

.mk-section-header .mk-lead {
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-lead);
}

.mk-lead {
    font-size: var(--mk-fs-lead);
    color: var(--mk-text-muted);
}

.mk-narrow { max-width: 560px; }
.mk-text-center { text-align: center; }

.mk-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--mk-gutter) * -1);
}

.mk-col { padding: 0 var(--mk-gutter); }
.mk-col-12 { width: 100%; }
.mk-col-6 { width: 50%; }
.mk-col-4 { width: 33.333%; }
.mk-col-3 { width: 25%; }

main.site-main {
    min-height: 50vh;
}

/* Scroll reveal — supports stagger via [data-stagger] parents */
.mk-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--mk-reveal-delay, 0s);
}

.mk-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .mk-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- components.css --- */
/* ============================================================
   Smart-Pi marketing components
   Flat design system — solid colors only, no gradients.
   ============================================================ */

/* ---------- Header ---------- */
.mk-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--mk-header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow var(--mk-transition), border-color var(--mk-transition);
    border-bottom: 1px solid transparent;
}

.mk-header.is-scrolled {
    border-bottom-color: var(--mk-border);
    box-shadow: var(--mk-shadow-xs);
}

.mk-header.is-shrunk .mk-header-inner {
    min-height: 62px;
}

.mk-header.is-shrunk .mk-logo-img {
    max-height: 40px;
}

/* Header — 3 zones: brand (start/RTL right) | nav (center) | actions (end/RTL left) */
.mk-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: var(--mk-header-height);
    gap: 1.5rem;
}

.mk-header-brand {
    grid-column: 1;
    justify-self: start;
    flex-shrink: 0;
}

.mk-header-nav {
    grid-column: 2;
    justify-self: center;
}

.mk-header-actions {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mk-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--mk-heading);
    text-decoration: none;
    white-space: nowrap;
}

.mk-logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: max-height var(--mk-transition);
}

.mk-logo-text { color: var(--mk-heading); }
.mk-logo-text span { color: var(--mk-brand); }

.mk-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    position: relative;
}

.mk-nav-link-flat {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--mk-text);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    border-radius: var(--mk-radius-sm);
    white-space: nowrap;
    transition: color var(--mk-transition-fast), background var(--mk-transition-fast);
}

.mk-nav-link-flat:hover {
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-nav-link-flat.is-active,
.mk-nav-item.is-current > .mk-nav-link {
    color: var(--mk-brand-dark);
    font-weight: 700;
}

.mk-nav-link-flat.is-active::after {
    content: '';
    position: absolute;
    right: 0.85rem;
    left: 0.85rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: var(--mk-brand);
}

.mk-header-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--mk-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.45rem 0.65rem;
    border-radius: var(--mk-radius-sm);
    white-space: nowrap;
    transition: color var(--mk-transition-fast), background var(--mk-transition-fast);
}

.mk-header-portal i {
    font-size: 1.15rem;
    color: var(--mk-brand);
}

.mk-header-portal:hover {
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-nav-portal {
    color: var(--mk-brand-dark) !important;
    font-weight: 600 !important;
}

/* Mega menu */
.mk-nav-item { position: relative; }

.mk-nav-item > .mk-nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--mk-text);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    text-decoration: none;
    transition: color var(--mk-transition-fast), background var(--mk-transition-fast);
    background: none;
    border: none;
    border-radius: var(--mk-radius-sm);
    cursor: pointer;
    font-family: inherit;
}

.mk-nav-item > .mk-nav-link i {
    transition: transform var(--mk-transition-fast);
    font-size: 1.05rem;
}

.mk-nav-item:hover > .mk-nav-link,
.mk-nav-item.is-open > .mk-nav-link {
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-nav-item:hover > .mk-nav-link i {
    transform: rotate(180deg);
}

.mk-nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 320px;
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-lg);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--mk-transition), transform var(--mk-transition), visibility var(--mk-transition);
    border: 1px solid var(--mk-border);
}

.mk-nav-item:hover .mk-nav-dropdown,
.mk-nav-item.is-open .mk-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mk-nav-dropdown .mk-dropdown-label {
    display: block;
    padding: 0.45rem 0.9rem 0.3rem;
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    color: var(--mk-text-muted);
    letter-spacing: 0.05em;
}

/* Mega menu item: icon + title + one-line description */
.mk-mega-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.7rem 0.9rem;
    border-radius: var(--mk-radius);
    text-decoration: none;
    transition: background var(--mk-transition-fast);
}

.mk-mega-item:hover {
    background: var(--mk-brand-light);
}

.mk-mega-item i {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    border-radius: var(--mk-radius-sm);
    font-size: 1.25rem;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast);
}

.mk-mega-item:hover i {
    background: var(--mk-brand);
    color: #fff;
}

.mk-mega-item strong {
    display: block;
    color: var(--mk-text);
    font-size: 0.92rem;
    line-height: 1.4;
}

.mk-mega-item small {
    display: block;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-xs);
    line-height: 1.5;
}

/* Hamburger */
.mk-hamburger {
    display: none;
    grid-column: 3;
    justify-self: end;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mk-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--mk-heading);
    border-radius: 2px;
    transition: transform var(--mk-transition), opacity var(--mk-transition);
}

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

/* Mobile nav */
.mk-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--mk-header-height);
    background: var(--mk-card-bg);
    z-index: 999;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--mk-transition);
}

.mk-mobile-nav.is-open { transform: translateX(0); }

.mk-mobile-nav a {
    display: block;
    padding: 0.85rem 0;
    color: var(--mk-heading);
    font-weight: 500;
    border-bottom: 1px solid var(--mk-border);
    text-decoration: none;
}

.mk-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mk-border);
}

.mk-mobile-nav-actions .mk-header-portal {
    justify-content: center;
    padding: 0.75rem;
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
}

.mk-mobile-nav-actions .mk-btn {
    width: 100%;
    text-align: center;
}

.mk-mobile-accordion-btn {
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    padding: 0.85rem 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mk-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--mk-border);
}

.mk-mobile-submenu {
    display: none;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
}

.mk-mobile-submenu.is-open { display: block; }

.mk-mobile-submenu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--mk-text-muted);
    text-decoration: none;
    border-bottom: none;
}

.mk-mobile-nav .mk-btn {
    border-bottom: none;
    margin-top: 1rem;
}

/* ---------- Buttons ---------- */
.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--mk-radius);
    line-height: 1.2;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background-color: var(--mk-primary);
    transition: background-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast), transform var(--mk-transition-fast);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.mk-btn i {
    font-size: 1.2em;
    transition: transform var(--mk-transition-fast);
}

.mk-btn:hover,
.mk-btn:focus-visible {
    background-color: var(--mk-primary-hover);
    color: #fff;
    box-shadow: var(--mk-shadow-brand);
}

.mk-btn:hover i {
    transform: translateX(-4px);
}

.mk-btn:active { transform: translateY(1px); }

.btn-size-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-size-md { padding: 13px 30px; }
.btn-size-lg { padding: 16px 38px; font-size: 1.06rem; }

/* Outline — on light surfaces */
.mk-btn-outline {
    background: transparent;
    border-color: var(--mk-border-strong);
    color: var(--mk-text);
}

.mk-btn-outline:hover,
.mk-btn-outline:focus-visible {
    background: var(--mk-brand-light);
    border-color: var(--mk-brand);
    color: var(--mk-brand-dark);
    box-shadow: none;
}

/* Outline — on dark (ink) surfaces */
.mk-btn-outline-ink {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.mk-btn-outline-ink:hover,
.mk-btn-outline-ink:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
    box-shadow: none;
}

/* Ghost link-button */
.mk-btn-ghost {
    background: transparent;
    color: var(--mk-brand-dark);
    border-color: transparent;
}

.mk-btn-ghost:hover,
.mk-btn-ghost:focus-visible {
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    box-shadow: none;
}

/* White (on ink CTA) — stays white in both themes */
.mk-btn-white {
    background: #fff;
    color: #0D3B38;
}

.mk-btn-white:hover,
.mk-btn-white:focus-visible {
    background: #E6F7F5;
    color: #0D3B38;
    box-shadow: none;
}

/* Risk-reducing microcopy under CTAs */
.mk-cta-note {
    display: block;
    margin-top: 0.85rem;
    font-size: var(--mk-fs-xs);
    color: var(--mk-on-ink-muted);
}

/* ---------- Hero (home) ---------- */
.mk-hero-home {
    position: relative;
    background: var(--mk-ink);
    color: #fff;
    padding: 110px 0 140px;
    overflow: hidden;
    margin-top: calc(var(--mk-header-height) * -1);
    padding-top: calc(110px + var(--mk-header-height));
}

.mk-hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mk-ink-dots);
    background-size: var(--mk-ink-dots-size);
    pointer-events: none;
}

.mk-hero-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mk-hero-content { max-width: 640px; }

.mk-hero-home h1 {
    color: #fff;
    font-size: var(--mk-fs-display);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

/* Brand-highlighted keyword inside H1 */
.mk-highlight {
    position: relative;
    color: var(--mk-brand-muted);
    white-space: nowrap;
}

.mk-highlight::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0.05em;
    height: 0.22em;
    background: var(--mk-brand);
    opacity: 0.35;
    border-radius: 3px;
    z-index: -1;
}

.mk-hero-home .mk-hero-lead {
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-lead);
    margin-bottom: 2rem;
    max-width: 540px;
}

.mk-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--mk-ink-border);
    color: var(--mk-brand-muted);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: var(--mk-fs-sm);
    margin-bottom: 1.5rem;
    min-height: 2.2rem;
}

.mk-hero-tagline::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mk-brand);
    flex-shrink: 0;
}

.mk-hero-tagline span {
    transition: opacity 0.4s ease;
}

.mk-hero-tagline span.is-fading { opacity: 0; }

.mk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mini trust row under hero CTAs */
.mk-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mk-ink-border);
}

.mk-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-xs);
}

.mk-hero-trust i {
    color: var(--mk-brand);
    font-size: 1.05rem;
}

/* Hero visual + floating KPI cards */
.mk-hero-visual { position: relative; }

.mk-hero-mockup-wrap {
    position: relative;
    padding: 0.5rem;
}

.mk-hero-mockup-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Transparent hero illustration — no card frame, slightly larger */
.mk-hero-mockup-wrap--bare {
    padding: 0;
}

.mk-hero-mockup-wrap--bare img {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.mk-hero-split--visual-emphasis {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
}

.mk-hero-split--visual-emphasis .mk-hero-mockup-wrap--bare img {
    width: 118%;
    max-width: none;
    margin-inline-start: -9%;
}

.mk-hero-kpi {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--mk-card-bg);
    color: var(--mk-text);
    border-radius: var(--mk-radius);
    padding: 0.65rem 1rem;
    box-shadow: var(--mk-shadow-lg);
    font-size: var(--mk-fs-xs);
    animation: mk-float 5s ease-in-out infinite;
}

.mk-hero-kpi i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius-sm);
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.mk-hero-kpi strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.mk-hero-kpi--top { top: 6%; left: -4%; animation-delay: 0s; }
.mk-hero-kpi--bottom { bottom: 10%; right: -4%; animation-delay: 2.5s; }

.mk-hero-badge-float {
    position: absolute;
    bottom: 8%;
    left: -3%;
    background: var(--mk-accent-warm);
    color: var(--mk-brand-deep);
    font-weight: 700;
    font-size: var(--mk-fs-sm);
    padding: 0.5rem 1rem;
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow);
    animation: mk-float 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes mk-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-header {
    position: relative;
    background: var(--mk-brand-light);
    display: flex;
    align-items: center;
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--mk-border);
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--mk-brand);
}

.page-header_title {
    font-size: var(--mk-fs-h1);
    margin: 0.5rem 0 0.75rem;
}

.page-header .mk-lead {
    max-width: 720px;
    margin-bottom: 0;
}

.breadcrumbs {
    font-size: var(--mk-fs-xs);
    color: var(--mk-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.breadcrumbs a { color: var(--mk-brand-dark); }
.breadcrumbs span { margin: 0 0.4rem; }

/* ---------- Card system ---------- */
.mk-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-xs);
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

/* Stats band */
.mk-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -64px;
    position: relative;
    z-index: 2;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow);
    overflow: hidden;
}

.mk-stat-card {
    padding: 2rem 1.25rem;
    text-align: center;
    border-left: 1px solid var(--mk-border);
}

.mk-stat-card:last-child { border-left: none; }

.mk-stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--mk-brand-dark);
    line-height: 1.2;
}

.mk-stat-prefix {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--mk-text);
}

.mk-stat-value--text {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.35;
}

.mk-stat-label {
    color: var(--mk-muted);
    font-size: var(--mk-fs-sm);
    margin-top: 0.4rem;
}

/* Module card */
.mk-module-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--mk-shadow-xs);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.mk-module-card > i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius);
    background: var(--mk-brand-light);
    font-size: 1.6rem;
    color: var(--mk-brand-dark);
    margin-bottom: 1.1rem;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast);
}

.mk-module-card:hover > i {
    background: var(--mk-brand);
    color: #fff;
}

.mk-module-card h3 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}

.mk-module-card p {
    color: var(--mk-muted);
    font-size: var(--mk-fs-sm);
    flex: 1;
}

.mk-module-badge {
    display: inline-block;
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.mk-module-link {
    margin-top: 1rem;
    font-weight: 700;
    font-size: var(--mk-fs-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mk-module-link::after {
    content: '←';
    transition: transform var(--mk-transition-fast);
}

.mk-module-card:hover .mk-module-link::after {
    transform: translateX(-4px);
}

/* Module group accents — flat top border */
.mk-module-card--group-vitrin { border-top: 3px solid var(--mk-brand); }
.mk-module-card--group-ops { border-top: 3px solid var(--mk-brand-dark); }
.mk-module-card--group-finance { border-top: 3px solid var(--mk-accent-warm); }
.mk-module-card--group-growth { border-top: 3px solid #6366F1; }
.mk-module-card--group-comms { border-top: 3px solid var(--mk-accent-coral); }
.mk-module-card--group-infra { border-top: 3px solid var(--mk-text-muted); }

/* Value prop card — flat accent line on top */
.mk-value-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    box-shadow: var(--mk-shadow-xs);
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
    overflow: hidden;
}

.mk-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--mk-brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--mk-transition);
}

.mk-value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.mk-value-card:hover::before { transform: scaleX(1); }

.mk-value-card .media-wrapper i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius);
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    font-size: 1.7rem !important;
}

.mk-value-card .mk-subtitle {
    color: var(--mk-brand-dark);
    font-weight: 700;
    font-size: var(--mk-fs-xs);
    letter-spacing: 0.05em;
}

/* Persona card */
.mk-persona-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--mk-shadow-xs);
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-persona-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.mk-persona-card .persona-icon {
    width: 52px;
    height: 52px;
    background: var(--mk-brand-light);
    border-radius: var(--mk-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mk-persona-card .persona-icon i {
    font-size: 1.6rem;
    color: var(--mk-brand-dark);
}

.mk-persona-pain {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    color: var(--mk-accent-coral);
    font-size: var(--mk-fs-xs);
    margin-bottom: 0.5rem;
}

/* Role / tech cards */
.mk-role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mk-role-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--mk-shadow-xs);
    text-align: center;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-role-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow);
}

.mk-role-card code {
    display: inline-block;
    font-size: var(--mk-fs-xs);
    color: var(--mk-brand-dark);
    margin-bottom: 0.5rem;
    background: var(--mk-brand-light);
    padding: 0.2rem 0.55rem;
    border-radius: var(--mk-radius-sm);
}

.mk-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.mk-tech-card {
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--mk-shadow-xs);
    border: 1px solid var(--mk-border);
    transition: border-color var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-tech-card:hover {
    border-color: var(--mk-brand-muted);
    box-shadow: var(--mk-shadow-sm);
}

.mk-tech-card strong {
    display: block;
    color: var(--mk-brand-dark);
    margin-bottom: 0.5rem;
}

/* Testimonial card */
.mk-testimonial-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--mk-shadow-xs);
    position: relative;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow);
}

.mk-testimonial-metric {
    display: inline-block;
    background: var(--mk-brand-deep);
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--mk-radius);
    margin-bottom: 1rem;
}

/* ---------- Trust marquee ---------- */
.mk-trust-marquee {
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent);
}

.mk-trust-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: mk-marquee 28s linear infinite;
}

.mk-trust-marquee:hover .mk-trust-track {
    animation-play-state: paused;
}

@keyframes mk-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.mk-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.mk-trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 52px;
    padding: 0.5rem 1.5rem;
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-border);
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    white-space: nowrap;
    transition: border-color var(--mk-transition-fast), color var(--mk-transition-fast);
}

.mk-trust-logo:hover {
    border-color: var(--mk-brand-muted);
    color: var(--mk-text);
}

.mk-trust-logo--image {
    min-width: 180px;
    height: 96px;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
}

.mk-trust-logo--image img {
    display: block;
    max-height: 80px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------- Problem / solution (before & after) ---------- */
.mk-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.mk-problem-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-shadow-xs);
    transition: box-shadow var(--mk-transition), transform var(--mk-transition), border-color var(--mk-transition);
}

.mk-problem-card:hover {
    box-shadow: var(--mk-shadow);
    transform: translateY(-3px);
    border-color: var(--mk-brand-muted);
}

.mk-problem-bad {
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

.mk-problem-bad i,
.mk-problem-good i {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.mk-problem-bad i { color: var(--mk-accent-coral); }

.mk-problem-good {
    color: var(--mk-brand-deep);
    font-weight: 600;
    font-size: var(--mk-fs-sm);
}

.mk-problem-good i { color: var(--mk-brand); }

.mk-problem-arrow {
    color: var(--mk-brand);
    font-size: 1.5rem;
}

/* ---------- Integration flow stepper ---------- */
.mk-flow-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.mk-flow-step {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    position: relative;
    padding: 0 0.75rem;
}

.mk-flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--mk-border-strong);
    z-index: 0;
}

/* Animated progress line revealed on scroll */
.mk-flow-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 26px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--mk-brand);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.mk-flow-stepper.is-visible .mk-flow-step:not(:last-child)::before {
    transform: scaleX(1);
}

.mk-flow-stepper.is-visible .mk-flow-step:nth-child(1)::before { transition-delay: 0.1s; }
.mk-flow-stepper.is-visible .mk-flow-step:nth-child(2)::before { transition-delay: 0.55s; }
.mk-flow-stepper.is-visible .mk-flow-step:nth-child(3)::before { transition-delay: 1s; }
.mk-flow-stepper.is-visible .mk-flow-step:nth-child(4)::before { transition-delay: 1.45s; }
.mk-flow-stepper.is-visible .mk-flow-step:nth-child(5)::before { transition-delay: 1.9s; }

.mk-flow-step-icon {
    width: 52px;
    height: 52px;
    background: var(--mk-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    font-weight: 800;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--mk-brand-light);
}

.mk-section--surface .mk-flow-step-icon {
    box-shadow: 0 0 0 6px #fff;
}

/* ---------- Screenshot tabs (product showcase) ---------- */
.mk-showcase {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-xl);
    box-shadow: var(--mk-shadow);
    overflow: hidden;
}

.mk-showcase-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--mk-border);
    background: var(--mk-surface);
}

.mk-showcase-tab {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.1rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mk-text-muted);
    cursor: pointer;
    transition: color var(--mk-transition-fast), border-color var(--mk-transition-fast), background var(--mk-transition-fast);
}

.mk-showcase-tab i { font-size: 1.4rem; }

.mk-showcase-tab:hover {
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-showcase-tab.is-active {
    color: var(--mk-brand-dark);
    border-bottom-color: var(--mk-brand);
    background: var(--mk-card-bg);
}

.mk-showcase-panel {
    display: none;
    padding: 2.5rem;
}

.mk-showcase-panel.is-active {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    animation: mk-fade-in 0.4s ease;
}

@keyframes mk-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mk-showcase-panel img {
    width: 100%;
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-shadow-sm);
}

.mk-showcase-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
}

.mk-showcase-points li {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    padding: 0.45rem 0;
    color: var(--mk-text);
}

.mk-showcase-points li i {
    color: var(--mk-brand);
    flex-shrink: 0;
    position: relative;
    top: 2px;
}

/* ---------- Pricing ---------- */
.mk-pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.mk-pricing-plans-grid--two {
    grid-template-columns: repeat(2, minmax(0, 28rem));
    justify-content: center;
}

.mk-pricing-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-xs);
    padding: 2.25rem 2rem;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow);
}

.mk-pricing-card.is-featured {
    border: 2px solid var(--mk-brand);
    box-shadow: var(--mk-shadow-lg);
}

.mk-pricing-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: var(--mk-brand);
    color: #fff;
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.mk-pricing-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.mk-pricing-audience {
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-xs);
    min-height: 2.5em;
}

.mk-pricing-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--mk-brand-deep);
    margin: 1rem 0 0.15rem;
    line-height: 1.2;
}

.mk-pricing-period {
    font-size: var(--mk-fs-xs);
    color: var(--mk-text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.mk-pricing-divider {
    width: 100%;
    height: 1px;
    background: var(--mk-border);
    margin: 1rem 0 1.25rem;
}

.mk-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: right;
    flex: 1;
}

.mk-pricing-card--wide {
    margin-top: 1.5rem;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
}

.mk-pricing-card-wide-content {
    flex: 1;
    min-width: 0;
}

.mk-pricing-card-wide-info {
    margin-bottom: 1rem;
}

.mk-pricing-card-wide-info .mk-pricing-audience {
    min-height: 0;
}

.mk-pricing-features--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0;
    flex: none;
}

.mk-pricing-features--inline li {
    margin: 0;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    white-space: nowrap;
}

.mk-pricing-features--inline li::before {
    content: '•';
    color: var(--mk-brand);
    margin-left: 0.35rem;
}

.mk-pricing-card-wide-action {
    flex-shrink: 0;
    text-align: center;
    min-width: 200px;
}

.mk-pricing-card-wide-action .mk-pricing-price {
    margin-top: 0;
}

.mk-pricing-card-wide-action .mk-btn {
    width: 100%;
    margin-top: 1rem;
}

.mk-pricing-features li {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    padding: 0.4rem 0;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

.mk-pricing-features li::before {
    content: '✓';
    color: var(--mk-brand);
    font-weight: 800;
    flex-shrink: 0;
}

/* Launch offer banner */
.mk-launch-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    background: var(--mk-brand-deep);
    color: #fff;
    border-radius: var(--mk-radius-lg);
    padding: 1.25rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.mk-launch-banner i {
    font-size: 1.6rem;
    color: var(--mk-accent-warm);
}

.mk-launch-banner strong { color: var(--mk-accent-warm); }

/* Addon cards */
.mk-addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.mk-addon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    padding: 1rem 1.25rem;
    transition: border-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast);
}

.mk-addon-card:hover {
    border-color: var(--mk-brand-muted);
    box-shadow: var(--mk-shadow-sm);
}

.mk-addon-card strong { font-size: var(--mk-fs-sm); }

.mk-addon-price {
    color: var(--mk-brand-dark);
    font-weight: 700;
    font-size: var(--mk-fs-sm);
    white-space: nowrap;
}

/* Invoice receipt */
.mk-invoice-receipt {
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    box-shadow: var(--mk-shadow);
    border: 1px solid var(--mk-border);
    border-top: 4px solid var(--mk-brand);
    max-width: 480px;
    margin: 0 auto;
}

.mk-invoice-receipt-header {
    text-align: center;
    border-bottom: 1px dashed var(--mk-border-strong);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.mk-invoice-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0.5rem;
    font-weight: 800;
    color: var(--mk-brand-deep);
    font-size: 1.1rem;
}

/* ---------- Forms ---------- */
.mk-form-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-sm);
    padding: 2.25rem;
}

.mk-form label {
    display: block;
    font-weight: 600;
    font-size: var(--mk-fs-sm);
    margin-bottom: 0.35rem;
    color: var(--mk-heading);
}

.mk-form input,
.mk-form textarea,
.mk-form select {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    font-size: 1rem;
    color: var(--mk-text);
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast), background var(--mk-transition-fast);
}

.mk-form textarea {
    height: auto;
    min-height: 140px;
    padding: 14px 18px;
    resize: vertical;
}

.mk-form input:focus,
.mk-form textarea:focus,
.mk-form select:focus {
    outline: none;
    background: var(--mk-card-bg);
    border-color: var(--mk-brand);
    box-shadow: var(--mk-focus-ring);
}

.mk-form .form-error {
    color: #C0392B;
    font-size: var(--mk-fs-xs);
    margin-top: -0.75rem;
    margin-bottom: 0.75rem;
}

.mk-form input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-left: 0.5rem;
    accent-color: var(--mk-brand);
}

.mk-form ul {
    list-style: none;
    padding: 0;
}

.mk-form ul li { margin-bottom: 0.5rem; }

.mk-form-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mk-brand-deep);
    margin: 1.75rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--mk-brand-light);
}

.mk-form-section-title:first-child { margin-top: 0; }

.mk-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--mk-radius);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.mk-alert-success {
    background: var(--mk-brand-light);
    border-color: var(--mk-brand-muted);
    color: var(--mk-brand-deep);
}

.mk-alert-error {
    background: #FDEDEA;
    border-color: #F5C6BC;
    color: #8A2A1B;
}

/* "What happens next" steps (contact page) */
.mk-next-steps {
    counter-reset: nextstep;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-next-steps li {
    counter-increment: nextstep;
    position: relative;
    padding: 0 3rem 1.5rem 0;
}

.mk-next-steps li::before {
    content: counter(nextstep);
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--mk-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--mk-fs-sm);
}

.mk-next-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 36px;
    bottom: 4px;
    width: 2px;
    background: var(--mk-border-strong);
}

.mk-next-steps strong { display: block; }

.mk-next-steps p {
    margin: 0.15rem 0 0;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

/* ---------- FAQ accordion ---------- */
.mk-faq-item {
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    margin-bottom: 0.75rem;
    background: var(--mk-card-bg);
    transition: border-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast);
}

.mk-faq-item.is-open {
    border-color: var(--mk-brand-muted);
    box-shadow: var(--mk-shadow-xs);
}

.mk-faq-question {
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mk-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mk-faq-question i {
    transition: transform var(--mk-transition);
    color: var(--mk-brand);
    flex-shrink: 0;
}

.mk-faq-item.is-open .mk-faq-question i { transform: rotate(180deg); }

.mk-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--mk-transition);
}

.mk-faq-item.is-open .mk-faq-answer { grid-template-rows: 1fr; }

.mk-faq-answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.25rem;
    color: var(--mk-text);
}

.mk-faq-item.is-open .mk-faq-answer-inner { padding-bottom: 1.25rem; }

/* FAQ search */
.mk-faq-search-wrap {
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
}

.mk-faq-search {
    width: 100%;
    height: 54px;
    padding: 0 1.4rem 0 3rem;
    border: 1px solid var(--mk-border-strong);
    background: var(--mk-card-bg);
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast);
}

.mk-faq-search:focus {
    outline: none;
    border-color: var(--mk-brand);
    box-shadow: var(--mk-focus-ring);
}

.mk-faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mk-text-muted);
    font-size: 1.25rem;
    pointer-events: none;
}

.mk-faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
    position: sticky;
    top: var(--mk-header-height);
    z-index: 30;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border-strong);
    box-shadow: var(--mk-shadow-sm);
    padding: 0.75rem;
    border-radius: var(--mk-radius-lg);
}

.faq-category-title,
.mk-faq-item {
    scroll-margin-top: calc(var(--mk-header-height) + 5.75rem);
}

.mk-faq-nav a {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    font-size: var(--mk-fs-xs);
    font-weight: 600;
    color: var(--mk-text-muted);
    text-decoration: none;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast), border-color var(--mk-transition-fast);
}

.mk-faq-nav a:hover {
    background: var(--mk-brand-light);
    border-color: var(--mk-brand-muted);
    color: var(--mk-brand-dark);
}

.mk-faq-nav a.is-active {
    background: #0d3b38;
    border-color: #0d3b38;
    color: #fff;
}

.mk-faq-empty {
    display: none;
    text-align: center;
    color: var(--mk-text-muted);
    padding: 2rem 0;
}

/* ---------- CTA strip ---------- */
.mk-cta-strip {
    position: relative;
    background: var(--mk-ink);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    border-top: 3px solid var(--mk-brand);
    overflow: hidden;
}

.mk-cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mk-ink-dots);
    background-size: var(--mk-ink-dots-size);
    pointer-events: none;
}

.mk-cta-strip > * { position: relative; }

.mk-cta-strip h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.mk-cta-strip p {
    color: var(--mk-on-ink-muted);
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.mk-cta-strip .mk-hero-actions {
    justify-content: center;
}

/* ---------- Footer ---------- */
.mk-footer {
    background: var(--mk-ink);
    color: var(--mk-on-ink-muted);
}

.mk-footer-cta {
    border-bottom: 1px solid var(--mk-ink-border);
    padding: 2.25rem 0;
}

.mk-footer-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.mk-footer-cta-inner h3 {
    color: #fff;
    margin: 0;
}

.mk-footer-cta-inner p {
    margin: 0.25rem 0 0;
    font-size: var(--mk-fs-sm);
}

.mk-footer-top { padding: 56px 0 40px; }

.mk-footer-widget h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.mk-footer-widget p {
    font-size: var(--mk-fs-sm);
    line-height: 1.9;
}

.mk-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-footer-links li { margin-bottom: 0.6rem; }

.mk-footer-links a {
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-sm);
    transition: color var(--mk-transition-fast);
}

.mk-footer-links a:hover { color: #fff; }

.mk-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--mk-fs-sm);
}

.mk-footer-contact i { color: var(--mk-brand); }

.mk-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mk-footer-brand img {
    max-height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.mk-footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.mk-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--mk-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--mk-ink-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-on-ink-muted);
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast);
}

.mk-footer-social a:hover {
    background: var(--mk-brand);
    color: #fff;
}

.mk-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--mk-ink-border);
    font-size: var(--mk-fs-xs);
}

.mk-footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.mk-footer-trust i { color: var(--mk-brand); }

.mk-footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0 0;
}

.mk-enamad-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 120px;
    text-decoration: none;
}

.mk-enamad-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.mk-enamad-badge img {
    display: block;
    max-width: 120px;
    height: auto;
}

.mk-enamad-badge.is-failed {
    display: none;
}

.mk-copyright {
    border-top: 1px solid var(--mk-ink-border);
    padding: 1.25rem 0;
    text-align: center;
    font-size: var(--mk-fs-xs);
}

/* Scroll up */
#scroll_up {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--mk-brand);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--mk-transition), visibility var(--mk-transition), background var(--mk-transition);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--mk-shadow);
}

#scroll_up.is-visible {
    opacity: 1;
    visibility: visible;
}

#scroll_up:hover { background: var(--mk-brand-dark); }

/* Sticky mobile CTA */
.mk-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 950;
    background: var(--mk-card-bg);
    box-shadow: 0 -8px 24px rgba(13, 59, 56, 0.08);
    border-top: 1px solid var(--mk-border);
    padding: 0.65rem var(--mk-gutter);
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    transition: transform var(--mk-transition);
}

.mk-sticky-cta.is-visible { transform: translateY(0); }

.mk-sticky-cta .mk-btn { width: 100%; }

/* ---------- Tables ---------- */
.mk-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-shadow-xs);
    border: 1px solid var(--mk-border);
}

.mk-compare-table th,
.mk-compare-table td {
    padding: 1rem 1.25rem;
    text-align: right;
    border-bottom: 1px solid var(--mk-border);
}

.mk-compare-table tr:last-child td { border-bottom: none; }

.mk-compare-table th {
    background: var(--mk-surface);
    font-weight: 700;
}

.mk-compare-table tbody tr {
    transition: background var(--mk-transition-fast);
}

.mk-compare-table tbody tr:hover { background: var(--mk-surface); }

.mk-compare-table .yes { color: var(--mk-brand-dark); font-weight: 700; }
.mk-compare-table .no { color: var(--mk-border-strong); }

/* Compare matrix */
.mk-compare-matrix-wrap {
    overflow-x: auto;
    border-radius: var(--mk-radius-lg);
    box-shadow: var(--mk-shadow-xs);
    border: 1px solid var(--mk-border);
}

.mk-compare-matrix {
    width: 100%;
    border-collapse: collapse;
    background: var(--mk-card-bg);
    min-width: 0;
}

.mk-compare-matrix--two {
    min-width: 0;
}

.mk-compare-matrix th,
.mk-compare-matrix td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--mk-border);
}

.mk-compare-matrix tr:last-child td { border-bottom: none; }

.mk-compare-matrix th:first-child,
.mk-compare-matrix td:first-child {
    text-align: right;
    font-weight: 600;
    position: sticky;
    right: 0;
    background: var(--mk-card-bg);
    z-index: 1;
    border-left: 1px solid var(--mk-border);
}

.mk-compare-matrix thead th {
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
    z-index: 2;
}

.mk-compare-matrix thead th:first-child {
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
}

.mk-compare-matrix tbody tr:hover td { background: var(--mk-surface); }
.mk-compare-matrix tbody tr:hover td:first-child { background: var(--mk-surface); }

.mk-compare-matrix .cell-yes {
    color: var(--mk-brand);
    font-weight: 800;
    font-size: 1.1rem;
}

.mk-compare-matrix .cell-no {
    color: var(--mk-text);
    font-weight: 800;
    font-size: 1.25rem;
}

.mk-compare-matrix .cell-text {
    font-size: var(--mk-fs-sm);
    font-weight: 700;
    color: var(--mk-text);
}

.mk-compare-matrix .col-featured { background: var(--mk-brand-light); }
.mk-compare-matrix thead th.col-featured {
    background: var(--mk-offer-solid-hover);
    color: var(--mk-offer-solid-text);
}

/* ---------- Solution tabs ---------- */
.mk-solution-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.mk-solution-tab-btn {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--mk-border-strong);
    background: var(--mk-card-bg);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--mk-text);
    cursor: pointer;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast), border-color var(--mk-transition-fast);
}

.mk-solution-tab-btn:hover {
    border-color: var(--mk-brand);
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-solution-tab-btn.is-active {
    border-color: var(--mk-brand);
    background: var(--mk-brand);
    color: #fff;
}

.mk-solution-panel { display: none; }

.mk-solution-panel.is-active {
    display: block;
    animation: mk-fade-in 0.4s ease;
}

.mk-solution-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--mk-shadow-sm);
}

.mk-solution-result {
    background: var(--mk-brand-light);
    border-radius: var(--mk-radius);
    padding: 0.85rem 1.1rem;
    color: var(--mk-brand-deep);
    font-size: var(--mk-fs-sm);
    margin-bottom: 1.25rem;
}

/* ---------- Filter chips / module layout ---------- */
.mk-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.mk-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--mk-border-strong);
    background: var(--mk-card-bg);
    font-size: var(--mk-fs-sm);
    font-weight: 600;
    color: var(--mk-text-muted);
    cursor: pointer;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast), border-color var(--mk-transition-fast);
    font-family: inherit;
}

.mk-filter-chip .mk-chip-count {
    font-size: 0.72rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    color: var(--mk-text-muted);
    border-radius: 999px;
    padding: 0 0.45rem;
    line-height: 1.5;
}

.mk-filter-chip:hover {
    border-color: var(--mk-brand);
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
}

.mk-filter-chip.is-active {
    background: var(--mk-brand);
    border-color: var(--mk-brand);
    color: #fff;
}

.mk-filter-chip.is-active .mk-chip-count {
    background: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    color: #fff;
}

.mk-module-group-section {
    scroll-margin-top: calc(var(--mk-header-height) + 1rem);
}

.mk-modules-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

.mk-modules-sidebar {
    position: sticky;
    top: calc(var(--mk-header-height) + 1rem);
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--mk-shadow-xs);
    border: 1px solid var(--mk-border);
}

.mk-modules-sidebar a {
    display: block;
    padding: 0.5rem 0;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--mk-border);
}

.mk-modules-sidebar a:last-child { border-bottom: none; }

.mk-modules-sidebar a:hover,
.mk-modules-sidebar a.is-active {
    color: var(--mk-brand-dark);
}

/* Module accordion */
.mk-module-accordion-item {
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--mk-card-bg);
}

.mk-module-accordion-btn {
    width: 100%;
    text-align: right;
    background: var(--mk-surface);
    border: none;
    padding: 1rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mk-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mk-module-accordion-btn i {
    color: var(--mk-brand);
    transition: transform var(--mk-transition);
}

.mk-module-accordion-item.is-open .mk-module-accordion-btn i {
    transform: rotate(180deg);
}

.mk-module-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--mk-transition);
}

.mk-module-accordion-item.is-open .mk-module-accordion-body { max-height: 800px; }

.mk-module-accordion-body-inner { padding: 0 1.25rem 1rem; }

/* ---------- Feature grid ---------- */
.mk-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mk-feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    transition: border-color var(--mk-transition-fast);
}

.mk-feature-item:hover { border-color: var(--mk-brand-muted); }

.mk-feature-item i {
    color: var(--mk-brand);
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    top: 3px;
}

/* ---------- Screenshot gallery + lightbox ---------- */
.mk-screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.mk-screenshot-item {
    background: var(--mk-card-bg);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    border: 1px solid var(--mk-border);
    cursor: zoom-in;
    transition: box-shadow var(--mk-transition-fast), border-color var(--mk-transition-fast);
}

.mk-screenshot-item:hover {
    box-shadow: var(--mk-shadow-sm);
    border-color: var(--mk-brand-muted);
}

.mk-screenshot-frame {
    aspect-ratio: 16/10;
    background: var(--mk-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.mk-screenshot-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mk-screenshot-caption {
    padding: 0.75rem 1rem;
    font-size: var(--mk-fs-xs);
    color: var(--mk-text-muted);
    border-top: 1px solid var(--mk-border);
}

.mk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(13, 59, 56, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.mk-lightbox.is-open { display: flex; }

.mk-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    border-radius: var(--mk-radius-lg);
    background: var(--mk-card-bg);
    padding: 0.5rem;
}

.mk-lightbox-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Misc ---------- */
.mk-business-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.mk-business-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--mk-card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-shadow-xs);
    font-weight: 600;
    font-size: var(--mk-fs-sm);
    transition: border-color var(--mk-transition-fast), transform var(--mk-transition-fast);
}

.mk-business-chip:hover {
    border-color: var(--mk-brand-muted);
    transform: translateY(-2px);
}

.mk-business-chip i {
    color: var(--mk-brand);
    font-size: 1.3rem;
}

.mk-tag {
    display: inline-block;
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    font-size: var(--mk-fs-xs);
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin: 0.15rem;
}

.mk-solution-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    box-shadow: var(--mk-shadow-xs);
    height: 100%;
}

/* Timeline */
.mk-timeline {
    border-right: 2px solid var(--mk-brand-muted);
    padding-right: 2rem;
    max-width: 640px;
}

.mk-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-right: 0.5rem;
}

.mk-timeline-item::before {
    content: '';
    position: absolute;
    right: -2.55rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    background: var(--mk-brand);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--mk-brand-muted);
    border-radius: 50%;
}

.mk-timeline-item strong { color: var(--mk-brand-dark); }

.mk-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--mk-brand-light);
    border: 2px solid var(--mk-brand-muted);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-brand-dark);
    font-size: 1.75rem;
}

/* Architecture */
.mk-arch-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
}

.mk-arch-box {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    box-shadow: var(--mk-shadow-xs);
    text-align: right;
}

.mk-arch-box.is-control {
    background: var(--mk-ink);
    border-color: var(--mk-ink);
    color: var(--mk-on-ink-muted);
}

.mk-arch-box.is-control h4 { color: #fff; }

.mk-arch-box h4 {
    color: var(--mk-brand-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mk-arch-box ul {
    padding-right: 1.1rem;
    margin: 0;
}

.mk-arch-box li { margin-bottom: 0.4rem; }

.mk-arch-arrow {
    font-size: 2rem;
    color: var(--mk-brand);
    align-self: center;
}

.mk-arch-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 640px;
    margin: 0 auto;
}

.mk-arch-layer {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.4rem 2rem;
    box-shadow: var(--mk-shadow-xs);
    border-right: 4px solid var(--mk-brand);
    transition: transform var(--mk-transition-fast), box-shadow var(--mk-transition-fast);
}

.mk-arch-layer:hover {
    transform: translateX(-4px);
    box-shadow: var(--mk-shadow-sm);
}

.mk-arch-layer h4 {
    color: var(--mk-brand-dark);
    margin-bottom: 0.35rem;
}

/* Architecture flow — 4 cards side by side */
.mk-arch-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding-top: 2.5rem;
}

.mk-arch-flow-track {
    position: absolute;
    top: 1.15rem;
    right: 12%;
    left: 12%;
    height: 2px;
    background: var(--mk-border-strong);
    z-index: 0;
}

.mk-arch-flow-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2.75rem 1.25rem 1.5rem;
    box-shadow: var(--mk-shadow-xs);
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-arch-flow-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.mk-arch-flow-step {
    position: absolute;
    top: -1.15rem;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-brand);
    color: #fff;
    font-weight: 800;
    font-size: var(--mk-fs-sm);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--mk-body-bg);
}

.mk-arch-flow-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    border-radius: var(--mk-radius);
    margin-bottom: 1rem;
    transition: background var(--mk-transition-fast), color var(--mk-transition-fast);
}

.mk-arch-flow-icon i {
    font-size: 1.6rem;
}

.mk-arch-flow-card:hover .mk-arch-flow-icon {
    background: var(--mk-brand);
    color: #fff;
}

.mk-arch-flow-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--mk-brand-deep);
    line-height: 1.45;
}

.mk-arch-flow-card p {
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
    flex: 1;
}

.mk-arch-flow-hint {
    display: inline-block;
    font-size: var(--mk-fs-xs);
    font-weight: 600;
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* Platform diagram */
.mk-platform-diagram {
    max-width: 720px;
    margin: 0 auto 2rem;
}

.mk-platform-diagram img {
    width: 100%;
    height: auto;
}

/* Contact info */
.mk-contact-trust {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mk-border);
}

.mk-contact-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
}

.mk-contact-trust-item i {
    color: var(--mk-brand);
    font-size: 1.25rem;
}

/* Legal prose + TOC */
.mk-legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

.mk-legal-toc {
    position: sticky;
    top: calc(var(--mk-header-height) + 1rem);
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.25rem;
}

.mk-legal-toc strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: var(--mk-fs-sm);
}

.mk-legal-toc a {
    display: block;
    padding: 0.4rem 0;
    font-size: var(--mk-fs-xs);
    color: var(--mk-text-muted);
    border-bottom: 1px solid var(--mk-border);
}

.mk-legal-toc a:last-child { border-bottom: none; }
.mk-legal-toc a:hover { color: var(--mk-brand-dark); }

.mk-legal-content { max-width: 760px; }

.mk-legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    color: var(--mk-brand-deep);
    scroll-margin-top: calc(var(--mk-header-height) + 1rem);
}

.mk-legal-content ul { padding-right: 1.25rem; }

/* Pricing teaser (home) */
.mk-pricing-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mk-pricing-teaser-grid--two {
    grid-template-columns: repeat(2, minmax(0, 22rem));
    justify-content: center;
}

.mk-pricing-teaser-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-pricing-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.mk-pricing-teaser-card.is-featured { border: 2px solid var(--mk-brand); }

.mk-pricing-teaser-card h4 { margin-bottom: 0.25rem; }

.mk-pricing-teaser-card .teaser-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--mk-brand-dark);
    display: block;
    margin: 0.5rem 0 0.25rem;
}

.mk-pricing-teaser-card small { color: var(--mk-text-muted); }

/* --- pages.css --- */
/* ---------- Home ---------- */
.home-stats-wrap { padding-bottom: 0; }

.home-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.home-platform-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-ink-border);
    transition: background var(--mk-transition-fast), border-color var(--mk-transition-fast);
}

.home-platform-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.home-platform-item i {
    font-size: 2.5rem;
    color: var(--mk-brand);
    margin-bottom: 1rem;
}

.home-platform-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.home-platform-item p {
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-sm);
    margin: 0;
}

.home-platform-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.home-platform-bullets li {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.home-platform-bullets i {
    color: var(--mk-brand);
    position: relative;
    top: 2px;
}

/* Home FAQ teaser */
.home-faq-teaser {
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- Modules ---------- */
.modules-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.module-vs-capability {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
    margin-top: 3rem;
}

.module-vs-capability .mk-row { gap: 2rem 0; }

/* ---------- Module detail ---------- */
.module-detail-sidebar {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem;
}

.module-detail-sidebar h4 { margin-bottom: 1rem; }

.module-detail-sidebar--cta {
    background: var(--mk-ink);
    border-color: var(--mk-ink);
    color: var(--mk-on-ink-muted);
}

.module-detail-sidebar--cta h4 { color: #fff; }

.module-detail-sticky {
    position: sticky;
    top: calc(var(--mk-header-height) + 1rem);
}

.module-detail-features {
    list-style: none;
    padding: 0;
}

.module-detail-features li {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--mk-border);
}

.module-detail-features li:last-child { border-bottom: none; }

.module-detail-features li::before {
    content: '✓';
    color: var(--mk-brand);
    font-weight: 800;
    flex-shrink: 0;
}

/* ---------- Contact — single column stack ---------- */
.contact-stack {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
}

.contact-info-card h3 {
    margin-bottom: 1.25rem;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-tile {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
    padding: 1rem 1.1rem;
}

.contact-info-tile i {
    font-size: 1.25rem;
    color: var(--mk-brand-dark);
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--mk-brand-light);
    border-radius: var(--mk-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-tile strong {
    display: block;
    font-size: var(--mk-fs-sm);
    margin-bottom: 0.2rem;
    color: var(--mk-heading);
}

.contact-info-tile p {
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    line-height: 1.5;
}

.contact-info-tile a {
    color: var(--mk-text);
    text-decoration: none;
}

.contact-info-tile a:hover { color: var(--mk-brand-dark); }

.mk-contact-trust--inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mk-border);
}

.contact-next-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
}

.contact-next-card h4 {
    margin-bottom: 1.25rem;
    text-align: center;
}

.contact-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contact-step-card {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius);
}

.contact-step-card .mk-next-step-icon {
    margin: 0 auto 0.75rem;
}

.contact-step-card strong {
    display: block;
    font-size: var(--mk-fs-sm);
    margin-bottom: 0.35rem;
}

.contact-step-card p {
    font-size: var(--mk-fs-xs);
    color: var(--mk-text-muted);
    line-height: 1.6;
}

.mk-contact-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.mk-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.mk-btn-whatsapp:hover,
.mk-btn-whatsapp:focus-visible {
    background: #1ebe57;
    color: #fff;
}

.mk-next-steps--vertical li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0 1.5rem 0;
}

.mk-next-steps--vertical li::before,
.mk-next-steps--vertical li::after {
    display: none;
}

.mk-next-step-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    border-radius: var(--mk-radius);
    font-size: 1.25rem;
}

.mk-contact-map {
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    background: var(--mk-card-bg);
}

.mk-contact-map-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mk-contact-map-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 140px;
    background: var(--mk-surface);
    color: var(--mk-brand-dark);
    font-weight: 600;
    transition: background var(--mk-transition-fast);
}

.mk-contact-map-preview i { font-size: 2.5rem; }

.mk-contact-map-link:hover .mk-contact-map-preview {
    background: var(--mk-brand-light);
}

.mk-contact-map-link p {
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    border-top: 1px solid var(--mk-border);
}

.mk-contact-success {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
}

.mk-contact-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-brand-light);
    border-radius: 50%;
    color: var(--mk-brand);
    font-size: 2.5rem;
}

.mk-contact-success .mk-lead {
    max-width: 480px;
    margin: 0 auto 2rem;
}

.mk-contact-success-steps {
    display: grid;
    gap: 1rem;
    text-align: right;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.mk-contact-success-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--mk-surface);
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-border);
}

.mk-contact-success-step i {
    font-size: 1.5rem;
    color: var(--mk-brand);
    flex-shrink: 0;
}

.mk-contact-success-step p {
    margin: 0.2rem 0 0;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
}

.mk-contact-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ---------- Pricing ---------- */
.pricing-faq-inline {
    max-width: 800px;
    margin: 3rem auto 0;
}

.pricing-consumable-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-consumable-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--mk-shadow-xs);
    transition: border-color var(--mk-transition-fast), box-shadow var(--mk-transition-fast);
}

.pricing-consumable-card:hover {
    border-color: var(--mk-brand-muted);
    box-shadow: var(--mk-shadow-sm);
}

.pricing-consumable-card strong { color: var(--mk-brand-deep); }

.pricing-consumable-card .price {
    color: var(--mk-brand-dark);
    font-weight: 800;
}

/* ---------- About — Why (4 cards) ---------- */
.about-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.about-why-card {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--mk-shadow-xs);
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.about-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.about-why-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius);
    background: var(--mk-brand-light);
    color: var(--mk-brand-dark);
    font-size: 1.5rem;
}

.about-why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--mk-heading);
}

.about-why-card p {
    margin: 0;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    line-height: 1.65;
}

/* ---------- About — History timeline ---------- */
.about-history-section .mk-section-header {
    margin-bottom: 2.5rem;
}

.about-history-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 1.5rem;
}

.about-history-line::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 12%;
    left: 12%;
    height: 2px;
    background: var(--mk-border);
    z-index: 0;
}

.about-history-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.about-history-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 36px;
    padding: 0 0.75rem;
    margin-bottom: 0.75rem;
    background: var(--mk-brand);
    color: #fff;
    font-weight: 700;
    font-size: var(--mk-fs-sm);
    border-radius: 999px;
}

.about-history-label {
    display: block;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text-muted);
    line-height: 1.6;
    max-width: 160px;
    margin: 0 auto;
}

.about-history-summary {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

/* ---------- About mission ---------- */
.mk-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.mk-mission-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--mk-radius-lg);
    padding: 2rem;
}

.mk-mission-card i {
    font-size: 2rem;
    color: var(--mk-brand-muted);
    margin-bottom: 1rem;
    display: block;
}

.mk-mission-card h3 {
    color: var(--mk-on-ink);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.mk-mission-card p {
    color: var(--mk-on-ink-muted);
    line-height: 1.8;
}

.mk-security-list {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
    height: 100%;
}

.mk-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mk-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
    border-bottom: 1px solid var(--mk-border);
}

.mk-check-list li:last-child { border-bottom: none; }

.mk-check-list li i {
    color: var(--mk-brand);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ---------- FAQ ---------- */
.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--mk-brand-deep);
    font-size: 1.25rem;
    margin: 2.5rem 0 1.25rem;
    scroll-margin-top: calc(var(--mk-header-height) + 4.5rem);
}

.faq-category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--mk-border);
}

/* ---------- Product ---------- */
.product-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.product-flow-step {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--mk-shadow-xs);
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
}

.product-flow-step .step-num {
    width: 36px;
    height: 36px;
    background: var(--mk-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: 800;
}

.product-capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-capability {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--mk-shadow-xs);
    text-align: center;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.product-capability:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow);
    border-color: var(--mk-brand-muted);
}

.product-capability i {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius);
    background: var(--mk-brand-light);
    font-size: 1.6rem;
    color: var(--mk-brand-dark);
    margin-bottom: 1rem;
}

.product-security-list {
    list-style: none;
    padding: 0;
}

.product-security-list li {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--mk-border);
}

.product-security-list li:last-child { border-bottom: none; }

.product-security-list i {
    color: var(--mk-brand);
    font-size: 1.2rem;
    flex-shrink: 0;
    position: relative;
    top: 3px;
}

/* ---------- Pricing: two packages ---------- */
.mk-offer-hero {
    text-align: center;
    padding: 72px 0 56px;
}

.mk-offer-hero .breadcrumbs {
    justify-content: center;
}

.mk-offer-hero h1.mk-offer-headline {
    max-width: 14em;
    margin: 0.85rem auto 0.45rem;
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--mk-heading);
    letter-spacing: -0.02em;
}

.mk-offer-kicker {
    margin: 0 auto 0.75rem;
    color: var(--mk-brand-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.mk-offer-hero .mk-lead {
    max-width: 38rem;
    margin: 0 auto;
}

.mk-offer-plans {
    padding-top: clamp(2.25rem, 5vw, 4rem);
}

.mk-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
}

a.mk-offer-card {
    text-decoration: none;
    color: inherit;
}

a.mk-offer-card:hover {
    border-color: var(--mk-brand);
    color: inherit;
}

.mk-offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-xl);
    box-shadow: var(--mk-shadow-sm);
    padding: 2.15rem 1.85rem 1.7rem;
}

.mk-offer-card.is-featured {
    background: var(--mk-brand-light);
    border: 2px solid var(--mk-brand);
    box-shadow: var(--mk-shadow);
}

.mk-offer-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.4rem;
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
    font-size: 0.875rem;
    font-weight: 800;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
}

.mk-offer-name {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
}

.mk-offer-name a {
    color: inherit;
    text-decoration: none;
}

.mk-offer-name a:hover {
    color: var(--mk-brand-dark);
}

.mk-offer-audience {
    margin: 0;
    color: var(--mk-offer-muted);
    font-size: 1rem;
}

.mk-offer-price {
    margin: 1.15rem 0 0;
    line-height: 1.05;
    color: var(--mk-brand-dark);
}

.mk-offer-price-num {
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mk-offer-price-unit {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mk-heading);
}

.mk-offer-period {
    margin: 0.35rem 0 0;
    color: var(--mk-offer-muted);
    font-size: 1rem;
}

.mk-offer-plus {
    margin: 1.25rem 0 0.15rem;
    font-size: var(--mk-fs-sm);
    font-weight: 800;
    color: var(--mk-heading);
}

.mk-offer-points {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 1.5rem;
    flex: 1;
}

.mk-offer-card.is-featured .mk-offer-points {
    margin-top: 0.45rem;
}

.mk-offer-points li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.42rem 0;
    color: var(--mk-text);
    font-size: 1rem;
    line-height: 1.7;
}

.mk-offer-points i {
    color: var(--mk-brand);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.mk-offer-cta {
    width: 100%;
    margin-top: auto;
    min-height: 44px;
}

.mk-offer-card .mk-btn:not(.mk-btn-outline),
.mk-quote .mk-btn,
.mk-offer-sticky .mk-btn,
.compare-plan-actions .mk-btn:not(.mk-btn-outline) {
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
    border-color: var(--mk-offer-solid);
}

.mk-offer-card .mk-btn-outline,
.compare-plan-actions .mk-btn-outline {
    color: var(--mk-text);
    border-color: var(--mk-offer-line);
    background: transparent;
}

.mk-offer-card .mk-btn:not(.mk-btn-outline):hover,
.mk-quote .mk-btn:hover,
.mk-offer-sticky .mk-btn:hover,
.compare-plan-actions .mk-btn:not(.mk-btn-outline):hover,
.mk-offer-card .mk-btn:not(.mk-btn-outline):focus-visible,
.mk-quote .mk-btn:focus-visible,
.mk-offer-sticky .mk-btn:focus-visible,
.compare-plan-actions .mk-btn:not(.mk-btn-outline):focus-visible {
    background: var(--mk-offer-solid-hover);
    border-color: var(--mk-offer-solid-hover);
    color: var(--mk-offer-solid-text);
}

.mk-offer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: auto;
}

.mk-offer-actions .mk-offer-cta {
    margin-top: 0;
}

.mk-offer-disclaimer {
    max-width: 1040px;
    margin: 1.25rem auto 0;
    text-align: center;
    color: var(--mk-text-muted);
    font-size: 0.875rem;
}

.mk-offer-section .mk-section-header {
    margin-bottom: 1.75rem;
}

.mk-offer-table-wrap {
    max-width: 880px;
    margin: 0 auto;
    overflow-x: visible;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
}

.mk-offer-compare {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.mk-offer-compare th,
.mk-offer-compare td {
    padding: 0.72rem 1rem;
    border-bottom: 1px solid var(--mk-border);
    vertical-align: middle;
    text-align: center;
}

.mk-offer-compare thead th {
    position: sticky;
    top: var(--mk-header-height);
    z-index: 3;
    background-color: var(--mk-offer-head);
    font-size: 1rem;
    font-weight: 800;
}

.mk-offer-compare thead th.is-premium {
    background-color: var(--mk-offer-head-premium);
}

.mk-offer-col-price {
    display: block;
    margin-top: 0.15rem;
    color: var(--mk-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.mk-offer-compare thead th:first-child,
.mk-offer-compare tbody th[scope="row"] {
    text-align: right;
    width: 46%;
}

.mk-offer-compare tbody th[scope="row"] {
    font-weight: 600;
    font-size: 1rem;
    color: var(--mk-text);
}

.mk-offer-compare .is-premium {
    background: rgba(var(--mk-primary-rgb), 0.07);
}

.mk-offer-compare thead .is-premium {
    color: var(--mk-brand-dark);
}

.mk-offer-group th {
    background: var(--mk-surface);
    color: var(--mk-heading);
    text-align: right;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.55rem 1rem;
}

.mk-offer-compare tr:last-child th,
.mk-offer-compare tr:last-child td {
    border-bottom: none;
}

.mk-offer-compare .cell-yes i,
.mk-offer-compare .cell-no i {
    font-size: 1.35rem;
    vertical-align: middle;
}

.mk-offer-compare .cell-yes i { color: var(--mk-brand); }
.mk-offer-compare .cell-no i { color: var(--mk-text); }

.mk-offer-compare td {
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
}

.mk-offer-shared td {
    text-align: right;
}

.mk-offer-shared ul {
    margin: 0;
    padding: 0 1.1rem 0 0;
    list-style: disc;
}

.mk-offer-shared li {
    margin: 0.15rem 0;
    color: var(--mk-text);
    font-size: 0.875rem;
    line-height: 1.65;
    text-align: right;
}

.mk-compare-competitors {
    overflow-x: visible;
}

.mk-compare-competitors table {
    width: 100%;
    min-width: 0;
}

.mk-compare-competitors th,
.mk-compare-competitors td {
    overflow-wrap: anywhere;
    font-size: 0.875rem;
}

.mk-offer-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mk-offer-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    max-width: 980px;
    margin: 0 auto;
}

.mk-offer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    color: var(--mk-text);
    font-size: var(--mk-fs-sm);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.mk-offer-chip i {
    color: var(--mk-brand);
    font-size: 1.15rem;
}

.mk-offer-chip:hover {
    background: var(--mk-brand-light);
    border-color: var(--mk-brand);
    color: var(--mk-brand-dark);
}

.mk-offer-footnote {
    max-width: 40rem;
    margin: 1.5rem auto 0;
    text-align: center;
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

.mk-offer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.mk-offer-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.25rem 0.9rem 1.1rem;
}

.mk-offer-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0.25rem;
    border-radius: 999px;
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
    font-weight: 800;
}

.mk-offer-step strong {
    color: var(--mk-heading);
    font-size: var(--mk-fs-sm);
}

.mk-offer-step-line {
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

.mk-offer-step-line em {
    font-style: normal;
    font-weight: 700;
    color: var(--mk-text);
}

.mk-offer-step-line.is-premium em {
    color: var(--mk-brand-dark);
}

.mk-offer-note {
    max-width: 760px;
    margin: 1.5rem auto 0;
    padding: 1.1rem 1.25rem 0.35rem;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    color: var(--mk-text-muted);
    font-size: var(--mk-fs-sm);
}

.mk-offer-note strong {
    color: var(--mk-heading);
}

.mk-offer-faq {
    max-width: 760px;
    margin: 0 auto;
}

.mk-rule-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.mk-rule-cards > li {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1.25rem 1.15rem 1.2rem;
}

.mk-rule-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
    font-weight: 800;
}

.mk-rule-cards strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--mk-heading);
    font-size: 1.05rem;
}

.mk-rule-cards > li ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mk-rule-cards > li li {
    margin: 0;
    padding: 0.3rem 0 0.3rem 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--mk-text);
    font-size: 0.875rem;
    line-height: 1.7;
}

.mk-rule-cards > li li::before {
    content: "• ";
    color: var(--mk-brand-dark);
    font-weight: 800;
}

.mk-offer-strip {
    max-width: 1040px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.1rem;
    text-align: center;
    font-weight: 800;
    color: var(--mk-heading);
    background: var(--mk-brand-light);
    border: 1px solid var(--mk-brand-muted);
    border-radius: 999px;
}

.mk-offer-value {
    color: var(--mk-brand-dark);
    font-weight: 800;
}

.mk-offer-consult {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 1rem;
}

.mk-offer-consult a {
    font-weight: 700;
}

.mk-offer-footnote {
    max-width: 40rem;
    margin: 1.25rem auto 0;
    text-align: center;
    color: var(--mk-offer-muted);
    font-size: 1rem;
}

.mk-pay {
    max-width: 880px;
    margin: 0 auto;
}

.mk-pay-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.mk-pay-toggle button {
    min-height: 44px;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--mk-offer-line);
    background: var(--mk-card-bg);
    color: var(--mk-heading);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.mk-pay[data-pay-active="standard"] [data-pay-choice="standard"],
.mk-pay[data-pay-active="premium"] [data-pay-choice="premium"] {
    background: var(--mk-offer-solid);
    border-color: var(--mk-offer-solid);
    color: var(--mk-offer-solid-text);
}

.mk-pay-bar {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.mk-pay-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    min-height: 44px;
    border-radius: var(--mk-radius);
    background: var(--mk-offer-bar-1);
    color: var(--mk-offer-bar-text);
    font-size: 1rem;
    font-weight: 800;
}

.mk-pay-bar span:nth-child(2) { background: var(--mk-offer-bar-2); }
.mk-pay-bar span:nth-child(3) { background: var(--mk-offer-bar-3); }

.mk-pay-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mk-pay-steps li {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 1rem 0.85rem;
    text-align: center;
}

.mk-pay-share {
    display: block;
    color: var(--mk-brand-dark);
    font-weight: 800;
}

.mk-pay-steps strong {
    display: block;
    margin: 0.2rem 0 0.35rem;
    color: var(--mk-heading);
}

.mk-pay-amount {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.mk-pay[data-pay-active="premium"] [data-pay-amount="standard"],
.mk-pay[data-pay-active="standard"] [data-pay-amount="premium"] {
    display: none;
}

.mk-quote {
    max-width: 36rem;
    margin: 0 auto;
}

.mk-quote .mk-offer-cta {
    margin-top: 0.25rem;
}

@media (min-width: 992px) {
    .mk-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mk-offer-grid {
        grid-template-columns: 1fr;
        max-width: 36rem;
    }

    .mk-offer-card.is-featured {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .mk-rule-cards {
        grid-template-columns: 1fr;
    }

    .mk-offer-strip {
        border-radius: var(--mk-radius-lg);
    }

    .mk-pay-steps {
        grid-template-columns: 1fr;
    }

    .mk-offer-compare th,
    .mk-offer-compare td {
        padding: 0.55rem 0.4rem;
        font-size: 1rem;
    }

    .mk-offer-shared li,
    .mk-offer-col-price {
        font-size: 1rem;
    }

    .mk-offer-table-wrap,
    .mk-compare-competitors {
        overflow-x: visible;
        max-width: 100%;
    }
}

/* --- responsive.css --- */
@media (max-width: 1200px) {
    .mk-container {
        max-width: 960px;
    }

    .mk-hero-kpi--top { left: 0; }
    .mk-hero-kpi--bottom { right: 0; }
}

@media (max-width: 992px) {
    .mk-container {
        max-width: 720px;
    }

    .mk-col-4,
    .mk-col-3 {
        width: 50%;
    }

    .mk-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-stat-card:nth-child(2n) { border-left: none; }

    .mk-stat-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--mk-border);
    }

    .home-platform-grid,
    .mk-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-history-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-history-line::before {
        display: none;
    }

    .mk-pricing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-pricing-card--wide {
        flex-direction: column;
        align-items: stretch;
        text-align: right;
    }

    .mk-pricing-card-wide-action {
        min-width: 0;
        text-align: right;
    }

    .product-capabilities,
    .mk-pricing-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-arch-grid {
        grid-template-columns: 1fr;
    }

    .mk-arch-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.25rem;
        padding-top: 0;
    }

    .mk-arch-flow-track {
        display: none;
    }

    .mk-arch-flow-step {
        position: static;
        margin-bottom: 1rem;
        box-shadow: none;
    }

    .mk-arch-flow-card {
        padding: 1.5rem 1.25rem;
    }

    .mk-arch-arrow {
        transform: rotate(90deg);
        text-align: center;
        justify-self: center;
    }

    .pricing-consumable-grid {
        grid-template-columns: 1fr;
    }

    .mk-showcase-panel.is-active {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mk-legal-layout {
        grid-template-columns: 1fr;
    }

    .mk-legal-toc {
        position: static;
    }

    .module-detail-sticky {
        position: static;
    }
}

@media (max-width: 767px) {
    :root {
        --mk-header-height: 66px;
        --mk-section-y: clamp(40px, 8vw, 64px);
        --mk-gutter: 14px;
    }

    html {
        scroll-padding-top: calc(var(--mk-header-height) + 1rem);
    }

    .mk-container {
        max-width: 560px;
    }

    .mk-col-6,
    .mk-col-4,
    .mk-col-3 {
        width: 100%;
    }

    /* Header / mobile nav */
    .mk-header {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .mk-header-inner {
        grid-template-columns: 1fr auto;
        gap: 1rem;
        min-height: 66px;
    }

    .mk-header-brand {
        grid-column: 1;
        justify-self: start;
    }

    .mk-header-nav,
    .mk-header-actions {
        display: none;
    }

    .mk-hamburger {
        display: flex;
        grid-column: 2;
        justify-self: end;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .mk-header.is-nav-open {
        z-index: 1060;
    }

    .mk-header.is-nav-open .mk-hamburger {
        z-index: 1061;
    }

    .mk-mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(13, 59, 56, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--mk-transition), visibility var(--mk-transition);
    }

    .mk-mobile-nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mk-mobile-nav {
        display: block;
        position: fixed;
        top: var(--mk-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--mk-transition), visibility var(--mk-transition);
        box-shadow: var(--mk-shadow-lg);
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .mk-mobile-nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mk-mobile-nav-actions {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    body.nav-open {
        overflow: hidden;
    }

    /* Hero */
    .mk-hero-split,
    .mk-solution-panel-inner {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .mk-hero-split--visual-emphasis .mk-hero-mockup-wrap--bare img {
        width: 100%;
        max-width: 100%;
        margin-inline-start: 0;
    }

    .mk-hero-home {
        padding-top: calc(80px + var(--mk-header-height));
        padding-bottom: 110px;
        text-align: right;
    }

    .mk-hero-kpi { display: none; }

    .mk-hero-trust {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Problem / solution cards */
    .mk-problem-grid {
        grid-template-columns: 1fr;
    }

    .mk-problem-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
    }

    .mk-problem-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    /* Horizontal scroll tabs / chips */
    .mk-showcase-nav,
    .mk-solution-tabs-nav,
    .mk-faq-nav,
    .mk-filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        justify-content: flex-start;
        padding-bottom: 0.25rem;
        margin-left: calc(-1 * var(--mk-gutter));
        margin-right: calc(-1 * var(--mk-gutter));
        padding-left: var(--mk-gutter);
        padding-right: var(--mk-gutter);
    }

    .mk-showcase-nav::-webkit-scrollbar,
    .mk-solution-tabs-nav::-webkit-scrollbar,
    .mk-faq-nav::-webkit-scrollbar,
    .mk-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .mk-showcase-tab,
    .mk-solution-tab-btn,
    .mk-faq-nav a,
    .mk-filter-chip {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .mk-showcase-tab {
        min-width: 110px;
        font-size: 0.85rem;
        padding: 0.85rem 0.5rem;
    }

    .mk-showcase-panel { padding: 1.5rem; }

    .mk-solution-panel-inner {
        padding: 1.5rem;
    }

    /* Modules */
    .mk-modules-layout {
        grid-template-columns: 1fr;
    }

    .mk-modules-sidebar {
        position: static;
        display: none;
    }

    /* Architecture / flow */
    .mk-arch-flow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mk-flow-stepper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem 0;
    }

    .mk-flow-step {
        max-width: 100%;
        min-width: 0;
    }

    .mk-flow-step:not(:last-child)::after,
    .mk-flow-step:not(:last-child)::before {
        display: none;
    }

    .mk-role-grid,
    .mk-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-feature-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-steps-grid {
        grid-template-columns: 1fr;
    }

    .mk-contact-channels {
        flex-direction: column;
    }

    .mk-contact-channels .mk-btn {
        width: 100%;
        text-align: center;
    }

    /* Forms — prevent iOS zoom */
    .mk-form input,
    .mk-form textarea,
    .mk-form select {
        font-size: 16px;
    }

    /* Touch targets */
    .mk-btn,
    .mk-nav-link-flat,
    .mk-faq-question,
    .mk-module-accordion-btn {
        min-height: 44px;
    }

    /* Compare matrix */
    .mk-compare-matrix-wrap {
        -webkit-overflow-scrolling: touch;
    }

    .mk-compare-scroll-hint {
        display: block;
        text-align: center;
        font-size: var(--mk-fs-xs);
        color: var(--mk-text-muted);
        margin-bottom: 0.75rem;
    }

    /* Stats / grids */
    .mk-stats-row {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .mk-stat-card {
        border-left: none;
        border-bottom: 1px solid var(--mk-border);
        padding: 1.4rem 1rem;
    }

    .mk-stat-card:last-child { border-bottom: none; }

    .mk-pricing-plans-grid {
        grid-template-columns: 1fr;
    }

    .mk-offer-grid {
        grid-template-columns: 1fr;
        max-width: 34rem;
    }

    .mk-pricing-features--inline li {
        white-space: normal;
    }

    .home-platform-grid,
    .about-why-grid,
    .about-history-line,
    .product-capabilities,
    .mk-pricing-teaser-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 44px 0 34px;
    }

    /* Footer */
    .mk-footer-top .mk-row > .mk-col-3 {
        width: 100%;
        margin-bottom: 2rem;
    }

    .mk-footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .mk-footer-cta-inner .mk-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .mk-footer-cta-inner .mk-hero-actions .mk-btn {
        width: 100%;
        text-align: center;
    }

    .mk-footer-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* CTA strip */
    .mk-cta-strip {
        padding: 3rem 0;
    }

    .mk-cta-strip .mk-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mk-cta-strip .mk-hero-actions .mk-btn {
        width: 100%;
    }

    /* FAQ */
    .mk-faq-nav { position: static; border-radius: var(--mk-radius-lg); }

    .faq-category-title {
        scroll-margin-top: calc(var(--mk-header-height) + 4.5rem);
    }

    /* Pricing */
    .mk-addon-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .mk-invoice-receipt {
        padding: 1.25rem;
    }

    /* Module detail */
    .module-detail-sticky {
        position: static;
    }

    .module-detail-header {
        flex-wrap: wrap;
    }

    .module-detail-header i {
        font-size: 2.25rem !important;
    }

    .module-vs-capability {
        padding: 1.25rem;
    }

    /* Platform diagram */
    .mk-platform-diagram img,
    .mk-platform-diagram svg {
        max-width: 100%;
        height: auto;
    }

    /* Legal */
    .mk-legal-content {
        font-size: var(--mk-fs-sm);
    }

    .mk-legal-content h2 {
        font-size: 1.15rem;
    }

    /* Lightbox */
    .mk-lightbox {
        padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .mk-lightbox-close {
        top: calc(1rem + env(safe-area-inset-top, 0px));
        width: 48px;
        height: 48px;
    }

    /* Sticky mobile CTA */
    .mk-sticky-cta { display: block; }

    body.has-sticky-cta {
        --mobile-pwa-install-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
    }

    #scroll_up {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        left: calc(16px + env(safe-area-inset-left, 0px));
        width: 44px;
        height: 44px;
        z-index: 940;
    }

    body.mk-hide-install #pwa-install-dock,
    body.mk-hide-install #pwa-install-button,
    body.mk-hide-install #pwa-ios-install-banner {
        display: none !important;
    }
}

@media (max-width: 480px) {
    :root {
        --mk-gutter: 12px;
    }

    .mk-container {
        width: 92%;
    }

    .mk-hero-actions {
        flex-direction: column;
    }

    .mk-hero-actions .mk-btn {
        width: 100%;
        text-align: center;
    }

    .mk-highlight {
        white-space: normal;
    }

    .mk-role-grid,
    .mk-tech-grid {
        grid-template-columns: 1fr;
    }

    .mk-launch-banner {
        flex-direction: column;
        padding: 1.25rem;
        text-align: center;
    }

    .mk-launch-banner .mk-btn {
        width: 100%;
    }

    .mk-arch-flow-card {
        padding: 1.25rem 1rem;
    }

    .mk-compare-matrix th,
    .mk-compare-matrix td {
        padding: 0.65rem 0.5rem;
        font-size: 0.875rem;
    }

    .compare-plan-actions .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mk-screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .about-history-line {
        grid-template-columns: 1fr;
    }

    .about-history-step {
        padding-bottom: 1rem;
    }

    .contact-info-card,
    .mk-form-card,
    .contact-next-card {
        padding: 1.25rem;
    }

    .mk-contact-success {
        padding: 1.75rem 1.25rem;
    }

    .mk-contact-success-actions {
        flex-direction: column;
    }

    .mk-contact-success-actions .mk-btn {
        width: 100%;
    }

    .product-flow-step {
        max-width: 100%;
        min-width: 0;
    }

    .mk-offer-hero {
        padding: 48px 0 36px;
    }

    .mk-offer-headline {
        font-size: 1.7rem;
    }

    .mk-offer-card {
        padding: 1.7rem 1.2rem 1.35rem;
    }

    .mk-offer-steps {
        grid-template-columns: 1fr;
        max-width: 24rem;
    }

    .mk-offer-compare thead th:first-child,
    .mk-offer-compare tbody th[scope="row"] {
        width: auto;
    }

    .mk-offer-compare th,
    .mk-offer-compare td {
        padding: 0.7rem 0.5rem;
        font-size: 1rem;
    }
}

/* Disable hover lift on touch devices */
@media (hover: none) {
    .mk-pricing-card:hover,
    .mk-persona-card:hover,
    .product-capability:hover,
    .about-why-card:hover,
    .mk-problem-card:hover,
    .mk-module-card:hover,
    .mk-pricing-teaser-card:hover {
        transform: none;
    }
}

/* Compare scroll hint — desktop hidden */
.mk-compare-scroll-hint {
    display: none;
}

.mk-mobile-nav-backdrop {
    display: none;
}

/* --- enhancements.css --- */
/* ============================================================
   Marketing visual enhancements
   - AI showcase (bento grid, typing demo, before/after slider)
   - Controlled brand gradients on dark surfaces
   - Browser frame around product screenshots
   - Announcement bar, sticky CTA upgrades, mobile swipe rows
   ============================================================ */

/* ---------- Controlled gradients on dark surfaces ---------- */
.mk-hero-home,
.mk-cta-strip,
.mk-section--dark {
    background: var(--mk-grad-ink);
}

.mk-hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--mk-grad-glow);
    pointer-events: none;
}

.mk-hero-home > .mk-container {
    position: relative;
    z-index: 1;
}

/* Dark sections: fix muted text inherited from Bootstrap utilities */
.mk-section--dark .text-muted,
.mk-section--dark .mk-flow-step p {
    color: var(--mk-on-ink-muted) !important;
}

.mk-section--dark .mk-flow-step strong {
    color: var(--mk-on-ink);
}

/* ---------- Nav badge («جدید») ---------- */
.mk-nav-badge {
    display: inline-block;
    background: var(--mk-accent-warm);
    color: #3a2a00;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.22em 0.55em;
    border-radius: 999px;
    margin-inline-start: 0.4em;
    vertical-align: middle;
}

/* ---------- Bento grid ---------- */
.mk-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.mk-bento-card {
    grid-column: span 12;
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mk-shadow-lg);
    border-color: var(--mk-brand-muted);
}

.mk-bento-card--large { grid-column: span 7; }
.mk-bento-card--small { grid-column: span 5; }
.mk-bento-card--wide { grid-column: span 12; }

.mk-bento-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.35rem;
}

.mk-bento-head .mk-subtitle { margin-bottom: 0; }

.mk-bento-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius-lg);
    background: var(--mk-grad-brand);
    color: #fff;
    font-size: 1.55rem;
    box-shadow: var(--mk-shadow-brand);
}

.mk-bento-card h3 {
    font-size: var(--mk-fs-h3);
    margin: 0;
}

.mk-bento-card > p {
    color: var(--mk-text-muted);
    margin: 0;
}

.mk-bento-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mk-bento-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--mk-fs-sm);
    color: var(--mk-text);
}

.mk-bento-list li i {
    color: var(--mk-brand);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

/* Ink variant — for dark AI section on home */
.mk-bento-card--ink {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--mk-ink-border);
    backdrop-filter: blur(4px);
}

.mk-bento-card--ink:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.mk-bento-card--ink h3 { color: var(--mk-on-ink); }
.mk-bento-card--ink > p { color: var(--mk-on-ink-muted); }

/* Home AI section — bento layout: 1 large + 2 small + 1 wide */
.mk-bento--home .mk-bento-card--large { grid-column: span 6; grid-row: span 2; }
.mk-bento--home .mk-bento-card--small { grid-column: span 6; }
.mk-bento--home .mk-bento-card--wide { grid-column: span 12; flex-direction: row; align-items: center; flex-wrap: wrap; }
.mk-bento--home .mk-bento-card--wide h3 { flex-basis: 100%; }

/* AI accent halo behind the dark AI section title */
.mk-section--ai::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--mk-grad-glow);
    pointer-events: none;
}

/* ---------- AI typing demo panel ---------- */
.mk-ai-demo {
    background: #0A2E2B;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--mk-radius-xl);
    overflow: hidden;
    box-shadow: var(--mk-shadow-lg);
    width: 100%;
    text-align: right;
}

.mk-ai-demo-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mk-ai-demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.mk-ai-demo-dot:first-child { background: var(--mk-accent-coral); }
.mk-ai-demo-dot:nth-child(2) { background: var(--mk-accent-warm); }
.mk-ai-demo-dot:nth-child(3) { background: var(--mk-brand); }

.mk-ai-demo-title {
    margin-inline-start: auto;
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mk-ai-demo-title i { color: var(--mk-brand-muted); font-size: 1rem; }

.mk-ai-demo-body { padding: 1.4rem 1.4rem 1.5rem; }

.mk-ai-demo-label {
    display: block;
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mk-ai-demo-field {
    min-height: 5.2em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--mk-radius);
    padding: 0.9rem 1rem;
    color: #fff;
    font-size: var(--mk-fs-sm);
    line-height: 1.9;
}

.mk-ai-demo-caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--mk-brand-muted);
    margin-inline-start: 2px;
    vertical-align: text-bottom;
    animation: mk-caret-blink 0.9s steps(1) infinite;
}

@keyframes mk-caret-blink {
    50% { opacity: 0; }
}

.mk-ai-demo-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.mk-ai-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 162, 151, 0.18);
    color: var(--mk-brand-muted);
    border: 1px solid rgba(0, 162, 151, 0.35);
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

/* Inline variant inside bento cards */
.mk-ai-demo--inline {
    margin-top: auto;
    box-shadow: none;
    border-radius: var(--mk-radius-lg);
}

.mk-ai-demo--inline .mk-ai-demo-body { padding: 1rem 1.1rem 1.1rem; }
.mk-ai-demo--inline .mk-ai-demo-field { min-height: 6.5em; }

/* ---------- AI notes (dark section chips) ---------- */
.mk-ai-notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.mk-ai-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--mk-ink-border);
    color: var(--mk-on-ink-muted);
    font-size: var(--mk-fs-sm);
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.mk-ai-note i { color: var(--mk-brand-muted); }

/* ---------- Before / after comparison slider ---------- */
.mk-before-after {
    max-width: 780px;
    margin: 0 auto;
}

.mk-ba-frame {
    position: relative;
    border-radius: var(--mk-radius-xl);
    overflow: hidden;
    border: 1px solid var(--mk-border-strong);
    box-shadow: var(--mk-shadow-lg);
    aspect-ratio: 4 / 3;
    user-select: none;
    direction: ltr; /* physical coordinates for the slider */
}

.mk-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mk-ba-before-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
    will-change: clip-path;
}

.mk-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(13, 59, 56, 0.25);
    transform: translateX(-50%);
    pointer-events: none;
}

.mk-ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mk-grad-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--mk-shadow-brand);
}

.mk-ba-label {
    position: absolute;
    top: 14px;
    z-index: 2;
    font-size: var(--mk-fs-xs);
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    direction: rtl;
}

.mk-ba-label--before {
    left: 14px;
    background: rgba(13, 59, 56, 0.75);
    color: #fff;
}

.mk-ba-label--after {
    right: 14px;
    background: var(--mk-brand);
    color: #fff;
}

.mk-ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    touch-action: pan-y;
}

/* ---------- Browser frame around screenshots ---------- */
.mk-browser-frame {
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border-strong);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-shadow);
}

.mk-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    background: var(--mk-surface);
    border-bottom: 1px solid var(--mk-border);
    direction: ltr;
}

.mk-browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mk-border-strong);
}

.mk-browser-dot:first-child { background: var(--mk-accent-coral); }
.mk-browser-dot:nth-child(2) { background: var(--mk-accent-warm); }
.mk-browser-dot:nth-child(3) { background: var(--mk-brand); }

.mk-browser-url {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--mk-text-muted);
    background: var(--mk-card-bg);
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    padding: 0.1rem 0.75rem;
    letter-spacing: 0.02em;
}

.mk-browser-frame img {
    width: 100%;
    display: block;
}

/* ---------- Platform capability link ---------- */
.mk-capability-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: var(--mk-fs-sm);
    font-weight: 700;
    color: var(--mk-brand-dark);
}

.mk-capability-link:hover { color: var(--mk-brand); }

/* ---------- Stat cards — bolder display numbers ---------- */
.mk-stat-value {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
}

.mk-stat-card:nth-child(3) .mk-stat-value { color: var(--mk-accent-warm); }

/* ---------- Announcement bar (launch offer) ---------- */
.mk-announce {
    position: relative;
    z-index: 1001;
    background: var(--mk-brand-deep);
    color: #fff;
    text-align: center;
    font-size: var(--mk-fs-sm);
    padding: 0.55rem var(--mk-gutter);
}

.mk-announce strong { color: var(--mk-accent-warm); }

.mk-announce a {
    color: var(--mk-brand-muted);
    font-weight: 700;
    text-decoration: none;
    margin-inline-start: 0.5rem;
    white-space: nowrap;
}

.mk-announce a:hover { color: #fff; }

.mk-announce i {
    color: var(--mk-accent-warm);
    vertical-align: middle;
    margin-inline-end: 0.3rem;
}

/* ---------- Trust bar — richer chips ---------- */
.mk-trust-logo {
    gap: 0.5rem;
    font-size: var(--mk-fs-sm);
    box-shadow: var(--mk-shadow-xs);
}

.mk-trust-logo i {
    color: var(--mk-brand);
    font-size: 1.2rem;
}

/* ---------- Pricing — monthly equivalent ---------- */
.mk-pricing-monthly {
    display: block;
    margin-top: 0.35rem;
    font-size: var(--mk-fs-xs);
    font-weight: 700;
    color: var(--mk-brand-dark);
    background: var(--mk-brand-light);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    width: fit-content;
    margin-inline: auto;
}

/* ---------- CTA strip — WhatsApp variant support ---------- */
.mk-cta-strip .mk-btn-whatsapp-outline {
    border: 2px solid #25d366;
    color: #fff;
    background: rgba(37, 211, 102, 0.12);
}

.mk-cta-strip .mk-btn-whatsapp-outline:hover,
.mk-cta-strip .mk-btn-whatsapp-outline:focus-visible {
    background: #25d366;
    color: #fff;
}

/* ---------- Sticky mobile CTA — dual action ---------- */
.mk-sticky-cta-inner {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.mk-sticky-cta-inner .mk-btn { flex: 1; }

.mk-sticky-cta-whatsapp {
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    border-radius: var(--mk-radius);
    font-size: 1.5rem;
}

.mk-sticky-cta-whatsapp:hover,
.mk-sticky-cta-whatsapp:focus { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .mk-bento-card--large,
    .mk-bento-card--small { grid-column: span 12; }

    .mk-bento--home .mk-bento-card--large { grid-row: auto; }
    .mk-bento--home .mk-bento-card--large,
    .mk-bento--home .mk-bento-card--small { grid-column: span 12; }
}

@media (max-width: 767px) {
    /* Bento cards become a horizontal swipe row on phones */
    .mk-bento,
    .mk-bento--home {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.9rem;
        padding-bottom: 0.75rem;
        margin: 0 calc(var(--mk-gutter) * -1);
        padding-inline: var(--mk-gutter);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mk-bento::-webkit-scrollbar { display: none; }

    .mk-bento .mk-bento-card {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: center;
        padding: 1.4rem;
    }

    .mk-bento--home .mk-bento-card--wide { flex-direction: column; align-items: flex-start; }

    /* Card grids become swipe rows on phones (shortens long sections) */
    .mk-swipe-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mk-swipe-row::-webkit-scrollbar { display: none; }

    .mk-swipe-row > * {
        flex: 0 0 82%;
        max-width: 330px;
        scroll-snap-align: center;
    }

    .mk-swipe-row > * > * { height: 100%; }

    .mk-ai-demo-field { min-height: 6.4em; }

    .mk-ba-handle-btn { width: 40px; height: 40px; font-size: 1.2rem; }

    .mk-announce { font-size: var(--mk-fs-xs); }
}

/* ============================================================
   Theme toggle button
   ============================================================ */
.mk-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--mk-border-strong);
    background: transparent;
    color: var(--mk-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color var(--mk-transition-fast), border-color var(--mk-transition-fast), background var(--mk-transition-fast);
}

.mk-theme-toggle:hover {
    color: var(--mk-brand-dark);
    border-color: var(--mk-brand-muted);
    background: var(--mk-brand-light);
}

/* Mobile variant sits next to the hamburger */
.mk-theme-toggle--mobile { display: none; }

@media (max-width: 767px) {
    .mk-theme-toggle--mobile {
        display: inline-flex;
        grid-column: 2;
        justify-self: end;
        width: 42px;
        height: 42px;
    }

    .mk-header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .mk-header-brand {
        min-width: 0;
        max-width: 100%;
    }

    .mk-logo-img {
        max-width: 100%;
        height: auto;
    }

    .mk-hamburger { grid-column: 3; }
}

/* ============================================================
   Dark theme — component-level overrides
   Tokens live in tokens.css; this section fixes the few spots
   where a light-mode assumption is baked into a component.
   ============================================================ */

/* Smooth color transition when switching themes */
html[data-theme] body.marketing-body,
html[data-theme] .mk-header,
html[data-theme] .mk-card,
html[data-theme] .mk-section--surface {
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

html[data-theme="dark"] {
    scrollbar-color: var(--mk-scrollbar) transparent;
}

/* brand-deep is used as heading/accent TEXT in light mode —
   in dark mode those must become light */
html[data-theme="dark"] .mk-problem-good,
html[data-theme="dark"] .mk-solution-result,
html[data-theme="dark"] .mk-alert-success,
html[data-theme="dark"] .mk-form-section-title,
html[data-theme="dark"] .faq-category-title,
html[data-theme="dark"] .pricing-consumable-card strong,
html[data-theme="dark"] .mk-capability-link {
    color: var(--mk-brand-dark);
}

html[data-theme="dark"] .mk-pricing-price,
html[data-theme="dark"] .mk-offer-price,
html[data-theme="dark"] .mk-invoice-total,
html[data-theme="dark"] .mk-arch-flow-card h3,
html[data-theme="dark"] .mk-legal-content h2 {
    color: var(--mk-text);
}

/* Announcement bar link — brand-muted is a border tint in dark */
html[data-theme="dark"] .mk-announce a { color: var(--mk-brand-dark); }
html[data-theme="dark"] .mk-announce { background: var(--mk-ink); }

/* Bootstrap utility classes used across templates */
html[data-theme="dark"] .text-muted { color: var(--mk-text-muted) !important; }
html[data-theme="dark"] .bg-white { background-color: var(--mk-card-bg) !important; }
html[data-theme="dark"] .bg-light { background-color: var(--mk-surface) !important; }

/* Elevated overlays read better one step lighter than cards */
html[data-theme="dark"] .mk-nav-dropdown,
html[data-theme="dark"] .mk-mobile-nav,
html[data-theme="dark"] .mk-lightbox img {
    background: var(--mk-card-bg-elevated);
}

/* Warm accent chips keep dark text for contrast on orange */
html[data-theme="dark"] .mk-hero-badge-float { color: #0D3B38; }

/* Screenshots / product mockups: soften pure-white imagery */
html[data-theme="dark"] .mk-browser-frame img,
html[data-theme="dark"] .mk-screenshot-item img,
html[data-theme="dark"] .mk-showcase-panel img {
    filter: brightness(0.92) contrast(1.02);
}

/* Mobile nav backdrop darker in dark mode */
html[data-theme="dark"] .mk-mobile-nav-backdrop {
    background: rgba(0, 0, 0, 0.65);
}

/* Form controls follow dark scheme */
html[data-theme="dark"] .mk-form input,
html[data-theme="dark"] .mk-form textarea,
html[data-theme="dark"] .mk-form select {
    color: var(--mk-text);
    background: var(--mk-surface);
}

html[data-theme="dark"] .mk-form input:focus,
html[data-theme="dark"] .mk-form textarea:focus,
html[data-theme="dark"] .mk-form select:focus {
    background: var(--mk-card-bg-elevated);
}

/* Before/after handle shadow on dark imagery */
html[data-theme="dark"] .mk-ba-handle {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

/* Error alert — standard dark danger tint */
html[data-theme="dark"] .mk-alert-error {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.4);
    color: #fca5a5;
}
