/* TruTec marketing site — one design system for every public page
   (Oct 7 2026 rebuild: "tear it all down", Bobyard-level).
   Templates: templates/main/marketing_base.html + partials/mk_*.html.
   Everything is scoped under .mk so the app's global styles in base.html
   can't leak in, and nothing here leaks into the app.

   Type: Inter Tight (display), Inter (text), IBM Plex Mono (labels).
   Surfaces: ink / paper / white / sand, one accent (TruTec blue). */

.mk {
    --ink: #0b0d10;
    --ink-2: #15181d;
    --ink-3: #1d2128;
    --paper: #f3f0ea;
    --sand: #e6dfd3;
    --white: #ffffff;
    --text: #0d0f12;
    --muted: #5b626d;
    --faint: #8a909a;
    --line: rgba(13, 15, 18, 0.11);
    --line-strong: rgba(13, 15, 18, 0.2);
    --dline: rgba(255, 255, 255, 0.12);
    --dmuted: rgba(255, 255, 255, 0.64);
    --blue: #1f6feb;
    --blue-ink: #1558c9;
    --blue-soft: #e7effd;
    --f-head: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --wrap: 1320px;
    --gut: clamp(16px, 4vw, 48px);
    --sec: clamp(88px, 10vw, 148px);
    --r: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk img, .mk video { display: block; max-width: 100%; }
/* width/height attributes reserve space; never let them distort a scaled image */
:where(.mk) img { height: auto; }
:where(.mk) a { color: inherit; text-decoration: none; }
:where(.mk) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mk ::selection { background: rgba(31, 111, 235, .22); }
body:has(.mk) { background: var(--ink, #0b0d10); }
.mk .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ layout */
.mk-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.mk-sec { padding: var(--sec) 0; position: relative; }
.mk-sec.tight { padding: calc(var(--sec) * .62) 0; }
.mk-ink { background: var(--ink); color: #fff; }
.mk-paper { background: var(--paper); }
.mk-sand { background: var(--sand); }
.mk-white { background: var(--white); }

/* ------------------------------------------------------------ type */
.mk-label {
    font-family: var(--f-mono);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.mk-label::before { content: ''; width: 7px; height: 7px; background: var(--blue); display: inline-block; }
.mk-label.plain::before { display: none; }
.mk-ink .mk-label { color: var(--dmuted); }

:where(.mk) :is(h1, h2, h3, h4) { font-family: var(--f-head); font-weight: 600; margin: 0; color: inherit; }
.mk-h1 { font-size: clamp(42px, 5.8vw, 86px); line-height: 1; letter-spacing: -0.032em; text-wrap: balance; }
.mk-h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.027em; text-wrap: balance; }
.mk-h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.mk-h4 { font-size: 20px; line-height: 1.25; letter-spacing: -0.012em; }
.mk-dim { color: var(--faint); }
.mk-ink .mk-dim { color: rgba(255, 255, 255, .46); }
.mk-lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); max-width: 36em; margin: 0; text-wrap: pretty; }
.mk-ink .mk-lede { color: var(--dmuted); }
:where(.mk) p { margin: 0; }

/* ------------------------------------------------------------ buttons */
.mk-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 50px; padding: 0 22px;
    background: var(--blue); color: #fff !important;
    font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
    border-radius: 8px;
    transition: background .2s, transform .2s var(--ease), box-shadow .2s;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 24px -10px rgba(31, 111, 235, .7);
    white-space: nowrap;
}
.mk-btn:hover { background: var(--blue-ink); transform: translateY(-1px); }
.mk-btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mk-btn:hover svg { transform: translate(2px, -2px); }
.mk-btn.ghost { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mk-btn.ghost:hover { background: rgba(13, 15, 18, .04); }
.mk-ink .mk-btn.ghost, .mk-on-dark .mk-btn.ghost { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.mk-ink .mk-btn.ghost:hover, .mk-on-dark .mk-btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.mk-btn.lg { height: 56px; padding: 0 26px; font-size: 16px; }
.mk-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mk-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px; color: var(--blue);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.mk-link:hover { border-color: currentColor; }
.mk-ink .mk-link { color: #8db6ff; }

/* ------------------------------------------------------------ reveal (landing.js toggles .active) */
.mk .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.mk .reveal.active { opacity: 1; transform: none; }
.mk .reveal.d1 { transition-delay: .08s; }
.mk .reveal.d2 { transition-delay: .16s; }
.mk .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .mk .reveal { opacity: 1; transform: none; transition: none; }
}
.no-entrance-anim .mk .reveal { opacity: 1; transform: none; transition: none; }

/* ------------------------------------------------------------ nav */
.mk-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 900;
    color: #fff;
    transition: background .3s, color .3s, box-shadow .3s, transform .35s var(--ease);
}
.mk-nav-bar { height: 68px; display: flex; align-items: center; gap: 28px; }
.mk-nav.is-solid { background: rgba(11, 13, 16, .94); box-shadow: 0 1px 0 var(--dline); }
@supports (backdrop-filter: blur(1px)) {
    .mk-nav.is-solid:not(.is-open) { background: rgba(11, 13, 16, .8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.mk-nav.is-hidden:not(.is-open):not(:focus-within) { transform: translateY(-100%); }
.mk-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.mk-brand img { width: 28px; height: 28px; border-radius: 7px; }
.mk-menu { display: flex; align-items: center; flex: 1; }
.mk-menu > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mk-menu > ul > li { position: relative; }
.mk-trig {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 12px; border-radius: 6px;
    font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255, 255, 255, .86);
    transition: background .2s, color .2s;
}
.mk-trig:hover, .mk-trig[aria-expanded="true"], .mk-trig.is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.mk-trig .mk-plus { width: 9px; height: 9px; position: relative; }
.mk-trig .mk-plus::before, .mk-trig .mk-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1.4px; background: currentColor; transition: transform .25s var(--ease); }
.mk-trig .mk-plus::after { transform: rotate(90deg); }
.mk-trig[aria-expanded="true"] .mk-plus::after { transform: rotate(0); }
.mk-panel {
    position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 280px; padding: 10px;
    background: #fff; color: var(--text);
    border-radius: 12px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 60px -18px rgba(0, 0, 0, .45);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .22s var(--ease), visibility 0s .22s;
}
.mk-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .22s var(--ease); }
.mk-panel a { display: block; padding: 10px 12px; border-radius: 8px; transition: background .15s; }
.mk-panel a:hover { background: var(--paper); }
.mk-panel a b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.mk-panel a small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.mk-panel .mk-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.mk-panel-group { padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mk-types { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 4px; }
.mk-panel .mk-types a { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #2b3038; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.mk-panel .mk-types a:hover { background: var(--blue-soft); color: var(--blue); }
.mk-panel-product { width: 760px; display: grid; grid-template-columns: 1fr 1fr 260px; gap: 6px; padding: 12px; }
.mk-panel-col { padding: 6px; }
.mk-panel-col > .mk-panel-head { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mk-panel-col > .mk-panel-head b { font-family: var(--f-head); font-size: 18px; }
.mk-panel-col > a:not(.mk-panel-head) { padding: 8px 12px; font-size: 14.5px; color: #2b3038; }
.mk-panel-feature { border-radius: 10px; overflow: hidden; background: var(--ink); color: #fff; position: relative; display: flex !important; flex-direction: column; justify-content: flex-end; padding: 16px !important; min-height: 240px; }
.mk-panel-feature:hover { background: var(--ink) !important; }
.mk-panel-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .6s var(--ease); }
.mk-panel-feature:hover img { opacity: .7; transform: scale(1.03); }
.mk-panel-feature b, .mk-panel-feature small { position: relative; }
.mk-panel-feature small { color: rgba(255, 255, 255, .75) !important; }
.mk-nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mk-login { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; color: rgba(255, 255, 255, .86); border-radius: 6px; }
.mk-login:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.mk-nav .mk-btn { height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.mk-burger { display: none; width: 44px; height: 44px; border-radius: 8px; position: relative; }
.mk-burger i { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.mk-burger i:first-child { top: 17px; }
.mk-burger i:last-child { top: 26px; }
.mk-nav.is-open .mk-burger i:first-child { top: 21.5px; transform: rotate(45deg); }
.mk-nav.is-open .mk-burger i:last-child { top: 21.5px; transform: rotate(-45deg); }
.mk-menu-cta { display: none; }

@media (max-width: 1080px) {
    .mk-burger { display: inline-block; }
    .mk-nav-right .mk-login { display: none; }
    .mk-menu {
        position: fixed; inset: 68px 0 0 0; z-index: 899;
        background: var(--ink); flex-direction: column; align-items: stretch;
        padding: 12px var(--gut) 28px; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
    }
    .mk-nav.is-open .mk-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
    .mk-nav.is-open { background: var(--ink); }
    .mk-menu > ul { flex-direction: column; gap: 0; }
    .mk-menu > ul > li { border-bottom: 1px solid var(--dline); }
    .mk-trig { width: 100%; justify-content: space-between; height: 60px; padding: 0; font-size: 14px; background: none !important; }
    .mk-panel, .mk-panel-product { position: static; width: auto; min-width: 0; background: none; color: #fff; box-shadow: none; padding: 0 0 14px; display: none; opacity: 1; visibility: visible; transform: none; transition: none; grid-template-columns: 1fr; }
    .mk-panel.is-open { display: block; }
    .mk-panel a:hover { background: rgba(255, 255, 255, .06); }
    .mk-panel a small { color: rgba(255, 255, 255, .55); }
    .mk-panel-col > .mk-panel-head { border-color: var(--dline); }
    .mk-panel-col > a:not(.mk-panel-head) { color: rgba(255, 255, 255, .78); }
    .mk-panel-feature { display: none !important; }
    .mk-panel-group { border-color: var(--dline); }
    .mk-panel .mk-types a { color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
    .mk-menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
    .mk-menu-cta .mk-btn { height: 54px; justify-content: center; font-size: 16px; }
    .mk-menu-cta .mk-login { justify-content: center; height: 50px; box-shadow: inset 0 0 0 1px var(--dline); }
}
@media (max-width: 520px) {
    .mk-nav-right .mk-btn { display: none; }
}

/* ------------------------------------------------------------ home hero (full-screen film) */
.mk-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: #fff; overflow: hidden; }
.mk-hero-media, .mk-phero-media, .mk-band-media { position: absolute; inset: 0; }
.mk-hero-media video, .mk-hero-media img, .mk-phero-media video, .mk-phero-media img, .mk-band-media video, .mk-band-media img { width: 100%; height: 100%; object-fit: cover; }
.mk-hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 13, 16, .6) 0%, rgba(11, 13, 16, 0) 20%),
        linear-gradient(0deg, rgba(11, 13, 16, .94) 0%, rgba(11, 13, 16, .55) 34%, rgba(11, 13, 16, .12) 64%),
        linear-gradient(90deg, rgba(11, 13, 16, .72) 0%, rgba(11, 13, 16, .3) 45%, rgba(11, 13, 16, 0) 72%),
        rgba(11, 13, 16, .18);
}
.mk-hero-media video { filter: saturate(.72) contrast(1.04); }
.mk-hero-in { position: relative; padding-top: 140px; padding-bottom: clamp(32px, 5vh, 56px); }
.mk-hero-title { max-width: 11em; }
.mk-hero-title > span:not(.w) { color: rgba(255, 255, 255, .58); }
.mk-hero-go { margin-top: clamp(28px, 4vh, 40px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mk-hero-note { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.mk-film-toggle {
    position: absolute; right: var(--gut); bottom: clamp(36px, 5.4vh, 60px); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff;
    display: grid; place-items: center; transition: background .2s;
}
.mk-film-toggle:hover { background: rgba(255, 255, 255, .12); }
.mk-film-toggle svg { width: 14px; height: 14px; }
.mk-film-toggle .i-play { display: none; }
.mk-film-toggle[aria-pressed="true"] .i-play { display: block; }
.mk-film-toggle[aria-pressed="true"] .i-pause { display: none; }
.mk-hero-logos { position: relative; border-top: 1px solid var(--dline); }

/* ------------------------------------------------------------ logo strip */
.mk-logos { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 24px; padding: 22px 0; }
.mk-logos-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.mk-on-dark .mk-logos-k, .mk-ink .mk-logos-k { color: rgba(255, 255, 255, .55); }
.mk-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mk-marquee-track { display: flex; width: max-content; animation: mk-marquee 46s linear infinite; }
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
.mk-marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.mk-marquee-group img { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; }
.mk-marquee-group img.tall { height: 40px; }
.mk-on-dark .mk-marquee-group img, .mk-ink .mk-marquee-group img { filter: grayscale(1) brightness(0) invert(1); opacity: .72; }
@keyframes mk-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mk-marquee-track { animation: none; } }
@media (max-width: 720px) {
    .mk-logos { grid-template-columns: 1fr; gap: 14px; }
}

/* ------------------------------------------------------------ section heads */
.mk-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.mk-head .mk-label { margin-bottom: 22px; }
.mk-head-side { display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.mk-head.solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.mk-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.mk-head.center .mk-lede { margin: 0 auto; }
@media (max-width: 900px) { .mk-head { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ real product frames */
.mk-shot {
    margin: 0; position: relative;
    border-radius: var(--r); overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(13, 15, 18, .08), 0 2px 4px rgba(13, 15, 18, .04), 0 40px 90px -40px rgba(13, 15, 18, .45);
}
.mk-ink .mk-shot, .mk-on-dark .mk-shot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 120px -40px rgba(0, 0, 0, .8); }
.mk-shot-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f6f7f9; border-bottom: 1px solid #e8eaee; }
.mk-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9dce1; }
.mk-shot-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: #8a909a; letter-spacing: .02em; }
.mk-shot img, .mk-shot video { width: 100%; height: auto; }
.mk-shot.crop img { aspect-ratio: var(--ar, 16 / 10); object-fit: cover; object-position: var(--pos, 0 0); }
.mk-phone {
    margin: 0; width: 100%; max-width: 300px;
    border-radius: 44px; padding: 9px; background: #0d0f12;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 100px -40px rgba(0, 0, 0, .6);
}
.mk-phone img { width: 100%; height: auto; border-radius: 36px; aspect-ratio: 1179 / 2556; object-fit: cover; }
.mk-cap { margin-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); display: flex; gap: 10px; }
.mk-cap b { color: var(--text); font-weight: 500; }
.mk-ink .mk-cap b { color: #fff; }

/* ------------------------------------------------------------ home: platform tour (tabs) */
.mk-tour { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.mk-tour-tabs { display: grid; gap: 2px; position: sticky; top: 100px; }
.mk-tour-tab {
    text-align: left; padding: 16px 0 16px; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 34px 1fr; gap: 0 6px; align-items: baseline;
    color: var(--faint); transition: color .2s; position: relative;
}
.mk-tour-tab:last-child { border-bottom: 1px solid var(--line); }
.mk-tour-tab .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.mk-tour-tab .t { font-family: var(--f-head); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.mk-tour-tab .d { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.mk-tour-tab .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); }
.mk-tour-tab:hover { color: var(--text); }
.mk-tour-tab.is-on { color: var(--text); }
.mk-tour-tab.is-on .d { max-height: 120px; opacity: 1; margin-top: 8px; }
.mk-tour-tab.is-on .bar { animation: mk-bar var(--dur, 7s) linear forwards; }
.mk-tour.is-paused .mk-tour-tab.is-on .bar { animation: none; width: 100%; }
@keyframes mk-bar { to { width: 100%; } }
.mk-tour-stage { position: relative; }
.mk-tour-slide { display: none; }
.mk-tour-slide.is-on { display: block; animation: mk-in .6s var(--ease); }
@keyframes mk-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.mk-tour-slide.phones { display: none; }
.mk-tour-slide.phones.is-on { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; justify-items: center; background: var(--ink); border-radius: var(--r); padding: 48px 32px; }
@media (max-width: 980px) {
    .mk-tour { grid-template-columns: 1fr; gap: 28px; }
    .mk-tour-tabs { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
    .mk-tour-tab { border: 1px solid var(--line) !important; border-radius: 999px; padding: 10px 16px; display: flex; gap: 8px; }
    .mk-tour-tab .t { font-size: 15px; }
    .mk-tour-tab .d, .mk-tour-tab .bar { display: none; }
    .mk-tour-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink) !important; }
    .mk-tour-slide.phones.is-on { padding: 28px 14px; gap: 10px; }
}

/* ------------------------------------------------------------ home: two products */
.mk-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mk-duo-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--ink-2); border-radius: 18px; overflow: hidden;
    box-shadow: 0 0 0 1px var(--dline) inset;
    transition: transform .4s var(--ease), box-shadow .3s;
}
.mk-duo-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset; }
.mk-duo-vis { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0f1216; }
.mk-duo-vis img { position: absolute; left: 7%; top: 9%; width: 100%; max-width: none; border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8); transition: transform .8s var(--ease); }
.mk-duo-card:hover .mk-duo-vis img { transform: translate(-1.5%, -1.5%); }
.mk-duo-vis::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, var(--ink-2), transparent); }
.mk-duo-body { padding: 30px 32px 34px; display: grid; gap: 16px; flex: 1; align-content: start; }
.mk-duo-body .mk-h3 { font-size: clamp(28px, 2.6vw, 40px); }
.mk-duo-list { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.mk-duo-list li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); }
.mk-duo-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #8db6ff; }
.mk-duo-flow { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-align: center; }
.mk-duo-flow i { flex: 0 1 120px; height: 1px; background: var(--dline); }
@media (max-width: 900px) { .mk-duo { grid-template-columns: 1fr; } .mk-duo-body { padding: 24px 22px 28px; } }

/* ------------------------------------------------------------ trades */
.mk-trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-trade {
    position: relative; min-height: 560px; border-radius: 18px; overflow: hidden; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate;
    background: var(--ink);
}
.mk-trade picture, .mk-trade > img { position: absolute; inset: 0; z-index: -2; }
.mk-trade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mk-trade:hover img { transform: scale(1.04); }
.mk-trade::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 13, 16, .92) 0%, rgba(11, 13, 16, .35) 45%, rgba(11, 13, 16, .05) 70%); }
.mk-trade .mk-label { color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.mk-trade h3 { font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -0.025em; line-height: 1.05; }
.mk-trade p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 26em; min-height: 4.65em; }
.mk-trade-go { margin-top: 22px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); transition: background .2s, transform .3s var(--ease); }
.mk-trade:hover .mk-trade-go { background: var(--blue); box-shadow: none; transform: translateX(4px); }
@media (max-width: 980px) { .mk-trades { grid-template-columns: 1fr; } .mk-trade { min-height: 440px; } }

