/*
 * Product page: rm/product-hero, rm/plans, rm/comparison. Values from staging
 * Product post-1032.css, popup post-2694.css, rm-elementor-theme comparison-table.css and
 * getComputedStyle at 1440 / 390:
 *   hero 68d69fa7 margin 70px 0 (60px 0 / padding 0 25px ≤1024; 0 / 0 20px ≤767), gap 20px
 *     (15px ≤1024); title 72% wide, Work Sans 88/1 ls -3px (48/1.2 ≤1024, 38/1.2 ≤767),
 *     accent #FF3E3E; text 20/300/1.2 #6A6A6A (18px ≤1024), paragraph margin 1em 0.
 *   plans and comparison: redesigned 2026-11-26 (features only, no prices); see "Plans" below.
 */

/* Hero */
.rm-product-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: var(--rm-container);
    margin: 70px auto;
}

.rm-product-hero__title {
    width: 72%;
    margin: 0;
    color: var(--rm-black);
    font-size: 88px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
}

.rm-product-hero__title .rm-accent {
    color: var(--rm-title-accent, var(--rm-red));
}

.rm-product-hero__title--medium {
    font-size: 64px;
    letter-spacing: -2px;
}

.rm-product-hero__title--small {
    font-size: 48px;
    letter-spacing: -1.5px;
}

/* Hero with a video: the Home hero's rounded box (hero-box.css), title bottom-left in white */
.rm-product-hero--video {
    box-sizing: border-box;
    margin-top: 30px;
    padding: 0 var(--rm-gutter);
}

.rm-product-hero__box {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    background: #191919 center / cover no-repeat;
}

.rm-product-hero__box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--rm-hero-box-gradient);
}

.rm-product-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 62%;
}

.rm-product-hero--video .rm-product-hero__title {
    width: 100%;
    color: var(--rm-white);
}

.rm-product-hero--video .rm-product-hero__text {
    margin: 0;
    color: var(--rm-white);
}

.rm-product-hero__text {
    width: 100%;
    margin: 1em 0;
    color: var(--rm-grey);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
}

/*
 * Plans (rm/plans) and the comparison (rm/comparison) share one column grid, so each plan
 * column of the comparison sits under its card: a title column, then one column per plan
 * (--rm-plans-n, set inline by both blocks). No prices; features are compared only below the
 * cards: the features that differ as a table, the features every plan has as chips. The last
 * plan is the highlighted one (blurple border and column head, red badge).
 */
.rm-plans,
.rm-comparison {
    --rm-plans-cols: minmax(0, 1.15fr) repeat(var(--rm-plans-n, 2), minmax(0, 1fr));
    --rm-plans-gap: 24px;
    padding: 0 40px;
}

.rm-plans {
    margin: 100px 0 0;
}

.rm-plans__inner,
.rm-comparison__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.rm-plans__inner {
    display: grid;
    grid-template-columns: var(--rm-plans-cols);
    gap: var(--rm-plans-gap);
}

.rm-plans__title {
    align-self: end;
    margin: 0;
    padding: 0 24px 8px 0;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.rm-plan {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 32px 30px 30px;
    border: 1px solid rgba(41, 41, 41, .1);
    border-radius: 32px;
    background: var(--rm-grey-light);
}

.rm-plan--featured {
    border: 2px solid var(--rm-blurple);
    background: var(--rm-white);
}

.rm-plan__badge {
    padding: 5px 11px;
    border-radius: 80px;
    background: var(--rm-grey);
    color: var(--rm-white);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .06em;
}

.rm-plan--featured .rm-plan__badge {
    background: var(--rm-red);
}

.rm-plan__name {
    margin: 10px 0 0;
    font-size: var(--rm-type-24);
    font-weight: 400;
    line-height: 1.1;
}

.rm-plan__description {
    flex: 1;
    margin: 12px 0 22px;
    color: #4A4A55;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.45;
}

.rm-plan__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 80px;
    background: var(--rm-black);
    color: var(--rm-white);
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color var(--rm-dur-fast) var(--rm-ease);
}

.rm-plan--featured .rm-plan__button {
    background: var(--rm-blurple);
}

a.rm-plan__button:hover,
a.rm-plan__button:focus-visible {
    background: #000;
}

.rm-plan--featured a.rm-plan__button:hover,
.rm-plan--featured a.rm-plan__button:focus-visible {
    background: #4B42E8;
}

a.rm-plan__button:focus-visible {
    outline: 2px solid var(--rm-blurple);
    outline-offset: 3px;
}

/* Comparison: the features that differ */
.rm-comparison {
    margin: 48px 0 100px;
    scroll-margin-top: 100px;
}

.rm-cmp__row {
    display: grid;
    grid-template-columns: var(--rm-plans-cols);
    column-gap: var(--rm-plans-gap);
    align-items: stretch;
}

.rm-cmp__row > * {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(41, 41, 41, .09);
}

