/* ==========================================================================
   СЕКЦИИ — доверие, «что внутри», шаги, безопасность, финальный CTA, футер.
   ========================================================================== */

/* ---------- Полоса доверия ---------- */

.trust {
    position: relative;
    border-block: 1px solid var(--c-line);
    background: color-mix(in srgb, var(--c-bg-soft) 70%, transparent);
}

.trust__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
    padding-block: 18px;
}

.trust__label {
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.trust .marquee {
    padding-block: 2px;
}

/* ---------- «Что внутри» ---------- */

#how::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(640px, 60vw);
    height: min(520px, 55vw);
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.55;
}

#how::before {
    left: -14%;
    bottom: 6%;
    background: radial-gradient(circle, var(--c-glow-cyan), transparent 70%);
}

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

.terminal {
    margin-top: var(--gap-section);
    overflow: hidden;
}

.terminal__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--c-line);
    background: rgba(255, 255, 255, 0.02);
}

.terminal__dots {
    display: inline-flex;
    gap: 5px;
}

.terminal__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-line-gold);
    opacity: 0.55;
}

.terminal__title {
    margin-left: 6px;
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.terminal__badge {
    margin-left: auto;
    padding: 2px 7px;
    border: 1px solid var(--c-line-gold);
    border-radius: 999px;
    color: var(--c-gold);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.terminal__body {
    display: grid;
    gap: 7px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    overflow-x: auto;
}

.terminal__row {
    display: flex;
    gap: 14px;
    white-space: nowrap;
}

.terminal__time {
    color: var(--c-muted);
    opacity: 0.75;
}

.terminal__tag {
    min-width: 64px;
    color: var(--c-gold);
}

.terminal__tag--green {
    color: var(--c-green);
}

.terminal__tag--red {
    color: var(--c-red);
}

.terminal__text {
    color: var(--c-text-2);
}

.terminal__text b {
    color: var(--c-text);
    font-weight: 600;
}

/* ---------- Шаги ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    counter-increment: step;
    transition:
        border-color 0.25s var(--ease),
        background-color 0.25s var(--ease);
}

.step:hover {
    border-color: var(--c-line-gold);
    background: var(--c-panel-hover);
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border: 1px solid var(--c-line-gold);
    border-radius: 50%;
    color: var(--c-gold);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
}

.step__num::before {
    content: "0" counter(step);
}

.step h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.step p {
    color: var(--c-text-2);
    font-size: 14.5px;
    line-height: 1.65;
}

.step__note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.step__note svg {
    width: 13px;
    height: 13px;
    color: var(--c-green);
}

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

.steps-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: var(--gap-section);
}

.steps-cta__note {
    color: var(--c-muted);
    font-size: 12px;
}

/* ---------- Безопасность ---------- */

.security {
    position: relative;
    overflow: hidden;
}

.security__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
}

.security__panel::before {
    content: "";
    position: absolute;
    right: -20%;
    top: -40%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, var(--c-glow-gold), transparent 66%);
    filter: blur(40px);
    pointer-events: none;
}

.security__panel h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    margin-bottom: 14px;
}

.security__panel .lead {
    margin-top: 0;
    font-size: 14.5px;
}

.security__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    align-content: center;
}

