/**
 * Potokbit - общий стиль лендингов (в духе potokbit.ru: тёмно-синий, карточки, CTA)
 */
:root {
    --pb-navy: #1a3a5c;
    --pb-blue: #2d6a9f;
    --pb-blue-light: #e8f0fa;
    --pb-text: #2c2c2c;
    --pb-muted: #6b7a8c;
    --pb-bg: #f4f6f9;
    --pb-white: #ffffff;
    --pb-accent: #0ea5e9;
    --pb-radius: 12px;
    --pb-shadow: 0 4px 24px rgba(26, 58, 92, 0.08);
    --pb-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--pb-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--pb-text);
    background: var(--pb-bg);
}

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

.page-main {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: var(--pb-blue);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Шапка --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px clamp(16px, 4vw, 32px) 18px;
    background: linear-gradient(135deg, var(--pb-navy) 0%, #1e4a6e 50%, var(--pb-blue) 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 16px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    min-width: 0;
    flex: 1 1 auto;
}

.site-header__brand:hover {
    text-decoration: none;
    opacity: 0.95;
}

.site-header__logo {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.site-header__logo--xl {
    height: 72px;
}

@media (min-width: 640px) {
    .site-header__logo--xl {
        height: 96px;
    }
}

@media (min-width: 960px) {
    .site-header__logo--xl {
        height: 112px;
    }
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 10px;
    flex: 0 1 auto;
    width: 100%;
}

@media (min-width: 720px) {
    .site-nav {
        width: auto;
    }
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.site-nav a:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.site-nav a[aria-current='page'] {
    color: var(--pb-navy);
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-nav a[aria-current='page']:hover {
    color: var(--pb-navy);
    background: #f0f7ff;
    border-color: #f0f7ff;
    transform: none;
}

/* --- Герой --- */
.hero {
    background: linear-gradient(145deg, #0f2840 0%, var(--pb-navy) 40%, #2563a8 100%);
    color: #fff;
    padding: 56px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.25), transparent);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.hero--split {
    display: block;
    padding: 40px clamp(16px, 4vw, 32px) 48px;
    text-align: center;
}

.hero--split .hero__col {
    min-width: 0;
}

.hero--split .hero__col--text {
    margin-bottom: 36px;
}

.hero--split .hero__inner {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero--split .hero__col--mock {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 960px) {
    .hero--split {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 440px);
        gap: 40px 56px;
        align-items: center;
        padding: 48px clamp(24px, 4vw, 40px) 64px;
        text-align: left;
    }

    .hero--split .hero__col--text {
        margin-bottom: 0;
    }

    .hero--split .hero__inner {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .hero--split .hero__col--mock {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .hero--split .hero__actions--xl {
        justify-content: flex-start;
        margin-left: 0;
    }
}

.hero a {
    color: #bae6fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero a:hover {
    color: #fff;
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
}

.hero__lead {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
}

.hero__actions--xl {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-width: min(100%, 520px);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 960px) {
    .hero--split .hero__actions--xl {
        margin-left: 0;
        max-width: min(100%, 520px);
    }
}

.hero__actions--start {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.btn--hero {
    padding: 28px 36px;
    font-size: clamp(1.1rem, 2.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    border-radius: 12px;
    min-height: 76px;
    width: 100%;
    box-shadow: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.15s ease;
}

.btn--hero:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 4px;
}

.btn--hero.btn--primary {
    background: var(--pb-accent);
    color: #fff;
    border: 3px solid var(--pb-accent);
}

.btn--hero.btn--primary:hover {
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: none;
}

.btn--hero.btn--primary:focus-visible {
    outline-color: #fff;
}

.btn--hero.btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.btn--hero.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    box-shadow: none;
}

.btn--hero.btn--outline {
    background: #fff;
    color: var(--pb-navy);
    border: 3px solid rgba(45, 106, 159, 0.4);
    box-shadow: none;
}

.btn--hero.btn--outline:hover {
    background: rgba(45, 106, 159, 0.07);
    border-color: var(--pb-blue);
    color: var(--pb-navy);
    box-shadow: none;
}

.btn--hero.btn--outline:focus-visible {
    outline-color: var(--pb-blue);
}

@media (min-width: 480px) {
    .hero__actions--xl {
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn--hero {
        width: auto;
        min-width: min(100%, 400px);
        padding-left: 44px;
        padding-right: 44px;
    }

    .hero--split .hero__actions--xl {
        justify-content: flex-start;
    }
}

.hero__actions--row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.btn--hero--compact {
    padding: 22px 32px;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    min-height: 64px;
    width: auto;
    min-width: min(100%, 360px);
}

/* --- Декоративный макет UI (пример интерфейса CRM) --- */
.ui-mock {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.ui-mock--compact {
    max-width: 100%;
}

.ui-mock__window {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 24px 48px rgba(15, 40, 64, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ui-mock__titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid #cbd5e1;
}

.ui-mock__dots {
    display: flex;
    gap: 6px;
}
.ui-mock__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}
.ui-mock__dots i:first-child {
    background: #f87171;
}
.ui-mock__dots i:nth-child(2) {
    background: #fbbf24;
}
.ui-mock__dots i:nth-child(3) {
    background: #4ade80;
}

.ui-mock__title {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ui-mock__body {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 200px;
}

.ui-mock__sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-mock__sb-item {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}
.ui-mock__sb-item--active {
    background: linear-gradient(90deg, var(--pb-accent), #0284c7);
    height: 22px;
    opacity: 0.9;
}

.ui-mock__main {
    padding: 12px 14px 14px;
    background: #fff;
}

.ui-mock__toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.ui-mock__pill {
    height: 8px;
    border-radius: 99px;
    background: #e2e8f0;
    flex: 1;
    max-width: 120px;
}
.ui-mock__pill--short {
    max-width: 56px;
}

.ui-mock__card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.ui-mock__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.ui-mock__row:last-of-type {
    margin-bottom: 0;
}

.ui-mock__label {
    height: 6px;
    width: 40%;
    border-radius: 3px;
    background: #cbd5e1;
}
.ui-mock__label--wide {
    width: 55%;
}

.ui-mock__value {
    height: 6px;
    width: 28%;
    border-radius: 3px;
    background: #94a3b8;
}
.ui-mock__value--accent {
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    height: 8px;
}

.ui-mock__chips {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.ui-mock__chips span {
    height: 18px;
    flex: 1;
    border-radius: 6px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.25);
}
.ui-mock__chips span:nth-child(2) {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.ui-mock__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ui-mock__list-row {
    height: 10px;
    border-radius: 4px;
    background: #e2e8f0;
}
.ui-mock__list-row--dim {
    opacity: 0.55;
}

.ui-mock__caption {
    margin: 14px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    line-height: 1.4;
}

@media (min-width: 960px) {
    .hero--split .ui-mock__caption {
        text-align: left;
    }
}

/* --- Кнопки --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: linear-gradient(180deg, #38bdf8 0%, var(--pb-accent) 100%);
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}
.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--outline {
    background: var(--pb-white);
    color: var(--pb-navy);
    border-color: rgba(45, 106, 159, 0.25);
    box-shadow: var(--pb-shadow);
}
.btn--outline:hover {
    border-color: var(--pb-blue);
}

/* --- Секции --- */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px;
}

.section--apps {
    position: relative;
    background: linear-gradient(180deg, #eef4fb 0%, var(--pb-bg) 100%);
    border-top: 1px solid rgba(45, 106, 159, 0.1);
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.section--apps .section__title,
.section--apps .section__subtitle,
.section--apps .apps-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section--apps-page {
    padding-top: 8px;
    padding-bottom: 48px;
}

/* Заголовок отдельных страниц (каталог) */
.page-head {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 32px) 8px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--pb-muted);
    margin: 0 0 14px;
}

.breadcrumb a {
    color: var(--pb-blue);
}

.breadcrumb a:hover {
    color: var(--pb-navy);
}

.breadcrumb__sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.breadcrumb__current {
    color: var(--pb-text);
}

.page-head__title {
    margin: 0 0 12px;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    color: var(--pb-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-head__lead {
    margin: 0;
    max-width: 720px;
    color: var(--pb-muted);
    line-height: 1.65;
    font-size: 1.05rem;
}

.apps-bottom-cta {
    padding: 0 clamp(16px, 4vw, 32px) 56px;
    background: linear-gradient(180deg, var(--pb-bg) 0%, #eef4fb 100%);
}

.apps-bottom-cta__box {
    background: #fff;
    border: 1px solid rgba(45, 106, 159, 0.12);
    border-radius: 16px;
    padding: 28px 24px 32px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(26, 58, 92, 0.07);
}

.apps-bottom-cta__text {
    margin: 0 0 20px;
    color: var(--pb-text);
    font-size: 1.05rem;
    line-height: 1.5;
}

.section__title {
    text-align: center;
    margin: 0 0 12px;
    font-size: 1.5rem;
    color: var(--pb-navy);
}

.section__subtitle {
    text-align: center;
    margin: 0 auto 36px;
    max-width: 640px;
    color: var(--pb-muted);
    font-size: 1rem;
}

/* --- Сетка приложений --- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    box-shadow: var(--pb-shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(45, 106, 159, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
    box-shadow: 0 8px 32px rgba(26, 58, 92, 0.12);
    transform: translateY(-2px);
}

.app-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--pb-navy);
}

.app-card p {
    margin: 0 0 16px;
    flex: 1;
    color: var(--pb-muted);
    font-size: 0.95rem;
}

.app-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

a.app-card__market {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin: 4px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pb-white);
    text-decoration: none;
    border-radius: 8px;
    background: var(--pb-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

a.app-card__market:hover {
    background: #2568a0;
    color: #fff;
    text-decoration: none;
}

/* --- CTA-блок --- */
.cta-strip {
    background: linear-gradient(135deg, var(--pb-navy) 0%, #234a72 100%);
    color: #fff;
    padding: 40px 24px;
    text-align: center;
}

.cta-strip h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.cta-strip p {
    margin: 0 0 24px;
    opacity: 0.9;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Подвал (в тон шапке: тёмно-синий градиент) --- */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px clamp(16px, 4vw, 32px) 36px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    background: linear-gradient(165deg, #1a3a5c 0%, #152f4d 38%, #0f1f30 72%, #0c1828 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.site-footer a {
    color: #a5d8ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer > p {
    margin: 0;
    max-width: 720px;
    line-height: 1.6;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
    overflow-wrap: anywhere;
}

.site-footer > p a {
    color: #93c5fd;
    font-weight: 500;
}

.site-footer > p a:hover {
    color: #e0f2fe;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 32px;
    margin: 0 auto 18px;
    padding: 0 8px 18px;
    width: 100%;
    max-width: 640px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__links a {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* ——— Модальные окна (dialog) ——— */
.modal[open] {
    border: none;
    border-radius: var(--pb-radius);
    overflow: hidden;
    padding: 0;
    max-width: 580px;
    width: calc(100% - 32px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
    background: rgba(15, 31, 48, 0.55);
}

.modal__inner {
    padding: 0;
}

.modal__header {
    position: relative;
    background: linear-gradient(135deg, var(--pb-navy) 0%, var(--pb-blue) 100%);
    padding: 24px 24px 20px;
    border-radius: var(--pb-radius) var(--pb-radius) 0 0;
}

.modal__body {
    padding: 20px 24px 24px;
    background: var(--pb-bg);
    border-radius: 0 0 var(--pb-radius) var(--pb-radius);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
}

.modal__close:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.modal h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: #fff;
    padding-right: 40px;
}

.modal .hint {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pb-navy);
    margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--pb-blue);
    box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.15);
}

.form-row textarea {
    min-height: 88px;
    resize: vertical;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fo---msg {---
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.form-msg--ok {
    color: #15803d;
}
.form-msg--err {
    color: #b91c1c;
}

.form-row.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ——— Страница приложения ——— */
.app-hero {
    padding: 36px 24px 40px;
    background: linear-gradient(145deg, #0f2840 0%, var(--pb-navy) 50%, #2563a8 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(14, 165, 233, 0.18), transparent);
    pointer-events: none;
}

.app-hero--with-mock .app-hero__grid {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 900px) {
    .app-hero--with-mock .app-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, min(44vw, 440px));
        gap: 40px 48px;
        align-items: center;
    }
}

.app-hero__text {
    max-width: 640px;
}

.app-hero__text--grow {
    min-width: 0;
    width: 100%;
}

.app-hero__mock {
    min-width: 0;
    width: 100%;
    justify-self: center;
}

.app-hero__logo-slot {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.app-hero__logo-card {
    margin: 0;
    padding: 0;
}

.app-hero__logo-frame {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: clamp(16px, 4vw, 28px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 20px 40px rgba(15, 40, 64, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.app-hero__product-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52vw, 260px);
    object-fit: contain;
    border-radius: 12px;
}

.app-hero__logo-frame--fill {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.app-hero__logo-frame--fill .app-hero__product-logo {
    width: min(52vw, 240px);
    height: min(52vw, 240px);
    object-fit: cover;
    border-radius: 16px;
    max-height: none;
}

@media (min-width: 900px) {
    .app-hero__mock {
        justify-self: end;
    }

    .app-hero__logo-slot {
        margin-left: 0;
        margin-right: 0;
    }
}

.app-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.app-hero .lead {
    margin: 0 0 16px;
    opacity: 0.92;
    font-size: 1.05rem;
}

.app-hero__desc {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    opacity: 0.88;
    font-size: 1rem;
}

.app-hero__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px 12px;
    margin: 0 0 12px;
}

.app-hero__badges .hero__badge {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 2.375rem;
    height: 2.375rem;
    padding: 0 16px;
    line-height: 1;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .app-hero__badges .hero__badge {
        white-space: normal;
        text-align: center;
        height: auto;
        min-height: 2.375rem;
    }
}

.app-hero a.hero__badge.hero__badge--market {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.app-hero a.hero__badge.hero__badge--market:hover,
.app-hero a.hero__badge.hero__badge--market:focus-visible {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.app-hero a.hero__badge.hero__badge--brand {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.app-hero a.hero__badge.hero__badge--brand:hover,
.app-hero a.hero__badge.hero__badge--brand:focus-visible {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.hero__badge--compact {
    margin-bottom: 10px;
}

/* Блок «Возможности» */
.feature-section {
    position: relative;
    padding: 56px 24px 64px;
    overflow: hidden;
    background: linear-gradient(165deg, #dbeafe 0%, #e8f4fc 35%, #f0f6fb 70%, var(--pb-bg) 100%);
}

.feature-section--page {
    border-top: 1px solid rgba(45, 106, 159, 0.1);
}

.feature-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(45, 106, 159, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.feature-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(45, 106, 159, 0.09) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.45;
    pointer-events: none;
}

.feature-section__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4px;
}

.feature-section--page .feature-section__inner {
    max-width: 880px;
}

.feature-section__title {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    color: var(--pb-navy);
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.feature-section__lead {
    margin: 0 auto 28px;
    text-align: center;
    color: var(--pb-muted);
    font-size: 0.98rem;
    max-width: 520px;
}

@media (min-width: 768px) {
    .feature-section--page .feature-section__title,
    .feature-section--page .feature-section__lead {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .feature-section--page .feature-section__lead {
        max-width: none;
    }
}

.feature-section__unknown {
    text-align: center;
    color: var(--pb-muted);
}

.feature-section--empty .feature-section__title,
.feature-section--empty .feature-section__lead,
.feature-section--empty #app-features {
    display: none;
}

.feature-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.feature-cards__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 0;
    align-items: start;
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px 18px 18px;
    border: 1px solid rgba(45, 106, 159, 0.14);
    box-shadow:
        0 2px 8px rgba(26, 58, 92, 0.06),
        0 12px 32px rgba(26, 58, 92, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.feature-cards__num {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    flex-shrink: 0;
}

.feature-cards__text {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 4px 0 0;
    min-width: 0;
    color: var(--pb-text);
    font-size: 1rem;
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 420px) {
    .feature-cards__item {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding: 14px 14px 14px 12px;
    }

    .feature-cards__num {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
    }
    .site-nav {
        justify-content: flex-start;
    }
    .hero {
        padding: 40px 20px 48px;
    }
}
