#rl-d12-home {
    --rl-d12-blue: #0066CD;
    --rl-d12-blue-dark: #00468D;
    --rl-d12-green: #00A84E;
    --rl-d12-green-dark: #00863E;
    --rl-d12-yellow: #E37400;
    --rl-d12-teal: #0097A7;
    --rl-d12-text: #202124;
    --rl-d12-muted: #6B7280;
    --rl-d12-border: #D7DCE2;
    --rl-d12-white: #FFFFFF;
    --rl-d12-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    --rl-d12-radius: 10px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px 10px;
    color: var(--rl-d12-text);
    font-family: 'Inter', sans-serif;
}

#rl-d12-home *,
#rl-d12-home *::before,
#rl-d12-home *::after {
    box-sizing: border-box;
}

#rl-d12-home a {
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Верхние кнопки экзаменов */

#rl-d12-home .rl-d12-books-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2.2vw, 15px);
    margin: 0 0 15px;
}

#rl-d12-home .rl-d12-book-card {
    --rl-d12-book-main: var(--rl-d12-blue);
    --rl-d12-book-dark: var(--rl-d12-blue-dark);
    --rl-d12-book-light: #2C8BEA;

    position: relative;
    isolation: isolate;
    min-height: clamp(96px, 10vw, 116px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rl-d12-radius);
    border: 1px solid rgba(215, 220, 226, 0.95);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, var(--rl-d12-book-light) 0%, var(--rl-d12-book-main) 58%, var(--rl-d12-book-dark) 100%);
    box-shadow: var(--rl-d12-shadow);
    color: var(--rl-d12-white);
    transition: filter 0.2s, box-shadow 0.2s;
}

#rl-d12-home .rl-d12-book-ege {
    --rl-d12-book-main: var(--rl-d12-green);
    --rl-d12-book-dark: var(--rl-d12-green-dark);
    --rl-d12-book-light: #35C978;
}

#rl-d12-home .rl-d12-book-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 44%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 20%, transparent 86%, rgba(0, 0, 0, 0.03));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -14px 20px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

#rl-d12-home .rl-d12-book-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.40) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transform: translateX(0) skewX(-25deg);
    pointer-events: none;
}

#rl-d12-home .rl-d12-book-card.is-glare-active::after {
    animation: rl-d12-glass-glare 2.5s ease-in-out 1;
}

#rl-d12-home .rl-d12-book-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

#rl-d12-home .rl-d12-book-title {
    display: block;
    color: var(--rl-d12-white);
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
}

#rl-d12-home .rl-d12-book-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    white-space: nowrap;
    min-height: 32px;
    padding: 7px 10px;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.24);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

@keyframes rl-d12-glass-glare {
    0% {
        opacity: 0;
        transform: translateX(0) skewX(-25deg);
    }

    12%, 82% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(500%) skewX(-25deg);
    }
}

@media (hover: hover) {
    #rl-d12-home .rl-d12-book-card:hover,
    #rl-d12-home .rl-d12-book-card:focus-visible {
        filter: brightness(0.8);
        box-shadow: none;
    }
}

#rl-d12-home .rl-d12-book-card:active,
#rl-d12-home .rl-d12-book-card.is-clicked {
    filter: brightness(0.8);
    box-shadow: none;
}

/* Баннер */

#rl-d12-home .rl-d12-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
    grid-template-areas: "content visual";
    gap: 30px;
    align-items: stretch;
    align-content: center;
    min-height: 0;
    margin: 0 0 15px;
    padding: 26px 48px 0;
    border: 1px solid var(--rl-d12-border);
    border-radius: var(--rl-d12-radius);
    background:
        radial-gradient(circle at 0% 100%, rgba(0, 102, 205, 0.12), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(0, 151, 167, 0.10), transparent 30%),
        linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 52%, #EEF8F2 100%);
    box-shadow: var(--rl-d12-shadow);
}

#rl-d12-home .rl-d12-hero::before,
#rl-d12-home .rl-d12-hero::after {
    content: none;
}

#rl-d12-home .rl-d12-hero-formula {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: var(--rl-d12-formula-color);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-mode: alpha;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    transform-origin: center center;
    --rl-d12-formula-transform-a: rotate(-3deg);
    --rl-d12-formula-transform-b: rotate(3deg);
    animation: rl-d12-formula-breathe 6s ease-in-out infinite alternate;
    will-change: transform;
}

