.mk-homepage {
    --mk-homepage-ink: #1f2a3a;
    --mk-homepage-muted: #52616f;
    --mk-homepage-surface: #f3f6f8;
    --mk-homepage-line: #d9e1e7;
    --mk-homepage-accent: #ff6a00;
    --mk-homepage-accent-dark: #c95000;
    color: var(--mk-homepage-ink);
    overflow: hidden;
}

.mk-homepage__container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.mk-homepage__hero,
.mk-homepage__section,
.mk-homepage__final-cta {
    padding: clamp(56px, 8vw, 112px) 0;
}

.mk-homepage__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(125deg, #f5f8fa 0%, #ffffff 62%);
    border-bottom: 1px solid var(--mk-homepage-line);
}

.mk-homepage__hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #f5f8fa 0%, rgba(245, 248, 250, 0.92) 40%, rgba(245, 248, 250, 0.18) 70%, rgba(245, 248, 250, 0.05) 100%);
}

.mk-homepage__hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.mk-homepage__hero-grid,
.mk-homepage__split {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.mk-homepage__eyebrow,
.mk-homepage__panel-label {
    margin: 0 0 14px;
    color: var(--mk-homepage-accent-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.mk-homepage h1,
.mk-homepage h2,
.mk-homepage h3 {
    color: var(--mk-homepage-ink);
}

.mk-homepage h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.35rem, 5.4vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.mk-homepage h2 {
    max-width: 22ch;
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.mk-homepage__lead {
    max-width: 60ch;
    margin: 28px 0 0;
    color: var(--mk-homepage-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.mk-homepage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.mk-homepage__button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.mk-homepage__button--primary {
    background: var(--mk-homepage-accent);
    color: #ffffff;
}

.mk-homepage__button--primary:hover {
    background: var(--mk-homepage-accent-dark);
    color: #ffffff;
}

.mk-homepage__button--secondary {
    border-color: var(--mk-homepage-ink);
    color: var(--mk-homepage-ink);
}

.mk-homepage__button--secondary:hover {
    background: var(--mk-homepage-ink);
    color: #ffffff;
}

.mk-homepage__hero-panel {
    padding: clamp(24px, 4vw, 36px);
    background: var(--mk-homepage-ink);
    border-radius: 8px;
    color: #ffffff;
}

.mk-homepage__hero-panel p:not(.mk-homepage__panel-label) {
    margin: 0 0 24px;
}

.mk-homepage__hero-panel a,
.mk-homepage__hero-panel span {
    display: block;
    color: #ffffff;
}

.mk-homepage__hero-panel a {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}

.mk-homepage__section--surface {
    background: var(--mk-homepage-surface);
}

.mk-homepage__section-heading {
    margin-bottom: 36px;
}

.mk-homepage__product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--mk-homepage-line);
    border-left: 1px solid var(--mk-homepage-line);
}

.mk-homepage__product-card {
    display: flex;
    min-height: 225px;
    flex-direction: column;
    padding: clamp(22px, 3vw, 32px);
    border-right: 1px solid var(--mk-homepage-line);
    border-bottom: 1px solid var(--mk-homepage-line);
    background: #ffffff;
}

.mk-homepage__product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: -4px 0 22px;
    object-fit: cover;
}

.mk-homepage__product-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.mk-homepage__product-card p,
.mk-homepage__benefit-list p,
.mk-homepage__faq-list p {
    color: var(--mk-homepage-muted);
}

.mk-homepage__product-card a,
.mk-homepage__text-link {
    margin-top: auto;
    color: var(--mk-homepage-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.mk-homepage__benefit-list {
    display: grid;
    gap: 20px;
}

.mk-homepage__benefit-list p {
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--mk-homepage-accent);
}

.mk-homepage__benefit-list strong {
    color: var(--mk-homepage-ink);
}

.mk-homepage__process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: mk-process;
}

.mk-homepage__process-list li {
    counter-increment: mk-process;
    min-height: 180px;
    padding: 22px;
    border-top: 3px solid var(--mk-homepage-accent);
    background: #ffffff;
}

.mk-homepage__process-list strong::before {
    content: "0" counter(mk-process);
    display: block;
    margin-bottom: 18px;
    color: var(--mk-homepage-accent-dark);
    font-size: 0.9rem;
}

.mk-homepage__process-list span {
    display: block;
    margin-top: 8px;
    color: var(--mk-homepage-muted);
}

.mk-homepage__faq-wrap {
    max-width: 860px;
}

.mk-homepage__faq-list {
    border-top: 1px solid var(--mk-homepage-line);
}

.mk-homepage__faq-list details {
    border-bottom: 1px solid var(--mk-homepage-line);
}

.mk-homepage__faq-list summary {
    padding: 20px 36px 20px 0;
    font-weight: 700;
    cursor: pointer;
}

.mk-homepage__faq-list p {
    max-width: 65ch;
    margin: 0 0 20px;
}

.mk-homepage__text-link {
    display: inline-block;
    margin-top: 28px;
}

.mk-homepage__final-cta {
    background: var(--mk-homepage-ink);
    color: #ffffff;
    text-align: center;
}

.mk-homepage__final-cta h2,
.mk-homepage__final-cta p {
    margin-right: auto;
    margin-left: auto;
    color: #ffffff;
}

.mk-homepage__final-cta h2 {
    max-width: none;
}

.mk-homepage__final-cta p {
    max-width: 52ch;
    margin-top: 16px;
}

.mk-homepage__final-cta .mk-homepage__actions {
    justify-content: center;
}

.mk-homepage__button--light {
    border-color: #ffffff;
    color: #ffffff;
}

.mk-homepage__button--light:hover {
    background: #ffffff;
    color: var(--mk-homepage-ink);
}

.mk-homepage a:focus-visible,
.mk-mobile-sticky a:focus-visible,
.mk-homepage summary:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
}

.mk-mobile-sticky {
    gap: 8px;
}

.mk-mobile-sticky a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--mk-homepage-ink);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.mk-mobile-sticky a:last-child {
    background: var(--mk-homepage-accent);
    color: #ffffff;
    border-radius: 4px;
}

@media (max-width: 850px) {
    .mk-homepage__hero-grid,
    .mk-homepage__split,
    .mk-homepage__product-grid,
    .mk-homepage__process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-homepage__hero-content,
    .mk-homepage__split > :first-child {
        grid-column: 1 / -1;
    }

    .mk-homepage__hero::after {
        background: linear-gradient(90deg, rgba(245, 248, 250, 0.95), rgba(245, 248, 250, 0.72));
    }
}

@media (max-width: 600px) {
    .mk-homepage__container {
        width: min(100% - 32px, 1180px);
    }

    .mk-homepage__hero,
    .mk-homepage__section,
    .mk-homepage__final-cta {
        padding: 52px 0;
    }

    .mk-homepage__product-grid,
    .mk-homepage__process-list {
        grid-template-columns: 1fr;
    }

    .mk-homepage__actions,
    .mk-homepage__button {
        width: 100%;
    }

    .mk-homepage__button {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-homepage *,
    .mk-mobile-sticky * {
        scroll-behavior: auto;
    }
}
