.main {
    display: flow-root;
}
.header1 .nav-skills {
    color: #4d8dff;
    border-bottom: 1px solid #4d8dff;
    padding-bottom: 2px;
}
.skills-section {
    width: calc(100% - 40px);
    margin-inline: auto;
    padding-top: 56px;
    padding-bottom: 48px;
}

.skills-intro {
    margin-bottom: 40px;
}

.skills-intro__eyebrow {
    margin: 0 0 12px;
    color: #5caaff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.skills-intro .skills-intro__title {
    margin: 0;
    color: var(--text-color);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.skills-intro__title span {
    display: block;
    color: #1263ff;
}

.skills-intro__description {
    max-width: 850px;
    margin: 16px 0 0;
    color: #b8c4d3;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 599px) {
    .skills-section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .skills-intro {
        margin-bottom: 28px;
    }
}
.skills-build__title {
    margin: 0 0 24px;
    color: var(--text-color);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.skills-build__title span {
    color: #1263ff;
}

/* Карточки */

.skills-build__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;

    border: 1px solid #245b94;
    border-radius: 20px;
    background: linear-gradient(135deg, #101e32, #07111e);
    color: var(--text-color);
}

/* Иконки */

.skill-card__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;

    width: 52px;
    height: 52px;
    margin-bottom: 18px;

    border: 1px solid #328fe5;
    border-radius: 14px;
    background: #0a1a2e;
    color: #45a4ff;
    box-shadow: inset 0 0 12px rgb(28 86 212 / 12%);
}

.skill-card__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Текст */

.skill-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.skill-card p {
    margin: 0;
    color: #c6d0de;
    font-size: 16px;
    line-height: 1.55;
}

/* Подписи технологий */

.skill-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: auto 0 0;
    padding: 22px 0 0;
    list-style: none;
}

.skill-card__tags li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #1a3555;
    color: #e1eaf5;
    font-size: 13px;
    line-height: 1.4;
}

/* Планшет */

@media (min-width: 600px) and (max-width: 1023px) {
    .skills-build__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skills-build__grid > .skill-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 24px) / 2);
    }
}

/* Телефон */

@media (max-width: 599px) {
    .skills-build__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .skill-card {
        padding: 22px;
    }
}
.skills-tools {
    margin-top: 52px;
}

.skills-tools__title {
    margin: 0 0 24px;
    color: var(--text-color);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.skills-tools__title span {
    color: #1263ff;
}

.skills-tools__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.skills-tool {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    padding: 22px 12px;

    border: 1px solid #245b94;
    border-radius: 20px;
    background: linear-gradient(135deg, #101e32, #07111e);
    text-align: center;
}

.skills-tool img {
    display: block;
    flex-shrink: 0;

    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    object-fit: contain;
}

.skills-tool__github {
    filter: brightness(0) invert(1);
}

.skills-tool h3 {
    margin: 0 0 6px;
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.3;
}

.skills-tool p {
    margin: 0;
    color: #c6d0de;
    font-size: 14px;
    line-height: 1.5;
}

/* Планшет */

@media (max-width: 1023px) {
    .skills-tools__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Телефон */

@media (max-width: 599px) {
    .skills-tools {
        margin-top: 36px;
    }

    .skills-tools__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
.work-checks {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;

    width: calc(100% - 40px);
    margin: 0px auto 48px;
    padding: 28px 32px;

    border: 1px solid #286291;
    border-radius: 18px;
    background: linear-gradient(110deg, #091d2e, #061421);
    box-shadow: inset 0 0 16px rgb(22 135 255 / 6%);
}

/* Заголовок и описание слева */

.work-checks__content {
    min-width: 0;
}

.work-checks__title {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}

.work-checks__title span {
    color: #1263ff;
}

.work-checks__description {
    max-width: 42ch;
    margin: 0;
    color: #c6d0de;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.5;
}

/* Список справа и разделительная линия */

.work-checks__list {
    display: grid;
    align-content: center;
    align-self: stretch;
    gap: 12px;

    min-width: 0;
    margin: 0;
    padding: 0 0 0 32px;

    border-left: 1px solid #286291;
    list-style: none;
}

.work-checks__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;

    color: var(--text-color);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.5;
}

/* Синие галочки */

.work-checks__icon {
    display: block;
    flex-shrink: 0;
    width: 26px;
    height: 26px;

    fill: none;
    stroke: #1687ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* На узких экранах части располагаются друг под другом */

@media (max-width: 767px) {
    .work-checks {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 22px;
    }

    .work-checks__list {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid #286291;
    }
}

@media (max-width: 599px) {
    .work-checks {
        margin-top: 0;
        margin-bottom: 36px;
    }
}
.skills-examples {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;

    width: calc(100% - 40px);
    margin: 0 auto 32px;
    color: var(--text-color);
}

.skills-examples h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.25;
}

.skills-examples__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    margin: 0;
    padding: 10px 20px;

    border: 1px solid #45a4ff;
    border-radius: 14px;
    color: #5caaff;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.skills-examples__link svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skills-examples__link:hover {
    background: rgb(22 135 255 / 12%);
}

/* Контактная панель */

.skills-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 36px 40px;
    overflow: hidden;

    border: 1px solid #245b94;
    border-radius: 20px;
    background: #07111f;
    color: var(--text-color);
}

/* Точечный фон */

.skills-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: radial-gradient(
        circle,
        rgb(33 150 255 / 50%) 1px,
        transparent 1.5px
    );
    background-size: 12px 12px;

    mask-image: linear-gradient(
        110deg,
        transparent 40%,
        #000 85%
    );

    pointer-events: none;
}

.skills-cta__text {
    min-width: 0;
}

.skills-cta h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.skills-cta p {
    margin: 12px 0 0;
    color: #c6d0de;
    font-size: 16px;
    line-height: 1.5;
}

.skills-cta__button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    margin: 0;
    padding: 12px 30px;

    border: 1px solid #2874f0;
    border-radius: 999px;
    background: #064bd8;
    color: #fff;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.skills-cta__button:hover {
    background: #0958ed;
}

/* Подвал */

.skills-footer {
    padding: 40px 20px 28px;
    background: #050505;
    color: var(--text-color);
}

.skills-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;

    padding: 24px 14px 0;
    border-top: 1px solid #718092;
}

.skills-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;

    color: var(--text-color);
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.skills-footer .skills-footer__brand {
    font-size: 23px;
    font-weight: 700;
}

.skills-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.skills-footer nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Выделение ссылок при управлении с клавиатуры */

.skills-examples a:focus-visible,
.skills-cta a:focus-visible,
.skills-footer a:focus-visible {
    outline: 2px solid #64b5ff;
    outline-offset: 4px;
}

/* Адаптивность */

@media (max-width: 767px) {
    .skills-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}

@media (max-width: 599px) {
    .skills-examples {
        grid-template-columns: minmax(0, 1fr);
    }

    .skills-examples__link,
    .skills-cta__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .skills-cta {
        padding: 24px 20px;
    }

    .skills-footer__inner {
        padding-inline: 0;
    }

    .skills-footer nav {
        gap: 20px;
    }
}
html.skills-motion-pending .skills-page :is(
    .header,
    .skills-intro__eyebrow,
    .skills-intro__title,
    .skills-intro__description,
    .skills-build__title,
    .skill-card,
    .skills-tools,
    .work-checks,
    .skills-examples,
    .skills-cta,
    .skills-footer
) {
    opacity: 0;
}