/* ======================================================================
   SMS Traffic design system — inner pages
   ----------------------------------------------------------------------
   Tokens, type and components taken from the official kit
   («UI Kit 2026 SMS traffic» / «KIT 2024»), not invented here.

   Scope: the components this project added — section scaffolding, cards,
   features, stats, FAQ, plans, contacts, articles, API tables. The
   production one-pager's own blocks (header nav, .page__preview,
   .traffic_in_number, .page__possibilities, footer…) keep style.css and
   Inter untouched, so Sergey's static copy still matches what he expects.
   That is why nothing here sets a font on `body`.
   ====================================================================== */

:root {
    /* ---- Brand blue (kit slide 3, «Цветовая палитра») --------------- */
    --blue-500: #0073E5;   /* primary                                   */
    --blue-600: #0473DD;   /* pressed / deeper accent                   */
    --blue-400: #2A8BEA;   /* hover lift                                */
    --blue-300: #6FB2F2;   /* tints                                     */

    /* ---- Navy / ink ------------------------------------------------ */
    --navy-900: #02082C;
    --navy-800: #0D2740;   /* primary dark surface                      */
    --navy-700: #1D2B41;
    --navy-500: #274277;   /* secondary text on light                   */
    --ink-900:  #202838;   /* body text, icon stroke                    */

    /* ---- Light surfaces -------------------------------------------- */
    --white:     #FFFFFF;
    --paper:     #F7F7F7;
    --blue-bg:   #EEF1F9;
    --blue-tint: #DBE8F9;

    /* ---- Semantic --------------------------------------------------- */
    --surface-panel: var(--blue-bg);
    --surface-chip:  var(--blue-tint);
    --surface-dark:  var(--navy-800);
    --text-strong:   var(--navy-800);
    --text-body:     var(--ink-900);
    --text-muted:    var(--navy-500);
    --text-accent:   var(--blue-500);
    --line-soft:     #E3E8F2;
    --line-strong:   var(--blue-tint);
    --line-on-dark:  rgba(255, 255, 255, .16);

    /* ---- Spacing scale, 4px base (kit tokens/spacing.css) ----------- */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* ---- Radius ----------------------------------------------------- */
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-pill: 999px;

    /* ---- Elevation: soft blue-grey, never hard black ---------------- */
    --shadow-sm:   0 1px 2px rgba(13, 39, 64, .06), 0 1px 3px rgba(13, 39, 64, .08);
    --shadow-md:   0 6px 16px rgba(13, 39, 64, .10);
    --shadow-lg:   0 18px 48px rgba(13, 39, 64, .14);
    --shadow-blue: 0 12px 32px rgba(0, 115, 229, .28);

    /* ---- Motion: fades and short lifts only ------------------------- */
    --ease-out:  cubic-bezier(.22, .61, .36, 1);
    --dur-fast:  140ms;
    --dur-base:  220ms;

    /* ---- Type ------------------------------------------------------- */
    --font-ui:      'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Dela Gothic One', 'Montserrat', system-ui, sans-serif;
}

/* The kit's hierarchy rests on weight contrast — Light body against
   Black/ExtraBold headings — rather than on many sizes. */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--white);
    color: var(--text-strong);
    font-family: var(--font-ui);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-size: 14px;
}

.skip-link:focus {
    left: 0;
}

.container--narrow {
    max-width: 880px;
}

/* ─── Inner-page hero ─────────────────────────────────────────────────── */

/* The dropdown has to escape the header box, so the hero image gets its own
   clipping wrapper instead of `overflow: hidden` on .header itself. */
.header {
    overflow: visible;
}

.header__hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* The kit's cover treatment: flat brand blue with the bubbles motif down
   the right edge. No gradient, no photo, no grain. */
.header__main--inner {
    position: relative;
    padding: 48px 0 76px;
}

/* bg-bubbles.png is a 258x3368 vertical strip — the kit runs it down the
   right edge of the cover at its natural width, so it is cropped, never
   scaled to fit. */
