/*
 * Seedling marketing kit — the public site's design system (homepage, pricing,
 * auth, legal, help chrome). Everything is scoped under .mk (set on <body> by
 * layouts/main) so it never leaks into the logged-in app, and nothing depends on
 * classes being present in the prebuilt Tailwind bundle.
 *
 * Fonts: Fraunces (display) + Inter (body), loaded by layouts/main.
 */

.mk {
    --ink: #0d1a12;
    --forest: #12251a;
    --forest-2: #1a3324;
    --leaf: #59a96a;
    --leaf-soft: #8fd39e;
    --lime: #c6f36b;
    --ember: #f05d23;
    --cream: #fbf6ec;
    --cream-2: #f4ecdd;
    --paper: #ffffff;
    --text: #1d1b19;
    --muted: #5d5a55;
    --line: rgba(29, 27, 25, 0.1);
    --line-dark: rgba(255, 255, 255, 0.1);
    --radius: 20px;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display-weight: 600;
    --display-tracking: -0.02em;

    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    margin: 0;
}


.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk img { max-width: 100%; display: block; }
.mk a { text-decoration: none; }

.mk-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.mk-display {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking);
    line-height: 1.02;
}
.mk-display em { font-style: italic; }

.mk-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
    padding: 6px 12px; border-radius: 999px;
    color: var(--forest); background: rgba(89, 169, 106, 0.14);
}
.mk-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.mk-on-dark .mk-eyebrow { color: var(--lime); background: rgba(198, 243, 107, 0.1); border: 1px solid rgba(198, 243, 107, 0.2); }
.mk-on-dark .mk-eyebrow .dot { background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.mk-section { padding: 112px 0; scroll-margin-top: 64px; }
.mk-section-head { max-width: 720px; margin-bottom: 56px; }
.mk-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.mk-section-head h2 { font-size: clamp(36px, 5vw, 58px); margin: 16px 0 18px; color: var(--ink); }
.mk-section-head p { font-size: 19px; line-height: 1.6; color: var(--muted); }
.mk-on-dark .mk-section-head h2 { color: #fff; }
.mk-on-dark .mk-section-head p { color: rgba(255, 255, 255, 0.66); }

/* ---------- Buttons ---------- */
.mk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px; border-radius: 999px;
    font-size: 15px; font-weight: 600; white-space: nowrap;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
    border: 1px solid transparent; cursor: pointer;
}
.mk-btn:hover { transform: translateY(-1px); }
.mk-btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.mk-btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(198, 243, 107, 0.55); }
.mk-btn-primary:hover { background: #d4f88a; color: var(--ink); }
.mk-btn-dark { background: var(--ink); color: #fff; }
.mk-btn-dark:hover { background: var(--forest-2); color: #fff; }
.mk-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.mk-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.mk-btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.mk-btn-quiet:hover { background: rgba(0, 0, 0, 0.04); color: var(--ink); }

/* ---------- Header ---------- */
.mk-header {
    position: fixed; inset: 0 0 auto 0; z-index: 60; height: 68px; background: transparent;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}
.mk-header .mk-wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.mk-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); transition: filter .25s ease; }
.mk-nav { display: flex; gap: 4px; margin: 0 auto; }
.mk-nav a {
    color: rgba(255, 255, 255, 0.78); font-size: 14.5px; font-weight: 500;
    padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s;
}
.mk-nav a:hover, .mk-nav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.mk-header-actions { display: flex; align-items: center; gap: 8px; }
.mk-header-actions .mk-btn { height: 40px; padding: 0 18px; font-size: 14px; }
.mk-link-login { color: rgba(255, 255, 255, 0.85); font-size: 14.5px; font-weight: 500; padding: 8px 12px; }
.mk-link-login:hover { color: #fff; }

.mk-header.is-scrolled, .mk-header.is-solid {
    background: rgba(251, 246, 236, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line);
}
.mk-header.is-scrolled .mk-logo img, .mk-header.is-solid .mk-logo img { filter: none; }
.mk-header.is-scrolled .mk-nav a, .mk-header.is-solid .mk-nav a { color: var(--muted); }
.mk-header.is-scrolled .mk-nav a:hover, .mk-header.is-solid .mk-nav a:hover, .mk-header.is-scrolled .mk-nav a.is-active, .mk-header.is-solid .mk-nav a.is-active { color: var(--ink); background: rgba(0, 0, 0, 0.05); }
.mk-header.is-scrolled .mk-link-login, .mk-header.is-solid .mk-link-login { color: var(--ink); }
.mk-header.is-scrolled .mk-btn-primary, .mk-header.is-solid .mk-btn-primary { background: var(--ink); color: #fff; box-shadow: none; }

.mk-menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; padding: 8px; }
.mk-header.is-scrolled .mk-menu-toggle, .mk-header.is-solid .mk-menu-toggle { color: var(--ink); }

/* ---------- Hero ---------- */
.mk-hero {
    position: relative; overflow: hidden; color: #fff;
    background: var(--ink);
    padding: 168px 0 0;
}
.mk-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(89, 169, 106, 0.35), transparent 70%),
        radial-gradient(600px 400px at 85% 30%, rgba(198, 243, 107, 0.08), transparent 70%),
        url('/img/leavesbg2-neutral.jpg') center / cover no-repeat;
    opacity: 1;
}
.mk-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13, 26, 18, 0.72) 0%, rgba(13, 26, 18, 0.9) 55%, var(--ink) 100%);
}
.mk-hero > * { position: relative; z-index: 1; }
.mk-hero-copy { text-align: center; max-width: 900px; margin: 0 auto; }
.mk-hero h1 { font-size: clamp(48px, 8vw, 104px); margin: 0 0 26px; }
.mk-hero h1 em { color: var(--lime); }
.mk-hero-sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 640px; margin: 0 auto; }
.mk-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.mk-hero-trust {
    display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
    margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.55);
}
.mk-hero-trust i { color: var(--leaf-soft); margin-right: 6px; }