#rl-d12-home .rl-d12-hero-formula-2,
#rl-d12-home .rl-d12-hero-formula-5 {
    animation-delay: -3s;
}

#rl-d12-home .rl-d12-hero-formula-3,
#rl-d12-home .rl-d12-hero-formula-6 {
    animation-delay: -6s;
}

@keyframes rl-d12-formula-breathe {
    from {
        transform: var(--rl-d12-formula-transform-a);
    }

    to {
        transform: var(--rl-d12-formula-transform-b);
    }
}

#rl-d12-home .rl-d12-hero-formula-1 {
    left: 72px;
    top: 184px;
    width: 214px;
    height: 161px;
    --rl-d12-formula-color: rgba(0, 102, 205, 0.17);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-1.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-1.png");
}

#rl-d12-home .rl-d12-hero-formula-2 {
    left: 520px;
    top: 416px;
    width: 158px;
    height: 57px;
    --rl-d12-formula-transform-a: rotate(-10deg);
    --rl-d12-formula-transform-b: rotate(-4deg);
    --rl-d12-formula-color: rgba(0, 151, 167, 0.20);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-2.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-2.png");
}

#rl-d12-home .rl-d12-hero-formula-3 {
    right: 12px;
    bottom: 14px;
    width: 96px;
    height: 86px;
    --rl-d12-formula-color: rgba(0, 168, 78, 0.22);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-3.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-3.png");
}

#rl-d12-home .rl-d12-hero-formula-4 {
    right: 16px;
    top: 14px;
    width: 104px;
    height: 63px;
    --rl-d12-formula-color: rgba(0, 151, 167, 0.20);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-4.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-4.png");
}

#rl-d12-home .rl-d12-hero-formula-5 {
    left: 548px;
    top: 18px;
    width: 118px;
    height: 72px;
    --rl-d12-formula-color: rgba(0, 102, 205, 0.17);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-5.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-5.png");
}

#rl-d12-home .rl-d12-hero-formula-6 {
    left: 522px;
    top: 258px;
    width: 116px;
    height: 64px;
    --rl-d12-formula-transform-a: rotate(5deg);
    --rl-d12-formula-transform-b: rotate(11deg);
    --rl-d12-formula-color: rgba(0, 168, 78, 0.20);
    mask-image: url("https://repichlab.ru/wp-content/uploads/form-6.png");
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/form-6.png");
}

#rl-d12-home .rl-d12-hero-tag:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -25px;
    width: 22px;
    height: 16px;
    transform: translateY(-50%);
    background:
        linear-gradient(
            to right,
            var(--rl-d12-blue) 0%,
            var(--rl-d12-teal) 52%,
            var(--rl-d12-green) 100%
        );
    background-size: var(--rl-d12-tags-gradient-width, 100%) 100%;
    background-position: var(--rl-d12-arrow-gradient-x, var(--rl-d12-tag-gradient-x, 0)) 0;
    background-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6H13M9 2L13 6L9 10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6H13M9 2L13 6L9 10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    pointer-events: none;
}

#rl-d12-home .rl-d12-hero-tags,
#rl-d12-home .rl-d12-hero-copy,
#rl-d12-home .rl-d12-hero-visual,
#rl-d12-home .rl-d12-hero-benefits {
    position: relative;
    z-index: 1;
}

#rl-d12-home .rl-d12-hero-content {
    grid-area: content;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-areas:
        "title"
        "tags"
        "benefits";
    gap: 10px;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    transform: translateY(-8px);
}

#rl-d12-home .rl-d12-hero-tags {
    grid-area: tags;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-self: start;
    width: calc(100% + 12px);
    margin: 4px -6px;
    position: relative;
}

#rl-d12-home .rl-d12-hero-tag {
    position: relative;
    justify-self: center;
    width: calc(100% - 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 10px;
    border: 0;
    border-radius: var(--rl-d12-radius);
    background:
        linear-gradient(
            to right,
            var(--rl-d12-blue) 0%,
            var(--rl-d12-teal) 52%,
            var(--rl-d12-green) 100%
        );
    background-size: var(--rl-d12-tags-gradient-width, 100%) 100%;
    background-position: var(--rl-d12-tag-gradient-x, 0) 0;
    background-repeat: no-repeat;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    box-shadow: none;
    white-space: nowrap;
    pointer-events: none;
}

#rl-d12-home .rl-d12-hero-benefits {
    grid-area: benefits;
    display: grid;
    gap: 10px;
    width: 100%;
}

