/* Marketing pages: sections, features, steps, plans, FAQ, comparison table. */
.section {
    padding: 96px 0;
}

.section--tint {
    background: var(--m-canvas);
}

.section-title {
    max-width: 22em;
    margin: 0 auto 14px;
    color: var(--m-ink);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-align: center;
}

.section-subtitle {
    max-width: 40em;
    margin: 0 auto 56px;
    color: var(--m-muted);
    font-size: 1.05rem;
    text-align: center;
}

/* ── Features ───────────────────────────────────────────── */
.feature-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    background: var(--m-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
    border-color: var(--m-brand);
    box-shadow: 0 20px 40px -26px rgba(111, 66, 193, 0.55);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--m-brand-soft);
    color: var(--m-brand);
}

.feature-title {
    margin: 0 0 8px;
    color: var(--m-ink);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-description {
    margin: 0;
    color: var(--m-muted);
    font-size: 0.95rem;
}

/* ── How it works ───────────────────────────────────────── */
.mk-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mk-steps::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--m-line-strong);
}

.mk-step {
    position: relative;
    text-align: center;
}

.mk-step__num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 2px solid var(--m-brand);
    border-radius: 50%;
    background: var(--m-surface);
    color: var(--m-brand-strong);
    font-size: 1.05rem;
    font-weight: 700;
}

.mk-step__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
}

.mk-step__text {
    max-width: 16em;
    margin: 0 auto;
    color: var(--m-muted);
    font-size: 0.92rem;
}

/* ── Plans ──────────────────────────────────────────────── */
.billing-toggle {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--m-line);
    border-radius: 12px;
    background: var(--m-canvas);
}

.billing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--m-muted);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.billing-toggle-btn.active {
    border-color: var(--m-brand);
    background: var(--m-surface);
    color: var(--m-ink);
}

.billing-toggle-badge {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--m-green-soft);
    color: #17724d;
    font-size: 0.72rem;
    font-weight: 700;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 26px;
    border: 1px solid var(--m-line);
    border-radius: 24px;
    background: var(--m-surface);
}

.pricing-card.featured {
    margin-top: -12px;
    padding-top: 40px;
    border-color: var(--m-brand);
    box-shadow: 0 0 0 1px var(--m-brand), 0 30px 60px -34px rgba(111, 66, 193, 0.6);
}

.pricing-badge {
    position: absolute;
    top: 14px;
    right: 18px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--m-brand-soft);
    color: var(--m-brand-strong);
    font-size: 0.74rem;
    font-weight: 700;
}

.pricing-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

/* Who the plan is for. The fixed height keeps the four prices on one line. */
.pricing-tagline {
    min-height: 2.6em;
    margin: -6px 0 14px;
    color: var(--m-muted);
    font-size: 0.88rem;
    line-height: 1.3;
}

.mk-plan-note {
    margin: 28px 0 0;
    color: var(--m-muted);
    font-size: 0.88rem;
    text-align: center;
}

.pricing-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    color: var(--m-ink);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

/* Six-digit amounts ("720 000") must fit a card: the currency stays small beside the number. */
.pricing-price .pricing-amount {
    font-size: clamp(1.9rem, 2.6vw, 2.35rem);
    white-space: nowrap;
}

.pricing-price .pricing-cur {
    color: var(--m-muted);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.pricing-period {
    margin: 4px 0 20px;
    color: var(--m-muted);
    font-size: 0.88rem;
}

.pricing-features {
    flex: 1;
    margin: 0 0 24px;
    padding: 18px 0 0;
    border-top: 1px solid var(--m-line);
    list-style: none;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    color: var(--m-ink-2);
    font-size: 0.93rem;
}

.pricing-feature svg {
    flex: none;
    margin-top: 5px;
    stroke: var(--m-green);
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--m-line-strong);
    border-radius: 10px;
    background: var(--m-surface);
    color: var(--m-ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.pricing-btn:hover {
    border-color: var(--m-brand);
    background: var(--m-brand-soft);
    color: var(--m-brand-strong);
}

.pricing-card.featured .pricing-btn {
    border-color: var(--m-brand);
    background: var(--m-brand);
    color: #fff;
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--m-brand-strong);
}

.mk-more {
    margin-top: 36px;
    text-align: center;
}

/* ── Comparison table ───────────────────────────────────── */
.mk-compare {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    background: var(--m-surface);
}

.mk-compare table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.mk-compare th,
.mk-compare td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--m-line);
    font-size: 0.94rem;
    text-align: center;
}

.mk-compare th:first-child,
.mk-compare td:first-child {
    color: var(--m-ink-2);
    font-weight: 500;
    text-align: left;
}

.mk-compare thead th {
    background: var(--m-canvas);
    color: var(--m-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.mk-compare tbody tr:last-child td {
    border-bottom: 0;
}

.mk-compare .is-featured {
    background: rgba(111, 66, 193, 0.05);
}

.mk-compare thead .is-featured {
    background: var(--m-brand-soft);
    color: var(--m-brand-strong);
}

.mk-yes {
    color: var(--m-green);
    font-size: 1.15rem;
}

.mk-no {
    color: #b9b2cc;
}

/* ── FAQ ────────────────────────────────────────────────── */
.mk-faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 56px;
    align-items: start;
}

.mk-faq__title {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.mk-faq__lead {
    color: var(--m-muted);
}

.mk-faq__item {
    border-bottom: 1px solid var(--m-line);
}

.mk-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    color: var(--m-ink);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.mk-faq__item summary::-webkit-details-marker {
    display: none;
}

.mk-faq__item summary::after {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 50%;
    background: var(--m-brand-soft);
    color: var(--m-brand-strong);
    font-size: 1.2rem;
    font-weight: 500;
    transition: transform 0.2s;
}

.mk-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.mk-faq__answer {
    max-width: 38em;
    padding: 0 0 22px;
    color: var(--m-muted);
    font-size: 0.97rem;
}

/* ── Pricing page hero ──────────────────────────────────── */
.mk-pricing-hero {
    position: relative;
    padding: 80px 0 72px;
    overflow: hidden;
    text-align: center;
}

.mk-pricing-hero::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -10%;
    width: 130%;
    height: 280px;
    background: linear-gradient(90deg, rgba(111, 66, 193, 0) 0%, rgba(111, 66, 193, 0.09) 50%, rgba(63, 123, 224, 0.07) 100%);
    transform: rotate(-7deg);
    pointer-events: none;
}

.mk-pricing-hero .container {
    position: relative;
}

.mk-pricing-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--m-brand-strong);
    font-size: 0.95rem;
    font-weight: 600;
}

.mk-pricing-hero__title {
    max-width: 14em;
    margin: 0 auto 20px;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.06;
    text-wrap: balance;
}

.mk-pricing-hero__title em {
    display: block;
    color: var(--m-brand);
    font-style: normal;
}

.mk-pricing-hero__sub {
    max-width: 34em;
    margin: 0 auto 28px;
    color: var(--m-ink-2);
    font-size: 1.1rem;
}

.mk-pricing-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
}

.mk-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 40px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--m-line);
}

.mk-fact strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.mk-fact span {
    color: var(--m-muted);
    font-size: 0.86rem;
}

@media (max-width: 991.98px) {
    .section {
        padding: 72px 0;
    }

    .mk-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
    }

    .mk-steps::before {
        display: none;
    }

    .mk-faq {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pricing-card.featured {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 56px 0;
    }

    .mk-steps {
        grid-template-columns: 1fr;
    }

    .section-subtitle {
        margin-bottom: 36px;
    }
}
