/* ============================================================
   Backlink Analysis page (Views/Home/LinkRadar). The hero acts the product out (link-radar.js): a radar over the
   visitor's site, Ajebhom beside it reacting to what the sweep finds. Then the numbers, the problem, the report as a
   bento grid, three steps, the form and the price, FAQ and the last call. Form fields: components/content-form.
   Classes start with lr-.
   ============================================================ */

.lr-page {
    overflow-x: clip;
}

.lr-page .ds-bar i::after {
    transition: width .8s cubic-bezier(.4, 0, .2, 1);
}

.lr-tile {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ds-red-soft);
    color: var(--ds-red);
    font-size: 17px;
}

/* ---------- HERO ---------- */
.lr-hero {
    position: relative;
    padding: 46px 0 44px;
}

.lr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
}

.lr-hero-text .ds-h1 {
    margin-top: 18px;
    font-size: 40px;
    line-height: 1.5;
}

    .lr-hero-text .ds-h1 .colored-text {
        display: block;
    }

/* the domain box */
.lr-domain {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 540px;
    margin-top: 26px;
    padding: 6px;
    padding-inline-start: 18px;
    border-radius: var(--ds-r-pill);
    background: var(--ds-surface);
    border: 1px solid var(--ds-input-line);
    box-shadow: var(--ds-shadow-md);
}

    .lr-domain > i {
        color: var(--ds-muted);
    }

    .lr-domain input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 16px;
        color: var(--ds-ink);
    }

    .lr-domain:focus-within {
        border-color: var(--ds-red);
        box-shadow: var(--ds-ring);
    }

.lr-hero-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--ds-muted);
}

    .lr-hero-foot i {
        color: var(--ds-ok);
    }

    .lr-hero-foot a {
        font-weight: 700;
        color: var(--ds-red) !important;
    }

        .lr-hero-foot a i {
            color: inherit;
        }

/* ---- the scene ---- */
.lr-lab {
    position: relative;
    padding-top: 92px;
}

    .lr-lab > i {
        display: none;
    }

/* the robot over the card's top edge (narrow screens); from 1200px it stands beside it, below */
.lr-lab .ab-actor {
    --ab-size: 140px;
    --ab-peek: 92px;
    top: 0;
    inset-inline-start: 30px;
}

.lr-lab .ab-say {
    bottom: 34px;
    inset-inline-start: 128px;
    max-width: min(320px, 52vw);
}

.lr-card {
    position: relative;
    z-index: 2;
    padding: 16px 18px 18px;
    border-radius: var(--ds-r-xl);
    background: var(--ds-surface);
    border: 1px solid var(--ds-line-soft);
    border-top: 3px solid var(--ds-red);
    box-shadow: var(--ds-shadow-lg);
}

.lr-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.lr-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--ds-r-pill);
    background: var(--ds-tint);
    font-size: 14px;
    font-weight: 800;
    color: var(--ds-red);
}

.lr-state {
    font-size: 13px;
    color: var(--ds-muted);
}

.lr-lab.is-done .lr-state {
    color: var(--ds-ok);
}

/* the radar */
.lr-radar {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 1;
    margin: 0 auto;
}

    .lr-radar svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

.lr-rings circle,
.lr-rings path {
    fill: none;
    stroke: var(--ds-line);
    stroke-width: 1.5;
}

.lr-rings circle:first-child {
    fill: var(--ds-surface-2);
}

.lr-sweep {
    transition: opacity .5s ease;
}

    .lr-sweep path {
        fill: var(--ds-red);
    }

