@import url(reset.css);

/* arimo-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/arimo-v35-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  /* arimo-500 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/arimo-v35-cyrillic_cyrillic-ext_latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  /* arimo-600 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/arimo-v35-cyrillic_cyrillic-ext_latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  /* arimo-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/arimo-v35-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
    --color-main-text: #0F172B;
    --color-primary-text: #45556C;
    --color-bg: var(--color-white-100);
    --color-primary-bg: #F8FAFC;
    --color-stroke: #E2E8F0;
    --color-blue: #155DFC;
    --color-blue-light: #DBEAFE;
    --color-dark-blue: #104DD5;
    --color-white-100: #FFFFFF;
    --color-black-100: #0A0A0A;
    --color-black-10: #E6E6E6;
    --color-green: #00A63E;
    --color-green-light: #DCFCE7;
    --color-purple: #9810FA;
    --color-purple-light: #F3E8FF;
    --color-red: #E7000B;
    --color-red-light: #FFE2E2;
    --color-orange: #F54900;
    --color-orange-light: #FFEDD4;
}

body{
    font-family: 'Arimo';
    font-size: 14px;
    color: var(--color-main-text);
    background-color: var(--color-bg);
}

*{
    font-family: 'Arimo';
}

* strong{
    font-weight: 600;
}

.wrapper{
    margin: 0 auto;
    max-width: 1220px;
}

.wrapper > h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.wrapper > p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-text);
    text-align: center;
    margin-bottom: 50px;
}

.btn{
    outline: none;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-blue{
    background: var(--color-blue);
    color: var(--color-white-100);
}

.btn-outline{
    background: var(--color-white-100);
    color: var(--color-main-text);
    border: 1px solid var(--color-black-10);
}

.btn-blue:hover{
    background: var(--color-dark-blue);
}

.btn-outline:hover{
    background: var(--color-black-10);
}

.header__mobile-btn {
    display: none;
    padding: 0;
    background: transparent;
}

.header__mobile-btn svg.lucide-x{
    display: none;
}

section{
    padding: 60px 0;
}

.is-hidden{
    display: none !important;
}

.header__nav-mobile {
    display: none;
    position: relative;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 20px 10px;
    z-index: 2;
    border-bottom: 2px solid var(--color-stroke);
    border-top: 1px solid var(--color-stroke);
}

.header__nav-mobile.active{
    display: flex;
}

.header__nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.header__nav-mobile ul li a {
    color: var(--color-primary-text);
    font-size: 16px;
}

.header__nav-mobile .btn {
    text-align: center;
}

main {
    padding-top: 65px;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 65px;
    border-bottom: 1px solid var(--color-stroke);
    z-index: 2;
    background: var(--color-white-100);
}

.header .wrapper{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.header__nav ul{
    display: flex;
    gap: 32px;
}

.header__nav ul li a{
    color: var(--color-primary-text);
    font-size: 16px;
}

.header__nav ul li a:hover{
    color: var(--color-main-text);
}

/* HERO */

.hero {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(133deg, var(--color-primary-bg), var(--color-bg));
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    text-align: center;
    line-height: 22px;
    letter-spacing: 0;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-buttons .btn{
    font-weight: 700;
}

/* ADVANTAGES */
.advantages {
    padding: 48px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 24px;
    justify-content: center;
}

.adv-item {
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--color-stroke);
    border-radius: 14px;
    box-shadow: 0.05em 0.05em 2px rgba(0, 0, 0, 0.2)
}

.adv-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-item h3 {
    font-size: 30px;
    line-height: 36px;
}

.adv-item p {
    color: var(--color-primary-text);
    line-height: 20px;
}

/* HOW IT WORKS */

.how {
    background: var(--color-primary-bg);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(286px, 1fr));
    gap: 24px;
    justify-content: center;
}

.how-item {
    position: relative;
    background: var(--color-white-100);
    border: 1px solid var(--color-stroke);
    border-radius: 14px;
    box-shadow: 0.05em 0.05em 2px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.how-num {
    position: absolute;
    left: -10px;
    top: -10px;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--color-blue);
    border-radius: 9999px;
    color: var(--color-white-100);
}