/* Product frame / video placeholder */
.mk-stage { margin: 64px auto 0; max-width: 1080px; padding: 0 24px; scroll-margin-top: 96px; /* clear the fixed header when linked to #tour */ }
.mk-frame {
    border-radius: 16px 16px 0 0; overflow: hidden;
    background: #0a130d;
    border: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 0;
    box-shadow: 0 -20px 80px -20px rgba(89, 169, 106, 0.35), 0 40px 120px rgba(0, 0, 0, 0.5);
}
/* Self-hosted tour player (welcome.blade.php #mk-tour) */
.mk-player { position: relative; aspect-ratio: 1728 / 1080; background: #0a130d; overflow: hidden; outline: none; }
.mk-player-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0a130d; }
.mk-player[data-state="idle"] .mk-player-video { filter: saturate(0.85) brightness(0.6); transform: scale(1.02); transition: filter .4s ease, transform .6s ease; }
.mk-player[data-state="idle"]:hover .mk-player-video { filter: saturate(0.95) brightness(0.72); transform: scale(1.035); }

.mk-player-start {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    background: radial-gradient(closest-side, rgba(13, 26, 18, 0.6), rgba(13, 26, 18, 0.05));
    color: #fff; border: 0; cursor: pointer; width: 100%; transition: opacity .3s ease;
}
.mk-player:not([data-state="idle"]) .mk-player-start { opacity: 0; pointer-events: none; }
.mk-play {
    width: 88px; height: 88px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--lime); color: var(--ink); font-size: 28px; padding-left: 5px;
    box-shadow: 0 0 0 12px rgba(198, 243, 107, 0.15), 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mk-player-start .mk-play { animation: mk-play-pulse 2.6s ease-in-out infinite; }
.mk-player-start:hover .mk-play { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(198, 243, 107, 0.12), 0 20px 50px rgba(0, 0, 0, 0.4); animation: none; }
@keyframes mk-play-pulse { 50% { box-shadow: 0 0 0 22px rgba(198, 243, 107, 0.06), 0 20px 50px rgba(0, 0, 0, 0.4); } }
.mk-video-label { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.mk-video-label small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.7); font-size: 13px; margin-top: 4px; text-align: center; }

/* Control bar: lime progress, fades out while playing and the pointer is still */
.mk-player-bar {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px;
    padding: 36px 14px 12px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(8, 16, 11, 0.82));
    transition: opacity .3s ease, transform .3s ease;
}
.mk-player[data-state="idle"] .mk-player-bar,
.mk-player[data-state="ended"] .mk-player-bar,
.mk-player.is-idle .mk-player-bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.mk-player.is-idle { cursor: none; }
.mk-player-btn {
    flex: 0 0 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: #fff;
    font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease;
}
.mk-player-btn:hover, .mk-player-btn:focus-visible { background: rgba(255, 255, 255, 0.12); color: var(--lime); outline: none; }
.mk-player-track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; margin: 0 8px; }
.mk-player-track::before, .mk-player-buffered, .mk-player-progress { content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; transition: height .15s ease, margin .15s ease; }
.mk-player-track::before { right: 0; background: rgba(255, 255, 255, 0.18); }
.mk-player-buffered { width: 0; background: rgba(255, 255, 255, 0.28); }
.mk-player-progress { width: 0; background: var(--lime); box-shadow: 0 0 12px rgba(198, 243, 107, 0.5); }
.mk-player-progress::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform .15s ease; }
.mk-player-track:hover::before, .mk-player-track:hover .mk-player-buffered, .mk-player-track:hover .mk-player-progress,
.mk-player-track:focus-visible::before, .mk-player-track:focus-visible .mk-player-progress { height: 6px; margin-top: -3px; }
.mk-player-track:hover .mk-player-progress::after, .mk-player-track:focus-visible .mk-player-progress::after { transform: scale(1); }
.mk-player-track:focus-visible { outline: none; }
.mk-player-time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.8); min-width: 76px; text-align: right; margin-right: 4px; }

/* Buffering spinner */
.mk-player.is-loading::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
    border-radius: 50%; border: 3px solid rgba(198, 243, 107, 0.25); border-top-color: var(--lime);
    animation: mk-spin .8s linear infinite; pointer-events: none;
}
@keyframes mk-spin { to { transform: rotate(360deg); } }