.lr-sweep-edge {
    stroke: var(--ds-red);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.lr-core {
    fill: var(--ds-red);
}

.lr-core-ring {
    fill: none;
    stroke: var(--ds-red);
    stroke-width: 2;
    opacity: .3;
    transform-box: fill-box;
    transform-origin: center;
    animation: lr-pulse 2.4s ease-out infinite;
}

@keyframes lr-pulse {
    from { transform: scale(.7); opacity: .5; }
    to { transform: scale(1.9); opacity: 0; }
}

/* the links: drawn from each site to the centre (an opportunity to the competitor) when the sweep passes */
.lr-link {
    stroke: var(--ds-skeleton);
    stroke-width: 1.6;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .6s ease, opacity .6s ease;
}

    .lr-link.is-lit {
        stroke-dashoffset: 0;
    }

    .lr-link.is-risk {
        stroke: #E5484D;
        stroke-width: 2;
    }

    .lr-link.is-opp {
        stroke: var(--ds-ok-bright);
        stroke-width: 2;
    }

    /* a lost link: drawn, then it fades away */
    .lr-link.is-gone {
        opacity: 0;
    }

.lr-dot {
    fill: var(--ds-skeleton);
    transform-box: fill-box;
    transform-origin: center;
    transition: fill .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

    .lr-dot.is-lit {
        fill: #8A96A6;
        transform: scale(1.25);
    }

    .lr-dot.is-risk.is-lit {
        fill: #E5484D;
        animation: lr-blink 1s ease-in-out infinite;
    }

    .lr-dot.is-opp.is-lit {
        fill: var(--ds-ok-bright);
    }

    .lr-dot.is-lost {
        fill: var(--ds-surface);
        stroke: var(--ds-skeleton);
        stroke-width: 2;
        stroke-dasharray: 3 3;
    }

        .lr-dot.is-lost.is-lit {
            fill: var(--ds-surface);
            stroke: #8A96A6;
        }

@keyframes lr-blink {
    50% { opacity: .35; }
}

.lr-rival {
    fill: var(--ds-surface);
    stroke: var(--ds-red);
    stroke-width: 3;
}

/* the names, over their dots */
.lr-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lr-label {
    position: absolute;
    padding: 2px 9px;
    border-radius: 8px;
    background: var(--ds-surface);
    border: 1px solid var(--ds-line);
    box-shadow: var(--ds-shadow-sm);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    direction: ltr;
    color: var(--ds-ink);
    opacity: 0;
    transform: translate(-50%, -150%) scale(.9);
    transition: opacity .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

    .lr-label.is-on {
        opacity: 1;
        transform: translate(-50%, -170%);
    }

    .lr-label.is-risk {
        border-color: #F5B5B7;
        color: #C8282E;
    }

    .lr-label.is-opp {
        border-color: #A9DDB0;
        color: var(--ds-ok);
    }

    .lr-label.is-lost {
        color: var(--ds-muted);
        text-decoration: line-through;
    }

    .lr-label.is-rival {
        background: var(--ds-red);
        border-color: var(--ds-red);
        color: #FFF;
    }

/* the counters under the radar */
.lr-counters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

    .lr-counters > div {
        padding: 10px 8px;
        border-radius: 14px;
        background: var(--ds-bg);
        border: 1px solid var(--ds-line-soft);
        text-align: center;
    }

    .lr-counters b {
        display: block;
        font-size: 22px;
        line-height: 1.3;
        color: var(--ds-ink);
    }

    .lr-counters span {
        display: block;
        font-size: 11.5px;
        line-height: 1.5;
        color: var(--ds-muted);
    }

    .lr-counters .is-risk b {
        color: #C8282E;
    }

    .lr-counters .is-opp b {
        color: var(--ds-ok);
    }

.lr-mini-health {
    position: relative;
}

    .lr-mini-health svg {
        position: absolute;
        top: 6px;
        inset-inline-start: 50%;
        width: 40px;
        height: 40px;
        transform: translateX(-50%) rotate(-90deg);
    }

html[dir="rtl"] .lr-mini-health svg {
    transform: translateX(50%) rotate(-90deg);
}

    .lr-mini-health b {
        position: relative;
        line-height: 1.85 !important;
        font-size: 15px !important;
    }

    .lr-mini-health span {
        margin-top: 4px;
    }

.lr-mh-track,
.lr-mh-value {
    fill: none;
    stroke-width: 4;
}

.lr-mh-track {
    stroke: var(--ds-line-soft);
}

.lr-mh-value {
    stroke: var(--ds-warn);
    stroke-linecap: round;
    stroke-dasharray: calc(var(--v, 0) * 1.131) 113.1;
    transition: stroke-dasharray .9s ease;
}

.lr-lab-note {
    margin: 10px 0 0 !important;
    font-size: 12px;
    color: var(--ds-muted);
    text-align: center;
}

.lr-lab.is-still .lr-core-ring,
.lr-lab.is-still .lr-dot {
    animation: none;
}

/* from 1200px: the robot stands full size beside the card and points at the radar */
@media (min-width: 1200px) {
    .lr-hero-grid {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
        gap: 26px;
    }

    .lr-hero-text .ds-h1 {
        font-size: 36px;
    }

    .lr-lab {
        padding-top: 0;
        padding-inline-start: 230px;
    }

        .lr-lab .ab-actor {
            --ab-size: 320px;
            --ab-peek: auto;
            top: auto;
            bottom: 40px;
            inset-inline-start: -36px;
            z-index: 3;
        }

        /* what it says: above its head, the tail pointing down at it */
        .lr-lab .ab-say {
            bottom: calc(100% - 30px);
            inset-inline-start: 46px;
            max-width: 220px;
            font-size: 15px;
        }

            .lr-lab .ab-say::after {
                bottom: -8px;
                inset-inline-start: calc(50% - 7px);
                border: 0;
                border-bottom: 1px solid var(--ds-line);
                border-right: 1px solid var(--ds-line);
                transform: rotate(45deg);
            }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .lr-lab {
        padding-inline-start: 200px;
    }

        .lr-lab .ab-actor {
            --ab-size: 280px;
            inset-inline-start: -30px;
        }

        .lr-lab .ab-say {
            inset-inline-start: 34px;
            max-width: 200px;
            font-size: 14px;
        }
}

/* ---------- NUMBERS ---------- */
.lr-stats-section {
    padding: 10px 0 0;
}

.lr-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: var(--ds-r-lg);
    background: var(--ds-surface);
    border: 1px solid var(--ds-line-soft);
    box-shadow: var(--ds-shadow-sm);
}

    .lr-stats > div {
        padding: 22px 18px;
        text-align: center;
    }

        .lr-stats > div + div {
            border-inline-start: 1px solid var(--ds-line-soft);
        }

    .lr-stats b {
        display: block;
        font-size: 40px;
        line-height: 1.25;
        color: var(--ds-red);
    }

    .lr-stats span {
        font-size: 14px;
        color: var(--ds-text);
    }

/* ---------- 01 THE PROBLEM ---------- */
.lr-problem {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
}

.lr-problem-robot {
    width: 100%;
    height: auto;
}

.lr-problem-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-problem-list li {
        display: flex;
        gap: 16px;
        padding: 20px 22px;
        border-radius: var(--ds-r-lg);
        background: var(--ds-surface);
        border: 1px solid var(--ds-line-soft);
        border-inline-start: 4px solid var(--ds-red);
        box-shadow: var(--ds-shadow-sm);
    }

    .lr-problem-list h3 {
        margin: 0 0 4px !important;
        font-size: 17px;
        font-weight: 700;
        color: var(--ds-ink);
    }

    .lr-problem-list p {
        margin: 0 !important;
        font-size: 15px;
        line-height: 1.95;
    }

/* ---------- 02 THE REPORT (bento) ---------- */
.lr-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* dense: the wide tiles leave no holes (the small ones after them move up) */
    grid-auto-flow: row dense;
    gap: 16px;
}

.lr-t {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: var(--ds-r-lg);
    background: var(--ds-surface);
    border: 1px solid var(--ds-line-soft);
    box-shadow: var(--ds-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .lr-t:hover {
        transform: translateY(-3px);
        box-shadow: var(--ds-shadow-md);
    }

    .lr-t header {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .lr-t h3 {
        margin: 0 !important;
        font-size: 17px;
        font-weight: 800;
        color: var(--ds-ink);
    }

.lr-t-health,
.lr-t-gap {
    grid-column: span 2;
}

.lr-cap,
.lr-note {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.85;
    color: var(--ds-muted);
}

/* health */
.lr-health {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.lr-donut {
    position: relative;
}

    .lr-donut svg {
        display: block;
        width: 100%;
        transform: rotate(-90deg);
    }

    .lr-donut > div {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .lr-donut b {
        font-size: 40px;
        line-height: 1.1;
        color: var(--ds-ink);
    }

.lr-donut-track,
.lr-donut-value {
    fill: none;
    stroke-width: 12;
}

.lr-donut-track {
    stroke: var(--ds-line-soft);
}

.lr-donut-value {
    stroke: var(--ds-warn);
    stroke-linecap: round;
    stroke-dasharray: calc(var(--v) * 3.267) 326.7;
}

.lr-status {
    margin-top: 4px;
    padding: 1px 10px;
    border-radius: 7px;
    background: var(--ds-warn-soft);
    font-size: 12px;
    font-weight: 800;
    color: var(--ds-warn);
}

.lr-axes {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-axes li,
    .lr-comp > div {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr) 46px;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

    .lr-axes b,
    .lr-comp b {
        font-size: 13px;
        text-align: end;
        color: var(--ds-ink);
    }

/* the AI report */
.lr-lang {
    display: inline-flex;
    margin-inline-start: auto;
    padding: 3px;
    border-radius: var(--ds-r-pill);
    background: var(--ds-soft);
}

    .lr-lang button {
        padding: 3px 10px;
        border: 0;
        border-radius: var(--ds-r-pill);
        background: transparent;
        font-size: 12px;
        font-weight: 700;
        color: var(--ds-muted);
    }

        .lr-lang button.is-on {
            background: var(--ds-surface);
            box-shadow: var(--ds-shadow-sm);
            color: var(--ds-red);
        }

.lr-ai {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .lr-ai img {
        flex: none;
        width: 64px;
        height: 64px;
    }

    .lr-ai p {
        position: relative;
        margin: 0 !important;
        padding: 10px 14px;
        border-radius: 14px;
        background: var(--ds-tint);
        font-size: 14px;
        line-height: 1.9;
        color: var(--ds-ink);
    }

.lr-actions {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-actions li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: var(--ds-ink);
    }

.lr-prio {
    flex: none;
    padding: 1px 8px;
    border-radius: 6px;
    background: var(--ds-red-soft);
    font-size: 11.5px;
    font-weight: 800;
    color: var(--ds-red);
}

/* competitors */
.lr-comp {
    display: grid;
    gap: 8px;
}

    .lr-comp > div {
        grid-template-columns: 120px minmax(0, 1fr) 46px;
    }

        .lr-comp > div:not(.is-you) .ds-bar i::after {
            background: #B7BEC7;
        }

        .lr-comp > div.is-you {
            font-weight: 800;
            color: var(--ds-red);
        }

.lr-note i {
    color: var(--ds-red);
}

/* lost links */
.lr-lost,
.lr-broken {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-lost li {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 4px 10px;
        padding: 9px 12px;
        border-radius: 10px;
        background: var(--ds-bg);
        border: 1px dashed var(--ds-input-line);
        font-size: 14px;
        font-weight: 700;
        color: var(--ds-text);
    }

        .lr-lost li > span {
            text-decoration: line-through;
            text-decoration-color: var(--ds-red);
        }

    .lr-lost small,
    .lr-broken small {
        font-size: 12px;
        font-weight: 500;
        color: var(--ds-muted);
    }

/* link gap */
.lr-gap-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

    .lr-gap-list button {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px;
        border-radius: 14px;
        background: var(--ds-bg);
        border: 1px solid var(--ds-line);
        text-align: start;
        transition: border-color .2s ease, background .2s ease;
    }

        .lr-gap-list button.is-on {
            background: var(--ds-ok-soft);
            border-color: #A9DDB0;
        }

        .lr-gap-list button span {
            font-size: 14px;
            font-weight: 800;
            color: var(--ds-ink);
        }

        .lr-gap-list button em {
            padding: 0 8px;
            border-radius: 6px;
            background: var(--ds-blue-soft);
            font-size: 11.5px;
            font-style: normal;
            font-weight: 700;
            color: var(--ds-blue);
        }

        .lr-gap-list button small {
            font-size: 12px;
            color: var(--ds-ok);
        }

.lr-gap-detail {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ds-bg);
}

    .lr-gap-detail > div {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
        font-size: 14px;
    }

    .lr-gap-detail dt {
        font-weight: 700;
        color: var(--ds-muted);
    }

    .lr-gap-detail dd {
        margin: 0;
        overflow-wrap: anywhere;
        font-weight: 700;
        color: var(--ds-ink);
    }

/* Disavow */
.lr-threshold {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-text);
}

    .lr-threshold input {
        accent-color: var(--ds-red);
    }

.lr-file {
    padding: 12px;
    border-radius: 12px;
    background: #1E2128;
    font-family: var(--ds-mono);
}

.lr-file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12.5px;
    color: #FFF;
}

    .lr-file-name span {
        margin-inline-start: auto;
        font-family: inherit;
        color: #FF8A80;
    }

.lr-file code {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    line-height: 1.9;
    color: #FFB4AE;
    transition: opacity .25s ease;
}

    .lr-file code span {
        color: #9AA1A9;
    }

    .lr-file code.is-out {
        opacity: .25;
        text-decoration: line-through;
    }

/* trend */
.lr-trend {
    position: relative;
    height: 120px;
}

    .lr-trend svg {
        width: 100%;
        height: 100%;
    }

.lr-trend-area {
    fill: rgba(201, 29, 19, .07);
}

.lr-trend-line {
    fill: none;
    stroke: var(--ds-red);
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.lr-spike {
    position: absolute;
    width: 0;
    height: 0;
}

    .lr-spike i {
        position: absolute;
        width: 14px;
        height: 14px;
        margin: -7px 0 0 -7px;
        border-radius: 50%;
        background: var(--ds-warn);
        box-shadow: 0 0 0 5px rgba(227, 148, 0, .25);
    }

.lr-down {
    font-weight: 800;
    color: var(--ds-red);
}

.lr-spike-note {
    font-weight: 700;
    color: var(--ds-warn);
}

/* anchors */
.lr-anchor-bar {
    display: flex;
    height: 14px;
    overflow: hidden;
    border-radius: 8px;
}

    .lr-anchor-bar i {
        width: calc(var(--w) * 1%);
        background: var(--c);
    }

.lr-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-legend li {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;
    }

        .lr-legend li i {
            width: 10px;
            height: 10px;
            border-radius: 3px;
            background: var(--c);
        }

        .lr-legend li b {
            margin-inline-start: auto;
            font-size: 12px;
            color: var(--ds-ink);
        }

/* broken pages */
.lr-broken li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--ds-bg);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ds-ink);
}

.lr-404 {
    padding: 0 7px;
    border-radius: 6px;
    background: var(--ds-red-soft);
    font-family: var(--ds-mono);
    font-size: 12px;
    color: var(--ds-red);
}

.lr-fix {
    margin-inline-start: auto;
    font-size: 12px;
    color: var(--ds-ok);
}

/* lists + Excel */
.lr-excel {
    display: grid;
    gap: 8px;
}

    .lr-excel span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

        .lr-excel span b {
            margin-inline-start: auto;
            color: var(--ds-ink);
        }

    .lr-excel i {
        color: var(--ds-muted);
    }

.lr-excel-btn {
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    background: var(--ds-ok-soft);
    font-weight: 800;
    color: var(--ds-ok) !important;
}

    .lr-excel-btn i {
        color: inherit !important;
    }

/* ---------- 03 FLOW ---------- */
.lr-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lr-flow li {
        position: relative;
        margin-top: 56px;
        padding: 74px 22px 24px;
        border-radius: var(--ds-r-lg);
        background: var(--ds-surface);
        border: 1px solid var(--ds-line-soft);
        box-shadow: var(--ds-shadow-sm);
        text-align: center;
    }

    .lr-flow img {
        position: absolute;
        top: -56px;
        left: calc(50% - 60px);
        width: 120px;
        height: 120px;
    }

.lr-flow-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ds-red);
    font-size: 13px;
    font-weight: 800;
    color: #FFF;
}

.lr-flow h3 {
    margin: 10px 0 6px !important;
    font-size: 17px;
    font-weight: 700;
    color: var(--ds-ink);
}

.lr-flow p {
    margin: 0 !important;
    font-size: 14.5px;
    line-height: 1.95;
}

/* ---------- 04 START ---------- */
.lr-start {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 30px;
    align-items: start;
}

.lr-say {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: -10px;
}

    .lr-say img {
        flex: none;
        width: 120px;
        height: auto;
    }

    .lr-say p {
        margin-bottom: 26px !important;
        padding: 12px 16px;
        border-radius: 16px;
        background: var(--ds-surface);
        border: 1px solid var(--ds-line);
        box-shadow: var(--ds-shadow-sm);
        font-size: 15px;
        line-height: 1.9;
        color: var(--ds-ink);
    }

.lr-form-card {
    position: relative;
    padding: 26px;
    border-radius: var(--ds-r-xl);
    background: var(--ds-surface);
    border: 1px solid var(--ds-line-soft);
    border-top: 4px solid var(--ds-red);
    box-shadow: var(--ds-shadow-md);
}

.lr-select {
    width: 100%;
}

.lr-hint {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--ds-muted);
}

    /* the "https://" and "example.com" in the domain hint */
    .lr-hint .lr-code {
        padding: 0 5px;
        border-radius: 5px;
        background: var(--ds-soft);
        font-family: var(--ds-mono);
        font-size: 12px;
        color: var(--ds-ink);
    }

/* a user who holds credit: how many analyses are left */
.lr-credit {
    margin: 12px 0 0;
    font-size: 13.5px;
    color: var(--ds-ok);
}

.lr-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.lr-price {
    padding: 24px;
    border-radius: var(--ds-r-xl);
    background: radial-gradient(ellipse 80% 140% at 50% 0%, #D8261B 0%, var(--ds-red) 55%, var(--ds-red-dark) 100%);
    color: #FFDCD9;
    box-shadow: 0 24px 60px rgba(201, 29, 19, .2);
}

    .lr-price h3 {
        margin: 10px 0 0 !important;
        font-size: 18px;
        font-weight: 800;
        color: #FFF;
    }

    .lr-price p {
        margin: 6px 0 10px !important;
        font-size: 14px;
        line-height: 1.9;
        color: #FFDCD9;
    }

.lr-price-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 7px;
    background: #FFF;
    font-size: 12px;
    font-weight: 800;
    color: var(--ds-red);
}

.lr-price-value b {
    font-size: 48px;
    line-height: 1.3;
    color: #FFF;
}

.lr-price-value del {
    margin-inline: 6px;
    font-size: 18px;
    color: #FFB8B2;
}

.lr-price-note {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    color: #FFF;
}

.lr-get {
    margin-top: 22px;
}

    .lr-get h3 {
        font-size: 19px;
        font-weight: 800;
        color: var(--ds-ink);
    }

    .lr-get p {
        margin: 4px 0 12px !important;
        font-size: 14px;
    }

    .lr-get ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .lr-get li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 12px;
        background: var(--ds-surface);
        border: 1px solid var(--ds-line-soft);
        font-size: 14px;
        font-weight: 600;
        color: var(--ds-ink);
    }

        .lr-get li i {
            width: 18px;
            text-align: center;
            color: var(--ds-red);
        }