.header__main--inner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 258px;
    background: url("../img/ds/decor/bg-bubbles.fb5afd6a9580.png") right top / 258px auto no-repeat;
    opacity: .55;
    pointer-events: none;
}

.header__main--inner > .container {
    position: relative;
    z-index: 1;
}

.header__main-title--inner {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 820px;
    margin-bottom: 22px;
}

.header__main-subtitle--inner {
    font-family: var(--font-ui);
    font-weight: 300;
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
}

/* Small over-headings are uppercase with tracking, as the kit specifies. */
.hero__badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 255, 255, .18);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
    margin-bottom: 18px;
    max-width: 100%;
}

/* Buttons are pills throughout the kit. */
.header__main--inner .header__main-btn {
    font-family: var(--font-ui);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 16px 38px;
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out);
}

.header__main--inner .header__main-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ─── Breadcrumbs ─────────────────────────────────────────────────────── */

.breadcrumbs {
    margin-bottom: 22px;
}

.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "/";
    margin-right: 10px;
    color: rgba(255, 255, 255, .45);
}

.breadcrumbs__item a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}

.breadcrumbs__item a:hover,
.breadcrumbs__item a:focus-visible {
    color: var(--white);
}

.breadcrumbs__item [aria-current="page"] {
    color: var(--white);
}

/* ─── Navigation dropdowns ────────────────────────────────────────────── */
/* The nav bar itself is production's; only this panel is new, so it takes
   the kit's radius, shadow and type while the bar around it is untouched. */

.nav__item--has-menu {
    position: relative;
}

.nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.nav__chevron {
    transition: transform var(--dur-base) var(--ease-out);
    color: var(--blue-500);
}

.nav__item--open .nav__chevron {
    transform: rotate(180deg);
}

.nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    min-width: 560px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.nav__dropdown--narrow {
    min-width: 330px;
}

/* An invisible bridge, so the pointer can cross the gap without closing. */
.nav__dropdown::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nav__item--open .nav__dropdown {
    display: block;
}

.nav__dropdown-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-500);
    text-decoration: none;
    margin-bottom: 16px;
}

.nav__dropdown-all:hover {
    text-decoration: underline;
}

.nav__dropdown-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}

.nav__dropdown-list--single {
    grid-template-columns: 1fr;
}

.nav__dropdown-link {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease-out);
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
    background: var(--surface-panel);
}

.nav__dropdown-name {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--text-strong);
}

.nav__dropdown-note {
    display: block;
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.35;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav--mobile .nav__item--has-menu {
    position: static;
    width: 100%;
}

.nav--mobile .nav__toggle {
    justify-content: center;
    width: 100%;
}

.nav--mobile .nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border-radius: var(--radius-md);
    background: var(--surface-panel);
    padding: 12px;
    margin-top: 10px;
}

.nav--mobile .nav__dropdown::before {
    display: none;
}

.nav--mobile .nav__dropdown-list {
    grid-template-columns: 1fr;
}

.nav--mobile .nav__dropdown-link {
    text-align: left;
}

/* ─── Header CTA ──────────────────────────────────────────────────────── */

/* Sits directly beside production's «Войти» (.header__btn): same box, same
   type, same 8px radius — only the fill differs, so the pair reads as one
   set. A kit pill here would clash with the square button next to it, and the
   header stays production's. Blue matched to style.css's #0076e2 rather than
   the kit's #0073E5: at this size two near-identical blues side by side look
   like a mistake, not a system. */
.header__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* 8px, not 9px: the 1px border makes up the difference, so both buttons
       end up exactly the same height. */
    padding: 8px 43px;
    border: 1px solid #0076e2;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    /* «Войти» holds a 20px icon, which is what sets its line box and makes it
       38px tall. This button has no icon, so the height is pinned instead. */
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    color: #0076e2;
    text-decoration: none;
    transition: ease .2s;
}

.header__cta:hover,
.header__cta:focus-visible {
    background: #0076e2;
    color: #fff;
}

.burger-menu__cta {
    margin-top: 24px;
    width: 100%;
    max-width: 280px;
}

.burger-menu__cta + .burger-menu__btn {
    margin-top: 12px;
}


