/* ==========================================================================
   Помощник по складу — публичный лендинг
   Цвета, размеры и типографика сняты с макетов из reference/

   Макет нарисован в ширину 1024 px, контентная колонка в нём — 888 px.
   Здесь контейнер 1240 px (контент 1192 px), поэтому все размеры макета
   пересчитаны с коэффициентом ≈1.34.
   ========================================================================== */

/* ------------------------------ 1. Токены ------------------------------- */

:root {
    /* Палитра (замерена по пикселям макета) */
    --color-brand: #0079e9;
    --color-brand-dark: #0063c4;
    --color-navy: #003777;
    --color-navy-deep: #17375d;
    --color-accent: #ff8000;
    --color-accent-dark: #e86f00;
    --color-green: #00a26a;
    --color-green-soft: #e4f7ef;
    --color-green-text: #00814f;

    --color-surface: #ffffff;
    --color-background: #ffffff;
    --color-hero-top: #f8fbfe;
    --color-hero-bottom: #f1f8fd;
    --color-tint: #e5f4fe;
    --color-tint-soft: #edf6fe;
    --color-border: #e1effb;
    --color-border-soft: #edf4fb;
    --color-row: #fafcfe;
    --color-row-current: #fff4e8;
    --color-row-current-border: #ffcb8f;

    --color-text: #23517f;
    --color-text-muted: #5e7fa3;
    --color-text-faint: #7b96b2;

    --color-footer: #003166;

    /* Типографика */
    --font-heading: 'Nunito', system-ui, sans-serif;
    --font-body: 'Nunito Sans', system-ui, sans-serif;
    --font-hand: 'Caveat', cursive;

    /* Скругления */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* Тени */
    --shadow-card: 0 2px 8px rgba(0, 55, 119, .04);
    --shadow-card-hover: 0 8px 22px rgba(0, 55, 119, .09);
    --shadow-accent: 0 6px 16px rgba(255, 128, 0, .26);

    /* Раскладка */
    --container: 1240px;
    --gutter: 24px;
    --header-height: 76px;

    /* Сдвиг контента под шевроном заголовка (в макете текст выровнен по нему) */
    --chevron-offset: 25px;
}

/* --------------------------- 2. Базовые стили --------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-navy);
    letter-spacing: -.01em;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-brand);
    text-decoration-color: rgba(0, 121, 233, .35);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-brand-dark);
}

strong {
    font-weight: 700;
    color: var(--color-navy);
}

/* Иконки: единый контурный стиль */
svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

:where(a, button):focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 20px;
    background: var(--color-navy);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

/* ------------------------------ 3. Каркас ------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

main>section {
    scroll-margin-top: 20px;
}

/* --------------------------- 4. Типографика ---------------------------- */

/* Оранжевая рукописная подпись над заголовком */
.eyebrow {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.eyebrow--hand {
    font-family: var(--font-hand);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-accent);
}

.story .eyebrow--hand {
    align-items: center;
    font-size: 22px;
}

.eyebrow__chevron {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 5px;
    stroke-width: 3.2;
}

.story .eyebrow__chevron {
    margin-top: -3px;
}

/* Заголовок секции с оранжевой шевронной меткой */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(23px, 2.4vw, 29px);
}

.section-title__chevron {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    stroke-width: 3.2;
}

/* ------------------------------ 5. Кнопки ------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 42px;
    padding-inline: 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn__icon {
    flex: none;
    width: 17px;
    height: 17px;
}

.btn--lg {
    height: 46px;
    padding-inline: 24px;
    border-radius: 12px;
    font-size: 15.5px;
}

.btn--accent {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn--accent:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.btn--ghost {
    background: var(--color-surface);
    border-color: #dbeaf9;
    color: var(--color-navy);
    box-shadow: var(--shadow-card);
}

.btn--ghost:hover {
    border-color: #b9d7f4;
    color: var(--color-navy);
}

.btn--telegram {
    background: var(--color-brand);
    color: #fff;
}

.btn--telegram:hover {
    background: var(--color-brand-dark);
    color: #fff;
}

.btn--dzen {
    background: var(--color-navy-deep);
    color: #fff;
}

.btn--dzen:hover {
    background: #0f2843;
    color: #fff;
}

/* Бейдж «Скоро» */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}