.security__item {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.security__item svg {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: none;
    color: var(--c-gold);
}

.security__item b {
    display: block;
    margin-bottom: 3px;
    font-size: 13.5px;
    font-weight: 600;
}

.security__item span {
    color: var(--c-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

/* ---------- Финальный CTA ---------- */

.cta-band {
    position: relative;
    padding: clamp(34px, 5vw, 64px);
    text-align: center;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, var(--c-glow-gold), transparent 70%),
        radial-gradient(ellipse 40% 60% at 82% 100%, var(--c-glow-cyan), transparent 72%);
    pointer-events: none;
}

.cta-band > * {
    position: relative;
}

.cta-band h2 {
    max-width: 18ch;
    margin-inline: auto;
}

/* Длинное слово «автоматизировать» должно помещаться в узкий экран */
@media (max-width: 560px) {
    .cta-band h2 {
        font-size: 24px;
    }
}

@media (max-width: 360px) {
    .cta-band {
        padding-inline: 18px;
    }
}

.cta-band .lead {
    margin-inline: auto;
    max-width: 52ch;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.cta-band__note {
    margin-top: 18px;
    color: var(--c-muted);
    font-size: 11.5px;
}

/* ---------- Футер ---------- */

.site-footer {
    position: relative;
    padding-block: calc(var(--gap-section) / 2) 20px;
    background: color-mix(in srgb, var(--c-bg-soft) 78%, transparent);
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer__brand {
    max-width: 420px;
}

.footer__brand p {
    margin-top: 12px;
    color: var(--c-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.footer__contacts a {
    color: var(--c-gold);
    text-decoration: none;
}

.footer__contacts a:hover {
    color: var(--c-gold-2);
}

/* Документы стоят на разделителе — единственная линия в футере */
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
    margin-top: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-line);
}

.footer__nav a {
    color: var(--c-text-2);
    font-size: 12px;
    transition: color 0.2s var(--ease);
}

.footer__nav a:hover {
    color: var(--c-gold-2);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
}

.footer__legal {
    max-width: 720px;
    color: var(--c-muted);
    font-size: 11px;
    line-height: 1.6;
}

.footer__copy {
    flex: none;
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.footer__age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    border: 1px solid var(--c-line-gold);
    border-radius: 50%;
    color: var(--c-gold);
    font-family: var(--font-mono);
    font-size: 9px;
    vertical-align: middle;
}

/* ---------- Сравнение ---------- */

.compare-card {
    overflow: hidden;
}

.compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14px;
}

.compare th,
.compare td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-line-soft);
    text-align: left;
    vertical-align: top;
}

.compare thead th {
    padding-block: 20px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--c-text-2);
    background: rgba(255, 255, 255, 0.015);
}

.compare thead th:first-child {
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.compare thead th:last-child {
    color: var(--c-gold-2);
}

.compare tbody th {
    color: var(--c-muted);
    font-weight: 500;
    white-space: nowrap;
}

.compare tbody td {
    color: var(--c-text-2);
    line-height: 1.5;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.compare .col-bot {
    background: color-mix(in srgb, var(--c-gold) 5%, transparent);
    color: var(--c-text);
}

.compare tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.compare .col-bot strong {
    color: var(--c-gold-2);
    font-weight: 600;
}

.compare-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    color: var(--c-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.compare-note svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 2px;
    color: var(--c-gold);
}

/* ---------- Тарифы ---------- */

.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.plan:hover {
    transform: translateY(-3px);
    border-color: var(--c-line-gold);
}

.plan--featured {
    border-color: var(--c-line-gold);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--c-gold) 7%, transparent), transparent 55%),
        var(--c-panel);
}

.plan__term {
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.plan__price {
    margin-top: 16px;
    color: var(--c-text);
    font-family: var(--font-mono);
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan__price small {
    margin-left: 4px;
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.plan__per {
    margin-top: 7px;
    color: var(--c-muted);
    font-size: 11.5px;
}

.plan__list {
    display: grid;
    gap: 9px;
    margin: 20px 0 24px;
    padding-top: 18px;
    border-top: 1px solid var(--c-line-soft);
}

.plan__list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--c-text-2);
    font-size: 12.5px;
    line-height: 1.45;
}

.plan__list svg {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    flex: none;
    color: var(--c-green);
}

.plan .btn {
    margin-top: auto;
    width: 100%;
}

.plans-note {
    margin-top: 18px;
    color: var(--c-muted);
    text-align: center;
    font-size: 11.5px;
}

/* ---------- FAQ ---------- */

.faq {
    display: grid;
    gap: 10px;
    max-width: 900px;
    margin-inline: auto;
}

.faq details {
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.faq details[open] {
    border-color: var(--c-line-gold);
    background: var(--c-panel-hover);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    color: var(--c-gold);
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 22px 20px;
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.65;
    max-width: 75ch;
}

/* ---------- Тарифы: счета по биржам ---------- */

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

.ex-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 24px;
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease),
        background-color 0.3s var(--ease);
}