/* End screen */
.mk-player-end {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: radial-gradient(closest-side, rgba(13, 26, 18, 0.88), rgba(13, 26, 18, 0.72));
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mk-player[data-state="ended"] .mk-player-end { opacity: 1; pointer-events: auto; }
.mk-player-end-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(30px, 4vw, 48px); color: #fff; margin: 0; }
.mk-player-end-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.mk-player.is-fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.mk-player.is-fullscreen .mk-player-video { object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
    .mk-player-start .mk-play { animation: none; }
    .mk-player[data-state="idle"] .mk-player-video { transform: none; }
}

/* Store badges under the hero CTAs */
.mk-hero-badges { margin: 30px 0 0 !important; }
.mk-hero-badges .app-store-badge { height: 48px; width: auto; }
.mk-hero-badges-note { margin: 8px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ---------- Principles strip ---------- */
.mk-strip { background: var(--ink); color: rgba(255, 255, 255, 0.8); border-top: 1px solid var(--line-dark); }
.mk-strip .mk-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.mk-strip-item { padding: 30px 24px; display: flex; gap: 14px; align-items: flex-start; border-left: 1px solid var(--line-dark); }
.mk-strip-item:first-child { border-left: 0; padding-left: 0; }
.mk-strip-item i { color: var(--lime); font-size: 18px; margin-top: 2px; }
.mk-strip-item strong { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.mk-strip-item span { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }

/* ---------- Feature bento ---------- */
.mk-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mk-tile {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: var(--paper); border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    scroll-margin-top: 90px;
}
.mk-tile:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -24px rgba(18, 37, 26, 0.25); }
.mk-tile-copy { padding: 30px 30px 22px; }
.mk-tile-icon {
    width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(89, 169, 106, 0.12); color: var(--forest-2); font-size: 16px; margin-bottom: 18px;
}
.mk-tile h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 27px; line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.mk-tile p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.mk-tile-shot { margin: auto 0 0 30px; border-radius: 12px 0 0 0; overflow: hidden; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.12); }
/* Same rendered scale in every tile: narrow tiles crop the screenshot instead of
   shrinking it, so a 2-column tile and a 4-column tile show UI at the same size. */
.mk-tile-shot { height: 260px; }
.mk-tile-shot img { width: 820px; max-width: none; height: 100%; object-fit: cover; object-position: left top; }
.mk-tile.span-4 { grid-column: span 4; }
.mk-tile.span-3 { grid-column: span 3; }
.mk-tile.span-2 { grid-column: span 2; }
.mk-tile.span-6 { grid-column: span 6; }
.mk-tile.is-wide { flex-direction: row; }
.mk-tile.is-wide .mk-tile-copy { flex: 0 0 40%; padding: 40px; align-self: center; }
.mk-tile.is-wide .mk-tile-shot { flex: 1; margin: 40px 0 0 0; }
.mk-tile.is-wide .mk-tile-shot { height: 320px; }
.mk-tile.is-dark { background: var(--forest); border-color: transparent; }
.mk-tile.is-dark h3 { color: #fff; }
.mk-tile.is-dark p { color: rgba(255, 255, 255, 0.65); }
.mk-tile.is-dark .mk-tile-icon { background: rgba(198, 243, 107, 0.12); color: var(--lime); }
.mk-tile.is-dark .mk-tile-shot { border-color: rgba(255, 255, 255, 0.1); }
.mk-tile-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.mk-tile-list li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.mk-tile-list li i { color: var(--leaf); font-size: 12px; }
.mk-tile.is-dark .mk-tile-list li { color: rgba(255, 255, 255, 0.7); }
.mk-tile.is-dark .mk-tile-list li i { color: var(--lime); }
.mk-chip-soon { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ember); background: rgba(240, 93, 35, 0.1); padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }

/* ---------- Agents ---------- */
.mk-agents { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.mk-agents::before {
    content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px;
    background: radial-gradient(closest-side, rgba(89, 169, 106, 0.22), transparent);
    pointer-events: none;
}
.mk-agents-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; position: relative; }
.mk-agents h2 { font-size: clamp(38px, 5vw, 60px); margin: 18px 0 22px; }
.mk-agents h2 em { color: var(--lime); }
.mk-agents-lead { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); margin-bottom: 34px; }
.mk-agent-points { display: grid; gap: 22px; margin-bottom: 38px; }
.mk-agent-point { display: flex; gap: 16px; }
.mk-agent-point .ic { flex: 0 0 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: var(--lime); font-size: 15px; }
.mk-agent-point strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.mk-agent-point p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.58); }
.mk-agent-point a { color: var(--lime); }
.mk-clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mk-clients span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 12px; }