/* ------------------------------ 6. Логотип ----------------------------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.logo__mark {
    flex: none;
    width: 40px;
    height: 40px;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.015em;
    color: var(--color-navy);
}

.logo--light .logo__text {
    color: #fff;
}

/* ------------------------------- 7. Header ----------------------------- */

.header {
    background: var(--color-surface);
    border-bottom: 1px solid rgba(0, 55, 119, .06);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 46px;
    min-height: var(--header-height);
}

.nav {
    margin-right: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__link {
    font-size: 15px;
    font-weight: 600;
    color: #45658d;
    text-decoration: none;
    white-space: nowrap;
}

.nav__link:hover {
    color: var(--color-brand);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* -------------------------------- 8. Hero ------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-hero-top) 0%, var(--color-hero-bottom) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 22px 36px;
}

.hero__content {
    max-width: 490px;
}

.hero .eyebrow--hand span {
    white-space: nowrap;
}

.hero__title {
    margin-top: 12px;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1;
    letter-spacing: -.025em;
}

.hero__lead {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.75vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
}

.hero__text {
    margin-top: 12px;
    max-width: 415px;
    font-size: 15px;
    line-height: 1.48;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero__note {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 20px;
    margin-left: 46px;
    font-family: var(--font-hand);
    font-size: 18px;
    font-weight: 600;
    color: #2d6bb5;
}

.hero__note-curve {
    flex: none;
    width: 52px;
    height: 30px;
    margin-bottom: 1px;
    color: var(--color-brand);
    stroke-width: 2.2;
}

/* Иллюстрация уходит к правому краю окна, как в макете */
.hero__media {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: 60%;
    max-width: 960px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* ------------------------ 9. История проекта --------------------------- */

.story {
    position: relative;
    overflow: hidden;
    padding-block: 44px 38px;
}

.story__inner {
    position: relative;
    z-index: 1;
}

/* В макете заголовок и текст выровнены по тексту подписи, шеврон выступает влево */
.story__content {
    max-width: 440px;
    padding-left: var(--chevron-offset);
}

.story__content .eyebrow {
    margin-left: calc(-1 * var(--chevron-offset));
}

.story__title {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: clamp(25px, 3vw, 33px);
}

.story__content>p {
    font-size: 15px;
    line-height: 1.5;
}

.story__content p+p {
    margin-top: 12px;
}

.note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--color-tint);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-navy);
}

.note__icon {
    flex: none;
    width: 35px;
    height: 35px;
    color: var(--color-brand);
}

.story__media {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 59%;
    max-width: 830px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%);
}

.story__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
}

/* ---------------------- 10. Что умеет Помощник ------------------------- */

.features {
    padding-block: 8px 44px;
}

.features__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 18px;
    margin-top: 18px;
    align-items: stretch;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 17px 17px 19px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    cursor: default;
    transition: box-shadow .2s ease, transform .2s ease;
}

.card:hover {
    cursor: default;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card__icon {
    flex: none;
    width: 29px;
    height: 29px;
    color: var(--color-brand);
    stroke-width: 1.7;
}

.card__title {
    margin-top: 11px;
    font-size: 16px;
}

.card__text {
    margin-top: 5px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.features__media {
    min-height: 0;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-tint-soft);
}

.features__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* ---------------------- 11. Как это работает -------------------------- */

.how {
    padding-block: 8px 28px;
}

.how__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--color-tint-soft);
}

.how__content {
    padding: 24px 10px 26px 32px;
}