.ex-card:hover,
.ex-card:focus-within {
    z-index: 30;
    transform: translateY(-2px);
    border-color: var(--c-line-gold);
    background: var(--c-panel-hover);
}

.ex-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ex-card__name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.ex-card__badge {
    padding: 3px 8px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    color: var(--c-muted);
    font-size: 9.5px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ex-card__price {
    margin-top: 18px;
    color: var(--c-text);
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ex-card__price small {
    margin-left: 4px;
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.ex-card__hint {
    margin-top: auto;
    padding-top: 18px;
    color: var(--c-muted);
    font-size: 11px;
    line-height: 1.5;
}

.ex-card__open {
    display: none;
}

.ex-pop {
    position: absolute;
    left: -1px;
    right: -1px;
    padding: 12px;
    border: 1px solid var(--c-line-gold);
    border-radius: 12px;
    background: var(--c-panel-solid);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition:
        opacity 0.18s var(--ease),
        transform 0.18s var(--ease),
        visibility 0.18s;
    z-index: 31;
}

.ex-pop--mode {
    bottom: calc(100% + 10px);
}

.ex-pop--term {
    top: calc(100% + 10px);
}

@media (hover: hover) {
    .ex-card:hover .ex-pop,
    .ex-card:focus-within .ex-pop {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.ex-card.is-open .ex-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.ex-pop__label {
    display: block;
    margin-bottom: 8px;
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ex-pop__row,
.ex-pop__grid {
    display: grid;
    gap: 6px;
}

.ex-pop__row {
    grid-template-columns: 1fr 1fr;
}

.ex-pop__grid {
    grid-template-columns: 1fr 1fr;
}

.ex-pop button {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 2px 6px;
    padding: 8px 10px;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--c-text-2);
    font-size: 11.5px;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.18s var(--ease),
        background-color 0.18s var(--ease),
        color 0.18s var(--ease);
}

.ex-pop__row button {
    display: flex;
    justify-content: center;
    padding: 9px 10px;
}

.ex-pop button:hover {
    border-color: var(--c-line-gold);
    color: var(--c-text);
    background: rgba(255, 255, 255, 0.06);
}

.ex-pop__row button.is-selected {
    border-color: var(--c-gold);
    color: var(--c-gold-2);
    background: color-mix(in srgb, var(--c-gold) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-gold) 22%, transparent);
}

.ex-pop__grid button b {
    grid-column: 1;
    grid-row: 1;
    color: var(--c-text);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
}

.ex-pop__grid button span {
    grid-column: 2;
    grid-row: 1;
    color: var(--c-muted);
    font-size: 9.5px;
}

.ex-pop__grid button em {
    grid-column: 1;
    grid-row: 2;
    color: var(--c-text);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-style: normal;
}

.ex-pop__grid button i {
    grid-column: 2;
    grid-row: 2;
    color: var(--c-green);
    font-size: 9px;
    font-style: normal;
    text-align: right;
}

.ex-pop__hint {
    display: none;
    margin-top: 8px;
    color: var(--c-gold);
    font-size: 10px;
    line-height: 1.4;
}

.ex-card.need-mode .ex-pop__hint {
    display: block;
}

.ex-card.need-mode .ex-pop--mode {
    border-color: var(--c-gold);
}

.demo-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 96px;
    margin-top: var(--gap-section);
    padding: 20px 26px;
    border: 1px solid var(--c-line-gold);
    border-radius: 18px;
    background:
        linear-gradient(100deg, color-mix(in srgb, var(--c-cyan) 7%, transparent), transparent 44%),
        var(--c-panel);
}

.demo-strip__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.demo-strip__badge {
    padding: 3px 8px;
    border: 1px solid var(--c-line-gold);
    border-radius: 4px;
    color: var(--c-gold-2);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
}

.demo-strip__free {
    text-align: center;
    color: var(--c-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-strip__free b {
    display: block;
    color: var(--c-gold-2);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.demo-strip .btn {
    justify-self: end;
}

@media (max-width: 960px) {
    .ex-grid {
        grid-template-columns: 1fr 1fr;
    }

    .demo-strip {
        grid-template-columns: 1fr auto;
    }

    .demo-strip__free {
        text-align: right;
    }
}

@media (max-width: 600px) {
    .ex-grid {
        grid-template-columns: 1fr;
    }

    .demo-strip {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 12px;
    }

    .demo-strip .btn {
        justify-self: center;
    }

    .demo-strip__title {
        flex-direction: column;
        gap: 8px;
    }
}

@media (hover: none) {
    .ex-card {
        min-height: 0;
    }

    .ex-card__hint {
        display: none;
    }

    .ex-card__open {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        padding: 9px 12px;
        border: 1px solid var(--c-line-gold);
        border-radius: 8px;
        background: transparent;
        color: var(--c-gold-2);
        font-size: 12px;
    }

    .ex-pop {
        position: static;
        display: none;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .ex-card.is-open .ex-pop {
        display: block;
    }

    .ex-pop--mode {
        margin-top: 14px;
    }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
    .steps--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .plans {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .security__panel {
        grid-template-columns: 1fr;
    }

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

    .footer__top {
        flex-direction: column;
        gap: 18px;
    }

    .footer__nav {
        justify-content: flex-start;
        padding-top: 0;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .security__list {
        grid-template-columns: 1fr;
    }

    .plans {
        grid-template-columns: 1fr;
    }

    .faq summary {
        padding: 15px 16px;
        font-size: 14px;
    }

    .faq details p {
        padding: 0 16px 16px;
    }

    .terminal__body {
        font-size: 10.5px;
    }

    .terminal__row {
        gap: 9px;
    }

    .cta-band__actions {
        flex-direction: column;
    }

    .cta-band__actions .btn {
        width: 100%;
    }
}

/* ======================================================================
   «Что внутри» — четыре блока в один ряд, полный текст по наведению.
   ====================================================================== */

.cards-grid--inside {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.cards-grid--inside .card {
    min-height: 0;
    padding: 22px;
}

.cards-grid--inside .card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

.cards-grid--inside .card__num {
    top: 20px;
    right: 20px;
}

.cards-grid--inside .card h3 {
    margin-bottom: 0;
    font-size: clamp(16px, 1.25vw, 18px);
}

.cards-grid--inside .card::after {
    content: "+";
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: var(--c-gold);
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1;
    opacity: 0.55;
    transition: opacity 0.2s var(--ease);
}

.cards-grid--inside .card:hover::after,
.cards-grid--inside .card:focus::after {
    opacity: 1;
}

/* Полный текст блока: появляется поверх соседей при наведении или фокусе */
.cards-grid--inside .card p {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 3;
    width: min(460px, calc(100vw - 48px));
    padding: 18px 20px;
    border: 1px solid var(--c-line-gold);
    border-radius: var(--radius);
    background: var(--c-panel-solid);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--c-text-2);
    font-size: 13px;
    line-height: 1.65;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 0.2s var(--ease),
        transform 0.2s var(--ease),
        visibility 0.2s;
}

.cards-grid--inside .card:nth-child(4) p {
    right: 0;
    left: auto;
}

.cards-grid--inside .card:hover,
.cards-grid--inside .card:focus,
.cards-grid--inside .card:focus-within {
    z-index: 5;
    border-color: var(--c-line-gold);
}

.cards-grid--inside .card:hover p,
.cards-grid--inside .card:focus p,
.cards-grid--inside .card:focus-within p {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.steps-cta__note {
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.5;
}

/* Сенсорные экраны и узкие ширины: полный текст показываем сразу, в потоке */
@media (max-width: 760px), (hover: none) {
    .cards-grid--inside .card::after {
        display: none;
    }

    .cards-grid--inside .card p {
        position: static;
        width: auto;
        margin-top: 12px;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .cards-grid--inside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cards-grid--inside,
    .steps--four {
        grid-template-columns: 1fr;
    }
}
