.ra {
    --fp-acc: #d9673c;
    --fp-soft: #fdefe6;
    --fp-line: #efe9e2;
    --ra-cream: #fbf7f2;
}

.ra-hero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 156px 0 100px;
    overflow: clip;
    background: linear-gradient(180deg, var(--ra-cream) 0%, #fff 100%);
}

.ra-hero__bg span {
    position: absolute;
    z-index: -1;
    right: -6%;
    top: 4%;
    width: 640px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(240, 160, 110, .22), transparent);
    filter: blur(10px);
}

.ra-hero__bg i {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(120, 80, 40, .05) 1px, transparent 1px);
    background-size: 80px 100%;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.ra-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.ra-hero__grid > *,
.ra-split > * {
    min-width: 0;
}

.ra-scope {
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 50px 100px -60px rgba(120, 70, 30, .45), 0 2px 6px rgba(60, 40, 20, .04);
    padding: 18px;
}

.ra-scope__prod {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f4efe9;
}

.ra-scope__prod img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    flex: none;
}

.ra-scope__prod small {
    font-size: 12px;
    color: var(--fp-mute);
}

.ra-scope__prod b {
    display: block;
    font-size: 17px;
    margin: 2px 0 6px;
}

.ra-scope__own {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.ra-scope__own i {
    font-style: normal;
    color: var(--fp-mute);
}

.ra-scope__own em {
    font-style: normal;
    font-weight: 700;
}

.ra-g {
    margin-left: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--fp-soft);
    color: var(--fp-acc);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ra-g .fp-ico {
    width: 14px;
    height: 14px;
}

.ra-ladder {
    position: relative;
    height: 200px;
    margin: 8px 14px 0;
}

.ra-ladder__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 122px;
    height: 6px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #f1ebe4 0 2px, transparent 2px 10px), #f8f4ef;
}

.ra-ladder__range {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f4c09f, #d9673c);
    opacity: .55;
    transition: left 1s cubic-bezier(.2, .7, .2, 1), width 1s cubic-bezier(.2, .7, .2, 1);
}

.ra-ladder__med {
    position: absolute;
    top: -8px;
    width: 2px;
    height: 22px;
    background: #b98a6c;
    border-radius: 2px;
    left: 50%;
    opacity: 0;
    transition: left 1s, opacity .4s;
}

.ra-ladder__med.is-on {
    opacity: 1;
}

.ra-dot {
    position: absolute;
    top: 125px;
    translate: -50% -50%;
    opacity: 0;
    transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1);
    transform: translateY(-14px);
}

.ra-dot.is-on {
    opacity: 1;
    transform: none;
}

.ra-dot i {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e8a27e;
}

.ra-dot.is-sim i {
    border-style: dashed;
    border-color: #c9bdb2;
}

.ra-dot span {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    color: #6b5e54;
}

.ra-dot span b {
    display: block;
    font-size: 12px;
    color: #2b211b;
}

.ra-dot span {
    bottom: var(--ra-lift, 20px);
}

.ra-dot.is-l1 { --ra-lift: 20px; }
.ra-dot.is-l2 { --ra-lift: 54px; }
.ra-dot.is-l3 { --ra-lift: 88px; }

.ra-dot span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: calc(var(--ra-lift, 20px) - 12px);
    background: #e6dcd2;
}

.ra-me::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: 34px;
    background: #17110d;
}

.ra-me {
    position: absolute;
    top: 170px;
    translate: -50% -50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px 0 4px;
    border-radius: 999px;
    background: #17110d;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 10px 24px -10px rgba(23, 17, 13, .6);
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: left 1.2s cubic-bezier(.2, .7, .2, 1), opacity .4s;
}

.ra-me.is-on {
    opacity: 1;
}

.ra-me b {
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--fp-acc);
}

.ra-me em {
    font-style: normal;
    font-weight: 700;
}

.ra-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ra-stats div {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ra-cream);
}

.ra-stats small {
    display: block;
    font-size: 12px;
    color: var(--fp-mute);
}

.ra-stats b {
    display: block;
    margin-top: 2px;
    font-size: 20px;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.ra-split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.ra-split--rev {
    grid-template-columns: 1.15fr .85fr;
}

.ra-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    border: 1px solid var(--fp-line);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-ink);
    cursor: pointer;
}

.ra-switch i {
    position: relative;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #e9e2da;
    transition: background .25s;
}

.ra-switch i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    transition: transform .25s;
}

.ra-switch[aria-pressed="true"] i {
    background: var(--fp-acc);
}

