/* Free position check landing */
.pos-landing {
    --ink: #152238;
    --muted: #65748a;
    --line: #e4eaf2;
    --blue: #4378f0;
    --violet: #6549df;
    --green: #18ad78;
    --red: #e35b68;
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    color: var(--ink);
    font-family: Ubuntu, sans-serif;
    box-sizing: border-box;
}

.pos-landing *, .pos-landing *:before, .pos-landing *:after {
    box-sizing: border-box;
}

.pos-landing h1, .pos-landing h2, .pos-landing h3, .pos-landing p, .pos-landing ol {
    margin: 0;
    padding: 0;
}

.pos-landing__kicker {
    color: var(--blue);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pos-landing__button {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 16px 24px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(105deg, var(--violet), var(--blue));
    box-shadow: 0 13px 24px rgba(75, 83, 205, .22);
    font: 700 16px Ubuntu, sans-serif;
    transition: transform .2s, box-shadow .2s;
}

.pos-landing__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(75, 83, 205, .3);
}

.pos-landing__button span {
    margin-left: 12px;
}

.pos-landing__button--light {
    color: var(--violet);
    background: #fff;
    box-shadow: 0 13px 24px rgba(20, 20, 80, .2);
}

/* Hero */
.pos-landing__hero {
    min-height: 540px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 56px;
    position: relative;
}

.pos-landing__hero:before {
    content: "";
    width: 430px;
    height: 430px;
    position: absolute;
    z-index: -1;
    right: -100px;
    top: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 117, 246, .14), rgba(157, 121, 249, .04) 57%, transparent 70%);
}

.pos-landing h1 {
    margin-top: 18px;
    font-family: Cygre, Ubuntu, sans-serif;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.pos-landing__lead {
    max-width: 520px;
    margin-top: 22px !important;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.pos-landing__actions {
    margin-top: 30px;
}

/* Report mockup */
.pos-report {
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(205, 215, 230, .8);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 27px 70px rgba(28, 51, 91, .15);
}

.pos-report__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pos-report__top strong {
    display: block;
    font-size: 15px;
}

.pos-report__top small {
    display: block;
    margin-top: 4px;
    color: #8b98aa;
    font-size: 11px;
}

.pos-report__tabs {
    display: flex;
    gap: 6px;
}

.pos-report__tabs span {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.pos-report__tabs span.is-active {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(67, 120, 240, .06);
}

.pos-report__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 18px 0;
}

.pos-report__stats div {
    padding: 12px;
    border-radius: 8px;
    background: #f7f9fc;
}

.pos-report__stats small {
    display: block;
    color: #8492a6;
    font-size: 11px;
}

.pos-report__stats strong {
    display: block;
    margin: 4px 0 2px;
    font-size: 22px;
}

.pos-report__stats b {
    font-size: 11px;
    font-weight: 500;
}

.pos-report__table {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    font-size: 12px;
}

.pos-report__row {
    display: grid;
    grid-template-columns: 1fr 70px 56px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    color: #465770;
}

.pos-report__row:first-child {
    border-top: 0;
}

.pos-report__row--head {
    background: #f8fafc;
    color: #8b98aa;
    font-size: 11px;
}

.pos-report__row span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-report__row b {
    color: var(--ink);
    font-size: 14px;
}

.pos-report__row em {
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

.pos-report__engine {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
}

.pos-report__engine--yandex {
    background: #ff3d2e;
}

.pos-report__engine--google {
    background: #4285f4;
}

.is-up {
    color: var(--green);
}

.is-down {
    color: var(--red);
}

/* Sections */
.pos-landing__section {
    margin-top: 80px;
}

.pos-landing__section h2 {
    max-width: 720px;
    margin-top: 14px;
    font-family: Cygre, Ubuntu, sans-serif;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.pos-landing__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.pos-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(28, 51, 91, .05);
}

.pos-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(101, 73, 223, .14), rgba(67, 120, 240, .14));
    color: var(--violet);
    font-size: 18px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
}

.pos-card h3 {
    font-size: 17px;
    line-height: 1.3;
}

.pos-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.pos-landing__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
    padding: 0;
    list-style: none;
}

.pos-landing__steps li {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    background: #f7f9fc;
}

.pos-landing__steps b {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
}

.pos-landing__steps h3 {
    font-size: 17px;
    line-height: 1.3;
}

.pos-landing__steps p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.pos-landing__text {
    max-width: 820px;
}

.pos-landing__text p {
    margin-top: 18px;
    color: #33445d;
    font-size: 16px;
    line-height: 1.7;
}

.pos-landing__text h2 + p {
    margin-top: 24px;
}

/* CTA */
.pos-landing__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 80px;
    padding: 44px 48px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(110deg, var(--violet), var(--blue));
}

.pos-landing__cta h2 {
    max-width: 560px;
    font-family: Cygre, Ubuntu, sans-serif;
    font-size: 30px;
    line-height: 1.15;
}

.pos-landing__cta p {
    max-width: 520px;
    margin-top: 12px;
    opacity: .85;
    line-height: 1.55;
}

.pos-landing__cta .pos-landing__button {
    flex: none;
}

@media (max-width: 1024px) {
    .pos-landing__hero {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 40px;
    }

    .pos-landing__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pos-landing__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pos-landing {
        padding: 20px 16px 50px;
    }

    .pos-landing h1 {
        font-size: 32px;
    }

    .pos-landing__lead {
        font-size: 16px;
    }

    .pos-landing__button {
        width: 100%;
    }

    .pos-landing__section {
        margin-top: 56px;
    }

    .pos-landing__section h2 {
        font-size: 26px;
    }

    .pos-landing__cards {
        grid-template-columns: 1fr;
    }

    .pos-report__tabs {
        display: none;
    }

    .pos-landing__cta {
        flex-direction: column;
        align-items: stretch;
        padding: 32px 22px;
        text-align: center;
    }

    .pos-landing__cta h2 {
        font-size: 24px;
    }
}