.how__subtitle {
    margin-top: 6px;
    padding-left: var(--chevron-offset);
    font-size: 14px;
    color: var(--color-text-muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.step {
    position: relative;
}

.step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #dcebfb;
    border-radius: 13px;
    background: var(--color-surface);
    color: var(--color-brand);
}

.step__icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* Стрелка между шагами — декоративная */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 57%;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230079e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.step__title {
    margin-top: 12px;
    font-size: 15px;
}

.step__text {
    margin-top: 4px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.how__media {
    position: relative;
    min-height: 0;
    align-self: stretch;
    background: var(--color-tint-soft);
}

.how__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* ---------------- 12. Дорожная карта + поддержка --------------------- */

.roadmap {
    padding-block: 30px 44px;
}

.roadmap__inner {
    display: grid;
    grid-template-columns: 0.93fr 1.08fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Заголовок в узкой колонке — мельче, чем у широких секций (как в макете) */
.roadmap__intro .section-title {
    font-size: 21px;
}

.roadmap__text {
    margin-top: 12px;
    padding-left: var(--chevron-offset);
    font-size: 14.5px;
    line-height: 1.55;
}

.roadmap__illustration {
    width: 100%;
    margin-top: 12px;
    border-radius: var(--radius);
}

/* Карточка «Этапы разработки» */
.stages {
    padding: 16px 18px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.stages__title {
    font-size: 15px;
}

.stages__list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 13px;
}

.stage {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 11px;
    border: 1px solid var(--color-border-soft);
    border-radius: 11px;
    background: var(--color-row);
}

.stage__name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-navy);
}

.stage__marker {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.stage--done .stage__marker {
    padding: 4px;
    background: var(--color-green);
    color: #fff;
    stroke-width: 3.4;
}

.stage__marker--dot {
    border: 2px solid #ccdbe9;
}

.stage--current {
    border-color: var(--color-row-current-border);
    background: var(--color-row-current);
}

.stage--current .stage__marker--dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: inset 0 0 0 3.5px #fff;
}

.stage--next .stage__name {
    color: var(--color-text-faint);
}

.chip {
    flex: none;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.chip--done {
    background: var(--color-green-soft);
    color: var(--color-green-text);
}

.chip--current {
    background: var(--color-accent);
    color: #fff;
}

.chip--next {
    background: #eef3f8;
    color: var(--color-text-faint);
}

/* Карточка поддержки */
.support {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: var(--color-tint);
}

.support__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15.5px;
}

.support__icon {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--color-navy);
}

.support__text {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.55;
}

.support__cta {
    width: 100%;
    height: 44px;
    margin-top: 14px;
    border-radius: 12px;
    font-size: 15px;
}

.support__note {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--color-text-muted);
}

/* ------------------------------ 13. Footer ---------------------------- */

.footer {
    padding-top: 24px;
    background: var(--color-footer);
    color: rgba(255, 255, 255, .72);
}

.footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 18px;
}

.footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.footer__tagline {
    margin-top: 2px;
    font-family: var(--font-hand);
    font-size: 17px;
    line-height: 1.25;
    color: rgba(255, 255, 255, .58);
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    padding-top: 9px;
}

.footer__nav-list a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 3px;
}

.footer__nav-list a:hover {
    color: #fff;
}

.footer__nav-list a[aria-current="page"] {
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--color-accent);
}

