/* Modlocus Menu marketing site. Palette: forest green + saffron + pale green background (separate from the panel's navy/gold palette, only inside .mk). */
.mk {
    --bg: #f6f8f3; --surface: #ffffff; --surface-2: #eef3ec; --text: #14231d; --text-2: #3b5247; --text-3: #5c7165;
    --line: #d6dfd3; --input-line: #c3cfc0;
    --accent: #f2b632; --accent-hover: #f7c455; --accent-text: #6b4f00; --accent-soft: #fbefcf; --accent-glow: rgba(242, 182, 50, 0.22);
    --on-accent: #1d1600;
    --mk-forest: #123326; --mk-forest-2: #1d4a37; --mk-tint: #e7eee6; --mk-on-dark: #eaf3ec; --mk-on-dark-2: #b9d0c0;
    --shadow-1: 0 1px 2px rgba(20, 35, 29, 0.05), 0 10px 26px -14px rgba(20, 35, 29, 0.25);
    margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk {
        color-scheme: dark;
        --bg: #0e1914; --surface: #15251e; --surface-2: #1a2d25; --text: #eaf2ec; --text-2: #bcd0c3; --text-3: #93ab9c;
        --line: #284237; --input-line: #34554a; --accent-text: #f2c460; --accent-soft: #3a3217; --mk-tint: #12211a; --mk-forest: #0a1d15; --mk-ic: #f2c460; --mk-ic-bg: rgba(242, 196, 96, .16);
        --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 26px -14px rgba(0, 0, 0, 0.6);
    }
}
:root[data-theme="dark"] .mk {
    color-scheme: dark;
    --bg: #0e1914; --surface: #15251e; --surface-2: #1a2d25; --text: #eaf2ec; --text-2: #bcd0c3; --text-3: #93ab9c;
    --line: #284237; --input-line: #34554a; --accent-text: #f2c460; --accent-soft: #3a3217; --mk-tint: #12211a; --mk-forest: #0a1d15; --mk-ic: #f2c460; --mk-ic-bg: rgba(242, 196, 96, .16);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 26px -14px rgba(0, 0, 0, 0.6);
}

.mk-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
.mk-narrow { max-width: 780px; }
.mk-muted { color: var(--text-3); }
.mk-center { text-align: center; margin: 30px 0 0; }
.mk h1, .mk h2, .mk h3 { font-family: var(--font-brand); }
.mk a { color: inherit; }
.mk-prose p, .mk-section p { line-height: 1.7; }

/* Top bar */
.mk-head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: transparent; border-bottom: 1px solid transparent; transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s; }
.mk-head-row { display: flex; align-items: center; gap: 24px; min-height: 66px; padding: 0 22px; }
.mk-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; margin-left: 12px; }
.mk-nav > a, .mk-drop-btn { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 4px; }
.mk-nav > a:hover, .mk-drop-btn:hover, .mk-drop:hover .mk-drop-btn { color: var(--text); background: var(--surface-2); }
.mk-nav [aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.mk-drop-btn svg { width: 14px; height: 14px; }
.mk-drop { position: relative; }
.mk-menu { display: none; position: absolute; top: 100%; left: 0; width: 290px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35); }
.mk-drop:hover .mk-menu, .mk-drop:focus-within .mk-menu { display: block; }
.mk-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.mk-menu a:hover { background: var(--surface-2); }
.mk-menu span { color: var(--text-3); font-size: 0.85rem; }
.mk-head-actions { display: flex; align-items: center; gap: 8px; }
.mk-burger { display: none; position: relative; }
.mk-burger summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 10px; display: grid; place-items: center; }
.mk-burger summary::-webkit-details-marker { display: none; }
.mk-burger summary svg { width: 22px; height: 22px; }
.mk-burger-panel { position: absolute; right: 0; top: 100%; width: 230px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; }
.mk-burger-panel a { padding: 11px 12px; border-radius: 10px; text-decoration: none; }
.mk-burger-panel a:hover { background: var(--surface-2); }