.rm-cmp__row--head > * {
    align-items: flex-end;
    padding: 14px 0 12px;
    border-bottom: 2px solid var(--rm-black);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.rm-cmp__row--head > .rm-cmp__lead {
    font-size: var(--rm-type-24);
    font-weight: 400;
}

.rm-cmp__lead-title {
    margin: 0;
    font: inherit;
}

.rm-cmp__row--head > .rm-cmp__plan--featured {
    border-bottom-color: var(--rm-blurple);
    color: var(--rm-blurple);
}

.rm-cmp__row--group > .rm-cmp__group {
    grid-column: 1 / -1;
    padding: 22px 0 6px;
    border-bottom: 0;
    color: var(--rm-grey);
    font-size: 14px;
    font-weight: 600;
}

.rm-cmp__feature {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.rm-cmp__state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

.rm-cmp__state--yes {
    font-weight: 400;
}

.rm-cmp__state--no {
    color: #8E8D9C;
}

.rm-cmp__icon {
    flex: none;
    width: 22px;
    height: 22px;
}

.rm-cmp__icon--sm {
    width: 18px;
    height: 18px;
}

.rm-cmp__icon--yes circle {
    fill: var(--rm-blurple);
}

.rm-cmp__icon--yes path {
    fill: none;
    stroke: var(--rm-white);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-cmp__icon--no circle {
    fill: none;
    stroke: #C9C8D6;
    stroke-width: 1.5;
}

.rm-cmp__icon--no path {
    stroke: #ABAABB;
    stroke-width: 1.6;
    stroke-linecap: round;
}

/* Comparison: the features every plan has */
.rm-cmp-shared {
    display: grid;
    grid-template-columns: var(--rm-plans-cols);
    column-gap: var(--rm-plans-gap);
    margin-top: 44px;
    padding-top: 28px;
    border-top: 2px solid var(--rm-black);
}

.rm-comparison__inner > .rm-cmp-shared:first-child {
    margin-top: 0;
}

.rm-cmp-shared__title {
    margin: 0;
    padding-right: 24px;
    font-size: var(--rm-type-24);
    font-weight: 400;
    line-height: 1.2;
}

.rm-cmp-shared__groups {
    display: grid;
    grid-column: 2 / -1;
    gap: 20px;
}

.rm-cmp-shared__group-title {
    margin: 0 0 10px;
    color: var(--rm-grey);
    font-size: 14px;
    font-weight: 600;
}

.rm-cmp-shared__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-cmp-shared__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 9px;
    border-radius: 80px;
    background: var(--rm-lavender);
    font-size: 15px;
    line-height: 1.2;
}

/*
 * Shared blocks on Product (rm/logo-strip, rm/get-started) as staging's Product page draws them:
 * logo section 55aa213d margin 80px 0, no side padding, centred, title ls -3px (1.05 line
 * height, gap 15px ≤767); the empty spacer container after Get started (4085716: 100px spacer
 * plus 10px padding top and bottom).
 */
.rm-logo-section--product {
    max-width: none;
    margin: 80px 0;
    padding: 0;
}

.rm-logo-section--product .rm-logo-section__inner {
    align-items: center;
}

.rm-logo-section--product .rm-logo-section__title {
    letter-spacing: -3px;
}

.rm-get-started--product {
    margin-bottom: 120px;
}


@media (max-width: 1024px) {
    .rm-product-hero {
        gap: 15px;
        margin: 60px 0;
        padding: 0 25px;
    }

    .rm-product-hero__title {
        width: 100%;
        font-size: 48px;
        line-height: 1.2;
    }

    .rm-product-hero__title--medium {
        font-size: 35px;
        letter-spacing: -2px;
    }

    .rm-product-hero__title--small {
        font-size: 26px;
        letter-spacing: -1.5px;
    }

    .rm-product-hero__box {
        min-height: 480px;
        padding: 28px;
        border-radius: 32px;
    }

    .rm-product-hero__content {
        width: 80%;
    }

    .rm-product-hero__text {
        font-size: 18px;
    }

    .rm-plans,
    .rm-comparison {
        --rm-plans-cols: minmax(0, 1.3fr) repeat(var(--rm-plans-n, 2), minmax(0, 1fr));
        --rm-plans-gap: 16px;
        padding: 0 25px;
    }

    .rm-plans {
        margin-top: 70px;
    }

    .rm-plans__inner {
        grid-template-columns: repeat(var(--rm-plans-n, 2), minmax(0, 1fr));
    }

    .rm-plans__title {
        grid-column: 1 / -1;
        padding: 0 0 8px;
        font-size: var(--rm-type-80);
    }

    .rm-plan {
        padding: 28px 24px;
        border-radius: 28px;
    }

    .rm-comparison {
        margin: 40px 0 80px;
    }

    .rm-cmp-shared {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 18px;
    }

    .rm-cmp-shared__groups {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .rm-product-hero {
        margin: 0;
        padding: 0 20px;
    }

    .rm-product-hero__title {
        font-size: 38px;
    }

    .rm-product-hero__title--medium {
        font-size: 28px;
    }

    .rm-product-hero__title--small {
        font-size: 21px;
    }

    .rm-product-hero--video {
        margin-top: 20px;
    }

    .rm-product-hero__box {
        min-height: 420px;
        padding: 24px 20px;
        border-radius: 28px;
    }

    .rm-product-hero__box::before {
        background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .15) 100%);
    }

    .rm-product-hero__content {
        width: 100%;
    }

    .rm-logo-section--product .rm-logo-section__title {
        line-height: 1.05;
    }

    .rm-plans,
    .rm-comparison {
        --rm-plans-cols: minmax(0, 1.6fr) repeat(var(--rm-plans-n, 2), minmax(0, 1fr));
        --rm-plans-gap: 8px;
        padding: 0 20px;
    }

    .rm-plans__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 12px;
    }

    .rm-plan {
        padding: 24px 22px;
        border-radius: 26px;
    }

    .rm-plan__button {
        align-self: stretch;
    }

    .rm-comparison {
        margin: 36px 0 64px;
    }

    .rm-cmp__row--head > * {
        justify-content: center;
        font-size: 13.5px;
        text-align: center;
    }

    .rm-cmp__row--head > .rm-cmp__lead {
        justify-content: flex-start;
        font-size: 17px;
        text-align: left;
    }

    .rm-cmp__value {
        justify-content: center;
    }

    .rm-cmp__feature {
        font-size: 16px;
    }

    .rm-cmp__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .rm-cmp-shared {
        margin-top: 36px;
    }

    .rm-cmp-shared__title {
        padding: 0;
        font-size: 20px;
    }
}