#rl-d12-home .rl-d12-hero-copy {
    grid-area: title;
    align-self: end;
    width: 100%;
}

#rl-d12-home .rl-d12-hero-title {
    margin: 0;
    color: var(--rl-d12-text);
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

#rl-d12-home .rl-d12-hero-visual {
    grid-area: visual;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: end;
    min-height: 0;
}

#rl-d12-home .rl-d12-photo-stage {
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: visible;
}

#rl-d12-home .rl-d12-photo-stage::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: -11%;
    top: -13%;
    width: 122%;
    height: 122%;
    background: linear-gradient(135deg, rgba(0, 102, 205, 0.58), rgba(0, 151, 167, 0.48), rgba(0, 168, 78, 0.40));
    mask-image: url("https://repichlab.ru/wp-content/uploads/rl-d12-ink-blob-mask.png");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 90%;
    mask-mode: alpha;
    -webkit-mask-image: url("https://repichlab.ru/wp-content/uploads/rl-d12-ink-blob-mask.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 90%;
    opacity: 0.70;
    transform-origin: center center;
    animation: rl-d12-blob-breathe 6s ease-in-out infinite alternate;
}

@keyframes rl-d12-blob-breathe {
    from {
        transform: scale(0.99);
    }

    to {
        transform: scale(1.02);
    }
}

#rl-d12-home .rl-d12-hero-photo {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

@media (min-width: 901px) and (max-width: 1125px) {
    #rl-d12-home .rl-d12-hero {
        grid-template-columns: minmax(360px, 1fr) 500px;
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }

    #rl-d12-home .rl-d12-photo-stage {
        width: 500px;
        min-width: 500px;
        max-width: none;
        flex: 0 0 500px;
    }

    #rl-d12-home .rl-d12-hero-formula-5 {
        left: auto;
        right: 450px;
    }

    #rl-d12-home .rl-d12-hero-formula-6 {
        left: auto;
        right: 455px;
    }

    #rl-d12-home .rl-d12-hero-formula-2 {
        left: auto;
        right: 452px;
    }
}

@media (min-width: 761px) and (max-width: 900px) {
    #rl-d12-home .rl-d12-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "tags"
            "visual"
            "benefits";
        grid-template-rows: auto;
        gap: 10px;
        min-height: 0;
        padding: 14px 0 14px;
        margin-bottom: 10px;
    }

    #rl-d12-home .rl-d12-hero-content {
        display: contents;
        transform: none;
    }

    #rl-d12-home .rl-d12-hero-copy,
    #rl-d12-home .rl-d12-hero-tags,
    #rl-d12-home .rl-d12-hero-benefits {
        width: calc(100% - 20px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    #rl-d12-home .rl-d12-hero-tags {
        margin-top: 4px;
        margin-bottom: 4px;
        gap: 24px;
    }

    #rl-d12-home .rl-d12-hero-tag {
        width: 100%;
        box-sizing: border-box;
        min-height: 36px;
        font-size: 16px;
        font-weight: 600;
        padding: 7px 8px;
    }

    #rl-d12-home .rl-d12-hero-tag:not(:last-child)::after {
        left: calc(100% + 4px);
        right: auto;
        width: 18px;
        height: 14px;
    }

    #rl-d12-home .rl-d12-hero-title {
        text-align: center;
        font-size: clamp(33px, 9.35vw, 37px);
        letter-spacing: -0.06em;
        white-space: normal;
    }

    #rl-d12-home .rl-d12-hero-visual {
        min-height: 0;
        margin-top: -2px;
    }

    #rl-d12-home .rl-d12-photo-stage {
        width: min(100%, 410px);
        min-width: 0;
        max-width: 100%;
        flex: 0 1 auto;
        margin: -4px auto 0;
    }

    #rl-d12-home .rl-d12-hero-benefits {
        margin-top: -18px;
        margin-bottom: 0;
        z-index: 3;
        gap: 10px;
    }

    #rl-d12-home .rl-d12-benefit-card {
        width: 100%;
        box-sizing: border-box;
        min-height: 54px;
        padding: 10px 12px;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
    }

    #rl-d12-home .rl-d12-benefit-fx {
        top: 2px;
        bottom: 2px;
        width: auto;
    }

    #rl-d12-home .rl-d12-benefit-particle {
        line-height: 1.65;
        padding: 2px 0 8px;
    }

    #rl-d12-home .rl-d12-benefit-icon {
        width: 24px;
        height: 24px;
    }

    #rl-d12-home .rl-d12-benefit-text {
        font-size: 16px;
        font-weight: 700;
    }

    #rl-d12-home .rl-d12-hero-formula {
        display: none;
    }

    #rl-d12-home .rl-d12-hero-formula-1 {
        display: block;
        left: 8px;
        top: 310px;
        width: 190px;
        height: 143px;
        --rl-d12-formula-color: rgba(0, 102, 205, 0.13);
    }

    #rl-d12-home .rl-d12-hero-formula-4 {
        display: block;
        right: 8px;
        top: 52px;
        width: 112px;
        height: 68px;
        --rl-d12-formula-color: rgba(0, 151, 167, 0.16);
    }

    #rl-d12-home .rl-d12-hero-formula-2 {
        display: block;
        left: auto;
        right: 50px;
        top: 550px;
        width: 270px;
        height: 98px;
        --rl-d12-formula-transform-a: rotate(-10deg);
        --rl-d12-formula-transform-b: rotate(-4deg);
        --rl-d12-formula-color: rgba(0, 151, 167, 0.13);
    }
}