/* Buttons */
.mk .button { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 700; }
.mk .button:hover { background: var(--accent-hover); color: var(--on-accent); }
.mk .button.secondary { background: var(--surface); color: var(--text); border-color: var(--input-line); }
.mk .button.ghost { background: transparent; color: var(--text-2); box-shadow: none; }
.mk .button.ghost:hover { background: var(--surface-2); color: var(--text); }
.mk .button.large { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.mk .button.ghost-light { background: transparent; color: var(--mk-on-dark); border: 1px solid rgba(234, 243, 236, 0.4); box-shadow: none; }
.mk .button.ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mk .button.block { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }

/* Hero (dark green stage) */
.mk-hero { position: relative; padding: 76px 0 84px; overflow: hidden; color: var(--mk-on-dark); background:
    radial-gradient(900px 480px at 88% 0%, rgba(242, 182, 50, 0.2), transparent 62%),
    radial-gradient(700px 400px at 0% 100%, rgba(46, 120, 88, 0.45), transparent 60%),
    var(--mk-forest); }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.mk-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; margin: 0 0 20px; letter-spacing: -0.03em; color: #fff; }
.mk-lead { color: var(--text-2); font-size: 1.15rem; line-height: 1.65; max-width: 31em; margin: 0 0 30px; }
.mk-hero .mk-lead { color: var(--mk-on-dark-2); }
.mk-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-cta-center { justify-content: center; }
.mk-note { color: var(--text-3); font-size: 0.88rem; margin: 16px 0 0; }
.mk-hero .mk-note { color: var(--mk-on-dark-2); }

.mk-stage { position: relative; padding: 0 0 70px 40px; animation: mk-rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.mk-stage .mk-tv { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mk-phone { position: absolute; left: 0; bottom: 0; width: 30%; min-width: 150px; padding: 7px; box-sizing: border-box; border-radius: 30px; background: #0b0d12; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 2px #2a2e3d; z-index: 2; }
.mk-phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 24px; overflow: hidden; background: #fff; }
.mk-tv { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; border: 8px solid #0b0d12; background: #0b0d12; overflow: hidden; }
.mk-tv-inner { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; }
.mk-tv-inner iframe { width: 100%; height: 100%; border: 0; display: block; }
.mk-tv .mk-tv-inner iframe { pointer-events: none; }
.mk-phone-screen .mk-phone-inner { width: 390px; height: 844px; }
@keyframes mk-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.mk-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.mk-strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; color: var(--text-2); font-size: 0.95rem; }
.mk-strip b { color: var(--text); }

/* Subpage header */
.mk-pagehead { padding: 64px 0 52px; color: var(--mk-on-dark); background: radial-gradient(800px 360px at 85% -20%, rgba(242, 182, 50, 0.22), transparent 62%), var(--mk-forest); }
.mk-pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.03em; margin: 0 0 14px; color: #fff; }
.mk-pagehead .mk-lead { color: var(--mk-on-dark-2); margin-bottom: 20px; }
.mk-pagehead a { color: var(--accent); }
.mk-hero-sub { padding: 64px 0 76px; }

/* Sections */
.mk-section { padding: 80px 0; }
.mk-section-top { padding-top: 56px; }
.mk-tint { background: var(--mk-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mk-dark { background: var(--mk-forest); color: var(--mk-on-dark); }
.mk-dark .mk-sub, .mk-dark .mk-note { color: var(--mk-on-dark-2); }
.mk-dark h2 { color: #fff; }
.mk-section h2 { font-size: 1.8rem; margin: 0 0 16px; letter-spacing: -0.02em; }
.mk-h2 { text-align: center; margin-bottom: 40px !important; }
.mk-sub { text-align: center; color: var(--text-2); margin: -26px 0 30px; }
.mk-gap { margin-top: 44px !important; }
.mk-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mk-list li { position: relative; padding-left: 30px; color: var(--text-2); line-height: 1.6; }
.mk-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); outline: 0; }
.mk-list b { color: var(--text); }
.mk-pull { font-family: var(--font-brand); font-size: 1.35rem; line-height: 1.4; letter-spacing: -0.01em; border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; margin: 36px 0 0; }
.mk-feature-split, .mk-demo-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.mk-feature-split .mk-stage, .mk-demo-grid .mk-stage { order: 2; }
.mk-feature-split .mk-tv, .mk-demo-grid .mk-tv { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.5); }

/* Steps */
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.mk-steps li { display: flex; flex-direction: column; gap: 10px; }
.mk-steps i { font-style: normal; font-family: var(--font-brand); font-weight: 600; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mk-forest-2); color: #fff; font-size: 1.15rem; }
.mk-steps b { font-size: 1.25rem; letter-spacing: -0.01em; font-family: var(--font-brand); }
.mk-steps span { color: var(--text-2); line-height: 1.65; }

/* Cards */
.mk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mk-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; box-shadow: var(--shadow-1); transition: transform 0.2s, border-color 0.2s; }
a.mk-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mk-card h3 { margin: 10px 0 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.mk-card p { margin: 0; color: var(--text-2); line-height: 1.55; font-size: 0.95rem; }
.mk-more { margin-top: auto; padding-top: 8px; color: var(--accent-text); font-weight: 700; font-size: 0.92rem; }
.mk-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.mk-ico svg { width: 24px; height: 24px; }

.mk-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.mk-span-2 { grid-column: span 2; } .mk-span-3 { grid-column: span 3; } .mk-span-4 { grid-column: span 4; } .mk-span-6 { grid-column: span 6; }
.mk-tile { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.mk-tile-lead { background: linear-gradient(135deg, var(--mk-forest-2), var(--mk-forest)); border-color: transparent; color: var(--mk-on-dark); }
.mk-tile-lead p { color: var(--mk-on-dark-2) !important; }
.mk-tile-lead .mk-ico { background: var(--accent); color: var(--on-accent); }
.mk-tile h3 { margin: 18px 0 8px; font-size: 1.25rem; letter-spacing: -0.01em; }
.mk-tile p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* Pricing */
.mk-billing { display: flex; width: fit-content; margin: 0 auto 32px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); position: relative; }
.mk-dark .mk-billing { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.mk-billing input { position: absolute; opacity: 0; pointer-events: none; }
.mk-billing label { padding: 9px 20px; border-radius: 999px; cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 0.92rem; }
.mk-dark .mk-billing label { color: var(--mk-on-dark-2); }
.mk-billing label span { font-weight: 700; font-size: 0.8rem; margin-left: 4px; }
.mk-billing input:checked + label { background: var(--accent); color: var(--on-accent); }
.mk-billing input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-year { display: none; }
.mk-pricing:has(#bill-year:checked) .p-year { display: inline; }
.mk-pricing:has(#bill-year:checked) .p-month { display: none; }
.mk-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.mk-plan { display: flex; flex-direction: column; padding: 32px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 24px; }
.mk-featured { border: 2px solid var(--accent); box-shadow: 0 26px 60px -26px rgba(242, 182, 50, 0.55); }
.mk-plan h3 { margin: 0 0 6px; font-size: 1.3rem; }
.mk-plan-for { margin: 0 0 16px; color: var(--text-3); font-size: 0.92rem; }
.mk-price { margin: 0; font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em; font-family: var(--font-brand); }
.mk-price small { font-size: 0.95rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.mk-price-note { margin: 2px 0 22px; color: var(--text-3); font-size: 0.88rem; }
.mk-plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.mk-plan li { padding-left: 26px; position: relative; color: var(--text-2); line-height: 1.45; }
.mk-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.mk-badge { align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.8rem; font-weight: 700; }
.mk-pricing .mk-note { text-align: center; max-width: 660px; margin: 26px auto 0; }

.mk-faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.mk-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.mk-faq p { margin: 12px 0 0; color: var(--text-2); line-height: 1.7; }
.mk-faq a { color: var(--accent-text); }

.mk-closing { padding: 84px 0; color: var(--mk-on-dark); background: radial-gradient(700px 360px at 85% 110%, rgba(242, 182, 50, 0.26), transparent 70%), var(--mk-forest); overflow: hidden; }
.mk-closing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.mk-closing h2 { line-height: 1.15; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 14px; color: #fff; letter-spacing: -0.02em; }
.mk-closing p { color: var(--mk-on-dark-2); margin: 0 0 28px; font-size: 1.05rem; line-height: 1.6; max-width: 30em; }
@media (max-width: 860px) { .mk-closing-grid { grid-template-columns: 1fr; gap: 36px; } .mk-tcard-wrap { justify-self: center; } }

/* Footer */
.mk-foot { padding: 60px 0 30px; background: #0b2219; border-top: 3px solid #f2b632; color: #b9d0c0; font-size: 0.92rem; --text: #f3ead3; }
.mk-foot .brand { font-size: 1.15rem; }
.mk-foot .brand-mark { width: 34px; height: 34px; }
.mk-foot .brand-text { color: #f3ead3; }
.mk-foot .brand-text > span { color: #f2b632; }
.mk-foot-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; }
.mk-foot-brand p { margin: 12px 0 0; max-width: 24em; line-height: 1.6; }
.mk-foot nav { display: flex; flex-direction: column; gap: 9px; }
.mk-foot h4 { margin: 0 0 4px; color: #f3ead3; font-size: 0.95rem; }
.mk-foot a { color: #b9d0c0; text-decoration: none; }
.mk-foot a:hover { color: #fff; text-decoration: underline; }
.mk-foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(234, 243, 236, 0.16); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 960px) {
    .mk-hero-grid, .mk-feature-split, .mk-demo-grid { grid-template-columns: 1fr; gap: 36px; }
    .mk-feature-split .mk-stage, .mk-demo-grid .mk-stage { order: 0; }
    .mk-steps, .mk-plans, .mk-cards-3 { grid-template-columns: 1fr; }
    .mk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-bento { grid-template-columns: 1fr; }
    .mk-span-2, .mk-span-3, .mk-span-4, .mk-span-6 { grid-column: auto; }
    .mk-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .mk-nav, .mk-signin { display: none; }
    .mk-head-row { justify-content: space-between; }
    .mk-burger { display: block; }
}
@media (max-width: 560px) {
    .mk-cards { grid-template-columns: 1fr; }
    .mk-section { padding: 56px 0; }
    .mk-hero { padding: 48px 0 56px; }
    .mk-stage { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .mk-stage { animation: none; } a.mk-card { transition: none; } }

/* Top bar is dark green in both themes: transparent over the hero, fills with dark green on scroll */
.mk-head {
    --text: #eaf3ec; --text-2: #b9d0c0; --text-3: #93ab9c; --surface: rgba(255, 255, 255, 0.08); --surface-2: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.14); --input-line: rgba(255, 255, 255, 0.22); --accent-soft: rgba(242, 182, 50, 0.2);
    color: var(--text);
}
.mk-head .brand-text, .mk-head .brand-text span { color: #fff; }
.mk-head .mk-nav > a:hover, .mk-head .mk-drop-btn:hover, .mk-head .mk-drop:hover .mk-drop-btn { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mk-head .mk-nav [aria-current="page"] { background: rgba(242, 182, 50, 0.2); color: #fff; }
.mk-head .mk-menu, .mk-head .mk-burger-panel { background: #12362a; border-color: rgba(255, 255, 255, 0.14); }
.mk-head .mk-menu a:hover, .mk-head .mk-burger-panel a:hover { background: rgba(255, 255, 255, 0.1); }
.mk-head .mk-menu b, .mk-head .mk-burger-panel a { color: #fff; }
.mk-head .mk-burger summary { color: #fff; }

.mk-head.is-scrolled { background: rgba(8, 26, 19, 0.94); border-bottom-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.mk-head .mk-wrap { max-width: 1120px; }
/* The fixed header sits over the content: the first sections leave space at the top */
.mk-hero, .mk-hero-sub { padding-top: 130px; }
.mk-pagehead { padding-top: 116px; }
@media (max-width: 860px) {
    .mk-hero, .mk-hero-sub { padding-top: 104px; }
    .mk-pagehead { padding-top: 96px; }
}

/* QR demo section */
.mk-scan { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: center; max-width: 880px; }
.mk-qr { width: 240px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); }
.mk-qr svg { display: block; width: 100%; height: auto; }
.mk-scan p { color: var(--text-2); line-height: 1.7; }

/* Panel illustration (a drawing, not a real screenshot) */
.mk-app { border-radius: 16px; overflow: hidden; background: #fff; color: #131a38; box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); font-size: 0.8rem; }
.mk-app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9ebf3; }
.mk-app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5c9da; }
.mk-app-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; color: #5a6285; font-size: 0.72rem; }
.mk-app-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 300px; }
.mk-app-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #0a1331; color: #cfd5ee; }
.mk-app-side b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #c2a468; color: #141a33; margin-bottom: 10px; }
.mk-app-side span { padding: 7px 9px; border-radius: 8px; }
.mk-app-side span.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mk-app-main { padding: 16px; background: #f2f3f8; display: flex; flex-direction: column; gap: 8px; }
.mk-app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mk-app-head b { font-size: 1rem; }
.mk-app-head em { font-style: normal; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #c2a468; color: #141a33; }
.mk-app-chips { display: flex; gap: 6px; margin-bottom: 4px; }
.mk-app-chips span { padding: 4px 10px; border-radius: 999px; background: #fff; color: #3f4769; }
.mk-app-chips span.on { background: #131a38; color: #fff; }
.mk-app-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.mk-app-row i { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.mk-app-row .c1 { background: linear-gradient(135deg, #8a5a3a, #3a2418); } .mk-app-row .c2 { background: linear-gradient(135deg, #d9a96a, #8a5a3a); }
.mk-app-row .c3 { background: linear-gradient(135deg, #9db37a, #55703a); } .mk-app-row .c4 { background: linear-gradient(135deg, #e6c47a, #b3823a); }
.mk-app-row div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mk-app-row small { color: #5a6285; }
.mk-app-row > span { font-weight: 600; }
.mk-app-row u { width: 32px; height: 18px; border-radius: 999px; background: #cfd4e4; position: relative; flex: none; }
.mk-app-row u::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mk-app-row u.on { background: #1f9d5c; } .mk-app-row u.on::after { left: 16px; }
.mk-app-row.off { opacity: 0.7; }

/* Before / after */
.mk-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.mk-vs article { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.mk-vs h3 { margin: 0 0 16px; font-size: 1.25rem; }
.mk-vs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-vs li { position: relative; padding-left: 28px; color: var(--text-2); line-height: 1.5; }
.mk-vs li::before { position: absolute; left: 0; font-weight: 700; }
.mk-vs-old li::before { content: "✕"; color: #c0372d; }
.mk-vs-new { background: linear-gradient(135deg, var(--mk-forest-2), var(--mk-forest)) !important; border-color: transparent !important; color: var(--mk-on-dark); }
.mk-vs-new h3 { color: #fff; }
.mk-vs-new li { color: var(--mk-on-dark-2); }
.mk-vs-new li::before { content: "✓"; color: var(--accent); }

.mk-buy { margin-top: 12px; text-align: center; color: var(--text-3); font-size: 0.88rem; }
.mk-buy:hover { color: var(--text); }

@media (max-width: 960px) {
    .mk-scan, .mk-vs { grid-template-columns: 1fr; }
    .mk-qr { margin: 0 auto; }
    .mk-vs { max-width: 560px; }
}

/* Real panel screenshot (inside a browser frame) */
.mk-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.mk-shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9ebf3; }
.mk-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5c9da; }
.mk-shot-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; color: #5a6285; font-size: 0.72rem; }
.mk-shot img { display: block; width: 100%; height: auto; }

/* Features page gallery: real panel screens, alternating left and right */
.mk-gallery { display: flex; flex-direction: column; gap: 84px; }
.mk-gal-row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.mk-gal-rev { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.mk-gal-rev .mk-gal-text { order: 2; }
.mk-gal-text h2 { margin: 0 0 14px; }
.mk-gal-text p { margin: 0; color: var(--text-2); line-height: 1.7; font-size: 1.05rem; }
@media (max-width: 960px) {
    .mk-gal-row, .mk-gal-rev { grid-template-columns: 1fr; gap: 24px; }
    .mk-gal-rev .mk-gal-text { order: 0; }
    .mk-gallery { gap: 56px; }
}

/* Legal pages in the marketing layout */
.mk-pagehead-slim { padding: 112px 0 36px; }
.mk-pagehead-slim h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.mk-legal { padding-top: 40px; }
.mk-legal .legal-doc { padding: 36px 40px; box-shadow: var(--shadow-1); }
.mk-legal .legal-doc > h1 { display: none; }
.mk-legal .legal-meta { color: var(--text-3); margin: 0 0 20px; }
@media (max-width: 560px) { .mk-legal .legal-doc { padding: 24px 20px; } }
.mk-legal .legal-doc h2 { font-family: var(--font-body); font-size: 1.15rem; letter-spacing: 0; margin: 28px 0 8px; }
.mk-legal .legal-doc p, .mk-legal .legal-doc li { line-height: 1.7; }

/* "Menu" in the site header is amber (readable on dark green) */
.mk-head .brand-text > span { color: #f2b632; }

/* Hero: one main button + a text link */
.mk-cta { align-items: center; }
.mk-cta-link { color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }
.mk-cta-link:hover { text-decoration-color: #f2b632; color: #fff; }

/* Trust strip icons */
.mk-strip li { display: flex; align-items: center; gap: 10px; }
.mk-strip-ic { flex: none; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--mk-ic-bg, rgba(18, 51, 38, .09)); color: var(--mk-ic, #123326); }

/* Why Modlocus */


/* Final call: table card (real demo QR) */
.mk-tcard-wrap { position: relative; justify-self: end; width: 300px; height: 380px; }
.mk-tcard { position: absolute; inset: 0; border-radius: 22px; background: #f7f1e1; color: #123326; padding: 26px 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transform: rotate(-3deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); }
.mk-tcard-back { background: #f2b632; transform: rotate(4deg); box-shadow: none; }
.mk-tcard-kicker { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6d1d; }
.mk-tcard strong { font-family: var(--font-brand); font-size: 1.25rem; line-height: 1.2; }
.mk-tcard-qr { width: 190px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(18, 51, 38, 0.12); }
.mk-tcard-qr svg { display: block; width: 100%; height: auto; }
.mk-tcard-foot { margin-top: auto; font-size: 0.8rem; color: #5b6b60; }

/* Footer: contact card, trust line, social */
.mk-foot-contact { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 14px 10px 10px; border-radius: 12px; background: rgba(234, 243, 236, 0.07); border: 1px solid rgba(234, 243, 236, 0.14); color: #f3ead3; }
.mk-foot-contact:hover { background: rgba(234, 243, 236, 0.12); text-decoration: none; }
.mk-foot-ic { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: #f2b632; color: #1a1a14; }
.mk-foot-contact small { display: block; font-size: 0.72rem; color: #b9d0c0; }
.mk-foot-contact b { font-weight: 600; font-size: 0.92rem; }
.mk-foot-trust { list-style: none; margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(234, 243, 236, 0.16); display: flex; flex-wrap: wrap; gap: 12px 32px; }
.mk-foot-trust li { display: inline-flex; align-items: center; gap: 9px; color: #d6e5da; }
.mk-foot-trust svg { color: #f2b632; flex: none; }
.mk-foot-social { display: inline-flex; align-items: center; gap: 8px; }
.mk-foot-social svg { color: #f2b632; }
.mk-foot-base { margin-top: 22px; border-top: 0; padding-top: 0; align-items: center; }
@media (min-width: 861px) and (max-width: 1000px) { .mk-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mk-foot-brand { grid-column: 1 / -1; } }

/* Footer social icons */
.mk-foot-socials { display: flex; gap: 10px; }
.mk-foot-socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(234, 243, 236, 0.18); color: #f2b632; }
.mk-foot-socials a:hover { background: rgba(242, 182, 50, 0.14); color: #f7c453; text-decoration: none; }
.mk-foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(234, 243, 236, 0.16); }

/* Narrow screens: the phone frame must not overlap the text */
@media (max-width: 860px) {
    .mk-hero .mk-stage { min-height: 280px; margin-top: 8px; }
    .mk-hero .mk-phone { min-width: 124px; }
}

/* Contact form */
.mk-contact-form { max-width: 640px; margin: 0 auto; }
.mk-contact-form textarea { min-height: 160px; }
.mk-contact-note { margin-top: 16px; font-size: 0.9rem; }
.mk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mk-contact-done { max-width: 640px; margin: 0 auto; text-align: center; padding: 36px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.mk-contact-done h2 { margin: 0 0 10px; }
@media (max-width: 640px) { .mk-contact-form .field-pair { grid-template-columns: 1fr; gap: 0; } }

/* Comparison table */
.mk-cmp-wrap { overflow-x: auto; margin: 0 auto; max-width: 900px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.mk-cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.mk-cmp th, .mk-cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mk-cmp thead th { font-family: var(--font-brand); font-size: 0.95rem; color: var(--text); background: var(--surface-2, var(--surface)); }
.mk-cmp tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.mk-cmp td { color: var(--text-2); }
.mk-cmp tbody tr:last-child th, .mk-cmp tbody tr:last-child td { border-bottom: 0; }
.mk-cmp .mk-cmp-us { background: rgba(242, 182, 50, 0.14); color: var(--text); font-weight: 600; }
.mk-cmp thead .mk-cmp-us { background: #f2b632; color: #1a1a14; }
.mk-cmp-note { text-align: center; margin: 12px 0 0; font-size: 0.85rem; }


/* Photos (artwork + real QR/screenshots) */
.mk-photo { margin: 0; }
.mk-photo img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.mk-photo figcaption { margin-top: 8px; font-size: 0.72rem; color: var(--text-3, var(--text-2)); text-align: right; opacity: 0.7; }
.mk-scan.mk-scan-photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: 1080px; gap: 56px; }
.mk-card-img { display: block; width: calc(100% + 52px); max-width: none; margin: -26px -26px 12px; height: auto; aspect-ratio: 3 / 2; object-position: 72% 50%; object-fit: cover; border-radius: 20px 20px 0 0; }
.mk-tile-img { display: block; width: calc(100% + 60px); max-width: none; margin: -30px -30px 22px; height: auto; aspect-ratio: 3 / 2; object-position: 60% 50%; object-fit: cover; border-radius: 22px 22px 0 0; }
@media (max-width: 860px) { .mk-scan.mk-scan-photo { grid-template-columns: 1fr; gap: 28px; } }

/* "Pro" badge: only next to features available on the Pro plan. */
.mk-pro { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; vertical-align: 0.1em; }
.mk-pro:hover { filter: brightness(1.08); }
.mk-feature-split:has(> .mk-feature-text:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.mk-list a.mk-pro, .mk-list a.mk-pro:hover { color: var(--on-accent); }


/* Rhythm. The cream section forces the light palette in every theme (matches the cream in the photos). */
.mk-cream {
    color-scheme: light;
    --bg: #f6f1e7; --surface: #fffdf8; --surface-2: #efe8d9; --text: #14231d; --text-2: #3b5247; --text-3: #5c7165;
    --line: #ddd3bf; --input-line: #cfc4ac; --accent-text: #6b4f00; --accent-soft: #fbefcf; --mk-ic: #123326; --mk-ic-bg: rgba(18, 51, 38, .09);
    --shadow-1: 0 1px 2px rgba(20, 35, 29, 0.05), 0 14px 30px -16px rgba(60, 45, 20, 0.28);
    background: var(--bg); color: var(--text); padding: 96px 0;
}
.mk-cream .mk-sub { color: var(--text-2); }

/* Brand band (Why Modlocus) */
.mk-why-band { position: relative; overflow: hidden; padding: 112px 0 104px; color: var(--mk-on-dark);
    background: radial-gradient(720px 420px at 10% -10%, rgba(242, 182, 50, 0.16), transparent 66%), var(--mk-forest); }
.mk-eyebrow { margin: 0 0 18px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #f2c460; }
.mk-why-title { margin: 0 0 24px; max-width: 14em; font-family: var(--font-brand); font-weight: 600; font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.06; letter-spacing: -0.03em; color: #fff; }
.mk-why-lead { margin: 0 0 56px; max-width: 38em; font-size: 1.18rem; line-height: 1.7; color: var(--mk-on-dark-2); }
.mk-why-lead b { color: #f2c460; font-weight: 600; }
.mk-why-list { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.mk-why-list li { display: grid; gap: 8px; padding-top: 20px; border-top: 2px solid rgba(242, 196, 96, 0.55); align-content: start; }
.mk-why-list i { font-style: normal; font-family: var(--font-brand); font-weight: 600; font-size: 0.95rem; color: #f2c460; letter-spacing: 0.08em; }
.mk-why-list b { font-family: var(--font-brand); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.mk-why-list span { color: var(--mk-on-dark-2); line-height: 1.65; }
.mk-why-facts { display: flex; flex-wrap: wrap; gap: 20px 64px; margin: 0; padding-top: 36px; border-top: 1px solid rgba(234, 243, 236, 0.16); }
.mk-why-facts div { display: flex; align-items: baseline; gap: 12px; }
.mk-why-facts dt { font-family: var(--font-brand); font-weight: 600; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.mk-why-facts dd { margin: 0; color: var(--mk-on-dark-2); font-size: 1rem; }
@media (max-width: 760px) { .mk-why-band { padding: 72px 0; } .mk-why-list { grid-template-columns: 1fr; gap: 28px; } .mk-why-facts { gap: 16px 36px; } .mk-cream { padding: 64px 0; } }


/* No cream in the dark theme. The dark theme stays dark throughout; rhythm comes from tone steps (base / raised green / deep forest).
   Cream only in the light theme. Light screenshots are dimmed slightly in dark mode (no glare). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk-cream { color-scheme: dark; --bg: #162c22; --surface: #1b362a; --surface-2: #1f3d30; --text: #eaf2ec; --text-2: #bcd0c3; --text-3: #93ab9c;
        --line: #2b4a3c; --input-line: #34554a; --accent-text: #f2c460; --accent-soft: #3a3217; --mk-ic: #f2c460; --mk-ic-bg: rgba(242, 196, 96, .16);
        --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 30px -16px rgba(0, 0, 0, 0.6);
        background: radial-gradient(900px 240px at 50% 0, rgba(242, 196, 96, 0.07), transparent 72%), var(--bg); border-top: 1px solid rgba(234, 243, 236, 0.07); }
}
:root[data-theme="dark"] .mk-cream { color-scheme: dark; --bg: #162c22; --surface: #1b362a; --surface-2: #1f3d30; --text: #eaf2ec; --text-2: #bcd0c3; --text-3: #93ab9c;
    --line: #2b4a3c; --input-line: #34554a; --accent-text: #f2c460; --accent-soft: #3a3217; --mk-ic: #f2c460; --mk-ic-bg: rgba(242, 196, 96, .16);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 30px -16px rgba(0, 0, 0, 0.6);
    background: radial-gradient(900px 240px at 50% 0, rgba(242, 196, 96, 0.07), transparent 72%), var(--bg); border-top: 1px solid rgba(234, 243, 236, 0.07); }


/* Warm palette. Why: the photos are warm (hue ~30-40°) but the site neutrals were cool mint green (hue 135-155°, mint-tinted text). Neutrals moved to warm ivory/olive; brand green and amber are kept. */
.mk {
    --bg: #faf7f0; --surface: #fffdf8; --surface-2: #f3eee2; --text: #1d2619; --text-2: #46503f; --text-3: #66705f;
    --line: #e3dcc9; --input-line: #d3cab2; --mk-tint: #f1ebdc; --mk-on-dark: #f7f2e8; --mk-on-dark-2: #d8d2c2;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk {
        --bg: #121a13; --surface: #19231b; --surface-2: #1e2a21; --text: #f4efe4; --text-2: #d3cdbd; --text-3: #a49f8f;
        --line: #2e3b30; --input-line: #3a4a3d; --mk-tint: #151e16; --mk-forest: #0f1f15; --mk-forest-2: #234634; --mk-on-dark: #f7f2e8; --mk-on-dark-2: #d8d2c2;
    }
    :root:not([data-theme="light"]) .mk-cream { --bg: #182a1e; --surface: #1e3325; --surface-2: #233a2b; --text: #f4efe4; --text-2: #d3cdbd; --text-3: #a49f8f; --line: #2f4535; }
}
:root[data-theme="dark"] .mk {
    --bg: #121a13; --surface: #19231b; --surface-2: #1e2a21; --text: #f4efe4; --text-2: #d3cdbd; --text-3: #a49f8f;
    --line: #2e3b30; --input-line: #3a4a3d; --mk-tint: #151e16; --mk-forest: #0f1f15; --mk-forest-2: #234634; --mk-on-dark: #f7f2e8; --mk-on-dark-2: #d8d2c2;
}
:root[data-theme="dark"] .mk-cream { --bg: #182a1e; --surface: #1e3325; --surface-2: #233a2b; --text: #f4efe4; --text-2: #d3cdbd; --text-3: #a49f8f; --line: #2f4535; }
/* cream section in the light theme: a bit warmer */
.mk-cream { --bg: #f3ecdc; --surface: #fffdf8; --surface-2: #ece4d0; --line: #e0d6bd; }
.mk, .mk h1, .mk h2 { }

/* Final state. Layer contrast increased, the Why band and the closing are separate zones, consistent sizes. (Earlier closing rules were removed for this reason.) */
.mk {
    --bg: #faf7f0; --surface: #fffcf5; --surface-2: #f0e8d8; --line: #ddd2bc; --input-line: #cfc3a8;
    --text: #20251b; --text-2: #485043; --text-3: #6b705f; --mk-tint: #f2ebdd;
    --mk-forest: #123326; --mk-forest-2: #25503a; --mk-on-dark: #f4ede0; --mk-on-dark-2: #d2cbbb;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk {
        --bg: #11150f; --surface: #1d261c; --surface-2: #293426; --line: #3a4634; --input-line: #46533e;
        --text: #f4ede0; --text-2: #d2cbbb; --text-3: #aaa18e; --mk-tint: #181f15;
        --mk-forest: #0f2a1d; --mk-forest-2: #2a4d36; --mk-on-dark: #f4ede0; --mk-on-dark-2: #d2cbbb;
    }
}
:root[data-theme="dark"] .mk {
    --bg: #11150f; --surface: #1d261c; --surface-2: #293426; --line: #3a4634; --input-line: #46533e;
    --text: #f4ede0; --text-2: #d2cbbb; --text-3: #aaa18e; --mk-tint: #181f15;
    --mk-forest: #0f2a1d; --mk-forest-2: #2a4d36; --mk-on-dark: #f4ede0; --mk-on-dark-2: #d2cbbb;
}
/* no cream section in the dark theme: a calm surface at the same height */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk-cream { --bg: #171e15; --surface: #1d261c; --surface-2: #293426; --line: #3a4634; background: var(--bg); border-top: 0; }
}
:root[data-theme="dark"] .mk-cream { --bg: #171e15; --surface: #1d261c; --surface-2: #293426; --line: #3a4634; background: var(--bg); border-top: 0; }

/* sizes */
.mk-section h2 { font-size: 2rem; }
.mk-cream { padding: 80px 0; }
.mk-why-band { padding: 96px 0 88px; }
.mk-why-facts { border-top: 0; padding-top: 8px; }
@media (max-width: 760px) { .mk-section h2 { font-size: 1.75rem; } .mk-cream { padding: 56px 0; } .mk-why-band { padding: 64px 0; } }

/* The closing (on every page) is a separate zone: closing on the page background, card in forest green. No line or glow; the background color separates them. */
.mk-closing { padding: 80px 0 88px; background: var(--bg); overflow: visible; }
.mk-closing::before, .mk-closing::after, .mk-why-band::after { content: none; }
.mk-closing .mk-closing-grid { box-sizing: border-box; width: calc(100% - 44px); max-width: 1076px; margin: 0 auto; padding: 56px 56px 56px 60px; border-radius: 28px; overflow: hidden;
    border: 1px solid rgba(244, 237, 224, 0.14); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.55);
    background: radial-gradient(640px 320px at 88% 115%, rgba(242, 182, 50, 0.28), transparent 70%), linear-gradient(135deg, var(--mk-forest-2), var(--mk-forest) 80%); }
@media (max-width: 860px) { .mk-closing { padding: 56px 0; } .mk-closing .mk-closing-grid { padding: 36px 26px; } }

/* Device skeletons. Until the live iframe loads, a plain, nameless skeleton that resembles a menu shows instead of an empty white/black screen (no image poster, so no name mismatch with the live demo). */
.mk-phone-screen { background:
    linear-gradient(#e6dfd0, #e6dfd0) 10% 4% / 46% 3.2% no-repeat,
    linear-gradient(#ece6d9, #ece6d9) 10% 10% / 80% 5% no-repeat,
    linear-gradient(#d9cdb6, #d9cdb6) 10% 19% / 80% 21% no-repeat,
    linear-gradient(#e6dfd0, #e6dfd0) 10% 46% / 22% 10% no-repeat,
    linear-gradient(#e6dfd0, #e6dfd0) 36% 47% / 54% 2.4% no-repeat,
    linear-gradient(#ece6d9, #ece6d9) 36% 52% / 38% 2% no-repeat,
    linear-gradient(#e6dfd0, #e6dfd0) 10% 62% / 22% 10% no-repeat,
    linear-gradient(#e6dfd0, #e6dfd0) 36% 63% / 54% 2.4% no-repeat,
    linear-gradient(#ece6d9, #ece6d9) 36% 68% / 38% 2% no-repeat,
    #f4efe7; }
.mk-tv { background:
    linear-gradient(#2a2118, #2a2118) 6% 14% / 40% 74% no-repeat,
    linear-gradient(#3a2d20, #3a2d20) 56% 28% / 34% 5% no-repeat,
    linear-gradient(#2f251b, #2f251b) 56% 40% / 28% 3% no-repeat,
    linear-gradient(#2f251b, #2f251b) 56% 47% / 31% 3% no-repeat,
    linear-gradient(#5b2f27, #5b2f27) 56% 60% / 9% 6% no-repeat,
    #15100c; }
.mk-tv-inner iframe { background: transparent; }

/* In the dark theme the panel screenshot sits in a "stage" frame: the screen keeps its own colors (no filter), the surround uses the surface color + a thin border. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk-shot { box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--surface), 0 0 0 11px var(--line), 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 90px -30px rgba(242, 182, 50, 0.16); }
}
:root[data-theme="dark"] .mk-shot { box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--surface), 0 0 0 11px var(--line), 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 90px -30px rgba(242, 182, 50, 0.16); }

/* Sector cards. Lower image (more compact), each image has its own focus, horizontal scroll on mobile, 3 related cards + an "all" link on sector pages. */
.mk-card-img { aspect-ratio: 16 / 10; }
.mk-card-img[src*="for-cafes"] { object-position: 70% 50%; }
.mk-card-img[src*="for-restaurants"] { object-position: 62% 50%; }
.mk-card-img[src*="for-bars"] { object-position: 66% 50%; }
.mk-card-img[src*="for-hotels"] { object-position: 60% 50%; }
.mk-card-img[src*="for-beach-clubs"], .mk-card-img[src*="for-sweets"], .mk-card-img[src*="for-food-trucks"], .mk-card-img[src*="for-spas"] { object-position: 28% 50%; }
.mk-all-link { margin: 28px 0 0; text-align: center; }
.mk-all-link a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.mk-all-link a:hover { color: var(--accent-text, var(--accent)); }
@media (max-width: 640px) {
    .mk-cards-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 4px 22px 18px; scroll-padding: 0 22px; -webkit-overflow-scrolling: touch; }
    .mk-cards-scroll .mk-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Narrow screens: the closing card must not overflow (the QR card was a fixed 300px and widened the grid). */
@media (max-width: 860px) {
    .mk-closing .mk-closing-grid { grid-template-columns: minmax(0, 1fr); }
    .mk-tcard-wrap { width: min(300px, 100%); }
}
@media (max-width: 380px) { .mk-closing .mk-closing-grid { padding: 30px 20px; } .mk-tcard-wrap { height: 340px; } }

/* Solutions menu in two columns. 8 items in one column ran into the taskbar on a 15.6" screen; height is also limited to the screen (scrolls on overflow). */
@media (min-width: 861px) {
    .mk-menu { width: 560px; max-height: calc(100vh - 96px); overflow-y: auto; }
    .mk-drop:hover .mk-menu, .mk-drop:focus-within .mk-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
}

/* Solutions click state. When open the button is filled, the arrow rotates, and the menu stays open after a click (besides hover). */
.mk-drop-btn svg { transition: transform 0.18s; }
.mk-drop.is-open .mk-drop-btn, .mk-drop:hover .mk-drop-btn { color: var(--text); background: var(--surface-2); }
.mk-drop.is-open .mk-drop-btn svg, .mk-drop:hover .mk-drop-btn svg { transform: rotate(180deg); }
.mk-head .mk-drop.is-open .mk-drop-btn, .mk-head .mk-drop:hover .mk-drop-btn { background: rgba(255, 255, 255, 0.14); color: #fff; }
.mk-drop.is-open .mk-menu { display: block; }
@media (min-width: 861px) { .mk-drop.is-open .mk-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; } }
.mk-drop-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mk-drop-btn svg { transition: none; } }

/* Large card images: subject on the left, cards are not cropped. */
.mk-card-img[src*="for-cafes"], .mk-card-img[src*="for-beach-clubs"], .mk-card-img[src*="for-food-trucks"] { object-position: 30% 50%; }

/* Device frame: corner bleed and realism. The loading screen sits on the dark frame color; the phone gets a camera cutout and a side button. */
.mk-phone-screen.is-loaded, .mk-tv.is-loaded { background: #0b0d12; }
.mk-phone-screen { isolation: isolate; border-radius: 23px; }
.mk-phone::before { content: ""; position: absolute; right: -4px; top: 22%; width: 3px; height: 11%; border-radius: 0 3px 3px 0; background: #2a2e3d; }
.mk-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); z-index: 4; }
.mk-tv { isolation: isolate; border-radius: 14px; }

/* Plain phone frame: thin even bezel, metal edge line, NO notch or fake status bar; the menu shows full screen. */
.mk-phone { padding: 5px; border-radius: 34px; background: linear-gradient(145deg, #3a3f4e, #14161d 45%, #2b2f3c); box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.mk-phone::after { box-shadow: none; }
.mk-phone-screen { border-radius: 29px; box-shadow: 0 0 0 4px #05060a; }
/* The phone screen looks like a real mobile browser (iPhone proportions 393x852): top status area 6% (breathing room), bottom Safari bar + home indicator 9.5%, content between.
   The frame hardware stays dark; the status area, bar and screen background follow the page theme (light #f2f2f4 / dark #1c1c1e). */
.mk-phone-screen { background: #f2f2f4; }
.mk-phone-screen.is-loaded { background: #f2f2f4; }
.mk-phone-screen .mk-phone-inner { top: 6%; height: 713px; }
.va-top, .va-bottom { position: absolute; left: 0; right: 0; z-index: 3; box-sizing: border-box; background: #f2f2f4; color: #111114; pointer-events: none; }
.va-top { top: 0; height: 6%; padding: 0 9% 0 11%; display: flex; align-items: center; justify-content: space-between; }
.va-time { font: 600 clamp(5px, 1.05vw, 7.2px)/1 -apple-system, "Segoe UI", system-ui, sans-serif; }
.va-icons { display: flex; align-items: center; gap: 2.5px; }
.va-ico { height: clamp(3.5px, .72vw, 5.4px); width: auto; fill: currentColor; display: block; }
.va-bottom { bottom: 0; height: 9.5%; padding: 2.2% 9% 0; display: flex; flex-direction: column; align-items: center; gap: 7%; }
.va-pill { width: 100%; height: 44%; border-radius: 999px; background: #e2e2e7; color: #3c3c43; display: flex; align-items: center; justify-content: center; gap: 4px; font: 500 7px/1 -apple-system, system-ui, sans-serif; }
.va-pill svg { width: 6px; height: 6px; fill: currentColor; }
.va-home { display: block; width: 34%; height: 3px; border-radius: 3px; background: #111114; opacity: .85; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .mk-phone-screen, :root:not([data-theme="light"]) .mk-phone-screen.is-loaded, :root:not([data-theme="light"]) .va-top, :root:not([data-theme="light"]) .va-bottom { background: #1c1c1e; color: #f2f2f7; }
    :root:not([data-theme="light"]) .va-pill { background: #2c2c2e; color: #e5e5ea; }
    :root:not([data-theme="light"]) .va-home { background: #f2f2f7; }
}
:root[data-theme="dark"] .mk-phone-screen, :root[data-theme="dark"] .mk-phone-screen.is-loaded, :root[data-theme="dark"] .va-top, :root[data-theme="dark"] .va-bottom { background: #1c1c1e; color: #f2f2f7; }
:root[data-theme="dark"] .va-pill { background: #2c2c2e; color: #e5e5ea; }
:root[data-theme="dark"] .va-home { background: #f2f2f7; }

/* The frame bars follow the mode of the menu on the phone (data-screen-mode: marketing.js); page theme/system rules are only a fallback without the script. */
.mk-phone-screen[data-screen-mode="light"], .mk-phone-screen[data-screen-mode="light"].is-loaded, .mk-phone-screen[data-screen-mode="light"] .va-top, .mk-phone-screen[data-screen-mode="light"] .va-bottom { background: #f2f2f4; color: #111114; }
.mk-phone-screen[data-screen-mode="light"] .va-pill { background: #e2e2e7; color: #3c3c43; }
.mk-phone-screen[data-screen-mode="light"] .va-home { background: #111114; }
.mk-phone-screen[data-screen-mode="dark"], .mk-phone-screen[data-screen-mode="dark"].is-loaded, .mk-phone-screen[data-screen-mode="dark"] .va-top, .mk-phone-screen[data-screen-mode="dark"] .va-bottom { background: #1c1c1e; color: #f2f2f7; }
.mk-phone-screen[data-screen-mode="dark"] .va-pill { background: #2c2c2e; color: #e5e5ea; }
.mk-phone-screen[data-screen-mode="dark"] .va-home { background: #f2f2f7; }

/* Phone skeleton restored. A flat background color had covered the skeleton (blank black/gray screen while loading). The skeleton now lives on the iframe box's
   (.mk-phone-inner) own background: once loaded, the menu's opaque background covers it. The colors are semi-transparent neutrals, so one rule works in light and dark mode. */
.mk-phone-screen .mk-phone-inner { background:
    linear-gradient(rgba(130, 122, 108, .30), rgba(130, 122, 108, .30)) 8% 3% / 13% 5% no-repeat,
    linear-gradient(rgba(130, 122, 108, .24), rgba(130, 122, 108, .24)) 62% 3.5% / 14% 4% no-repeat,
    linear-gradient(rgba(130, 122, 108, .24), rgba(130, 122, 108, .24)) 79% 3.5% / 13% 4% no-repeat,
    linear-gradient(rgba(130, 122, 108, .32), rgba(130, 122, 108, .32)) 8% 13% / 62% 5% no-repeat,
    linear-gradient(rgba(130, 122, 108, .20), rgba(130, 122, 108, .20)) 8% 20% / 80% 2.2% no-repeat,
    linear-gradient(rgba(130, 122, 108, .20), rgba(130, 122, 108, .20)) 6% 26% / 88% 6.5% no-repeat,
    linear-gradient(rgba(150, 70, 55, .30), rgba(150, 70, 55, .30)) 6% 36% / 34% 4.6% no-repeat,
    linear-gradient(rgba(130, 122, 108, .24), rgba(130, 122, 108, .24)) 43% 36% / 26% 4.6% no-repeat,
    linear-gradient(rgba(150, 120, 80, .26), rgba(150, 120, 80, .26)) 6% 45% / 88% 21% no-repeat,
    linear-gradient(rgba(130, 122, 108, .24), rgba(130, 122, 108, .24)) 6% 71% / 19% 11% no-repeat,
    linear-gradient(rgba(130, 122, 108, .30), rgba(130, 122, 108, .30)) 30% 72% / 50% 2.6% no-repeat,
    linear-gradient(rgba(130, 122, 108, .18), rgba(130, 122, 108, .18)) 30% 77% / 36% 2% no-repeat; }

/* Single moon/sun button in the site header (light color on the dark hero) */
.mk-head .theme-toggle { color: #e6eee8; }
.mk-head .theme-toggle:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Lighter top bar, hero and footer. The logo stays 16px. */
.mk-head-row { min-height: 58px; gap: 20px; }
.mk-nav > a, .mk-drop-btn { font-size: 0.9rem; padding: 6px 11px; }
.mk-hero, .mk-hero-sub { padding-top: 112px; }
.mk-hero { padding-bottom: 68px; }
.mk-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.mk-section { padding: 68px 0; }
.mk-foot { padding: 44px 0 22px; font-size: 0.88rem; }
.mk-foot-grid { gap: 22px; }
.mk-foot nav { gap: 7px; }
.mk-foot-brand p { margin-top: 10px; }
.mk-foot-contact { margin-top: 14px; padding: 8px 12px 8px 8px; }
.mk-foot-ic { width: 32px; height: 32px; }
.mk-foot-socials a { width: 32px; height: 32px; }
.mk-foot-base { margin-top: 28px; padding-top: 16px; }
@media (max-width: 860px) { .mk-hero, .mk-hero-sub { padding-top: 92px; } .mk-section { padding: 52px 0; } }

/* Footer: Solutions in two columns (7 rows become 4), side columns narrower. Wide screens only. */
@media (min-width: 1001px) {
    .mk-foot-grid { grid-template-columns: 2fr 0.8fr 1.7fr 1fr 0.9fr; }
    .mk-foot nav[aria-label="Solutions"] { display: grid; grid-template-columns: auto auto; column-gap: 28px; row-gap: 7px; align-content: start; }
    .mk-foot nav[aria-label="Solutions"] h4 { grid-column: 1 / -1; margin-bottom: 0; }
    .mk-foot nav[aria-label="Solutions"] a { white-space: nowrap; }
}

/* Footer: Legal column moves to its own row, support card, "A ModLocus product". */
.mk-foot-contact { max-width: 390px; }
.mk-foot-contact b { display: block; }
.mk-foot-contact small { margin: 1px 0 3px; font-size: 0.76rem; }
.mk-foot-contact em { display: block; font-style: normal; font-size: 0.82rem; color: #f2c460; font-weight: 600; }
.mk-foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.mk-foot-end { display: flex; align-items: center; gap: 22px; }
.mk-foot-by { opacity: 0.7; }
@media (max-width: 560px) { .mk-foot-end { width: 100%; justify-content: space-between; } }

.mk-foot-contact:hover { background: rgba(234, 243, 236, 0.07); }
.mk-foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.82rem; font-weight: 600; }
.mk-foot-links a { color: #f2c460; }

/* Error page (Public): centers the card in the section (the panel/console _StatusLayout centering does not apply here). */
.mk-status { display: grid; place-items: center; padding: 56px 0 72px; }