/* ---------- 05 FAQ ---------- */
.lr-faq-wrap {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.lr-faq-robot {
    position: sticky;
    top: 110px;
    width: 100%;
    height: auto;
}

.lr-faq {
    display: grid;
    gap: 10px;
}

    .lr-faq details {
        border-radius: var(--ds-r-md);
        background: var(--ds-bg);
        border: 1px solid var(--ds-line);
    }

        .lr-faq details[open] {
            border-color: var(--ds-tint-line);
            background: var(--ds-surface);
        }

    .lr-faq summary {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 700;
        color: var(--ds-ink);
        cursor: pointer;
        list-style: none;
    }

        .lr-faq summary::-webkit-details-marker {
            display: none;
        }

        .lr-faq summary::after {
            content: "\f067";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-inline-start: auto;
            font-size: 12px;
            color: var(--ds-red);
            transition: transform .2s ease;
        }

    .lr-faq details[open] summary::after {
        transform: rotate(45deg);
    }

    .lr-faq details p {
        padding: 0 20px 18px;
        font-size: 15px;
        line-height: 2;
    }

/* ---------- FINAL CTA ---------- */
.lr-end {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 40px 50px;
    border-radius: var(--ds-r-xl);
    background: radial-gradient(ellipse 70% 140% at 0% 0%, #DE3328 0%, var(--ds-red) 45%, var(--ds-red-dark) 100%);
    box-shadow: 0 24px 60px rgba(201, 29, 19, .22);
}

:root[data-theme="dark"] .lr-end {
    background: linear-gradient(135deg, #1F1214 0%, #160E10 100%);
    border: 1px solid #3B2325;
    border-top: 3px solid var(--ds-red);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.lr-end-robot {
    display: block;
    width: 100%;
    height: auto;
    margin: -40px 0 -50px;
    animation: lr-float-big 3.2s ease-in-out infinite;
}

@keyframes lr-float-big {
    50% { transform: translateY(-10px); }
}

.lr-end .ds-h2 {
    margin-top: 0 !important;
    color: #FFF;
}

    .lr-end .ds-h2 .colored-text {
        color: #FFF;
        text-decoration-color: rgba(255, 255, 255, .28);
    }

:root[data-theme="dark"] .lr-end .ds-h2 .colored-text {
    color: var(--ds-red);
}

.lr-end-text p {
    margin-top: 8px !important;
    font-size: 17px;
    color: #FFDCD9;
}

:root[data-theme="dark"] .lr-end-text p {
    color: var(--ds-text);
}

.lr-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 22px;
}

.lr-btn-outline {
    border-color: rgba(255, 255, 255, .6);
    color: #FFF !important;
}

    .lr-btn-outline:hover {
        background: rgba(255, 255, 255, .12);
    }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .lr-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lr-t-gap {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .lr-hero-grid,
    .lr-start {
        grid-template-columns: minmax(0, 1fr);
    }

    .lr-hero-text {
        text-align: center;
    }

    .lr-domain {
        margin-inline: auto;
    }

    .lr-hero-foot {
        justify-content: center;
    }

    .lr-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .lr-stats > div:nth-child(3) {
            border-inline-start: 0;
        }

        .lr-stats > div:nth-child(n + 3) {
            border-top: 1px solid var(--ds-line-soft);
        }

    .lr-problem {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .lr-faq-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .lr-faq-robot {
        position: static;
        width: 150px;
        margin: 0 auto;
    }

    .lr-end {
        grid-template-columns: 180px minmax(0, 1fr);
        padding: 34px;
    }
}

@media (max-width: 767px) {
    .lr-bento,
    .lr-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .lr-t-health,
    .lr-t-gap {
        grid-column: auto;
    }

    .lr-gap-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .lr-hero {
        padding-top: 30px;
    }

    .lr-hero-text .ds-h1 {
        font-size: 27px;
    }

    .lr-domain button {
        padding-inline: 14px;
        font-size: 14px;
    }

    .lr-lab {
        padding-top: 74px;
    }

        .lr-lab .ab-actor {
            --ab-size: 112px;
            --ab-peek: 74px;
            inset-inline-start: 14px;
        }

        .lr-lab .ab-say {
            bottom: 26px;
            inset-inline-start: 100px;
            max-width: calc(100vw - 150px);
            padding: 7px 11px;
            font-size: 12.5px;
        }

    .lr-card {
        padding: 12px;
    }

    .lr-label {
        font-size: 10.5px;
        padding: 1px 6px;
    }

    .lr-counters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lr-stats b {
        font-size: 30px;
    }

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

    .lr-problem-robot {
        width: 150px;
        margin: 0 auto;
    }

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

    .lr-donut {
        width: 150px;
        margin: 0 auto;
    }

    .lr-axes li,
    .lr-comp > div {
        grid-template-columns: 96px minmax(0, 1fr) 40px;
        font-size: 13px;
    }

    .lr-get ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .lr-end {
        grid-template-columns: minmax(0, 1fr);
        padding: 28px 22px;
        text-align: center;
    }

    .lr-end-robot {
        width: 150px;
        margin: -70px auto -10px;
    }

    .lr-actions-row {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lr-end-robot,
    .lr-core-ring,
    .lr-dot.is-risk.is-lit {
        animation: none;
    }

    .lr-page .ds-bar i::after,
    .lr-link,
    .lr-label,
    .lr-mh-value {
        transition: none;
    }
}
