/* Pricing page: use the same theme and assets as the public homepage. */
.cost-page {
    --cost-ink: var(--title-text-color, #252422);
    --cost-muted: var(--main-text-color, #444444);
    --cost-line: var(--dark-grey-color, #e5e5e5);
    --cost-accent: var(--primary-background-color, #EB5E28);
    --cost-accent-hover: var(--primary-background-dark-color, #ff4800);
    --cost-soft: var(--grey-color, #f4f4f4);
    padding-top: 30px;
    padding-bottom: 30px;
    color: var(--cost-muted);
    line-height: 24px;
    font-size: 14px;
}

.cost-page *,
.cost-page *::before,
.cost-page *::after {
    box-sizing: border-box;
}

.cost-page h1,
.cost-page h2,
.cost-page h3 {
    margin-top: 0;
    color: var(--cost-ink);
    font-family: inherit;
    font-weight: 700;
}

.cost-page h1 {
    max-width: 900px;
    margin-bottom: 24px;
    color: var(--cost-ink);
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.cost-page h1 span {
    display: block;
    color: inherit;
}

.cost-page h2 {
    margin-bottom: 16px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.cost-page h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.cost-page p {
    margin-top: 0;
}

.cost-page .cost-hero {
    margin-bottom: 60px;
}

.cost-hero p {
    max-width: 800px;
    margin-bottom: 0;
    color: var(--cost-muted);
}

.cost-hero p + p {
    margin-top: 16px;
}

.cost-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--cost-accent);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cost-eyebrow::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
}

.cost-page .cost-section {
    margin-bottom: 60px;
    padding: 0;
    scroll-margin-top: 95px;
}

.cost-section-head {
    max-width: 800px;
    margin-bottom: 30px;
}

.cost-lead {
    margin-bottom: 0;
    color: var(--cost-muted);
}

.cost-grid,
.cost-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px 24px;
}

.cost-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cost-feature,
.cost-step {
    min-width: 0;
    border: 1px solid var(--cost-line);
    border-radius: 16px;
}

.cost-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    display: block;
    margin: 0 auto;
    color: var(--cost-accent);
}

.cost-feature p,
.cost-step p,
.cost-text-block p {
    margin-bottom: 0;
    color: var(--cost-muted);
}

.cost-page .cost-value,
.cost-page .cost-statement {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 30px;
}

.cost-page .cost-value {
    align-items: start;
}

.cost-value p {
    margin-bottom: 0;
    color: var(--cost-muted);
}

.cost-checks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cost-checks li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 34px;
    color: var(--cost-muted);
}

.cost-checks li:last-child {
    margin-bottom: 0;
}

.cost-checks li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--orange-background, #FDEFE9);
}

.cost-checks li::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 7px;
    width: 8px;
    height: 5px;
    border-bottom: 2px solid var(--cost-accent);
    border-left: 2px solid var(--cost-accent);
    transform: rotate(-45deg);
}

.cost-checks strong {
    color: var(--cost-ink);
}

.cost-visual {
    position: relative;
    align-self: stretch;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--menu-color-top, #1C1D26);
}

.cost-visual img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cost-visual figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(28, 29, 38, .8);
    color: #fff;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: .18em;
}

.cost-note {
    margin-top: 20px;
    padding: 16px;
    border-left: 3px solid var(--cost-accent);
    border-radius: 0 12px 12px 0;
    background: var(--orange-background, #FDEFE9);
    color: var(--cost-muted);
}

.cost-page .cost-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 28px;
    padding: 50px 30px;
    border-radius: 20px;
    background: var(--menu-color-top, #1C1D26);
    color: var(--white-color, #fff);
}

.cost-cta h2 {
    margin-bottom: 8px;
    color: inherit;
    font-size: 26px;
}

.cost-cta p {
    max-width: 680px;
    margin-bottom: 0;
    color: #dedee2;
}

.cost-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.cost-button:focus-visible {
    outline: 3px solid var(--white-color, #fff);
    outline-offset: 4px;
}

.cost-page .cost-legal {
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid var(--cost-line);
    color: var(--light-grey-color, #777);
}

.cost-feature:hover h3,
.cost-step:hover h3 {
    color: var(--hover-collor, #ff682c);
}

@media (max-width: 991px) {
    .cost-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cost-page .cost-statement,
    .cost-page .cost-value {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cost-page .cost-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .cost-page {
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .cost-page .cost-hero {
        margin-bottom: 44px;
    }

    .cost-page .cost-section {
        margin-bottom: 44px;
    }

    .cost-grid,
    .cost-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .cost-page .cost-cta {
        border-radius: 16px;
    }

    .cost-visual {
        min-height: 220px;
    }

    .cost-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cost-feature,
    .cost-step,
    .cost-button {
        transition: none;
    }

    .cost-feature:hover,
    .cost-step:hover {
        transform: none;
    }
}