#rl-d12-home .rl-d12-photo-placeholder {
    position: relative;
    z-index: 2;
    width: 86%;
    height: 86%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 44% 56% 48% 52% / 50% 42% 58% 50%;
    background:
        linear-gradient(135deg, #0066CD 0%, #0097A7 48%, #35D8DB 100%);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

#rl-d12-home .rl-d12-photo-placeholder-main {
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
}

#rl-d12-home .rl-d12-photo-placeholder-sub {
    font-size: 15px;
    font-weight: 800;
    opacity: 0.78;
}

#rl-d12-home .rl-d12-benefit-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    clip-path: inset(0 round var(--rl-d12-radius));
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 96px 10px 16px;
    border-radius: var(--rl-d12-radius);
    border: 1px solid rgba(215, 220, 226, 0.82);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: var(--rl-d12-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#rl-d12-home .rl-d12-benefit-icon {
    width: 28px;
    height: 28px;
    display: block;
    background: var(--rl-d12-blue);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

#rl-d12-home .rl-d12-benefit-icon-score {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9H4.5A2.5 2.5 0 0 1 2 6.5V4H6M18 9H19.5A2.5 2.5 0 0 0 22 6.5V4H18M6 2H18V8A6 6 0 0 1 12 14A6 6 0 0 1 6 8V2ZM12 14V18M8 22H16M10 18H14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9H4.5A2.5 2.5 0 0 1 2 6.5V4H6M18 9H19.5A2.5 2.5 0 0 0 22 6.5V4H18M6 2H18V8A6 6 0 0 1 12 14A6 6 0 0 1 6 8V2ZM12 14V18M8 22H16M10 18H14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-icon-zero {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2V8L5 19A2 2 0 0 0 7 22H17A2 2 0 0 0 19 19L14 8V2M8 2H16M8 16H16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2V8L5 19A2 2 0 0 0 7 22H17A2 2 0 0 0 19 19L14 8V2M8 2H16M8 16H16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-icon-contact {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15A4 4 0 0 1 17 19H8L3 22V7A4 4 0 0 1 7 3H17A4 4 0 0 1 21 7V15ZM8 9H16M8 13H13' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15A4 4 0 0 1 17 19H8L3 22V7A4 4 0 0 1 7 3H17A4 4 0 0 1 21 7V15ZM8 9H16M8 13H13' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-icon-control {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11L12 14L22 4M21 12V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11L12 14L22 4M21 12V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-icon-fipi {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6A2 2 0 0 0 4 4V20A2 2 0 0 0 6 22H18A2 2 0 0 0 20 20V8L14 2ZM14 2V8H20M8 13H16M8 17H13' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6A2 2 0 0 0 4 4V20A2 2 0 0 0 6 22H18A2 2 0 0 0 20 20V8L14 2ZM14 2V8H20M8 13H16M8 17H13' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-icon-gamification {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M16 8H16.01M8 8H8.01M8 16H8.01M16 16H16.01M12 12H12.01' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M16 8H16.01M8 8H8.01M8 16H8.01M16 16H16.01M12 12H12.01' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#rl-d12-home .rl-d12-benefit-text {
    color: var(--rl-d12-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

#rl-d12-home .rl-d12-benefit-icon,
#rl-d12-home .rl-d12-benefit-text {
    position: relative;
    z-index: 2;
}

#rl-d12-home .rl-d12-benefit-fx {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--rl-d12-benefit-fx-left, 46%);
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 10px, #000 34px, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.35) 10px, #000 34px, #000 100%);
}