.ra-switch[aria-pressed="true"] i::after {
    transform: translateX(16px);
}

.ra-offers {
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 40px 80px -56px rgba(120, 70, 30, .45);
    padding: 10px 14px;
}

.ra-offers__h {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 110px;
    gap: 12px;
    padding: 10px 10px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #9a8d82;
}

.ra-offers__h span:last-child {
    text-align: right;
}

.ra-offers ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ra-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px 110px;
    gap: 12px;
    align-items: center;
    padding: 12px 10px;
    border-top: 1px solid #f5f0ea;
    border-radius: 14px;
    will-change: transform;
}

.ra-offer__st {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ra-offer__av {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    flex: none;
    display: grid;
    place-items: center;
    background: #f6f1eb;
    font-size: 13px;
    font-weight: 700;
    color: #7a6a5e;
    text-transform: uppercase;
}

.ra-offer__st b {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-offer__st small {
    display: inline-flex;
    margin-top: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1ece6;
    color: #8a7b6f;
    font-size: 11px;
    font-weight: 600;
}

.ra-offer__sh {
    font-size: 13px;
    color: var(--fp-mute);
}

.ra-offer__sh.is-free {
    color: #2f9a6a;
    font-weight: 600;
}

.ra-offer__pr {
    text-align: right;
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.ra-offer.is-sim {
    opacity: .6;
}

.ra-offer.is-own {
    background: #17110d;
    color: #fff;
    border-top-color: transparent;
}

.ra-offer.is-own + .ra-offer {
    border-top-color: transparent;
}

.ra-offer.is-own .ra-offer__av {
    background: var(--fp-acc);
    color: #fff;
}

.ra-offer.is-own .ra-offer__st small {
    background: rgba(255, 255, 255, .12);
    color: #f6d9c8;
}

.ra-offer.is-own .ra-offer__sh {
    color: #c9bdb2;
}

.ra-sec--warm {
    background: linear-gradient(180deg, #fff, var(--ra-cream) 30%, var(--ra-cream) 70%, #fff);
}

.ra-ai {
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 40px 80px -56px rgba(120, 70, 30, .45);
    padding: 22px;
}

.ra-ai__top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.ra-ai__top small {
    margin-left: auto;
    color: var(--fp-mute);
    font-size: 12px;
}

.ra-ai__ic {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f7c3a3, #d9673c);
    color: #fff;
}

.ra-ai__ic .fp-ico {
    width: 16px;
    height: 16px;
}

.ra-ai__text {
    margin: 18px 0;
    min-height: 120px;
    font-size: 16px;
    line-height: 1.7;
    color: #2b211b;
}

.ra-caret {
    display: inline-block;
    width: 2px;
    height: 18px;
    margin-left: 2px;
    vertical-align: -3px;
    background: var(--fp-acc);
    animation: fp-blink .9s steps(1) infinite;
}

.ra-ai__chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ra-ai__chips span {
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--ra-cream);
}

.ra-ai__chips small {
    display: block;
    font-size: 11.5px;
    color: var(--fp-mute);
}

.ra-ai__chips b {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.ra-ai__chips .is-me {
    background: #17110d;
    color: #fff;
}

.ra-ai__chips .is-me small {
    color: #c9bdb2;
}

.ra-serp {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.ra-serp > * {
    min-width: 0;
}

.ra-serp__main {
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 40px 80px -56px rgba(120, 70, 30, .45);
    padding: 18px;
}

.ra-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #ebe4dc;
    box-shadow: 0 4px 14px -8px rgba(60, 40, 20, .25);
    font-size: 15px;
}

.ra-search .fp-ico {
    color: #9a8d82;
}

.ra-scan {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 4px;
    font-size: 12.5px;
    color: var(--fp-mute);
    transition: opacity .4s;
}

.ra-scan span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #f3ede6;
    overflow: hidden;
}

.ra-scan i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--fp-acc);
}

.ra-scan.is-run i {
    animation: ra-scan 2.2s cubic-bezier(.4, 0, .2, 1) forwards;
}

.ra-scan.is-done {
    opacity: .45;
}

@keyframes ra-scan {
    to { width: 100%; }
}

.ra-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ra-results li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .45s, transform .45s, background .4s;
}

.ra-results li.is-on {
    opacity: 1;
    transform: none;
}

.ra-results li em {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    flex: none;
    display: grid;
    place-items: center;
    background: #f6f1eb;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    color: #7a6a5e;
}

.ra-results li span {
    min-width: 0;
}

.ra-results li small {
    display: block;
    font-size: 12px;
    color: #4f7a52;
}

