html {
    -webkit-text-size-adjust: none;
    /*min-height: 100%;*/
    /*position: relative;*/
}

* {
    padding: 0;
    margin: 0;
}

:root {
    --boder-color: #a0a0a0;
    --link-color: #427BF4;
    --link-color-border: #abc2f4;
    --link-color-hover: #000;
    --button-color: var(--link-color);
    --button-color-hover: #3267d6;
    --vertical-l: 40px;
    --vertical-m: 30px;
    --vertical-s: 20px;
    --horizontal-l: 60px;
    --horizontal-m: 40px;
    --sidebar-width: 300px;
    --bottom-panel-height: 0;
    --font-size-main: 16px;
}

@media (max-width: 1300px) {
    :root {
        --horizontal-l: 40px;
    }
}

@media (max-width: 1200px) {
    :root {
        --horizontal-l: 30px;
        --sidebar-width: 250px;
    }
}

@media (max-width: 1100px) {
    :root {
        --horizontal-l: 20px;
        --vertical-m: 20px;
        --vertical-l: 30px;
    }
}

@media (max-width: 900px) {
    :root {
        --bottom-panel-height: 50px;
    }
}

@media (max-width: 600px) {
    :root {
        --font-size-main: 14px;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size-main);
    line-height: 1.5em;
}

h1 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2em;
}

h2 {
    font-size: 24px;
    font-weight: 500;
}

strong {
    font-weight: 500;
}

.mainLink {
    color: var(--link-color);
    text-decoration-color: var(--link-color-border);
}

.mainLink:hover {
    color: var(--link-color-hover);
    text-decoration-color: var(--link-color-hover);
}

.blackBoldLink {
    color: #000;
    text-decoration-color: #aaa;
}

.blackBoldLink:hover {
     text-decoration-color: #000;
}

.headingLink {
    color: #000;
    text-decoration: none;
}

.headingLink:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #aaa;
}

.button {
    padding: .6em .8em;
    background-color: var(--button-color);
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: var(--font-size-main);
    font-weight: 400;
}

a.button {
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background-color: var(--button-color-hover);
}

.button:active {
    transform: scale(.95);
}

.homePage {
    max-width: 1400px;
    margin: 0 var(--horizontal-l);
    gap: var(--horizontal-l);
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

.homePage__aside {
    width: var(--sidebar-width);
    margin-bottom: var(--vertical-l);
    display: flex;
    flex-direction: column;
    gap: var(--vertical-m);

}

@media (max-width: 900px) {
    .homePage__aside {
        display: none;
        position: fixed;
        background-color: #fff;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        height: calc(100% - var(--bottom-panel-height));
        padding: 15px 15px 0 15px;
        box-sizing: border-box;
        overflow-x: auto;
    }
}

.homePage__aside--visible {
    display: flex;

}

.homePage__aside--visible .homeSearch {
    margin-bottom: var(--vertical-m);
}

@media (max-width: 900px) {
    .noScroll {
        overflow: hidden;
    }
}

.homePage__asideHeading {
    font-size: 24px;
    font-weight: 500;
}

.homeSearch {
    display: flex;
    flex-direction: column;
    gap: var(--vertical-m);
}

.homeSearch__group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.homeSearch__heading {
    font-size: var(--font-size-main);
    font-weight: 500;
    background-color: #efefef;
    padding: .5em .6em;
    border-radius: 7px;
}

.homeSearch__select {
    border: 1px solid var(--boder-color);
    background-color: transparent;
    padding: .5em;
    border-radius: 5px;
}

.homeSearch__range {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.homeSearch__rangeInput {
    border: 1px solid var(--boder-color);
    background-color: transparent;
    padding: .5em;
    border-radius: 5px;
    width: 50%;
}

.homeSearch__infoButton {
    vertical-align: middle;
}

.homeSearch__label {
    margin-right: 3px;
}

.homeSearch__checkbox {
    margin-right: 3px;
}

.homeApply {
    position: sticky;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255,255,255,1) 84%, rgba(255,255,255,0) 100%);
    display: none;
}

.homeApply--visible {
    display: block;
}

.homeApply__button {
    width: 100%;
    margin: 15px 0;
}

.homePage__main {
    width: calc(100% - var(--sidebar-width) - var(--horizontal-l));
    display: flex;
    flex-direction: column;
    gap: var(--vertical-m);
    margin-bottom: var(--vertical-l);
}

@media (max-width: 900px) {
    .homePage__main {
        width: 100%;
    }
}

.homePage__heading1 {
    font-size: 24px;
    font-weight: 500;
}

.homePlatform {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

@media (max-width: 900px) {
    .homePlatform {
        flex-direction: column;
    }
}

.homePlatform__logo {
    width: 200px;
    height: 150px;
    border: 1px solid var(--boder-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .homePlatform__logo {
        border-radius: 10px;
    }
}

.homePlatform__logo img {
    max-width: 140px;
    max-height: 110px;
}

.homePlatform__main {
    width: calc(100% - 30px - 200px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 900px) {
    .homePlatform__main {
        width: 100%;
    }
}

.homePlatform__name {
    font-size: 24px;
    font-weight: 500;
}

.homePlatform__actions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: var(--vertical-l);
}

.compareApply {
    position: sticky;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255,255,255,1) 84%, rgba(255,255,255,0) 100%);
    display: none;
}