.how-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-blue-light);
    border-radius: 10px;
}

.how-item h3 {
    font-size: 16px;
    line-height: 24px;
}

.how-item p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

/* BENEFITS */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 24px;
    justify-content: center;
}

.benefits-item {
    position: relative;
    background: var(--color-white-100);
    border: 1px solid var(--color-stroke);
    border-radius: 14px;
    box-shadow: 0.05em 0.05em 2px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.benefits-item.help .benefits-icon{
    background: var(--color-blue-light);
}

.benefits-item.status .benefits-icon{
    background: var(--color-green-light);
}

.benefits-item.payments .benefits-icon{
    background: var(--color-purple-light);
}

.benefits-item.safety .benefits-icon{
    background: var(--color-red-light);
}

.benefits-item.traffic .benefits-icon{
    background: var(--color-orange-light);
}

.benefits-item.system .benefits-icon{
    background: transparent;
}

.benefits-item h3 {
    font-size: 16px;
    line-height: 24px;
}

.benefits-item p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

/* WHOM */

.whom {
    background: var(--color-primary-bg);
}

.whom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(286px, 1fr));
    gap: 24px;
    justify-content: center;
}

.whom-item {
    position: relative;
    background: var(--color-white-100);
    border: 1px solid var(--color-stroke);
    border-radius: 14px;
    box-shadow: 0.05em 0.05em 2px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-blue-light);
    border-radius: 10px;
}

.whom-item h3 {
    font-size: 16px;
    line-height: 24px;
}

.whom-item p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

/* READY */

.ready {
    background: var(--color-blue);
}

.ready .wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ready .wrapper > h2, .ready .wrapper > p{
    color: var(--color-white-100);
}

/* FOOTER */

.footer {
    padding: 48px 0;
}

.footer__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-stroke);
}

.footer__logo {
    margin-bottom: 16px;
}

.footer__item span {
    line-height: 20px;
    color: var(--color-primary-text);
}

.footer__item h2 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
}

.footer__item ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__item ul li a {
    line-height: 20px;
    color: var(--color-primary-text);
}

.copyright {
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright span {
    line-height: 20px;
    color: var(--color-primary-text);
}

/* PAGE BASE */

.page {
    padding: 80px 0 96px;
    background: var(--color-bg);
}

.page .wrapper {
    max-width: 780px;
}

.page-head h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
    margin-bottom: 32px;
}

/* RULES */
.page.rules .wrapper {
    max-width: 780px;
}

.page-updated {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
    margin-bottom: 32px;
}

.page-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.rules-section h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-main-text);
}

.rules-section h3 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--color-main-text);
}

.rules-section p + p {
    margin-top: 8px;
}

.page-body ul, .page-body ol {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-body ul{
    list-style: disc;
}

.page-body ol{
    list-style: numeric;
}

/* FAQ */

.faq-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-group-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-main-text);
    margin-bottom: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid var(--color-stroke);
    background: var(--color-white-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

/* убираем стандартный маркер summary */
.faq-item > summary {
    list-style: none;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-main-text);
}

.faq-item > summary::after {
    content: "▾";
    font-size: 12px;
    color: var(--color-primary-text);
    margin-left: 12px;
}

.faq-item[open] > summary::after {
    content: "▴";
}

.faq-item__content {
    padding: 10px 16px 14px;
    border-top: 1px solid var(--color-stroke);
    background: var(--color-primary-bg);
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.faq-item__content p + p {
    margin-top: 6px;
}

/* блок "не нашли ответ" */

.faq-contact {
    margin-top: 24px;
}

.faq-contact-card {
    border-radius: 16px;
    border: 1px solid var(--color-stroke);
    background: var(--color-blue-light);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
}

.faq-contact-text h3 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 4px;
    color: var(--color-main-text);
}

.faq-contact-text p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.faq-contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CONTACTS PAGE */

.page.contacts .wrapper {
    max-width: 1040px;
}

