/* Shared styling for the public (marketing) pages of scientio.com.
   The palette is taken from the Scientio and ThinkBase logos. */

:root {
    --mk-navy: #071426;
    --mk-navy-deep: #040c17;
    --mk-navy-panel: #0d2137;
    --mk-blue: #2f6fb0;
    --mk-blue-bright: #4a92df;
    --mk-blue-light: #b1d0f2;
    --mk-blue-pale: #dee9f2;
    --mk-text: #0d2137;
    --mk-text-muted: #4a5a6b;
    --mk-border: rgba(74, 146, 223, 0.25);
}

.mk-page {
    /* Break out of the padded .content container so sections can be full bleed. */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 80px;
    color: var(--mk-text);
    background: #fff;
    font-size: 1rem;
    line-height: 1.65;
}

.mk-page a {
    color: var(--mk-blue);
}

/* Public site header. Shares the palette of the marketing pages so that it sits
   on top of the hero without clashing with it. */
.mk-header {
    background: var(--mk-navy-deep);
    border-bottom: 1px solid var(--mk-border);
    color: #fff;
    font-size: 1rem;
    line-height: 1.65;
}

.mk-header__inner {
    max-width: 1100px;
    min-height: 48px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.mk-header__brand {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

/* Shared small logo: same size, spacing and rounded corners wherever it appears. */
.mk-logo {
    display: block;
    height: 32px;
    width: auto;
    border-radius: 8px;
    margin-right: 8px;
}

.mk-header__social,
.mk-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mk-header__social {
    gap: 14px;
}

.mk-header__nav {
    gap: 20px;
    font-size: 0.95rem;
}

.mk-header a {
    color: var(--mk-blue-light);
    text-decoration: none;
    font-weight: 500;
}

.mk-header a:hover,
.mk-header a:focus {
    color: #fff;
    text-decoration: none;
}

.mk-header__social a {
    display: inline-flex;
    align-items: center;
}

.mk-header__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor !important;
}

.mk-header .mk-button {
    padding: 8px 20px;
    font-size: 0.95rem;
}

.mk-header .mk-button,
.mk-header .mk-button:hover,
.mk-header .mk-button:focus {
    color: #04121f;
}

@media (max-width: 800px) {
    .mk-header__social {
        display: none;
    }
}

@media (max-width: 600px) {
    .mk-header__inner {
        padding-left: 16px;
        padding-right: 16px;
        gap: 12px;
    }

    .mk-header__nav {
        gap: 14px;
    }
}

.mk-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px;
}

.mk-section--narrow {
    max-width: 820px;
}

.mk-section--tint {
    max-width: none;
    background: var(--mk-blue-pale);
}

.mk-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.mk-hero {
    background: radial-gradient(circle at 20% 20%, var(--mk-navy-panel), var(--mk-navy-deep) 70%);
    color: #fff;
    padding: 72px 24px;
    text-align: center;
}

.mk-hero__inner {
    max-width: 900px;
    margin: 0 auto;
}

.mk-hero__logo {
    max-width: 420px;
    width: 80%;
    height: auto;
    margin-bottom: 24px;
    border-radius: 8px;
}

.mk-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #fff;
}

.mk-hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--mk-blue-light);
    margin: 0 auto 32px auto;
    max-width: 720px;
}

.mk-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mk-blue-bright);
    margin-bottom: 12px;
}

.mk-page h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: var(--mk-navy-panel);
    margin-top: 0;
}

.mk-page h3 {
    color: var(--mk-blue);
    margin-bottom: 8px;
}

.mk-lead {
    font-size: 1.1rem;
    color: var(--mk-text-muted);
}

.mk-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.mk-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--mk-blue-bright);
    background: var(--mk-blue-bright);
    color: #04121f;
    transition: background 0.15s ease-in-out, color 0.15s ease-in-out;
}

.mk-button:hover,
.mk-button:focus {
    background: var(--mk-blue-light);
    border-color: var(--mk-blue-light);
    text-decoration: none;
}

.mk-button--ghost {
    background: transparent;
    color: var(--mk-blue-light);
}

.mk-button--ghost:hover,
.mk-button--ghost:focus {
    background: rgba(74, 146, 223, 0.18);
    color: #fff;
}

.mk-note {
    font-size: 0.9rem;
    color: var(--mk-blue-light);
}

.mk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.mk-card {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-top: 4px solid var(--mk-blue);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(13, 33, 55, 0.08);
}

.mk-card h3 {
    margin-top: 0;
}

.mk-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.mk-card--highlight {
    border-top-color: var(--mk-blue-bright);
    background: linear-gradient(180deg, #fff, var(--mk-blue-pale));
}

.mk-steps {
    counter-reset: mk-step;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.mk-steps li {
    counter-increment: mk-step;
    padding-left: 48px;
    position: relative;
}

.mk-steps li::before {
    content: counter(mk-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mk-blue);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.mk-media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
}

.mk-legal {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 96px 24px;
}

.mk-legal h2 {
    margin-top: 36px;
    border-bottom: 1px solid var(--mk-border);
    padding-bottom: 6px;
}

.mk-legal h3 {
    margin-top: 24px;
}

.mk-legal__updated {
    color: var(--mk-text-muted);
    font-style: italic;
}

.mk-callout {
    background: var(--mk-navy-panel);
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.mk-callout h2 {
    color: #fff;
}

.mk-callout p {
    color: var(--mk-blue-light);
}

.mk-footnote {
    color: var(--mk-text-muted);
    font-size: 0.9rem;
}

.mk-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.mk-badges img {
    max-height: 60px;
    width: auto;
}

@media (max-width: 600px) {
    .mk-section,
    .mk-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mk-card {
        padding: 20px;
    }
}

.mk-gallery {
    margin: 24px 0 48px 0;
}

.mk-support-chat {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: 12px;
    padding: 16px;
    min-height: 480px;
}
