:root {
    --dark: #1C1C1C;
    --accent: #F13939;
    --light: #B5B0CA;
    --light-rgb: 181, 176, 202;
    --white: #FFFFFF;
    --text: #212529;

    --tr: 0.2s;
}

.container {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.container._line {
    border: 1px solid var(--light);
}

.page {
    padding-top: 100px;
    padding-bottom: 100px;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
}

a {
    text-decoration: none;
    transition: var(--tr);
    color: inherit;
}

.dark {
    color: var(--white);
    background-color: var(--dark);
}

.dark > header {
    border-bottom: 1px solid rgba(var(--light-rgb), 0.3);
}

.dark._lines {
    background-image: url("../images/IMG_2421.png");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 23%;
}

.title-h1 {
    font-size: 72px;
    line-height: normal;
    letter-spacing: 0.01em;
}

.title-h2 {
    font-size: 64px;
    line-height: normal;
    letter-spacing: -0.005em;
}

.title-h3 {
    font-size: 54px;
    line-height: normal;
    letter-spacing: -0.005em;
}

.text {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 18px;
    font-weight: 500;
}

.nav__link {
    color: var(--white);
}

.nav__link:hover {
    color: var(--accent);
}

.btn {
    border-radius: 8px;
    padding: 16px 40px;
    box-sizing: border-box;
}

.btn._icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
}

.btn._icon::after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("../images/right-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-light {
    background-color: var(--light);
    border: 1px solid var(--light);
    color: #263238;
}

.btn-accent {
    background-color: var(--accent);
    border: 1px solid var(--accent);
    color: var(--white);
}

.btn-line {
    color: var(--text);
    border: 1px solid var(--light);
}

.btn._min {
    font-size: 16px;
    padding: 14px 40px;
}

.btn._ml {
    margin-left: 16px;
}

.main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
}

.main__title {
    margin-top: 0;
    margin-bottom: 24px;
}

.main__desc {
    max-width: 510px;
    margin-bottom: 60px;
}

.main__btn {
     justify-content: center;
    max-width: 270px;
    box-sizing: border-box;
}

.free {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 147px 65px;
}

.free__title {
    margin-top: 0;
    margin-bottom: 24px;
}

.free__desc {
    max-width: 520px;
    margin-bottom: 60px;
}

.free__btn {
    justify-content: center;
    max-width: 314px;
    box-sizing: border-box;
}

.price {
    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
    margin-bottom: 100px;
}

.price__title {
    margin: 0 auto 24px;
    max-width: 672px;
    text-align: center;
}

.price__desc {
    text-align: center;
    margin-bottom: 60px;
}

.price-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.price-box__col {
    padding: 60px 44px 76px 44px;
    box-sizing: border-box;
}

.price-box__free {
    border: 1px solid var(--light);
}

.price-box__paid {
    color: var(--white);
    background-color: var(--dark);
    border: 1px solid var(--dark);
}

.price-box__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
}

.price-box__cost {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
}

.price-box__paid .price-box__cost {
    color: var(--accent);
}

.price-box__list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 42px;
}

.price-box__item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-box__item + .price-box__item {
    margin-top: 28px;
}

.price-box__item::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("../images/checkmark.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.price-box__paid .price-box__item::before {
    background-image: url("../images/checkmarkred.svg");
}

.consultation {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 140px;
    background-image: url("../images/Nanaya0.png");
    background-position: bottom right;
    background-repeat: no-repeat;
}

.consultation__title {
    margin-top: 0;
    margin-bottom: 24px;
}

.consultation__desc {
    max-width: 820px;
    margin: 0 auto 60px;
}

.consultation__btn {
    max-width: 240px;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
}

footer {
    background-color: #473E4E;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    font-size: 16px;
    color: var(--white);
}

.footer > p {
    margin: 0;
    padding-top: 32px;
    padding-bottom: 32px;
}