/* ------------------------------------------------------------ stats */
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dline); }
.mk-stat { padding: 34px 28px 8px 0; border-right: 1px solid var(--dline); }
.mk-stat + .mk-stat { padding-left: 28px; }
.mk-stat:last-child { border-right: 0; }
.mk-stat-n { font-family: var(--f-head); font-weight: 600; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; }
.mk-stat-n small { font-size: .42em; letter-spacing: -0.01em; color: rgba(255, 255, 255, .55); margin-left: 6px; }
.mk-stat-l { margin-top: 14px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mk-paper .mk-stats, .mk-white .mk-stats { border-color: var(--line); }
.mk-paper .mk-stat, .mk-white .mk-stat { border-color: var(--line); }
.mk-paper .mk-stat-l, .mk-white .mk-stat-l { color: var(--muted); }
@media (max-width: 760px) { .mk-stats { grid-template-columns: 1fr; } .mk-stat, .mk-stat + .mk-stat { border-right: 0; border-bottom: 1px solid var(--dline); padding: 26px 0; } }

/* ------------------------------------------------------------ testimonials (landing.js: #testimonialTrack) */
.mk .testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mk .testimonial-track::-webkit-scrollbar { display: none; }
.mk .testimonial-card { margin: 0; scroll-snap-align: start; }
.mk .testimonial-player { position: relative; display: block; width: 100%; aspect-ratio: 460 / 649; border-radius: 16px; overflow: hidden; background: var(--ink); }
.mk .testimonial-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 47.7%; transform: scale(1.23); transform-origin: 50% 47%; }
.mk .testimonial-play { position: absolute; left: 50%; top: 50%; margin: -30px 0 0 -30px; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .25s var(--ease), opacity .2s; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.mk .testimonial-player:hover .testimonial-play { transform: scale(1.08); }
.mk .testimonial-player::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(13, 15, 18, .08); pointer-events: none; }
.mk .testimonial-player.playing .testimonial-play { opacity: 0; }
.mk .testimonial-meta { margin-top: 14px; display: grid; gap: 2px; }
.mk .t-name { font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.mk .t-role { font-size: 14px; color: var(--muted); }
.mk .testimonial-nav { display: flex; gap: 8px; }
.mk .t-arrow { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 18px; transition: background .2s; }
.mk .t-arrow:hover { background: rgba(13, 15, 18, .05); }
.mk .t-arrow:disabled { opacity: .35; cursor: default; }

/* ------------------------------------------------------------ booking */
.mk-book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mk-book-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; }
.mk-book-points li { padding: 16px 0; border-top: 1px solid var(--dline); display: grid; grid-template-columns: 36px 1fr; color: rgba(255, 255, 255, .86); }
.mk-book-points li span { font-family: var(--f-mono); font-size: 12px; color: rgba(255, 255, 255, .45); padding-top: 3px; }
.mk-book-card { background: #fff; color: var(--text); border-radius: 18px; padding: 10px; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8); }
.mk-book-alt { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.mk-book-alt a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 980px) { .mk-book { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ FAQ (landing.js toggleFaq -> .faq-item.active) */
.mk-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.mk-faq .faq-list { border-top: 1px solid var(--line); }
.mk .faq-item { border-bottom: 1px solid var(--line); }
.mk .faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 24px 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.012em; }
.mk .faq-toggle { flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; font-family: var(--f-body); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .3s var(--ease), background .2s, color .2s; }
.mk .faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: none; }
.mk .faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mk .faq-answer > div { overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 44em; }
.mk .faq-item.active .faq-answer { grid-template-rows: 1fr; }
.mk .faq-item.active .faq-answer > div { padding-bottom: 24px; }
@media (max-width: 900px) { .mk-faq { grid-template-columns: 1fr; gap: 24px; } }

/* ------------------------------------------------------------ page hero (product / trade pages) */
.mk-phero { position: relative; min-height: min(86svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.mk-phero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 13, 16, .94) 0%, rgba(11, 13, 16, .5) 42%, rgba(11, 13, 16, .2) 75%, rgba(11, 13, 16, .5) 100%), linear-gradient(90deg, rgba(11, 13, 16, .6), rgba(11, 13, 16, 0) 65%); }
.mk-phero-in { position: relative; padding-top: 150px; padding-bottom: clamp(56px, 8vh, 96px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.mk-phero .mk-label { color: rgba(255, 255, 255, .72); margin-bottom: 26px; }
.mk-phero .mk-h1 { font-size: clamp(40px, 4.9vw, 72px); }
.mk-phero .mk-h1 > span:not(.w) { color: rgba(255, 255, 255, .58); }
.mk-phero-side { display: grid; gap: 28px; justify-items: start; padding-bottom: 8px; }
.mk-phero-side .mk-lede { color: rgba(255, 255, 255, .78); }
.mk-phero.short { min-height: 0; }
.mk-phero.short .mk-phero-in { padding-top: 168px; padding-bottom: 72px; }
@media (max-width: 900px) { .mk-phero-in { grid-template-columns: 1fr; } }

/* Big real screen lifted out of the hero */
.mk-lift { position: relative; padding-bottom: var(--sec); }
.mk-lift::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 120px; background: var(--ink); }
.mk-lift .mk-shot { position: relative; }
.mk-lift .mk-cap { justify-content: space-between; }

/* Sticky jump bar of modules */
.mk-jump { position: sticky; top: 68px; z-index: 50; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .mk-jump { background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.mk-jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mk-jump a { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 14px; white-space: nowrap; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.mk-jump a span { color: var(--faint); }
.mk-jump a:hover, .mk-jump a.is-on { color: var(--text); border-color: var(--blue); }
.mk-jump-cta { margin-left: auto; align-self: center; }
.mk-jump .mk-btn { height: 38px; font-size: 13.5px; padding: 0 14px; box-shadow: none; }
.mk-jump .mk-wrap { display: flex; align-items: center; gap: 16px; }
@media (max-width: 720px) { .mk-jump-cta { display: none; } }

/* Feature chapters */
.mk-chapter { padding: var(--sec) 0; scroll-margin-top: 120px; }
.mk-chapter + .mk-chapter { padding-top: 0; }
.mk-chapter-head { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, .85fr); gap: 20px 48px; align-items: start; margin-bottom: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.mk-chapter-n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--faint); padding-top: 10px; }
.mk-chapter-n b { color: var(--blue); font-weight: 500; }
.mk-chapter-head .mk-h2 { font-size: clamp(32px, 3.6vw, 50px); }
.mk-chapter-copy { display: grid; gap: 22px; padding-top: 8px; }
.mk-chapter-copy p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.mk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mk-ticks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.45; }
.mk-ticks li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 13px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.mk-ink .mk-ticks li { color: rgba(255, 255, 255, .86); }
.mk-ink .mk-chapter-head { border-color: var(--dline); }
.mk-ink .mk-chapter-copy p { color: var(--dmuted); }
.mk-chapter-vis { position: relative; }
.mk-chapter-vis.with-phone { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: end; }
.mk-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); justify-items: center; align-items: end; padding: clamp(28px, 5vw, 64px) clamp(14px, 4vw, 56px) 0; background: var(--ink); border-radius: 20px; overflow: hidden; }
.mk-phones .mk-phone { margin-bottom: -60px; }
.mk-phones .mk-phone:nth-child(2) { margin-bottom: -10px; }
.mk-callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.mk-callout { padding: 22px 24px 0 0; }
.mk-callout + .mk-callout { padding-left: 24px; border-left: 1px solid var(--line); }
.mk-callout b { display: block; font-family: var(--f-head); font-size: 19px; letter-spacing: -0.01em; }
.mk-callout p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) {
    .mk-chapter-head { grid-template-columns: 1fr; }
    .mk-chapter-vis.with-phone { grid-template-columns: 1fr; }
    .mk-chapter-vis.with-phone .mk-phone { display: none; }
    .mk-callouts { grid-template-columns: 1fr; }
    .mk-callout + .mk-callout { padding-left: 0; border-left: 0; }
    .mk-phones .mk-phone { margin-bottom: -30px; }
}