.ra-results li b {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2b3f8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ra-results li.is-me.is-hit {
    background: var(--fp-soft);
    box-shadow: inset 0 0 0 1px #f4cdb6;
}

.ra-results li.is-me em {
    background: var(--fp-acc);
    color: #fff;
}

.ra-you {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: #17110d;
    color: #fff;
}

.ra-metrics {
    display: grid;
    gap: 12px;
    align-content: start;
}

.ra-metrics div {
    padding: 20px;
    border-radius: 22px;
    background: var(--ra-cream);
    border: 1px solid var(--fp-line);
}

.ra-metrics small {
    display: block;
    font-size: 13px;
    color: var(--fp-mute);
}

.ra-metrics b {
    display: block;
    margin-top: 6px;
    font-size: 34px;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.ra-metrics .is-pos {
    background: #17110d;
    border-color: #17110d;
    color: #fff;
}

.ra-metrics .is-pos small {
    color: #c9bdb2;
}

.ra-metrics .is-pos b::after {
    content: ".";
    color: var(--fp-acc);
}

.ra-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
}

.ra-steps::before {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    top: 34px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #ead9cb 0 6px, transparent 6px 12px);
}

.ra-steps li {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.ra-steps__ic {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 16px 30px -18px rgba(120, 70, 30, .4);
    color: var(--fp-acc);
}

.ra-steps__ic .fp-ico {
    width: 26px;
    height: 26px;
}

.ra-steps__ic em {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #17110d;
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.ra-steps b {
    display: block;
    font-size: 17px;
}

.ra-steps small {
    display: block;
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fp-mute);
}

.ra-cta {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #f6efe7;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.ra-cta__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 62%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 50%;
    mask-image: linear-gradient(90deg, #000 55%, transparent);
}

.ra-cta::before {
    display: none;
}

.ra-cta__copy {
    position: relative;
    z-index: 2;
    margin-left: auto;
    max-width: 460px;
    padding: 56px 56px 56px 0;
}

.ra-cta .fp-lead {
    margin-bottom: 28px;
}

@media (max-width: 1024px) {
    .ra-hero__grid,
    .ra-split,
    .ra-split--rev {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .ra-split--rev .fp-head {
        order: -1;
    }

    .ra-serp {
        grid-template-columns: 1fr;
    }

    .ra-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px) {
    .ra-hero {
        padding: 116px 0 72px;
    }

    .ra-scope {
        padding: 14px;
        border-radius: 22px;
    }

    .ra-scope__prod img {
        width: 60px;
        height: 60px;
    }

    .ra-g span {
        display: none;
    }

    .ra-ladder {
        margin: 0 22px;
    }

    .ra-dot span {
        font-size: 10px;
    }

    .ra-dot span b {
        font-size: 11px;
    }

    .ra-stats b {
        font-size: 16px;
    }

    .ra-stats div {
        padding: 10px;
    }

    .ra-offers {
        padding: 6px 8px;
        border-radius: 22px;
    }

    .ra-offers__h {
        display: none;
    }

    .ra-offer {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 10px;
    }

    .ra-offer__sh {
        grid-column: 1;
        grid-row: 2;
        padding-left: 44px;
        font-size: 12px;
    }

    .ra-offer__pr {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .ra-ai {
        padding: 16px;
    }

    .ra-ai__chips b {
        font-size: 13px;
    }

    .ra-serp__main {
        padding: 12px;
        border-radius: 22px;
    }

    .ra-results li {
        padding: 10px 8px;
    }

    .ra-results li b {
        font-size: 14px;
    }

    .ra-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .ra-metrics .is-pos {
        grid-column: 1 / -1;
    }

    .ra-metrics b {
        font-size: 26px;
    }

    .ra-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .ra-cta {
        flex-direction: column;
        min-height: 0;
        border-radius: 26px;
    }

    .ra-cta__img {
        position: relative;
        width: 100%;
        height: 220px;
        mask-image: linear-gradient(180deg, #000 60%, transparent);
    }

    .ra-cta::before {
        display: none;
    }

    .ra-cta__copy {
        padding: 28px 22px 36px;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .ra-offer__st {
        grid-column: 1;
        grid-row: 1;
    }
}

.ra-dot span small {
    display: block;
    font-size: 11px;
}

@media (max-width: 720px) {
    .ra-dot span small {
        display: none;
    }

    .ra-dot.is-l2 { --ra-lift: 44px; }
    .ra-dot.is-l3 { --ra-lift: 68px; }
}
