/* pay.snapex.pro/telegram-access (owner 19.11): paid access to Telegram channels and chats — the steps, the ways to pay,
   "our bot or your own bot". On top of pay-site.css; classes tga-* are this page's only. */

.tga-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tga-steps li {
    padding-top: 18px;
    border-top: 2px solid var(--ink);
}

.tga-steps__n {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}

.tga-steps h3 {
    margin-top: 8px;
}

.tga-steps p,
.tga-pay p {
    margin-top: 8px;
    font-size: 0.9375rem;
    color: var(--ink-2);
}

.tga-money {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.lvb .tga-sub {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-3);
}

.tga-pay {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.tga-pay li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--line);
}

.tga-pay h4 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
}

.tga-pay__icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tga-out {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--bench-2);
}

/* Our bot or your own bot: two cards with the same rows, the setup steps under them. */
.tga-cmp {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
    margin-top: 40px;
}

.tga-cmp__card {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.6vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--bench-2);
}

.tga-cmp__card[data-mode="our"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bench);
}

.tga-cmp__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    padding-bottom: 18px;
}

.lvb .tga-cmp__head h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: inherit;
}

.tga-cmp__tag {
    font: 500 0.875rem/1.2 var(--f-mono);
    color: var(--ink-3);
}

.tga-cmp__rows {
    margin: 0;
}

.tga-cmp__rows div {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.tga-cmp__rows dt {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-3);
}

.tga-cmp__rows dd {
    margin: 4px 0 0;
    font-size: 0.9875rem;
    line-height: 1.5;
}

.lvb .tga-cmp__steps-title {
    margin: 10px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
}

.tga-cmp__steps {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-inline-start: 1.3em;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.tga-cmp__steps li::marker {
    font-variant-numeric: tabular-nums;
    color: var(--ink-3);
}

/* The dark card (our bot): the same parts in the colours of the closing band. */
.tga-cmp__card[data-mode="our"] .tga-cmp__tag,
.tga-cmp__card[data-mode="our"] .tga-cmp__rows dt,
.tga-cmp__card[data-mode="our"] .tga-cmp__steps li::marker {
    color: var(--dark-muted);
}

.tga-cmp__card[data-mode="our"] .tga-cmp__rows div,
.tga-cmp__card[data-mode="our"] .tga-cmp__steps-title {
    border-top-color: var(--dark-line);
}

.tga-cmp__card[data-mode="our"] .tga-cmp__rows dd,
.tga-cmp__card[data-mode="our"] .tga-cmp__steps {
    color: var(--dark-body);
}

.tga-rules {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.tga-rules p:first-child {
    max-width: 38em;
    font-size: 1.1875rem;
    color: var(--ink-2);
}

@media (max-width: 1080px) {
    .tga-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 32px;
    }
}

@media (max-width: 860px) {
    .tga-money,
    .tga-cmp,
    .tga-rules {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .tga-steps {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .tga-out {
        padding: 20px;
    }
}