.compareApply--visible {
    display: block;
}

.compareApply__button {
    justify-content: center;
    width: 100%;
    margin: 15px 0;
}

a.compareApply__button {
    display: inline-flex;
}

.bottomPanel {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #eee;
    z-index: 20;
    display: none;
}

@media (max-width: 900px) {
    .bottomPanel {
        display: flex;
    }
}

.bottomPanel button {
    flex-grow: 1;
    background-color: transparent;
    border: none;
}

.bottomPanel button:active {
    background-color: #eee;
}

.rootBlock {
    width: calc(100% - 30px);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.topMenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .3em var(--horizontal-l);
    margin: var(--vertical-m) auto;
}

.topLogoLink {
    display: flex;
    align-items: center;
}

.topLogo {
    max-height: 24px;
}

.hr {
    height: 1px;
    background-color: #00000010;
    margin-bottom: var(--vertical-m);
}

@media (max-width: 700px) {
    .hr--noMobile {
        display: none;
    }
}

.platformPage {
    display: flex;
    flex-direction: column;
    gap: var(--vertical-l);
}

.platformIntro {
    display: flex;
    flex-direction: row;
    gap: var(--horizontal-l);
    max-width: 1000px;
}

@media (max-width: 700px) {
    .platformIntro {
        flex-direction: column;
        gap: var(--vertical-m);
        max-width: initial;
    }
}

.platformIntro__logo {
    display: flex;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 100px 100px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}

@media (max-width: 700px) {
    .platformIntro__logo {
        justify-content: center;
        box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.06);
    }
}

.platformIntro__logo img {
    max-width: 150px;
    max-height: 120px;
    margin:  var(--vertical-l) var(--horizontal-l) var(--vertical-l) var(--horizontal-l);
}

.platformIntro__main {
    display: flex;
    flex-direction: column;
    gap: var(--vertical-s)
}

.wContent {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.wContent p {
    margin: 0;
    font-weight: 300;
}

.wContent ul {
    font-weight: 300;
    padding-left: 1.5em;
}

.verticalSet {
    display: flex;
    flex-direction: column;
}

.verticalSet--m {
    gap: var(--vertical-m);
}

.charTableScroll {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 4;
}

.charTable {
    display: grid;
}

.comparePage .charTable {
    margin-bottom: 150px;
}

.charTable__row {
    display: grid;
    grid-template-columns: subgrid;
}

.charTable__rowPlans {
    position: sticky;
    top: 0;
}

.charTable__row:nth-child(odd) {
    background-color: #f8f8f8;
}

.charTable__col {
    padding: 15px;
    font-weight: 300;
}

@media (max-width: 600px) {
    .charTable__col {
        padding: 7px;
    }
}

.charTable__col--bold {
    font-weight: 500;
}

.charTable__col--center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.charTable__charName {
    vertical-align: middle;
}

.charTable__charHintButton {
    margin-left: 7px;
    vertical-align: middle;
}

.noValue {
    opacity: .3;
}

.charHint {
    position: absolute;
    background-color: #fff;
    display: none;
    box-shadow: 3px 3px 9px 5px #00000015;
    z-index: 10;
    border-radius: 10px;
    overflow: hidden;
}

.charHintTable {
    display: grid;
    grid-template-columns: max-content min-content;
}

.charHintText {
    display: block;
    padding: 7px 10px;
    white-space: pre-line;
    max-width: 500px;
}

.buttonInfo {
    background: transparent;
    border: none;
    cursor: help;
}

.charHint__row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
    background-color: #ffffff;
}

.charHint__row:nth-child(even) {
    background-color: #f5f5f5;
}

.charHint__col {
    padding: .3em .6em;
}

.hintable {
    background-color: transparent;
    border: none;
    cursor: help;
}

.hintable--text {
    font-size: var(--font-size-main);
    font-weight: 300;
    font-family: Roboto, sans-serif;
    border-bottom: 1px dotted;
}


.x {
    width: 16px;
    height: 16px;
    background-image: url("x.svg");
    display: inline-block;
}

.v {
    width: 16px;
    height: 16px;
    background-image: url("v.svg");
    display: inline-block;
}

.m {
    width: 16px;
    height: 16px;
    background-image: url("m.svg");
    display: inline-block;
}

.infinity {
    width: 20px;
    height: 10px;
    background-image: url("infinity.svg");
    display: inline-block;
}

.info {
    width: 16px;
    height: 16px;
    background-image: url("info.svg");
    display: inline-block;
}

.compareList {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: .5em var(--horizontal-m);
    margin-bottom: var(--vertical-l);
}

.comparePage {
    display: flex;
    flex-direction: column;
    gap: var(--vertical-l);
}

.textPage h1 {
    margin-bottom: .6em;
}

.textPage p {
    margin: 1.1em 0;
    line-height: 1.6;
    font-weight: 300;
}