/* ─── Section scaffolding ─────────────────────────────────────────────── */

.section {
    padding: 80px 0;
    font-family: var(--font-ui);
}

.section--tight {
    padding: 60px 0;
}

.section--grey {
    background: var(--surface-panel);
}

.section__title {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    margin-bottom: 36px;
}

.section__lead {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 760px;
    margin-bottom: 36px;
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.section__title--flush {
    margin-bottom: 0;
}

.section__more {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-500);
    text-decoration: none;
}

.section__more:hover {
    text-decoration: underline;
}

.note {
    margin-top: 32px;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.note a {
    color: var(--blue-500);
}

/* ─── Cards ───────────────────────────────────────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    padding: 28px;
    text-decoration: none;
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out);
}

.section--grey .card {
    border-color: transparent;
}

.card:hover,
.card:focus-visible {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Brand icons are two-tone with their colours baked in — shown as images,
   never recoloured through CSS. */
.card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
}

.card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 10px;
}

.card__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.card__tagline {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.card__text {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card__more {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-500);
}

/* ─── Feature grid ────────────────────────────────────────────────────── */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-grid--two {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.feature-grid--three {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Four items default to 3 + 1 orphan on a wide screen; 2x2 reads better. */
.feature-grid:has(> :nth-child(4):last-child),
.scenario-grid:has(> :nth-child(4):last-child),
.card-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
    background: var(--surface-panel);
    border-radius: var(--radius-md);
    padding: 28px;
}

.section--grey .feature {
    background: var(--white);
}

/* The double chevron from the logo doubles as the brand's bullet. */
.feature__title {
    position: relative;
    padding-left: 26px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.feature__title::before {
    content: "»";
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 19px;
    line-height: 1.35;
    color: var(--blue-500);
}

.feature__text {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ─── Stats band ──────────────────────────────────────────────────────── */

/* Big numbers sit in Roboto Light in the kit; Montserrat Light carries the
   same airy feel without a fourth family on the page. */
.stats-band {
    background: var(--blue-500);
    padding: 56px 0;
    font-family: var(--font-ui);
}

.stats-band__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.stats-band--four .stats-band__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-band__value {
    font-weight: 300;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 10px;
}

.stats-band__caption {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
    margin: 0;
}

/* ─── Cascade scenarios ───────────────────────────────────────────────── */

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

.scenario {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.scenario__title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.scenario__text {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.chain {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
}

.chain__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 90px;
    position: relative;
}

.chain__step + .chain__step::before {
    content: "»";
    position: absolute;
    left: -14px;
    top: 3px;
    color: var(--blue-500);
    font-size: 16px;
}

.chain__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-500);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.chain__step--final .chain__num {
    background: var(--navy-800);
}

.chain__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-strong);
}

.chain__note {
    font-weight: 300;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.chain__step--final .chain__note {
    color: var(--navy-800);
    font-weight: 500;
}

/* ─── Spec table ──────────────────────────────────────────────────────── */

.spec-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
}

.spec {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-family: var(--font-ui);
}

.spec__row + .spec__row {
    border-top: 1px solid var(--line-soft);
}

.spec__label,
.spec__value {
    padding: 16px 24px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.spec__label {
    font-weight: 600;
    color: var(--text-muted);
    width: 42%;
}

.spec__value {
    font-weight: 300;
    color: var(--text-body);
}

.spec--grid .spec__head {
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: var(--text-muted);
    background: var(--surface-panel);
    border-bottom: 1px solid var(--line-soft);
}

.section--grey .spec--grid .spec__head {
    background: var(--white);
}

.spec--grid .spec__value {
    white-space: nowrap;
}

.spec--grid .spec__value:last-child {
    white-space: normal;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────── */

.faq-section {
    background: var(--surface-panel);
}

.faq__item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: var(--text-strong);
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    flex-shrink: 0;
    color: var(--blue-500);
    transition: transform var(--dur-base) var(--ease-out);
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 24px 22px;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ─── CTA band ────────────────────────────────────────────────────────── */

/* The kit's other solid surface: deep navy, used so the page does not read
   as three identical blue bands stacked on top of each other. */
.cta-band {
    background: var(--surface-dark);
    padding: 56px 0;
    font-family: var(--font-ui);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-band__title {
    font-weight: 800;
    font-size: 30px;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-band__text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
}

.cta-band__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    height: 54px;
    border-radius: var(--radius-pill);
    background: var(--blue-500);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: var(--shadow-blue);
    transition: background var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out);
}

.cta-band__btn:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
}

.cta-band__btn:active {
    transform: scale(.98);
}

/* ─── Tariff plans ────────────────────────────────────────────────────── */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 24px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.plan--featured {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-blue);
}

.plan__badge {
    position: absolute;
    top: -13px;
    left: 32px;
    background: var(--blue-500);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 6px 15px;
}

.plan__name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 27px;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.plan__for {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan__list {
    list-style: none;
    margin-bottom: 28px;
}

.plan__item {
    position: relative;
    padding-left: 28px;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-body);
}

.plan__item + .plan__item {
    margin-top: 12px;
}

.plan__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

.plan__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: var(--radius-pill);
    background: var(--blue-500);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background var(--dur-base) var(--ease-out);
}

