@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --line: #1c293b;
    --blue: #488cff;
    --page-bg: #070b12;
    --text: #f0f4fb;
    --muted: #aebbd0;
    --card-bg: #0c121e;
    --card-border: #1f2d42;
}

:root[data-theme="light"] {
    color-scheme: light;
    --line: #dce3ed;
    --blue: #2868c7;
    --page-bg: #f4f7fb;
    --text: #172338;
    --muted: #53647c;
    --card-bg: #ffffff;
    --card-border: #dce3ed;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: Manrope, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    transition: background .25s ease, color .25s ease;
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #8bbaff;
    outline-offset: 4px
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 0 44px
}

header {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: 1.5px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.brand b {
    font-size: 33px;
    line-height: 1;
    color: var(--blue);
    transform: scaleX(1.2);
    margin-right: 6px;
}

.brand span {
    color: #7f91ac;
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 12px;
    color: #aebbd0;
}

nav > a {
    transition: color .2s ease;
}

nav > a:hover {
    color: #ffffff;
}

/* Кнопка Vector Skills */
.vector-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid #334762;
    border-radius: 6px;
    color: #ffffff;
    background: #101c2d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}

.vector-link:hover {
    background: #1a304d;
    border-color: #729bd2;
}

/* Переключатель темы */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #334762;
    border-radius: 50%;
    background: #101c2d;
    color: #e8c77a;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.theme-toggle:hover {
    background: #1a304d;
    transform: rotate(15deg);
}
.hero {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    min-height: 565px;
    align-items: center
}

.eyebrow {
    font-size: 9px;
    letter-spacing: 2.2px;
    color: #91a7c8;
    font-weight: 700
}

h1 {
    font-size: 65px;
    line-height: 1.12;
    letter-spacing: -3px;
    margin: 28px 0 24px;
    font-weight: 800
}

h1 span,
h2>span:not(.muted) {
    color: var(--blue)
}

h2 {
    font-size: 37px;
    line-height: 1.24;
    letter-spacing: -1.5px;
    margin: 20px 0
}

h3 {
    margin: 0;
    font-size: 15px
}

p {
    color: #93a4bd
}

.intro {
    font-size: 16px;
    line-height: 1.9
}

.actions {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 11px;
    margin-top: 31px
}

.button {
    display: inline-block;
    border: 0;
    background: #347aee;
    color: white;
    border-radius: 5px;
    padding: 15px 22px;
    font-weight: 700
}

.button:hover {
    background: #5193ff
}

.note {
    font-size: 10px;
    color: #6d829f;
    margin-top: 14px
}

