/* ==========================================================================
   rl-layer.css — мигрированный кастомный слой сайта (rl-*), извлечён из
   bundle-theme.css 1-в-1 (порядок каскада сохранён: грузится сразу после
   бандла, ДО page-css/site.css; перекрытия живут в content.css ПОСЛЕ него).
   Не редактировать без сверки: tools/css/REPORT.md
   ========================================================================== */

.rl *,.rl *::before,.rl *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.rl a {
    color: inherit;
    text-decoration: none
}

.rl ul {
    list-style: none
}

.rl p,.rl h1,.rl h2,.rl h3,.rl h4 {
    margin: 0
}

.rl {
    font-family: inherit;
    color: #fff;
    width: 100%;
    background: transparent;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    --accent: var(--e-global-color-uc_primary,#E3C083);
    --accent-dim: color-mix(in srgb,var(--e-global-color-uc_primary,#E3C083) 12%,transparent);
    --accent-border: color-mix(in srgb,var(--e-global-color-uc_primary,#E3C083) 28%,transparent);
    --accent-glow: color-mix(in srgb,var(--e-global-color-uc_primary,#E3C083) 8%,transparent);
    --text: #fff;
    --sec: rgba(255,255,255,.7);
    --muted: #fff;
    --muted-hi: rgba(255,255,255,.75);
    /* --border/--card/--card-hover заданы в content.css (.rl) — здесь были мёртвые дубли */
    --border-hi: rgba(255,255,255,.22);
    --green: #74CBA0;
    --green-dim: rgba(116, 203, 160, .12);
    --red: #ef4444;
    --red-dim: rgba(239,68,68,.1);
    --tg: #45BFEE;
    --radius: 6px;
    --radius-sm: 6px;
    --radius-lg: 6px;
    --sec-py: 72px;
    --sec-border: 1px solid rgba(255,255,255,.08)
}

.rl-wrap {
    /* max-width задаёт content.css (единая сетка контейнера) */
    margin: 0 auto;
    padding: 0 20px
}

.rl-sec {
    padding: var(--sec-py) 0;
    border-bottom: var(--sec-border)
}

.rl-sec:last-of-type {
    border-bottom: none
}

.rl-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px
}

.rl-label--pill {
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content
}

.rl-h1 {
    font-size: clamp(30px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--text);
    margin-bottom: 20px
}

.rl-h1 em,.rl-h2 em {
    font-style: normal;
    color: var(--accent)
}

.rl-h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 12px
}

.rl-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 40px
}

.rl-desc--wide {
    max-width: 640px
}

.rl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    padding: 5px 14px 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 24px
}

.rl-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 6px;
    flex-shrink: 0;
    animation: rl-pulse 2.2s ease-in-out infinite
}

@keyframes rl-pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb,var(--accent) 50%,transparent)
    }
    50% {
        opacity: .6;
        transform: scale(1.3);
        box-shadow: 0 0 0 6px transparent
    }
}

.rl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #14171a;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    box-shadow: 0 6px 22px color-mix(in srgb,var(--accent) 22%,transparent);
    transition: opacity .15s,transform .15s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none
}

.rl-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #14171a
}

.rl-btn:active {
    transform: none
}

.rl-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-hi);
    color: var(--text);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: background .2s,border-color .2s;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer
}

.rl-btn-ghost:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.38);
    color: var(--text)
}

.rl-btn-tg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(69,191,238,.08);
    border: 1px solid rgba(69,191,238,.22);
    color: var(--tg);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: background .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer
}

.rl-btn-tg:hover {
    background: rgba(69,191,238,.16);
    color: var(--tg)
}

.rl-btn--full {
    width: 100%;
    justify-content: center;
    text-align: center
}

.rl-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 40px;
    border-top: var(--sec-border)
}

.rl-stat-num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--accent);
    line-height: 1;
    display: block
}

.rl-stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.4;
    display: block
}

.rl-stats-bar {
    border-top: var(--sec-border);
    border-bottom: var(--sec-border)
}

.rl-stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

.rl-stat-cell {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--border)
}

.rl-stat-cell:last-child {
    border-right: none
}

.rl-stat-cell .rl-stat-num {
    font-size: 40px;
    margin-bottom: 8px
}

.rl-hero {
    padding: 72px 0 64px;
    border-bottom: var(--sec-border)
}

.rl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start
}

.rl-hero-sub {
    font-size: 17px;
    line-height: 1.65;
    color: var(--sec);
    max-width: 600px;
    margin: 0 0 32px
}

.rl-hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

.rl-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px
}

.rl-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 14px
}