.plan__btn:hover {
    background: var(--blue-600);
}

.plan__btn:active {
    transform: scale(.98);
}

/* ─── Contacts ────────────────────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--surface-panel);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-family: var(--font-ui);
}

.contact-card--accent {
    background: var(--blue-500);
}

.contact-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-card--accent .contact-card__label {
    color: rgba(255, 255, 255, .75);
}

.contact-card__value {
    font-weight: 300;
    font-size: 25px;
    line-height: 1.2;
    color: var(--text-strong);
    text-decoration: none;
    word-break: break-word;
}

.contact-card--accent .contact-card__value {
    color: var(--white);
}

.contact-card__note {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.contact-card--accent .contact-card__note {
    color: rgba(255, 255, 255, .8);
}

/* ─── Home: industries and onboarding ─────────────────────────────────── */

.industry {
    background: var(--surface-panel);
    border-radius: var(--radius-md);
    padding: 28px;
    font-family: var(--font-ui);
}

.section--grey .industry,
.section--grey .step {
    background: var(--white);
}

.industry__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
}

.industry__title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.industry__text {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.industry__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry__link {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--blue-500);
    background: var(--surface-chip);
    border-radius: var(--radius-pill);
    padding: 9px 15px;
    text-decoration: none;
    transition: background var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out);
}

.industry__link:hover,
.industry__link:focus-visible {
    background: var(--blue-500);
    color: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.step {
    background: var(--surface-panel);
    border-radius: var(--radius-md);
    padding: 28px;
    font-family: var(--font-ui);
}

.step__num {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    color: var(--blue-500);
    margin-bottom: 14px;
}

.step__title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.step__text {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ─── Articles ────────────────────────────────────────────────────────── */

.post__date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.post__date--detail {
    margin-bottom: 28px;
}

.post__link {
    color: inherit;
    text-decoration: none;
}

.card.post {
    cursor: default;
}

.card.post:hover {
    transform: none;
}

.card.post:focus-within,
.card.post:hover {
    border-color: var(--line-strong);
}

.prose {
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-body);
}

.prose h2 {
    font-weight: 800;
    font-size: 26px;
    line-height: 1.25;
    color: var(--text-strong);
    margin: 44px 0 16px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: 18px;
}

.prose ul {
    list-style: none;
    margin: 0 0 22px;
}

.prose li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.prose li::before {
    content: "»";
    position: absolute;
    left: 4px;
    top: -1px;
    color: var(--blue-500);
    font-size: 17px;
}

.prose__callout {
    background: var(--surface-panel);
    border-left: 3px solid var(--blue-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 22px 26px;
    margin: 28px 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-strong);
}

.api__list {
    margin-top: 28px;
    margin-bottom: 0;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
/* The footer sits on white here, not on the dark bar below it.

   style.css gives .footer no top padding at all. That passed on the
   production one-pager, where the block above it (.page__increase) was also
   white — there was no seam to see. Every page now ends with the pale-blue
   form section, so the colour change lands right on the logo with nothing
   between them. Air on the white side, matching the 60px the form already
   has on the blue side. */
.footer {
    padding-top: var(--space-20, 80px);
    /* The same gap was missing at the other end. Production's .footer-top
       carried a 69px bottom margin that separated it from the dark address
       bar; that margin now separates it from the sitemap instead, leaving
       the last column of links flush against the dark block. */
    padding-bottom: var(--space-16, 64px);
}

@media (max-width: 992px) {
    .footer {
        padding-top: var(--space-12, 48px);
        padding-bottom: var(--space-10, 40px);
    }
}


.footer-sitemap {
    margin-top: 8px;
    padding-top: 40px;
    border-top: 1px solid var(--line-soft);
    font-family: var(--font-ui);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-nav__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-strong);
    margin-bottom: 16px;
}

.footer-nav__heading a {
    color: inherit;
    text-decoration: none;
}

.footer-nav__heading a:hover {
    color: var(--blue-500);
}

.footer-sitemap .footer-top__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-sitemap .footer-top__item {
    text-align: left;
    font-weight: 300;
    font-size: 15px;
    color: var(--text-muted);
}

.footer-sitemap .footer-top__item a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-out);
}

