/* =====================================================================
   ServeRouter — Brand Design System v5 "Bold"
   Shared language across auth + utility pages. Bold uppercase Switzer
   display type, a candy accent palette, pill buttons, and a dark brand
   panel. Pairs with the landing page's Tailwind theme.
   ===================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #0b0a17;
    --offwhite: #f5f5f2;
    --surface: #ffffff;
    --cream: #fdfae7;

    --lime: #c6ff7c;
    --orange: #ff5f2e;
    --sky: #b4dbff;
    --yellow: #fdf070;
    --lilac: #c7caff;

    --border: #e4e2da;
    --border-strong: #d4d2c8;

    --text: #0b0a17;
    --text-muted: #6d6c6c;
    --text-faint: #9a988f;

    /* legacy aliases */
    --accent: #ff5f2e;
    --accent-hover: #e14a1c;
    --accent-soft: rgba(255,95,46,0.10);
    --bg-base: #f5f5f2;
    --surface-raised: #efeee8;
    --ok: #1f9d63;
    --danger: #d63a2f;

    --sans: 'Switzer','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
    --radius: 22px;
    --radius-sm: 14px;
    --snap: 200ms cubic-bezier(.16,1,.3,1);
}

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

body.sr {
    font-family: var(--sans);
    color: var(--text-muted);
    -webkit-font-smoothing: antialiased;
    background: var(--offwhite);
    min-height: 100vh;
    position: relative;
}

/* ---------- Display + type ---------- */
.sr-h1, .sr-h2 {
    font-family: var(--sans);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.98;
    color: var(--text);
}
.sr-h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.sr-h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.sr-lead { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.sr-kicker {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
    color: var(--orange);
}
.sr-eyebrow-mono {
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
    color: var(--orange);
}
.sr-gradient-text { color: var(--orange); -webkit-text-fill-color: currentColor; }
.sr-mono { font-family: var(--mono); }

/* ---------- Cards ---------- */
.sr-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(11,10,23,0.05);
}
.sr-card-hover { transition: transform var(--snap); }
.sr-card-hover:hover { transform: translateY(-6px); }

/* ---------- Pill buttons ---------- */
.sr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-weight: 700; font-size: 0.98rem; line-height: 1;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: transform var(--snap), background var(--snap), color var(--snap), border-color var(--snap);
    white-space: nowrap;
}
.sr-btn-primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.sr-btn-primary:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.sr-btn-primary:active { transform: none; }
.sr-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.sr-btn-ghost:hover { border-color: var(--ink); }
.sr-btn-block { width: 100%; }
.sr-btn-lg { padding: 1.1rem 1.8rem; font-size: 1.02rem; }

/* ---------- Form controls ---------- */
.sr-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.sr-input {
    width: 100%;
    background: #fbfbf9;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    color: var(--text);
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    font-family: inherit;
    transition: border-color var(--snap), box-shadow var(--snap);
}
.sr-input::placeholder { color: var(--text-faint); }
.sr-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,10,23,0.08); background: #fff; }
.sr-input-group { position: relative; }
.sr-input-group .sr-input { padding-left: 2.7rem; }
.sr-input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-faint); font-size: 0.95rem; pointer-events: none; }
.sr-check { width: 1.05rem; height: 1.05rem; border-radius: 5px; border: 1px solid var(--border-strong); background: #fff; accent-color: var(--ink); }

/* ---------- Alerts ---------- */
.sr-alert { border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.9rem; border: 1px solid transparent; }
.sr-alert-error { background: rgba(214,58,47,0.07); border-color: rgba(214,58,47,0.30); color: #b4291f; }
.sr-alert-ok { background: rgba(31,157,99,0.08); border-color: rgba(31,157,99,0.30); color: #157a4b; }

/* ---------- Links ---------- */
.sr-link { color: var(--orange); font-weight: 700; text-decoration: none; transition: color var(--snap); }
.sr-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Auth split layout ---------- */
.sr-auth { display: grid; grid-template-columns: 1fr; min-height: 100vh; position: relative; z-index: 1; }
@media (min-width: 1024px) { .sr-auth { grid-template-columns: 1.02fr 1fr; } }

/* Brand panel: dark, bold, with a lime serve-route motif */
.sr-auth-aside {
    display: none;
    position: relative; overflow: hidden;
    padding: 4rem 3.75rem;
    flex-direction: column; justify-content: space-between;
    background: var(--ink);
}
@media (min-width: 1024px) { .sr-auth-aside { display: flex; } }
.sr-auth-aside .sr-h1 { color: #fff; }
.sr-auth-aside .sr-lead { color: rgba(255,255,255,0.72); }
.sr-auth-aside .sr-eyebrow-mono { color: var(--lime); }
.sr-aside-motif {
    position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
    width: min(78%, 460px); height: auto;
    color: var(--lime); opacity: 0.16; z-index: 0; pointer-events: none;
}

.sr-auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; position: relative; z-index: 1; background: var(--offwhite); }
.sr-auth-card {
    width: 100%; max-width: 430px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 10px 50px rgba(11,10,23,0.06);
}
@media (max-width: 480px) { .sr-auth-card { padding: 1.75rem 1.5rem; border: none; box-shadow: none; background: transparent; } }

/* feature bullets (if used) */
.sr-feat { display: flex; gap: 0.85rem; align-items: flex-start; }
.sr-feat-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); font-size: 0.95rem; background: var(--lime); }

/* logo lockup */
.sr-logo { height: 34px; width: auto; display: block; }
.sr-lockup { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.sr-lockup img { height: 34px; width: auto; }
.sr-lockup span { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; color: var(--ink); }
.sr-auth-aside .sr-lockup span { color: #fff; }

@media (min-width: 1024px) { .sr-hide-lg { display: none !important; } }

/* particle chip */
.sr-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .9rem; border-radius: 9px;
    font-size: .82rem; font-weight: 600;
    color: var(--lime); background: rgba(198,255,124,0.12); border: 1px solid rgba(198,255,124,0.35);
}

.hgi-stroke { display: inline-block; line-height: 1; vertical-align: -0.1em; }
.hgi-spin { animation: hgiSpin 1s linear infinite; }
@keyframes hgiSpin { to { transform: rotate(360deg); } }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; border: 2px solid var(--offwhite); }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }

/* Safety net for shared pages that used dark utilities */
body.sr .text-white { color: var(--text) !important; }
body.sr .bg-gray-900, body.sr .bg-black { background: var(--offwhite) !important; }
body.sr .bg-gray-800 { background: var(--surface) !important; border-color: var(--border) !important; }
body.sr .text-gray-300, body.sr .text-gray-400 { color: var(--text-muted) !important; }
body.sr .text-gray-500, body.sr .text-gray-600 { color: var(--text-faint) !important; }
/* Light bright text left over from the old dark theme (was near-invisible on white) */
body.sr .text-gray-100, body.sr .text-gray-200 { color: var(--text) !important; }
body.sr .hover\:text-white:hover, body.sr .hover\:text-gray-100:hover, body.sr .hover\:text-gray-200:hover, body.sr .hover\:text-gray-300:hover { color: var(--text) !important; }
/* Control / input / button fills + borders */
body.sr .bg-gray-700, body.sr .bg-gray-600 { background: var(--surface-raised) !important; }
body.sr .hover\:bg-gray-700:hover, body.sr .hover\:bg-gray-600:hover, body.sr .hover\:bg-gray-500:hover { background: var(--border) !important; }
body.sr .border-gray-600, body.sr .border-gray-700 { border-color: var(--border-strong) !important; }
body.sr input, body.sr select, body.sr textarea { color: var(--text); }
body.sr input::placeholder, body.sr textarea::placeholder { color: var(--text-faint) !important; }
body.sr select option { background: var(--surface); color: var(--text); }
body.sr .glass { background: var(--surface) !important; border-color: var(--border) !important; backdrop-filter: none !important; }

body.sr a:focus-visible, body.sr button:focus-visible, body.sr input:focus-visible,
body.sr select:focus-visible, body.sr textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    body.sr *, body.sr *::before, body.sr *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Marketing system (docs/design-brief.md, task #430)
   Scoped to body.mk so the .sr auth pages keep v5 until #431 moves them.
   Light is the default (aero's ref, msg 928); [data-theme="dark"] on <html> flips the tokens.
   ===================================================================== */
:root {
    --mk-bg: #eeeef1;
    --mk-surface: #ffffff;
    --mk-raised: #f6f6f8;
    --mk-border: #e6e6ea;
    --mk-border-strong: #d6d6dc;
    --mk-text: #111118;
    --mk-muted: #4d4d5a;
    --mk-faint: #6a6a76;
    --mk-accent: #7a3cf0;
    --mk-link: #6b2fe0;
    --mk-lime: #d4f56a;
    --mk-btn: #111118;
    --mk-btn-text: #ffffff;
    --mk-btn-hover: #2c2c36;
    --mk-r: 24px;
    --mk-r-sm: 16px;
    --mk-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --mk-max: 1200px;
}
html[data-theme="dark"] {
    --mk-bg: #0a0c10;
    --mk-surface: #13161e;
    --mk-raised: #1a1e28;
    --mk-border: #232836;
    --mk-border-strong: #2f3546;
    --mk-text: #edf0f7;
    --mk-muted: #a6adbf;
    --mk-faint: #858ca0;
    --mk-accent: #9a7bff;
    --mk-link: #b49dff;
    --mk-btn: #edf0f7;
    --mk-btn-text: #0a0c10;
    --mk-btn-hover: #d9dee9;
}

body.mk { margin: 0; background: var(--mk-bg); color: var(--mk-muted); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.mk ::selection { background: var(--mk-accent); color: #fff; }
body.mk a { color: inherit; text-decoration: none; }
body.mk a:focus-visible, body.mk button:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }
body.mk .hgi-stroke { font-size: 20px; }
body.mk::-webkit-scrollbar-track { background: var(--mk-bg); }
body.mk::-webkit-scrollbar-thumb { background: var(--mk-border-strong); border-color: var(--mk-bg); }

.mk-wrap { max-width: var(--mk-max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 639px) { .mk-wrap { padding: 0 16px; } }
.mk-sec { padding: 96px 0; }
@media (max-width: 767px) { .mk-sec { padding: 64px 0; } }

/* type */
.mk-display, .mk-h2, .mk-h3 { color: var(--mk-text); font-weight: 600; margin: 0; }
.mk-display { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.0; letter-spacing: -0.03em; }
.mk-h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
.mk-h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
@media (max-width: 639px) { .mk-h3 { font-size: 20px; } }
.mk-lead { font-size: 18px; line-height: 1.55; color: var(--mk-muted); margin: 0; }
.mk-meta { font-family: var(--mk-mono); font-size: 13px; font-weight: 500; color: var(--mk-faint); letter-spacing: 0; }
.mk-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--mk-surface); color: var(--mk-muted); font-size: 13px; font-weight: 600; }
.mk-tag-lime { background: var(--mk-lime); color: #111118; }
.mk-text { color: var(--mk-text); }
.mk-link { color: var(--mk-link); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 100ms linear; }
.mk-link:hover { text-decoration-color: var(--mk-accent); }

/* buttons: one white primary per view; 10px radius, no pills */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color 100ms linear, border-color 100ms linear; }
.mk-btn-primary { background: var(--mk-btn); color: var(--mk-btn-text) !important; }
.mk-btn-primary:hover { background: var(--mk-btn-hover); }
.mk-btn-line { background: transparent; color: var(--mk-text) !important; border-color: var(--mk-border-strong); }
.mk-btn-line:hover { border-color: var(--mk-text); }
.mk-btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }

/* header */
.mk-header { position: sticky; top: 12px; z-index: 50; padding: 0 12px; }
.mk-header > .mk-wrap { background: var(--mk-surface); border-radius: var(--mk-r); box-shadow: 0 1px 2px rgba(17,17,24,.04), 0 8px 24px rgba(17,17,24,.05); }
.mk-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.mk-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--mk-text) !important; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.mk-brand img { width: 28px; height: 28px; }
.mk-navlinks { display: flex; gap: 28px; }
.mk-navlinks a { color: var(--mk-muted); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: color 100ms linear, text-decoration-color 100ms linear; }
.mk-navlinks a:hover { color: var(--mk-text); text-decoration-color: var(--mk-accent); }
.mk-navright { display: flex; align-items: center; gap: 20px; }
.mk-menu-btn { display: none; background: none; border: 0; color: var(--mk-text); padding: 8px; cursor: pointer; }
.mk-menu-btn .hgi-stroke { font-size: 24px; }
.mk-mnav { display: none; border-top: 1px solid var(--mk-border); padding: 8px 0 20px; }
.mk-mnav a { display: block; padding: 14px 0; color: var(--mk-text); font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--mk-border); }
.mk-mnav .mk-btn { margin-top: 20px; width: 100%; }
.mk-mnav.open { display: block; }
@media (max-width: 899px) {
    .mk-navlinks, .mk-navright .mk-hide-sm { display: none; }
    .mk-menu-btn { display: inline-flex; }
}