/* Cinematic band: real-world footage + one line */
.mk-band { position: relative; min-height: min(78svh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.mk-band-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 13, 16, .88), rgba(11, 13, 16, .25) 55%, rgba(11, 13, 16, .35)); }
.mk-band-in { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 104px); }
.mk-band .mk-h2 { max-width: 16em; font-size: clamp(34px, 4.4vw, 64px); }
.mk-band .mk-h2 > span:not(.w) { color: rgba(255, 255, 255, .55); }
.mk-band .mk-btns { margin-top: 32px; }

/* Benefits */
.mk-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-benefit { background: #fff; border-radius: 16px; padding: 30px 28px 32px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; align-content: start; }
.mk-benefit-n { font-family: var(--f-head); font-size: clamp(40px, 4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.mk-benefit b { font-family: var(--f-head); font-size: 21px; letter-spacing: -0.015em; }
.mk-benefit p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .mk-benefits { grid-template-columns: 1fr; } }

/* Next page card */
.mk-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border-radius: 20px; overflow: hidden; background: var(--ink); color: #fff; min-height: 380px; transition: transform .4s var(--ease); }
.mk-next:hover { transform: translateY(-4px); }
.mk-next-copy { padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: space-between; }
.mk-next-copy .mk-label { color: rgba(255, 255, 255, .6); }
.mk-next-copy .mk-h2 { font-size: clamp(32px, 3.6vw, 52px); }
.mk-next-copy p { color: rgba(255, 255, 255, .7); font-size: 17px; max-width: 30em; }
.mk-next-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #8db6ff; }
.mk-next-vis { position: relative; overflow: hidden; background: #0f1216; }
.mk-next-vis img { position: absolute; left: 8%; top: 12%; width: 140%; max-width: none; border-radius: 10px 0 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .9s var(--ease); }
.mk-next:hover .mk-next-vis img { transform: translate(-2%, -2%); }
@media (max-width: 900px) { .mk-next { grid-template-columns: 1fr; } .mk-next-vis { min-height: 240px; } }

/* CTA strip */
.mk-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 4vw, 48px); border-radius: 20px; background: var(--blue); color: #fff; }
.mk-cta .mk-h3 { font-size: clamp(26px, 2.6vw, 38px); max-width: 18em; }
.mk-cta .mk-btn { background: #fff; color: var(--ink) !important; box-shadow: none; }
.mk-cta .mk-btn:hover { background: #eef3fd; }

/* ------------------------------------------------------------ footer */
.mk-foot { background: var(--ink); color: #fff; padding-top: clamp(88px, 10vw, 140px); overflow: hidden; }
.mk-foot-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-bottom: clamp(64px, 8vw, 110px); border-bottom: 1px solid var(--dline); }
.mk-foot-cta .mk-h1 { font-size: clamp(44px, 6.4vw, 96px); }
.mk-foot-cta .mk-h1 > span:not(.w) { color: rgba(255, 255, 255, .5); }
.mk-foot-cta-side { display: grid; gap: 26px; justify-items: start; }
.mk-foot-cta-side p { color: rgba(255, 255, 255, .7); font-size: 17px; max-width: 26em; }
.mk-foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 56px 0 48px; }
.mk-foot-brand p { margin-top: 16px; color: rgba(255, 255, 255, .6); font-size: 15px; max-width: 22em; }
.mk-foot-col h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.mk-foot-col a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .86); font-size: 15px; transition: color .2s; }
.mk-foot-col a:hover { color: #fff; }
.mk-foot-col a .mk-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8db6ff; margin-left: 6px; }
.mk-foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--dline); font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; color: rgba(255, 255, 255, .45); }
.mk-foot-mark { font-family: var(--f-head); font-weight: 700; font-size: clamp(120px, 24vw, 380px); line-height: .72; letter-spacing: -0.06em; color: rgba(255, 255, 255, .045); text-align: center; margin-bottom: -0.04em; user-select: none; }
@media (max-width: 980px) {
    .mk-foot-cta { grid-template-columns: 1fr; }
    .mk-foot-cols { grid-template-columns: 1fr 1fr; }
    .mk-foot-brand { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ why: coverage matrix */
.mk-matrix { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow-x: auto; }
.mk-mx { min-width: 760px; }
.mk-mx-row { display: grid; grid-template-columns: 220px repeat(8, 1fr); align-items: center; border-top: 1px solid var(--line); }
.mk-mx-row:first-child { border-top: 0; }
.mk-mx-row > span { padding: 18px 10px; text-align: center; }
.mk-mx-row > span:first-child { text-align: left; padding-left: 24px; font-weight: 600; }
.mk-mx-head > span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500 !important; }
.mk-mx-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.mk-mx-2 { background: var(--ink); }
.mk-mx-1 { background: linear-gradient(90deg, var(--ink) 50%, #dfe2e6 50%); }
.mk-mx-0 { background: transparent; box-shadow: inset 0 0 0 1.5px #d4d7dc; }
.mk-mx-us { background: var(--blue-soft); }
.mk-mx-us .mk-mx-2 { background: var(--blue); }
.mk-mx-us > span:first-child { display: flex; align-items: center; gap: 10px; }
.mk-mx-us img { width: 22px; height: 22px; border-radius: 5px; }
.mk-mx-legend { display: flex; gap: 22px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.mk-mx-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mk-stop { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin: 56px 0 0; }
.mk-stop i { height: 4px; background: repeating-linear-gradient(90deg, #f5c518 0 28px, transparent 28px 44px); border-radius: 2px; }
.mk-stop p { font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; text-align: center; }
.mk-stop p span { color: var(--blue); }
.mk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.mk-fact { padding: 28px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.mk-fact b { font-family: var(--f-head); font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: var(--blue); }
.mk-fact span { display: block; margin-top: 10px; font-size: 16px; color: var(--muted); }
@media (max-width: 760px) { .mk-facts { grid-template-columns: 1fr; } .mk-stop { grid-template-columns: 1fr; } .mk-stop i { display: none; } }

/* why: the stack wall */
.mk-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-wall-g { background: rgba(255, 255, 255, .04); border-radius: 16px; padding: 22px 22px 18px; box-shadow: inset 0 0 0 1px var(--dline); }
.mk-wall-g.wide { grid-column: span 2; }
.mk-wall-g h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.mk-wall-g ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mk-wall-g li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 14px; color: rgba(255, 255, 255, .88); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.mk-wall-g li img { width: 22px; height: 22px; border-radius: 6px; background: #fff; }
.mk-keep { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; padding: 26px 28px; border-radius: 16px; background: #fff; color: var(--text); }
.mk-keep p { font-family: var(--f-head); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.mk-keep p span { display: block; font-family: var(--f-body); font-size: 14.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.mk-keep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.mk-keep li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.mk-keep li img { height: 18px; width: auto; }
@media (max-width: 980px) { .mk-wall { grid-template-columns: 1fr; } .mk-wall-g.wide { grid-column: auto; } .mk-keep { grid-template-columns: 1fr; } .mk-keep ul { justify-content: flex-start; } }

/* ------------------------------------------------------------ ROI calculator (landing.js ids) */
.mk-calc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.mk .calc-sliders { background: #fff; border-radius: 18px; padding: 10px 28px; box-shadow: 0 0 0 1px var(--line); }
.mk .calc-slider-group { padding: 22px 0; border-top: 1px solid var(--line); }
.mk .calc-slider-group:first-child { border-top: 0; }
.mk .calc-slider-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mk .calc-label { font-weight: 600; font-size: 15.5px; }
.mk .calc-value { font-family: var(--f-head); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; color: var(--blue); }
.mk .calc-range { width: 100%; accent-color: var(--blue); height: 24px; }
.mk .calc-range-labels { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); margin-top: 4px; }
.mk .calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk .calc-headline { grid-column: 1 / -1; background: var(--ink); color: #fff; border-radius: 18px; padding: 32px; }
.mk .calc-headline-label { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mk .calc-headline-number { font-family: var(--f-head); font-weight: 600; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.045em; margin-top: 14px; }
.mk .calc-headline-sub { margin-top: 10px; color: rgba(255, 255, 255, .6); }
.mk .calc-payback { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--dline); color: rgba(255, 255, 255, .86); }
.mk .calc-payback strong { color: #8db6ff; }
.mk .calc-card { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: grid; gap: 8px; align-content: start; }
.mk .calc-card-amount { font-family: var(--f-head); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.mk .calc-card-title { font-weight: 600; }
.mk .calc-card-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mk .calc-card-math { font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); max-height: 0; overflow: hidden; transition: max-height .3s; }
.mk .calc-card.show-math .calc-card-math, .mk .calc-card:hover .calc-card-math { max-height: 60px; }
.mk .calc-cta { margin-top: 20px; }
@media (max-width: 980px) { .mk-calc { grid-template-columns: 1fr; } .mk .calc-results { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ contact */
.mk-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mk-contact-side { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mk-contact-side > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.mk-contact-side b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.mk-contact-side a { font-family: var(--f-head); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.mk-contact-side a:hover { color: var(--blue); }
.mk-contact-side small { font-size: 14.5px; color: var(--muted); }
.mk-form { background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 0 0 1px var(--line); }
.mk-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-form-grid .full { grid-column: 1 / -1; }
.mk-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.mk-field { width: 100%; height: 50px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 15.5px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
textarea.mk-field { height: auto; padding: 12px 14px; resize: vertical; min-height: 140px; }
.mk-field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 235, .14); }
.mk .form-success { display: none; padding: 22px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; }
.mk .form-success.show, .mk .form-success[style*="block"] { display: block; }
@media (max-width: 900px) { .mk-contact { grid-template-columns: 1fr; } .mk-form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ trade stats band */
.mk-figs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dline); }
.mk-fig { padding: 28px 20px 0 0; }
.mk-fig + .mk-fig { padding-left: 20px; border-left: 1px solid var(--dline); }
.mk-fig b { display: block; font-family: var(--f-head); font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.mk-fig b i { font-style: normal; font-size: .45em; color: rgba(255, 255, 255, .55); margin-left: 4px; letter-spacing: 0; }
.mk-fig span { display: block; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .mk-figs { grid-template-columns: 1fr 1fr; } .mk-fig:nth-child(3) { border-left: 0; padding-left: 0; } .mk-fig { padding-bottom: 20px; } }

/* ------------------------------------------------------------ sub-pages (/bid /build /paving /landscaping /roofing /why-trutec /roi-calculator /contact) */
/* Logo strip under the lifted hero screen */
.mk-lift-logos { margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line); }
/* customer logos are light-on-transparent (made for the dark hero): ink them on paper */
.mk-lift-logos .mk-marquee-group img, .mk-logos-band .mk-marquee-group img { filter: brightness(0); opacity: .5; }
/* the jump bar's CTA is a button, not a mono module link */
.mk-jump .mk-btn { font-family: var(--f-body); font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; text-transform: none; border-bottom: 0; }
/* Chapters sit in background groups (white / paper / ink) inside one wrapper,
   so the sticky jump bar ends with the chapters instead of riding the footer. */
.mk-sec[id], .mk-chapters [id] { scroll-margin-top: 122px; }
.mk-ink .mk-callouts, .mk-ink .mk-callout + .mk-callout { border-color: var(--dline); }
.mk-ink .mk-callout p { color: var(--dmuted); }
.mk-ink .mk-chapter-n { color: rgba(255, 255, 255, .46); }
.mk-ink .mk-chapter-n b { color: #8db6ff; }
.mk-ink .mk-chapter-copy p { color: var(--dmuted); }
.mk-chapter-vis .mk-cap, .mk-pair .mk-cap { justify-content: space-between; flex-wrap: wrap; }
/* `.mk a { color: inherit }` outranks the single-class color on these dark
   link cards, which left their titles dark-on-dark on paper/white sections
   (next cards, the homepage trade cards, the nav's feature card). */
.mk a.mk-next, .mk a.mk-trade, .mk a.mk-panel-feature { color: #fff; }
/* Two real screens side by side */
.mk-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .mk-pair { grid-template-columns: 1fr; } }
/* Paper/white benefit cards keep their edge on paper */
.mk-paper .mk-benefit { box-shadow: 0 0 0 1px var(--line), 0 20px 50px -36px rgba(13, 15, 18, .35); }
.mk-benefits + .mk-next { margin-top: clamp(56px, 7vw, 96px); }
.mk-next + .mk-cta { margin-top: 20px; }
/* Why TruTec: one job, lead to paid, in real screens */
.mk-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; counter-reset: flow; }
.mk-flow-step { display: grid; gap: 16px; align-content: start; }
.mk-flow-step .mk-shot { border-radius: 12px; }
.mk-flow-k { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mk-flow-k b { color: var(--blue); font-weight: 500; }
.mk-flow-step h3 { font-family: var(--f-head); font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.mk-flow-step p { font-size: 15px; color: var(--muted); margin-top: -8px; }
@media (max-width: 980px) { .mk-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mk-flow { grid-template-columns: 1fr; } }
/* ROI calculator: the assumptions line under the results */
.mk-calc-note { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 46em; }
.mk .calc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
/* Contact: visible labels on the form, optional hint */
.mk-form label small { font-weight: 400; color: var(--faint); margin-left: 4px; }
.mk-form .mk-btn { margin-top: 6px; }
.mk button.mk-btn { background: var(--blue); }
.mk button.mk-btn:hover { background: var(--blue-ink); }
.mk-form .mk-btn:disabled { opacity: .6; cursor: default; transform: none; }
/* /platform: compact feature rows (mk_kit feature_row) inside the Bid / Build halves */
.mk-half { padding-top: calc(var(--sec) * .66); padding-bottom: clamp(24px, 3vw, 40px); }
.mk-half .mk-head { margin-bottom: clamp(20px, 3vw, 36px); }
.mk-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 3.2vw, 46px) 0; border-top: 1px solid var(--line); }
.mk-row.flip { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); }
.mk-row.flip > .mk-row-copy { order: 2; }
.mk-row-copy { display: grid; gap: 16px; align-content: center; }
.mk-row-copy .mk-chapter-n { padding-top: 0; }
.mk-row-copy .mk-h3 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.06; letter-spacing: -0.03em; }
.mk-row-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.mk-row-vis .mk-phones { padding: clamp(22px, 3vw, 36px) clamp(14px, 2.5vw, 32px) 0; gap: clamp(10px, 1.6vw, 22px); }
.mk-row-vis .mk-phones .mk-phone { margin-bottom: -46px; }
.mk-row-vis .mk-phones .mk-phone:nth-child(2) { margin-bottom: -8px; }
@media (max-width: 980px) { .mk-row, .mk-row.flip { grid-template-columns: 1fr; } .mk-row.flip > .mk-row-copy { order: 0; } }
/* /platform: the hand-off between the halves — signed in Bid, scheduled in Build */
.mk-handoff { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 16px; align-items: center; }
.mk-handoff-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(31, 111, 235, .8); }
.mk-handoff-arrow svg { width: 22px; height: 22px; }
.mk-handoff .mk-cap { justify-content: space-between; flex-wrap: wrap; }
@media (max-width: 900px) { .mk-handoff { grid-template-columns: 1fr; justify-items: center; } .mk-handoff > div { width: 100%; } .mk-handoff-arrow { transform: rotate(90deg); } }

/* ============================================================ FRAME THEME (dark)
   Oct 7 2026 redesign ("get it to .001% of design"): one dark canvas held by
   thin frame lines, side gutters with rotated mono labels, product shown in
   context (real UI on real devices: static/landing/context/ctx-*.jpg, made by
   landing-film/film5/stills.py). Pages opt in with {% block mk_theme %}mk-dark{% endblock %}. */
.mk.mk-dark {
    --bg: #0a0a0b; --panel: #111114; --panel-2: #17171b;
    --fline: rgba(255, 255, 255, .085); --ftext: #f3f3f4; --fmuted: rgba(243, 243, 244, .62); --ffaint: rgba(243, 243, 244, .4);
    --accent: #3b82f6; --accent-ink: #2b6fe0;
    --frame: 1440px; --gw: 64px;
    background: var(--bg); color: var(--ftext);
}
.mk-dark .mk-btn { background: var(--accent); box-shadow: 0 10px 30px -12px rgba(59, 130, 246, .8); }
.mk-dark .mk-btn:hover { background: var(--accent-ink); }
.mk-dark .mk-btn.ghost { background: transparent; color: var(--ftext) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.mk-dark .mk-btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.mk-dark .mk-link { color: #93b8ff; }
.mk-dark .mk-label { color: var(--ffaint); }
.mk-dark .mk-label::before { background: var(--accent); }
.mk-dark .mk-dim { color: rgba(243, 243, 244, .42); }
.mk-dark .mk-lede { color: var(--fmuted); }

/* the frame: a 1440 column with two label gutters and hairline frame lines. Section backgrounds run
   edge to edge (no dark bars beside them on wide screens); the gutters just grow past 1440 */
.fx { display: grid; grid-template-columns: minmax(var(--gw), 1fr) minmax(0, calc(var(--frame) - 2 * var(--gw))) minmax(var(--gw), 1fr); position: relative; }
.fx + .fx, .fx.top { border-top: 1px solid var(--fline); }
.fx-g { position: relative; }
.fx-g:first-child { padding-left: calc(100% - var(--gw)); }   /* keep the label beside the frame line */
.fx-g:last-child { padding-right: calc(100% - var(--gw)); }
.fx-g:first-child { border-right: 1px solid var(--fline); }
.fx-g:last-child { border-left: 1px solid var(--fline); }
.fx-g span { position: sticky; top: 110px; display: block; padding: 40px 0; writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 auto;
             font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ffaint); white-space: nowrap; }
.fx-g:last-child span { transform: none; }
.fx-c { min-width: 0; }
.fx-pad { padding: clamp(72px, 8vw, 120px) clamp(24px, 4vw, 64px); }
.fx-span { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .fx { grid-template-columns: minmax(0, 1fr); border: 0; }
    .fx + .fx, .fx.top { border-top: 1px solid var(--fline); }
    .fx-g { display: none; }
    .fx-pad { padding: 64px 16px; }
}

/* hero: the film inside the frame, centred line + one button */
.fx-hero { position: relative; grid-column: 1 / -1; height: clamp(600px, 88svh, 900px); overflow: hidden; background: #000; }
.fx-hero video, .fx-hero img.fx-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.03); }
.fx-hero-shade { position: absolute; inset: 0; background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(10, 10, 11, .62) 0%, rgba(10, 10, 11, .25) 60%, rgba(10, 10, 11, .1) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 22%, rgba(10, 10, 11, 0) 70%, rgba(10, 10, 11, .85) 100%); }
.fx-hero-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 30px; padding: 120px 24px 80px; }
.fx-hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em; max-width: 13em; text-wrap: balance; }
.fx-hero h1 > span:not(.w) { color: rgba(255, 255, 255, .6); }
.fx-hero .mk-film-toggle { right: 24px; bottom: 24px; }

/* logo row under the hero: static, evenly spaced, monochrome */
.fx-logos { grid-column: 1 / -1; display: grid; grid-template-columns: 220px repeat(6, minmax(0, 1fr)); align-items: center; border-top: 1px solid var(--fline); }
.fx-logos > * { height: 96px; display: grid; place-items: center; border-left: 1px solid var(--fline); padding: 0 18px; }
.fx-logos > p { border-left: 0; justify-items: start; padding-left: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ffaint); line-height: 1.5; }
.fx-logos img { max-height: 34px; max-width: 100%; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: .7; }
.fx-logos img.tall { max-height: 44px; }
@media (max-width: 900px) { .fx-logos { grid-template-columns: repeat(3, 1fr); } .fx-logos > p { grid-column: 1 / -1; height: auto; padding: 22px 16px 6px; } .fx-logos > *:nth-child(3n+2) { border-left: 0; } .fx-logos > * { height: 76px; border-top: 1px solid var(--fline); } }

/* split: a product-in-context photo beside one statement */
.fx-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fx-split.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.fx-split.flip > .fx-photo { order: 2; border-right: 0; border-left: 1px solid var(--fline); }
.fx-photo { position: relative; overflow: hidden; border-right: 1px solid var(--fline); min-height: 520px; background: var(--panel); }
.fx-photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.4s var(--ease); }
.fx-photo:hover img { transform: scale(1.025); }
.fx-photo-tag { position: absolute; left: 20px; bottom: 20px; z-index: 1; margin: 0; display: inline-flex; align-items: center; gap: 10px;
                padding: 10px 14px; border-radius: 999px; background: rgba(11, 13, 16, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
                color: #fff; font: 600 13px/1 var(--f-body); letter-spacing: .01em; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.fx-photo-tag span { color: rgba(255, 255, 255, .62); font-weight: 500; }
#platform-intro .fx-photo img { object-position: 80% 42%; }   /* keep the laptop's takeoff in frame at any width */
.fx-photo-tag i { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 0 rgba(59, 130, 246, .7); animation: fxTagPulse 2s ease-out infinite; }
@keyframes fxTagPulse { 70% { box-shadow: 0 0 0 9px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } }
@media (prefers-reduced-motion: reduce) { .fx-photo-tag i { animation: none; } }
/* intro laptop cycling paving -> roofing -> landscaping (marketing.js initCycle): the incoming slide fades in over
   the outgoing one, which holds until it is covered; each slide carries its own tag. Dots jump to a trade; the
   active dot fills over its 5 s. */
.fx-cycle .fx-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .8s var(--ease); }
.fx-cycle .fx-slide.was-on { opacity: 1; z-index: 1; transition: none; }
.fx-cycle .fx-slide.is-on { opacity: 1; z-index: 2; }
.fx-dots { position: absolute; right: 20px; bottom: 22px; z-index: 3; display: flex; gap: 2px; padding: 4px 6px; border-radius: 999px;
           background: rgba(11, 13, 16, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.fx-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.fx-dots button:focus-visible { outline: 2px solid #3b82f6; outline-offset: 1px; }
.fx-dots i { position: relative; display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .42); overflow: hidden;
             transition: width .35s var(--ease), background .2s; }
.fx-dots button:hover i { background: rgba(255, 255, 255, .8); }
.fx-dots button.is-on i { width: 26px; background: rgba(255, 255, 255, .3); }
.fx-dots button.fill i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0);
                                 animation: fxDotFill var(--cycle, 5s) linear forwards; animation-play-state: var(--cycle-state, running); }
@keyframes fxDotFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .fx-cycle .fx-slide { transition: none; } .fx-dots button.fill i::after { animation: none; transform: scaleX(1); } }
@media (max-width: 600px) { .fx-dots { right: 12px; bottom: 12px; } }
@media (max-width: 600px) { .fx-photo-tag { left: 12px; bottom: 12px; padding: 8px 12px; font-size: 12px; white-space: nowrap; } .fx-photo-tag span { display: none; } }
.fx-copy { padding: clamp(48px, 6vw, 96px) clamp(28px, 4.5vw, 72px); display: grid; align-content: center; gap: 26px; }
.fx-copy .mk-h2 { font-size: clamp(32px, 3.6vw, 52px); }
.fx-copy p:not(.mk-label) { color: var(--fmuted); font-size: 17.5px; line-height: 1.6; max-width: 30em; }
.fx-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fline); margin-top: 10px; }
.fx-nums > div { padding: 22px 16px 0 0; }
.fx-nums > div + div { padding-left: 18px; border-left: 1px solid var(--fline); }
.fx-nums b { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1; }
.fx-nums small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ffaint); }
@media (max-width: 900px) { .fx-split, .fx-split.flip { grid-template-columns: 1fr; } .fx-photo { min-height: 0; aspect-ratio: 16 / 10; border: 0 !important; border-bottom: 1px solid var(--fline) !important; } .fx-split.flip > .fx-photo { order: 0; } .fx-copy { padding: 44px 16px 52px; } }

/* centred section head */
.fx-head { text-align: center; display: grid; justify-items: center; gap: 20px; padding: clamp(80px, 9vw, 128px) 24px clamp(44px, 5vw, 64px); }
.fx-head .mk-h2 { max-width: 18em; }
.fx-head .mk-lede { margin: 0 auto; max-width: 38em; }

/* one job, six frames: the product in context, lead to paid */
.fx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.fx-step { border-left: 1px solid var(--fline); display: grid; grid-template-rows: auto 1fr; }
.fx-step:nth-child(3n+1) { border-left: 0; }
.fx-step:nth-child(n+4) { border-top: 1px solid var(--fline); }
.fx-step-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.fx-step-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ease); }
.fx-step:hover .fx-step-img img { transform: scale(1.035); }
.fx-step-tag { position: absolute; left: 14px; top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(10, 10, 11, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 9px; border-radius: 4px; }
.fx-step-tag b { color: #93b8ff; font-weight: 500; }
.fx-step-copy { padding: 22px 24px 28px; display: grid; gap: 8px; align-content: start; }
.fx-step-copy h3 { font-size: 21px; letter-spacing: -0.015em; }
.fx-step-copy p { font-size: 15px; color: var(--fmuted); line-height: 1.5; }
@media (max-width: 900px) { .fx-steps { grid-template-columns: 1fr; } .fx-step { border-left: 0 !important; border-top: 1px solid var(--fline); } .fx-step:first-child { border-top: 0; } }

/* tour on dark */
.mk-dark .fx-tour { padding: 0 clamp(24px, 4vw, 64px) clamp(72px, 8vw, 112px); }
.mk-dark .mk-tour-tab { color: var(--ffaint); border-color: var(--fline) !important; }
.mk-dark .mk-tour-tab:hover, .mk-dark .mk-tour-tab.is-on { color: var(--ftext); }
.mk-dark .mk-tour-tab .d { color: var(--fmuted); }
.mk-dark .mk-tour-tab .bar { background: var(--accent); }
.mk-dark .mk-shot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 120px -40px rgba(0, 0, 0, .9); }
.mk-dark .mk-shot-bar { background: #1a1b1f; border-bottom-color: #26272c; }
.mk-dark .mk-shot-bar i { background: #3a3b41; }
.mk-dark .mk-shot-bar span { color: #6f7179; }
.mk-dark .mk-tour-slide.phones.is-on { background: var(--panel); box-shadow: 0 0 0 1px var(--fline); }
@media (max-width: 980px) { .mk-dark .mk-tour-tab.is-on { background: #fff; color: var(--bg); border-color: #fff !important; } }

/* trades: three framed columns */
.fx-trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.fx-trade { display: grid; grid-template-rows: auto 1fr; border-left: 1px solid var(--fline); color: inherit; transition: background .3s; }
.fx-trade:first-child { border-left: 0; }
.fx-trade:hover { background: var(--panel); }
.fx-trade-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.fx-trade-img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ease); }
.fx-trade:hover .fx-trade-img img { transform: scale(1.04); }
.fx-trade-copy { padding: 24px 24px 28px; display: grid; gap: 10px; align-content: start; }
.fx-trade-copy h3 { font-size: 24px; letter-spacing: -0.02em; }
.fx-trade-copy p { font-size: 15px; color: var(--fmuted); line-height: 1.5; }
.fx-more { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftext); }
.fx-more i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.fx-more i svg { width: 12px; height: 12px; }
.fx-trade:hover .fx-more i, .fx-more:hover i { transform: translateX(3px); }
@media (max-width: 900px) { .fx-trades { grid-template-columns: 1fr; } .fx-trade { border-left: 0; border-top: 1px solid var(--fline); } .fx-trade:first-child { border-top: 0; } }

/* customers on dark */
.mk-dark .fx-cust { padding: 0 clamp(24px, 4vw, 64px) clamp(72px, 8vw, 112px); }
.mk-dark .t-role { color: var(--fmuted); }
.mk-dark .t-arrow { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: var(--ftext); }
.mk-dark .t-arrow:hover { background: rgba(255, 255, 255, .06); }
.fx-headrow { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: clamp(80px, 9vw, 128px) clamp(24px, 4vw, 64px) 40px; }
.fx-headrow .mk-h2 { max-width: 16em; }

/* stats strip */
.fx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.fx-stats > div { padding: 40px clamp(24px, 4vw, 64px) 44px; border-left: 1px solid var(--fline); }
.fx-stats > div:first-child { border-left: 0; }
.fx-stats b { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(44px, 5vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.fx-stats b small { font-size: .38em; letter-spacing: -0.01em; color: var(--ffaint); margin-left: 6px; }
.fx-stats span { display: block; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ffaint); }
@media (max-width: 900px) { .fx-stats { grid-template-columns: 1fr; } .fx-stats > div { border-left: 0; border-top: 1px solid var(--fline); padding: 28px 16px; } .fx-stats > div:first-child { border-top: 0; } }

/* booking + FAQ on dark */
.fx-book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.fx-book > div:first-child { padding: clamp(64px, 7vw, 104px) clamp(28px, 4.5vw, 72px); border-right: 1px solid var(--fline); display: grid; align-content: start; gap: 22px; }
.fx-book > div:last-child { padding: clamp(32px, 4vw, 56px); display: grid; align-items: start; }
.mk-dark .mk-book-points li { border-color: var(--fline); color: rgba(243, 243, 244, .86); }
@media (max-width: 900px) { .fx-book { grid-template-columns: 1fr; } .fx-book > div:first-child { border-right: 0; border-bottom: 1px solid var(--fline); padding: 56px 16px; } .fx-book > div:last-child { padding: 20px 12px 40px; } }
.mk-dark #faq { background: var(--bg); color: var(--ftext); }
.mk-dark #faq .mk-wrap { max-width: var(--frame); border-left: 1px solid var(--fline); border-right: 1px solid var(--fline); border-top: 1px solid var(--fline); padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); padding-left: calc(var(--gw) + clamp(24px, 4vw, 64px)); padding-right: calc(var(--gw) + clamp(24px, 4vw, 64px)); }
.mk-dark #faq.mk-sec { padding: 0; }
.mk-dark .faq-list { border-color: var(--fline) !important; }
.mk-dark .faq-item { border-color: var(--fline); }
.mk-dark .faq-toggle { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.mk-dark .faq-item.active .faq-toggle { background: #fff; color: var(--bg); }
.mk-dark .faq-answer > div { color: var(--fmuted); }
@media (max-width: 900px) { .mk-dark #faq .mk-wrap { border: 0; border-top: 1px solid var(--fline); padding: 56px 16px; } }
.mk-dark .mk-foot { background: var(--bg); }
.mk-dark .mk-foot > .mk-wrap { max-width: var(--frame); border-left: 1px solid var(--fline); border-right: 1px solid var(--fline); border-top: 1px solid var(--fline); padding-left: calc(var(--gw) + clamp(24px, 4vw, 64px)); padding-right: calc(var(--gw) + clamp(24px, 4vw, 64px)); padding-top: clamp(72px, 8vw, 112px); }
.mk-dark .mk-foot { padding-top: 0; }
@media (max-width: 900px) { .mk-dark .mk-foot > .mk-wrap { border: 0; border-top: 1px solid var(--fline); padding: 56px 16px 0; } }
.mk-dark .mk-nav .mk-wrap { max-width: var(--frame); }
.mk-dark .mk-nav.is-solid { box-shadow: 0 1px 0 var(--fline); }
/* FAQ + footer carry the same gutter lines as the framed sections */
@media (min-width: 901px) {
    .mk-dark #faq .mk-wrap, .mk-dark .mk-foot > .mk-wrap {
        background:
            linear-gradient(var(--fline), var(--fline)) var(--gw) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline), var(--fline)) calc(100% - var(--gw)) 0 / 1px 100% no-repeat;
    }
}
.mk-dark .fx-hero-shade { background:
    radial-gradient(ellipse 62% 48% at 50% 52%, rgba(10, 10, 11, .72) 0%, rgba(10, 10, 11, .38) 62%, rgba(10, 10, 11, .14) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, .6) 0%, rgba(10, 10, 11, 0) 22%, rgba(10, 10, 11, 0) 70%, rgba(10, 10, 11, .88) 100%); }
.fx-hero h1 { text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }

/* ------------------------------------------------------------ frame theme on the sub-pages
   (`mk-dark mk-frame-lines`): the light components re-tokened for the dark
   canvas, page-long frame lines drawn once, every section inside the frame. */
.mk.mk-dark {
    --text: #f3f3f4; --muted: rgba(243, 243, 244, .62); --faint: rgba(243, 243, 244, .42);
    --line: rgba(255, 255, 255, .085); --line-strong: rgba(255, 255, 255, .22);
    --paper: #0e0e10; --sand: #0e0e10; --white: #0a0a0b; --ink: #0a0a0b; --ink-2: #111114;
    --blue: #3b82f6; --blue-ink: #2b6fe0; --blue-soft: rgba(59, 130, 246, .14); --dline: rgba(255, 255, 255, .085);
}
.mk-frame-lines { position: relative; }
@media (min-width: 901px) {
    .mk-frame-lines::after {
        content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 60;
        --x0: max(0px, calc(50% - var(--frame) / 2));
        background:
            linear-gradient(var(--fline), var(--fline)) var(--x0) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline), var(--fline)) calc(var(--x0) + var(--gw)) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline), var(--fline)) calc(100% - var(--x0) - var(--gw)) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline), var(--fline)) calc(100% - var(--x0)) 0 / 1px 100% no-repeat;
    }
    .mk-frame-lines .mk-wrap { max-width: var(--frame); padding-left: calc(var(--gw) + clamp(20px, 3.4vw, 56px)); padding-right: calc(var(--gw) + clamp(20px, 3.4vw, 56px)); }
    .mk-frame-lines .mk-nav .mk-wrap { padding-left: var(--gut); padding-right: var(--gut); }
    .mk-frame-lines > section, .mk-frame-lines > div > section, .mk-frame-lines .mk-chapter, .mk-frame-lines .mk-half { position: relative; }
    .mk-frame-lines > section::before, .mk-frame-lines .mk-chapters > section::before, .mk-frame-lines > footer::before {
        content: ''; position: absolute; top: 0; height: 1px; background: var(--fline);
        left: max(0px, calc(50% - var(--frame) / 2)); right: max(0px, calc(50% - var(--frame) / 2));
    }
}
.mk-dark .mk-white, .mk-dark .mk-paper, .mk-dark .mk-sand, .mk-dark .mk-ink { background: transparent; color: var(--text); }
.mk-dark .mk-dim { color: rgba(243, 243, 244, .42); }
.mk-dark .mk-jump { background: rgba(10, 10, 11, .86); border-color: var(--fline); }
@supports (backdrop-filter: blur(1px)) { .mk-dark .mk-jump { background: rgba(10, 10, 11, .7); } }
.mk-dark .mk-benefit, .mk-dark .mk-fact, .mk-dark .mk-matrix, .mk-dark .calc-sliders, .mk-dark .calc-card, .mk-dark .mk-form { background: var(--ink-2); box-shadow: 0 0 0 1px var(--fline); }
.mk-dark .mk-keep { background: var(--ink-2); color: var(--text); box-shadow: 0 0 0 1px var(--fline); }
.mk-dark .mk-keep li { background: rgba(255, 255, 255, .06); }
.mk-dark .mk-field { background: #0c0c0e; border-color: rgba(255, 255, 255, .16); color: var(--text); }
.mk-dark .mk-field::placeholder { color: var(--faint); }
.mk-dark .mk .calc-headline, .mk-dark .calc-headline { background: var(--ink-2); box-shadow: 0 0 0 1px var(--fline); }
.mk-dark .mk-mx-2 { background: #f3f3f4; }
.mk-dark .mk-mx-1 { background: linear-gradient(90deg, #f3f3f4 50%, rgba(255, 255, 255, .16) 50%); }
.mk-dark .mk-mx-0 { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.mk-dark .mk-mx-us .mk-mx-2 { background: var(--blue); }
.mk-dark .mk-mx-head > span { color: var(--faint); }
.mk-dark .mk-phones { background: var(--ink-2); box-shadow: 0 0 0 1px var(--fline); }
.mk-dark .mk-lift::before { background: transparent; }
.mk-dark .mk-lift-logos .mk-marquee-group img, .mk-dark .mk-logos-band .mk-marquee-group img { filter: grayscale(1) brightness(0) invert(1); opacity: .62; }
.mk-dark .mk-next { box-shadow: 0 0 0 1px var(--fline); background: var(--ink-2); }
.mk-dark .mk-wall-g { background: var(--ink-2); }
.mk-dark .mk-tour-tab, .mk-dark .mk-chapter-head, .mk-dark .mk-row, .mk-dark .mk-callouts, .mk-dark .mk-callout + .mk-callout { border-color: var(--fline) !important; }
.mk-dark .mk-panel { color: #0d0f12; }
.mk-dark .mk-panel a small { color: #5b626d; }
.mk-dark .mk-panel-col > a:not(.mk-panel-head) { color: #2b3038; }
@media (max-width: 1080px) { .mk-dark .mk-panel, .mk-dark .mk-panel a small, .mk-dark .mk-panel-col > a:not(.mk-panel-head) { color: inherit; } .mk-dark .mk-panel a small { color: rgba(255, 255, 255, .55); } }

/* ------------------------------------------------------------ job film (homepage): one real scene per step,
   the crisp screen beside it, a rail that plays the six steps in order (marketing.js initJobFilm) */
.jf { border-top: 1px solid var(--fline); }
.jf-stage { position: relative; }
.jf-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.jf-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.jf-layer.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.jf-layer video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.jf-layer.is-on video { transform: scale(1); }
.jf-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(10, 10, 11, .8) 0%, rgba(10, 10, 11, .42) 30%, rgba(10, 10, 11, 0) 55%),
    linear-gradient(0deg, rgba(10, 10, 11, .72) 0%, rgba(10, 10, 11, 0) 42%); }
.jf-detail { position: absolute; right: clamp(20px, 3.2vw, 48px); top: 50%; width: min(41%, 560px); margin: 0;
    border-radius: 12px; overflow: hidden; background: #fff;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14);
    opacity: 0; transform: translate(28px, -46%) scale(.98); transition: opacity .7s var(--ease) .55s, transform .9s var(--ease) .55s; }
.jf-layer.is-on .jf-detail { opacity: 1; transform: translate(0, -50%) scale(1); }
.jf-detail .mk-shot-bar { height: 26px; background: #f4f5f7; border-bottom: 1px solid #e6e8ec; }
.jf-detail .mk-shot-bar i { width: 8px; height: 8px; background: #d4d7dc; }
.jf-detail .mk-shot-bar span { color: #8a909a; font-size: 10.5px; }
.jf-detail img { width: 100%; height: auto; display: block; }
.jf-detail.narrow { width: min(31%, 420px); }
.jf-detail.top { top: 7%; transform: translate(28px, 0) scale(.98); }
.jf-layer.is-on .jf-detail.top { transform: none; }
.jf-detail.phone { width: min(21%, 270px); padding: 8px; border-radius: 38px; background: #0d0f12; right: clamp(40px, 7vw, 120px); }
.jf-detail.phone img { border-radius: 30px; }
.jf-caps { position: absolute; left: clamp(24px, 3.6vw, 56px); bottom: clamp(24px, 3.6vw, 52px); width: min(42%, 520px); pointer-events: none; }
.jf-cap { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.jf-cap.is-on { position: relative; opacity: 1; transform: none; transition-delay: .25s; }
.jf-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.jf-k b { color: #93b8ff; font-weight: 500; }
.jf-cap h3 { margin-top: 14px !important; font-size: clamp(34px, 3.8vw, 56px); line-height: 1; letter-spacing: -0.032em; color: #fff; }
.jf-cap p:last-child { margin-top: 14px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 26em; }
.jf-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.jf-tab { position: relative; text-align: left; display: grid; gap: 6px; padding: 18px 20px 22px; border-left: 1px solid var(--fline); color: var(--ffaint); transition: color .25s, background .25s; }
.jf-tab:first-child { border-left: 0; }
.jf-tab:hover { color: var(--ftext); background: rgba(255, 255, 255, .02); }
.jf-tab.is-on { color: var(--ftext); background: rgba(255, 255, 255, .03); }
.jf-p { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); }
.jf-tab.done .jf-p { width: 100%; background: rgba(255, 255, 255, .28); }
.jf-tk { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.jf-tt { font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
@media (max-width: 900px) {
    .jf-detail { width: 46%; right: 12px; border-radius: 8px; }
    .jf-detail .mk-shot-bar { display: none; }
    .jf-detail.phone { width: 26%; right: 16px; border-radius: 20px; padding: 4px; }
    .jf-detail.phone img { border-radius: 16px; }
    .jf-shade { background: linear-gradient(0deg, rgba(10, 10, 11, .35) 0%, rgba(10, 10, 11, 0) 50%); }
    .jf-screen { aspect-ratio: 4 / 3; background: #16233a; }   /* the phone cut: the app fills the width */
    .jf-layer video, .jf-layer.is-on video { transform: none; }
    .jf-caps { position: relative; left: 0; bottom: 0; width: 100%; padding: 22px 16px 26px; min-height: 172px; background: #0f1724; }   /* light text needs the dark stage under it */
    .jf-cap h3 { font-size: 30px; }
    .jf-rail { display: flex; overflow-x: auto; scrollbar-width: none; position: relative; }
    .jf-rail::-webkit-scrollbar { display: none; }
    .jf-tab { flex: 0 0 auto; min-width: 132px; padding: 14px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .jf-layer video { transform: none; transition: none; } }

/* ============================================================ TONES — flip light / dark by section
   (Ryan, Oct 7 2026: "too black, should flip colors by section"). Every framed
   component reads these tokens, so a section only declares its tone. */
.mk.mk-dark, .mk-dark .tone-dark, .mk-dark .mk-ink {
    --bg: #0a0a0b; --panel: #131316; --fline: rgba(255, 255, 255, .09);
    --ftext: #f3f3f4; --fmuted: rgba(243, 243, 244, .64); --ffaint: rgba(243, 243, 244, .42); --dim: rgba(243, 243, 244, .42);
    --link: #93b8ff; --line-strong: rgba(255, 255, 255, .22); --hover: rgba(255, 255, 255, .06);
    --chrome: #1a1b1f; --chrome-line: #26272c; --chrome-dot: #3a3b41; --chrome-text: #6f7179;
    --logo-filter: grayscale(1) brightness(0) invert(1); --logo-op: .72;
    --text: #f3f3f4; --muted: rgba(243, 243, 244, .64); --faint: rgba(243, 243, 244, .42);
    --line: rgba(255, 255, 255, .09); --ink-2: #131316; --white: #0a0a0b; --paper: #0a0a0b;
}
.mk-dark .tone-paper, .mk-dark .tone-white, .mk-dark .mk-paper, .mk-dark .mk-sand, .mk-dark .mk-white, .mk-dark #faq {
    --bg: #f2eee7; --panel: #ffffff; --fline: rgba(13, 15, 18, .11);
    --ftext: #0d0f12; --fmuted: rgba(13, 15, 18, .64); --ffaint: rgba(13, 15, 18, .46); --dim: #8b919b;
    --link: #1f6feb; --line-strong: rgba(13, 15, 18, .2); --hover: rgba(13, 15, 18, .04);
    --chrome: #f6f7f9; --chrome-line: #e8eaee; --chrome-dot: #d9dce1; --chrome-text: #8a909a;
    --logo-filter: grayscale(1) brightness(0); --logo-op: .55;
    --text: #0d0f12; --muted: #5b626d; --faint: #8a909a;
    --line: rgba(13, 15, 18, .11); --ink-2: #ffffff; --white: #ffffff; --paper: #f2eee7;
    --blue: #1f6feb; --blue-soft: #e7effd; --accent: #1f6feb; --accent-ink: #1558c9;
}
.mk-dark .tone-white, .mk-dark .mk-white, .mk-dark #faq { --bg: #ffffff; --panel: #f6f4ef; --ink-2: #f6f4ef; }
.mk-dark .tone-dark, .mk-dark .tone-paper, .mk-dark .tone-white,
.mk-dark .mk-ink, .mk-dark .mk-paper, .mk-dark .mk-sand, .mk-dark .mk-white, .mk-dark #faq { background: var(--bg); color: var(--ftext); }

/* components, re-expressed in tokens so they work on either tone */
.mk-dark .mk-btn.ghost { color: var(--ftext) !important; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mk-dark .mk-btn.ghost:hover { background: var(--hover); }
.mk-dark .mk-link { color: var(--link); }
.mk-dark .mk-dim { color: var(--dim); }
.mk-dark .mk-label { color: var(--ffaint); }
.mk-dark .mk-lede { color: var(--fmuted); }
.mk-dark .t-arrow { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ftext); }
.mk-dark .t-arrow:hover { background: var(--hover); }
.mk-dark .t-role { color: var(--fmuted); }
.mk-dark .faq-toggle { box-shadow: inset 0 0 0 1px var(--line-strong); }
.mk-dark .faq-item.active .faq-toggle { background: var(--ftext); color: var(--bg); }
.mk-dark .mk-shot-bar { background: var(--chrome); border-bottom-color: var(--chrome-line); }
.mk-dark .mk-shot-bar i { background: var(--chrome-dot); }
.mk-dark .mk-shot-bar span { color: var(--chrome-text); }
.mk-dark .tone-paper .mk-shot, .mk-dark .tone-white .mk-shot, .mk-dark .mk-white .mk-shot, .mk-dark .mk-paper .mk-shot { box-shadow: 0 0 0 1px rgba(13, 15, 18, .08), 0 40px 90px -40px rgba(13, 15, 18, .45); }
.mk-dark .fx-logos img, .mk-dark .mk-marquee-group img { filter: var(--logo-filter); opacity: var(--logo-op); }
.mk-dark .mk-book-points li { border-color: var(--fline); color: var(--ftext); }
.mk-dark .mk-book-points li span { color: var(--ffaint); }
.mk-dark .mk-book-alt { color: var(--fmuted); }
.mk-dark .mk-book-alt a { color: var(--ftext); border-color: var(--line-strong); }
.mk-dark .fx-trade:hover { background: var(--panel); }
.mk-dark .mk-tour-slide.phones.is-on { background: #131316; }
@media (max-width: 980px) { .mk-dark .mk-tour-tab.is-on { background: var(--ftext); color: var(--bg); border-color: var(--ftext) !important; } }

/* sub-pages: the page-long frame lines must read on light and dark sections */
.mk-frame-lines { --fline-x: rgba(128, 128, 128, .22); }
@media (min-width: 901px) {
    .mk-frame-lines::after {
        background:
            linear-gradient(var(--fline-x), var(--fline-x)) var(--x0) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline-x), var(--fline-x)) calc(var(--x0) + var(--gw)) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline-x), var(--fline-x)) calc(100% - var(--x0) - var(--gw)) 0 / 1px 100% no-repeat,
            linear-gradient(var(--fline-x), var(--fline-x)) calc(100% - var(--x0)) 0 / 1px 100% no-repeat;
    }
    .mk-frame-lines > section::before, .mk-frame-lines .mk-chapters > section::before, .mk-frame-lines > footer::before { background: var(--fline-x); }
    .mk-dark #faq .mk-wrap, .mk-dark .mk-foot > .mk-wrap { border-color: var(--fline); }
}
.mk-dark .mk-mx-2 { background: var(--ftext); }
.mk-dark .mk-mx-1 { background: linear-gradient(90deg, var(--ftext) 50%, var(--line-strong) 50%); }
.mk-dark .mk-mx-0 { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mk-dark .mk-mx-us .mk-mx-2 { background: var(--blue); }
.mk-dark .mk-lift-logos .mk-marquee-group img, .mk-dark .mk-logos-band .mk-marquee-group img { filter: var(--logo-filter); opacity: var(--logo-op); }
.mk-dark .mk-next, .mk-dark .mk .calc-headline, .mk-dark .calc-headline { background: #131316; color: #fff; }
.mk-dark .mk-field { background: var(--panel); border-color: var(--line-strong); color: var(--ftext); }
.mk-dark .mk-keep li { background: var(--hover); }

/* logo row: a slow, endless marquee of every customer (pauses on hover) */
.fx-logos { grid-template-columns: 220px minmax(0, 1fr); }
.fx-logos > p { height: 96px; display: grid; align-content: center; }
.fx-marquee { overflow: hidden; height: 96px; border-left: 1px solid var(--fline); padding: 0 !important; display: block !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.fx-marquee-track { display: flex; width: max-content; height: 100%; animation: fx-marquee 52s linear infinite; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
.fx-logo { flex: 0 0 210px; height: 100% !important; display: grid; place-items: center; padding: 0 30px !important; border-left: 1px solid var(--fline); }
.fx-logo img { max-height: 32px; max-width: 100%; width: auto; transition: opacity .3s; }
.fx-logo img.tall { max-height: 44px; }
.fx-logo:hover img { opacity: 1 !important; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fx-marquee-track { animation: none; } }
@media (max-width: 900px) {
    .fx-logos { grid-template-columns: 1fr; }
    .fx-logos > p { height: auto; padding: 20px 16px 4px; border-top: 0 !important; }
    .fx-marquee { border-left: 0; height: 80px; border-top: 0 !important; }
    .fx-logo { flex-basis: 150px; padding: 0 20px !important; border-top: 0 !important; }
}

/* ------------------------------------------------------------ motion layer */
.mk .split.reveal { opacity: 1; transform: none; }
.mk .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mk .split .wi { display: inline-block; transform: translateY(108%); transition: transform 1s cubic-bezier(.2, .75, .15, 1) calc(var(--i, 0) * 42ms); will-change: transform; }
.mk .split.active .wi { transform: none; }
.no-entrance-anim .mk .split .wi { transform: none; transition: none; }
.mk-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent, #3b82f6); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.mk-dark .has-glow { --mx: -9999px; --my: -9999px; --glow: rgba(59, 130, 246, .11);
    background-image: radial-gradient(560px circle at var(--mx) var(--my), var(--glow), transparent 70%); }
.mk-dark .tone-paper.has-glow, .mk-dark .tone-white.has-glow, .mk-dark .mk-white.has-glow, .mk-dark .mk-paper.has-glow { --glow: rgba(31, 111, 235, .07); }
.mk .tilt { perspective: 1600px; }
.mk .tilt > * { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.mk .tilt .mk-shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .14), transparent 55%); opacity: 0; transition: opacity .4s; }
.mk .tilt:hover .mk-shot::after { opacity: 1; }
.mk-dark .mk-btn.lg { transition: background .2s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .2s; }
.fx-trade-img video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); z-index: 1; }
.fx-trade.is-playing .fx-trade-img video { opacity: 1; }
.fx-photo img, .fx-trade-img img, .fx-trade-img video { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .mk .tilt > * { transform: none; } }

/* ------------------------------------------------------------ converge: 46 apps → one TruTec (pinned scroll) */
.cv-c { height: 260vh; }
.cv-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cv-stage { position: absolute; inset: 68px 0 0 0; }
.cv-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cv-rings i { position: absolute; border-radius: 50%; border: 1px solid var(--fline); }
.cv-rings i:nth-child(1) { width: 26vmin; height: 26vmin; }
.cv-rings i:nth-child(2) { width: 52vmin; height: 52vmin; }
.cv-rings i:nth-child(3) { width: 82vmin; height: 82vmin; opacity: .6; }
.cv-tool { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 7px; border-radius: 999px;
    background: #16161a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 14px 30px -14px rgba(0, 0, 0, .8);
    font-size: 13.5px; font-weight: 500; color: rgba(243, 243, 244, .88); white-space: nowrap; will-change: transform, opacity; margin: 0; }
.cv-tool img { width: 26px; height: 26px; border-radius: 7px; background: #fff; flex: none; }
.cv-tool b { font-weight: 500; }
.cv-core { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 28px; display: grid; place-items: center;
    background: #0d0f14; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 80px -20px rgba(59, 130, 246, .5); will-change: transform; z-index: 2; }
.cv-core img { width: 64px; height: 64px; border-radius: 14px; position: relative; }
.cv-glow { position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .45), transparent 62%); opacity: 0; will-change: opacity, transform; }
.cv-copy { position: absolute; left: clamp(24px, 4vw, 64px); top: clamp(24px, 6vh, 64px); max-width: 30em; z-index: 3; }
.cv-copy .mk-label { margin-bottom: 18px; }
.cv-copy h2 { position: absolute; left: 0; top: 40px; width: max-content; max-width: 16em; }
.cv-a b { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.cv-b { opacity: 0; }
.cv-more { position: absolute; left: 50%; bottom: clamp(24px, 6vh, 56px); transform: translateX(-50%); opacity: 0; transition: opacity .4s; z-index: 3; }
.cv.is-done .cv-more { opacity: 1; }
@media (max-width: 900px) {
    .cv-c { height: 230vh; }
    .cv-tool { padding: 5px; }
    .cv-tool b { display: none; }
    .cv-copy { left: 16px; right: 16px; top: 20px; }
    .cv-copy h2 { font-size: 30px; width: auto; right: 0; max-width: none; }
    .cv-core { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 22px; }
    .cv-core img { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .cv-c { height: auto; }
    .cv-pin { position: relative; height: auto; min-height: 640px; }
    .cv-b { opacity: 1; position: relative !important; top: auto !important; margin-top: 12px; }
    .cv-a { position: relative !important; top: auto !important; }
    .cv-more { opacity: 1; }
}

/* nav: one platform — eight modules in job order (no Bid / Build split) */
.mk-panel-product { width: 780px; grid-template-columns: minmax(0, 1fr) 250px; }
.mk-panel-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; align-content: start; padding: 4px; }
.mk-mod { display: grid !important; grid-template-columns: 26px 1fr; column-gap: 6px; align-items: baseline; padding: 9px 10px !important; }
.mk-mod i { grid-row: 1 / 3; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: #9aa0a9; padding-top: 2px; }
.mk-mod b { font-size: 14.5px !important; font-weight: 600; }
.mk-mod small { font-size: 12.5px !important; }
.mk-mod:hover i { color: var(--blue, #1f6feb); }
@media (max-width: 1080px) {
    .mk-panel-mods { grid-template-columns: 1fr; padding: 0; }
    .mk-mod i { color: rgba(255, 255, 255, .4); }
}

/* nav dropdowns are white cards on every page: give them their own light
   tokens so the dark theme's --paper / --muted can't leak in (hover went
   near-black behind dark text — unreadable). */
@media (min-width: 1081px) {
    .mk .mk-panel { --paper: #f3f0ea; --muted: #5b626d; --text: #0d0f12; color: #0d0f12; }
    .mk .mk-panel a:not(.mk-panel-feature):hover { background: #f3f0ea; color: #0d0f12; }
    .mk .mk-panel a:not(.mk-panel-feature):hover small { color: #5b626d; }
}

/* ============================================================ module pages (/platform/<slug>) */
.md-hero .fx-hero { height: clamp(620px, 86svh, 880px); }
.md-hero-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(10, 10, 11, .86) 0%, rgba(10, 10, 11, .55) 38%, rgba(10, 10, 11, .08) 70%),
    linear-gradient(0deg, rgba(10, 10, 11, .78) 0%, rgba(10, 10, 11, 0) 45%),
    linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 20%); }
.md-hero-in { position: absolute; left: clamp(24px, 5vw, 80px); bottom: clamp(36px, 7vh, 72px); max-width: 660px; display: grid; gap: 22px; justify-items: start; }
.md-hero-in .mk-h1 { font-size: clamp(40px, 5vw, 72px); }
.md-hero-in .mk-h1 > span:not(.w) { color: rgba(255, 255, 255, .58); }
.md-crumb { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.md-crumb a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.md-crumb span { margin: 0 6px; opacity: .5; }
.md-crumb b { color: #93b8ff; font-weight: 500; margin-right: 4px; }
.md-sub { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .8); max-width: 34em; }
.md-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.md-facts > div { padding: 30px clamp(20px, 3vw, 40px) 32px; border-left: 1px solid var(--fline); }
.md-facts > div:first-child { border-left: 0; }
.md-facts b { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -0.035em; line-height: 1; color: var(--ftext); }
.md-facts span { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--fmuted); }
@media (max-width: 900px) {
    .md-hero-in { left: 16px; right: 16px; bottom: 28px; }
    .md-facts { grid-template-columns: 1fr 1fr; }
    .md-facts > div:nth-child(3) { border-left: 0; }
    .md-facts > div:nth-child(n+3) { border-top: 1px solid var(--fline); }
    .md-facts > div { padding: 22px 16px; }
}

.md-jump { position: sticky; top: 68px; z-index: 50; background: rgba(10, 10, 11, .9); border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09); }
@supports (backdrop-filter: blur(1px)) { .md-jump { background: rgba(10, 10, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.md-jump-in { max-width: var(--frame); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 0 calc(var(--gw) + 8px); }
.md-jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.md-jump a:not(.mk-btn) { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 243, 244, .55); border-bottom: 2px solid transparent; }
.md-jump a span { color: rgba(243, 243, 244, .35); }
.md-jump a:not(.mk-btn):hover, .md-jump a.is-on { color: #fff; border-color: var(--accent); }
.md-jump .mk-btn { height: 38px; font-size: 13.5px; padding: 0 14px; box-shadow: none; flex: none; }
@media (max-width: 900px) { .md-jump-in { padding: 0 8px; } .md-jump .mk-btn { display: none; } }

.md-ch { scroll-margin-top: 120px; }
.md-ch-head { padding: clamp(72px, 8vw, 112px) clamp(24px, 4vw, 64px) clamp(36px, 4vw, 52px); display: grid; gap: 18px; max-width: 980px; }
.md-ch-head .mk-h2 { max-width: 20em; }
.md-ch-head .mk-lede { max-width: 42em; }
.md-ch-vis { padding: 0 clamp(24px, 4vw, 64px) clamp(44px, 5vw, 64px); }
.md-ch-vis .mk-phones { margin: 0 auto; max-width: 1080px; }
.md-ctx { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 110px -45px rgba(0, 0, 0, .7); }
.md-ctx img { width: 100%; height: auto; display: block; }
.md-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .md-pair { grid-template-columns: 1fr; } .md-ch-head { padding: 56px 16px 28px; } .md-ch-vis { padding: 0 16px 36px; } }

.md-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.md-feat { padding: 26px clamp(20px, 2.6vw, 36px) 30px; border-left: 1px solid var(--fline); border-bottom: 1px solid var(--fline); position: relative; transition: background .3s; }
.md-feat:nth-child(3n+1) { border-left: 0; }
.md-feat:hover { background: var(--hover); }
.md-feat::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent, #3b82f6); transition: width .5s var(--ease); }
.md-feat:hover::before { width: 100%; }
.md-feat h3 { font-size: 18px; letter-spacing: -0.012em; line-height: 1.25; }
.md-feat h3 em, .md-all-col em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--link); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; opacity: .85; }
.md-feat p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--fmuted); }
@media (max-width: 1100px) { .md-grid { grid-template-columns: 1fr 1fr; } .md-feat:nth-child(3n+1) { border-left: 1px solid var(--fline); } .md-feat:nth-child(2n+1) { border-left: 0; } }
@media (max-width: 640px) { .md-grid { grid-template-columns: 1fr; } .md-feat { border-left: 0 !important; padding: 22px 16px; } }

.md-all-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--fline); }
.md-all-col { padding: 28px clamp(20px, 2.6vw, 36px) 36px; border-left: 1px solid var(--fline); border-bottom: 1px solid var(--fline); }
.md-all-col:nth-child(3n+1) { border-left: 0; }
.md-all-col h3 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ffaint); margin-bottom: 14px; }
.md-all-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.md-all-col li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.4; color: var(--ftext); }
.md-all-col li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--accent, #3b82f6); border-bottom: 2px solid var(--accent, #3b82f6); transform: rotate(-45deg); }
.md-count { color: var(--accent, #3b82f6); font-variant-numeric: tabular-nums; }
.md-more-in { padding-bottom: clamp(72px, 8vw, 112px); }
.md-more-in .mk-h2 { max-width: 22em; }
@media (max-width: 1100px) { .md-all-cols { grid-template-columns: 1fr 1fr; } .md-all-col:nth-child(3n+1) { border-left: 1px solid var(--fline); } .md-all-col:nth-child(2n+1) { border-left: 0; } }
@media (max-width: 640px) { .md-all-cols { grid-template-columns: 1fr; } .md-all-col { border-left: 0 !important; padding: 24px 16px; } }

.md-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fline); }
.md-rail-i { display: grid; grid-template-columns: 30px 1fr; column-gap: 4px; padding: 20px 22px 22px; border-left: 1px solid var(--fline); border-bottom: 1px solid var(--fline); color: var(--ftext); transition: background .25s; }
.md-rail-i:nth-child(4n+1) { border-left: 0; }
.md-rail-i i { grid-row: 1 / 3; font-style: normal; font-family: var(--f-mono); font-size: 11.5px; color: var(--ffaint); padding-top: 3px; }
.md-rail-i b { font-family: var(--f-head); font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; }
.md-rail-i small { font-size: 13.5px; color: var(--fmuted); margin-top: 3px; }
.md-rail-i:hover { background: var(--hover); }
.md-rail-i.is-on { background: var(--ftext); color: var(--bg); }
.md-rail-i.is-on small, .md-rail-i.is-on i { color: inherit; opacity: .7; }
.md-next { display: grid; grid-template-columns: 1fr 1fr; }
.md-next-a { display: grid; gap: 8px; padding: 34px clamp(24px, 4vw, 64px); color: var(--ftext); border-bottom: 1px solid var(--fline); transition: background .25s; }
.md-next-a.next { text-align: right; border-left: 1px solid var(--fline); }
.md-next-a small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ffaint); }
.md-next-a b { font-family: var(--f-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.md-next-a:hover { background: var(--hover); }
.md-cta { padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 64px) clamp(56px, 6vw, 88px); }
@media (max-width: 900px) { .md-rail { grid-template-columns: 1fr 1fr; } .md-rail-i:nth-child(4n+1) { border-left: 1px solid var(--fline); } .md-rail-i:nth-child(2n+1) { border-left: 0; } .md-next { grid-template-columns: 1fr; } .md-next-a.next { text-align: left; border-left: 0; } .md-cta { padding: 32px 16px 48px; } }
.md-phones-1 { grid-template-columns: minmax(0, 320px) !important; justify-content: center; max-width: 560px !important; }
.md-phones-2 { grid-template-columns: repeat(2, minmax(0, 320px)) !important; justify-content: center; max-width: 820px !important; }
.md-phones-1 .mk-phone, .md-phones-2 .mk-phone { margin-bottom: -60px !important; }
/* module chapter headlines: the second sentence is a plain <span> in the content file */
.md-ch-head .mk-h2 > span:not(.w):not(.md-count) { color: var(--dim, #8b919b); }

/* ── booking + secondary pages (Oct 9) ── */
/* Kept in one block at the end so it merges cleanly with homepage work above. */

/* ------------------------------------------------------------ booking page
   (/ai-takeoffs/demo, templates/main/ai_takeoffs_demo.html): the HubSpot
   scheduler is the hero. Framed like the homepage (.fx gutters): headline
   left, the scheduler card right, then what the call covers as one framed
   row whose label column lines up with the logo row under it. On a phone the
   card comes straight after the headline. The card is the homepage's
   .mk-book-card around partials/demo_booking_embed.html. */
.bk { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "head book" "meta book"; grid-template-rows: auto 1fr; }
.bk-head { grid-area: head; display: grid; gap: 24px; justify-items: start; align-content: start; padding: clamp(118px, 10vw, 148px) clamp(28px, 4vw, 64px) 0; }
.bk-head .mk-h1 { font-size: clamp(40px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -0.032em; max-width: 11.5em; }
.bk-head .mk-lede { max-width: 30em; }
.bk-meta { grid-area: meta; padding: 30px clamp(28px, 4vw, 64px) clamp(48px, 5vw, 72px); }
.bk-book { grid-area: book; position: relative; border-left: 1px solid var(--fline); padding: clamp(100px, 8.4vw, 124px) clamp(20px, 3.4vw, 52px) clamp(40px, 4vw, 64px); }
.bk-book::before { content: ''; position: absolute; left: 4%; right: 4%; top: 70px; height: 440px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(59, 130, 246, .2), rgba(59, 130, 246, 0)); filter: blur(30px); }
.bk-card { position: relative; scroll-margin-top: 92px; }
.bk-k { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ffaint); line-height: 1.5; }
.bk-trades { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bk-trades .bk-k { margin-right: 8px; }
.bk-trades i { font-style: normal; font-size: 14px; font-weight: 500; padding: 7px 13px; border-radius: 999px; color: var(--ftext); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bk-alt { margin-top: 22px; font-size: 14.5px; line-height: 1.6; color: var(--fmuted); max-width: 34em; }
.bk-alt a { color: var(--ftext); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.bk-alt a:hover { border-color: currentColor; }
.bk-points { grid-column: 1 / -1; display: grid; grid-template-columns: 220px repeat(4, minmax(0, 1fr)); }   /* .fx + .fx draws its top line */
.bk-points > .bk-k { padding: 30px 18px 0 28px; }
.bk-point { display: grid; gap: 8px; align-content: start; padding: 28px clamp(20px, 2.2vw, 32px) 32px; border-left: 1px solid var(--fline); }
.bk-point span { font-family: var(--f-mono); font-size: 12px; color: var(--link); }
.bk-point b { font-family: var(--f-head); font-size: 19px; font-weight: 600; letter-spacing: -0.014em; line-height: 1.25; color: var(--ftext); }
.bk-point p { font-size: 15px; line-height: 1.5; color: var(--fmuted); }
.bk-proof-head .mk-h2 { margin-top: 20px; }
@media (max-width: 1180px) {
    .bk-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bk-points > .bk-k { grid-column: 1 / -1; padding: 24px clamp(20px, 2.2vw, 32px) 0; }
    .bk-point { border-left: 0; }
    .bk-point:nth-of-type(odd) { border-left: 0; }
    .bk-point:nth-of-type(even) { border-left: 1px solid var(--fline); }
    .bk-point:nth-of-type(n+3) { border-top: 1px solid var(--fline); }
}
@media (max-width: 900px) {
    .bk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "book" "meta"; grid-template-rows: none; }
    .bk-head { padding: 104px 16px 28px; gap: 18px; }
    .bk-book { border-left: 0; padding: 0 10px; }
    .bk-book::before { top: -10px; height: 360px; }
    .bk-meta { padding: 28px 16px 40px; }
    .bk-points > .bk-k { padding: 22px 16px 0; }
}
@media (max-width: 640px) {
    .bk-points { grid-template-columns: minmax(0, 1fr); }
    .bk-point { border-left: 0 !important; padding: 20px 16px 22px; }
    .bk-point:nth-of-type(n+2) { border-top: 1px solid var(--fline); }
}

/* CTA strips (mk_kit cta_strip on /platform, the trade pages, /why-trutec,
   module pages; careers): `.mk-dark .mk-btn` comes later than `.mk-cta .mk-btn`
   and turned the white button blue on the blue strip. */
.mk-dark .mk-cta .mk-btn { background: #fff; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .5); }
.mk-dark .mk-cta .mk-btn:hover { background: #eef3fd; }

/* ------------------------------------------------------------ careers (/careers): teams as framed rows,
   each role a card with its "What this work involves" disclosure */
.cr-team { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px clamp(32px, 5vw, 72px); padding: clamp(32px, 3.4vw, 48px) 0; border-top: 1px solid var(--line); }
.cr-team:last-child { border-bottom: 1px solid var(--line); }
.cr-team-head { display: grid; gap: 12px; align-content: start; }
.cr-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--link, var(--blue)); }
.cr-team-head p:not(.cr-n) { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 26em; }
.cr-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cr-role { display: grid; gap: 10px; padding: 24px 24px 18px; border-radius: 16px; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 0 20px 50px -36px rgba(13, 15, 18, .35); }
.cr-role h4 { font-family: var(--f-head); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.cr-role > p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.cr-role details { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.cr-role summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--link, var(--blue)); }
.cr-role summary::-webkit-details-marker { display: none; }
.cr-role summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 18px; font-weight: 400; line-height: 1; color: var(--text); transition: transform .3s var(--ease); }
.cr-role details[open] summary::after { transform: rotate(45deg); }
.cr-role summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.cr-role .mk-ticks { margin: 14px 0 6px; }
.cr-role .mk-ticks li { font-size: 14.5px; }
.cr-close { display: grid; gap: 10px; }
.cr-close p { color: rgba(255, 255, 255, .82); max-width: 36em; }
@media (max-width: 980px) { .cr-team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .cr-roles { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ legal (/privacy, /terms): the policy markup
   exactly as written (privacy-* / legal-card classes), set as readable
   long-form text in one centred measure on a white section. */
.mk-phero .legal-updated { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.mk-legal .mk-wrap > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.mk-legal { color: var(--text); }
.mk-legal h2 { font-family: var(--f-head); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); margin: 0 0 14px; }
.mk-legal h3 { font-family: var(--f-head); font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.mk-legal p, .mk-legal li { font-size: 16.5px; line-height: 1.7; color: #3a3f47; }
.mk-legal p + p, .mk-legal p + ul, .mk-legal ul + p { margin-top: 14px; }
.mk-legal strong { color: var(--text); font-weight: 600; }
.mk-legal a:not(.mk-btn) { color: var(--link, var(--blue)); border-bottom: 1px solid currentColor; }
.mk-legal ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mk-legal ul li { position: relative; padding-left: 22px; }
.mk-legal ul li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; background: var(--blue); }
/* terms: numbered clauses */
.mk-legal .legal-card h2 { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); font-size: clamp(21px, 1.8vw, 25px); }
.mk-legal .legal-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.mk-legal .legal-card p { margin-top: 0; }
/* privacy: the commitment banner, cards and callouts */
.mk-legal .trust-banner { padding: clamp(24px, 3vw, 34px); border-radius: 18px; background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(31, 111, 235, .16); }
.mk-legal .trust-banner-inner { display: flex; align-items: center; gap: 22px; }
.mk-legal .trust-shield { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 12px 30px -12px rgba(31, 111, 235, .8); }
.mk-legal .trust-shield svg { width: 28px; height: 28px; stroke: #fff; }
.mk-legal .trust-banner-text h2 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 8px; }
.mk-legal .trust-banner-text p { font-size: 16px; color: #2b3038; }
.mk-legal .privacy-updated { margin: 40px auto 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mk-legal .privacy-container { max-width: 800px; }
.mk-legal .commitment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mk-legal .commitment-card { padding: 24px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.mk-legal .commitment-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); margin-bottom: 6px; }
.mk-legal .commitment-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.mk-legal .commitment-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.mk-legal .privacy-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.mk-legal .highlight-box, .mk-legal .never-list { margin-top: 24px; padding: 22px 26px; border-radius: 14px; }
.mk-legal .highlight-box { background: var(--panel); box-shadow: inset 3px 0 0 var(--blue), 0 0 0 1px var(--line); }
.mk-legal .never-list { box-shadow: inset 3px 0 0 #dc2626, 0 0 0 1px var(--line); }
.mk-legal .highlight-box h4, .mk-legal .never-list h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-head); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.mk-legal .highlight-box h4 svg { flex: none; stroke: var(--blue) !important; }
.mk-legal .never-list h4 svg { flex: none; }
.mk-legal .highlight-box p { font-size: 16px; }
.mk-legal .never-list ul { margin-top: 10px; gap: 8px; }
.mk-legal .never-list li { font-size: 15.5px; }
.mk-legal .never-list li::before { content: '\00d7'; width: auto; height: auto; top: 0; left: 1px; background: none; color: #dc2626; font-weight: 700; font-size: 17px; line-height: 1.6; }
.mk-legal .security-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.mk-legal .security-feature { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.mk-legal .security-feature svg { flex: none; width: 20px; height: 20px; stroke: var(--blue); }
.mk-legal .contact-box { margin-top: 56px; padding: clamp(26px, 3.4vw, 40px); border-radius: 18px; background: #0b0d10; display: grid; gap: 10px; justify-items: start; }
.mk-legal .contact-box h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; color: #fff; }
.mk-legal .contact-box p { color: rgba(255, 255, 255, .72); }
.mk-legal .contact-box a { margin-top: 10px; display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; transition: background .2s; }
.mk-legal .contact-box a:hover { background: var(--blue-ink, #1558c9); }
@media (max-width: 900px) { .mk-legal .security-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .mk-legal .commitment-grid, .mk-legal .security-features { grid-template-columns: minmax(0, 1fr); }
    .mk-legal .trust-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .mk-legal p, .mk-legal li { font-size: 16px; }
}

/* ── customers: one video per person, each takes a turn as the big story (Oct 9; landing.js [data-cs-cycle]) ── */
.mk .cs-stage { display: grid; }
.mk .cs-lead { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
               opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; }
.mk .cs-lead.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s; }
.mk .cs-lead-video { margin: 0; }
.mk .cs-lead-copy { display: grid; gap: 20px; align-content: center; max-width: 40em; }
.mk .cs-lead-h { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.025em; }
.mk .cs-quote { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink); border-left: 2px solid var(--accent, #3b82f6); padding-left: 18px; }
.mk .cs-who { margin: 0; display: grid; gap: 2px; }
.mk .cs-who b { font-family: var(--f-head); font-weight: 600; font-size: 17px; }
.mk .cs-who span { font-size: 14px; color: var(--muted); }
.mk .cs-watch { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.mk .cs-picks { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; }
.mk .cs-pick { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 16px; text-align: left; cursor: pointer;
               background: transparent; box-shadow: inset 0 0 0 1px var(--line, rgba(13, 15, 18, .1)); color: inherit; overflow: hidden; transition: background .25s, box-shadow .25s; }
.mk .cs-pick:hover { background: rgba(13, 15, 18, .03); }
.mk .cs-pick.is-on { background: var(--panel, #fff); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .35), 0 12px 30px -18px rgba(13, 15, 18, .35); }
.mk .cs-pick:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
.mk .cs-pick img { width: 46px; height: 46px; flex: none; border-radius: 12px; object-fit: cover; object-position: 50% 30%; filter: saturate(.9); }
.mk .cs-pick span { display: grid; gap: 1px; min-width: 0; }
.mk .cs-pick b { font-family: var(--f-head); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .cs-pick small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .cs-pick-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.mk .cs-pick.fill .cs-pick-bar::after { content: ''; position: absolute; inset: 0; background: #3b82f6; transform-origin: left; transform: scaleX(0);
                                       animation: csFill var(--cs-ms, 9s) linear forwards; animation-play-state: var(--cs-state, running); }
@keyframes csFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .mk .cs-lead { transition: none; transform: none; } .mk .cs-pick.fill .cs-pick-bar::after { animation: none; transform: scaleX(1); } }
@media (max-width: 1000px) { .mk .cs-picks { grid-template-columns: repeat(var(--n, 5), minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } }
@media (max-width: 700px) {
    .mk .cs-lead { grid-template-columns: 1fr; }
    .mk .cs-lead-video { max-width: 260px; }
}

/* ── phones (Oct 9): the hero film's portrait cut keeps each shot's screen in the upper two thirds; the headline and
   button sit at the bottom over a darker fade instead of on top of the product ── */
@media (max-aspect-ratio: 4/5) {
    .fx-hero { height: min(92svh, 760px); }
    .fx-hero-in { place-content: end center; gap: 20px; padding: 0 20px 92px; }
    .fx-hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
    .mk-dark .fx-hero-shade, .fx-hero-shade { background: linear-gradient(180deg, rgba(8, 10, 14, .45) 0%, rgba(8, 10, 14, 0) 18%,
        rgba(8, 10, 14, 0) 52%, rgba(8, 10, 14, .72) 74%, rgba(8, 10, 14, .92) 100%); }
    .fx-hero .mk-film-toggle { right: 16px; bottom: 16px; }
}
