/**
 * 2026-11 makeover: a calmer, more readable site in line with the chat app (ui.infermatic.ai).
 * Inter for text, Fraunces (light) for headings, JetBrains Mono for small labels, navy background,
 * purple accents. Smaller type and buttons, more space. Removing this file reverts the look.
 */

:root {
    --mk-bg: #0b0c16;
    --mk-bg-deep: #08090f;
    --mk-surface: #11131f;
    --mk-surface-2: #161829;
    --mk-border: rgba(255, 255, 255, 0.08);
    --mk-border-strong: rgba(255, 255, 255, 0.14);
    --mk-text: rgba(255, 255, 255, 0.92);
    --mk-dim: rgba(255, 255, 255, 0.6);
    --mk-faint: rgba(255, 255, 255, 0.42);
    --mk-primary: #4434f5;
    --mk-primary-hover: #5546ff;
    --mk-lavender: #a69eff;
    --mk-radius: 10px;
    --mk-radius-card: 14px;
    --mk-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mk-serif: 'Fraunces', Georgia, serif;
    --mk-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --mk-wrap: 1120px;

    --body-font: var(--mk-font);
    --heading-font: var(--mk-serif);
    --color-theme-back: var(--mk-bg);
    --color-blue: var(--mk-primary);
}

/* ---------- Base ---------- */
body, button, input, select, textarea, .nav > li > a, .sc-features-table, .pricing-features-table { font-family: var(--mk-font) !important; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 15px; }
#main, #wrapper, body.page-template #main, body.page-template #wrapper { background-color: var(--mk-bg) !important; color: var(--mk-text); }
#main section.section { background-color: var(--mk-bg) !important; }

/* ---------- Header ---------- */
.header-wrapper, .header-main, .header-bg-color { background-color: rgba(11, 12, 22, 0.88) !important; backdrop-filter: saturate(1.4) blur(10px); }
.header-wrapper { border-bottom: 1px solid var(--mk-border); }
.header-nav > li > a, .nav > li > a { font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; }
.header-button a.button, .header-button .button {
    min-height: 0 !important; height: auto !important; line-height: 1 !important; padding: 10px 16px !important;
    border-radius: var(--mk-radius) !important; font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important;
    color: #fff !important; background-color: var(--mk-primary) !important; border-color: var(--mk-primary) !important;
}
.header-button a.button:hover { background-color: var(--mk-primary-hover) !important; }

/* ---------- Shared pieces ---------- */
.mk-eyebrow { margin: 0 0 10px !important; font: 500 11px/1.2 var(--mk-mono) !important; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mk-lavender) !important; }
.mk-btn, a.mk-btn, a.mk-btn:visited {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: var(--mk-radius);
    font: 600 14px/1 var(--mk-font); text-decoration: none !important; transition: background-color .15s, border-color .15s;
}
#main a.mk-btn-primary, #main a.mk-btn-primary:visited { color: #fff !important; background: var(--mk-primary); }
#main a.mk-btn-primary:hover, #main a.mk-btn-primary:focus { background: var(--mk-primary-hover); color: #fff !important; }
#main a.mk-btn-ghost, #main a.mk-btn-ghost:visited { color: var(--mk-text) !important; border: 1px solid var(--mk-border-strong); background: rgba(255, 255, 255, 0.03); }
#main a.mk-btn-ghost:hover, #main a.mk-btn-ghost:focus { border-color: rgba(166, 158, 255, 0.5); color: #fff !important; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-center { display: flex; justify-content: center; margin-top: 28px; }
#main a.mk-link, #main a.mk-link:visited { font-size: 14px; font-weight: 500; color: var(--mk-lavender) !important; text-decoration: none !important; }
#main a.mk-link:hover { color: #fff !important; }

/* Sections (home) */
#main section.mk-s > .section-content { max-width: var(--mk-wrap); margin: 0 auto; }
#main section.mk-s { padding: 72px 0 !important; border-top: 1px solid var(--mk-border); }
#main section.mk-s-hero { padding: 0 !important; border-top: 0; }
#main section.mk-s-tight { padding: 0 !important; border-top: 0; }
#main section.mk-s-hero > .section-content { max-width: none; }
.mk-s .col, .mk-s .col-inner { padding-bottom: 0 !important; }
.mk-section-head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.mk-section-head h2 { margin: 0 0 10px !important; font: 300 36px/1.15 var(--mk-serif) !important; letter-spacing: -0.02em; color: #fff !important; }
.mk-section-head p:not(.mk-eyebrow) { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--mk-dim); }

