/* Landing / marketing — self-hosted (CSP sem CDN) */

.mk-body {
    margin: 0;
    min-height: 100vh;
    background: var(--mk-bg, #f2f3ff);
    color: var(--mk-ink, #131b2e);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.mk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(195, 198, 215, 0.5);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.mk-header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mk-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.mk-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, #1a4e8e, #143968);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-logo-text {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.mk-logo-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.mk-logo-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    background: #dbe1ff;
    color: #003ea8;
}

.mk-logo-sub {
    font-size: 0.75rem;
    color: #434655;
    margin-left: 0.25rem;
}

.mk-nav {
    gap: 0.25rem;
    margin-left: auto;
    margin-right: 1rem;
}

.mk-nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #434655;
    font-weight: 600;
    font-size: 0.875rem;
}

.mk-nav-link:hover {
    background: #eaedff;
    color: #131b2e;
}

.mk-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mk-clock-pill {
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f2f3ff;
    font-size: 0.75rem;
    color: #434655;
}

.mk-clock-pill strong {
    color: #131b2e;
    font-variant-numeric: tabular-nums;
}

.mk-pulse {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #e87722;
    box-shadow: 0 0 0 0 rgba(232, 119, 34, 0.5);
    animation: mk-pulse 2s infinite;
}

@keyframes mk-pulse {
    70% { box-shadow: 0 0 0 6px rgba(232, 119, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 119, 34, 0); }
}

.mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.mk-btn-primary {
    background: #1a4e8e;
    color: #fff;
    box-shadow: 0 1px 2px rgba(26, 78, 142, 0.2);
}

.mk-btn-primary:hover {
    background: #143968;
    color: #fff;
}

.mk-btn-secondary {
    background: #eaedff;
    color: #1a4e8e;
}

.mk-btn-secondary:hover {
    background: #dae2fd;
    color: #143968;
}

.mk-btn-lg {
    min-height: 3rem;
    padding: 0 1.5rem;
    font-size: 0.9375rem;
}

.mk-btn-sm {
    min-height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.8125rem;
}

.mk-main {
    padding-top: 4rem;
    min-height: calc(100vh - 4rem);
}

.mk-page {
    position: relative;
    overflow: hidden;
}

.mk-glow-a,
.mk-glow-b {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    opacity: 0.45;
}

.mk-glow-a {
    width: 24rem;
    height: 24rem;
    top: -8rem;
    right: 20%;
    background: rgba(26, 78, 142, 0.12);
}

.mk-glow-b {
    width: 20rem;
    height: 20rem;
    top: 40%;
    left: -5rem;
    background: rgba(232, 119, 34, 0.1);
}

.mk-container {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

@media (min-width: 992px) {
    .mk-container {
        padding: 3rem 2rem 4rem;
    }
}

.mk-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mk-banner {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mk-banner-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #434655;
    margin: 0 0 0.15rem;
}

.mk-banner strong {
    font-size: 1rem;
    font-weight: 600;
}

.mk-banner-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #f2f3ff;
    color: #1a4e8e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-banner-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mk-banner-note {
    font-size: 0.75rem;
    color: #737686;
    max-width: 20rem;
}

.mk-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .mk-hero-grid {
        grid-template-columns: 7fr 5fr;
    }
}

.mk-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
    .mk-card-hero {
        padding: 2.5rem;
    }
    .mk-card-panel {
        padding: 2rem;
    }
}

.mk-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eaedff;
    color: #1a4e8e;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.mk-h1 {
    font-size: clamp(1.75rem, 4vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: #131b2e;
}

.mk-h1 em {
    font-style: normal;
    color: #1a4e8e;
}

.mk-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #434655;
    margin: 0 0 1.5rem;
    max-width: 36rem;
}

.mk-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .mk-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.mk-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e7ff;
    font-size: 0.75rem;
    color: #434655;
}

.mk-badges-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mk-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mk-panel-head h2 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.mk-panel-head p {
    font-size: 0.75rem;
    color: #434655;
    margin: 0.15rem 0 0;
}

.mk-live-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #005b7c;
    background: #f2f3ff;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.mk-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mk-metric {
    background: #f2f3ff;
    border-radius: 0.75rem;
    padding: 1rem;
    min-height: 6.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.15s;
}

.mk-metric:hover {
    background: #eaedff;
}

.mk-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.mk-metric-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: #fff;
    color: #1a4e8e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-metric-label {
    font-size: 0.6875rem;
    color: #737686;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mk-metric-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #131b2e;
    line-height: 1.2;
}

.mk-metric-desc {
    font-size: 0.75rem;
    color: #434655;
    margin-top: 0.15rem;
}

.mk-panel-foot {
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.75rem;
    color: #434655;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mk-legal {
    background: #f2f3ff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.mk-legal h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mk-pill-warn {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #dae2fd;
    color: #131b2e;
}

.mk-legal p {
    font-size: 0.8125rem;
    color: #434655;
    margin: 0;
    max-width: 40rem;
}

.mk-section-head {
    margin-bottom: 1.5rem;
}

.mk-section-kicker {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a4e8e;
    margin: 0 0 0.35rem;
}

.mk-section-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.mk-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mk-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mk-feature {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: box-shadow 0.15s;
}

.mk-feature:hover {
    box-shadow: 0 8px 24px rgba(26, 78, 142, 0.08);
}

.mk-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: #f2f3ff;
    color: #1a4e8e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-feature h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.mk-feature p {
    font-size: 0.875rem;
    color: #434655;
    margin: 0;
    line-height: 1.55;
}

.mk-footer {
    background: #f2f3ff;
    border-top: 1px solid #e2e7ff;
    padding: 1rem;
}

.mk-footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #434655;
    text-align: center;
}

@media (min-width: 768px) {
    .mk-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.mk-footer-meta a {
    color: #1a4e8e;
    font-weight: 600;
}

.mk-auth-page {
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.mk-auth-page .auth-card {
    border: none;
    box-shadow: 0 12px 40px rgba(26, 78, 142, 0.1);
}