/* Command Center mock */
.mk-cc { border-radius: 18px; background: #0a140e; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(198, 243, 107, 0.04); overflow: hidden; font-size: 13px; }
.mk-cc-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.mk-cc-title { font-weight: 600; display: flex; align-items: center; gap: 9px; }
.mk-cc-title i { color: var(--lime); }
.mk-cc-live { font-size: 11.5px; color: var(--leaf-soft); display: flex; align-items: center; gap: 6px; }
.mk-cc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: mk-pulse 2s infinite; }
@keyframes mk-pulse { 50% { opacity: 0.35; } }
.mk-cc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
.mk-cc-card { border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06); }
.mk-cc-card-head { padding: 12px 14px; color: #0d1a12; }
.mk-cc-card-head strong { display: block; font-size: 13.5px; }
.mk-cc-card-head .nums { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.mk-cc-card-head .big { font-size: 24px; font-weight: 700; line-height: 1; }
.mk-cc-card-head .small { font-size: 11px; opacity: 0.75; }
.mk-cc-bar { height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.15); margin-top: 9px; overflow: hidden; }
.mk-cc-bar i { display: block; height: 100%; background: rgba(0, 0, 0, 0.55); }
.mk-cc-rows { padding: 6px 0; }
.mk-cc-row { display: flex; align-items: center; gap: 9px; padding: 7px 14px; color: rgba(255, 255, 255, 0.82); }
.mk-cc-row .st { flex: 0 0 8px; height: 8px; border-radius: 50%; }
.mk-cc-row .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.mk-cc-row .m { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.6); }
.mk-cc-row .who { flex: 0 0 20px; height: 20px; border-radius: 50%; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mk-cc-feed { border-top: 1px solid var(--line-dark); padding: 12px 18px 14px; display: grid; gap: 8px; }
.mk-cc-feed div { display: flex; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.mk-cc-feed b { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.mk-cc-feed time { margin-left: auto; color: rgba(255, 255, 255, 0.35); white-space: nowrap; }
.st-todo { background: rgba(255, 255, 255, 0.3); }
.st-prog { background: #6db3ff; box-shadow: 0 0 6px #6db3ff; }
.st-hold { background: #f2b544; }
.st-done { background: var(--lime); }

.mk-safenode { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(198, 243, 107, 0.06); border: 1px solid rgba(198, 243, 107, 0.16); font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.mk-safenode i { color: var(--lime); font-size: 18px; }
.mk-safenode b { color: #fff; }

/* ---------- Testimonials ---------- */
.mk-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mk-quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.mk-quote blockquote { margin: 0 0 28px; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); flex: 1; }
.mk-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mk-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--forest); color: var(--lime); font-weight: 700; font-size: 14px; }
.mk-stars { color: #e7a92b; font-size: 13px; margin-bottom: 18px; letter-spacing: 2px; }

/* ---------- Founders ---------- */
.mk-founders { padding: 0 0 112px; }
.mk-founders-card {
    position: relative; overflow: hidden; border-radius: 28px; padding: 56px;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%);
    color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.mk-founders-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 243, 107, 0.25), transparent); }
.mk-founders-card h2 { font-size: clamp(32px, 4vw, 48px); margin: 16px 0 14px; }
.mk-founders-card h2 em { color: var(--lime); }
.mk-founders-card p { color: rgba(255, 255, 255, 0.7); font-size: 17px; line-height: 1.6; }
.mk-founders-side { position: relative; z-index: 1; text-align: center; }
.mk-spots { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 96px; line-height: 1; color: var(--lime); letter-spacing: -0.04em; }
.mk-spots-label { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin: 6px 0 22px; }

/* ---------- Pricing ---------- */
.mk-pricing { background: var(--cream-2); }
.mk-includes { margin: 56px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; }
.mk-includes div { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--muted); }
.mk-includes i { color: var(--leaf); }
.mk-eco { margin: 40px auto 0; max-width: 980px; display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.mk-eco i { font-size: 26px; color: var(--leaf); }
.mk-eco strong { color: var(--ink); }
.mk-eco p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Final CTA ---------- */
.mk-final { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.mk-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 100%, rgba(89, 169, 106, 0.35), transparent 70%); }
.mk-final .mk-wrap { position: relative; }
.mk-final h2 { font-size: clamp(44px, 7vw, 88px); margin-bottom: 22px; }
.mk-final h2 em { color: var(--lime); }
.mk-final p { font-size: 19px; color: rgba(255, 255, 255, 0.66); max-width: 560px; margin: 0 auto 36px; line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.mk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.mk-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .mk-reveal { opacity: 1; transform: none; transition: none; }
    .mk-cc-live::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .mk-nav, .mk-link-login { display: none; }
    .mk-menu-toggle { display: block; }
    .mk-header-actions { display: none; }
    .mk-header.is-open { background: var(--cream); }
    .mk-header.is-open .mk-logo img { filter: none; }
    .mk-header.is-open .mk-menu-toggle { color: var(--ink); }
    .mk-header.is-open .mk-nav {
        display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
        background: var(--cream); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); margin: 0;
    }
    .mk-header.is-open .mk-nav a { color: var(--ink); padding: 12px 8px; font-size: 16px; }
    .mk-agents-grid, .mk-founders-card { grid-template-columns: 1fr; }
    .mk-strip .mk-wrap { grid-template-columns: repeat(2, 1fr); }
    .mk-strip-item { border-left: 0; padding-left: 0; }
    .mk-tile.span-4, .mk-tile.span-3, .mk-tile.span-2 { grid-column: span 3; }
    .mk-tile.is-wide { flex-direction: column; grid-column: span 6; }
    .mk-tile.is-wide .mk-tile-copy { padding: 30px 30px 22px; }
    .mk-tile.is-wide .mk-tile-shot { margin: auto 0 0 30px; }
    .mk-quotes { grid-template-columns: 1fr; }
    .mk-includes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .mk-section { padding: 64px 0; }
    .mk-section-head { margin-bottom: 36px; }
    .mk-section-head p { font-size: 17px; }

    /* Hero: shorter, so the video starts nearer the fold */
    .mk-hero { padding-top: 108px; }
    .mk-hero h1 { font-size: 42px; margin-bottom: 18px; }
    .mk-hero-sub { font-size: 16.5px; }
    .mk-hero-ctas { margin-top: 28px; }
    .mk-hero-badges { margin-top: 20px !important; }
    .mk-hero-trust { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 10px 14px; margin-top: 22px; font-size: 12.5px; text-align: left; white-space: nowrap; }
    .mk-hide-sm { display: none; }
    .mk-stage { margin-top: 40px; padding: 0 12px; }
    .mk-play { width: 64px; height: 64px; font-size: 21px; padding-left: 4px; }
    .mk-player-start { gap: 12px; }
    .mk-player-bar { padding: 28px 6px 6px; gap: 0; }
    .mk-player-btn { flex-basis: 34px; height: 34px; font-size: 14px; }
    .mk-player-time { min-width: 0; font-size: 11.5px; }
    .mk-player-end { gap: 14px; }
    .mk-player-end .mk-btn { height: 42px; padding: 0 16px; font-size: 14px; }
    .mk-video-label small { display: none; }

    /* Principles strip: 2 x 2 instead of four stacked rows */
    .mk-strip .mk-wrap { grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
    .mk-strip-item { padding: 16px 0; gap: 10px; align-items: center; }
    .mk-strip-item i { font-size: 15px; margin-top: 0; }
    .mk-strip-item strong { font-size: 13.5px; margin-bottom: 0; }
    .mk-strip-item span { display: none; }

    /* Feature tiles: inset screenshot scaled down to show more of the UI, not a
       tall crop of its corner bleeding off the right edge */
    .mk-tile.span-4, .mk-tile.span-3, .mk-tile.span-2 { grid-column: span 6; }
    .mk-bento { gap: 16px; }
    .mk-tile-copy, .mk-tile.is-wide .mk-tile-copy { padding: 24px 22px 18px; }
    .mk-tile h3 { font-size: 24px; }
    .mk-tile p { font-size: 15px; }
    .mk-tile-shot, .mk-tile.is-wide .mk-tile-shot { height: 190px; margin: auto 22px 0; border-right: 1px solid var(--line); border-radius: 10px 10px 0 0; }
    .mk-tile.is-dark .mk-tile-shot { border-right-color: rgba(255, 255, 255, 0.1); }
    .mk-tile-shot img { width: 560px; }
    .mk-tile:hover { transform: none; }

    /* Agents */
    .mk-cc-body { grid-template-columns: 1fr; }
    .mk-cc-feed div { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
    .mk-cc-feed time { margin-left: 0; }
    .mk-cc-feed time::before { content: "· "; }

    /* Reviews: swipeable row instead of three long stacked cards */
    .mk-quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -24px; padding: 0 24px 12px; scroll-padding: 0 24px; scrollbar-width: none; }
    .mk-quotes::-webkit-scrollbar { display: none; }
    .mk-quote { flex: 0 0 84%; scroll-snap-align: start; padding: 26px; }
    .mk-quote blockquote { font-size: 18px; margin-bottom: 22px; }

    .mk-founders { padding-bottom: 64px; }
    .mk-founders-card { padding: 36px 26px; }
    .mk-spots { font-size: 72px; }
    .mk-includes { grid-template-columns: 1fr; margin-top: 40px; }
    .mk-final p { font-size: 17px; }
}
@media (max-width: 370px) {
    /* The two-column check row needs ~320px; narrower phones get one centred column. */
    .mk-hero-trust { grid-template-columns: auto; }
    .mk-hero h1 { font-size: 38px; }
}

/* ---------- Beat theme.css's global a:not(...) colour rule ---------- */
.mk a.mk-btn-primary, .mk a.mk-btn-primary:hover { color: var(--ink) !important; }
.mk a.mk-btn-ghost, .mk a.mk-btn-ghost:hover,
.mk a.mk-btn-dark, .mk a.mk-btn-dark:hover { color: #fff !important; }
.mk a.mk-btn-quiet, .mk a.mk-btn-quiet:hover { color: var(--ink) !important; }
.mk-header .mk-nav a { color: rgba(255, 255, 255, 0.78) !important; }
.mk-header .mk-nav a:hover, .mk-header .mk-nav a.is-active { color: #fff !important; }
.mk-header a.mk-link-login { color: rgba(255, 255, 255, 0.85) !important; }
.mk-header.is-scrolled .mk-nav a, .mk-header.is-solid .mk-nav a { color: var(--muted) !important; }
.mk-header.is-scrolled .mk-nav a:hover, .mk-header.is-solid .mk-nav a:hover, .mk-header.is-scrolled .mk-nav a.is-active, .mk-header.is-solid .mk-nav a.is-active { color: var(--ink) !important; }
.mk-header.is-scrolled a.mk-link-login, .mk-header.is-solid a.mk-link-login { color: var(--ink) !important; }
.mk-header.is-scrolled a.mk-btn-primary, .mk-header.is-solid a.mk-btn-primary { color: #fff !important; }
.mk-agent-point a { color: var(--lime) !important; text-decoration: underline; text-underline-offset: 3px; }
.mk-includes a { color: inherit !important; }
@media (max-width: 1024px) {
    .mk-header.is-open .mk-nav a { color: var(--ink) !important; }
}

/* ---------- Plan grid, restyled only inside this page ---------- */
.mk-pricing #plans-grid { max-width: 1080px; }
.mk-pricing #plans-grid .card {
    background: var(--paper) !important; border: 1px solid var(--line) !important;
    border-radius: 22px !important; box-shadow: none !important; color: var(--text);
}
.mk-pricing #plans-grid .card.border-primary {
    border: 2px solid var(--ink) !important;
    box-shadow: 0 30px 70px -30px rgba(13, 26, 18, 0.35) !important;
}
.mk-pricing #plans-grid .badge-primary {
    background: var(--ink) !important; color: var(--lime) !important; border: 0 !important;
    text-shadow: none !important; box-shadow: none !important; font-weight: 600;
}
.mk-pricing #plans-grid .card-body h2 {
    color: var(--ink) !important; font-family: var(--font-display); font-weight: var(--display-weight);
    letter-spacing: var(--display-tracking); font-size: 30px;
}
.mk-pricing #plans-grid .text-4xl { font-family: var(--font-display); letter-spacing: -0.03em; font-size: 48px; color: var(--ink) !important; }
.mk-pricing #plans-grid .text-primary { color: var(--forest-2) !important; }
.mk-pricing #plans-grid .text-success { color: #3f8a50 !important; }
.mk-pricing #plans-grid .bg-base-200\/80 { background: var(--cream) !important; border-color: var(--line) !important; }
.mk-pricing #plans-grid .bg-success\/5 { background: rgba(89, 169, 106, 0.06) !important; }
.mk-pricing #plans-grid .btn {
    border-radius: 999px !important; height: 48px; min-height: 48px; font-weight: 600; text-transform: none;
}
.mk-pricing #plans-grid .btn-primary { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.mk-pricing #plans-grid .btn-primary:hover { background: var(--forest-2) !important; }
.mk-pricing #plans-grid .btn-outline { background: transparent !important; border: 1px solid rgba(29, 27, 25, 0.25) !important; color: var(--ink) !important; }
.mk-pricing #plans-grid .btn-outline:hover { background: rgba(0, 0, 0, 0.04) !important; }