/* ---------- Hero: matrix kept, dimmed behind the text ---------- */
.mk-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; justify-content: center; background: #000; }
.mk-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.38; }
.mk-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11, 12, 22, 0.94) 0%, rgba(11, 12, 22, 0.75) 45%, rgba(11, 12, 22, 0.15) 100%),
        linear-gradient(180deg, rgba(11, 12, 22, 0) 70%, var(--mk-bg) 100%);
}
.mk-hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 96px 24px 88px; text-align: center; }
.mk-hero .mk-actions { justify-content: center; margin-top: 28px; }
#main a.mk-pill, #main a.mk-pill:visited {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 5px 12px 5px 5px; border-radius: 999px;
    font-size: 13px; line-height: 1.2; color: var(--mk-text) !important; text-decoration: none !important;
    border: 1px solid rgba(166, 158, 255, 0.3); background: rgba(68, 52, 245, 0.14);
}
.mk-pill span { padding: 3px 8px; border-radius: 999px; font: 600 10.5px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--mk-primary); }
#main a.mk-pill:hover { border-color: rgba(166, 158, 255, 0.6); }
h1.mk-hero-title { margin: 0 !important; font: 300 60px/1.05 var(--mk-serif) !important; letter-spacing: -0.03em; color: #fff !important; }
.mk-hero-slogan { margin: 10px 0 0 !important; font: italic 300 30px/1.2 var(--mk-serif) !important; color: var(--mk-lavender) !important; }
.mk-hero-text { margin: 20px auto 0 !important; max-width: 540px; font-size: 16.5px; line-height: 1.6; color: var(--mk-dim) !important; }

/* ---------- Facts strip ---------- */
.mk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 56px; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-card); background: var(--mk-surface); }
.mk-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; }
.mk-facts > div + div { border-left: 1px solid var(--mk-border); }
.mk-facts strong { font: 500 20px/1.2 var(--mk-font); color: #fff; letter-spacing: -0.01em; }
.mk-facts span { font-size: 13px; line-height: 1.45; color: var(--mk-dim); }

/* ---------- Compact model cards ---------- */
.infermatic-models.icpt-models-style-compact { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; justify-items: stretch; align-items: stretch; }
.icpt-mc { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-card); background: var(--mk-surface); transition: border-color .15s; }
.icpt-mc:hover { border-color: rgba(166, 158, 255, 0.35); }
.icpt-mc-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.icpt-mc-chips span { padding: 3px 7px; border-radius: 6px; font: 500 10.5px/1.3 var(--mk-mono); color: var(--mk-dim); background: rgba(255, 255, 255, 0.06); }
.icpt-mc-chips .icpt-mc-tier { color: #fff; background: rgba(68, 52, 245, 0.55); }
.icpt-mc-chips .icpt-mc-tier[data-tier='premium'] { background: rgba(255, 153, 0, 0.22); color: #ffc46b; }
.icpt-mc-chips .icpt-mc-tier[data-tier='free'] { background: rgba(178, 252, 188, 0.16); color: #b2fcbc; }
.icpt-mc-chips .icpt-mc-new { color: #b2fcbc; background: rgba(178, 252, 188, 0.1); }
h3.icpt-mc-name { margin: 2px 0 0 !important; font: 600 16px/1.3 var(--mk-font) !important; letter-spacing: -0.01em; color: #fff !important; }
p.icpt-mc-best { margin: 0 !important; font-size: 13.5px; line-height: 1.45; color: var(--mk-dim); }
.icpt-mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.icpt-mc-maker { font: 500 11px/1.2 var(--mk-mono); color: var(--mk-faint); }
#main a.icpt-models-item-hf, a.icpt-models-item-hf, a.icpt-models-item-hf:visited {
    display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 500; line-height: 1;
    color: var(--mk-lavender) !important; text-decoration: none !important;
}
a.icpt-models-item-hf:hover, a.icpt-models-item-hf:focus { color: #fff !important; }

/* ---------- Guide ---------- */
.mk-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#main a.mk-guide-item, #main a.mk-guide-item:visited {
    display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--mk-radius-card);
    border: 1px solid var(--mk-border); background: var(--mk-surface); text-align: left; text-decoration: none !important; color: #fff !important; transition: border-color .15s;
}
#main a.mk-guide-item:hover { border-color: rgba(166, 158, 255, 0.35); }
.mk-guide-item .mk-eyebrow { margin: 0 0 2px !important; }
.mk-guide-name { font: 600 15px/1.35 var(--mk-font); color: #fff; }
.mk-guide-desc { font-size: 13.5px; line-height: 1.45; color: var(--mk-dim); }

/* ---------- Two ways ---------- */
.mk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-card); background: var(--mk-surface); }
.mk-card h3 { margin: 0 !important; font: 600 18px/1.3 var(--mk-font) !important; color: #fff !important; }
.mk-card p { margin: 0 !important; font-size: 14.5px; line-height: 1.55; color: var(--mk-dim); }
.mk-card .mk-link { margin-top: auto; padding-top: 4px; }
pre.mk-code { margin: 4px 0 0 !important; padding: 14px 16px !important; border-radius: var(--mk-radius); border: 1px solid var(--mk-border); background: #07080d !important; overflow-x: auto; }
pre.mk-code code { font: 400 12.5px/1.6 var(--mk-mono) !important; color: #cfd2ff !important; background: none !important; white-space: pre; }

/* ---------- Features ---------- */
.mk-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.mk-features h3 { margin: 0 0 6px !important; font: 600 15.5px/1.3 var(--mk-font) !important; color: #fff !important; }
.mk-features p { margin: 0 !important; font-size: 14px; line-height: 1.55; color: var(--mk-dim); }
.mk-features > div { padding-left: 14px; border-left: 2px solid rgba(166, 158, 255, 0.35); }

/* ---------- Final CTA ---------- */
.mk-cta { padding: 48px 24px; text-align: center; border-radius: 18px; border: 1px solid rgba(166, 158, 255, 0.22);
    background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(68, 52, 245, 0.35), rgba(17, 19, 31, 0.9) 70%); }
.mk-cta h2 { margin: 0 0 8px !important; font: 300 34px/1.15 var(--mk-serif) !important; color: #fff !important; }
.mk-cta p { margin: 0 !important; color: var(--mk-dim); font-size: 15px; }
.mk-cta .mk-actions { justify-content: center; margin-top: 22px; }

/* ---------- Inner pages: smaller hero banners and buttons ---------- */
.banner h1 { font-family: var(--mk-serif) !important; font-weight: 300 !important; letter-spacing: -0.02em; }
a.button-big, a.button-large {
    padding: 12px 20px !important; border-radius: var(--mk-radius) !important; color: #fff !important; background: var(--mk-primary) !important; box-shadow: none !important;
}
a.button-big span, a.button-large span { font: 600 16px/1.2 var(--mk-font) !important; }
a.button-big:hover, a.button-large:hover { color: #fff !important; text-decoration: none !important; background: var(--mk-primary-hover) !important; }
[class*='button-featured'] { padding: 11px 18px !important; border-radius: var(--mk-radius) !important; font: 600 14px/1 var(--mk-font) !important; gap: 8px !important; }
[class*='button-featured']::after { width: 10px !important; height: 14px !important; background-size: contain !important; }
.not-box { border-radius: var(--mk-radius-card) !important; border: 1px solid var(--mk-border); background: var(--mk-surface) !important; }
#main h2.h-large, #main .h-large { font-family: var(--mk-serif) !important; font-weight: 300 !important; }

/* ---------- Pricing ---------- */
.sc-features-table { --color-bright-03: var(--mk-lavender); }
.pricing-plans h2 { font: 500 16px/1.3 var(--mk-font) !important; }
.pricing-plans h3 .amount { font: 300 48px/1.1 var(--mk-serif) !important; letter-spacing: -0.03em; margin-bottom: 4px !important; }
.pricing-plans h3 { font-size: 13px !important; color: var(--mk-dim) !important; }
.pricing-plans p { font-size: 12.5px !important; font-weight: 500 !important; }
.pricing-plans .highlighted-plan { background: linear-gradient(180deg, #1b1863 0%, #110e45 100%) !important; border: 1px solid rgba(166, 158, 255, 0.35) !important; }
.pricing-plans .pricing-pro { border: 1px solid var(--mk-border) !important; background: var(--mk-surface); }
.pricing-plans .pricing-eyebrow em { font: 500 10.5px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: 0.08em; font-style: normal; color: var(--mk-lavender); }
.pricing-plans a.pricing-cta, .pricing-plans a.pricing-cta:visited { padding: 11px 12px !important; border-radius: var(--mk-radius) !important; font-size: 13.5px !important; font-weight: 600; }
.pricing-plans a.pricing-cta:hover { text-decoration: none !important; filter: brightness(1.12); }
.pricing-glow-box { border-radius: var(--mk-radius-card); background: var(--mk-surface); border: 1px solid rgba(166, 158, 255, 0.25); box-shadow: none !important; }
.pricing-glow-box em { font-size: 15px !important; }
.pricing-plans .pricing-glow-box a.pricing-cta { border-radius: 8px !important; }
#pricing-plans { background-color: var(--mk-bg) !important; }
.pricing-features-table { font-size: 14px !important; }
.pricing-features-table [role="row"] { padding: 16px 20px !important; border-radius: 12px !important; }
.pricing-features-table .tbody [role="row"]:nth-child(odd) { background-color: var(--mk-surface) !important; }
.pricing-features-table .thead { background-color: var(--mk-bg) !important; }
@media screen and (max-width: 967px) {
    .pricing-features-table .tbody [role="row"]:nth-child(odd) { background-color: transparent !important; }
    .pricing-features-table .tbody [role="rowheader"] { background-color: var(--mk-surface) !important; }
}

/* ---------- Footer ---------- */
.footer-wrapper, .absolute-footer, .page-footer-decoration { background-color: var(--mk-bg-deep) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .infermatic-models.icpt-models-style-compact, .mk-guide, .mk-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-facts > div:nth-child(3) { border-left: 0; }
    .mk-facts > div:nth-child(n+3) { border-top: 1px solid var(--mk-border); }
}
@media (max-width: 640px) {
    .infermatic-models.icpt-models-style-compact, .mk-guide, .mk-features, .mk-two { grid-template-columns: 1fr; }
    #main section.mk-s { padding: 52px 0 !important; }
    .mk-hero { min-height: 480px; }
    .mk-hero-inner { padding: 72px 20px 64px; }
    h1.mk-hero-title { font-size: 40px !important; }
    .mk-hero-slogan { font-size: 22px !important; }
    .mk-hero-text { font-size: 15px; }
    .mk-section-head h2, .mk-cta h2 { font-size: 28px !important; }
}

pre.mk-code code { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.footer-wrapper .button, .footer-wrapper a.button { border-radius: var(--mk-radius) !important; font: 600 13.5px/1 var(--mk-font) !important; text-transform: none !important; letter-spacing: 0 !important; padding: 12px 18px !important; min-height: 0 !important; }
.footer-wrapper, .footer-wrapper a { font-size: 14px; }

/* ---------- Inner page header (models) ---------- */
#main section.mk-s-first { border-top: 0; padding-top: 88px !important; }
.mk-page-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.mk-page-head h1 { margin: 0 0 12px !important; font: 300 52px/1.08 var(--mk-serif) !important; letter-spacing: -0.03em; color: #fff !important; }
.mk-page-head p:not(.mk-eyebrow) { margin: 0 auto !important; max-width: 580px; font-size: 16px; line-height: 1.6; color: var(--mk-dim); }
.mk-page-head .mk-actions { justify-content: center; margin-top: 24px; }
.mk-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--mk-border); scroll-margin-top: 90px; }
.mk-s .col-inner > .mk-group-head:first-child, .mk-s .col-inner > div:first-child .mk-group-head { margin-top: 0; }
.mk-group-head h2 { margin: 0 !important; font: 600 18px/1.3 var(--mk-font) !important; color: #fff !important; letter-spacing: -0.01em; }
.mk-group-head p { margin: 0 !important; font-size: 13.5px; color: var(--mk-dim); }
#main .blog-posts .post-title, #main .box-text h5 { font-family: var(--mk-font) !important; }
@media (max-width: 640px) { .mk-page-head h1 { font-size: 38px !important; } #main section.mk-s-first { padding-top: 56px !important; } }

/* Phones: inner page banners and pricing cards */
@media (max-width: 810px) {
    .pricing-plans > div { grid-template-rows: auto !important; row-gap: 12px !important; padding: 20px 18px !important; }
    .pricing-plans .pricing-eyebrow:empty { display: none; }
    .pricing-plans .pricing-info { gap: 14px !important; }
    .pricing-plans .pricing-info h2 { font-size: 22px !important; }
    .pricing-plans h3 .amount { font-size: 40px !important; }
}
@media (max-width: 640px) {
    .banner h1 { font-size: 46px !important; line-height: 1.1 !important; }
    .mk-hero { min-height: 0; }
    .mk-hero-inner { padding: 56px 20px 56px; }
    .mk-facts { margin-bottom: 40px; }
}
.pricing-plans h3 .amount { color: #fff !important; }
@media (max-width: 810px) {
    .pricing-plans { grid-template-rows: none !important; grid-auto-rows: auto !important; row-gap: 12px !important; }
    .pricing-plans .pricing-info p { margin: 6px 0 0 !important; }
}

/* ---------- Home: privacy and speed ---------- */
#main section.mk-s-why { border-top: 0; padding-top: 24px !important; }
.mk-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 40px; border-radius: 20px;
    border: 1px solid rgba(166, 158, 255, 0.18);
    background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(68, 52, 245, 0.22), transparent 60%), var(--mk-surface); }
.mk-bots { display: flex; gap: 6px; margin-bottom: 18px; }
.mk-bots img { width: 34px; height: 34px; image-rendering: pixelated; }
.mk-why-intro h2 { margin: 0 0 12px !important; font: 300 40px/1.1 var(--mk-serif) !important; letter-spacing: -0.02em; color: #fff !important; }
.mk-why-intro > p:not(.mk-eyebrow) { margin: 0 !important; font-size: 15.5px; line-height: 1.6; color: var(--mk-dim); }
.mk-why-stats { display: flex; gap: 28px; margin: 26px 0 0; }
.mk-why-stats div { margin: 0; }
.mk-why-stats dt { font: 300 34px/1 var(--mk-serif); color: #fff; }
.mk-why-stats dd { margin: 6px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--mk-dim); max-width: 120px; }
.mk-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mk-why-item { --c: #a69eff; padding: 18px; border-radius: 14px; border: 1px solid var(--mk-border); background: rgba(8, 9, 15, 0.55); transition: border-color .15s; }
.mk-why-item:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.mk-why-item[data-c='green'] { --c: #b2fcbc; } .mk-why-item[data-c='pink'] { --c: #ffb0db; } .mk-why-item[data-c='yellow'] { --c: #fcfbae; }
.mk-why-item[data-c='sky'] { --c: #9de1fc; } .mk-why-item[data-c='peach'] { --c: #ffdda5; } .mk-why-item[data-c='lav'] { --c: #a69eff; }
.mk-why-item svg { width: 34px; height: 34px; padding: 7px; margin-bottom: 12px; border-radius: 9px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    background: color-mix(in srgb, var(--c) 12%, transparent); }
.mk-why-item h3 { margin: 0 0 4px !important; font: 600 15px/1.3 var(--mk-font) !important; color: #fff !important; }
.mk-why-item p { margin: 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
@media (max-width: 960px) { .mk-why { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
@media (max-width: 640px) { .mk-why-grid { grid-template-columns: 1fr; } .mk-why { padding: 22px; } .mk-why-intro h2 { font-size: 32px !important; } .mk-why-stats { gap: 18px; } }
@media (max-width: 640px) {
    .mk-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
    .mk-why-item { padding: 14px; }
    .mk-why-item svg { width: 28px; height: 28px; padding: 5px; margin-bottom: 8px; }
    .mk-why-item p { font-size: 12.5px; }
    .mk-why-stats dd { font-size: 11.5px; }
}

/* FAQ blocks (pricing, models): same type scale as the rest */
#main h2.font-h3 { font: 300 30px/1.2 var(--mk-serif) !important; letter-spacing: -0.02em !important; color: #fff !important; text-transform: none !important; }
#main ul.list-plain { margin-top: 12px !important; }
#main ul.list-plain li { margin: 0 !important; padding: 12px 0; border-bottom: 1px solid var(--mk-border); font-size: 15px !important; line-height: 1.4 !important; }
#main ul.list-plain li a, #main ul.list-plain li a:visited { color: rgba(255, 255, 255, 0.88) !important; text-decoration: none !important; }
#main ul.list-plain li a::after { content: ' \2192'; color: var(--mk-lavender); }
#main ul.list-plain li a:hover { color: #fff !important; }
.pp-table th, .pp-table td { text-transform: none !important; letter-spacing: 0 !important; }
.pp-table tbody th { font-size: 13.5px !important; }

/* ---------- v4: hero with a more present matrix ---------- */
.mk-hero { min-height: 600px; }
.mk-hero canvas { opacity: 0.7; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 42% at 50% 50%, rgba(11, 12, 22, 0.92) 0%, rgba(11, 12, 22, 0.6) 55%, rgba(11, 12, 22, 0) 100%),
        linear-gradient(180deg, rgba(11, 12, 22, 0) 75%, var(--mk-bg) 100%);
}
h1.mk-hero-title { font-size: 68px !important; }
.mk-hero-slogan { margin-top: 14px !important; font-size: 24px !important; line-height: 1.3 !important; }
.mk-why-wide { grid-column: 1 / -1; }

/* ---------- v4: tools ---------- */
.mk-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#main a.mk-tool, #main a.mk-tool:visited {
    --c: #a69eff; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--mk-radius-card);
    border: 1px solid var(--mk-border); background: var(--mk-surface); text-decoration: none !important; color: #fff !important; transition: border-color .15s, transform .15s;
}
#main a.mk-tool::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--c); margin-bottom: 6px; }
#main a.mk-tool:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-2px); }
.mk-tool[data-c='green'] { --c: #b2fcbc; } .mk-tool[data-c='pink'] { --c: #ffb0db; } .mk-tool[data-c='yellow'] { --c: #fcfbae; }
.mk-tool[data-c='sky'] { --c: #9de1fc; } .mk-tool[data-c='peach'] { --c: #ffdda5; } .mk-tool[data-c='lav'] { --c: #a69eff; }
.mk-tool h3 { margin: 0 !important; font: 600 15.5px/1.3 var(--mk-font) !important; color: #fff !important; }
.mk-tool p { margin: 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
.mk-tool-tag { position: absolute; top: 16px; right: 16px; padding: 2px 7px; border-radius: 6px; font: 500 10.5px/1.4 var(--mk-mono); color: var(--mk-lavender); background: rgba(166, 158, 255, 0.12); }

/* ---------- v4: plans strip ---------- */
.mk-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
#main a.mk-plan, #main a.mk-plan:visited {
    display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--mk-radius-card); border: 1px solid var(--mk-border);
    background: var(--mk-surface); text-decoration: none !important; color: #fff !important; transition: border-color .15s, transform .15s;
}
#main a.mk-plan:hover { border-color: rgba(166, 158, 255, 0.45); transform: translateY(-2px); }
#main a.mk-plan.is-featured { border-color: rgba(166, 158, 255, 0.45); background: linear-gradient(180deg, rgba(68, 52, 245, 0.25), var(--mk-surface) 70%); }
.mk-plan-name { display: flex; justify-content: space-between; gap: 6px; font: 500 11.5px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.85); }
.mk-plan-name em { font-style: normal; color: var(--mk-lavender); font-size: 9.5px; }
.mk-plan-price { font: 300 34px/1.1 var(--mk-serif); letter-spacing: -0.03em; }
.mk-plan-price small { font: 400 13px var(--mk-font); color: var(--mk-dim); margin-left: 2px; }
.mk-plan-desc { font-size: 13px; line-height: 1.4; color: var(--mk-dim); }

@media (max-width: 960px) { .mk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .mk-tools { grid-template-columns: 1fr; } .mk-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    h1.mk-hero-title { font-size: 44px !important; } .mk-hero-slogan { font-size: 19px !important; }
}

/* ---------- Promo (home): slides in after a few seconds ---------- */
.mk-promo { position: fixed; right: 20px; bottom: 20px; z-index: 9999; width: min(360px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 16px;
    border: 1px solid rgba(166, 158, 255, 0.35); background: radial-gradient(ellipse 90% 100% at 0% 0%, rgba(68, 52, 245, 0.35), transparent 70%), #12142a;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75); color: #fff; font-family: var(--mk-font);
    transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,.9,.3,1), opacity .35s; }
.mk-promo.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mk-promo-eyebrow { display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 999px; font: 600 10.5px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--mk-primary); }
.mk-promo h3 { margin: 0 0 6px !important; padding-right: 26px; font: 300 22px/1.2 var(--mk-serif) !important; color: #fff !important; }
.mk-promo p { margin: 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
.mk-promo .mk-promo-small { margin-top: 8px !important; font-size: 11.5px; color: var(--mk-faint); }
.mk-promo .mk-actions { margin-top: 14px; }
.mk-promo .mk-btn { padding: 10px 14px; font-size: 13.5px; }
.mk-promo a.mk-btn-primary { color: #fff !important; background: var(--mk-primary); }
.mk-promo button.mk-promo-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 8px;
    background: rgba(255,255,255,.06); color: #fff; font-size: 18px; line-height: 28px; cursor: pointer; }
.mk-promo button.mk-promo-close:hover { background: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce) { .mk-promo { transition: none; } }
.mk-tool > span { display: block; }
.mk-tool .mk-tool-name { font: 600 15.5px/1.3 var(--mk-font); color: #fff; }
.mk-tool .mk-tool-desc { font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
.mk-tool > span.mk-tool-tag { position: absolute; display: inline-block; }
#main a.mk-tool[data-c='green'] { --c: #b2fcbc; } #main a.mk-tool[data-c='pink'] { --c: #ffb0db; } #main a.mk-tool[data-c='yellow'] { --c: #fcfbae; }
#main a.mk-tool[data-c='sky'] { --c: #9de1fc; } #main a.mk-tool[data-c='peach'] { --c: #ffdda5; }

/* ======================= v5 ======================= */
/* Why: a clean list instead of boxes */
.mk-why-grid { display: none; }
ul.mk-why-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
li.mk-why-row { display: flex; align-items: flex-start; gap: 16px; margin: 0 !important; padding: 16px 0; border-bottom: 1px solid var(--mk-border); }
li.mk-why-row:first-child { padding-top: 0; }
li.mk-why-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mk-why-row { --c: #a69eff; }
.mk-why-row[data-c='green'] { --c: #b2fcbc; } .mk-why-row[data-c='pink'] { --c: #ffb0db; } .mk-why-row[data-c='yellow'] { --c: #fcfbae; }
.mk-why-row[data-c='sky'] { --c: #9de1fc; } .mk-why-row[data-c='lav'] { --c: #a69eff; }
.mk-why-row svg { flex: 0 0 auto; width: 38px; height: 38px; padding: 9px; border-radius: 10px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    background: color-mix(in srgb, var(--c) 13%, transparent); }
.mk-why-row-text > span { display: block; }
.mk-why-row-title { font: 600 16px/1.3 var(--mk-font); color: #fff; }
.mk-why-row-desc { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--mk-dim); }

/* Tools: buttons that open "how it works" */
.mk-tools button.mk-tool {
    --c: #a69eff; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-height: 0; margin: 0; padding: 20px 20px 18px;
    border-radius: var(--mk-radius-card); border: 1px solid var(--mk-border); background: var(--mk-surface); color: #fff; text-align: left; text-transform: none; letter-spacing: 0;
    font: inherit; line-height: inherit; cursor: pointer; box-shadow: none; transition: border-color .15s, transform .15s, background-color .15s;
}
.mk-tools button.mk-tool::before { content: none; }
.mk-tools button.mk-tool[data-c='green'] { --c: #b2fcbc; } .mk-tools button.mk-tool[data-c='pink'] { --c: #ffb0db; } .mk-tools button.mk-tool[data-c='yellow'] { --c: #fcfbae; }
.mk-tools button.mk-tool[data-c='sky'] { --c: #9de1fc; } .mk-tools button.mk-tool[data-c='peach'] { --c: #ffdda5; }
.mk-tools button.mk-tool:hover, .mk-tools button.mk-tool:focus-visible { border-color: color-mix(in srgb, var(--c) 50%, transparent); background: var(--mk-surface-2); transform: translateY(-2px); outline: none; }
.mk-tool .mk-tool-name { font: 600 16px/1.3 var(--mk-font); color: #fff; }
.mk-slash { margin-left: 6px; font: 700 18px/1 var(--mk-mono); color: var(--c); }
.mk-tool .mk-tool-desc { font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
.mk-tool-more { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
.mk-tool:hover .mk-tool-more, .mk-tool:focus-visible .mk-tool-more { opacity: 1; transform: none; }
@media (hover: none) { .mk-tool-more { opacity: 1; transform: none; } }

/* Tool "how it works" panel */
.mk-tool-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 28px; border-radius: 18px; border: 1px solid rgba(166,158,255,.25);
    background: #12142a; color: #fff; font-family: var(--mk-font); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.mk-tool-dialog::backdrop { background: rgba(5,6,12,.7); backdrop-filter: blur(4px); }
.mk-tool-dialog .mk-td-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 8px;
    background: rgba(255,255,255,.06); color: #fff; font-size: 20px; line-height: 32px; cursor: pointer; }
.mk-tool-dialog .mk-td-bar { width: 36px; height: 4px; border-radius: 4px; background: var(--c, #a69eff); margin-bottom: 14px; }
.mk-tool-dialog h3 { margin: 0 0 6px; padding-right: 36px; font: 300 30px/1.15 var(--mk-serif); letter-spacing: -0.02em; color: #fff; }
.mk-tool-dialog .mk-td-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mk-dim); }
.mk-tool-dialog .mk-td-media { margin-top: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--mk-border); }
.mk-tool-dialog .mk-td-media img { display: block; width: 100%; height: auto; }
.mk-tool-dialog ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.mk-tool-dialog ol li { counter-increment: step; display: flex; gap: 12px; margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.85); }
.mk-tool-dialog ol li::before { content: counter(step); flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
    font: 600 12px var(--mk-mono); color: #0b0c16; background: var(--c, #a69eff); }
.mk-tool-dialog pre { margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--mk-border); background: #07080d; overflow-x: auto;
    font: 400 12.5px/1.6 var(--mk-mono); color: #cfd2ff; white-space: pre; }
.mk-tool-dialog .mk-actions { margin-top: 24px; }
.mk-tool-dialog a.mk-btn-primary { color: #fff !important; background: var(--mk-primary); }

/* Plans on the home page: three main plans on top, the rest below */
.mk-plans { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px; }
#main a.mk-plan { padding: 22px; gap: 8px; }
.mk-plan-price { font-size: 42px !important; }
.mk-plan-point { display: block; font-size: 13.5px; color: rgba(255,255,255,.85); }
.mk-plan-point::before { content: '\2713'; margin-right: 8px; color: var(--mk-lavender); }
.mk-plans-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
#main a.mk-plan-small, #main a.mk-plan-small:visited { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 18px;
    border-radius: var(--mk-radius-card); border: 1px dashed var(--mk-border-strong); color: #fff !important; text-decoration: none !important; transition: border-color .15s; }
#main a.mk-plan-small:hover { border-color: rgba(166,158,255,.5); border-style: solid; }
.mk-plan-small-desc { font-size: 13px; color: var(--mk-dim); }
.mk-plan-small-price { font: 300 22px/1 var(--mk-serif); }
.mk-plan-small-price small { font: 400 12px var(--mk-font); color: var(--mk-dim); }
@media (max-width: 960px) { .mk-plans, .mk-plans-small { grid-template-columns: 1fr !important; } }

/* Promo in the Infersound neon */
.mk-promo { background: #d4ff3a !important; border: 0 !important; color: #0b0c16 !important; box-shadow: 0 24px 60px -16px rgba(212, 255, 58, 0.35), 0 10px 30px rgba(0,0,0,.5) !important; }
.mk-promo .mk-promo-eyebrow { background: #0b0c16; color: #d4ff3a; }
.mk-promo h3 { color: #0b0c16 !important; font-weight: 400 !important; }
.mk-promo p { color: rgba(11, 12, 22, 0.78) !important; }
.mk-promo .mk-promo-small { color: rgba(11, 12, 22, 0.6) !important; }
.mk-promo a.mk-btn-primary { background: #0b0c16 !important; color: #d4ff3a !important; }
.mk-promo a.mk-btn-primary:hover { background: #1b1d33 !important; }
.mk-promo button.mk-promo-close { background: rgba(11, 12, 22, 0.08); color: #0b0c16; }
.mk-promo button.mk-promo-close:hover { background: rgba(11, 12, 22, 0.16); }
.mk-tool-dialog pre { white-space: pre-wrap !important; word-break: break-all; background: #07080d !important; color: #cfd2ff !important; }

/* ======================= v6 ======================= */
/* Why rows: pixel markers in the brand colors instead of icons */
.mk-pix { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; margin-top: 5px; }
.mk-pix i { width: 7px; height: 7px; background: var(--c); }
.mk-pix i:nth-child(2) { opacity: .45; } .mk-pix i:nth-child(3) { opacity: .7; } .mk-pix i:nth-child(4) { opacity: .25; }
li.mk-why-row { gap: 14px; padding: 18px 0; }

/* Tools: a colored slash band across the end of each card */
.mk-tools button.mk-tool { overflow: hidden; padding-right: 64px; }
.mk-tools button.mk-tool::after {
    content: ''; position: absolute; top: -20%; bottom: -20%; right: -46px; width: 120px; pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--c) 55%, transparent) 100%);
    transform: skewX(-22deg); opacity: .35; transition: opacity .2s, right .2s;
}
.mk-tools button.mk-tool:hover::after, .mk-tools button.mk-tool:focus-visible::after { opacity: .7; right: -30px; }
.mk-tool .mk-tool-tag { right: 64px !important; z-index: 1; }
.mk-tool > span { position: relative; z-index: 1; }

/* Home plans: 3 on top, 2 below, same card; Enterprise as one line */
.mk-plans { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.mk-plans > a.mk-plan { grid-column: span 2; }
.mk-plans > a.mk-plan:nth-child(n+4) { grid-column: span 3; }
.mk-plans-small { display: none !important; }
#main a.mk-enterprise-line, #main a.mk-enterprise-line:visited {
    display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 18px; border-radius: var(--mk-radius-card);
    border: 1px dashed var(--mk-border-strong); color: var(--mk-dim) !important; text-decoration: none !important; font-size: 14px;
}
.mk-enterprise-line .mk-link { margin-left: auto; color: var(--mk-lavender); font-weight: 500; }
#main a.mk-enterprise-line:hover { border-color: rgba(166,158,255,.5); }
@media (max-width: 960px) { .mk-plans > a.mk-plan, .mk-plans > a.mk-plan:nth-child(n+4) { grid-column: 1 / -1; } .mk-enterprise-line { flex-wrap: wrap; } }
.mk-tools button.mk-tool::after {
    right: -34px; width: 74px; opacity: .55;
    background: linear-gradient(180deg, var(--c) 0%, color-mix(in srgb, var(--c) 35%, transparent) 100%);
}
.mk-tools button.mk-tool:hover::after, .mk-tools button.mk-tool:focus-visible::after { opacity: .9; right: -24px; }

/* v7: matrix rain in each tool card, where the slash band was */
.mk-tools button.mk-tool::after { content: none !important; }
.mk-tool-rain { position: absolute; top: 0; right: 0; bottom: 0; width: 110px; pointer-events: none; z-index: 0; opacity: .45;
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
    transition: opacity .2s; }
.mk-tools button.mk-tool:hover .mk-tool-rain, .mk-tools button.mk-tool:focus-visible .mk-tool-rain { opacity: .8; }
.mk-tool-rain { height: 100% !important; }
.mk-tool .mk-tool-tag { background: rgba(17, 19, 31, 0.85) !important; }

/* ======================= v8 ======================= */
/* Smaller plan cards on the home page */
.mk-plans, .mk-enterprise-line { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.mk-plans { gap: 10px !important; }
#main a.mk-plan { padding: 16px 18px !important; gap: 5px !important; }
.mk-plan-price { font-size: 30px !important; }
.mk-plan-desc { font-size: 12.5px !important; }
.mk-plan-point { font-size: 12.5px !important; }
.mk-plan-name { font-size: 10.5px !important; }
#main a.mk-enterprise-line { margin-top: 10px; padding: 10px 16px; font-size: 13px; }

/* Help section */
.mk-help { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.mk-help-ask { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px; border: 1px solid rgba(166,158,255,.22);
    background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(68, 52, 245, 0.25), transparent 65%), var(--mk-surface); }
.mk-help-title { font: 300 28px/1.15 var(--mk-serif); color: #fff; }
.mk-help-text { font-size: 14px; line-height: 1.5; color: var(--mk-dim); }
form.mk-ask-form { display: flex; gap: 8px; margin: 6px 0 0 !important; }
form.mk-ask-form input[type=text] { flex: 1; height: 42px !important; margin: 0 !important; padding: 0 12px !important; border-radius: 10px !important;
    border: 1px solid var(--mk-border-strong) !important; background: rgba(8,9,15,.6) !important; color: #fff !important; font: 400 14px var(--mk-font) !important; box-shadow: none !important; }
form.mk-ask-form input[type=text]:focus { border-color: rgba(166,158,255,.6) !important; outline: none; }
form.mk-ask-form button { height: 42px; min-height: 0; margin: 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--mk-primary); color: #fff;
    font: 600 14px/1 var(--mk-font); text-transform: none; letter-spacing: 0; cursor: pointer; }
form.mk-ask-form button:hover { background: var(--mk-primary-hover); }
.mk-help-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 8px; }
#main .mk-help-links a { font-size: 13px; color: var(--mk-lavender) !important; text-decoration: none !important; }
#main .mk-help-links a:hover { color: #fff !important; }
.mk-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: 100%; }
#main a.mk-guide-post, #main a.mk-guide-post:visited { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; border-radius: 14px; border: 1px solid var(--mk-border);
    background: var(--mk-surface); color: #fff !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
#main a.mk-guide-post:hover { border-color: rgba(166,158,255,.4); transform: translateY(-2px); }
.mk-guide-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 9px; background: #1a1c30 center / cover no-repeat; }
.mk-guide-thumb.is-empty { background: linear-gradient(135deg, rgba(68,52,245,.35), rgba(166,158,255,.08)); }
.mk-guide-meta { margin-top: 4px; padding: 0 4px; font: 500 10.5px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mk-faint); }
.mk-guide-title { padding: 0 4px; font: 600 14px/1.35 var(--mk-font); color: #fff; }
@media (max-width: 960px) { .mk-help { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mk-guides { grid-template-columns: 1fr; } form.mk-ask-form { flex-direction: column; } }

/* Ask Svak page */
.mk-ask-head form.mk-ask-form { max-width: 560px; margin: 22px auto 0 !important; }
.mk-ask-card { max-width: 760px; margin: 0 auto; padding: 26px 28px; border-radius: 16px; border: 1px solid var(--mk-border); background: var(--mk-surface); }
.ask-answer { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.88); }
.ask-answer h3, .ask-answer h4 { margin: 18px 0 8px !important; font: 600 17px/1.35 var(--mk-font) !important; color: #fff !important; }
.ask-answer p { margin: 0 0 12px !important; }
.ask-answer ul, .ask-answer ol { margin: 0 0 12px 1.2em !important; }
.ask-answer code { padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.08); font: 13px var(--mk-mono); }
.ask-answer pre { padding: 12px 14px; border-radius: 10px; background: #07080d; overflow-x: auto; }
.ask-answer a { color: var(--mk-lavender) !important; }
.ask-loading { color: var(--mk-dim); animation: mkpulse 1.4s ease-in-out infinite; }
@keyframes mkpulse { 50% { opacity: .4; } }
.ask-error { color: #ffc46b; }
p.mk-ask-note { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--mk-border); font-size: 12.5px; color: var(--mk-faint); }
#main section[id^="section_"] .mk-ask-card + p { display: none; }

/* ======================= v9: help section ======================= */
.mk-help-ask { max-width: 680px; margin: 0 auto 18px; align-items: center; text-align: center; padding: 28px 28px 30px; }
.mk-help-ask form.mk-ask-form { width: 100%; max-width: 520px; }
.mk-help-media { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; margin-bottom: 28px; }
.mk-help-video { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--mk-border); background: var(--mk-surface); }
.mk-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.mk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#main a.mk-help-row-link { display: flex; justify-content: space-between; padding: 4px 8px 6px; font-size: 13.5px; color: var(--mk-dim) !important; text-decoration: none !important; }
#main a.mk-help-row-link span:last-child { color: var(--mk-lavender); font-weight: 500; }
#main a.mk-help-row-link:hover span:last-child { color: #fff; }
#main a.mk-docs-card, #main a.mk-docs-card:visited { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--mk-border); background: var(--mk-surface);
    overflow: hidden; color: #fff !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
#main a.mk-docs-card:hover { border-color: rgba(166,158,255,.45); transform: translateY(-2px); }
.mk-docs-shot { display: block; aspect-ratio: 16 / 9; background: #0b0c16 top center / cover no-repeat; border-bottom: 1px solid var(--mk-border); }
.mk-docs-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.mk-docs-body > span { display: block; }
.mk-docs-links { display: flex !important; flex-wrap: wrap; gap: 6px; }
.mk-docs-links span { padding: 3px 8px; border-radius: 6px; font: 500 11px/1.4 var(--mk-mono); color: var(--mk-dim); background: rgba(255,255,255,.06); }
.mk-docs-body .mk-link { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--mk-lavender); }
.mk-help-guides-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.mk-help-guides-head .mk-help-title { font-size: 22px; }
.mk-guides { height: auto; }
@media (max-width: 960px) { .mk-help-media { grid-template-columns: 1fr; } }

/* Models page FAQ */
.mk-faq { max-width: 860px; margin: 0 auto; }
.mk-faq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Contact page */
.mk-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#main a.mk-contact-card, #main a.mk-contact-card:visited {
    --c: #a69eff; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--mk-border); background: var(--mk-surface); color: #fff !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
#main a.mk-contact-card::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--c); margin-bottom: 4px; }
#main a.mk-contact-card[data-c='green'] { --c: #b2fcbc; } #main a.mk-contact-card[data-c='sky'] { --c: #9de1fc; } #main a.mk-contact-card[data-c='peach'] { --c: #ffdda5; }
#main a.mk-contact-card:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-2px); }
.mk-contact-card > span { display: block; }
.mk-contact-name { font: 600 17px/1.3 var(--mk-font); color: #fff; }
.mk-contact-desc { font-size: 13.5px; line-height: 1.5; color: var(--mk-dim); }
.mk-contact-card .mk-link { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--c); }
.mk-contact-form { max-width: 640px; margin: 0 auto; }
.mk-contact-form .wpcf7 { padding: 26px; border-radius: 16px; border: 1px solid var(--mk-border); background: var(--mk-surface); }
.mk-contact-form .wpcf7 label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.mk-contact-form .wpcf7 input[type=text], .mk-contact-form .wpcf7 input[type=email], .mk-contact-form .wpcf7 textarea {
    width: 100%; margin: 4px 0 14px !important; padding: 10px 12px !important; height: auto !important; border-radius: 10px !important;
    border: 1px solid var(--mk-border-strong) !important; background: rgba(8,9,15,.6) !important; color: #fff !important; font: 400 14px var(--mk-font) !important; box-shadow: none !important; }
.mk-contact-form .wpcf7 textarea { min-height: 140px; }
.mk-contact-form .wpcf7 input:focus, .mk-contact-form .wpcf7 textarea:focus { border-color: rgba(166,158,255,.6) !important; outline: none; }
.mk-contact-form .wpcf7 input[type=submit] { min-height: 0; margin: 0; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--mk-primary); color: #fff;
    font: 600 14px/1 var(--mk-font); text-transform: none; letter-spacing: 0; cursor: pointer; }
.mk-contact-form .wpcf7 input[type=submit]:hover { background: var(--mk-primary-hover); }
.mk-contact-form .wpcf7 p { margin: 0 !important; }
@media (max-width: 960px) { .mk-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mk-contact-grid { grid-template-columns: 1fr; } }

/* v10: smaller help cards */
.mk-help-media, .mk-help-guides-head, .mk-s .mk-guides { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.mk-help-media { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
.mk-help-video { padding: 8px; gap: 6px; }
#main a.mk-help-row-link { font-size: 12.5px; }
.mk-docs-shot { aspect-ratio: 16 / 8; }
.mk-docs-body { padding: 14px 16px 16px; gap: 6px; }
.mk-docs-body .mk-help-title { font-size: 20px; }
.mk-docs-body .mk-help-text { font-size: 12.5px; }
.mk-docs-links span { font-size: 10px; padding: 2px 6px; }
.mk-help-guides-head .mk-help-title { font-size: 19px; }
.mk-s .mk-guides { gap: 10px; }
#main a.mk-guide-post { padding: 8px 8px 12px; gap: 4px; }
.mk-guide-thumb { aspect-ratio: 16 / 8; }
.mk-guide-title { font-size: 13px; }
.mk-help-ask { max-width: 600px; padding: 22px 24px 24px; }
.mk-help-ask .mk-help-title { font-size: 24px; }
/* v10b: compact guides (small thumbnail + title) and a narrower media row */
.mk-help-media, .mk-help-guides-head, .mk-s .mk-guides { max-width: 780px; }
.mk-s .mk-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#main a.mk-guide-post { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 8px; }
.mk-guide-thumb { grid-row: 1 / 3; width: 64px; aspect-ratio: 1 / 1 !important; border-radius: 8px; }
.mk-guide-meta { margin: 0; padding: 0; font-size: 9.5px; align-self: end; }
.mk-guide-title { padding: 0; font-size: 12.5px; line-height: 1.3; align-self: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .mk-s .mk-guides { grid-template-columns: 1fr; } }

/* v11: shorter hero so "Built for privacy and speed" shows right away */
.mk-hero { min-height: 400px !important; }
.mk-hero-inner { padding: 64px 24px 56px !important; }
.mk-hero .mk-actions { margin-top: 24px; }
#main section.mk-s-why { padding-top: 8px !important; }
@media (max-width: 640px) { .mk-hero { min-height: 0 !important; } .mk-hero-inner { padding: 48px 20px 44px !important; } }

/* v12: the matrix keeps falling behind the top of the "Built for privacy" card */
.mk-hero-inner { padding-bottom: 210px !important; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 36% at 50% 32%, rgba(11, 12, 22, 0.92) 0%, rgba(11, 12, 22, 0.6) 55%, rgba(11, 12, 22, 0) 100%),
        linear-gradient(180deg, rgba(11, 12, 22, 0) 55%, rgba(11, 12, 22, 0.75) 82%, var(--mk-bg) 100%) !important;
}
#main section.mk-s-why { position: relative; z-index: 3; margin-top: -170px !important; background: transparent !important; }
#main section.mk-s-why .section-bg { display: none; }
.mk-why { background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(68, 52, 245, 0.22), transparent 60%), rgba(17, 19, 31, 0.82) !important;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
@media (max-width: 640px) { .mk-hero-inner { padding-bottom: 150px !important; } #main section.mk-s-why { margin-top: -110px !important; } }

/* v13: a bit more space between the hero and the card, and a slightly smaller card */
#main section.mk-s-why { margin-top: -120px !important; }
.mk-why { max-width: 980px; margin: 0 auto; padding: 30px 34px !important; gap: 32px !important; }
.mk-why-intro h2 { font-size: 34px !important; }
.mk-bots { margin-bottom: 14px; }
.mk-bots img { width: 28px; height: 28px; }
li.mk-why-row { padding: 13px 0 !important; }
li.mk-why-row:first-child { padding-top: 0 !important; }
.mk-why-row-title { font-size: 15px; }
.mk-why-row-desc { font-size: 13.5px; }
@media (max-width: 640px) { #main section.mk-s-why { margin-top: -80px !important; } }

/* ======================= v14: brighter, less gloomy ======================= */
:root {
    --mk-bg: #141633;
    --mk-bg-deep: #0f1129;
    --mk-surface: #1d2048;
    --mk-surface-2: #252964;
    --mk-border: rgba(180, 175, 255, 0.14);
    --mk-border-strong: rgba(190, 185, 255, 0.24);
    --mk-text: rgba(255, 255, 255, 0.95);
    --mk-dim: rgba(232, 232, 255, 0.74);
    --mk-faint: rgba(220, 220, 255, 0.55);
}
/* soft color glows so the page does not read as one flat dark block */
#main { background:
    radial-gradient(900px 600px at 85% 18%, rgba(68, 52, 245, 0.22), transparent 70%),
    radial-gradient(800px 600px at 10% 42%, rgba(157, 225, 252, 0.08), transparent 70%),
    radial-gradient(900px 700px at 90% 68%, rgba(255, 176, 219, 0.07), transparent 70%),
    radial-gradient(900px 700px at 15% 92%, rgba(68, 52, 245, 0.18), transparent 70%),
    var(--mk-bg) !important; }
#main section.section { background-color: transparent !important; }
#main section.mk-s { border-top-color: rgba(180, 175, 255, 0.10); }
.header-wrapper, .header-main, .header-bg-color { background-color: rgba(20, 22, 51, 0.9) !important; }
.footer-wrapper, .absolute-footer, .page-footer-decoration { background-color: var(--mk-bg-deep) !important; }

/* hero: matrix a little brighter, softer veil */
.mk-hero { background: #0d0f26; }
.mk-hero canvas { opacity: 0.85; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 36% at 50% 32%, rgba(20, 22, 51, 0.88) 0%, rgba(20, 22, 51, 0.5) 55%, rgba(20, 22, 51, 0) 100%),
        linear-gradient(180deg, rgba(20, 22, 51, 0) 55%, rgba(20, 22, 51, 0.7) 82%, var(--mk-bg) 100%) !important;
}
.mk-why { background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(68, 52, 245, 0.32), transparent 60%), rgba(29, 32, 72, 0.88) !important; }

/* cards and panels: lighter surfaces */
.mx { --mx-bg: #1d2048; --mx-bg-2: #252964; --mx-border: rgba(180, 175, 255, 0.14); --mx-dim: rgba(232, 232, 255, 0.74); --mx-faint: rgba(220, 220, 255, 0.55); }
.mx-dialog, .mk-tool-dialog { background: #1d2048 !important; }
.pp { --pp-bg: #1d2048; --pp-border: rgba(180, 175, 255, 0.14); --pp-dim: rgba(232, 232, 255, 0.74); --pp-faint: rgba(220, 220, 255, 0.55); }
.pp-table thead th { background: rgba(255, 255, 255, 0.04) !important; }
pre.mk-code, .mk-tool-dialog pre { background: #10122c !important; }
form.mk-ask-form input[type=text], .mk-contact-form .wpcf7 input[type=text], .mk-contact-form .wpcf7 input[type=email], .mk-contact-form .wpcf7 textarea { background: rgba(15, 17, 41, 0.7) !important; }
.mk-tool-rain { opacity: .55; }
#main .mx { --mx-bg: #1d2048; --mx-bg-2: #252964; --mx-border: rgba(180, 175, 255, 0.14); --mx-dim: rgba(232, 232, 255, 0.74); --mx-faint: rgba(220, 220, 255, 0.55); }
#main .pp { --pp-bg: #1d2048; --pp-border: rgba(180, 175, 255, 0.14); --pp-dim: rgba(232, 232, 255, 0.74); --pp-faint: rgba(220, 220, 255, 0.55); }
body .mx-dialog { --mx-bg: #1d2048; background: #1d2048 !important; }

/* v15: darker header, darker bands for tools and plans, no grey dividers */
.header-wrapper, .header-main, .header-bg-color { background-color: rgba(9, 10, 24, 0.96) !important; }
.header-wrapper { border-bottom-color: rgba(255, 255, 255, 0.06) !important; }
#main section.mk-s, #main section.mk-s-why { border-top: 0 !important; }
#main section.mk-s-dark { background-color: #0d0f25 !important; }
#main section.mk-s-dark + section.mk-s-dark { padding-top: 0 !important; }

/* v16: the dark band becomes the page background; only Help and the closing section keep the indigo with glows.
   The "Built for privacy" card keeps its own lighter color. */
#main { background: #0d0f25 !important; }
#main section.mk-s-dark { background-color: transparent !important; }
#main section.mk-s-light { background:
    radial-gradient(900px 500px at 85% 10%, rgba(68, 52, 245, 0.25), transparent 70%),
    radial-gradient(800px 500px at 10% 60%, rgba(255, 176, 219, 0.07), transparent 70%),
    radial-gradient(900px 600px at 50% 100%, rgba(68, 52, 245, 0.2), transparent 70%),
    #141633 !important; }
#main section.mk-s-light + section.mk-s-light { padding-top: 0 !important; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 36% at 50% 32%, rgba(13, 15, 37, 0.88) 0%, rgba(13, 15, 37, 0.5) 55%, rgba(13, 15, 37, 0) 100%),
        linear-gradient(180deg, rgba(13, 15, 37, 0) 55%, rgba(13, 15, 37, 0.7) 82%, #0d0f25 100%) !important;
}

/* v17: Help and the closing call to action share one section; the closing text is not in a card */
#main section.mk-s-light .mk-cta { margin-top: 72px; padding: 24px 24px 8px; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none; }

/* v18: pixel bots running (and one waving) under "Ready when you are" */
.mk-parade { position: relative; height: 64px; margin: 36px auto 0; max-width: 900px; overflow: hidden; }
.mk-parade::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: linear-gradient(90deg, transparent, rgba(166,158,255,.35), transparent); }
.mk-parade img { position: absolute; bottom: 8px; width: 32px; height: 32px; image-rendering: pixelated; }
.mk-walker { left: -40px; animation: mkwalk 14s linear infinite, mkhop .5s steps(2) infinite; }
.mk-walker.w2 { animation-delay: -2.8s, -.1s; } .mk-walker.w3 { animation-delay: -5.6s, -.25s; }
.mk-walker.w4 { animation-delay: -8.4s, -.15s; } .mk-walker.w5 { animation-delay: -11.2s, -.35s; animation-duration: 16s, .45s; }
@keyframes mkwalk { from { left: -40px; } to { left: calc(100% + 40px); } }
@keyframes mkhop { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
.mk-waver { left: calc(50% - 16px); bottom: 10px; transform-origin: 50% 100%; animation: mkwave 1.6s ease-in-out infinite; }
@keyframes mkwave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) { .mk-walker, .mk-waver { animation: none; } .mk-walker { display: none; } }

/* v18: footer */
.footer-wrapper, .footer-wrapper .section, .absolute-footer { background: #0a0b1c !important; }
.footer-wrapper .section { padding: 0 !important; }
.mk-footer { max-width: 1120px; margin: 0 auto; padding: 48px 24px 0; font-family: var(--mk-font); }
.mk-footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; }
.mk-footer-logo img { width: 120px; height: auto; opacity: .9; }
.mk-footer-brand p { margin: 12px 0 0 !important; max-width: 300px; font-size: 13.5px; line-height: 1.55; color: var(--mk-dim); }
.mk-footer-col { display: flex; flex-direction: column; gap: 10px; }
.mk-footer-head { margin-bottom: 4px; font: 500 11px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mk-lavender); }
.mk-footer a, .mk-footer a:visited { font-size: 14px; color: rgba(232, 232, 255, 0.8) !important; text-decoration: none !important; }
.mk-footer a:hover { color: #fff !important; }
.mk-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; color: var(--mk-faint); }
.mk-footer-social { display: flex; gap: 14px; }
.mk-footer-social svg { width: 20px; height: 20px; fill: rgba(232, 232, 255, 0.7); transition: fill .15s; }
.mk-footer-social a:hover svg { fill: #fff; }
@media (max-width: 760px) { .mk-footer-top { grid-template-columns: 1fr 1fr; } .mk-footer-brand { grid-column: 1 / -1; } }
/* the logo PNG has transparent padding (102px of 666 on the left): pull it back so it lines up with the text */
.mk-footer-logo { display: inline-block; }
.mk-footer-logo img { width: 160px !important; max-width: none; margin: -6px 0 -6px -24.5px; }

/* v19: bots walk on the footer's top line, moving arms and legs (4-frame pixel sprites) */
#main section.mk-s-light { padding-bottom: 0 !important; }
.mk-cta { padding-bottom: 0 !important; }
.mk-parade { height: 58px; margin: 40px auto 0; max-width: none; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.mk-parade::after { content: none; }
.mk-parade img { display: none; }
.mk-parade span { position: absolute; bottom: 0; width: 38px; height: 38px; background-repeat: no-repeat; background-size: 152px 38px; image-rendering: pixelated; }
.mk-walker { left: -40px; animation: mkwalk 18s linear infinite, mkframes .6s steps(4) infinite; }
.mk-walker.w2 { animation-delay: -3.6s, -.15s; } .mk-walker.w3 { animation-delay: -7.2s, -.3s; }
.mk-walker.w4 { animation-delay: -10.8s, -.45s; } .mk-walker.w5 { animation-delay: -14.4s, -.2s; animation-duration: 21s, .55s; }
.mk-waver { left: calc(50% - 19px); animation: mkframes .9s steps(4) infinite; }
@keyframes mkframes { from { background-position: 0 0; } to { background-position: -152px 0; } }
@keyframes mkwalk { from { left: -40px; } to { left: calc(100% + 40px); } }
.footer-wrapper { border-top: 1px solid rgba(166, 158, 255, 0.4) !important; box-shadow: 0 -1px 18px rgba(166, 158, 255, 0.15); position: relative; }
@media (prefers-reduced-motion: reduce) { .mk-walker { display: none; } .mk-waver { animation: none; } }

/* v19: home plan cards darker than the band, with a stronger border on hover */
#main a.mk-plan, #main a.mk-plan:visited { background: #080919 !important; border-color: rgba(166, 158, 255, 0.16) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
#main a.mk-plan.is-featured { background: linear-gradient(180deg, rgba(68, 52, 245, 0.28), #080919 70%) !important; border-color: rgba(166, 158, 255, 0.5) !important; }
#main a.mk-plan:hover { border-color: #a69eff !important; box-shadow: 0 0 0 1px #a69eff, 0 10px 34px -8px rgba(124, 108, 255, 0.55); transform: translateY(-2px); }
#main a.mk-enterprise-line { background: #080919; border-color: rgba(166, 158, 255, 0.2) !important; }
#main a.mk-enterprise-line:hover { border-color: #a69eff !important; border-style: solid; }

/* ======================= v20 ======================= */
/* Bots driven by JS (functions.php): walk / wave / jump / turn, speech bubble on hover */
.mk-parade { height: 96px; margin-top: 24px; overflow: visible; }
.mk-parade > span.mk-walker, .mk-parade > span.mk-waver { display: none !important; }
.mk-bot { position: absolute; left: 0; bottom: 0; width: 38px; height: 42px; cursor: pointer; z-index: 2;
    background: var(--walk) 0 0 / 152px 42px no-repeat; image-rendering: pixelated; will-change: transform; }
.mk-bot.is-walk { animation: mkframes4 .52s steps(4) infinite; }
.mk-bot.is-wave { background-image: var(--wave); background-size: 228px 42px; animation: mkframes6 .9s steps(6) infinite; }
.mk-bot.is-idle, .mk-bot.is-still { animation: none; background-position: 0 0; }
.mk-bot.is-jump { animation: mkframes4 .52s steps(4) infinite, mkjump .5s cubic-bezier(.3,.7,.4,1) 1; }
@keyframes mkframes4 { from { background-position: 0 0; } to { background-position: -152px 0; } }
@keyframes mkframes6 { from { background-position: 0 0; } to { background-position: -228px 0; } }
@keyframes mkjump { 0%, 100% { margin-bottom: 0; } 45% { margin-bottom: 22px; } }
.mk-bubble { position: absolute; left: 50%; bottom: calc(100% + 10px); white-space: nowrap; padding: 7px 10px; border-radius: 8px;
    font: 500 11.5px/1.2 var(--mk-mono); color: #0b0c2c; background: #d4ff3a; box-shadow: 0 6px 18px rgba(0,0,0,.35);
    opacity: 0; pointer-events: none; transition: opacity .15s; }
.mk-bubble::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #d4ff3a; }
.mk-bot.is-talking .mk-bubble { opacity: 1; }

/* Richer, less pale colors */
#main { background: #0b0c2c !important; }
.mk-hero { background: #08091f; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 36% at 50% 32%, rgba(11, 12, 44, 0.88) 0%, rgba(11, 12, 44, 0.5) 55%, rgba(11, 12, 44, 0) 100%),
        linear-gradient(180deg, rgba(11, 12, 44, 0) 55%, rgba(11, 12, 44, 0.7) 82%, #0b0c2c 100%) !important;
}
#main section.mk-s-light { background:
    linear-gradient(180deg, #0b0c2c 0%, rgba(11, 12, 44, 0) 220px),
    radial-gradient(900px 520px at 80% 22%, rgba(68, 52, 245, 0.42), transparent 70%),
    radial-gradient(700px 480px at 12% 55%, rgba(255, 176, 219, 0.12), transparent 70%),
    radial-gradient(1000px 520px at 50% 100%, rgba(68, 52, 245, 0.38), transparent 70%),
    linear-gradient(180deg, #11134a 0%, #1a1c66 100%) !important; }
#main a.mk-plan, #main a.mk-plan:visited, #main a.mk-enterprise-line { background-color: #06071d !important; }
#main a.mk-plan.is-featured { background: linear-gradient(180deg, rgba(68, 52, 245, 0.34), #06071d 70%) !important; }
.mk-why { background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(68, 52, 245, 0.42), transparent 60%), rgba(28, 30, 92, 0.86) !important; }
.footer-wrapper, .footer-wrapper .section, .absolute-footer { background: #07081e !important; }
:root { --mk-bg: #0b0c2c; --mk-bg-deep: #07081e; }
#main, #wrapper, body.page-template #main, body.page-template #wrapper { background-color: #0b0c2c !important; }
.mk-bubble { width: max-content; max-width: 260px; white-space: normal; text-align: center; }
.mk-bubble { width: auto !important; min-width: max-content; white-space: nowrap !important; max-width: none; }
.mk-parade span.mk-bubble { bottom: calc(100% + 10px) !important; height: auto !important; background: #d4ff3a !important; background-size: auto !important; image-rendering: auto; }
.mk-parade span.mk-bot { height: 42px; }

/* ======================= v21 ======================= */
/* One solid indigo for the whole page: no glows, no gradients, no seams between sections */
:root { --mk-bg: #11123f; --mk-bg-deep: #090a24; }
#main, #wrapper, body.page-template #main, body.page-template #wrapper, #main section.section { background-color: #11123f !important; }
#main, #main section.mk-s-dark, #main section.mk-s-light { background: #11123f !important; }
.mk-hero { background: #11123f; }
.mk-hero::after {
    background:
        radial-gradient(ellipse 42% 36% at 50% 32%, rgba(17, 18, 63, 0.9) 0%, rgba(17, 18, 63, 0.5) 55%, rgba(17, 18, 63, 0) 100%),
        linear-gradient(180deg, rgba(17, 18, 63, 0) 55%, rgba(17, 18, 63, 0.7) 82%, #11123f 100%) !important;
}
.mk-why { background: #1c1e5e !important; }
#main a.mk-plan, #main a.mk-plan:visited, #main a.mk-enterprise-line { background: #0a0b2a !important; }
#main a.mk-plan.is-featured { background: #0a0b2a !important; }
.footer-wrapper, .footer-wrapper .section, .absolute-footer { background: #090a24 !important; }


/* v23: calmer promo — dark card, the neon yellow only on a thin strip, the label and the button text */
.mk-promo { background: #0a0b2a !important; border: 1px solid rgba(166, 158, 255, 0.22) !important; border-left: 4px solid #d4ff3a !important;
    color: #fff !important; box-shadow: 0 18px 50px -16px rgba(0, 0, 0, 0.7) !important; }
.mk-promo .mk-promo-eyebrow { padding: 0; background: none !important; color: #d4ff3a !important; }
.mk-promo h3 { color: #fff !important; font-weight: 300 !important; }
.mk-promo p { color: rgba(232, 232, 255, 0.74) !important; }
.mk-promo .mk-promo-small { color: rgba(220, 220, 255, 0.5) !important; }
.mk-promo a.mk-btn-primary { background: transparent !important; color: #d4ff3a !important; border: 1px solid rgba(212, 255, 58, 0.55) !important; }
.mk-promo a.mk-btn-primary:hover { background: rgba(212, 255, 58, 0.1) !important; border-color: #d4ff3a !important; }
.mk-promo button.mk-promo-close { background: rgba(255, 255, 255, 0.06); color: rgba(232, 232, 255, 0.8); }
.mk-promo button.mk-promo-close:hover { background: rgba(255, 255, 255, 0.12); }

/* v24: compact promo in the brand lavender instead of neon yellow */
.mk-promo { width: min(320px, calc(100vw - 32px)); padding: 14px 16px 14px !important; border-radius: 12px;
    border: 1px solid rgba(166, 158, 255, 0.28) !important; border-left: 3px solid #a69eff !important; }
.mk-promo h3 { margin: 0 0 4px !important; padding-right: 28px; font-size: 18px !important; line-height: 1.25 !important; }
.mk-promo .mk-promo-small { margin-top: 0 !important; font-size: 11.5px; }
.mk-promo .mk-actions { margin-top: 10px; }
.mk-promo .mk-btn { padding: 7px 12px; font-size: 13px; }
.mk-promo a.mk-btn-primary { background: #4434f5 !important; color: #fff !important; border: 0 !important; }
.mk-promo a.mk-btn-primary:hover { background: #5646ff !important; }
.mk-promo button.mk-promo-close { top: 10px; right: 10px; width: 24px; height: 24px; }

/* v25: small promo goes back to the neon yellow (strip and button); the conditions sit under the button, smaller */
.mk-promo { border-left-color: #d4ff3a !important; }
.mk-promo a.mk-btn-primary { background: #d4ff3a !important; color: #0b0c16 !important; font-weight: 600; }
.mk-promo a.mk-btn-primary:hover { background: #e2ff70 !important; }
.mk-promo .mk-promo-small { margin-top: 8px !important; font-size: 10.5px; line-height: 1.4; color: rgba(220, 220, 255, 0.45) !important; }

/* ======================= v26 ======================= */
/* No page scroll while a dialog (model details, tool "How it works") is open */
html:has(dialog[open]), html:has(dialog[open]) body { overflow: hidden !important; }

/* Every card uses the plan card color, with the same lavender hover border */
#main .mx { --mx-bg: #0a0b2a; --mx-bg-2: #0a0b2a; }
#main .pp { --pp-bg: #0a0b2a; }
#main .mx-card, .mk-tools button.mk-tool, .mk-why, .mk-help-ask, .mk-help-video, #main a.mk-docs-card, #main a.mk-guide-post, #main a.mk-guide-item, .mk-ask-card {
    background: #0a0b2a !important; border: 1px solid rgba(166, 158, 255, 0.16) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
#main .mx-card:hover, .mk-tools button.mk-tool:hover, #main a.mk-docs-card:hover, #main a.mk-guide-post:hover, #main a.mk-guide-item:hover {
    border-color: #a69eff !important; box-shadow: 0 0 0 1px #a69eff, 0 10px 34px -8px rgba(124, 108, 255, 0.55); }

/* Same look as the chat app's login page: teal to purple field, a soft pink glow, film grain, "and fast." in light blue */
.mk-hero { background: linear-gradient(102deg, #1c333c 0%, #17253c 38%, #2b2452 68%, #4d2b60 100%) !important; }
.mk-hero::before { content: ''; position: absolute; z-index: 0; width: 70vw; height: 70vw; right: -16vw; top: 50%; margin-top: -35vw; border-radius: 50%;
    background: radial-gradient(circle, #e0447a 0%, rgba(0,0,0,0) 62%); filter: blur(70px); opacity: .32; pointer-events: none; }
.mk-hero canvas { z-index: 1; opacity: .3; }
.mk-hero::after { z-index: 1;
    background:
        radial-gradient(ellipse 42% 36% at 50% 40%, rgba(17, 18, 63, 0.55) 0%, rgba(17, 18, 63, 0.2) 60%, rgba(17, 18, 63, 0) 100%),
        linear-gradient(180deg, rgba(17, 18, 63, 0) 50%, rgba(17, 18, 63, 0.75) 82%, #11123f 100%) !important; }
.mk-hl { color: #b6bcff; }
body::after { content: ''; position: fixed; inset: 0; z-index: 99998; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mk-hero canvas { z-index: 0; }
.mk-hero::after { z-index: 1;
    background:
        radial-gradient(ellipse 42% 36% at 50% 40%, rgba(17, 18, 63, 0.55) 0%, rgba(17, 18, 63, 0.2) 60%, rgba(17, 18, 63, 0) 100%),
        linear-gradient(180deg, rgba(17, 18, 63, 0) 35%, rgba(17, 18, 63, 0.8) 75%, #11123f 98%) !important; }
.mk-hero::after { background:
        radial-gradient(ellipse 42% 36% at 50% 40%, rgba(17, 18, 63, 0.55) 0%, rgba(17, 18, 63, 0.2) 60%, rgba(17, 18, 63, 0) 100%),
        linear-gradient(180deg, rgba(17, 18, 63, 0) 30%, rgba(17, 18, 63, 0.85) 70%, #11123f 88%) !important; }

/* v27: matrix letters stay crisp (fixed in js/banner-anim.js); stronger film grain like the chat login */
.mk-hero canvas { opacity: .55 !important; }
body::after { opacity: .16; mix-blend-mode: overlay; background-size: 220px 220px; }

/* v28: Terms and Privacy pages: readable document card in the site style (legal text untouched) */
body.page-id-355 #content, body.page-id-3 #content { padding: 56px 16px 96px; }
body.page-id-355 #content .text, body.page-id-3 #content .text {
    max-width: 820px; margin: 0 auto; padding: 48px 56px; border-radius: 18px; background: #0a0b2a; border: 1px solid rgba(166, 158, 255, 0.16);
    font: 400 15.5px/1.75 var(--mk-font); color: rgba(232, 232, 255, 0.78) !important; }
body.page-id-355 #content .text *, body.page-id-3 #content .text * { color: inherit; }
body.page-id-355 #content .text p, body.page-id-3 #content .text p, body.page-id-355 #content .text li, body.page-id-3 #content .text li {
    margin: 0 0 16px !important; color: rgba(232, 232, 255, 0.78) !important; font-size: 15.5px; line-height: 1.75; }
body.page-id-355 #content .text b, body.page-id-355 #content .text strong, body.page-id-3 #content .text b, body.page-id-3 #content .text strong { color: #fff !important; font-weight: 600; }
body.page-id-355 #content .text > p[style*="center"], body.page-id-3 #content .text > p[style*="center"] { margin: 0 0 4px !important; color: var(--mk-lavender) !important; }
body.page-id-355 #content .text > p[style*="center"]:first-child, body.page-id-3 #content .text > p[style*="center"]:first-child { font: 500 11.5px/1.4 var(--mk-mono) !important; letter-spacing: .12em; text-transform: uppercase; }
body.page-id-355 #content .text > p[style*="center"] b, body.page-id-3 #content .text > p[style*="center"] b { color: inherit !important; font-weight: inherit; }
body.page-id-355 #content .text > p[style*="center"]:nth-child(2), body.page-id-3 #content .text > p[style*="center"]:nth-child(2) { font: 300 40px/1.15 var(--mk-serif) !important; color: #fff !important; }
body.page-id-355 #content .text hr, body.page-id-3 #content .text hr { margin: 32px 0; border: 0; border-top: 1px solid rgba(166, 158, 255, 0.16); }
body.page-id-355 #content .text ol, body.page-id-3 #content .text ol { margin: 36px 0 12px 22px !important; }
body.page-id-355 #content .text ol > li, body.page-id-3 #content .text ol > li { font: 400 22px/1.3 var(--mk-serif) !important; color: #fff !important; }
body.page-id-355 #content .text ol > li::marker, body.page-id-3 #content .text ol > li::marker { color: var(--mk-lavender); }
body.page-id-355 #content .text ol > li b, body.page-id-3 #content .text ol > li b { font-weight: 400; }
body.page-id-355 #content .text a, body.page-id-3 #content .text a { color: #b6bcff !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { body.page-id-355 #content .text, body.page-id-3 #content .text { padding: 28px 20px; }
    body.page-id-355 #content .text > p[style*="center"]:nth-child(2), body.page-id-3 #content .text > p[style*="center"]:nth-child(2) { font-size: 30px !important; } }

/* v28: taller landing so the "Built for privacy" card fills the first screen; the card overlaps the end of the matrix
   so there is no line between the hero and the page */
.mk-hero { min-height: max(460px, calc(100svh - 300px)) !important; }
.mk-hero-inner { padding-bottom: 150px !important; }
#main section.mk-s-why { position: relative; z-index: 3; margin-top: -130px !important; padding-top: 0 !important; background: transparent !important; }
.mk-hero::after { background:
        radial-gradient(ellipse 42% 36% at 50% 38%, rgba(17, 18, 63, 0.55) 0%, rgba(17, 18, 63, 0.2) 60%, rgba(17, 18, 63, 0) 100%),
        linear-gradient(180deg, rgba(17, 18, 63, 0) 25%, rgba(17, 18, 63, 0.45) 55%, rgba(17, 18, 63, 0.85) 80%, #11123f 100%) !important; }
@media (max-width: 640px) { .mk-hero { min-height: 0 !important; } .mk-hero-inner { padding-bottom: 120px !important; } }
/* Privacy: the whole header is one paragraph; section titles are paragraphs with only a bold line */
body.page-id-3 #content .text > p[style*="center"]:first-child strong:nth-of-type(3) { display: inline-block; margin: 10px 0 6px; font: 300 40px/1.15 var(--mk-serif) !important; letter-spacing: 0; text-transform: none; color: #fff !important; }
body.page-id-355 #content .text p > strong:only-child, body.page-id-3 #content .text p > strong:only-child,
body.page-id-355 #content .text p > b:only-child, body.page-id-3 #content .text p > b:only-child { display: block; margin-top: 28px; font: 400 22px/1.3 var(--mk-serif) !important; color: #fff !important; }
body.page-id-355 #content .text > p[style*="center"] b, body.page-id-3 #content .text > p[style*="center"] strong { display: inline; margin-top: 0; }

/* v29: legal pages: one font family (Inter) for the text and section titles, smaller text.
   Only one-item lists with a bold line are section titles; real lists stay as normal text. */
body.page-id-355 #content .text, body.page-id-3 #content .text,
body.page-id-355 #content .text p, body.page-id-3 #content .text p,
body.page-id-355 #content .text li, body.page-id-3 #content .text li { font-family: var(--mk-font) !important; font-size: 14.5px !important; line-height: 1.7 !important; }
body.page-id-355 #content .text ol > li, body.page-id-3 #content .text ol > li { font-weight: 400 !important; color: rgba(232, 232, 255, 0.78) !important; margin-bottom: 10px !important; }
body.page-id-355 #content .text ol, body.page-id-3 #content .text ol { margin: 0 0 16px 22px !important; }
body.page-id-355 #content .text ol:has(> li:only-child > b), body.page-id-3 #content .text ol:has(> li:only-child > b) { margin: 32px 0 12px 22px !important; }
body.page-id-355 #content .text ol > li:only-child:has(> b), body.page-id-3 #content .text ol > li:only-child:has(> b),
body.page-id-355 #content .text p > strong:only-child, body.page-id-3 #content .text p > strong:only-child,
body.page-id-355 #content .text p > b:only-child, body.page-id-3 #content .text p > b:only-child {
    font: 600 17px/1.35 var(--mk-font) !important; color: #fff !important; }
body.page-id-355 #content .text ol > li:only-child:has(> b) b { font-weight: 600 !important; }
body.page-id-355 #content .text p > strong:only-child, body.page-id-3 #content .text p > strong:only-child,
body.page-id-355 #content .text p > b:only-child, body.page-id-3 #content .text p > b:only-child { margin-top: 20px; }
body.page-id-355 #content .text > p[style*="center"]:nth-child(2), body.page-id-3 #content .text > p[style*="center"]:first-child strong:nth-of-type(3) { font-size: 34px !important; }

/* v29: How it works (content from the old home page, rewritten so it only promises what we do) */
#main section.mk-s-how { padding-top: 24px !important; }
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.mk-step { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 14px; background: #0a0b2a; border: 1px solid rgba(166, 158, 255, 0.16); }
.mk-step-n { font: 500 12px/1 var(--mk-mono); color: var(--mk-lavender); letter-spacing: .08em; }
.mk-step-title { margin-top: 4px; font: 300 24px/1.2 var(--mk-serif); color: #fff; }
.mk-step-text { font-size: 14px; line-height: 1.55; color: var(--mk-dim); }
.mk-bye, .mk-works { max-width: 1000px; margin: 28px auto 0; }
.mk-bye-head { display: block; margin-bottom: 12px; font: 500 11px/1.2 var(--mk-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mk-lavender); text-align: center; }
.mk-bye-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mk-bye-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(166, 158, 255, 0.22); }
.mk-bye-title { font: 600 14px/1.3 var(--mk-font); color: rgba(255,255,255,.88); text-decoration: line-through; text-decoration-color: #ffb0db; text-decoration-thickness: 2px; }
.mk-bye-text { font-size: 13px; line-height: 1.45; color: var(--mk-faint); }
.mk-works { margin-top: 24px; text-align: center; }
.mk-works-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mk-works-list span { padding: 6px 12px; border-radius: 999px; font: 500 12.5px/1.2 var(--mk-mono); color: rgba(232,232,255,.8); background: rgba(166,158,255,.08); border: 1px solid rgba(166,158,255,.16); }
@media (max-width: 849px) { .mk-steps { grid-template-columns: 1fr; } .mk-bye-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mk-bye-grid { grid-template-columns: 1fr; } }

/* v30: "Say goodbye to" without strikethrough: quiet cards with a small pink x marker. Hero kicker says what Infermatic is. */
.mk-bye-item { position: relative; padding: 14px 16px 14px 38px; border: 1px solid rgba(166, 158, 255, 0.12) !important; background: rgba(10, 11, 42, 0.6); }
.mk-bye-item::before { content: '\00d7'; position: absolute; left: 14px; top: 11px; width: 16px; height: 16px; border-radius: 4px;
    font: 600 13px/16px var(--mk-font); text-align: center; color: #ffb0db; background: rgba(255, 176, 219, 0.12); }
.mk-bye-title { text-decoration: none !important; color: #fff; }
p.mk-hero-kicker { margin: 0 0 14px !important; font: 500 12px/1.3 var(--mk-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: #b6bcff !important; }

/* v31 performance: the full-page grain no longer uses a blend mode (blending the whole page on every scroll frame is
   costly on phones); a plain, very light noise layer looks the same on these dark colors. */
body::after { mix-blend-mode: normal; opacity: .05; }
@media (max-width: 760px) { .mk-hero::before { filter: blur(48px); } }
/* YouTube poster (player loads on click) */
.mk-video button.mk-yt { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; cursor: pointer;
    background: #000 center / cover no-repeat; }
.mk-yt::after { content: ''; position: absolute; inset: 0; background: rgba(5, 6, 20, 0.25); transition: background .15s; }
.mk-yt:hover::after { background: rgba(5, 6, 20, 0.05); }
.mk-yt-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #ff0033; }
.mk-yt-play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