.page.contacts .wrapper .page-head h1{
    text-align: center;
}

.page.contacts .wrapper .page-subtitle{
    text-align: center;
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    align-items: flex-start;
}

/* левая колонка */

.contacts-form-card {
    border-radius: 16px;
    border: 1px solid var(--color-stroke);
    background: var(--color-white-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 24px 24px 28px;
}

.contacts-form-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-main-text);
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-form-group label {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-main-text);
}

.contacts-form-group input,
.contacts-form-group textarea {
    border-radius: 10px;
    border: 1px solid var(--color-stroke);
    background: var(--color-primary-bg);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
    outline: none;
}

.contacts-form-group input::placeholder,
.contacts-form-group textarea::placeholder {
    color: #94A3B8;
}

.contacts-form-group input:focus,
.contacts-form-group textarea:focus {
    border-color: var(--color-blue);
    background: var(--color-white-100);
}

.contacts-form-submit {
    margin-top: 6px;
    width: 100%;
}

/* правая колонка */

.contacts-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts-card {
    border-radius: 16px;
    border: 1px solid var(--color-stroke);
    background: var(--color-white-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 18px 20px;
}

.contacts-card-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-main-text);
}

.contacts-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts-row {
    display: flex;
    gap: 12px;
}

.contacts-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--color-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-icon svg {
    stroke: var(--color-blue);
}

.contacts-icon--gray {
    background: var(--color-primary-bg);
}

.contacts-icon--gray svg {
    stroke: var(--color-primary-text);
}

.contacts-row-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contacts-row-label {
    font-size: 12px;
    line-height: 16px;
    color: #94A3B8;
}

.contacts-row-main {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-blue);
    text-decoration: none;
}

.contacts-row-main:hover {
    text-decoration: underline;
}

.contacts-row-note {
    font-size: 12px;
    line-height: 16px;
    color: var(--color-primary-text);
}

/* legal card */

.contacts-legal {
    display: flex;
    gap: 12px;
}

.contacts-legal-text p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.contacts-legal-text p + p {
    margin-top: 2px;
}

/* CTA card */

.contacts-card--cta {
    background: var(--color-blue-light);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 16px;
}

.contacts-card--cta h2 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 4px;
    color: var(--color-main-text);
}

.contacts-card--cta p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.contacts-cta-action .btn {
    white-space: nowrap;
    display: flex;
    justify-content: center;
}

/* AUTH PAGE */

.page.auth .wrapper {
    max-width: 1040px;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: flex-start;
}

/* левая карточка */

.auth-main-card {
    border-radius: 16px;
    border: 1px solid var(--color-stroke);
    background: var(--color-white-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 24px 28px 20px;
}

.auth-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-main-text);
}

.auth-subtitle {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
    margin-bottom: 20px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-form-group label {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-main-text);
}

.auth-form-group input {
    border-radius: 10px;
    border: 1px solid var(--color-stroke);
    background: var(--color-primary-bg);
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
    outline: none;
}

.auth-form-group input::placeholder {
    color: #94A3B8;
}

.auth-form-group input:focus {
    border-color: var(--color-blue);
    background: var(--color-white-100);
}

.auth-submit {
    margin-top: 6px;
    width: 100%;
}

/* блок про телеграм */

.auth-telegram {
    margin-top: 48px;
    padding-top: 12px;
    border-top: 1px solid var(--color-stroke);
}

.auth-telegram-text {
    font-size: 13px;
    line-height: 18px;
    color: var(--color-primary-text);
    margin-bottom: 20px;
    margin-top: 20px;
}

.auth-telegram-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

/* подвал карточки входа */

.auth-agree {
    font-size: 12px;
    line-height: 16px;
    color: #94A3B8;
}

.auth-agree a {
    text-decoration: underline;
}

/* правая сторона */

.auth-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-side-card {
    border-radius: 16px;
    border: 1px solid var(--color-stroke);
    background: var(--color-white-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 18px 20px 20px;
}

.auth-side-card--small {
    padding-top: 16px;
}

.auth-side-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-main-text);
}