/* =====================================================================
 * Site chrome
 * ===================================================================== */
.mk-main-offset { padding-top: 68px; }
.mk-page { overflow-x: clip; }
.mk-nav-auth { display: none; }
.mk-header form { margin: 0; display: inline-flex; }
.mk-header button.mk-link-login { background: none; border: 0; cursor: pointer; font-family: inherit; }
.mk-header .mk-btn i { font-size: 12px; }

/* Footer */
.mk-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 72px 0 32px; }
.mk-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.mk-footer .mk-logo img { height: 36px; filter: brightness(0) invert(1); }
.mk-footer-brand p { font-size: 14.5px; line-height: 1.6; margin: 18px 0 20px; max-width: 320px; }
.mk-footer-badges { justify-content: flex-start !important; margin: 0 !important; }
.mk-footer-col h4 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.mk-footer-col a { display: block; font-size: 14.5px; padding: 5px 0; color: rgba(255, 255, 255, 0.6) !important; transition: color .15s; }
.mk-footer-col a:hover { color: var(--lime) !important; }
.mk-footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.mk-footer-made { display: inline-flex; align-items: center; gap: 8px; }
.mk-footer-made img { width: 20px; height: 20px; object-fit: contain; }

/* =====================================================================
 * Sub-page building blocks
 * ===================================================================== */