#rl-d12-home .rl-d12-benefit-particle {
    position: absolute;
    right: -42px;
    top: var(--rl-d12-particle-y);
    color: var(--rl-d12-particle-color);
    font-size: var(--rl-d12-particle-size);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    white-space: nowrap;
    opacity: 0;
    padding: 4px 0 6px;
    animation: rl-d12-benefit-particle-fly var(--rl-d12-particle-duration) linear infinite;
    animation-delay: var(--rl-d12-particle-delay);
    will-change: transform, opacity;
}

#rl-d12-home .rl-d12-benefit-particle::before {
    content: var(--rl-d12-particle-symbol);
    display: block;
    filter: drop-shadow(0 0 6px var(--rl-d12-particle-glow));
    transform-origin: center center;
    animation: rl-d12-benefit-particle-float var(--rl-d12-float-duration) ease-in-out infinite;
    animation-delay: var(--rl-d12-float-delay);
    will-change: transform;
}

#rl-d12-home .rl-d12-benefit-fx-score {
    --rl-d12-particle-symbol: "O₃";
    --rl-d12-particle-color: rgba(255, 137, 142, 0.86);
    --rl-d12-particle-glow: rgba(255, 137, 142, 0.38);
    --rl-d12-float-a: -2px;
    --rl-d12-float-b: 2px;
    --rl-d12-sway-a: -3deg;
    --rl-d12-sway-b: 3deg;
    --rl-d12-float-duration: 3.2s;
}

#rl-d12-home .rl-d12-benefit-fx-zero {
    --rl-d12-particle-symbol: "S₈";
    --rl-d12-particle-color: rgba(239, 170, 75, 0.88);
    --rl-d12-particle-glow: rgba(239, 170, 75, 0.34);
    --rl-d12-float-a: 2px;
    --rl-d12-float-b: -2px;
    --rl-d12-sway-a: 3deg;
    --rl-d12-sway-b: -3deg;
    --rl-d12-float-duration: 3.5s;
}

#rl-d12-home .rl-d12-benefit-fx-contact {
    --rl-d12-particle-symbol: "C₈₀";
    --rl-d12-particle-color: rgba(147, 204, 92, 0.82);
    --rl-d12-particle-glow: rgba(147, 204, 92, 0.30);
    --rl-d12-float-a: -1px;
    --rl-d12-float-b: 2px;
    --rl-d12-sway-a: -2deg;
    --rl-d12-sway-b: 3deg;
    --rl-d12-float-duration: 3.8s;
}

#rl-d12-home .rl-d12-benefit-fx-control {
    --rl-d12-particle-symbol: "P₄";
    --rl-d12-particle-color: rgba(48, 194, 213, 0.82);
    --rl-d12-particle-glow: rgba(48, 194, 213, 0.32);
    --rl-d12-float-a: 2px;
    --rl-d12-float-b: -1px;
    --rl-d12-sway-a: 3deg;
    --rl-d12-sway-b: -2deg;
    --rl-d12-float-duration: 3.4s;
}

#rl-d12-home .rl-d12-benefit-fx-fipi {
    --rl-d12-particle-symbol: "N₂";
    --rl-d12-particle-color: rgba(15, 157, 205, 0.78);
    --rl-d12-particle-glow: rgba(15, 157, 205, 0.28);
    --rl-d12-float-a: -1px;
    --rl-d12-float-b: 1px;
    --rl-d12-sway-a: -3deg;
    --rl-d12-sway-b: 2deg;
    --rl-d12-float-duration: 3.6s;
}

#rl-d12-home .rl-d12-benefit-fx-gamification {
    --rl-d12-particle-symbol: "B₁₂";
    --rl-d12-particle-color: rgba(139, 92, 246, 0.80);
    --rl-d12-particle-glow: rgba(139, 92, 246, 0.30);
    --rl-d12-float-a: 2px;
    --rl-d12-float-b: -1px;
    --rl-d12-sway-a: 2deg;
    --rl-d12-sway-b: -3deg;
    --rl-d12-float-duration: 3.7s;
}