/* шаги получения доступа */

.auth-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.auth-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth-step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--color-blue-light);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.auth-step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-step-main {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-main-text);
}

.auth-step-note {
    font-size: 13px;
    line-height: 18px;
    color: var(--color-primary-text);
}

.auth-step-note a {
    text-decoration: underline;
}

/* забыли пароль */

.auth-side-note {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
    margin-bottom: 12px;
}

.auth-side-btn {
    gap: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PARTNER POPUP */

.partner-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.partner-popup-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.partner-popup-modal {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: var(--color-white-100);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    padding: 24px 28px 22px;
}

.partner-popup-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
}

.partner-popup-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: var(--color-main-text);
    margin-bottom: 8px;
    text-align: left;
    padding-top: 10px;
}

.partner-popup-subtitle {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-primary-text);
    margin-bottom: 48px;
}

/* блок "Как это работает" */

.partner-popup-how {
    border-radius: 14px;
    border: 1px solid var(--color-blue-light);
    background: var(--color-primary-bg);
    padding: 12px 14px;
    margin-bottom: 48px;
}

.partner-popup-how-title {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: var(--color-main-text);
    margin-bottom: 6px;
}

.partner-popup-how ul {
    padding-left: 18px;
    margin: 0;
}

.partner-popup-how li {
    font-size: 14px;
    line-height: 18px;
    color: var(--color-primary-text);
}

/* чекбоксы */

.partner-popup-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 48px;
}

.partner-popup-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
}

.partner-popup-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.partner-popup-checkbox-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--color-stroke);
    background: var(--color-primary-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-popup-checkbox-box::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--color-blue);
    opacity: 0;
    transition: opacity 0.1s ease;
}

.partner-popup-checkbox input:checked + .partner-popup-checkbox-box::before {
    opacity: 1;
}

.partner-popup-checkbox-text a {
    color: var(--color-blue);
    text-decoration: underline;
}

/* кнопки и подписи */

.partner-popup-main-btn {
    margin-top: 4px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partner-popup-main-btn.is-disabled {
    background: var(--color-black-10);
    border-color: var(--color-black-10);
    color: #94A3B8;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.partner-popup-guest {
    margin: 10px auto 0;
    display: block;
    background: transparent;
    border: none;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-primary-text);
    cursor: pointer;
}

.partner-popup-hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: #94A3B8;
    text-align: center;
}


/* адаптация под мобилу */

@media only screen and (max-width: 1260px){
    .wrapper{
        padding: 0 20px;
    }
}


@media only screen and (max-width: 1024px){
    .footer__content {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer__item:first-child {
        width: 100%;
    }
}

@media only screen and (max-width: 900px) {
    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .auth-layout {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 720px) {
    .btn-lg {
        width: 100%;
        justify-content: center;
        display: inline-flex;
    }
}

@media only screen and (max-width: 650px){
    .header__nav{
        display: none;
    }

    .header__mobile-btn {
        display: block;
    }

    .page {
        padding: 64px 0 80px;
    }

    .page-head h1 {
        font-size: 20px;
        line-height: 28px;
    }

    .faq-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-contact-actions {
        width: 100%;
        flex-direction: column;
    }

    .faq-contact-actions .btn {
        width: 100%;
        text-align: center;
    }

    .page.contacts .wrapper {
        max-width: 100%;
    }

    .contacts-form-card,
    .contacts-card {
        padding: 18px 16px 20px;
    }

    .contacts-card--cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .contacts-cta-action .btn {
        width: 100%;
        text-align: center;
    }

    .page.auth .wrapper {
        max-width: 100%;
    }

    .auth-main-card,
    .auth-side-card {
        padding: 18px 16px 18px;
    }
}

@media only screen and (max-width: 640px) {
    .partner-popup-modal {
        padding: 20px 16px 18px;
    }

    .withdraw-modal-inner {
        max-width: calc(100% - 16px);
        padding-inline: 16px;
    }
    .withdraw-modal-footer {
        flex-direction: column-reverse;
    }
    .withdraw-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}