.art {
    height: 420px;
    position: relative;
    background: radial-gradient(ellipse, #173b7755, transparent 67%);
    overflow: hidden
}

.orbit {
    position: absolute;
    width: 355px;
    height: 355px;
    border: 1px solid #244a794d;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.orbit.inner {
    width: 275px;
    height: 275px;
    border-style: dashed
}

.art-label {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #4e6c94;
    font-size: 8px;
    letter-spacing: 3px
}

.card {
    position: absolute;
    top: 100px;
    left: 185px;
    width: 150px;
    height: 215px;
    border-radius: 13px;
    background: linear-gradient(145deg, #1c457e, #09172b);
    border: 1px solid #608ecb;
    transform: rotate(15deg);
    box-shadow: 0 30px 50px #0008;
    padding: 15px;
    font-size: 24px;
    line-height: 1.1
}

.card small {
    display: block;
    font-size: 21px
}

.card strong {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    color: #94bdff
}

.card em {
    position: absolute;
    bottom: 15px;
    right: 15px;
    transform: rotate(180deg);
    font-style: normal
}

.card.back {
    top: 85px;
    left: 105px;
    transform: rotate(-17deg);
    background: linear-gradient(130deg, #14243d, #0b111d);
    border-color: #36527b;
    color: #829ec3
}

.back strong {
    opacity: .4
}

.art-bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #6882a7;
    font-size: 8px;
    letter-spacing: 2px
}

.topics {
    display: flex;
    justify-content: space-between;
    border-block: 1px solid var(--line);
    padding: 22px 0;
    color: #6d839f;
    font-size: 9px;
    letter-spacing: 2px
}

.section {
    padding: 80px 0
}

.about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px
}

.muted {
    color: #6f819c
}

.about p {
    font-size: 12px
}

.about .lead {
    font-size: 20px;
    color: #dce4f0;
    margin-top: 0
}

.help {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.help>span {
    color: #477ecc;
    font-size: 10px
}

.help p {
    margin: 4px 0 0;
    font-size: 11px
}

.help h3 {
    font-size: 17px
}

.test {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 46px;
    background: linear-gradient(120deg, #0d1e3a, #0c1422);
    padding: 42px;
    border: 1px solid #243e65;
    border-radius: 11px
}

.test h2 {
    font-size: 42px
}

.test p {
    font-size: 13px
}

.tags {
    display: flex;
    gap: 8px;
    margin: 25px 0
}

.tags span {
    font-size: 9px;
    padding: 5px 9px;
    border: 1px solid #2c4261;
    border-radius: 4px;
    color: #a4b9d7
}

.test .disclaimer {
    font-size: 10px;
    color: #788eac;
    max-width: 310px
}

.quiz {
    padding: 26px;
    background: #080f1b;
    border: 1px solid #243750;
    border-radius: 8px;
    min-height: 395px
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1px;
    color: #8ba3c6
}

.progress {
    height: 3px;
    background: #1a2941;
    margin: 17px 0 25px
}

.progress i {
    display: block;
    height: 100%;
    background: var(--blue)
}

.quiz h3 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 20px
}

.options {
    display: grid;
    gap: 9px
}

.option {
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 12px;
    border: 1px solid #283c58;
    border-radius: 5px;
    background: #101d30;
    color: #b9c9df;
    font-size: 11px;
    line-height: 1.5
}

.option span {
    border: 1px solid #344e74;
    border-radius: 3px;
    min-width: 23px;
    height: 23px;
    text-align: center;
    padding-top: 3px;
    color: #7fa8e3;
    font-size: 9px
}

.option:hover {
    background: #193459;
    border-color: #5495f3;
    color: white
}

.back-button {
    border: 0;
    background: none;
    color: #91a9cd;
    padding: 0;
    margin-top: 16px;
    font-size: 10px
}


.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
}

.link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid #253247;
    background: #101722;
    border-radius: 12px;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.link > b.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    font-size: 25px;
    color: #fff;
    background: #202c3c;
}

.social-icon.telegram {
    background: #168acb;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #7846c8, #e34d83, #f3a34b);
}

.social-icon.youtube {
    background: #e62117;
}

.social-icon.twitch {
    background: #7044c8;
}

.social-icon.course {
    background: #b08d53;
}

.link h3 {
    font-size: 16px;
    margin: 0;
    color: #f1f4f8;
}

.link h3 span {
    color: #91a5c1;
}

.link p {
    font-size: 12px;
    margin: 7px 0 9px;
    color: #a5b0c0;
}

.link small {
    color: #849bb9;
    font-size: 11px;
}

.link.featured {
    background: #122238;
    border-color: #31547c;
}

a.link:hover {
    border-color: #729bd2;
    background: #19283c;
    transform: translateY(-3px);
}


.learning {
    border-top: 1px solid var(--line);
    padding: 42px 0 65px
}

.learning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 30px
}

.learning h2 {
    font-size: 30px;
    margin: 10px 0
}

.learning p {
    font-size: 12px
}

.learning small {
    font-size: 9px;
    color: #7187a7
}

footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 105px;
    gap: 20px
}

footer>span {
    font-size: 9px;
    color: #667c9c
}

footer .brand {
    font-size: 10px
}

footer .brand b {
    font-size: 24px
}

.result-name {
    font-size: 28px !important;
    margin: 12px 0 !important
}

.quiz .result-text {
    font-size: 12px
}

.tip {
    border-left: 2px solid var(--blue);
    padding-left: 13px;
    margin: 20px 0;
    font-size: 11px;
    color: #bccde4
}

.tip b {
    display: block;
    color: #eef4ff;
    margin-bottom: 5px
}

.score {
    display: grid;
    grid-template-columns: 100px 1fr 25px;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    color: #93add1;
    margin: 8px 0
}

.score-track {
    height: 4px;
    background: #1b2940
}

.score-track i {
    display: block;
    height: 100%;
    background: #4b8fff
}

.result-actions {
    display: flex;
    gap: 9px;
    margin-top: 20px;
    flex-wrap: wrap
}