/* hero */
.mk-hero { padding: 88px 0 0; }
.mk-hero .mk-display { max-width: 18ch; }
.mk-hero .mk-lead { max-width: 560px; margin-top: 24px; }
.mk-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.mk-hero .mk-meta { margin-top: 16px; display: block; }
.mk-shot.mk-hero-shot { margin-top: 64px; }

/* screenshots: flat, 0 radius, hairline, mono caption */
.mk-shot { margin: 0; }
.mk-shot { background: var(--mk-surface); border-radius: var(--mk-r); padding: 10px; box-shadow: 0 1px 2px rgba(17,17,24,.04), 0 18px 40px rgba(17,17,24,.08); }
.mk-shot img { display: block; width: 100%; height: auto; border-radius: var(--mk-r-sm); border: 1px solid var(--mk-border); }
.mk-shot figcaption { padding: 4px 6px 2px; }
.mk-shot figcaption { margin-top: 8px; }

/* cards */
.mk-card { background: var(--mk-surface); border-radius: var(--mk-r); padding: 32px; }
@media (max-width: 639px) { .mk-card { padding: 24px 20px; } }

/* who it's for */
.mk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
@media (max-width: 767px) { .mk-two { grid-template-columns: 1fr; } }
.mk-plain-list { list-style: none; margin: 16px 0 0; padding: 0; }
.mk-plain-list li { display: flex; gap: 12px; padding: 10px 0; color: var(--mk-muted); }
.mk-plain-list li + li { border-top: 1px solid var(--mk-border); }
.mk-plain-list .hgi-stroke { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--mk-raised); color: var(--mk-text); font-size: 16px; margin-top: -3px; }

/* feature rows */
.mk-row { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.mk-row + .mk-row { margin-top: 96px; }
.mk-row.flip .mk-row-text { order: 2; }
.mk-row-text p { margin: 16px 0 0; }
@media (max-width: 899px) { .mk-row { grid-template-columns: 1fr; gap: 32px; } .mk-row.flip .mk-row-text { order: 0; } .mk-row + .mk-row { margin-top: 64px; } }

/* proof */
.mk-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 899px) { .mk-proof { grid-template-columns: 1fr; gap: 32px; } }
.mk-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.mk-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 18px 0; }
.mk-steps li + li { border-top: 1px solid var(--mk-border); }
.mk-steps li::before { content: "0" counter(s); font-family: var(--mk-mono); font-size: 13px; color: var(--mk-faint); padding-top: 3px; }
.mk-steps strong { color: var(--mk-text); font-weight: 600; display: block; }

/* feature list: directory rows */
.mk-list { list-style: none; margin: 48px 0 0; padding: 8px; background: var(--mk-surface); border-radius: var(--mk-r); }
.mk-list a, .mk-list .mk-list-row { display: grid; grid-template-columns: 28px 220px 1fr auto; align-items: center; gap: 16px; min-height: 60px; padding: 0 16px; border-radius: var(--mk-r-sm); transition: background-color 100ms linear; }
.mk-list li + li { border-top: 1px solid var(--mk-border); }
.mk-list a:hover { background: var(--mk-raised); }
.mk-list a:hover .nm { color: var(--mk-link); }
.mk-list .nm { color: var(--mk-text); font-weight: 500; }
.mk-list .hgi-stroke { color: var(--mk-muted); }
@media (max-width: 767px) {
    .mk-list a, .mk-list .mk-list-row { grid-template-columns: 28px 1fr; padding: 12px 8px; row-gap: 2px; }
    .mk-list .ds { grid-column: 2; font-size: 15px; }
    .mk-list .mk-meta { display: none; }
}

/* pricing: hairline columns, no boxes */
.mk-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.mk-plan { padding: 32px; display: flex; flex-direction: column; background: var(--mk-surface); border-radius: var(--mk-r); }
.mk-plan.hl { outline: 2px solid var(--mk-text); outline-offset: -2px; }
.mk-plan .amt { color: var(--mk-text); font-size: 48px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.mk-plan ul { list-style: none; margin: 24px 0 32px; padding: 0; }
.mk-plan li { display: flex; gap: 10px; padding: 6px 0; font-size: 15px; }
.mk-plan li .hgi-stroke { font-size: 16px; color: var(--mk-muted); margin-top: 4px; }
.mk-plan .mk-btn { margin-top: auto; width: 100%; }
@media (max-width: 899px) { .mk-price { grid-template-columns: 1fr; } .mk-plan { padding: 28px 24px; } }

/* faq */
.mk-faq { margin-top: 48px; display: grid; gap: 10px; }
.mk-faq-item { background: var(--mk-surface); border-radius: var(--mk-r-sm); padding: 0 24px; }
.mk-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; color: var(--mk-text); font: inherit; font-size: 18px; font-weight: 500; text-align: left; cursor: pointer; }
.mk-faq-q .hgi-minus-sign, .mk-faq-q[aria-expanded="true"] .hgi-add-01 { display: none; }
.mk-faq-q[aria-expanded="true"] .hgi-minus-sign { display: inline-block; }
.mk-faq-a { padding: 0 0 22px; max-width: 680px; }
.mk-faq-a[hidden] { display: none; }