.rl-trust-item::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    font-size: 11px
}

/* .rl-card — базовые свойства целиком задаёт content.css (здесь все декларации
   были безусловно перекрыты); оставлен только hover-стиль */
.rl-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-3px)
}

.rl-card-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block
}

.rl-card h3,.rl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3
}

.rl-card p,.rl-card-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

.rl-grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 36px
}

.rl-grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 36px
}

.rl-grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 36px
}

.rl-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 16px;
    margin-top: 36px
}

.rl-icard {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s
}

.rl-icard:hover {
    border-color: var(--accent-border)
}

.rl-icard-icon {
    font-size: 22px;
    width: 46px;
    height: 46px;
    background: var(--accent-dim);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.rl-icard-icon--green {
    background: var(--green-dim);
    color: var(--green)
}

.rl-icard-icon--red {
    background: var(--red-dim);
    color: var(--red)
}

.rl-icard h4,.rl-icard-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3
}

.rl-icard p,.rl-icard-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

.rl-checklist {
    padding: 0
}

.rl-checklist li {
    font-size: 14px;
    color: var(--sec);
    padding: 7px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
    border-bottom: 1px solid var(--border)
}

.rl-checklist li:last-child {
    border-bottom: none
}

.rl-checklist li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    font-size: 11px;
    margin-top: 2px;
    flex-shrink: 0
}

.rl-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 16px;
    margin-top: 36px
}

.rl-plan {
    padding: 32px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s
}

.rl-plan:hover {
    border-color: var(--accent-border)
}

.rl-plan--pop {
    border-color: var(--accent);
    background: color-mix(in srgb,var(--accent) 8%,transparent)
}

.rl-plan-badge {
    position: absolute;
    top: -12px;
    left: 22px;
    background: var(--accent);
    color: #14171a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px
}

.rl-plan-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px
}

.rl-plan-price {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px
}

.rl-plan-price-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--sec)
}

.rl-plan-note {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px
}

.rl-plan-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: var(--sec-border)
}

.rl-plan .rl-checklist {
    flex: 1;
    margin-bottom: 24px
}

.rl-plan-cta {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text) !important;
    transition: background .2s,border-color .2s
}

.rl-plan-cta:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.35)
}

.rl-plan--pop .rl-plan-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: #14171a !important
}

.rl-plan--pop .rl-plan-cta:hover {
    opacity: .88
}

.rl-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 36px
}

.rl-step {
    padding: 26px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s,transform .2s
}

.rl-step:hover {
    border-color: var(--accent-border);
    transform: translateY(-3px)
}

.rl-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: block
}

.rl-step-num--big {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    opacity: .7
}

.rl-step-num--pill {
    background: var(--accent-dim);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px
}

.rl-step-title,.rl-step h3,.rl-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px
}

.rl-step-text,.rl-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

.rl-steps--circle {
    position: relative
}

.rl-steps--circle::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--accent-border),var(--accent-border),transparent)
}

.rl-steps--circle .rl-step {
    text-align: center;
    padding: 0 20px;
    background: none;
    border: none
}

.rl-steps--circle .rl-step:hover {
    transform: none
}

.rl-step-circle {
    width: 54px;
    height: 54px;
    border: 2px solid var(--accent-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    position: relative;
    z-index: 1;
    background: #14171a
}

.rl-faq {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 36px
}

.rl-faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s
}

.rl-faq-item:hover {
    border-color: var(--accent-border)
}

.rl-faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px 24px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    font-family: inherit;
    letter-spacing: -.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none
}

.rl-faq-q:hover {
    color: var(--muted-hi)
}

.rl-faq-arrow {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform .22s
}

.rl-faq-item.open .rl-faq-arrow {
    transform: rotate(45deg)
}

.rl-faq-a {
    display: none;
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sec)
}

.rl-faq-item.open .rl-faq-a {
    display: block
}

.rl-faq-a p {
    margin: 0 0 10px
}

.rl-faq-a p:last-child {
    margin: 0
}

.rl-cta-box {
    background: var(--card);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.rl-cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse,var(--accent-glow) 0%,transparent 70%);
    pointer-events: none
}

.rl-cta-box .rl-h2 {
    margin-bottom: 14px;
    position: relative;
    z-index: 1
}

.rl-cta-box .rl-desc,.rl-cta-box p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1
}

.rl-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1
}

.rl-cta-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap
}

.rl-cta-inline-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.15;
    max-width: 560px;
    margin: 0 0 16px
}

.rl-cta-inline-sub {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 440px
}

.rl-cta-inline-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0
}