.footer-sitemap .footer-top__item a:hover,
.footer-sitemap .footer-top__item a:focus-visible {
    color: var(--blue-500);
}

/* ─── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1440px) {
    /* style.css keeps .header__nav at 200px side padding down to 1200px.
       Fine for a one-pager header; cramped once the bar carries six menu
       items and a second button. */
    .header__nav {
        padding: 0 60px;
    }
}

@media (max-width: 1200px) {
    .nav__dropdown {
        min-width: 0;
    }

    .header__cta {
        padding: 8px 21px;
    }

    .header__cta {
        display: none;
    }

    .burger-menu__cta {
        display: inline-flex;
    }
}

@media (max-width: 992px) {
    .section,
    .section--tight {
        padding: 56px 0;
    }

    .section__title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .header__main-title--inner {
        font-size: 33px;
    }

    .header__main-subtitle--inner {
        font-size: 16px;
    }

    .header__main--inner::after {
        opacity: .3;
    }

    .stats-band__list,
    .stats-band--four .stats-band__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .stats-band__value {
        font-size: 34px;
    }

    .cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band__title {
        font-size: 24px;
    }

    .scenario-grid,
    .scenario-grid:has(> :nth-child(4):last-child) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .feature-grid:has(> :nth-child(4):last-child),
    .scenario-grid:has(> :nth-child(4):last-child),
    .card-grid:has(> :nth-child(4):last-child) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .header__main--inner {
        padding: 32px 0 56px;
    }

    .hero__badge {
        border-radius: var(--radius-md);
        letter-spacing: 0.08em;
    }

    .header__main-title--inner {
        font-size: 27px;
    }

    .card,
    .feature,
    .scenario,
    .contact-card,
    .step,
    .industry {
        padding: 22px;
    }

    .plan {
        padding: 26px 22px;
    }

    .stats-band__list,
    .stats-band--four .stats-band__list {
        grid-template-columns: 1fr;
    }

    .spec__label,
    .spec__value {
        padding: 13px 16px;
        font-size: 14px;
    }

    .faq__question {
        font-size: 15px;
        padding: 16px 18px;
    }

    .faq__answer {
        padding: 0 18px 18px;
    }

    .prose {
        font-size: 16px;
    }

    .prose h2 {
        font-size: 21px;
        margin-top: 34px;
    }
}

/* The kit asks for fades and short lifts; honour a reduced-motion setting. */
@media (prefers-reduced-motion: reduce) {
    .card,
    .cta-band__btn,
    .header__main--inner .header__main-btn,
    .nav__chevron,
    .faq__icon {
        transition: none;
    }

    .card:hover,
    .cta-band__btn:hover,
    .header__main--inner .header__main-btn:hover {
        transform: none;
    }
}