#rl-d12-home .rl-d12-benefit-particle-1 { --rl-d12-particle-size: 15px; --rl-d12-particle-duration: 6.4s; --rl-d12-particle-delay: 0s; --rl-d12-float-delay: -0.4s; }
#rl-d12-home .rl-d12-benefit-particle-2 { --rl-d12-particle-size: 14px; --rl-d12-particle-duration: 6.4s; --rl-d12-particle-delay: -1.28s; --rl-d12-float-delay: -1.0s; }
#rl-d12-home .rl-d12-benefit-particle-3 { --rl-d12-particle-size: 13px; --rl-d12-particle-duration: 6.4s; --rl-d12-particle-delay: -2.56s; --rl-d12-float-delay: -1.6s; }
#rl-d12-home .rl-d12-benefit-particle-4 { --rl-d12-particle-size: 14px; --rl-d12-particle-duration: 6.4s; --rl-d12-particle-delay: -3.84s; --rl-d12-float-delay: -0.7s; }
#rl-d12-home .rl-d12-benefit-particle-5 { --rl-d12-particle-size: 13px; --rl-d12-particle-duration: 6.4s; --rl-d12-particle-delay: -5.12s; --rl-d12-float-delay: -1.3s; }

#rl-d12-home .rl-d12-benefit-fx-score .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 40%; }
#rl-d12-home .rl-d12-benefit-fx-score .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 64%; }
#rl-d12-home .rl-d12-benefit-fx-score .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 49%; }
#rl-d12-home .rl-d12-benefit-fx-score .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 66%; }
#rl-d12-home .rl-d12-benefit-fx-score .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 56%; }

#rl-d12-home .rl-d12-benefit-fx-zero .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 64%; --rl-d12-particle-delay: -0.64s; }
#rl-d12-home .rl-d12-benefit-fx-zero .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 42%; --rl-d12-particle-delay: -1.92s; }
#rl-d12-home .rl-d12-benefit-fx-zero .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 66%; --rl-d12-particle-delay: -3.20s; }
#rl-d12-home .rl-d12-benefit-fx-zero .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 53%; --rl-d12-particle-delay: -4.48s; }
#rl-d12-home .rl-d12-benefit-fx-zero .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 38%; --rl-d12-particle-delay: -5.76s; }

#rl-d12-home .rl-d12-benefit-fx-contact .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 48%; --rl-d12-particle-delay: -0.32s; }
#rl-d12-home .rl-d12-benefit-fx-contact .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 66%; --rl-d12-particle-delay: -1.60s; }
#rl-d12-home .rl-d12-benefit-fx-contact .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 39%; --rl-d12-particle-delay: -2.88s; }
#rl-d12-home .rl-d12-benefit-fx-contact .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 60%; --rl-d12-particle-delay: -4.16s; }
#rl-d12-home .rl-d12-benefit-fx-contact .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 54%; --rl-d12-particle-delay: -5.44s; }

#rl-d12-home .rl-d12-benefit-fx-control .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 66%; --rl-d12-particle-delay: -0.96s; }
#rl-d12-home .rl-d12-benefit-fx-control .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 45%; --rl-d12-particle-delay: -2.24s; }
#rl-d12-home .rl-d12-benefit-fx-control .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 58%; --rl-d12-particle-delay: -3.52s; }
#rl-d12-home .rl-d12-benefit-fx-control .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 38%; --rl-d12-particle-delay: -4.80s; }
#rl-d12-home .rl-d12-benefit-fx-control .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 64%; --rl-d12-particle-delay: -6.08s; }

#rl-d12-home .rl-d12-benefit-fx-fipi .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 52%; --rl-d12-particle-delay: -0.16s; }
#rl-d12-home .rl-d12-benefit-fx-fipi .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 39%; --rl-d12-particle-delay: -1.44s; }
#rl-d12-home .rl-d12-benefit-fx-fipi .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 66%; --rl-d12-particle-delay: -2.72s; }
#rl-d12-home .rl-d12-benefit-fx-fipi .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 47%; --rl-d12-particle-delay: -4.00s; }
#rl-d12-home .rl-d12-benefit-fx-fipi .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 62%; --rl-d12-particle-delay: -5.28s; }

#rl-d12-home .rl-d12-benefit-fx-gamification .rl-d12-benefit-particle-1 { --rl-d12-particle-y: 44%; --rl-d12-particle-delay: -0.48s; }
#rl-d12-home .rl-d12-benefit-fx-gamification .rl-d12-benefit-particle-2 { --rl-d12-particle-y: 63%; --rl-d12-particle-delay: -1.76s; }
#rl-d12-home .rl-d12-benefit-fx-gamification .rl-d12-benefit-particle-3 { --rl-d12-particle-y: 52%; --rl-d12-particle-delay: -3.04s; }
#rl-d12-home .rl-d12-benefit-fx-gamification .rl-d12-benefit-particle-4 { --rl-d12-particle-y: 37%; --rl-d12-particle-delay: -4.32s; }
#rl-d12-home .rl-d12-benefit-fx-gamification .rl-d12-benefit-particle-5 { --rl-d12-particle-y: 66%; --rl-d12-particle-delay: -5.60s; }