.rl-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg,var(--accent-glow),color-mix(in srgb,var(--accent) 4%,transparent));
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    padding: 40px 36px
}

.rl-cta-banner h2 {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    line-height: 1.25;
    max-width: 420px;
    margin-bottom: 8px
}

.rl-cta-banner p {
    font-size: 15px;
    color: var(--muted-hi)
}

.rl-cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0
}

.rl-cta-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(61,220,132,.1);
    border: 1px solid rgba(61,220,132,.25);
    color: var(--green);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 1
}

.rl-cta-live span {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 6px;
    animation: rl-pulse 2.2s infinite
}

.rl-author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start
}

.rl-author-quote {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    margin: 0 0 28px;
    letter-spacing: -.01em
}

.rl-author-quote em {
    font-style: normal;
    color: var(--accent)
}

.rl-author-sig {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5
}

.rl-author-sig strong {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    margin-bottom: 4px
}

.rl-author-list {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.rl-author-list li {
    padding: 20px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--muted-hi);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.rl-author-list li span:first-child {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: -2px
}

.rl-author-compact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 36px
}

.rl-author-photo {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    background: var(--accent-dim);
    border: 2px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent)
}

.rl-author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px
}

.rl-author-role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px
}

.rl-author-blockquote {
    font-size: 15px;
    color: var(--sec);
    line-height: 1.65;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 18px
}

.rl-compare-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border)
}

.rl-compare-table {
    width: 100%;
    border-collapse: collapse
}

.rl-compare-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: var(--sec-border)
}

.rl-compare-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--muted-hi);
    border-bottom: 1px solid rgba(255,255,255,.05);
    line-height: 1.5;
    vertical-align: top
}

.rl-compare-table tr:last-child td {
    border-bottom: none
}

.rl-compare-table td:first-child {
    font-weight: 600;
    font-size: 13px;
    color: var(--muted);
    width: 18%;
    white-space: nowrap
}

.rl-compare-table td.good {
    color: var(--muted-hi)
}

.rl-compare-table td.warn {
    color: rgba(255,255,255,.45)
}

.rl-yes {
    color: #4ade80;
    font-weight: 700
}

.rl-no {
    color: #f87171
}

.rl-tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 16px
}

.rl-tasks-note {
    font-size: 13px;
    color: rgba(255,255,255,.35);
    line-height: 1.5;
    max-width: 340px;
    text-align: right
}

.rl-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.rl-filter-btn {
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all .15s;
    font-family: inherit
}

.rl-filter-btn:hover {
    border-color: var(--border-hi);
    color: #fff
}

.rl-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #14171a
}

.rl-tasks-table {
    width: 100%;
    border-collapse: collapse
}

.rl-tasks-table thead tr {
    border-bottom: 1px solid var(--border)
}

.rl-tasks-table th {
    padding: 10px 16px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left
}

.rl-tasks-table th:last-child,.rl-tasks-table td:last-child {
    text-align: right
}

.rl-tasks-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .15s
}

.rl-tasks-table tbody tr:hover {
    background: var(--card)
}

.rl-tasks-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--muted-hi);
    line-height: 1.4;
    vertical-align: top
}

.rl-task-name {
    color: #fff;
    font-weight: 500
}

.rl-task-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    white-space: nowrap
}

.rl-cat-crm {
    background: rgba(99,179,237,.12);
    color: #63b3ed
}

.rl-cat-bp {
    background: rgba(154,230,180,.12);
    color: #9ae6b4
}

.rl-cat-int {
    background: rgba(227, 192, 131,.12);
    color: #E3C083
}

.rl-cat-data {
    background: rgba(183,148,244,.12);
    color: #b794f4
}

.rl-cat-fix {
    background: rgba(252,129,129,.12);
    color: #fc8181
}

.rl-task-hours {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap
}

.rl-task-price {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap
}

.rl-tasks-cta {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.rl-tasks-cta-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5
}

.rl-tasks-cta-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 3px
}

.rl-period-toggle {
    display: inline-flex;
    background: rgba(255,255,255,.07);
    border-radius: var(--radius);
    padding: 3px;
    margin-bottom: 32px
}

.rl-period-btn {
    padding: 9px 20px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    white-space: nowrap
}

.rl-period-btn.active {
    background: var(--accent);
    color: #14171a
}

.rl-tier-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.rl-tier-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.rl-tier-card-head {
    padding: 14px 20px;
    background: rgba(255,255,255,.04);
    border-bottom: var(--sec-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--text)
}

.rl-tier-card-body {
    padding: 20px
}