/* closing + footer */
.mk-close { text-align: center; }
.mk-close .mk-card { padding: 72px 24px; }
.mk-close .mk-lead { margin: 16px auto 0; max-width: 520px; }
.mk-close .mk-cta-row { justify-content: center; }
.mk-footer { padding: 24px 0 32px; font-size: 15px; }
.mk-footer > .mk-wrap > .mk-card { padding: 40px; }
.mk-fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.mk-fcols h3 { color: var(--mk-text); font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.mk-fcols ul { list-style: none; margin: 0; padding: 0; }
.mk-fcols li { padding: 5px 0; }
.mk-fcols a:hover { color: var(--mk-text); }
.mk-fbase { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mk-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 767px) { .mk-fcols { grid-template-columns: 1fr 1fr; } .mk-fcols > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
    body.mk *, body.mk *::before, body.mk *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
body.mk .mk-steps.mk-card, body.mk .mk-plain-list.mk-card { padding: 12px 28px; }
@media (max-width: 639px) { body.mk .mk-steps.mk-card, body.mk .mk-plain-list.mk-card { padding: 8px 20px; } }

/* Hero v3 (aero ref msg 955): centered serif hero over our own scene */
.mk-hero3 { position: relative; overflow: hidden; margin: 12px; margin-top: 24px; border-radius: 32px; background: #fff; min-height: 760px; display: flex; flex-direction: column; }
.mk-hero3-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 112px 24px 0; text-align: center; }
.mk-hero3-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; object-fit: cover; object-position: center bottom; z-index: 0; pointer-events: none; }
.mk-serif { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 560; font-optical-sizing: auto; color: #1b1b22; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.04; letter-spacing: -0.02em; margin: 24px auto 0; max-width: 15ch; }
.mk-hero3 .mk-lead { max-width: 640px; margin: 24px auto 0; color: #45454f; }
.mk-hero3 .mk-cta-row { justify-content: center; margin-top: 36px; gap: 14px; }
.mk-hero3 .mk-meta { display: block; margin-top: 18px; }
.mk-announce { display: inline-flex; gap: 6px; padding: 7px 16px; border-radius: 999px; background: #eef0fb; color: #3b3b48 !important; font-size: 14px; border: 1px solid #e2e4f4; transition: border-color 100ms linear; }
.mk-announce strong { color: #111118; font-weight: 600; }
.mk-announce:hover { border-color: var(--mk-accent); }
.mk-btn-lift { box-shadow: 0 10px 24px rgba(17,17,24,.18); }
.mk-btn .hgi-stroke { font-size: 18px; }
@media (max-width: 767px) {
    .mk-hero3 { min-height: 720px; margin: 8px; margin-top: 16px; border-radius: 24px; }
    .mk-hero3-inner { padding-top: 64px; padding-bottom: 230px; }
    .mk-hero3-scene { width: 175%; height: auto; left: 50%; right: auto; transform: translateX(-50%); object-fit: fill; }
    .mk-hero3 { min-height: 0; }
}

/* =====================================================================
   Homepage v4 (aero ref msg 968, Dribbble "CoreShift" concept): floating
   pill nav, icon-tile hero, bento of real-looking widgets, integrations fan,
   giant wordmark. Scoped to body.mk4.
   ===================================================================== */
body.mk4 { background: #e9e9ec; }
.mk4 .mk-wrap { max-width: 1120px; }
.mk4-nav-wrap { position: sticky; top: 14px; z-index: 60; display: flex; flex-direction: column; align-items: center; padding: 0 12px; margin-top: 14px; }
.mk4-nav { display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid #e4e4e8; border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: 0 6px 24px rgba(17,17,24,.06); }
.mk4-links { display: flex; gap: 22px; }
.mk4-links a { font-size: 15px; font-weight: 500; color: #2a2a33; }
.mk4-links a:hover { color: var(--mk-link); }
.mk4-actions { display: flex; gap: 8px; align-items: center; }
.mk4-nav .mk-btn { border-radius: 12px; height: 40px; }
.mk4-nav .mk-btn-line { background: #f6f6f8; border-color: #ececf0; }
.mk4-mnav { width: 100%; max-width: 520px; background: #fff; border-radius: 18px; margin-top: 8px; padding: 6px 18px 12px; border: 0; box-shadow: 0 6px 24px rgba(17,17,24,.08); }
@media (max-width: 899px) { .mk4-links, .mk4-hide-sm { display: none; } .mk4-nav { gap: 12px; width: 100%; justify-content: space-between; } }

/* hero */
.mk4-hero { background: #fff; border-radius: 32px; margin: -62px 12px 0; padding: 120px 24px 88px; text-align: center; }
.mk4-stage { position: relative; width: min(1100px, 100%); height: 330px; margin: 0 auto 28px; }
.mk4-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk4-tile { position: absolute; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 30px rgba(17,17,24,.12), 0 2px 6px rgba(17,17,24,.06); display: grid; place-items: center; }
body.mk .mk4-tile .hgi-stroke { font-size: 30px; }
.mk4-t-center { width: 144px; height: 144px; left: calc(50% - 72px); top: 93px; border-radius: 34px; background: linear-gradient(160deg, #a77bff 0%, #7a3cf0 55%, #5f24d6 100%); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -6px 14px rgba(40,0,120,.25), 0 22px 44px rgba(122,60,240,.35); }
body.mk .mk4-t-center .hgi-stroke { font-size: 64px; }
.mk4-t-icon { width: 66px; height: 66px; border-radius: 18px; }
.mk4-t-qr  { left: 23%; top: 38px; background: linear-gradient(160deg, #fff27a, #f4d01e); color: #3a2f00; box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 12px 26px rgba(214,170,0,.3); }
.mk4-t-cam { left: 25%; top: 218px; background: linear-gradient(160deg, #6fd3ff, #1ea7ef); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 12px 26px rgba(30,167,239,.3); }
.mk4-t-gps { right: 23%; top: 34px; width: 78px; height: 78px; border-radius: 22px; background: linear-gradient(160deg, #ff8a5c, #f2552c); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 14px 28px rgba(242,85,44,.32); }
.mk4-t-inv { right: 6%; top: 128px; width: 96px; height: 96px; border-radius: 26px; color: #111118; }
body.mk .mk4-t-inv .hgi-stroke { font-size: 38px; }
.mk4-t-map { left: 4%; top: 95px; width: 130px; height: 130px; border: 4px solid #fff; background: url(assets/home/app-map.jpg) -660px -300px / 1067px auto no-repeat; }
.mk4-t-stat { right: 19%; top: 226px; width: 166px; height: 88px; border: 0; border-radius: 12px; background: url(assets/home/app-overview.jpg) -262px -83px / 800px auto no-repeat; }
.mk4-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; color: #111118; max-width: 17ch; margin: 0 auto; }
.mk4-sub { color: #6a6a76; font-size: 18px; line-height: 1.5; max-width: 520px; margin: 18px auto 0; text-align: center; }
.mk4-cta { margin-top: 30px; }
.mk4-cta .mk-btn { border-radius: 12px; height: 50px; padding: 0 28px; }
.mk4-note { display: block; margin-top: 14px; }
@keyframes mk4fa { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes mk4fb { 0%,100% { transform: translateY(0) } 50% { transform: translateY(7px) } }
.mk4-float-a { animation: mk4fa 6s ease-in-out infinite; }
.mk4-float-b { animation: mk4fb 7s ease-in-out infinite; }
.mk4-float-c { animation: mk4fa 8s ease-in-out infinite 1s; }
@media (max-width: 767px) {
    .mk4-hero { padding: 96px 16px 56px; margin: -58px 8px 0; border-radius: 24px; }
    .mk4-stage { height: 330px; transform: scale(.62); transform-origin: top center; width: 560px; left: 50%; margin: 0 0 -110px -280px; }
    .mk4-t-map, .mk4-t-inv, .mk4-t-stat { display: none; }
}

/* sections */
.mk4-sec { padding: 72px 0 0; }
.mk4-h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: #111118; text-align: center; margin: 0; }
.mk4-sec > .mk-wrap > .mk4-sub { margin-bottom: 40px; }

/* bento */
.mk4-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk4-card { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid #e7e7eb; display: flex; flex-direction: column; }
.mk4-card h3 { font-size: 22px; letter-spacing: -0.03em; font-weight: 600; color: #111118; margin: 20px 0 6px; }
.mk4-card p { margin: 0; color: #6a6a76; font-size: 15px; line-height: 1.5; }
.mk4-wide { grid-column: span 2; }
.mk4-wide-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: center; height: 100%; }
.mk4-wide-in h3 { margin-top: 16px; }
.mk4-vis { height: 190px; border-radius: 18px; background: #f6f6f8; display: grid; place-items: center; overflow: hidden; position: relative; }
.mk4-mini { background: #fff; border-radius: 14px; box-shadow: 0 10px 26px rgba(17,17,24,.08); padding: 12px 14px; width: 84%; font-size: 12px; text-align: left; }
.mk4-mini-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #111118; font-size: 12.5px; margin-bottom: 8px; }
.mk4-chip { font-size: 11px; font-weight: 500; color: #4d4d5a; background: #f1f1f4; border-radius: 999px; padding: 2px 8px; }
.mk4-stop { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #f0f0f3; }
.mk4-stop b, .mk4-ev b { display: block; font-weight: 600; color: #1b1b22; font-size: 12px; }
.mk4-stop small, .mk4-ev small { color: #7a7a86; font-size: 11px; }
.mk4-pin { width: 22px; height: 22px; border-radius: 50%; background: #7a3cf0; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.mk4-pin-done { background: #22a06b; }
body.mk .mk4-pin .hgi-stroke { font-size: 12px; }
.mk4-bars { display: flex; align-items: flex-end; gap: 14px; height: 112px; padding: 16px 6px 18px; position: relative; border-bottom: 1px dashed #e2e2e8; }
.mk4-bar { flex: 1; height: var(--h); background: linear-gradient(180deg, #c7b0ff, #a07cff); border-radius: 8px; position: relative; }
.mk4-bar-hi { background: linear-gradient(180deg, #8f5bff, #6a2ce6); }
.mk4-bar span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: #7a7a86; }
.mk4-bar em { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); background: #111118; color: #fff; font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.mk4-docs { position: relative; width: 220px; height: 140px; }
.mk4-doc { position: absolute; width: 120px; height: 140px; left: 10px; top: 0; background: #fff; border-radius: 12px; box-shadow: 0 10px 24px rgba(17,17,24,.08); transform: rotate(-6deg); background-image: linear-gradient(#ececf1, #ececf1), linear-gradient(#ececf1, #ececf1), linear-gradient(#ececf1, #ececf1); background-size: 70% 6px, 80% 6px, 50% 6px; background-position: 16px 70px, 16px 86px, 16px 102px; background-repeat: no-repeat; }
.mk4-doc-2 { left: 90px; transform: rotate(5deg); }
.mk4-shield { position: absolute; left: 76px; top: 38px; width: 68px; height: 68px; border-radius: 18px; background: linear-gradient(160deg, #a77bff, #6a2ce6); color: #fff; display: grid; place-items: center; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 14px 28px rgba(122,60,240,.35); }
body.mk .mk4-shield .hgi-stroke { font-size: 32px; }
.mk4-ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid #ececf0; box-shadow: 0 6px 16px rgba(17,17,24,.08); display: inline-grid; place-items: center; color: #f2552c; }
.mk4-timeline { width: 100%; padding: 14px 16px; }
.mk4-ev { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid #f0f0f3; }
.mk4-dot { width: 10px; height: 10px; border-radius: 50%; background: #f2b13a; margin-top: 4px; }
.mk4-dot-done { background: #22a06b; }
.mk4-pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
body.mk .mk4-pill .hgi-stroke { font-size: 12px; }
.mk4-pill-ok { background: #3ccf91; color: #073d26; }
.mk4-ring { position: relative; width: 170px; height: 170px; }
.mk4-ring span { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; border-radius: 11px; background: #fff; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(17,17,24,.12); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #4d4d5a; transform: rotate(var(--a)) translateY(-72px) rotate(calc(-1 * var(--a))); }
.mk4-ring-c { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(17,17,24,.1); display: grid; place-items: center; color: #111118; }
body.mk .mk4-ring-c .hgi-stroke { font-size: 28px; }
@media (max-width: 899px) { .mk4-bento { grid-template-columns: 1fr; } .mk4-wide { grid-column: auto; } .mk4-wide-in { grid-template-columns: 1fr; } }

/* integrations */
.mk4-panel { background: #fff; border-radius: 28px; border: 1px solid #e7e7eb; padding: 40px 24px 36px; text-align: center; overflow: hidden; }
.mk4-ico-c { margin-bottom: 16px; }
.mk4-fan { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin: 40px 0 0; height: 200px; }
.mk4-fan-t { width: 132px; height: 132px; border-radius: 22px; background: #f2f3f5; border: 0; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 8px; color: #2a2a33; font: inherit; transition: transform 160ms ease, background-color 160ms ease; }
body.mk .mk4-fan-t .hgi-stroke { font-size: 40px; }
.mk4-fan-t span { font-size: 12px; color: #6a6a76; }
.mk4-fan-t:nth-child(1) { transform: rotate(-14deg) translateY(10px); }
.mk4-fan-t:nth-child(3) { transform: rotate(12deg) translateY(6px); }
.mk4-fan-t:nth-child(4) { transform: rotate(24deg) translateY(30px); }
.mk4-fan-t.is-on { width: 150px; height: 150px; background: #f2f3f5; box-shadow: 0 0 0 2px #111118 inset; color: #6a2ce6; }
.mk4-fan-t:hover { background: #ebebef; }
.mk4-fan-name { margin: 22px 0 0; }
.mk4-fan-name b { display: block; font-size: 20px; color: #111118; letter-spacing: -0.02em; }
.mk4-fan-name span { color: #6a6a76; font-size: 15px; }
@media (max-width: 767px) { .mk4-fan { gap: 8px; height: auto; flex-wrap: wrap; } .mk4-fan-t { width: 92px !important; height: 92px !important; transform: none !important; } body.mk .mk4-fan-t .hgi-stroke { font-size: 28px; } }

/* existing sections inside v4 */
.mk4 .mk-sec { padding: 72px 0 0; }
.mk4 .mk-sec .mk-h2 { letter-spacing: -0.04em; text-align: center; }
.mk4 #pricing .mk-lead { text-align: center; }
.mk4 .mk-footer { padding-top: 72px; }
.mk4-wordmark { font-size: clamp(3rem, 12.4vw, 10.6rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: #7a3cf0; text-align: center; margin: 40px -8px -28px; overflow: hidden; white-space: nowrap; user-select: none; }
.mk4 .mk-footer .mk-card { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mk4-float-a, .mk4-float-b, .mk4-float-c { animation: none; } }

/* #448: measured CoreShift composition. See docs/homepage-video-spec.md.
   Every selector stays on the marketing homepage; app styles are untouched. */
body.mk5 { background:#f0f3f4; --mk-bg:#f0f3f4; overflow-x:clip; }
.mk5 .mk-wrap { max-width:1392px; padding-left:24px; padding-right:24px; }
.mk5 .mk4-nav-wrap { top:38px; margin-top:38px; padding:0 24px; }
.mk5 .mk4-nav { width:830px; max-width:100%; height:68px; border-radius:23px; padding:9px 10px 9px 20px; justify-content:space-between; gap:24px; }
.mk5 .mk4-nav .mk-brand { font-size:21px; gap:8px; letter-spacing:-.04em; }
.mk5 .mk4-links { gap:24px; }
.mk5 .mk4-nav .mk-btn { height:48px; white-space:nowrap; }
.mk5 .mk4-hero { margin:-106px 0 0; border-radius:0; min-height:968px; padding:185px 24px 54px; }
.mk5 .mk4-stage { width:min(1300px,100%); height:340px; margin-bottom:20px; }
.mk5 .mk4-tile { animation:mk5-tile-in 520ms cubic-bezier(.2,.75,.2,1) both; animation-delay:calc(220ms + var(--arrival,0) * 70ms); box-shadow:inset 0 2px 1px #ffffffaa,0 18px 25px -10px #11111824,0 3px 5px #1111180a; }
.mk5 .mk4-t-center { animation:mk5-center-in 420ms cubic-bezier(.2,.75,.2,1) both !important; width:182px; height:182px; left:calc(50% - 91px); top:77px; border-radius:40px; --arrival:0; box-shadow:inset 0 3px 2px #ffffff70,inset 0 -9px 13px #360b9930,0 22px 26px -12px #34205e35; }
.mk5 .mk4-t-center .hgi-stroke { font-size:78px; }
.mk5 .mk4-t-qr { width:84px; height:84px; left:14%; top:10px; border-radius:21px; --arrival:2; }
.mk5 .mk4-t-cam { width:108px; height:108px; left:16%; top:210px; border-radius:27px; --arrival:3; }
.mk5 .mk4-t-gps { width:108px; height:108px; right:17%; top:16px; border-radius:27px; --arrival:2; }
.mk5 .mk4-t-map { width:136px; height:136px; left:0; top:100px; border-radius:29px; --arrival:4; }
.mk5 .mk4-t-inv { width:136px; height:136px; right:0; top:100px; border-radius:29px; --arrival:4; }
.mk5 .mk4-t-stat { width:100px; height:100px; right:14%; top:240px; border-radius:23px; border:3px solid #fff; background-size:1100px auto; background-position:-371px -131px; --arrival:5; }
body.mk5 .mk4-tile .hgi-stroke { font-size:50px; }
body.mk5 .mk4-t-cam .hgi-stroke,body.mk5 .mk4-t-gps .hgi-stroke { font-size:64px; }
body.mk5 .mk4-t-inv .hgi-stroke { font-size:72px; }
body.mk5 .mk4-t-center .hgi-stroke { font-size:108px; }
.mk5 .mk4-lines path { stroke-dasharray:650; stroke-dashoffset:650; animation:mk5-line-in 700ms cubic-bezier(.3,.6,.2,1) 150ms forwards; }
.mk5 .mk4-lines circle { animation:mk5-text-in 300ms ease-out 650ms both; }
.mk5 .mk4-h1 { font-size:clamp(44px,5.82vw,90px); line-height:1; letter-spacing:-.055em; max-width:900px; }
.mk5 .mk4-h1 > span { display:block; }
.mk5 .mk4-h1 .mk5-hw { display:inline-block; animation:mk5-word-in 520ms cubic-bezier(.2,.7,.2,1) calc(200ms + var(--i) * 170ms) both; }
.mk5 .mk4-hero .mk4-sub { max-width:560px; font-size:20px; line-height:1.4; margin-top:28px; animation:mk5-text-in 450ms ease-out 820ms both; }
.mk5 .mk4-cta { margin-top:36px; animation:mk5-text-in 450ms ease-out 980ms both; }
.mk5 .mk4-cta .mk-btn { min-width:268px; height:56px; border-radius:15px; font-size:18px; }
.mk5 .mk4-note { font:13px/1.5 var(--mk-mono); margin-top:14px; animation:mk5-text-in 450ms ease-out 1060ms both; }
.mk5 .mk4-sec { padding-top:96px; }
.mk5 .mk4-h2 { font-size:clamp(38px,5.18vw,80px); line-height:1.03; letter-spacing:-.055em; }
.mk5 .mk4-sec > .mk-wrap > .mk4-sub { margin:26px auto 64px; max-width:620px; font-size:20px; }
.mk5 .mk4-bento { gap:20px; }
.mk5 .mk4-card { border-radius:30px; padding:30px; min-height:390px; border-color:#dfe2e3; }
.mk5 .mk4-card h3 { font-size:27px; line-height:1.2; margin-top:28px; }
.mk5 .mk4-card p { font-size:17px; line-height:1.5; }
.mk5 .mk4-vis { height:210px; background:#f7f8f9; overflow:visible; }
.mk5 .mk4-mini { width:94%; padding:16px; }
.mk5 .mk4-mini-h { font-size:14px; }
.mk5 .mk4-stop b,.mk5 .mk4-ev b { font-size:13px; }
.mk5 .mk4-stop small,.mk5 .mk4-ev small { font-size:12px; }
.mk5 .mk4-bars { height:125px; }
.mk5 .mk4-wide-in { gap:30px; }
.mk5 .mk4-timeline { width:100%; }
.mk5-core { position:relative; min-height:968px; display:grid; place-items:center; overflow:clip; isolation:isolate; }
.mk5-core-copy { text-align:center; position:relative; z-index:2; width:min(100% - 40px,480px); padding:130px 0; }
.mk5-core-copy .mk4-h2 { font-size:clamp(48px,5.5vw,86px); }
.mk5-core-copy .mk4-sub { max-width:420px; font-size:20px; margin:28px auto 34px; }
.mk5-core-copy .mk-btn { min-width:254px; border-radius:14px; height:56px; font-size:18px; }
.mk5-screen { transform:translate3d(0,var(--drift-y,0px),0) rotate(var(--tilt,0deg)); position:absolute; width:190px; height:240px; border-radius:22px; overflow:hidden; border:3px solid white; background:white; box-shadow:0 18px 26px -12px #181b2130,0 2px 6px #181b210d; z-index:1; }
.mk5-screen img { position:absolute; left:var(--x,0); top:var(--y,0); width:var(--w,1000px); max-width:none; height:auto; display:block; }
.mk5-screen-a { left:-2.6%; top:19.6%; }
.mk5-screen-b { left:12.9%; top:29.3%; }
.mk5-screen-c { left:15.6%; top:53.8%; }
.mk5-screen-d { left:5%; top:69.4%; }
.mk5-screen-e { right:13.4%; top:29.3%; }
.mk5-screen-f { right:-1%; top:19.6%; }
.mk5-screen-g { right:16.2%; top:54.1%; }
.mk5-screen-h { right:5.4%; top:69.2%; }
.mk5-badge { display:inline-grid; place-items:center; width:72px; height:72px; border-radius:20px; background:#fff; color:#7a3cf0; box-shadow:inset 0 2px 1px #ffffffaa,0 14px 22px -10px #11111826,0 2px 5px #1111180a; margin-bottom:34px; }
body.mk5 .mk5-badge .hgi-stroke { font-size:44px; }
.mk5-badge-sm { width:46px; height:46px; border-radius:13px; margin-bottom:26px; background:#fff; border:1px solid #e6e8ea; color:#f2552c; }
body.mk5 .mk5-badge-sm .hgi-stroke { font-size:28px; }
.mk5 .mk-btn.mk5-btn-accent { background:linear-gradient(180deg,#8a52f5,#7a3cf0); color:#fff !important; box-shadow:inset 0 1px 0 #ffffff40,0 8px 18px -8px #7a3cf099; }
.mk5 .mk-btn.mk5-btn-accent:hover { background:#6b2fe0; }
.mk5-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.mk5 .mk4-panel { min-height:736px; padding:92px 40px 42px; border-radius:32px; border-color:#dfe2e3; }
.mk5 .mk4-panel .mk4-h2 { font-size:clamp(36px,3.1vw,48px); }
.mk5 .mk4-fan { position:relative; display:block; height:270px; max-width:1100px; margin:48px auto 0; overflow:visible; }
.mk5 .mk4-fan-t { position:absolute; top:15px; left:calc(50% - 98px); width:196px; height:196px; border-radius:23px; background:#f0f3f4; border:0; transform:translateX(calc(var(--slot,0) * 226px)) translateY(calc(var(--slot,0) * var(--slot,0) * 19px)) rotate(calc(var(--slot,0) * 15deg)) scale(.9); transition:transform 550ms cubic-bezier(.45,0,.15,1),background-color 180ms; box-shadow:none; }
.mk5 .mk4-fan-t.is-on { width:196px; height:196px; transform:translateX(0) scale(1); background:#f0f3f4; box-shadow:none; }
.mk5 .mk4-fan-t .hgi-stroke { font-size:65px; }
.mk5 .mk4-fan-t span { font-size:14px; }
.mk5 .mk4-fan-name { margin-top:12px; min-height:60px; }
.mk5 .mk4-fan-name b { font-size:25px; }
.mk5 .mk4-fan-name span { font-size:17px; }
.mk5-controls { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:22px; }
.mk5-controls button,.mk5-proof-tabs button { font:inherit; background:#fff; border:1px solid #dfe2e3; border-radius:999px; padding:10px 16px; color:#4d4d5a; cursor:pointer; }
.mk5-controls button:first-child,.mk5-controls button:last-child { width:44px; height:44px; padding:0; }
.mk5-flip { transform:rotate(180deg); }
.mk5-controls button:hover,.mk5-proof-tabs button:hover { background:#f0f3f4; }
.mk5 a:focus-visible,.mk5 button:focus-visible { outline:3px solid #7a3cf0; outline-offset:5px; }
.mk5-proof { padding-bottom:24px; overflow:clip; }
.mk5-proof .mk4-sub { margin-bottom:70px !important; position:relative; z-index:3; }
.mk5-tstage { position:relative; height:500px; margin:0 auto; max-width:1344px; }
.mk5-tcard { position:absolute; z-index:2; left:50%; top:0; width:410px; margin:0 0 0 -205px; min-height:460px; background:linear-gradient(170deg,#ffffff 40%,#f8f9fa); border:1px solid #dfe2e3; border-radius:26px; padding:20px 28px 28px; box-shadow:0 20px 45px -20px #18212c33; text-align:center; transition:transform 460ms cubic-bezier(.45,0,.15,1), opacity 280ms ease; }
.mk5-tcard > * { transition:opacity 260ms ease 120ms; }
.mk5-tcard:not(.is-center) { z-index:1; }
.mk5-tcard:not(.is-center) > * { opacity:0; transition-delay:0ms; }
.mk5-tcard[data-slot="0"] { transform:none; }
.mk5-tcard[data-slot="-1"] { transform:translate(-490px,-26px) rotate(14deg) scale(1.04); }
.mk5-tcard[data-slot="1"] { transform:translate(490px,-26px) rotate(-14deg) scale(1.04); }
.mk5-tcard[data-slot="-2"] { transform:translate(-900px,40px) rotate(24deg) scale(1.04); opacity:0; }
.mk5-tcard[data-slot="2"] { transform:translate(900px,40px) rotate(-24deg) scale(1.04); opacity:0; }
.mk5-tcard.no-move,.mk5-tcard.no-move > * { transition:none !important; }
.mk5-env { display:none; position:absolute; left:50%; width:640px; margin-left:-320px; pointer-events:none; }
.mk5-env-back { z-index:1; top:236px; height:314px; background:linear-gradient(180deg,#8f5af6,#6b2fe0); clip-path:polygon(0 30%,17% 0,83% 0,100% 30%,100% 100%,0 100%); border-radius:0 0 24px 24px; }
.mk5-env-front { z-index:3; top:330px; height:220px; border-radius:6px 6px 26px 26px; background:linear-gradient(to bottom right,transparent calc(50% - 1px),#e4e6ea 50%,transparent calc(50% + 1px)) left / 50% 100% no-repeat,linear-gradient(to bottom left,transparent calc(50% - 1px),#e4e6ea 50%,transparent calc(50% + 1px)) right / 50% 100% no-repeat,linear-gradient(180deg,#ffffff,#f6f7f9); box-shadow:0 -6px 18px -10px #18212c33,0 24px 40px -24px #18212c40; }
.mk5-env-ready .mk5-env { display:block; transform:translateY(320px); opacity:0; }
.mk5-env-ready .mk5-tcard.is-center { transform:translateY(470px) rotate(4deg) scale(1.06); }
.mk5-env-ready .mk5-tcard:not(.is-center) { transform:none; opacity:0; }
.mk5-env-play .mk5-env { animation:mk5-env 1500ms cubic-bezier(.3,.7,.2,1) forwards; }
.mk5-env-play .mk5-env-back { animation-name:mk5-env-back; }
.mk5-env-play .mk5-tcard.is-center { animation:mk5-letter-out 1150ms cubic-bezier(.3,.7,.2,1) forwards; }
.mk5-env-play .mk5-tcard[data-slot="-1"] { animation:mk5-ghost-l 600ms cubic-bezier(.2,.7,.2,1) 950ms forwards; }
.mk5-env-play .mk5-tcard[data-slot="1"] { animation:mk5-ghost-r 600ms cubic-bezier(.2,.7,.2,1) 950ms forwards; }
@keyframes mk5-env-back { 0% { transform:translateY(320px); opacity:0; } 30% { transform:translateY(0); opacity:1; } 62% { transform:translateY(0); opacity:1; } 74% { transform:translateY(70px); opacity:0; } 100% { transform:translateY(260px); opacity:0; } }
@keyframes mk5-env { 0% { transform:translateY(320px); opacity:0; } 30% { transform:translateY(0); opacity:1; } 62% { transform:translateY(0); opacity:1; } 100% { transform:translateY(260px); opacity:0; } }
@keyframes mk5-letter-out { 0% { transform:translateY(470px) rotate(4deg) scale(1.06); } 38% { transform:translateY(150px) rotate(4deg) scale(1.06); } 100% { transform:none; } }
@keyframes mk5-ghost-l { from { transform:none; opacity:0; } to { transform:translate(-490px,-26px) rotate(14deg) scale(1.04); opacity:1; } }
@keyframes mk5-ghost-r { from { transform:none; opacity:0; } to { transform:translate(490px,-26px) rotate(-14deg) scale(1.04); opacity:1; } }
.mk5-avatar { display:grid; place-items:center; width:64px; height:64px; margin:28px auto 0; border-radius:18px; background:#eef0f2; color:#4d4d5a; font-weight:600; font-size:20px; letter-spacing:-.02em; }
.mk5-tcard figcaption { padding:18px 8px 0; }
.mk5-tcard b { display:block; font-size:24px; letter-spacing:-.03em; font-weight:600; }
.mk5-tcard blockquote { margin:26px auto 0; max-width:320px; font-size:18px; line-height:1.6; color:#4d4d5a; }
.mk5-proof-nav { display:flex; justify-content:center; gap:14px; margin-top:26px; }
.mk5-proof-nav button { width:48px; height:48px; border-radius:50%; background:#fff; border:1px solid #dfe2e3; color:#111118; cursor:pointer; display:grid; place-items:center; font-size:20px; }
.mk5-proof-nav button:hover { background:#f0f3f4; }
.mk5 .mk-sec { padding-top:120px; }
.mk5 .mk-sec .mk-h2 { font-size:clamp(36px,4.5vw,64px); }
.mk5 .mk-plan { border-radius:30px; }
.mk5 .mk-footer { padding-top:120px; }
.mk5 .mk-footer .mk-card { padding:230px 68px 0; min-height:768px; display:flex; flex-direction:column; border-radius:32px; border:1px solid #dfe2e3; }
.mk5 .mk-fcols { grid-template-columns:1.6fr 1fr 1fr 1fr auto; }
.mk5-ftag { margin:16px 0 0; max-width:280px; font-size:17px; line-height:1.4; font-weight:500; color:#111118; letter-spacing:-.01em; }
.mk5-fmeta { margin:14px 0 0; }
.mk5-fbtn { width:52px; height:52px; border-radius:14px; background:#f0f3f4; display:grid; place-items:center; color:#111118; font-size:22px; }
.mk5-fbtn:hover { background:#e6e9eb; }
.mk5 .mk-fcols { gap:48px; }
.mk5 .mk4-wordmark { font-size:clamp(60px,16.2vw,262px); font-weight:500; letter-spacing:-.065em; line-height:.9; margin:auto -64px -.17em; padding-top:60px; }
.mk5 .mk4-wordmark span { display:inline-block; }
.mk5 .mk4-wordmark.is-in span { animation:mk5-letter-wave 600ms ease-in-out calc(var(--letter) * 60ms) both; }
.mk5 [data-reveal].will-reveal { opacity:0; transform:translateY(30px); filter:blur(5px); transition:opacity 600ms ease-out var(--reveal-delay,0ms),transform 650ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms),filter 650ms ease-out var(--reveal-delay,0ms); }
.mk5 [data-reveal].will-reveal.is-in { opacity:1; transform:translateY(0); filter:blur(0); }
@keyframes mk5-tile-in { from { opacity:0;transform:scale(.72);filter:blur(9px); } to { opacity:1;transform:none;filter:blur(0); } }
@keyframes mk5-center-in { from { opacity:0;transform:scale(.6);filter:blur(6px); } to { opacity:1;transform:none;filter:blur(0); } }
@keyframes mk5-glyph-spin { from { transform:rotate(-300deg) scale(.55); } 70% { transform:rotate(12deg) scale(1.04); } to { transform:none; } }
@keyframes mk5-word-in { from { opacity:0;transform:translateY(14px);filter:blur(10px); } to { opacity:1;transform:none;filter:blur(0); } }
@keyframes mk5-object-in { from { opacity:0;transform:translateY(32px) rotate(-9deg) scale(.84);filter:blur(7px); } to { opacity:1;transform:none;filter:blur(0); } }
@keyframes mk5-text-in { from { opacity:0;transform:translateY(20px);filter:blur(6px); } to { opacity:1;transform:none;filter:blur(0); } }
@keyframes mk5-line-in { to { stroke-dashoffset:0; } }
@keyframes mk5-letter-wave { 0%,100% { filter:blur(0);transform:translateY(0); } 45% { filter:blur(7px);transform:translateY(-3px); } }
@media(max-width:1100px) {
    .mk5-screen { width:160px;height:204px; }
    .mk5-screen-b { left:8%; }.mk5-screen-e { right:8%; }
    .mk5 .mk-fcols { grid-template-columns:1.4fr 1fr 1fr 1fr; }
    .mk5-fcontact { grid-column:1 / -1; }
    .mk5-core-copy { max-width:380px; }
    .mk5 .mk4-fan-t { transform:translateX(calc(var(--slot,0) * 180px)) translateY(calc(var(--slot,0) * var(--slot,0) * 19px)) rotate(calc(var(--slot,0) * 15deg)) scale(.82); }
    .mk5 .mk4-fan-t.is-on { transform:scale(1); }
}
@media(max-width:899px) {
    .mk5 .mk4-nav-wrap { top:16px;margin-top:16px;padding:0 16px; }
    .mk5 .mk4-nav { height:64px;padding-left:14px;gap:12px;border-radius:20px; }
    .mk5 .mk4-nav .mk-brand { font-size:17px; }
    .mk5 .mk4-nav .mk-btn { height:42px;font-size:13px;padding:0 14px; }
    .mk5 .mk4-hero { margin-top:-80px;padding:145px 20px 65px;min-height:850px; }
    .mk5 .mk4-stage { width:720px;left:50%;height:340px;margin-left:-360px;transform:scale(.8);transform-origin:top center;margin-bottom:-35px; }
    .mk5 .mk4-t-map { left:-40px; }.mk5 .mk4-t-inv { right:-40px; }
    .mk5 .mk4-h1 { font-size:64px; }
    .mk5 .mk4-bento { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .mk5 .mk4-wide { grid-column:span 2; }
    .mk5 .mk4-card:last-child { grid-column:span 2; }
    .mk5 .mk4-card { min-height:0; }
    .mk5-core { min-height:800px; }
    .mk5-screen-a,.mk5-screen-d,.mk5-screen-f,.mk5-screen-h { display:none; }
    .mk5-tcard:not(.is-center) { visibility:hidden; }
    .mk5-env { width:420px; margin-left:-210px; }
    .mk5 .mk-footer .mk-card { padding-top:90px; }
    .mk5-screen-b { left:-55px;top:20%; }.mk5-screen-e { right:-55px;top:20%; }
    .mk5-screen-c { left:-35px;top:61%; }.mk5-screen-g { right:-35px;top:61%; }
    .mk5-core-copy { max-width:360px; }
    .mk5-core-copy .mk4-h2 { font-size:64px; }
    .mk5 .mk4-panel { min-height:650px;padding:65px 20px 38px; }
    .mk5 .mk-footer .mk-card { padding:90px 32px 0;min-height:650px; }
    .mk5 .mk4-wordmark { margin-left:-30px;margin-right:-30px; }
}
@media(max-width:639px) {
    .mk5 .mk-wrap { padding-left:18px;padding-right:18px; }
    .mk5 .mk4-nav-wrap { padding:0 12px; }
    .mk5 .mk4-nav { gap:6px;padding-left:10px; }
    .mk5 .mk4-nav .mk-brand { font-size:15px;gap:5px; }
    .mk5 .mk4-nav .mk-brand img { width:22px;height:22px; }
    .mk5 .mk4-actions { gap:7px; }
    .mk5 .mk4-nav .mk-btn { font-size:12px;padding:0 11px; }
    .mk5 .mk4-hero { min-height:740px;padding-top:128px;padding-left:16px;padding-right:16px;overflow:clip; }
    .mk5 .mk4-stage { width:680px;height:340px;margin-left:-340px;transform:scale(.51);margin-bottom:-140px; }
    .mk5 .mk4-t-map,.mk5 .mk4-t-inv,.mk5 .mk4-t-stat { display:block; }
    .mk5 .mk4-t-map { left:-5px; }.mk5 .mk4-t-inv { right:-5px; }
    .mk5 .mk4-t-qr { left:15%; }.mk5 .mk4-t-gps { right:15%; }
    .mk5 .mk4-h1 { font-size:46px;line-height:1.02; }
    .mk5 .mk4-hero .mk4-sub { font-size:17px;max-width:310px;margin-top:24px; }
    .mk5 .mk4-cta { margin-top:28px; }
    .mk5 .mk4-cta .mk-btn { min-width:230px; }
    .mk5 .mk4-note { max-width:300px;margin:14px auto 0;font-size:11px; }
    .mk5-core { min-height:790px; }
    .mk5-core-copy { width:calc(100% - 56px);max-width:340px;padding:220px 0; }
    .mk5-core-copy .mk4-h2 { font-size:52px; }
    .mk5-core-copy .mk4-sub { font-size:17px;max-width:265px; }
    .mk5-screen { width:140px;height:155px; }
    .mk5-screen-b { left:-20px;top:4%;--tilt:-9deg; }.mk5-screen-e { right:-20px;top:4%;--tilt:9deg; }
    .mk5-screen-c { left:-20px;top:76%;--tilt:9deg; }.mk5-screen-g { right:-20px;top:76%;--tilt:-9deg; }
    .mk5-tstage { height:440px; }
    .mk5-tcard { width:auto; left:0; right:0; margin:0 auto; max-width:410px; min-height:400px; }
    .mk5 .mk4-sec { padding-top:76px; }
    .mk5 .mk4-h2 { font-size:42px; }
    .mk5 .mk4-sec > .mk-wrap > .mk4-sub { font-size:17px;margin:22px auto 38px; }
    .mk5 .mk4-bento { grid-template-columns:minmax(0,1fr);gap:16px; }
    .mk5 .mk4-wide,.mk5 .mk4-card:last-child { grid-column:auto; }
    .mk5 .mk4-card { padding:24px;border-radius:25px; }
    .mk5 .mk4-card h3 { font-size:24px; }
    .mk5 .mk4-card p { font-size:16px; }
    .mk5 .mk4-mini { width:100%; }
    .mk5 .mk4-wide-in { grid-template-columns:minmax(0,1fr); }
    .mk5 .mk4-panel { min-height:600px;padding:48px 16px 30px; }
    .mk5 .mk4-panel .mk4-h2 { font-size:37px; }
    .mk5 .mk4-fan { margin-top:30px;height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible; }
    .mk5 .mk4-fan-t,.mk5 .mk4-fan-t.is-on { position:static;width:100% !important;height:98px !important;transform:none !important;transition:background-color 180ms;border-radius:16px;gap:8px; }
    .mk5 .mk4-fan-t.is-on { box-shadow:0 0 0 2px #6a2ce6 inset; }
    .mk5 .mk4-fan-t .hgi-stroke { font-size:32px; }
    .mk5 .mk4-fan-t span { font-size:11px; }
    .mk5 .mk4-fan-name span { font-size:14px; }
    .mk5-controls { gap:8px;margin-top:18px; }
    .mk5-controls button { font-size:13px; }
    .mk5-proof-stack { margin-top:35px;padding-top:20px; }
    .mk5-proof-main { width:90%;padding:5px;border-radius:15px; }
    .mk5-proof-main img { border-radius:10px; }
    .mk5-proof-back { top:35px;border-width:5px;border-radius:15px; }
    .mk5-proof-tabs { gap:6px;flex-wrap:wrap; }
    .mk5-proof-tabs button { padding:9px 13px;font-size:13px; }
    .mk5 .mk-sec { padding-top:76px; }
    .mk5 .mk-footer { padding-top:76px; }
    .mk5 .mk-footer .mk-card { padding:64px 22px 0;min-height:0;border-radius:25px; }
    .mk5 .mk-fcols { gap:30px; }
    .mk5 .mk-fbase { font-size:12px;margin-top:32px; }
    .mk5 .mk4-wordmark { font-size:17.4vw;margin:40px -18px -.17em; }
}
@media(prefers-reduced-motion:reduce) {
    .mk5 [data-reveal].will-reveal { opacity:1 !important;transform:none !important;filter:none !important; }
    .mk5 .mk4-lines path { stroke-dashoffset:0; }
    .mk5 .mk4-h1 span,.mk5 .mk4-tile,.mk5 .mk4-hero .mk4-sub,.mk5 .mk4-cta,.mk5 .mk4-note { opacity:1;filter:none; }
}
/* Real app captures replace invented miniature counts; #438 refreshes these files. */
.mk5 .mk5-feature-screen { display:block; width:100%; height:210px; object-fit:cover; object-position:center 20%; border:1px solid #e1e4e6; border-radius:15px; box-shadow:0 12px 20px #18212c0a; }
.mk5-core-copy { padding:0; margin-bottom:130px; align-self:end; }
.mk5:not(.mk5-enhanced) .mk4-fan { display:flex;justify-content:center;gap:16px;flex-wrap:wrap;height:auto; }
.mk5:not(.mk5-enhanced) .mk4-fan-t { position:static;transform:none !important; }
.mk5:not(.mk5-enhanced) .mk5-controls { display:none; }
@media(max-width:639px) { .mk5-core-copy { margin:0;padding:220px 0;align-self:center; } }
.mk5-enhanced .mk5-core:not(.is-in) .mk5-screen { opacity:0; }
.mk5-core.is-in .mk5-screen { animation:mk5-media-in 700ms cubic-bezier(.2,.7,.2,1) both; }
.mk5-core.is-in .mk5-screen-b,.mk5-core.is-in .mk5-screen-e { animation-delay:100ms; }
.mk5-core.is-in .mk5-screen-c,.mk5-core.is-in .mk5-screen-f { animation-delay:200ms; }
.mk5-core.is-in .mk5-screen-d,.mk5-core.is-in .mk5-screen-g { animation-delay:280ms; }
.mk5-core.is-in .mk5-screen-h { animation-delay:340ms; }
.mk5-proof-stack.is-in .mk5-proof-left { animation:mk5-fan-left 750ms cubic-bezier(.2,.7,.2,1) both; }
.mk5-proof-stack.is-in .mk5-proof-right { animation:mk5-fan-right 750ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes mk5-media-in { from { opacity:0;translate:0 65px;filter:blur(5px); } to { opacity:1;translate:0 0;filter:blur(0); } }
@keyframes mk5-fan-left { from { transform:rotate(0) translateX(90px);opacity:0; } to { transform:rotate(-14deg);opacity:.72; } }
@keyframes mk5-fan-right { from { transform:rotate(0) translateX(-90px);opacity:0; } to { transform:rotate(14deg);opacity:.72; } }
@media(prefers-reduced-motion:reduce) { .mk5-enhanced .mk5-core .mk5-screen { opacity:1; } }
/* The reference resolves headings across their words, rather than fading a block. */
.mk5 h2[data-reveal].will-reveal { opacity:1;transform:none;filter:none; }
.mk5 .mk5-word { display:inline-block; }
.mk5 h2.will-reveal:not(.is-in) .mk5-word { opacity:0; }
.mk5 h2.will-reveal.is-in .mk5-word { animation:mk5-text-in 550ms cubic-bezier(.2,.7,.2,1) calc(var(--word) * 55ms) both; }
@media(prefers-reduced-motion:reduce) { .mk5 h2.will-reveal .mk5-word { opacity:1 !important; } }

@media(min-width:640px) and (max-width:1100px) {
    .mk5 .mk4-fan { display:flex;justify-content:center;flex-wrap:wrap;gap:14px;height:auto; }
    .mk5 .mk4-fan-t,.mk5 .mk4-fan-t.is-on { position:static;width:154px !important;height:130px !important;transform:none !important;transition:background-color 180ms; }
    .mk5 .mk4-fan-t.is-on { box-shadow:0 0 0 2px #6a2ce6 inset; }
}

/* Provider marks retain their own colors and proportions. */
.mk5 .mk4-fan-t img { display:block;width:96px;height:96px;object-fit:contain; }
@media(min-width:1101px) { .mk5 .mk4-fan-t:has(img) span { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; } }
@media(min-width:640px) and (max-width:1100px) { .mk5 .mk4-fan-t img { width:56px;height:56px; } }
@media(max-width:639px) { .mk5 .mk4-fan-t img { width:40px;height:40px; } }

.mk5 .mk4-fan-t[data-name="Mapbox"] img { width:160px;height:36px; }
@media(max-width:1100px) { .mk5 .mk4-fan-t[data-name="Mapbox"] img { width:140px;height:32px; } }
@media(max-width:639px) { .mk5 .mk4-fan-t[data-name="Mapbox"] { grid-column:1 / -1; } }

.mk5 .mk4-fan-t[data-name="Stripe"] img { width:140px;height:60px; }
.mk5 .mk4-fan-t[data-name="Google Authenticator"] img,.mk5 .mk4-fan-t[data-name="Google Maps"] img { border-radius:22%; }
@media(min-width:640px) and (max-width:1100px) { .mk5 .mk4-fan-t[data-name="Stripe"] img { width:110px;height:46px; } }
@media(max-width:639px) { .mk5 .mk4-fan-t[data-name="Stripe"] img { width:80px;height:40px; } }

/* Public pages: the light homepage system, scoped away from app/legacy pages. */
body.sr-public {
    --ink:#111118; --offwhite:#f0f3f4; --surface:#fff; --surface-raised:#f6f7f8;
    --border:#e1e3e6; --border-strong:#d6d9de; --text:#111118;
    --text-muted:#565762; --text-faint:#6a6a76; --accent:#6b2fe0;
    --accent-hover:#5421b9; --accent-soft:#f0eafa; --radius:28px; --radius-sm:16px;
    background:var(--offwhite); color:var(--text-muted); font-family:var(--sans);
    font-size:16px; line-height:1.6; min-height:100vh; -webkit-font-smoothing:antialiased;
}
body.sr-public a:focus-visible,body.sr-public button:focus-visible,body.sr-public input:focus-visible,body.sr-public select:focus-visible { outline:3px solid #7a3cf0;outline-offset:3px; }
.sr-public .sr-h1,.sr-public .sr-h2 { font-weight:600;text-transform:none;letter-spacing:-.04em;line-height:1.08; }
.sr-public .sr-h1 { font-size:clamp(36px,3.8vw,60px); }
.sr-public .sr-h2 { font-size:clamp(28px,2.5vw,36px); }
.sr-public .sr-lockup span { font-weight:600;text-transform:none;letter-spacing:-.04em;color:var(--text); }
.sr-public .sr-lockup img { height:28px;width:28px;object-fit:contain; }
.sr-public .sr-card,.sr-public .sr-auth-card { background:white;border:1px solid var(--border);border-radius:28px;box-shadow:none;min-width:0; }
.sr-public .sr-btn { font-weight:600;transition:background-color 120ms,border-color 120ms;max-width:100%; }
.sr-public .sr-btn-primary { background:#111118;border-color:#111118;color:white; }
.sr-public .sr-btn-primary:hover { background:#2c2c36;border-color:#2c2c36;transform:none; }
.sr-public .sr-btn-ghost { background:white;color:var(--text); }
.sr-public .sr-link { color:var(--accent);font-weight:500; }
.sr-public .sr-link:hover { color:var(--accent-hover); }
.sr-public .sr-input { background:#f8f9fa;border-radius:16px;border-color:var(--border-strong); }
.sr-public .sr-input:focus { background:white;border-color:#7a3cf0;box-shadow:0 0 0 3px #7a3cf01a; }
.sr-public .sr-check { accent-color:#6b2fe0; }
.sr-public .sr-support { font-size:16px;font-weight:400;color:var(--text-muted) !important;letter-spacing:0;text-transform:none;margin:14px 0; }
.sr-public .sr-auth { grid-template-columns:minmax(0,1fr);min-height:calc(100svh - 116px); }
.sr-public .sr-auth-main { min-width:0;background:transparent;padding:40px 24px; }
.sr-public .sr-auth-card { max-width:460px;padding:40px; }
.sr-public .sr-auth-aside { margin:24px 0 0 24px;border:1px solid var(--border);border-radius:32px;background:white;padding:48px; }
.sr-public .sr-auth-aside .sr-h1 { color:var(--text); }
.sr-public .sr-auth-aside .sr-lead,.sr-public .sr-auth-aside li { color:var(--text-muted) !important; }
.sr-public .sr-auth-aside li > span { background:#f0eafa !important;color:var(--accent) !important; }
.sr-public .sr-aside-motif { color:#6b2fe0;opacity:.08; }
.sr-public .sr-feat-ico { background:#f0eafa;color:#6b2fe0; }
.sr-public .sr-recovery-main { min-height:calc(100svh - 116px) !important; }
.sr-public-footer { max-width:1344px;margin:24px auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px; }
.sr-public-footer a { text-decoration:none;color:var(--text-muted); }
.sr-public-footer nav { display:flex;flex-wrap:wrap;gap:24px;font-size:14px; }
.sr-public-footer a:hover { color:var(--accent); }
@media(min-width:1024px) { .sr-public .sr-auth { grid-template-columns:minmax(0,1.02fr) minmax(0,1fr); } }
@media(max-width:639px) {
    .sr-public .sr-auth-main { padding:24px 16px; }
    .sr-public .sr-auth-card { padding:28px 24px; }
    .sr-public .sr-recovery-main { padding:24px 16px !important; }
    .sr-public .sr-recovery-main .sr-auth-card { padding:28px 24px !important; }
    .sr-public .sr-btn { padding-left:18px;padding-right:18px; }
    .sr-public-footer { flex-direction:column;justify-content:center;text-align:center;padding:8px 16px 24px;gap:16px; }
}

/* SEO pages retain their content and semantic structure, sharing public chrome. */
.sr-landing .h-display,.sr-landing .h-section { color:var(--text);font-weight:600;text-transform:none;letter-spacing:-.04em; }
.sr-landing .h-display { font-size:clamp(40px,5vw,72px);line-height:1.06; }
.sr-landing .h-section { font-size:clamp(28px,3vw,42px);line-height:1.12; }
.sr-landing .text-body,.sr-landing .prose-block p { color:var(--text-muted); }
.sr-landing .text-faint { color:var(--text-faint); }
.sr-landing .text-white,.sr-landing .prose-block strong { color:var(--text) !important; }
.sr-landing .text-accent-hover { color:var(--accent); }
.sr-landing .border-line { border-color:var(--border); }
.sr-landing .btn { font-weight:600;min-height:44px;text-align:center; }
.sr-landing .btn-primary { background:#111118;border-color:#111118;color:white; }
.sr-landing .btn-primary:hover { background:#2c2c36;border-color:#2c2c36; }
.sr-landing .btn-secondary { background:white;border-color:var(--border-strong);color:var(--text); }
.sr-landing .card { background:white;border-color:var(--border);border-radius:28px;box-shadow:none; }
.sr-landing > header { position:sticky;top:24px;margin:24px auto 0;width:calc(100% - 48px);max-width:1100px;border:1px solid var(--border);border-radius:28px;background:white !important;backdrop-filter:none !important;box-shadow:0 8px 28px #11111808; }
.sr-landing > header nav { height:68px;gap:16px; }
.sr-landing > header nav > a span,.sr-landing > footer a span { text-transform:none !important;font-weight:600;letter-spacing:-.04em !important; }
.sr-landing main > section { border:0; }
.sr-landing main > section:first-child { padding-top:100px;padding-bottom:100px; }
.sr-landing main > section.bg-surface { margin:0 24px;border:1px solid var(--border);border-radius:32px; }
.sr-landing > footer { margin:24px;background:white;border:1px solid var(--border);border-radius:32px; }
@media(max-width:639px) {
    .sr-landing > header { top:12px;margin-top:12px;width:calc(100% - 24px);border-radius:24px; }
    .sr-landing > header nav { padding:0 12px;height:64px;gap:8px; }
    .sr-landing > header nav > a { gap:6px; }
    .sr-landing > header nav > a img { width:24px;height:24px;object-fit:contain; }
    .sr-landing > header nav > a span { font-size:15px !important; }
    .sr-landing > header nav > div:last-child { gap:6px; }
    .sr-landing > header .btn { padding:10px;font-size:12px; }
    .sr-landing main > section:first-child { padding-top:64px;padding-bottom:64px; }
    .sr-landing main > section.bg-surface,.sr-landing > footer { margin-left:16px;margin-right:16px;border-radius:24px; }
    .sr-landing main > section > .card { padding:28px 24px; }
}

/* Legal copy keeps its original content and dates. */
.sr-legal .legal-header { top:24px;margin:24px auto 0;width:calc(100% - 48px);max-width:1100px;border:1px solid var(--border);border-radius:28px;background:white;backdrop-filter:none;box-shadow:0 8px 28px #11111808; }
.sr-legal .legal-nav { height:68px; }
.sr-legal .legal-brand span { font-weight:600;letter-spacing:-.03em; }
.sr-legal .legal-title { font-weight:600;letter-spacing:-.04em; }
.sr-legal .legal-card { border-radius:28px;box-shadow:none; }
.sr-legal .legal-card h2 { font-weight:600; }
@media(max-width:639px) {
    .sr-legal .legal-header { top:12px;margin-top:12px;width:calc(100% - 24px);border-radius:24px; }
    .sr-legal .legal-nav { padding:0 16px;gap:12px; }
    .sr-legal .legal-brand { gap:6px; }
    .sr-legal .legal-brand span { font-size:16px; }
    .sr-legal .legal-back { font-size:12px; }
    .sr-legal .legal-main { padding:48px 16px; }
    .sr-legal .legal-card { padding:26px 20px; }
}
/* Checkout labels may wrap; plan duration and price remain fully readable. */
.sr-public .sr-auth-card form[action*="paypal"] .sr-btn { white-space:normal; }
.sr-public .sr-auth-card form[action*="paypal"] .sr-btn > span:first-child { flex-wrap:wrap; }
.sr-public .sr-auth-card form[action*="paypal"] .sr-btn > span:first-child > span:first-of-type { overflow:visible !important;text-overflow:clip !important;white-space:normal !important; }

body.mk5 .mk4-t-center .hgi-stroke { display:inline-block; animation:mk5-glyph-spin 820ms cubic-bezier(.3,.7,.25,1) 60ms both; }
@media(prefers-reduced-motion:reduce) { body.mk5 .mk4-t-center .hgi-stroke,.mk5 .mk4-h1 .mk5-hw { animation:none; } }
@media(prefers-reduced-motion:reduce) { body.mk5 .mk4-hero *, body.mk5 .mk5-tstage, body.mk5 .mk5-tstage *, body.mk5 .mk5-notes * { animation:none !important; transition:none !important; } body.mk5 .mk4-hero * { opacity:1; filter:none; } }
.mk5-crop { position:relative; width:100%; height:100%; overflow:hidden; border-radius:15px; border:1px solid #e1e4e6; background:#fff; box-shadow:0 12px 20px #18212c0a; }
.mk5-crop img { position:absolute; left:var(--x,0); top:var(--y,0); width:var(--w,1000px); max-width:none; height:auto; }
.mk5-notes { position:relative; width:100%; height:100%; display:grid; place-items:center; overflow:hidden; border-radius:15px; }
.mk5-orbit { position:absolute; width:300px; height:300px; border-radius:50%; border:1px solid #e3e6e8; left:50%; top:50%; margin:-150px; }
.mk5-orbit-2 { width:190px; height:190px; margin:-95px; }
.mk5-note { position:absolute; left:50%; top:50%; width:300px; margin:-30px 0 0 -150px; display:flex; gap:12px; align-items:center; text-align:left; background:#fff; border:1px solid #e6e8ea; border-radius:14px; padding:12px 14px; box-shadow:0 14px 24px -12px #18212c33; opacity:0; transform:translateY(-34px) scale(.92); transition:transform 520ms cubic-bezier(.2,.7,.2,1), opacity 380ms ease; }
.mk5-note.is-on { opacity:1; transform:none; z-index:2; }
.mk5-note.is-past { opacity:0; transform:translateY(30px) scale(.9); }
.mk5-note i { flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; color:#fff; background:var(--c); font-size:18px; box-shadow:inset 0 1px 0 #ffffff55; }
.mk5-note b { display:block; font-size:14px; font-weight:600; color:#111118; }
.mk5-note small { display:block; font-size:12px; color:#6a6a76; margin-top:2px; }
.mk5-note::after { content:""; position:absolute; left:14px; right:14px; bottom:-8px; height:10px; border-radius:0 0 12px 12px; background:#f3f4f6; border:1px solid #e6e8ea; border-top:0; z-index:-1; }
@media(prefers-reduced-motion:reduce) { .mk5-note { transition:none; } }

/* #471/#472: split-screen sign in / sign up (aero's reference, ServeRouter purple). Scoped to body.sr-auth2. */
body.sr-auth2 { background:#e9e9ee; color:#111118; margin:0; font-family:var(--sans); }
.sr-auth2 .a2 { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:100vh; min-height:100dvh; background:#fff; }
.sr-auth2 .a2-main { display:flex; flex-direction:column; align-items:center; padding:64px 40px 40px; }
.sr-auth2 .a2-logo { display:flex; align-items:center; gap:12px; color:#111118; text-decoration:none; font-size:30px; font-weight:500; letter-spacing:-.03em; }
.sr-auth2 .a2-logo img { width:40px; height:40px; }
.sr-auth2 .a2-body { width:100%; max-width:420px; margin:auto 0; padding:48px 0; text-align:center; }
.sr-auth2 .a2-title { margin:0; font-size:34px; line-height:1.15; font-weight:700; letter-spacing:-.035em; color:#111118; }
.sr-auth2 .a2-sub { margin:10px 0 28px; font-size:16px; color:#6a6a76; }
.sr-auth2 .a2-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; height:60px; box-sizing:border-box; border-radius:16px; background:#f0f0f3; border:1px solid #e6e6ea; margin-bottom:18px; }
.sr-auth2 .a2-tabs a { display:grid; place-items:center; border-radius:12px; font-size:16px; font-weight:500; color:#6a6a76; text-decoration:none; transition:background-color 120ms, color 120ms; }
.sr-auth2 .a2-tabs a.is-on { background:#fff; color:#111118; font-weight:600; box-shadow:0 1px 2px #1111180f,0 2px 6px #11111808; }
.sr-auth2 .a2-tabs a:not(.is-on):hover { color:#111118; }
.sr-auth2 .a2-form { display:flex; flex-direction:column; gap:14px; text-align:left; }
.sr-auth2 .a2-field { display:flex; align-items:center; min-height:76px; border:1px solid #dcdce2; border-radius:16px; background:#fff; transition:border-color 120ms, box-shadow 120ms; }
.sr-auth2 .a2-field:focus-within { border-color:#7a3cf0; box-shadow:0 0 0 3px #7a3cf026; }
.sr-auth2 .a2-ico { flex:none; display:grid; place-items:center; width:62px; align-self:stretch; color:#111118; font-size:22px; position:relative; }
.sr-auth2 .a2-ico::after { content:""; position:absolute; right:0; top:22%; bottom:22%; width:1px; background:#e3e3e8; }
.sr-auth2 .a2-in { flex:1; min-width:0; display:flex; flex-direction:column; padding:0 16px; }
.sr-auth2 .a2-in label { font-size:13px; color:#4d4d5a; font-weight:500; margin-bottom:3px; }
.sr-auth2 .a2-in input { border:0; outline:0; padding:0; background:transparent; font:inherit; font-size:17px; font-weight:500; color:#111118; width:100%; }
.sr-auth2 .a2-in input::placeholder { color:#a3a3ad; font-weight:400; }
.sr-auth2 .a2-ok { flex:none; width:22px; height:22px; margin-right:22px; border-radius:50%; background:#3db07a; color:#fff; display:grid; place-items:center; font-size:13px; opacity:0; transform:scale(.6); transition:opacity 160ms, transform 160ms; }
.sr-auth2 .a2-field:has(input:valid:not(:placeholder-shown)) .a2-ok { opacity:1; transform:none; }
.sr-auth2 .a2-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:2px 4px; }
.sr-auth2 .a2-row a { color:#6b2fe0; text-decoration:none; font-weight:500; }
.sr-auth2 .a2-row a:hover { text-decoration:underline; }
.sr-auth2 .a2-check { display:flex; align-items:center; gap:8px; color:#4d4d5a; cursor:pointer; }
.sr-auth2 .a2-check input { width:17px; height:17px; accent-color:#7a3cf0; margin:0; }
.sr-auth2 .a2-error { display:flex; gap:8px; align-items:center; padding:12px 14px; border-radius:12px; background:#fdecec; color:#a32020; font-size:14px; border:1px solid #f6c9c9; }
.sr-auth2 .a2-btn { height:64px; border:0; border-radius:16px; background:linear-gradient(180deg,#8a52f5,#7a3cf0); color:#fff; font:inherit; font-size:18px; font-weight:600; cursor:pointer; box-shadow:inset 0 1px 0 #ffffff40,0 10px 22px -10px #7a3cf0aa; transition:background 120ms, transform 120ms; margin-top:4px; }
.sr-auth2 .a2-btn:hover { background:#6b2fe0; }
.sr-auth2 .a2-btn:active { transform:translateY(1px); }
.sr-auth2 a:focus-visible,.sr-auth2 button:focus-visible,.sr-auth2 .a2-check input:focus-visible { outline:3px solid #7a3cf0; outline-offset:3px; border-radius:12px; }
.sr-auth2 .a2-foot { max-width:460px; margin:0; text-align:center; font-size:14px; line-height:1.55; color:#6a6a76; }
.sr-auth2 .a2-foot a { color:#4d4d5a; }
.sr-auth2 .a2-plan { display:inline-block; margin:-12px 0 22px; padding:5px 12px; border-radius:999px; background:#f2ecfe; color:#5a22c8; font-size:13px; font-weight:600; }
/* Right panel: our own 3D tile on a soft gradient with light streaks */
.sr-auth2 .a2-art { position:relative; overflow:hidden; display:grid; place-items:center; background:
    repeating-linear-gradient(90deg, transparent 0 140px, #ffffff1f 140px 146px, transparent 146px 260px),
    radial-gradient(60% 50% at 55% 55%, #ffffff99, transparent 70%),
    linear-gradient(160deg,#f2eefc 0%,#d9cdfa 55%,#b49cf3 100%); }
.sr-auth2 .a2-scene { position:relative; perspective:1400px; animation:a2-float 6s ease-in-out infinite; }
.sr-auth2 .a2-cube { position:relative; width:300px; height:300px; transform:rotateX(8deg) rotateY(-20deg) rotateZ(-2deg); }
.sr-auth2 .a2-face { position:absolute; border-radius:46px; }
.sr-auth2 .a2-front { inset:0; background:linear-gradient(155deg,#a57cff 0%,#7a3cf0 55%,#5f24d6 100%); box-shadow:inset 0 3px 2px #ffffff66, inset 0 -10px 18px #2a0a7a40, 1px 1px 0 #5a20cc,2px 2px 0 #5a20cc,3px 3px 0 #5a20cc,4px 4px 0 #5a20cc,5px 5px 0 #5a20cc,6px 6px 0 #5a20cc,7px 7px 0 #5a20cc,8px 8px 0 #5a20cc,9px 9px 0 #5a20cc,10px 10px 0 #5a20cc,11px 11px 0 #5a20cc,12px 12px 0 #5a20cc,13px 13px 0 #5a20cc,14px 14px 0 #5a20cc,15px 15px 0 #5a20cc,16px 16px 0 #5a20cc,17px 17px 0 #5a20cc,18px 18px 0 #5a20cc,19px 19px 0 #5a20cc,20px 20px 0 #4a17b8,21px 21px 0 #4a17b8,22px 22px 0 #4a17b8,23px 23px 0 #4a17b8,24px 24px 0 #4a17b8,25px 25px 0 #4a17b8,26px 26px 0 #4a17b8,27px 27px 0 #4a17b8,28px 28px 0 #4a17b8,29px 29px 0 #4a17b8,30px 30px 0 #4a17b8,31px 31px 0 #4a17b8,32px 32px 0 #4a17b8,33px 33px 0 #4a17b8,34px 34px 0 #4a17b8,35px 35px 0 #4a17b8,36px 36px 0 #4a17b8, 46px 60px 70px #3a10a040; display:grid; place-items:center; }
.sr-auth2 .a2-side { display:none; width:110px; height:300px; left:245px; top:0; transform:rotateY(90deg); background:linear-gradient(180deg,#6a2fe2,#4a17b8); border-radius:40px; }
.sr-auth2 .a2-top { display:none; width:300px; height:110px; left:0; top:-55px; transform:rotateX(90deg); background:linear-gradient(90deg,#b796ff,#9365f7); border-radius:40px; }
.sr-auth2 .a2-door { position:relative; width:206px; height:206px; border-radius:36px; background:linear-gradient(160deg,#8f5bf8,#6a2de6); box-shadow:inset 0 6px 14px #2a0a7a55, inset 0 -2px 1px #ffffff40; display:grid; place-items:center; color:#fff; }
body.sr-auth2 .a2-door .hgi-stroke { font-size:112px; filter:drop-shadow(0 6px 8px #2a0a7a66); }
.sr-auth2 .a2-pin { position:absolute; right:26px; top:26px; width:26px; height:26px; border-radius:50%; background:radial-gradient(circle at 35% 35%,#e6ff9a,#c6ef4a 60%,#93b821); box-shadow:0 4px 8px #2a0a7a55; }
.sr-auth2 .a2-shadow { position:absolute; left:50%; bottom:-90px; width:300px; height:40px; margin-left:-150px; border-radius:50%; background:radial-gradient(closest-side,#4a17b840,transparent); filter:blur(6px); }
@keyframes a2-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@media (prefers-reduced-motion:reduce) { .sr-auth2 .a2-scene { animation:none; } .sr-auth2 * { transition:none !important; } }
@media (max-width:899px) {
    .sr-auth2 .a2 { grid-template-columns:minmax(0,1fr); }
    .sr-auth2 .a2-art { order:-1; height:190px; }
    .sr-auth2 .a2-scene { transform:scale(.42) translate(-20px,-30px); animation:none; }
    .sr-auth2 .a2-shadow { display:none; }
    .sr-auth2 .a2-main { padding:28px 18px 32px; }
    .sr-auth2 .a2-logo { font-size:24px; }
    .sr-auth2 .a2-body { padding:28px 0; }
    .sr-auth2 .a2-title { font-size:30px; }
}
.sr-auth2 .a2-in input:focus,.sr-auth2 .a2-in input:focus-visible { outline:none; box-shadow:none; }
.sr-auth2 .a2-note { display:flex; gap:8px; align-items:center; justify-content:center; padding:12px 14px; margin:-6px 0 16px; border-radius:12px; background:#eaf7f0; color:#1d6b45; font-size:14px; border:1px solid #c5e8d5; }
.sr-auth2 .a2-plans { border:0; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; min-width:0; }
.sr-auth2 .a2-plans legend { padding:0; margin:0 0 8px; font-size:13px; font-weight:500; color:#4d4d5a; }
.sr-auth2 .a2-planopt { position:relative; cursor:pointer; }
.sr-auth2 .a2-planopt input { position:absolute; opacity:0; width:1px; height:1px; }
.sr-auth2 .a2-planbox { display:grid; grid-template-columns:auto 1fr; column-gap:10px; row-gap:1px; align-items:center; padding:14px; border:1px solid #dcdce2; border-radius:16px; background:#fff; transition:border-color 120ms, box-shadow 120ms, background-color 120ms; }
.sr-auth2 .a2-planbox i { grid-row:span 3; align-self:start; width:36px; height:36px; border-radius:11px; display:grid; place-items:center; background:#f2f2f5; color:#4d4d5a; font-size:19px; }
.sr-auth2 .a2-planbox b { font-size:16px; color:#111118; }
.sr-auth2 .a2-planbox small { font-size:13px; color:#6a6a76; }
.sr-auth2 .a2-planbox em { font-style:normal; font-size:12px; color:#6a6a76; }
.sr-auth2 .a2-planopt input:checked + .a2-planbox { border-color:#7a3cf0; box-shadow:0 0 0 3px #7a3cf026; background:#faf7ff; }
.sr-auth2 .a2-planopt input:checked + .a2-planbox i { background:#7a3cf0; color:#fff; }
.sr-auth2 .a2-planopt input:focus-visible + .a2-planbox { outline:3px solid #7a3cf0; outline-offset:3px; }
@media (max-width:380px) { .sr-auth2 .a2-plans { grid-template-columns:1fr; } }

/* #482: "How a serve works" tour. Real app screens with callouts pinned to real controls. */
body.mk5 { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.07 0 0 0 0 0.09 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mk5 .tour-head { max-width:820px; margin:0 0 56px; text-align:left; }
.mk5 .tour-head .mk4-h2 { text-align:left; }
.mk5 .tour-head .mk4-sub { margin:22px 0 0 !important; text-align:left; max-width:560px; }
.mk5 .tour-body { display:grid; grid-template-columns:minmax(0,370px) minmax(0,1fr); gap:44px; align-items:start; }
.mk5 .tour-steps { display:flex; flex-direction:column; gap:4px; }
.mk5 .tour-step { position:relative; display:block; text-align:left; width:100%; padding:16px 20px 16px 22px; border:1px solid transparent; border-radius:18px; background:transparent; font:inherit; color:#6a6a76; cursor:pointer; transition:background-color 160ms, border-color 160ms, box-shadow 200ms, color 160ms; }
.mk5 .tour-step::before { content:""; position:absolute; left:0; top:18px; bottom:18px; width:3px; border-radius:0 3px 3px 0; background:#7a3cf0; transform:scaleY(0); transition:transform 260ms cubic-bezier(.2,.7,.2,1); }
.mk5 .tour-step:hover { color:#111118; }
.mk5 .tour-step.is-on { color:#111118; background:#fff; border-color:#e3e5e8; box-shadow:0 1px 0 #fff inset,0 14px 30px -18px #18212c40; }
.mk5 .tour-step.is-on::before { transform:scaleY(1); }
.mk5 .tour-txt b { display:block; font-size:19px; font-weight:600; letter-spacing:-.02em; }
.mk5 .tour-more { display:grid; grid-template-rows:0fr; opacity:0; font-size:15px; line-height:1.55; color:#4d4d5a; transition:grid-template-rows 320ms cubic-bezier(.2,.7,.2,1), opacity 220ms, margin 320ms; overflow:hidden; }
.mk5 .tour-more > span { min-height:0; overflow:hidden; }
.mk5 .tour-step.is-on .tour-more { grid-template-rows:1fr; opacity:1; margin-top:8px; }
.mk5 .tour-stage { position:sticky; top:124px; background:#fff; border:1px solid #dfe2e3; border-radius:26px; padding:0 12px 12px; box-shadow:0 30px 60px -36px #18212c55, 0 2px 0 #fff inset; }
.mk5 .tour-chrome { display:flex; align-items:center; gap:7px; height:42px; padding:0 6px; }
.mk5 .tour-chrome span { width:11px; height:11px; border-radius:50%; background:#e3e5e8; }
.mk5 .tour-chrome em { margin-left:14px; font:500 12px/1 var(--mk-mono); font-style:normal; color:#8a8a95; background:#f3f4f6; padding:6px 12px; border-radius:999px; }
.mk5 .tour-panel { position:relative; margin:0; }
.mk5 .tour-panel.is-on { animation:tour-in 360ms cubic-bezier(.2,.7,.2,1); }
.mk5 .tour-panel img { display:block; width:100%; height:auto; border-radius:16px; border:1px solid #e6e8ea; }
.mk5 .tour-pins { position:absolute; inset:0 0 auto 0; aspect-ratio:1600/1032; pointer-events:none; }
.mk5 .tour-pin { position:absolute; left:var(--x); top:var(--y); width:var(--w); height:var(--h); }
.mk5 .tour-dot { position:absolute; inset:0; border-radius:9px; border:2px solid #7a3cf0; background:#7a3cf00f; box-shadow:0 0 0 4px #7a3cf01f; opacity:0; transform:scale(1.08); transition:opacity 260ms, transform 320ms cubic-bezier(.2,.7,.2,1); }
.mk5 .tour-panel.is-on .tour-dot { opacity:1; transform:none; transition-delay:calc(120ms + var(--d,0) * 120ms); }
.mk5 .tour-label { position:absolute; white-space:nowrap; background:#111118; color:#fff; font-size:13px; font-weight:500; padding:7px 11px; border-radius:10px; box-shadow:0 10px 20px -8px #11111880; opacity:0; transition:opacity 260ms, transform 260ms; }
.mk5 .tour-pin-t .tour-label { left:50%; bottom:calc(100% + 10px); transform:translate(-50%,6px); }
.mk5 .tour-pin-b .tour-label { left:50%; top:calc(100% + 10px); transform:translate(-50%,-6px); }
.mk5 .tour-pin-l .tour-label { right:calc(100% + 10px); top:50%; transform:translate(6px,-50%); }
.mk5 .tour-pin-r .tour-label { left:calc(100% + 10px); top:50%; transform:translate(-6px,-50%); }
.mk5 .tour-panel.is-on .tour-label { opacity:1; transition-delay:calc(220ms + var(--d,0) * 120ms); }
.mk5 .tour-panel.is-on .tour-pin-t .tour-label,.mk5 .tour-panel.is-on .tour-pin-b .tour-label { transform:translate(-50%,0); }
.mk5 .tour-panel.is-on .tour-pin-l .tour-label,.mk5 .tour-panel.is-on .tour-pin-r .tour-label { transform:translate(0,-50%); }
.mk5 .tour-pin:nth-child(2) { --d:1; } .mk5 .tour-pin:nth-child(3) { --d:2; }
.mk5 .tour-cap { display:none; }
.mk5 .tour-step:focus-visible { outline:3px solid #7a3cf0; outline-offset:3px; }
@keyframes tour-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes tour-ping { 0% { box-shadow:0 0 0 0 #7a3cf066,0 3px 8px #2a0a7a55; } 70% { box-shadow:0 0 0 12px #7a3cf000,0 3px 8px #2a0a7a55; } 100% { box-shadow:0 0 0 0 #7a3cf000,0 3px 8px #2a0a7a55; } }
.mk5 .mk-btn { transition:transform 140ms ease, box-shadow 160ms ease, background-color 120ms; }
.mk5 .mk-btn:hover { transform:translateY(-1px); }
.mk5 .mk-btn:active { transform:translateY(0) scale(.98); }
@media (max-width:1100px) { .mk5 .tour-body { grid-template-columns:minmax(0,1fr); gap:24px; } .mk5 .tour-stage { position:relative; top:0; order:-1; } }
@media (max-width:899px) {
    .mk5 .tour-label { display:none; }
    .mk5 .tour-cap { display:block; padding:12px 6px 2px; font-size:13px; color:#4d4d5a; }
    .mk5 .tour-chrome em { display:none; }
    .mk5 .tour-head { margin-bottom:28px; }
}
@media (prefers-reduced-motion:reduce) { .mk5 .tour-panel.is-on { animation:none; } .mk5 .tour-step,.mk5 .tour-step::before,.mk5 .tour-more,.mk5 .tour-label,.mk5 .tour-dot,.mk5 .mk-btn { transition:none; } }
.mk5 .mk5-avatar-photo { display:block; object-fit:cover; padding:0; }
