/* Цвета и переменные — основной цвет чёрный по брифу */
:root {
    --accent: #000000;
    /* основной акцент — чёрный */
    --accent-2: #111111;
    --bg: #FAFBFC;
    /* лёгкий фон для контраста */
    --card: #FFFFFF;
    --muted: #6B7280;
    --text: #0B1220;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(9, 10, 11, 0.06);
}

/* Базовая типографика — мобильный first */
* {
    box-sizing: border-box;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 20px;
}

/* Хедер */
header {
    position: fixed;
    top:0;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 18px;
    background-color: var(--bg);
    width:100%;
}

.top-panel {
    flex:1;
    display: flex;
    align-items: center;
    justify-content: space-between;    
    max-width: 1100px;
}

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

.brand,
.brand:hover,
.brand:active,
.brand:focus,
.brand:visited {
  text-decoration: none; /* убирает подчёркивание при наведении/клике */
  color: inherit;        /* убирает изменение цвета */
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(2, 6, 23, 0.06);
}

nav {
    display: flex;
    gap: 16px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

nav a:hover {
    opacity: 0.85;
}

/* Hero — mobile-first: flex column */
.hero {
    display: flex;
    flex-direction: column;
    padding: 0 0;
}

.hero-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.h1 {
    font-size: 26px;
    line-height: 1.05;
    margin: 0;
    color: var(--accent-2);
    font-weight: 800;
}

.lead {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
    max-width: 720px;
    margin-top: 16px;
}

.cta {
    display: flex;
    direction: row;
    justify-content: center;
    margin-top: 16px;
}

.btn {
    background: var(--accent);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:focus {
    outline: 3px solid rgba(0, 0, 0, 0.08);
    outline-offset: 3px
}

.btn:hover {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 14px;
    box-shadow: var(--shadow);
}

.btn--ghost {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 14px;
}

.btn--ghost:hover {
    background: var(--accent);
    color: #fff;
}

.card {
    background: var(--card);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}

/* Преимущества */
.features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0;
    min-height: 100vh;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature .ico {
    width: 48px;
    height: 48;
    border-radius: 10px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    padding: 3px 0px;
}

.feature h4 {
    margin: 0;
    font-size: 15px;
}

.feature p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}


/* Сайдбар (в мобильной версии он идёт под главным блоком) */
aside {
    display: block
}

.aside-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px
}


/* Тарифы */
.prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0;
    min-height: 100vh;
}

.pricing {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #EEF2F7;
    flex: 1;
}

.price.card {
    display: flex;
    flex-direction: column;
    /* элементы сверху вниз */
    justify-content: space-between;
    /* растягиваем */
}


.price h3 {
    margin: 0;
    font-size: 16px
}

.price .cost {
    font-size: 20px;
    font-weight: 800;
    margin-top: 6px
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0;
    min-height: 100vh;
}

.faq h2 {
    margin-top: 12px
}

.faq h3 {
    margin: 12px 0 6px;
    font-size: 15px
}

.faq p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

footer {
    margin-top: 40px;
    padding: 22px 0;
    border-top: 1px solid #ECECEC;
    color: var(--muted)
}

/* Улучшения для больших экранов — Grid layout */
@media (min-width:900px) {
    .h1 {
        font-size: 34px
    }

    .lead {
        font-size: 16px
    }

    .feature-items {
        flex-direction: row;
    }

    .pricing {
        flex-direction: row;
        gap: 16px;
    }

    header {
        padding: 22px 22px
    }

    .logo {
        width: 56px;
        height: 56;
        font-size: 20px;
    }
}

/* Навигация для узких экранов — ссылки сворачиваются под логотип */
@media (max-width:720px) {
    nav {
        display: none;
    }
}

/* Мелкая адаптация */
@media (max-width:520px) {
    .container {
        padding: 16px
    }

    .h1 {
        font-size: 22px
    }

    .btn {
        padding: 10px 14px
    }
}