.result-actions button {
    border: 1px solid #35547e;
    background: #152843;
    color: #b8ceef;
    font-size: 10px;
    padding: 9px;
    border-radius: 4px
}

.status {
    font-size: 10px;
    color: #a8c5f0;
    min-height: 16px
}

.result-link {
    font-size: 11px;
    color: #8fbaff
}

@media(max-width:760px) {
    .wrap {
        padding: 0 22px
    }

    header {
        height: 78px
    }

    .brand {
        font-size: 10px;
        letter-spacing: 1px
    }

    nav a:not(:last-child) {
        display: none
    }

    nav a:last-child {
        font-size: 10px;
        margin: 0
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 42px;
        min-height: 0
    }

    h1 {
        font-size: 49px;
        letter-spacing: -2.5px
    }

    .intro {
        font-size: 14px
    }

    .actions {
        gap: 18px
    }

    .button {
        font-size: 10px;
        padding: 14px 16px
    }

    .art {
        height: 300px;
        max-width: 390px;
        width: 100%;
        margin: auto
    }

    .card {
        top: 45px;
        left: 165px;
        width: 125px;
        height: 180px
    }

    .card.back {
        left: 90px;
        top: 35px
    }

    .card strong {
        font-size: 72px
    }

    .orbit {
        width: 275px;
        height: 275px
    }

    .orbit.inner {
        width: 220px;
        height: 220px
    }

    .topics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        font-size: 8px
    }

    .section {
        padding: 53px 0
    }

    .about {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .about .lead {
        font-size: 18px
    }

    .test {
        grid-template-columns: 1fr;
        padding: 24px 18px;
        gap: 22px
    }

    .test h2 {
        font-size: 35px
    }

    .test h2 br {
        display: none
    }

    .test .disclaimer {
        max-width: none
    }

    .quiz {
        padding: 20px 15px
    }

    .tags {
        margin: 18px 0
    }

    h2 {
        font-size: 30px
    }

    .links,
    .learning-grid {
        grid-template-columns: 1fr
    }

    .learning-grid {
        gap: 30px
    }

    .link {
        padding: 21px
    }

    footer {
        flex-wrap: wrap;
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        gap: 12px
    }

    footer>span:last-child {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

.hero h1 {
    font-size: 64px;
    letter-spacing: -2.7px
}

.hero .eyebrow {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
    padding: 20px 0
}

.course-layout h2 {
    font-size: 58px
}

.course-layout p {
    font-size: 15px;
    line-height: 1.9
}

.course-layout .course-sub {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7696c5
}

.course-layout .button {
    margin-top: 16px
}

.statistics {
    border-top: 1px solid var(--line);
    padding-top: 45px
}

.stats-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 27px 30px;
    background: linear-gradient(110deg, #102543, #0c1422);
    border: 1px solid #2a4469;
    border-radius: 8px;
    margin-top: 25px
}

.stats-link small {
    display: block;
    color: #7f9ec9;
    font-size: 9px;
    letter-spacing: 2px
}

.stats-link strong {
    display: block;
    font-size: 20px;
    margin-top: 5px
}

.stats-link b {
    font-size: 30px;
    color: #75a9ff
}

.stats-link:hover {
    border-color: #5495ff
}

.links .link:last-child {
    grid-column: 1/-1
}

@media(max-width:760px) {
    .hero h1 {
        font-size: clamp(34px, 8.7vw, 49px);
        letter-spacing: -1.6px
    }

    .course-layout {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .course-layout h2 {
        font-size: 46px
    }

    .hero .eyebrow {
        font-size: 8px
    }

    .stats-link {
        padding: 22px
    }

    .stats-link strong {
        font-size: 16px
    }

    .links .link:last-child {
        grid-column: auto
    }
}

.hero {
    gap: 35px;
    overflow: hidden
}

.portrait {
    position: relative;
    height: 520px;
    align-self: end;
    overflow: hidden;
    margin: 24px -10px 0 0;
    border-radius: 16px;
}

.portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(.78) saturate(.65)
}

.portrait:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #070b12 0%, transparent 24%), linear-gradient(0deg, #070b12 0%, transparent 26%), linear-gradient(180deg, #070b1240, transparent 35%)
}

.stats-figure {
    margin: 30px 0 0;
    padding: 15px;
    background: #101b29;
    border: 1px solid #283e59;
    border-radius: 12px
}

.stats-figure a {
    display: block
}

.stats-figure img {
    display: block;
    width: 100%;
    max-width: 856px;
    height: auto;
    margin: auto;
    border-radius: 5px
}

.stats-figure figcaption {
    font-size: 10px;
    color: #8da1bb;
    margin: 12px 4px 0;
    line-height: 1.7
}

.statistics .stats-link {
    margin-top: 14px
}

@media(max-width:760px) {
    .hero {
        gap: 25px
    }

    .portrait {
        height: 420px;
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        align-self: auto
    }

    .portrait img {
        object-position: center 26%
    }

    .portrait:after {
        background: linear-gradient(0deg, #070b12, transparent 27%), linear-gradient(90deg, #070b1240, transparent 20%)
    }

    .stats-figure {
        padding: 7px;
        border-radius: 8px
    }

    .stats-figure figcaption {
        font-size: 9px
    }

    .hero h1 {
        overflow-wrap: normal
    }
}

@media(max-width:380px) {
    .portrait {
        height: 370px
    }
}

.hero>*,
.about>*,
.test>*,
.course-layout>* {
    min-width: 0
}

@media(max-width:760px) {
    .option {
        min-height: 48px;
        font-size: 13px
    }

    .result-actions button {
        min-height: 44px;
        padding: 11px 14px;
        font-size: 12px
    }

    .back-button {
        min-height: 44px;
        padding: 10px 0
    }

    .quiz .meta {
        letter-spacing: .4px;
        gap: 10px
    }

    .score {
        grid-template-columns: 100px minmax(0, 1fr) 28px
    }

    .link p,
    .about p,
    .help p,
    .learning p {
        font-size: 13px
    }

    .link small {
        font-size: 11px
    }

    .stats-figure figcaption {
        font-size: 11px
    }

    .button {
        min-height: 44px
    }

    .hero h1 {
        font-size: clamp(30px, 8.7vw, 49px)
    }
}/* Кнопка перехода в Vector Skills */
.vector-link {
    display: inline-block;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.vector-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}
/* Светлая тема — шапка */
:root[data-theme="light"] header {
    border-bottom-color: var(--line);
}

:root[data-theme="light"] .brand span {
    color: #718096;
}

:root[data-theme="light"] nav {
    color: #53647c;
}

:root[data-theme="light"] nav > a:hover {
    color: #1d4f91;
}

/* Кнопка Vector Skills */
:root[data-theme="light"] .vector-link {
    color: #245da8;
    background: #e8f0fc;
    border-color: #c5d7f0;
}

:root[data-theme="light"] .vector-link:hover {
    background: #d9e8fb;
    border-color: #8eafe0;
}

/* Переключатель темы */
:root[data-theme="light"] .theme-toggle {
    color: #b07816;
    background: #fff8e8;
    border-color: #ead9ad;
}

:root[data-theme="light"] .theme-toggle:hover {
    background: #ffefc9;
}

/* =================================
   СВЕТЛАЯ ТЕМА — ОСНОВНЫЕ СЕКЦИИ
================================= */

:root[data-theme="light"] .eyebrow {
    color: #607b9e;
}

:root[data-theme="light"] p {
    color: #53647c;
}

:root[data-theme="light"] .intro {
    color: #455873;
}

:root[data-theme="light"] .note,
:root[data-theme="light"] .muted {
    color: #788ba5;
}

:root[data-theme="light"] .about .lead {
    color: #273a54;
}

:root[data-theme="light"] .help {
    border-color: var(--line);
}

:root[data-theme="light"] .topics {
    color: #71839c;
}

/* Тест */

:root[data-theme="light"] .test {
    background: linear-gradient(120deg, #e7effa, #f5f8fc);
    border-color: #cbd9ec;
}

:root[data-theme="light"] .test .disclaimer {
    color: #687d99;
}

:root[data-theme="light"] .tags span {
    color: #526b8c;
    border-color: #c8d7e9;
}

:root[data-theme="light"] .quiz {
    background: #ffffff;
    border-color: #d4dfed;
}

:root[data-theme="light"] .meta {
    color: #607b9e;
}

:root[data-theme="light"] .progress {
    background: #e2e9f2;
}

:root[data-theme="light"] .option {
    background: #f4f7fb;
    border-color: #d6e0ed;
    color: #344963;
}

:root[data-theme="light"] .option span {
    border-color: #b9cce5;
    color: #2868c7;
}

:root[data-theme="light"] .option:hover {
    background: #e5effd;
    border-color: #6b9be0;
    color: #173d70;
}

:root[data-theme="light"] .back-button {
    color: #426b9f;
}

/* Социальные карточки */

:root[data-theme="light"] .link {
    background: #ffffff;
    border-color: #dce3ed;
    box-shadow: 0 5px 18px rgba(35, 57, 87, .04);
}

:root[data-theme="light"] .link h3 {
    color: #1d2d43;
}

:root[data-theme="light"] .link p {
    color: #596b82;
}

:root[data-theme="light"] .link small {
    color: #71839c;
}

:root[data-theme="light"] .link.featured {
    background: #eaf2ff;
    border-color: #c4d8f5;
}

:root[data-theme="light"] a.link:hover {
    background: #f0f6ff;
    border-color: #8eafe0;
}

/* Обучение */

:root[data-theme="light"] .learning {
    border-color: var(--line);
}

:root[data-theme="light"] .learning small {
    color: #71839c;
}

/* Статистика */

:root[data-theme="light"] .stats-link {
    background: linear-gradient(110deg, #e8f1ff, #f6f9fd);
    border-color: #cbdcf2;
}

:root[data-theme="light"] .stats-link small {
    color: #647f9f;
}

:root[data-theme="light"] .stats-link strong {
    color: #203653;
}

:root[data-theme="light"] .stats-link b {
    color: #2868c7;
}

:root[data-theme="light"] .stats-figure {
    background: #ffffff;
    border-color: #dce3ed;
}

:root[data-theme="light"] .stats-figure figcaption {
    color: #657991;
}

/* Результаты теста */

:root[data-theme="light"] .tip {
    color: #526982;
}

:root[data-theme="light"] .tip b {
    color: #203653;
}

:root[data-theme="light"] .score {
    color: #536d8c;
}

:root[data-theme="light"] .score-track {
    background: #e1e8f1;
}

:root[data-theme="light"] .result-actions button {
    background: #eaf2ff;
    border-color: #c5d8f1;
    color: #315d95;
}

:root[data-theme="light"] .result-actions button:hover {
    background: #dceaff;
}

:root[data-theme="light"] .status {
    color: #426b9f;
}

:root[data-theme="light"] .result-link {
    color: #2868c7;
}

/* Подвал */

:root[data-theme="light"] footer {
    border-color: var(--line);
}

:root[data-theme="light"] footer > span {
    color: #71839c;
}

/* Изображение */

:root[data-theme="light"] .portrait:after {
    background:
        linear-gradient(90deg, #f4f7fb 0%, transparent 24%),
        linear-gradient(0deg, #f4f7fb 0%, transparent 26%),
        linear-gradient(180deg, #f4f7fb40, transparent 35%);
}

/* Плавная смена оформления */

:root[data-theme="light"] .link,
:root[data-theme="light"] .quiz,
:root[data-theme="light"] .test,
:root[data-theme="light"] .stats-link {
    transition: background .25s ease, border-color .25s ease;
}
/* Центрирование основного содержимого */
.wrap {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Шапка */
header.wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Общая ширина контента */
main.wrap {
    max-width: 1280px;
    margin: 0 auto;
}
/* Фотография в светлой теме */
/* Более светлая фотография в светлой теме */
:root[data-theme="light"] .portrait img {
    filter: brightness(1.12) saturate(.65) contrast(1.02);
}
/* Фотография в светлой теме — без градиента */
:root[data-theme="light"] .portrait:after {
    background: none;
}
.portrait {
    border-radius: 16px !important;
    overflow: hidden;
    margin-right: 0;
}

.portrait img {
    border-radius: 16px;
}
/* Увеличиваем направления обучения */
.topics span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
/* Увеличение блока Знакомство */
.about .eyebrow {
    font-size: 12px;
}

.about h2 {
    font-size: 48px;
    line-height: 1.15;
}

.about p {
    font-size: 15px;
    line-height: 1.85;
}
/* Увеличиваем номера 01, 02, 03 */
.help > span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}
.topics span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}