@keyframes rl-d12-benefit-particle-fly {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }

    5% {
        opacity: 0.86;
    }

    88% {
        opacity: 0.78;
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--rl-d12-particle-travel, -245px), -50%, 0);
    }
}

@keyframes rl-d12-benefit-particle-float {
    0% {
        transform: translateY(var(--rl-d12-float-a)) rotate(var(--rl-d12-sway-a));
    }

    50% {
        transform: translateY(var(--rl-d12-float-b)) rotate(var(--rl-d12-sway-b));
    }

    100% {
        transform: translateY(var(--rl-d12-float-a)) rotate(var(--rl-d12-sway-a));
    }
}

/* Кнопка записи */

#rl-d12-home .rl-d12-cta-section {
    display: block;
    margin: 0;
}

#rl-d12-home .rl-d12-cta-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 76px;
    padding: 15px 20px;
    border-radius: var(--rl-d12-radius);
    border: 1px solid rgba(215, 220, 226, 0.95);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, #21B4C2 0%, var(--rl-d12-teal) 58%, #007C8A 100%);
    color: var(--rl-d12-white);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    box-shadow: var(--rl-d12-shadow);
    transition: filter 0.2s, box-shadow 0.2s;
}

#rl-d12-home .rl-d12-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 44%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 20%, transparent 86%, rgba(0, 0, 0, 0.03));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -14px 20px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

#rl-d12-home .rl-d12-cta-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.40) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transform: translateX(0) skewX(-25deg);
    pointer-events: none;
}

#rl-d12-home .rl-d12-cta-button.is-glare-active::after {
    animation: rl-d12-glass-glare 2.5s ease-in-out 1;
}

@media (hover: hover) {
    #rl-d12-home .rl-d12-cta-button:hover,
    #rl-d12-home .rl-d12-cta-button:focus-visible {
        filter: brightness(0.8);
        box-shadow: none;
        color: var(--rl-d12-white);
    }
}

#rl-d12-home .rl-d12-cta-button:active,
#rl-d12-home .rl-d12-cta-button.is-clicked {
    filter: brightness(0.8);
    box-shadow: none;
}

#rl-d12-home .rl-d12-clickable.is-clicked {
    pointer-events: none;
}

@media (max-width: 760px) {
    #rl-d12-home .rl-d12-book-card:hover,
    #rl-d12-home .rl-d12-book-card:focus-visible,
    #rl-d12-home .rl-d12-cta-button:hover,
    #rl-d12-home .rl-d12-cta-button:focus-visible {
        filter: brightness(0.8);
        box-shadow: none;
    }

    #rl-d12-home .rl-d12-cta-button:hover,
    #rl-d12-home .rl-d12-cta-button:focus-visible {
        color: var(--rl-d12-white);
    }
}

/* Mobile */

/* Mobile */