.footer__social {
    display: flex;
    gap: 10px;
    padding-top: 2px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding-block: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.requisites {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.requisites__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.requisites__item svg {
    flex: none;
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
}

.requisites__value {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

a.requisites__value:hover {
    color: #fff;
}

/* ==========================================================================
   14. Адаптив
   ========================================================================== */

/* --- Узкий desktop: поджимаем боковые иллюстрации --- */
@media (max-width: 1180px) {
    .features__layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .how__panel {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .roadmap__inner {
        gap: 22px;
    }

    .nav__list {
        gap: 22px;
    }

    .header__inner {
        gap: 30px;
    }
}

/* --- Планшет --- */
@media (max-width: 1024px) {

    :root {
        --gutter: 20px;
    }

    .hero__media {
        width: 52%;
    }

    .story__media {
        width: 56%;
    }

    .features__layout {
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .how__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .how__media {
        display: none;
    }

    .how__content {
        padding: 24px 22px 26px;
    }

    /* Дорожная карта: три колонки без иллюстрации */
    .roadmap {
        padding-block: 36px 48px;
    }

    .roadmap__inner {
        grid-template-columns: 0.93fr 1.08fr 1fr;
        gap: 18px;
    }

    .roadmap__illustration {
        display: none;
    }

    /* Подвал: логотип + соцкнопки в одной строке, меню — на следующей */
    .footer__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand social"
            "nav nav";
        align-items: center;
        gap: 16px 20px;
    }

    .footer__brand {
        grid-area: brand;
    }

    .footer__tagline {
        display: none;
    }

    .footer__social {
        grid-area: social;
        padding-top: 0;
    }

    .footer__nav {
        grid-area: nav;
    }

    .footer__nav-list {
        padding-top: 0;
    }
}

/* --- 924px: шапка не вылезает, герой и Excel продолжают сжиматься --- */
@media (max-width: 924px) {
    .header__inner {
        flex-wrap: wrap;
        gap: 14px 20px;
        padding-block: 14px;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-right: 0;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 55, 119, .07);
    }

    .nav__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 22px;
    }

    .header__actions {
        margin-left: auto;
    }

    .hero__content {
        max-width: min(490px, 48%);
    }

    .hero__actions .btn {
        flex: 1 1 220px;
    }

    .hero__media {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__media img {
        object-fit: contain;
        object-position: center center;
        width: 100%;
        height: auto;
        max-height: 92%;
    }

    .features__layout {
        grid-template-columns: minmax(0, 1fr) 200px;
    }
}

/* --- 860px: Excel и возможности без бокового фона; шаги 2×2 --- */
@media (max-width: 860px) {
    .story__content {
        max-width: none;
    }

    .story__media {
        display: none;
    }

    .features__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .features__media {
        display: none;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .roadmap__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

/* --- Мобильные --- */
@media (max-width: 640px) {

    :root {
        --gutter: 16px;
        --chevron-offset: 0px;
    }

    /* Hero: картинка сверху, затем текст */
    .hero {
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .hero__inner {
        padding-block: 22px 26px;
        order: 2;
    }

    .hero__title {
        margin-top: 12px;
    }

    .hero__lead {
        margin-top: 16px;
    }

    .hero__text {
        margin-top: 14px;
        font-size: 16px;
        max-width: none;
    }

    .hero__content {
        max-width: none;
    }

    .hero .eyebrow--hand span {
        white-space: normal;
    }

    .hero__actions {
        gap: 10px;
        margin-top: 22px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__note {
        display: none;
    }

    .hero__media {
        position: static;
        order: 1;
        width: 100%;
        max-width: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero__media img {
        height: auto;
        max-height: 300px;
        object-position: center;
    }

    .eyebrow--hand {
        font-size: 22px;
    }

    /* История проекта */
    .story {
        padding-block: 40px 44px;
    }

    .story__content {
        max-width: none;
    }

    .story__content>p {
        font-size: 16px;
    }

    .story__media {
        display: none;
    }

    .note {
        padding: 14px 16px;
        font-size: 15px;
    }

    /* Возможности: одна колонка */
    .cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .card {
        padding: 18px;
    }

    .features__media {
        display: none;
    }

    /* Как это работает: шаги в столбик, фон убираем */
    .how {
        padding-block: 8px 30px;
    }

    .how__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .how__content {
        padding: 24px 18px 26px;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-top: 22px;
    }

    .step {
        display: grid;
        grid-template-columns: 45px minmax(0, 1fr);
        column-gap: 15px;
        align-items: center;
    }

    .step__icon {
        grid-row: span 2;
    }

    .step__title {
        margin-top: 0;
    }

    .how__media {
        display: none;
    }

    /* Дорожная карта: всё в одну колонку */
    .roadmap {
        padding-block: 30px 40px;
    }

    .roadmap__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .roadmap__illustration {
        display: none;
    }

    .stages {
        padding: 18px 16px;
    }

    .stage {
        gap: 10px;
        padding: 9px 11px;
    }

    .stage__name {
        font-size: 13px;
    }

    .support {
        padding: 20px 18px;
    }

    /* Footer: логотип и кнопки в одной строке, меню ниже */
    .footer {
        padding-top: 28px;
    }

    .footer__brand {
        flex-direction: row;
        gap: 12px;
    }

    .footer__social {
        width: auto;
        flex-direction: row;
        padding-top: 0;
    }

    .footer__social .btn {
        width: auto;
        height: 38px;
        padding-inline: 12px;
        font-size: 14px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .requisites {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .requisites__item {
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ==========================================================================
   15. Страница «Разработка»
   ========================================================================== */

.nav__link.is-current {
    color: var(--color-navy);
    box-shadow: inset 0 -2px 0 var(--color-accent);
}

.hero--dev .hero__inner {
    padding-block: 22px 40px;
}

.hero--dev .hero__content {
    max-width: 540px;
}

.hero--dev .hero__title {
    font-size: clamp(32px, 3.3vw, 44px);
    line-height: 1.08;
    white-space: nowrap;
}

.dev-map {
    padding-block: 10px 56px;
}

.dev-map__inner {
    display: grid;
    grid-template-columns: 140px minmax(0, 1.2fr) minmax(280px, 0.85fr);
    gap: 20px 24px;
    align-items: stretch;
}

.dev-floors {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 4% 0 3%;
}

.dev-floor {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
}

.dev-floor__dot {
    grid-row: 1 / span 2;
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border: 2px solid #c9d7e8;
    border-radius: 50%;
    background: #fff;
}

.dev-floor__meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-faint);
    line-height: 1.2;
}

.dev-floor__name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-navy);
}

.dev-floor--current .dev-floor__dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: inset 0 0 0 2px #fff;
}

.dev-floor--current .dev-floor__meta,
.dev-floor--current .dev-floor__name {
    color: var(--color-accent);
}

.dev-floor--done .dev-floor__dot {
    border-color: var(--color-green);
    background: var(--color-green);
    box-shadow: inset 0 0 0 2px #fff;
}

.dev-floor--done .dev-floor__meta,
.dev-floor--done .dev-floor__name {
    color: var(--color-green-text);
}

.dev-building__visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.dev-building__visual img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin-inline: auto;
}

.dev-status {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 100%;
    padding-top: 6%;
    padding-bottom: 2%;
}

.status-card {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.status-card--current {
    border-color: var(--color-row-current-border);
    background: #fffaf3;
}

.status-card__icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--color-brand);
    stroke-width: 1.8;
}

.status-card__title {
    font-size: 15px;
    align-self: center;
}

.status-card__text {
    grid-column: 2 / 3;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.status-card .chip {
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip__icon {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.support--robot {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
}

.support__robot {
    width: 100px;
    height: auto;
    margin-top: 2px;
    object-fit: contain;
    object-position: center top;
}

.support--robot .support__title {
    display: block;
    font-size: 16px;
}

.support--robot .support__cta,
.support--robot .support__note {
    grid-column: 1 / -1;
}

.footer--compact {
    padding-top: 26px;
    padding-bottom: 26px;
}

.footer--compact .footer__inner {
    align-items: center;
    padding-bottom: 0;
}

.footer--compact .requisites {
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .dev-map__inner {
        grid-template-columns: 124px minmax(0, 1.15fr) minmax(250px, 0.85fr);
        gap: 20px 18px;
    }
}

@media (max-width: 1024px) {
    .dev-map {
        padding-block: 8px 48px;
    }

    .dev-map__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .dev-building__visual {
        max-width: 520px;
        margin-inline: auto;
    }

    .dev-floors {
        max-width: 640px;
        margin-inline: auto;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
        justify-content: initial;
    }

    .dev-status {
        max-width: 640px;
        margin-inline: auto;
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .hero--dev .hero__title {
        font-size: clamp(28px, 8vw, 36px);
        white-space: normal;
    }

    .dev-floors {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .dev-floor {
        padding: 8px 10px;
        border: 1px solid var(--color-border-soft);
        border-radius: 10px;
        background: var(--color-row);
    }

    .dev-floor--current {
        border-color: var(--color-row-current-border);
        background: var(--color-row-current);
    }

    .dev-floor--done {
        border-color: #b7e4cf;
        background: var(--color-green-soft);
    }

    .support--robot {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .support__robot {
        width: 84px;
    }

    .footer--compact .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer--compact .requisites {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px 12px;
    }

    .footer--compact .requisites__item {
        font-size: 12px;
        white-space: nowrap;
    }
}

/* --- Уважаем системную настройку «меньше движения» --- */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .btn,
    .card {
        transition: none;
    }

    .btn:hover,
    .card:hover {
        transform: none;
    }
}