/* Dark page hero: pair with @section('header_overlay', true) */
.mk-page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 150px 0 84px; text-align: center; }
.mk-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 380px at 50% -5%, rgba(89, 169, 106, 0.38), transparent 70%); }
.mk-page-hero .mk-wrap { position: relative; }
.mk-page-hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 20px auto 20px; max-width: 900px; color: #fff; }
.mk-page-hero h1 em { color: var(--lime); }
.mk-page-hero p { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); max-width: 660px; margin: 0 auto; }
.mk-page-hero .mk-meta { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.45); }
.mk-page-hero.is-compact { padding: 130px 0 64px; }
.mk-page-hero.is-compact h1 { font-size: clamp(36px, 5vw, 56px); }

/* Cards */
.mk-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.mk-card-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 24px; color: var(--ink); margin: 0 0 8px; }
.mk-muted { color: var(--muted); }
.mk-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.mk-lift { margin-top: -48px; position: relative; z-index: 2; }

/* Alerts */
.mk-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; border: 1px solid; margin-bottom: 16px; }
.mk-alert i { margin-top: 3px; }
.mk-alert strong { display: block; }
.mk-alert-error { background: #fdf0ec; border-color: #f5c9b8; color: #8a2e12; }
.mk-alert-success { background: #eef8ea; border-color: #c7e6bd; color: #24562e; }
.mk-alert-warning { background: #fdf6e3; border-color: #efdca4; color: #7a5a0c; }
.mk-alert-info { background: #edf4f8; border-color: #c6dbe7; color: #1f4a60; }

/* Forms: beat theme.css's global !important input rules inside .mk-form */
.mk-form { display: grid; gap: 18px; }
.mk-form .mk-label, .mk-form .label-text { display: block; font-size: 14px !important; font-weight: 600; color: var(--ink) !important; margin-bottom: 7px; }
.mk-form .label { padding: 0 !important; }
.mk-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.mk-form select, .mk-form textarea {
    width: 100%; height: 50px; padding: 0 16px !important; font-size: 15px !important;
    font-family: var(--font-body); color: var(--ink) !important;
    background: #fff !important; border: 1px solid rgba(29, 27, 25, 0.16) !important; border-radius: 12px !important;
    box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.mk-form textarea { height: auto; padding: 12px 16px !important; }
.mk-form input:focus, .mk-form select:focus, .mk-form textarea:focus {
    outline: none; border-color: var(--leaf) !important; box-shadow: 0 0 0 4px rgba(89, 169, 106, 0.16) !important;
}
.mk-form input[readonly] { background: var(--cream) !important; }
.mk-form input[type="checkbox"] { width: 18px; height: 18px; border-radius: 5px; accent-color: var(--forest-2); }
.mk-form .text-error, .mk-field-error { color: #b4401a; font-size: 13px; margin-top: 6px; display: block; }
.mk-form .btn-ghost, .mk-form .btn-primary.btn-sm { background: transparent !important; border: 0 !important; color: var(--muted) !important; box-shadow: none !important; }
.mk-form .mk-btn { width: 100%; height: 52px; font-size: 15.5px; }
.mk-form a { color: var(--forest-2) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mk-form a:hover { color: var(--leaf) !important; }
.mk-form .mk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.mk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.mk-check input { margin-top: 2px; flex-shrink: 0; }
button.mk-btn { font-family: var(--font-body); }
.mk-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Auth: brand panel + form */
.mk-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.mk-auth-brand { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.mk-auth-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 0% 100%, rgba(89, 169, 106, 0.35), transparent 70%), radial-gradient(500px 300px at 100% 0%, rgba(198, 243, 107, 0.08), transparent 70%); }
.mk-auth-brand > * { position: relative; max-width: 480px; }
.mk-auth-brand h2 { font-size: clamp(36px, 4vw, 54px); margin: 20px 0 18px; color: #fff; }
.mk-auth-brand h2 em { color: var(--lime); }
.mk-auth-brand p { color: rgba(255, 255, 255, 0.66); font-size: 17px; line-height: 1.6; }
.mk-auth-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.mk-auth-points li { display: flex; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.mk-auth-points i { color: var(--lime); margin-top: 4px; font-size: 13px; }
.mk-auth-quote { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.mk-auth-quote blockquote { margin: 0 0 12px; font-family: var(--font-display); font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.mk-auth-quote span { font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.mk-auth-main { display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.mk-auth-box { width: 100%; max-width: 440px; }
.mk-auth-box h1 { font-size: clamp(34px, 4vw, 44px); color: var(--ink); margin: 0 0 10px; }
.mk-auth-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 30px !important; line-height: 1.55; }
.mk-auth-sub a { color: var(--forest-2) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mk-auth-box.is-centered { text-align: center; }
.mk-auth-single { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 64px 24px; background: radial-gradient(700px 400px at 50% 0%, rgba(89, 169, 106, 0.12), transparent 70%); }
.mk-auth-single .mk-auth-box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 44px 40px; box-shadow: 0 30px 80px -40px rgba(13, 26, 18, 0.25); }
.mk-auth-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: rgba(89, 169, 106, 0.12); color: var(--forest-2); font-size: 22px; margin-bottom: 20px; }

/* Long-form documents (legal). Normalises the Tailwind utility markup inside. */
.mk-prose { font-size: 16.5px; line-height: 1.75; color: #37332e; }
.mk-prose section { padding: 36px 0; border-top: 1px solid var(--line); }
.mk-prose section:first-of-type { border-top: 0; }
.mk-prose h2 { font-family: var(--font-display) !important; font-weight: var(--display-weight) !important; letter-spacing: var(--display-tracking); font-size: 30px !important; line-height: 1.2 !important; color: var(--ink) !important; margin: 0 0 16px !important; scroll-margin-top: 90px; }
.mk-prose h3 { font-size: 18px !important; font-weight: 600 !important; color: var(--ink) !important; margin: 24px 0 8px !important; }
.mk-prose p { color: #37332e !important; margin: 0 0 14px !important; line-height: 1.75 !important; }
.mk-prose ul, .mk-prose ol { margin: 0 0 14px !important; padding-left: 22px !important; color: #37332e !important; }
.mk-prose ul { list-style: disc outside !important; }
.mk-prose ol { list-style: decimal outside !important; }
.mk-prose li { margin: 6px 0 !important; padding-left: 4px; }
.mk-prose a { color: var(--forest-2) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(26, 51, 36, 0.3); }
.mk-prose a:hover { text-decoration-color: currentColor; }
.mk-prose strong { color: var(--ink); }
.mk-prose [class*="bg-blue-50"], .mk-prose [class*="bg-gray-50"], .mk-prose [class*="bg-yellow-50"], .mk-prose [class*="bg-green-50"], .mk-prose [class*="bg-base-200"], .mk-prose .alert {
    background: var(--cream) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; padding: 18px 20px !important; color: #37332e !important;
}
.mk-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 16px; }
.mk-prose th, .mk-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mk-prose th { color: var(--ink); font-weight: 600; background: var(--cream); }
.mk-doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.mk-doc-nav { position: sticky; top: 96px; font-size: 14px; }
.mk-doc-nav h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mk-doc-nav a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--muted) !important; line-height: 1.35; }
.mk-doc-nav a:hover, .mk-doc-nav a.is-active { color: var(--ink) !important; border-left-color: var(--leaf); }

/* FAQ */
.mk-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.mk-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.mk-faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 500; color: var(--forest-2); }
.mk-faq details[open] summary::after { content: "\2013"; }
.mk-faq details p { padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Centered status / error pages */
.mk-status { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; background: radial-gradient(700px 420px at 50% 20%, rgba(89, 169, 106, 0.14), transparent 70%); }
.mk-status-code { font-family: var(--font-display); font-weight: 600; font-size: clamp(96px, 16vw, 180px); line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.mk-status-code em { color: var(--leaf); }
.mk-status h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); margin: 12px 0 12px; }
.mk-status p { color: var(--muted); font-size: 17px; max-width: 460px; margin: 0 auto 30px; line-height: 1.6; }
.mk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
    .mk-header.is-open .mk-nav-auth { display: flex; gap: 10px; align-items: center; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
    .mk-header.is-open .mk-nav-auth .mk-btn { color: #fff !important; background: var(--ink); height: 44px; }
    .mk-header.is-open .mk-nav-auth button { background: none; border: 0; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 8px; cursor: pointer; }
    .mk-footer-grid { grid-template-columns: 1fr 1fr; }
    .mk-footer-brand { grid-column: span 2; }
    .mk-auth { grid-template-columns: 1fr; }
    .mk-auth-brand { display: none; }
    .mk-doc { grid-template-columns: 1fr; }
    .mk-doc-nav { display: none; }
    .mk-faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .mk-footer-grid { gap: 28px; }
    .mk-auth-single .mk-auth-box { padding: 32px 22px; }
    .mk-card { padding: 24px; }
}

/* =====================================================================
 * Community directory
 * ===================================================================== */
.mk-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.mk-row-head h2 { font-size: clamp(30px, 3.5vw, 42px); color: var(--ink); margin: 0 0 6px; }
.mk-row-head p { color: var(--muted); font-size: 16px; }
.mk-row-note { font-size: 13.5px; color: var(--muted); }
.mk-row-note i { color: var(--ember); margin-right: 4px; }

.mk-orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mk-orgs.is-4 { grid-template-columns: repeat(4, 1fr); }
.mk-org { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text) !important; transition: transform .25s ease, box-shadow .25s ease; }
.mk-org:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -24px rgba(18, 37, 26, 0.25); color: var(--text) !important; }
.mk-org-cover { position: relative; height: 112px; }
.mk-org-cover img { width: 100%; height: 100%; object-fit: cover; }
.mk-org-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.25)); }
.mk-org-badge { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(13, 26, 18, 0.72); color: var(--lime); backdrop-filter: blur(6px); }
.mk-org-body { position: relative; padding: 0 22px 20px; display: flex; flex-direction: column; flex: 1; }
.mk-org-logo { margin-top: -26px; margin-bottom: 12px; width: max-content; border-radius: 14px; padding: 3px; background: var(--paper); position: relative; z-index: 1; }
.mk-org h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 22px; line-height: 1.15; color: var(--ink); margin: 0 0 3px; }
.mk-org-type { font-size: 13px; color: var(--muted); text-transform: capitalize; margin-bottom: 10px; }
.mk-org p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-org-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); margin-top: auto; }
.mk-org-stats b { color: var(--ink); font-weight: 600; }
.mk-org-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.mk-org-foot i { margin-right: 6px; color: var(--leaf); }
.mk-org-go { font-weight: 600; color: var(--forest-2); white-space: nowrap; }
.mk-org-go i { color: inherit; margin: 0 0 0 4px; transition: transform .2s; }
.mk-org:hover .mk-org-go i { transform: translateX(3px); }

/* Filter bar inside a marketing card */
.mk-filter { padding: 14px 16px; }
.mk-filter .dark-hr { display: none; }
.mk-filter .filter-bar { margin-bottom: 0 !important; }
.mk-filter .label-text { font-size: 13px !important; font-weight: 600; color: var(--ink) !important; }
.mk-filter input.input, .mk-filter select.select {
    height: 46px !important; border-radius: 12px !important; border: 1px solid rgba(29, 27, 25, 0.16) !important;
    background-color: #fff !important; font-size: 14.5px !important; font-family: var(--font-body);
}
.mk-filter input.input:focus, .mk-filter select.select:focus { border-color: var(--leaf) !important; box-shadow: 0 0 0 4px rgba(89, 169, 106, 0.16) !important; }
.mk-filter .btn-primary { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }

/* =====================================================================
 * Help center
 * ===================================================================== */
.mk-help { padding: 40px 0 96px; }
.mk-help-grid { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.mk-help-side { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.mk-help-brand { margin-bottom: 18px; }
.mk-help-brand p { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.mk-help-group { margin: 20px 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mk-help-links { list-style: none; margin: 0; padding: 0; }
.mk-help-links a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; color: #37332e !important; transition: background .15s, color .15s; }
.mk-help-links a i { width: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.mk-help-links a:hover { background: rgba(0, 0, 0, 0.04); color: var(--ink) !important; }
.mk-help-links a.is-active { background: var(--ink); color: #fff !important; font-weight: 600; }
.mk-help-links a.is-active i { color: var(--lime); }
.mk-help-support { display: grid; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.mk-help-support .mk-btn { height: 42px; font-size: 14px; }
.mk-help-toggle { display: none; }
.mk-help-article { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 48px 56px 56px; }
.mk-help-head { padding-bottom: 28px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mk-help-head p { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leaf); margin-bottom: 12px; }
.mk-help-head h1 { font-size: clamp(32px, 4vw, 46px); color: var(--ink); display: flex; align-items: center; gap: 16px; }
.mk-help-head-icon { flex: 0 0 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(89, 169, 106, 0.12); color: var(--forest-2); }
.mk .help-prose { font-size: 16px; line-height: 1.75; color: #37332e; }
.mk .help-prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 28px; line-height: 1.2; color: var(--ink); margin: 40px 0 12px; scroll-margin-top: 90px; }
.mk .help-prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.mk .help-prose p, .mk .help-prose li { color: #37332e; line-height: 1.75; }
.mk .help-prose p { margin: 0 0 14px; }
.mk .help-prose a:not(.btn):not(.mk-btn) { color: var(--forest-2) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(26, 51, 36, 0.3); }
.mk .help-prose code { font-size: 0.88em; background: var(--cream); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.mk .help-prose .help-callout { border-radius: 14px; border: 1px solid rgba(89, 169, 106, 0.25); background: rgba(89, 169, 106, 0.07); padding: 18px 20px; }
.mk .help-prose img { border-radius: 14px; border: 1px solid var(--line); }

@media (max-width: 1024px) {
    .mk-orgs, .mk-orgs.is-4 { grid-template-columns: repeat(2, 1fr); }
    .mk-help-grid { grid-template-columns: 1fr; gap: 20px; }
    .mk-help-side { position: static; max-height: none; overflow: visible; padding: 0; }
    .mk-help-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
    .mk-help-toggle span i { color: var(--leaf); margin-right: 10px; }
    .mk-help-article { padding: 32px 24px 40px; border-radius: 20px; }
}
@media (max-width: 640px) {
    .mk-orgs, .mk-orgs.is-4 { grid-template-columns: 1fr; }
    .mk-filter { padding: 16px; }
}
.mk-filter .filter-bar, .mk-filter .filter-bar__header, .mk-filter .filter-bar__body { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.mk-filter .filter-bar { padding: 0 !important; }
.mk .help-prose pre { background: var(--ink) !important; color: #e8f1ea !important; border: 0 !important; border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.mk .help-prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.mk-final-badges { margin: 28px 0 0 !important; }

/* Plan grid: the shared "every feature" strip, and breathing room inside tiles */
.mk-pricing .plan-grid-included {
    max-width: 1080px; background: var(--forest) !important; border: 1px solid var(--forest) !important;
    border-radius: 18px !important; padding: 20px 26px !important; gap: 8px 24px !important;
    /* Room for the "Popular" badge that sits on top of the middle plan. */
    margin-bottom: 44px !important;
    box-shadow: 0 18px 40px -24px rgba(13, 26, 18, 0.55);
}
.mk-pricing .plan-grid-included__title { font-size: 16px; color: #fff; white-space: nowrap; }
.mk-pricing .plan-grid-included__title i { color: var(--lime) !important; }
.mk-pricing .plan-grid-included__body { font-size: 14.5px !important; color: rgba(255, 255, 255, 0.72) !important; margin: 0; }
.mk-pricing #plans-grid .card-body p.mb-4 { margin-bottom: 18px; }