@media (max-width: 760px) {
    #rl-d12-home {
        padding: 10px 10px 10px;
    }

    #rl-d12-home .rl-d12-books-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 10px;
    }

    #rl-d12-home .rl-d12-hero-content {
        display: contents;
        transform: none;
    }

    #rl-d12-home .rl-d12-book-card {
        min-height: 86px;
    }

    #rl-d12-home .rl-d12-book-content {
        gap: 15px;
    }

    #rl-d12-home .rl-d12-book-title {
        font-size: 28px;
    }

    #rl-d12-home .rl-d12-book-subtitle {
        width: 116px;
        min-height: 36px;
        padding: 7px 8px;
        font-size: 14px;
        white-space: nowrap;
    }

    #rl-d12-home .rl-d12-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "tags"
            "visual"
            "benefits";
        grid-template-rows: auto;
        gap: 10px;
        min-height: 0;
        padding: 14px 0 14px;
        margin-bottom: 10px;
    }

    #rl-d12-home .rl-d12-hero-copy,
    #rl-d12-home .rl-d12-hero-tags,
    #rl-d12-home .rl-d12-hero-benefits {
        width: calc(100% - 20px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    #rl-d12-home .rl-d12-hero-tags {
        margin-top: 4px;
        margin-bottom: 4px;
        gap: 24px;
    }

   #rl-d12-home .rl-d12-hero-tag {
        width: 100%;
        box-sizing: border-box;
        min-height: 36px;
        font-size: 16px;
        font-weight: 600;
        padding: 7px 8px;
    }

    #rl-d12-home .rl-d12-hero-tag:not(:last-child)::after {
        left: calc(100% + 4px);
        right: auto;
        width: 18px;
        height: 14px;
    }

    #rl-d12-home .rl-d12-hero-title {
        text-align: center;
        font-size: clamp(33px, 9.35vw, 37px);
        letter-spacing: -0.06em;
    }

    #rl-d12-home .rl-d12-hero-visual {
        min-height: 0;
        margin-top: -2px;
    }

    #rl-d12-home .rl-d12-photo-stage {
        width: min(100%, 410px);
        margin: -4px auto 0;
    }

    #rl-d12-home .rl-d12-hero-benefits {
        margin-top: -18px;
        margin-bottom: 0;
        z-index: 3;
        gap: 10px;
    }

    #rl-d12-home .rl-d12-benefit-card {
        width: 100%;
        box-sizing: border-box;
        min-height: 54px;
        padding: 10px 12px;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
    }

    #rl-d12-home .rl-d12-benefit-fx {
        top: 2px;
        bottom: 2px;
        width: auto;
    }

    #rl-d12-home .rl-d12-benefit-particle {
        line-height: 1.65;
        padding: 2px 0 8px;
    }

    #rl-d12-home .rl-d12-benefit-icon {
        width: 24px;
        height: 24px;
    }

    #rl-d12-home .rl-d12-benefit-text {
        font-size: 16px;
        font-weight: 700;
    }

    #rl-d12-home .rl-d12-cta-button {
        width: 100%;
        min-height: 64px;
        font-size: 20px;
    }

    #rl-d12-home .rl-d12-hero-formula {
        display: none;
    }

    #rl-d12-home .rl-d12-hero-formula-1 {
        display: block;
        left: 8px;
        top: 310px;
        width: 190px;
        height: 143px;
        --rl-d12-formula-color: rgba(0, 102, 205, 0.13);
    }

    #rl-d12-home .rl-d12-hero-formula-4 {
        display: block;
        right: 8px;
        top: 52px;
        width: 112px;
        height: 68px;
        --rl-d12-formula-color: rgba(0, 151, 167, 0.16);
    }

    #rl-d12-home .rl-d12-hero-formula-2 {
        display: block;
        left: 50%;
        top: 550px;
        width: 270px;
        height: 98px;
        --rl-d12-formula-transform-a: translateX(-50%) rotate(-10deg);
        --rl-d12-formula-transform-b: translateX(-50%) rotate(-4deg);
        --rl-d12-formula-color: rgba(0, 151, 167, 0.13);
    }

}

@media (max-width: 390px) {
    #rl-d12-home .rl-d12-books-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #rl-d12-home .rl-d12-book-card {
        min-height: 120px;
    }

    #rl-d12-home .rl-d12-cta-button {
        min-height: 64px;
        font-size: 20px;
    }

    #rl-d12-home .rl-d12-hero {
        padding: 14px 0 12px;
    }

    #rl-d12-home .rl-d12-hero-tag:not(:last-child)::after {
        left: calc(100% + 3px);
        right: auto;
    }

#rl-d12-home .rl-d12-hero-tag {
    min-height: 34px;
    font-size: 15px;
    padding: 7px 7px;
}

#rl-d12-home .rl-d12-book-subtitle {
    width: 108px;
    min-height: 34px;
    padding: 7px 7px;
    font-size: 13px;
    white-space: nowrap;
}

    #rl-d12-home .rl-d12-hero-benefits {
        margin-top: -14px;
    }

    #rl-d12-home .rl-d12-benefit-card {
        min-height: 52px;
        padding: 10px 12px;
    }

    #rl-d12-home .rl-d12-photo-stage {
        width: min(100%, 390px);
        margin-top: -6px;
    }

}

@media (prefers-reduced-motion: reduce) {
    #rl-d12-home *,
    #rl-d12-home *::before,
    #rl-d12-home *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Desktop-only: align outer page width with Variants 7; mobile keeps existing padding */
@media (min-width: 901px) {
    #rl-d12-home {
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }
}
