:root {
    color-scheme: light;
    --mk-bg: #f8fafc;
    --mk-surface: #ffffff;
    --mk-text: #0f172a;
    --mk-muted: #475569;
    --mk-border: #dbe3ee;
    --mk-brand: #4f46e5;
    --mk-brand-dark: #3730a3;
    --mk-soft: #eef2ff;
    --mk-success: #15803d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--mk-bg);
    color: var(--mk-text);
    /* marketing_base.html loads golos.css; asking for a family it no longer
       ships dropped these seven public pages to a system font while the rest
       of the site rendered in Golos Text. */
    font-family: "Golos Text", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}
a { color: var(--mk-brand); }
.mk-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    transform: translateY(-150%);
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}
.mk-skip:focus { transform: none; }
.mk-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--mk-border);
    backdrop-filter: blur(14px);
}
.mk-nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}
.mk-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mk-text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.02em;
}
.mk-brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}
.mk-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.mk-links a,
.mk-lang button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--mk-muted);
    padding: 0 12px;
    border-radius: 9px;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.mk-links a:hover, .mk-lang button:hover { background: #f1f5f9; color: var(--mk-text); }
.mk-links .mk-primary,
.mk-button {
    background: var(--mk-brand);
    color: #fff;
}
.mk-links .mk-primary:hover,
.mk-button:hover { background: var(--mk-brand-dark); color: #fff; }
.mk-lang { display: flex; align-items: center; }
.mk-lang form { margin: 0; }
.mk-lang button { padding-inline: 8px; font-size: .82rem; }
.mk-main { min-height: calc(100vh - 280px); }
.mk-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.mk-hero { padding: 76px 0 46px; text-align: center; }
.mk-eyebrow {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--mk-soft);
    color: var(--mk-brand-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mk-hero h1 {
    max-width: 850px;
    margin: 18px auto 14px;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.mk-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--mk-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}
.mk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 68px;
}
.mk-card {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: 18px;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 12px 36px rgba(15,23,42,.05);
}
.mk-card h2, .mk-card h3 { margin-top: 0; line-height: 1.25; letter-spacing: -.02em; }
.mk-card p:last-child { margin-bottom: 0; }
.mk-card-wide { grid-column: 1 / -1; }
.mk-cta {
    margin: 0 auto 72px;
    padding: 38px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #312e81, #5b21b6);
    text-align: center;
}
.mk-cta h2 { margin: 0 0 8px; }
.mk-cta p { margin: 0 auto 20px; max-width: 680px; color: rgba(255,255,255,.84); }
.mk-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.mk-button-light { background: #fff; color: #312e81; }
.mk-button-light:hover { background: #eef2ff; color: #312e81; }
.mk-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 26px;
    align-items: start;
    padding-bottom: 74px;
}
.mk-benefits { display: grid; gap: 14px; }
.mk-benefit {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: start;
}
.mk-benefit-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--mk-soft);
    color: var(--mk-brand);
    font-weight: 900;
}
.mk-form { display: grid; gap: 16px; }
.mk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-field label, .mk-label { display: block; margin-bottom: 6px; font-weight: 750; }
.mk-field input, .mk-field select, .mk-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #b8c3d1;
    border-radius: 9px;
    background: #fff;
    color: var(--mk-text);
    font: inherit;
}
.mk-field textarea { min-height: 128px; resize: vertical; }
.mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus {
    outline: 3px solid rgba(79,70,229,.16);
    border-color: var(--mk-brand);
}
.mk-check { display: flex; align-items: flex-start; gap: 10px; color: var(--mk-muted); font-size: .9rem; }
.mk-check input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.mk-errors, .mk-success {
    border-radius: 10px;
    padding: 13px 15px;
    margin-bottom: 18px;
}
.mk-errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.mk-errors ul { margin: 0; padding-left: 20px; }
.mk-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.mk-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mk-note { color: var(--mk-muted); font-size: .88rem; }
.mk-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}
.mk-status-dot { width: 14px; height: 14px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 6px #f1f5f9; }
.mk-status[data-state="healthy"] .mk-status-dot { background: #16a34a; box-shadow: 0 0 0 6px #dcfce7; }
.mk-status[data-state="degraded"] .mk-status-dot { background: #d97706; box-shadow: 0 0 0 6px #fef3c7; }
.mk-footer { background: #0f172a; color: #cbd5e1; padding: 42px 0; }
.mk-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; }
.mk-footer h2, .mk-footer h3 { color: #fff; margin-top: 0; font-size: 1rem; }
.mk-footer a { display: block; min-height: 36px; color: #cbd5e1; text-decoration: none; }
.mk-footer a:hover { color: #fff; }
.mk-footer small { color: #94a3b8; }
.mk-mobile-menu { display: none; position: relative; }
.mk-mobile-menu summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--mk-border);
    border-radius: 12px;
    color: var(--mk-ink);
    cursor: pointer;
    list-style: none;
    font-size: 1.35rem;
}
.mk-mobile-menu summary::-webkit-details-marker { display: none; }
.mk-mobile-menu summary:focus-visible { outline: 3px solid rgba(79, 70, 229, .28); }
.mk-mobile-panel {
    position: absolute;
    z-index: 20;
    top: 52px;
    right: 0;
    width: min(260px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid var(--mk-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--mk-shadow);
}
.mk-mobile-panel > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 9px;
    color: var(--mk-ink);
    font-weight: 700;
    text-decoration: none;
}
.mk-mobile-panel > a:hover { background: var(--mk-soft); }
.mk-mobile-languages {
    display: flex;
    gap: 6px;
    padding: 8px 6px 2px;
    border-top: 1px solid var(--mk-border);
}
.mk-mobile-languages form { flex: 1; }
.mk-mobile-languages button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    background: var(--mk-soft);
    color: var(--mk-muted);
    font-weight: 800;
    cursor: pointer;
}
.mk-mobile-languages button[aria-current="true"] {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

@media (max-width: 900px) {
    .mk-links a:not(.mk-primary), .mk-lang { display: none; }
    .mk-mobile-menu { display: block; }
    .mk-layout { grid-template-columns: 1fr; }
    .mk-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .mk-nav { width: min(100% - 20px, 1180px); gap: 8px; }
    .mk-brand span:last-child { display: none; }
    .mk-links { gap: 2px; }
    .mk-links a { padding-inline: 10px; }
    .mk-shell { width: min(100% - 24px, 1120px); }
    .mk-hero { padding: 52px 0 34px; }
    .mk-grid, .mk-form-row { grid-template-columns: 1fr; }
    .mk-card-wide { grid-column: auto; }
    .mk-card { padding: 22px 18px; }
    .mk-cta { padding: 30px 20px; }
    .mk-footer-grid { grid-template-columns: 1fr; }
}