.rl-tier-card-body ul {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.rl-tier-card-body li {
    font-size: 13px;
    color: var(--muted);
    padding-left: 14px;
    position: relative;
    line-height: 1.45
}

.rl-tier-card-body li::before {
    content: '–';
    position: absolute;
    left: 0;
    opacity: .4
}

.rl-note {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--muted-hi);
    line-height: 1.55
}

.rl-note a {
    color: var(--accent);
    text-decoration: underline
}

.rl-note--left {
    background: var(--card);
    border-left: 3px solid var(--accent);
    border-color: var(--border);
    border-left-color: var(--accent)
}

.rl-note--left h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text)
}

.rl-note--left p {
    font-size: 14px;
    color: var(--sec);
    line-height: 1.65;
    margin: 0
}

.rl-service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s,transform .2s;
    position: relative;
    overflow: hidden
}

.rl-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 60%,#C9A362));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s
}

.rl-service-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px)
}

.rl-service-card:hover::before {
    transform: scaleX(1)
}

.rl-service-tag {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: fit-content
}

.rl-service-card h3 {
    color: var(--text);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2
}

.rl-service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1
}

.rl-price-num {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 3px;
    letter-spacing: -.02em
}

.rl-price-hint {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px
}

.rl-service-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s;
    margin-top: auto
}

.rl-service-link:hover {
    gap: 9px;
    color: var(--accent)
}

.rl-service-cta {
    display: block;
    text-align: center;
    padding: 10px 18px;
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text) !important;
    transition: background .2s;
    margin-top: auto
}

.rl-service-cta:hover {
    background: rgba(255,255,255,.07)
}

.rl-form-card {
    background: var(--card);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,.45)
}

.rl-form-card-title {
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px
}

.rl-form-card-sub {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 22px
}

.rl-field {
    margin-bottom: 10px
}

.rl-field input,.rl-field select,.rl-field textarea {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
    font-family: inherit
}

.rl-field input::placeholder,.rl-field textarea::placeholder {
    color: var(--muted)
}

.rl-field input:focus,.rl-field select:focus,.rl-field textarea:focus {
    border-color: var(--accent-border)
}

.rl-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A95AD' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer
}

.rl-field select option {
    background: #1a2030;
    color: var(--text)
}

.rl-field textarea {
    resize: vertical;
    min-height: 70px
}

.rl-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.rl-submit {
    width: 100%;
    background: var(--accent);
    color: #14171a;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s,transform .15s;
    font-family: inherit;
    box-shadow: 0 6px 22px color-mix(in srgb,var(--accent) 22%,transparent);
    margin-top: 4px
}

.rl-submit:hover {
    opacity: .88;
    transform: translateY(-1px)
}

.rl-submit:disabled {
    opacity: .4;
    cursor: not-allowed
}

.rl-form-note {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4
}

.rl-form-note a {
    color: var(--sec);
    text-decoration: underline
}

.rl-form-success {
    display: none;
    text-align: center;
    padding: 24px 0
}

.rl-form-success-icon {
    font-size: 42px;
    margin-bottom: 12px
}

.rl-form-success h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px
}

.rl-form-success p {
    color: var(--muted);
    font-size: 13px
}

/* .rl-form-error — базовое состояние целиком задаёт content.css
   (display/font-size/color перекрыты напрямую, margin-top/-bottom —
   шорткатом margin); оставлен только .visible */

.rl-form-error.visible {
    display: block
}

.rl-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px
}

.rl-timeline-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding-bottom: 32px
}

.rl-timeline-item:last-child {
    padding-bottom: 0
}

.rl-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center
}

.rl-timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--accent-dim);
    border: 1.5px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 2
}

.rl-timeline-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 4px
}

.rl-timeline-item:last-child .rl-timeline-line {
    display: none
}

.rl-timeline-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s
}

.rl-timeline-item:hover .rl-timeline-content {
    border-color: var(--accent-border)
}

.rl-timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text)
}

.rl-timeline-content p {
    font-size: 14px;
    color: var(--sec);
    line-height: 1.6;
    margin: 0
}

.rl-timeline-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content
}

.rl-summary {
    background: var(--accent-glow);
    border: 1.5px solid var(--accent-border);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center
}

.rl-summary h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text)
}

.rl-summary-details {
    display: flex;
    gap: 32px;
    flex-wrap: wrap
}

.rl-summary-val {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.02em
}

.rl-summary-lbl {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.rl-summary-price {
    text-align: right
}

.rl-summary-price-val {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text)
}

.rl-summary-price-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px
}

.rl-scope-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    transition: border-color .2s,transform .2s
}

.rl-scope-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-3px)
}

.rl-scope-num {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--accent);
    opacity: .25;
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1
}

.rl-scope-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px
}

.rl-scope-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35
}

.rl-scope-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

.rl-terminal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden
}

.rl-terminal-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border)
}

.rl-terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 6px
}

.rl-terminal-dot:nth-child(1) {
    background: #ef4444
}

.rl-terminal-dot:nth-child(2) {
    background: #E3C083
}

.rl-terminal-dot:nth-child(3) {
    background: #22c55e
}

.rl-terminal-title {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
    font-weight: 500
}

.rl-terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono','Fira Code','Consolas',monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--sec)
}

.rl-terminal-body .cmd {
    color: var(--green)
}

.rl-terminal-body .flag {
    color: var(--accent)
}

.rl-terminal-body .dim {
    color: var(--muted)
}

.rl-threat-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.rl-threat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--sec);
    line-height: 1.55
}

.rl-threat-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-dim);
    color: var(--red);
    font-size: 16px
}

.rl-threat-list li strong {
    color: var(--text);
    font-weight: 600
}

.rl-who-item {
    padding: 24px;
    border-left: 2px solid var(--border-hi);
    transition: border-color .2s
}

.rl-who-item:hover {
    border-left-color: var(--accent)
}

.rl-who-item .rl-card-icon {
    font-size: 20px;
    margin-bottom: 10px
}

.rl-who-item h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px
}

.rl-who-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5
}

.rl-faq--anim .rl-faq-a {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 24px
}

.rl-faq--anim .rl-faq-item.open .rl-faq-a {
    max-height: 400px;
    padding: 0 24px 20px
}

@media (max-width:1024px) {
    .rl-hero-grid {
        grid-template-columns: 1fr
    }
    .rl-form-card {
        max-width: 480px
    }
    .rl-stats-row {
        grid-template-columns: repeat(2,1fr)
    }
    .rl-stat-cell {
        border-bottom: 1px solid var(--border)
    }
    .rl-grid-3 {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:900px) {
    .rl-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }
    .rl-grid-4,.rl-steps {
        grid-template-columns: repeat(2,1fr)
    }
    .rl-grid-3,.rl-tier-grid {
        grid-template-columns: 1fr
    }
    .rl-grid-2 {
        grid-template-columns: 1fr
    }
    .rl-author-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
    .rl-author-compact {
        grid-template-columns: 1fr
    }
    .rl-stats {
        gap: 32px
    }
    .rl-summary {
        grid-template-columns: 1fr
    }
    .rl-summary-price {
        text-align: left
    }
    .rl-timeline-item {
        grid-template-columns: 48px 1fr;
        gap: 14px
    }
    .rl-cta-inline {
        flex-direction: column;
        align-items: flex-start
    }
    .rl-cta-banner {
        flex-direction: column;
        padding: 28px 24px
    }
    .rl-steps--circle::before {
        display: none
    }
    .rl-steps--circle {
        gap: 32px
    }
}

@media (max-width:640px) {
    .rl {
        --sec-py: 48px
    }
    .rl-hero {
        padding: 48px 0 40px
    }
    .rl-grid-4,.rl-steps {
        grid-template-columns: 1fr
    }
    .rl-grid-3 {
        grid-template-columns: 1fr
    }
    .rl-hero-cta {
        justify-content: center
    }
    .rl-cta-box {
        padding: 40px 20px
    }
    .rl-cta-btns {
        flex-direction: column;
        align-items: center
    }
    .rl-stats {
        gap: 24px;
        justify-content: center;
        text-align: center
    }
    .rl-field-row {
        grid-template-columns: 1fr
    }
    .rl-timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 10px
    }
    .rl-timeline-num {
        width: 36px;
        height: 36px;
        font-size: 12px
    }
    .rl-plans {
        grid-template-columns: 1fr
    }
    .rl-tasks-table th:nth-child(2),.rl-tasks-table td:nth-child(2) {
        display: none
    }
    .rl-tasks-note {
        text-align: left
    }
}

.rl-tg-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    vertical-align: middle
}

.rl-grid-margin {
    margin-top: 24px
}

.rl-btn-vk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #07F;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 1px solid #07F;
    transition: .2s
}

.rl-btn-vk:hover {
    background: #005fcc;
    border-color: #005fcc;
    color: #fff;
    transform: translateY(-2px)
}

.rl-btn-vk .rl-tg-svg {
    width: 20px;
    height: 20px;
    fill: currentColor
}

.rl-btn--full {
    width: 100%
}

.rl-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border)
}

@media (max-width:768px) {
    .rl-stats-row {
        flex-direction: column;
        border: none
    }
}
