:root {
    --bg: #edf9fb;
    --bg-strong: #dff3f7;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-strong: #fffdfa;
    --text: #16354c;
    --muted: #587182;
    --accent: #2d74e7;
    --accent-dark: #1856c9;
    --accent-soft: #dff1ff;
    --mint: #33d5c4;
    --line: rgba(26, 77, 122, 0.12);
    --shadow: 0 24px 80px rgba(44, 105, 185, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(45, 116, 231, 0.2), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(51, 213, 196, 0.16), transparent 22%),
        radial-gradient(circle at 60% 76%, rgba(107, 198, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #f7feff 0%, #eefbff 30%, #e3f4fb 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.landing-page,
.webapp-page {
    padding: 24px;
}

.landing-shell,
.webapp-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.hero,
.webapp-shell {
    min-height: calc(100vh - 48px);
    display: grid;
    align-items: center;
    gap: 24px;
}

.hero {
    grid-template-columns: 1.2fr 0.8fr;
}

.hero__content,
.hero__panel,
.webapp-card,
.promo-band,
.plan-card,
.feature-card,
.step-card,
.trust-card,
.topup-card,
.cta-banner,
.faq-item {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero__content,
.webapp-card {
    padding: 48px;
}

.hero__panel {
    padding: 20px;
    overflow: hidden;
}

.site-header,
.site-footer,
.promo-band,
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header {
    padding: 14px 18px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(39, 93, 166, 0.1);
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--text);
}

.brand__logo {
    display: block;
    width: min(320px, 42vw);
    height: auto;
}

.brand__logo--footer {
    width: min(300px, 58vw);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-nav a,
.site-footer__links a {
    color: var(--muted);
    font-weight: 600;
}

.section {
    margin-top: 28px;
}

.section--alt {
    padding: 6px 0;
}

.section__heading {
    max-width: 720px;
    margin-bottom: 20px;
}

.section__heading p:last-child {
    margin-bottom: 0;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-dark);
}

h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 0.95;
}

h2 {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.1;
}

h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.lead,
.section__heading p,
#tg-status,
.feature-card p,
.step-card p,
.trust-card p,
.topup-card p,
.faq-item p,
.plan-card p,
.card-showcase__body p,
.site-footer__text {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--mint));
    color: #fff;
    box-shadow: 0 18px 38px rgba(45, 116, 231, 0.22);
}

.button--ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.62);
}

.button--compact {
    min-height: 44px;
    padding: 0 18px;
}

.hero__points {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero__points li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.hero__points li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.hero__meta {
    margin: 18px 0 0;
    color: var(--accent-dark);
    font-weight: 700;
}

.hero-mockup {
    position: relative;
    min-height: 520px;
    padding: 18px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(145deg, #0f3878 0%, #2368da 48%, #39d3c5 100%);
    overflow: hidden;
}

.hero-mockup__card {
    position: absolute;
    top: 24px;
    left: 24px;
    width: min(100%, 360px);
    padding: 22px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #071b42, #1856c9 58%, #33d5c4 100%);
    box-shadow: 0 26px 56px rgba(7, 33, 84, 0.28);
}

.hero-mockup__card-top,
.hero-mockup__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hero-mockup__card-top strong {
    font-size: 22px;
}

.hero-mockup__card-number {
    margin: 44px 0 32px;
    font-size: clamp(22px, 4vw, 30px);
    letter-spacing: 0.08em;
    font-family: "Space Grotesk", sans-serif;
}

.hero-mockup__phone {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(100%, 320px);
    padding: 14px;
    border-radius: 34px;
    background: #0f1726;
    box-shadow: 0 30px 60px rgba(5, 21, 58, 0.35);
}

.hero-mockup__phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.hero-mockup__screen {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(45, 116, 231, 0.24), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #e9f5ff 100%);
}

.hero-mockup__balance {
    padding: 16px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #1856c9, #2d74e7, #33d5c4);
}

.hero-mockup__balance span,
.hero-mockup__card span,
.hero-mockup__card-meta span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-mockup__balance strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
    font-family: "Space Grotesk", sans-serif;
}

.hero-mockup__actions,
.hero-mockup__feed {
    display: grid;
    gap: 10px;
}

.hero-mockup__actions span,
.hero-mockup__feed div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.hero-mockup__feed div span {
    color: var(--accent-dark);
}

.card-showcase {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
        radial-gradient(circle at 10% 16%, rgba(92, 247, 232, 0.22), transparent 24%),
        linear-gradient(135deg, #0f3878 0%, #2368da 48%, #39d3c5 100%);
    color: #fff;
}

.card-showcase__top,
.card-showcase__stats,
.plans-grid,
.feature-grid,
.steps-grid,
.trust-grid,
.topup-grid,
.service-cloud,
.faq-list,
.profile-grid {
    display: grid;
    gap: 12px;
}

.card-showcase__top,
.card-showcase__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-showcase__badge,
.card-showcase__meta {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.card-showcase__body {
    margin: auto 0 28px;
}

.card-showcase__logo-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.card-showcase__logo {
    width: min(100%, 360px);
    height: auto;
    padding: 10px 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 54px rgba(7, 33, 84, 0.18);
}

.card-showcase__label {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.card-showcase__stats div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.card-showcase__stats strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}

.card-showcase__stats span {
    color: rgba(255, 255, 255, 0.72);
}

.promo-band,
.cta-banner {
    padding: 22px 26px;
    margin-top: 28px;
}

.promo-band p,
.promo-band a {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.promo-band a {
    color: var(--accent-dark);
}

.plans-grid,
.feature-grid,
.steps-grid,
.faq-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
}

.topup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card,
.feature-card,
.step-card,
.trust-card,
.topup-card,
.faq-item {
    padding: 24px;
}

.plan-card__price {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 22px;
    font-weight: 800;
}

.plan-card__list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.plan-card__list li {
    position: relative;
    padding-left: 18px;
    color: var(--text);
    font-weight: 700;
}

.plan-card__list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--mint));
}

.plan-card__limit {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.plan-card__tag,
.step-card span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-card a {
    color: var(--accent-dark);
    font-weight: 800;
}

.trust-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 36px;
    font-family: "Space Grotesk", sans-serif;
}

.trust-card--quote {
    background:
        radial-gradient(circle at top right, rgba(45, 116, 231, 0.12), transparent 28%),
        rgba(255, 255, 255, 0.9);
}

.trust-card--quote p {
    margin-top: 0;
}

.topup-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.topup-card__meta div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.topup-card__meta span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
}

.topup-card__meta strong {
    font-size: 20px;
}

.service-cloud {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-cloud span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 14px 16px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 250, 243, 0.9);
    border: 1px solid var(--line);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(45, 116, 231, 0.08);
}

.site-footer {
    padding: 30px 4px 12px;
}

.brand--footer {
    margin: 0 0 10px;
}

.site-footer__text {
    margin: 0;
    font-size: 16px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.webapp-shell {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
}

.profile-grid__item {
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
}

.profile-grid__item span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.profile-grid__item strong {
    font-size: 18px;
}

@media (max-width: 900px) {
    .landing-page,
    .webapp-page {
        padding: 16px;
    }

    .site-header,
    .site-footer,
    .promo-band,
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header {
        position: static;
    }

    .brand__logo {
        width: min(280px, 70vw);
    }

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

    .hero__content,
    .webapp-card {
        padding: 32px 24px;
    }

    .hero-mockup {
        min-height: 620px;
    }

    .hero-mockup__card {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .hero-mockup__phone {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 18px;
    }

    .plans-grid,
    .feature-grid,
    .steps-grid,
    .trust-grid,
    .topup-grid,
    .faq-list,
    .service-cloud,
    .card-showcase__top,
    .card-showcase__stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: clamp(36px, 12vw, 58px);
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .plans-grid,
    .feature-grid,
    .steps-grid,
    .trust-grid,
    .topup-grid,
    .faq-list,
    .service-cloud,
    .card-showcase__top,
    .card-showcase__stats,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .topup-card__meta {
        grid-template-columns: 1fr;
    }

    .app-topbar {
        flex-direction: row;
        align-items: center;
    }
}

.hero--refined {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.hero__content--refined {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-points,
.hero-kpis,
.plan-card__chips,
.hero-list,
.flow-grid,
.insight-grid {
    display: grid;
    gap: 12px;
}

.hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.hero-points span,
.plan-card__chips span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.hero-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.hero-kpis div,
.insight-card,
.flow-card {
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.hero-kpis strong,
.insight-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.hero-kpis span {
    color: var(--muted);
    line-height: 1.5;
}

.hero__panel--refined {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-stack {
    display: grid;
    gap: 18px;
    height: 100%;
}

.hero-card {
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-card--primary {
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #0b3171 0%, #2368da 52%, #39d3c5 100%);
}

.hero-card__top,
.hero-card__meta,
.hero-card__miniapp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-card__number {
    margin: 36px 0 22px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: 0.08em;
    font-family: "Space Grotesk", sans-serif;
}

.hero-card--primary span,
.hero-card__meta span,
.hero-card__label,
.hero-miniapp__balance span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card--primary span,
.hero-card__meta span {
    color: rgba(255, 255, 255, 0.76);
}

.hero-card--glass,
.hero-card--miniapp {
    padding: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
}

.hero-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.hero-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.5;
}

.hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--mint));
}

.hero-card__miniapp-top {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-miniapp {
    display: grid;
    gap: 12px;
}

.hero-miniapp__balance {
    padding: 18px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #1856c9, #2d74e7, #33d5c4);
}

.hero-miniapp__balance strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
    font-family: "Space Grotesk", sans-serif;
}

.hero-miniapp__feed {
    display: grid;
    gap: 10px;
}

.hero-miniapp__feed div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(223, 241, 255, 0.58);
    font-size: 14px;
}

.hero-miniapp__feed span {
    color: var(--accent-dark);
    font-weight: 800;
}

.section__heading--compact {
    max-width: 920px;
}

.service-cloud--refined {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.insight-card p,
.flow-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.insight-card--accent {
    background:
        radial-gradient(circle at top right, rgba(51, 213, 196, 0.14), transparent 28%),
        rgba(255, 255, 255, 0.78);
}

.plans-grid--refined {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.plans-grid--single {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
}

.plan-card--refined {
    display: grid;
    gap: 14px;
}

.plan-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.plan-card__chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card--featured {
    background:
        radial-gradient(circle at top right, rgba(45, 116, 231, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.88);
}

.topup-grid--refined {
    gap: 18px;
}

.topup-grid--dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.flow-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--mint));
    color: #fff;
    font-weight: 800;
}

.faq-list--refined {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-banner--refined h2 {
    max-width: 760px;
}

@media (max-width: 900px) {
    .hero--refined,
    .plans-grid--refined,
    .insight-grid,
    .flow-grid,
    .faq-list--refined,
    .service-cloud--refined {
        grid-template-columns: 1fr;
    }

    .hero-points,
    .hero-kpis,
    .plan-card__chips {
        grid-template-columns: 1fr;
    }
}

.webapp-page {
    padding: 0;
    min-height: 100vh;
}

.webapp-shell--app {
    width: min(760px, 100%);
    min-height: 100vh;
    display: block;
    padding: 8px 8px 104px;
}

.app-layout {
    display: grid;
    gap: 10px;
}

.app-topbar,
.app-status,
.surface-card,
.info-action-card,
.detail-card,
.settings-item,
.sheet__panel,
.payment-form,
.virtual-card,
.method-card,
.card-chip,
.tariff-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(33, 98, 181, 0.1);
}

.app-topbar,
.app-status,
.surface-card,
.info-action-card,
.detail-card,
.settings-item,
.payment-form {
    padding: 20px;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 0;
    padding: 16px 18px;
    border-radius: 20px;
    min-height: 96px;
}

.app-topbar__main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.app-topbar__brand {
    display: flex;
    align-items: center;
}

.app-topbar__brand-button,
.app-user--button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.app-topbar__meta {
    display: grid;
    gap: 0;
    min-width: 0;
}

.app-topbar__logo {
    display: block;
    width: clamp(108px, 18vw, 144px);
    height: auto;
}

.app-title {
    margin: 0;
    font-size: clamp(14px, 1.9vw, 17px);
    line-height: 1.05;
}

.app-user {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
    min-width: 0;
    flex-shrink: 0;
    text-align: right;
}

.app-user strong {
    font-size: 18px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-user span {
    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-user--button {
    align-items: flex-end;
}

.muted-text {
    color: var(--muted);
}

.surface-card__kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.detail-grid span {
    font-size: 13px;
    color: var(--muted);
}

.history-item__card {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.history-item__main span,
.history-item__meta span,
.method-card span,
.field span {
    color: var(--muted);
}

.app-screen {
    display: none;
    gap: 16px;
}

.app-screen.is-active {
    display: grid;
}

.wallet-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(135deg, #0f3878 0%, #2368da 46%, #39d3c5 100%);
    box-shadow: var(--shadow);
}

.wallet-hero__label {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.72);
}

.wallet-hero__amount,
.money-large {
    font-size: 36px;
    line-height: 1;
    font-family: "Space Grotesk", sans-serif;
}

.dashboard-grid,
.info-card-grid,
.bonus-stats,
.bonus-levels,
.bonus-overview,
.bonus-steps,
.settings-groups,
.settings-list,
.cards-overview,
.detail-grid,
.payment-methods,
.tariff-list {
    display: grid;
    gap: 14px;
}

.dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card-summary {
    display: grid;
    gap: 10px;
    margin: 12px 0 16px;
}

.mini-card-summary strong {
    font-size: 24px;
}

.mini-card-summary__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-card-summary__chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(223, 241, 255, 0.9);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
}

.surface-card--interactive {
    position: relative;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.surface-card--interactive::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-dark);
    border-right: 2px solid var(--accent-dark);
    transform: rotate(45deg);
    opacity: 0.65;
}

.surface-card--interactive:hover,
.surface-card--interactive.is-active {
    border-color: rgba(45, 116, 231, 0.28);
    box-shadow: 0 24px 54px rgba(33, 98, 181, 0.12);
    transform: translateY(-1px);
}

.inline-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}

.info-action-card,
.settings-item,
.settings-profile,
.settings-promo,
.settings-group,
.bonus-hero,
.bonus-level,
.bonus-cta,
.section-row,
.sheet__header,
.virtual-card__top,
.virtual-card__meta,
.history-item,
.payment-summary div,
.bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.info-action-card p,
.settings-item p,
.settings-profile p,
.settings-promo p,
.bonus-hero p,
.bonus-cta p,
.muted-text--small {
    margin: 6px 0 0;
    line-height: 1.5;
}

.settings-groups,
.bonus-levels {
    gap: 16px;
}

.settings-group {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(33, 98, 181, 0.08);
}

.settings-group__title {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.settings-profile,
.settings-promo,
.bonus-hero,
.bonus-cta {
    padding: 20px;
}

.settings-profile,
.settings-promo,
.bonus-hero,
.bonus-cta,
.bonus-level {
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(33, 98, 181, 0.1);
}

.settings-profile,
.settings-promo,
.bonus-cta {
    background: rgba(255, 255, 255, 0.9);
}

.settings-profile__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.settings-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0d3773, #2368d8 56%, #39d3c5 100%);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.settings-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.settings-option {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--text);
}

.settings-option.is-active {
    border-color: rgba(45, 116, 231, 0.34);
    background: rgba(223, 241, 255, 0.9);
    color: var(--accent-dark);
}

.settings-item--stacked {
    align-items: flex-start;
    flex-direction: column;
}

.settings-item--pin {
    width: 100%;
    cursor: pointer;
}

.settings-item--pin > div {
    flex: 1 1 auto;
}

.settings-item--pin .inline-link {
    margin-left: auto;
}

.bonus-hero {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #0d3773 0%, #2368d8 44%, #39d3c5 100%);
    color: #fff;
}

.bonus-hero p,
.bonus-hero .inline-link {
    color: rgba(255, 255, 255, 0.8);
}

.bonus-level {
    display: grid;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.88);
}

.bonus-level--current {
    background: linear-gradient(180deg, rgba(223, 241, 255, 0.82), rgba(255, 255, 255, 0.94));
}

.bonus-level--accent {
    background:
        radial-gradient(circle at top right, rgba(45, 116, 231, 0.16), transparent 35%),
        rgba(255, 255, 255, 0.92);
}

.bonus-level__top,
.bonus-level__progress,
.bonus-level__grid {
    display: grid;
    gap: 10px;
}

.bonus-level__badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
}

.bonus-level__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(31, 23, 17, 0.08);
    overflow: hidden;
}

.bonus-level__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--mint));
}

.bonus-level__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bonus-level__grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
}

.bonus-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bonus-empty {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--muted);
}

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

.bonus-step {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--line);
}

.bonus-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 800;
}

body[data-theme="dark"] {
    --bg: #edf9fb;
    --bg-strong: #dff3f7;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-strong: #fffdfa;
    --text: #16354c;
    --muted: #587182;
    --accent: #2d74e7;
    --accent-dark: #1856c9;
    --accent-soft: #dff1ff;
    --mint: #33d5c4;
    --line: rgba(26, 77, 122, 0.12);
    --shadow: 0 24px 80px rgba(44, 105, 185, 0.16);
}

body[data-theme="dark"] {
    background:
        radial-gradient(circle at top left, rgba(45, 116, 231, 0.2), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(51, 213, 196, 0.16), transparent 22%),
        radial-gradient(circle at 60% 76%, rgba(107, 198, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #f7feff 0%, #eefbff 30%, #e3f4fb 100%);
}

body[data-theme="dark"] .app-topbar,
body[data-theme="dark"] .app-status,
body[data-theme="dark"] .surface-card,
body[data-theme="dark"] .info-action-card,
body[data-theme="dark"] .detail-card,
body[data-theme="dark"] .settings-item,
body[data-theme="dark"] .sheet__panel,
body[data-theme="dark"] .payment-form,
body[data-theme="dark"] .method-card,
body[data-theme="dark"] .card-chip,
body[data-theme="dark"] .tariff-card,
body[data-theme="dark"] .settings-profile,
body[data-theme="dark"] .settings-promo,
body[data-theme="dark"] .settings-group,
body[data-theme="dark"] .bonus-level,
body[data-theme="dark"] .bonus-cta,
body[data-theme="dark"] .bottom-nav,
body[data-theme="dark"] .field input,
body[data-theme="dark"] .field select,
body[data-theme="dark"] .bonus-empty,
body[data-theme="dark"] .bonus-step {
    background-color: rgba(255, 255, 255, 0.9);
}

body[data-theme="dark"] .settings-option,
body[data-theme="dark"] .tab-switcher__button {
    background: rgba(255, 255, 255, 0.68);
}

.cards-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-chip,
.method-card {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 16px 18px;
    text-align: left;
    cursor: pointer;
}

.card-chip__tier {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.card-chip__number {
    font-size: 20px;
    color: var(--text);
}

.card-chip__balance {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
}

.cards-empty-state {
    display: grid;
    gap: 8px;
}

.cards-empty-state strong {
    font-size: 20px;
}

.card-chip.is-active,
.method-card.is-active,
.tab-switcher__button.is-active,
.bottom-nav__item.is-active {
    border-color: rgba(45, 116, 231, 0.34);
    background: rgba(223, 241, 255, 0.9);
}

.virtual-card {
    padding: 24px;
    min-height: 220px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
        radial-gradient(circle at 12% 18%, rgba(88, 234, 221, 0.18), transparent 26%),
        linear-gradient(140deg, #0d3773 0%, #2368d8 44%, #39d3c5 100%);
}

.virtual-card__label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.virtual-card__number {
    margin: 52px 0 28px;
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: 0.08em;
    font-family: "Space Grotesk", sans-serif;
}

.virtual-card__meta div,
.payment-summary,
.history-feed,
.bullet-stack {
    display: grid;
    gap: 6px;
}

.virtual-card__meta span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    text-transform: uppercase;
}

.card-info-panel {
    display: grid;
    gap: 18px;
}

.card-info-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.actions--compact {
    margin-top: 0;
}

.tab-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-switcher__button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    font-weight: 700;
}

.card-tab {
    display: none;
}

.card-tab.is-active {
    display: block;
}

.history-date {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 800;
}

.history-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}

.history-item:last-child {
    border-bottom: 0;
}

.history-item__main,
.history-item__meta {
    display: grid;
    gap: 4px;
}

.history-item__meta {
    text-align: right;
    min-width: 120px;
}

.settings-links-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.settings-links-block__link {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    text-decoration: none;
    box-sizing: border-box;
}

.settings-links-block__link strong {
    font-size: 16px;
    line-height: 1.35;
}

.settings-links-block__link span {
    color: var(--muted);
    line-height: 1.5;
}

.positive {
    color: #177a3f;
}

.negative {
    color: #b53c2f;
}

.promo-code {
    font-size: 26px;
    font-family: "Space Grotesk", sans-serif;
}

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

.tx-summary-card {
    padding: 20px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 255, 0.9));
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(33, 98, 181, 0.08);
}

.tx-summary-card--deposit {
    background: linear-gradient(145deg, rgba(223, 241, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.tx-summary-card__label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.tx-summary-card__value {
    font-size: 26px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text);
}

.tx-period-label {
    margin: 14px 0 10px;
    font-size: 13px;
}

.field--compact {
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 36px rgba(33, 98, 181, 0.06);
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid strong {
    display: block;
    margin-top: 4px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 20;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: min(760px, calc(100vw - 24px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 48px rgba(39, 93, 166, 0.12);
}

.bottom-nav__item {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    color: var(--muted);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bottom-nav__item:hover {
    transform: translateY(-1px);
}

.bottom-nav__icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.95;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav__item.is-active {
    color: var(--accent-dark);
    border-color: rgba(45, 116, 231, 0.18);
    background: rgba(223, 241, 255, 0.88);
}

.sheet {
    position: fixed;
    inset: 0;
    z-index: 30;
}

.sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 13, 10, 0.38);
}

.sheet__panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(760px, 100%);
    max-height: 88vh;
    overflow: auto;
    transform: translateX(-50%);
    padding: 18px 18px 28px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.sheet__close {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font-weight: 800;
}

.tariff-card {
    padding: 20px;
}

.tariff-card__label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
}

.tariff-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.tariff-card--single {
    max-width: 100%;
}

.tariff-card__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.field {
    display: grid;
    gap: 8px;
}

.field input,
.field select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fffdfa;
    font: inherit;
}

.transactions-filter {
    margin-top: 12px;
}

.transactions-filter span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.transactions-filter select {
    min-height: 54px;
    padding: 0 46px 0 16px;
    border-radius: 18px;
    border-color: rgba(26, 77, 122, 0.16);
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 10px 24px rgba(33, 98, 181, 0.06);
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #1856c9 50%),
        linear-gradient(135deg, #1856c9 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 23px,
        calc(100% - 16px) 23px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.transactions-filter select:focus {
    outline: none;
    border-color: rgba(45, 116, 231, 0.45);
    box-shadow: 0 0 0 4px rgba(45, 116, 231, 0.12);
}

.payment-form {
    display: grid;
    gap: 16px;
}

.section-row--center {
    justify-content: center;
    text-align: center;
}

.topup-page-card {
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 32px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(39, 93, 166, 0.08);
}

.topup-page-card__balance {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    text-align: center;
}

.topup-page-card__balance span {
    color: var(--muted);
    font-size: 14px;
}

.topup-page-card__balance strong {
    font-size: 36px;
    font-family: "Space Grotesk", sans-serif;
}

.payment-form--simple {
    gap: 18px;
}

.payment-form--simple .field {
    gap: 10px;
}

.payment-form--simple .field span {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    text-align: left;
}

.payment-form--simple .field input,
.payment-form--simple .field select {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(26, 77, 122, 0.16);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(22, 53, 76, 0.04);
    font-size: 16px;
    color: var(--text);
    appearance: none;
}

.payment-form--simple .field input:focus,
.payment-form--simple .field select:focus {
    outline: none;
    border-color: rgba(45, 116, 231, 0.45);
    box-shadow: 0 0 0 4px rgba(45, 116, 231, 0.12);
}

.actions--single .button {
    width: 100%;
    min-height: 58px;
}

.pin-feedback {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.pin-feedback--info {
    background: rgba(45, 116, 231, 0.08);
    color: var(--accent-dark);
}

.pin-feedback--success {
    background: rgba(34, 139, 34, 0.12);
    color: #1e6a2a;
}

.pin-feedback--error {
    background: rgba(181, 60, 47, 0.12);
    color: #9f2e24;
}

.payment-summary {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
}

@media (max-width: 900px) {
    .webapp-shell--app {
        padding: 8px 8px 92px;
    }

    .wallet-hero,
    .info-action-card,
    .settings-item,
    .settings-profile,
    .settings-promo,
    .bonus-hero,
    .bonus-cta,
    .sheet__header,
    .tariff-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-grid,
    .bonus-stats,
    .bonus-overview,
    .cards-overview,
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .topup-page-card {
        padding: 24px 18px;
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .app-topbar {
        padding: 14px 16px;
        gap: 12px;
        min-height: 84px;
    }

    .app-topbar__main {
        gap: 12px;
    }

    .app-topbar__logo {
        width: 96px;
    }

    .app-user strong {
        font-size: 15px;
    }

    .app-user span {
        font-size: 13px;
    }

    .wallet-hero__amount,
    .money-large {
        font-size: 30px;
    }

    .virtual-card__number {
        letter-spacing: 0.03em;
    }

    .bottom-nav {
        width: calc(100vw - 16px);
        bottom: 8px;
        padding: 8px;
        gap: 8px;
    }

    .bottom-nav__item {
        min-height: 48px;
        font-size: 12px;
    }

    .sheet__panel {
        width: 100%;
        padding: 16px 16px 26px;
    }

    .history-item {
        flex-direction: column;
    }

    .history-item__meta {
        text-align: left;
        min-width: 0;
    }

    .settings-options {
        width: 100%;
    }

    .settings-option {
        flex: 1;
    }
}

.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;
}

.app-layout--support-active .app-topbar {
    display: none;
}

.app-layout--support-active {
    gap: 0;
    min-height: min(88vh, 720px);
}

/* Выше специфичность, чем у .app-screen.is-active { display: grid } */
.app-screen.support-screen.is-active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-self: stretch;
    gap: 0;
    min-height: min(72vh, 560px);
    width: 100%;
}

.support-screen {
    padding: 0 !important;
}

.support-chat {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(39, 93, 166, 0.08);
}

.support-chat__head {
    flex-shrink: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.support-chat__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-chat__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1856c9, #2d74e7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
}

.support-chat__titles strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
}

.support-chat__titles span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--muted);
}

.support-chat__scroll {
    flex: 1 1 auto;
    min-height: 160px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 8px;
}

.support-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.support-chat__empty {
    text-align: center;
    padding: 28px 12px 16px;
}

.support-day-pill {
    align-self: center;
    padding: 5px 14px;
    border-radius: 10px;
    background: rgba(45, 116, 231, 0.12);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
}

.support-chat__hint {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.support-bubble {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.45;
    font-size: 14px;
    word-break: break-word;
}

.support-bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, #1856c9, #2d74e7);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.support-bubble--support {
    align-self: flex-start;
    background: #eef2f7;
    color: var(--text);
    border-bottom-left-radius: 6px;
}

.support-bubble__text + .support-bubble__attach,
.support-bubble__attach {
    margin-top: 8px;
}

.support-bubble__attach a {
    font-weight: 700;
    text-decoration: underline;
}

.support-bubble--user .support-bubble__attach a {
    color: #fff;
}

.support-bubble--support .support-bubble__attach a {
    color: var(--accent-dark);
}

.support-bubble__time {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.75;
}

.support-chat__composer {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 10px 12px;
    border-top: 1px solid var(--line);
    background: #f4f7fb;
}

.support-chat__attach,
.support-chat__send {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--accent-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.support-chat__send {
    background: #e4e9f0;
    color: #3d4f5f;
}

.support-chat__send:hover,
.support-chat__attach:hover {
    filter: brightness(0.97);
}

.support-chat__field {
    flex: 1;
    min-width: 0;
}

.support-chat__input {
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    resize: none;
    padding: 11px 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    font: inherit;
    background: #fff;
}

body[data-theme="dark"] .support-chat {
    background: rgba(22, 36, 48, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .support-chat__head {
    background: rgba(22, 36, 48, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .support-bubble--support {
    background: rgba(255, 255, 255, 0.08);
    color: #e8f0f8;
}

body[data-theme="dark"] .support-chat__composer {
    background: rgba(12, 22, 32, 0.9);
}

body[data-theme="dark"] .support-chat__input {
    background: rgba(255, 255, 255, 0.06);
    color: #e8f0f8;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Landing refresh */

.landing-page {
    background:
        radial-gradient(circle at 10% 10%, rgba(53, 120, 255, 0.16), transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(18, 213, 183, 0.14), transparent 20%),
        radial-gradient(circle at 82% 86%, rgba(28, 92, 255, 0.12), transparent 22%),
        linear-gradient(180deg, #fcfeff 0%, #f3f8ff 42%, #ecf4ff 100%);
}

.landing-shell--flow {
    width: min(1240px, 100%);
}

.site-header--flow {
    position: sticky;
    top: 18px;
    z-index: 20;
    margin-bottom: 36px;
    padding: 16px 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(19, 54, 111, 0.1);
    box-shadow: 0 24px 60px rgba(46, 80, 152, 0.1);
}

.site-header--flow .brand,
.site-header__actions,
.site-nav--flow {
    min-width: 0;
}

.site-nav--flow {
    flex: 1 1 320px;
    justify-content: center;
    gap: 20px;
}

.site-nav--flow a {
    position: relative;
    color: #4f6481;
    font-size: 15px;
}

.site-nav--flow a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, #2d74e7, #33d5c4);
    transition: transform 0.2s ease;
}

.site-nav--flow a:hover::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
    gap: 10px;
}

.flow-landing {
    display: grid;
    gap: 28px;
}

.flow-hero,
.flow-section,
.flow-cta {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(25, 62, 125, 0.1);
    border-radius: 34px;
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 90px rgba(48, 90, 166, 0.12);
}

.flow-hero::before,
.flow-section::before,
.flow-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(55, 113, 239, 0.1), transparent 26%),
        radial-gradient(circle at left bottom, rgba(51, 213, 196, 0.08), transparent 24%);
    pointer-events: none;
}

.flow-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    padding: 44px;
}

.flow-hero__copy,
.flow-hero__visual,
.flow-section__heading,
.flow-steps,
.flow-side-panel,
.flow-cta > div {
    position: relative;
    z-index: 1;
}

.flow-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(45, 116, 231, 0.14), rgba(51, 213, 196, 0.12));
    color: #1c4bb5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-hero h1 {
    margin-top: 18px;
    max-width: 11.5ch;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.flow-lead {
    max-width: 640px;
    margin: 20px 0 0;
    color: #5a6f8f;
    font-size: 19px;
    line-height: 1.7;
}

.flow-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.flow-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.flow-metrics__item {
    padding: 18px;
    border-radius: 24px;
    background: rgba(246, 250, 255, 0.95);
    border: 1px solid rgba(32, 70, 128, 0.08);
}

.flow-metrics__item strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    color: #102f72;
}

.flow-metrics__item span {
    display: block;
    color: #60758f;
    line-height: 1.5;
}

.flow-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.flow-proof span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(21, 59, 120, 0.08);
    color: #375071;
    font-weight: 700;
}

.flow-hero__visual {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 620px;
}

.flow-card-hero,
.flow-phone,
.flow-float {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 28px 60px rgba(13, 42, 90, 0.16);
}

.flow-card-hero {
    padding: 28px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, #07193e 0%, #174bb1 52%, #2ee3c5 100%);
    transform: rotate(-6deg);
}

.flow-card-hero__top,
.flow-card-hero__meta,
.flow-phone__top,
.flow-phone__list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.flow-card-hero__top span,
.flow-card-hero__meta span {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.flow-card-hero__top strong {
    font-size: 24px;
}

.flow-card-hero__number {
    margin: 42px 0 28px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: 0.1em;
}

.flow-card-hero__meta strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
}

.flow-phone {
    width: min(340px, 92%);
    margin-left: auto;
    padding: 14px;
    background: #0d1627;
    transform: translateY(-36px);
}

.flow-phone__top {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flow-phone__body {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(61, 115, 237, 0.24), transparent 26%),
        linear-gradient(180deg, #f9fcff 0%, #ecf5ff 100%);
}

.flow-phone__balance {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1241a1, #2d74e7 55%, #3ce0cf 100%);
    color: #fff;
}

.flow-phone__balance span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.flow-phone__balance strong {
    display: block;
    margin-top: 8px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
}

.flow-phone__list {
    display: grid;
    gap: 10px;
}

.flow-phone__list div {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #17355f;
    font-size: 14px;
    font-weight: 700;
}

.flow-phone__list span {
    color: #245fd1;
}

.flow-float {
    width: fit-content;
    max-width: 280px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 48, 100, 0.08);
}

.flow-float span {
    display: block;
    margin-bottom: 6px;
    color: #6a7f98;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.flow-float strong {
    color: #163767;
    font-size: 20px;
}

.flow-float--limits {
    margin-left: 26px;
    transform: translateY(-42px);
}

.flow-float--fees {
    margin-left: auto;
    transform: translateY(-66px);
}

.flow-section {
    padding: 38px;
}

.flow-section--band {
    padding-bottom: 28px;
}

.flow-section__heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.flow-section__heading--compact {
    margin-bottom: 18px;
}

.flow-section__heading h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.flow-section__heading p:last-child {
    margin: 0;
    color: #647892;
    font-size: 18px;
    line-height: 1.65;
}

.flow-marquee {
    overflow: hidden;
    padding: 6px 0;
}

.flow-marquee__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: flow-marquee 34s linear infinite;
}

.flow-marquee--reverse .flow-marquee__track {
    animation-direction: reverse;
    animation-duration: 38s;
}

.flow-marquee span {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(248, 251, 255, 0.94);
    border: 1px solid rgba(27, 64, 119, 0.08);
    color: #193d70;
    font-weight: 800;
    white-space: nowrap;
}

.flow-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 14px;
}

.flow-feature {
    min-height: 220px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(250, 252, 255, 0.96);
    border: 1px solid rgba(23, 59, 113, 0.08);
}

.flow-feature--primary,
.flow-feature--accent,
.flow-feature--dark {
    position: relative;
    overflow: hidden;
}

.flow-feature--primary {
    background:
        radial-gradient(circle at top right, rgba(67, 224, 199, 0.18), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    grid-row: span 2;
}

.flow-feature--accent {
    background:
        radial-gradient(circle at top left, rgba(45, 116, 231, 0.16), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f2fbff 100%);
}

.flow-feature--dark {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(135deg, #08214f 0%, #184cae 52%, #1fcbb0 100%);
}

.flow-feature--dark p,
.flow-feature--dark .flow-feature__tag {
    color: rgba(255, 255, 255, 0.82);
}

.flow-feature__tag {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(45, 116, 231, 0.1);
    color: #1e51b4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-feature h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.flow-feature p {
    margin: 0;
    color: #617791;
    font-size: 17px;
    line-height: 1.65;
}

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

.flow-plan {
    padding: 28px;
    border-radius: 30px;
    background: rgba(249, 252, 255, 0.96);
    border: 1px solid rgba(19, 58, 112, 0.08);
    box-shadow: 0 18px 44px rgba(54, 92, 164, 0.08);
}

.flow-plan--featured {
    background:
        radial-gradient(circle at top right, rgba(62, 221, 204, 0.18), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f3faff 100%);
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(39, 87, 176, 0.14);
}

.flow-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.flow-plan__label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(45, 116, 231, 0.1);
    color: #1d4ca8;
    font-size: 13px;
    font-weight: 800;
}

.flow-plan__head strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    color: #143870;
}

.flow-plan h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.flow-plan p {
    margin: 0;
    color: #617791;
    line-height: 1.65;
}

.flow-plan__list {
    display: grid;
    gap: 12px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.flow-plan__list li {
    position: relative;
    padding-left: 22px;
    color: #1e3858;
    font-weight: 700;
}

.flow-plan__list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d74e7, #33d5c4);
}

.flow-plan a {
    color: #1f57be;
    font-weight: 800;
}

.flow-section--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
}

.flow-steps {
    display: grid;
    gap: 12px;
}

.flow-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(250, 252, 255, 0.96);
    border: 1px solid rgba(23, 58, 112, 0.08);
}

.flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1948aa, #2d74e7 58%, #33d5c4 100%);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
}

.flow-step strong {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
}

.flow-step p {
    margin: 0;
    color: #64788f;
    line-height: 1.6;
}

.flow-side-panel {
    padding: 28px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(155deg, #071a43 0%, #123d95 48%, #1ad0b0 100%);
}

.flow-side-panel__header {
    margin-bottom: 20px;
}

.flow-side-panel__header span {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.74);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.flow-side-panel__header strong {
    display: block;
    font-size: 30px;
    line-height: 1.1;
}

.flow-side-panel__grid {
    display: grid;
    gap: 12px;
}

.flow-side-panel__grid article {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.flow-side-panel__grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.flow-side-panel__grid strong {
    font-size: 18px;
}

.flow-faq {
    display: grid;
    gap: 12px;
}

.flow-faq__item {
    position: relative;
    padding: 0 24px;
    border-radius: 26px;
    background: rgba(249, 252, 255, 0.96);
    border: 1px solid rgba(22, 56, 109, 0.08);
}

.flow-faq__item summary {
    position: relative;
    padding: 24px 48px 24px 0;
    list-style: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
}

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

.flow-faq__item summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 116, 231, 0.1);
    color: #1f53b7;
    font-size: 22px;
    font-weight: 700;
}

.flow-faq__item[open] summary::after {
    content: "−";
}

.flow-faq__item p {
    margin: 0;
    padding: 0 0 24px;
    color: #637892;
    line-height: 1.7;
    max-width: 920px;
}

.flow-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 34px;
}

.flow-cta h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.flow-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer--flow {
    margin-top: 28px;
    padding: 22px 26px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(21, 59, 120, 0.08);
    box-shadow: 0 24px 60px rgba(48, 90, 166, 0.08);
}

.site-footer--flow .site-footer__text {
    max-width: 560px;
}

.flow-hero,
.flow-section,
.flow-cta,
.site-footer--flow {
    animation: flow-rise 0.7s ease both;
}

.flow-section:nth-of-type(2) {
    animation-delay: 0.08s;
}

.flow-section:nth-of-type(3) {
    animation-delay: 0.14s;
}

.flow-section:nth-of-type(4) {
    animation-delay: 0.2s;
}

.flow-section:nth-of-type(5) {
    animation-delay: 0.26s;
}

.flow-cta {
    animation-delay: 0.32s;
}

@keyframes flow-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flow-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.simple-landing {
    display: grid;
    gap: 24px;
}

.simple-hero,
.simple-section,
.simple-cta {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(25, 62, 125, 0.1);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(48, 90, 166, 0.08);
}

.simple-hero,
.simple-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    padding: 40px;
}

.simple-section {
    padding: 34px;
}

.simple-hero h1 {
    margin: 18px 0 0;
    max-width: 12ch;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.simple-lead,
.simple-step p,
.simple-feature p,
.simple-plan p,
.simple-faq__item p,
.simple-summary li {
    color: #617791;
    font-size: 17px;
    line-height: 1.65;
}

.simple-lead {
    max-width: 640px;
    margin: 18px 0 0;
}

.simple-hero__actions,
.simple-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.simple-points,
.simple-grid,
.simple-plans,
.simple-steps {
    display: grid;
    gap: 14px;
}

.simple-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.simple-points article,
.simple-feature,
.simple-plan,
.simple-step,
.simple-summary,
.simple-card,
.simple-faq__item {
    background: rgba(248, 251, 255, 0.94);
    border: 1px solid rgba(27, 64, 119, 0.08);
    border-radius: 24px;
}

.simple-points article,
.simple-feature,
.simple-plan,
.simple-summary {
    padding: 22px;
}

.simple-points strong,
.simple-feature h3,
.simple-plan h3,
.simple-step strong,
.simple-summary h2 {
    display: block;
    margin: 0 0 10px;
    font-size: 22px;
}

.simple-points span {
    color: #617791;
    line-height: 1.55;
}

.simple-hero__panel {
    display: grid;
    gap: 16px;
    align-content: start;
    min-width: 0;
}

.simple-card {
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #0b3171 0%, #2368da 52%, #39d3c5 100%);
    box-shadow: 0 20px 44px rgba(39, 87, 176, 0.16);
}

.simple-card__head,
.simple-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.simple-card__head span,
.simple-card__meta span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.simple-card__number {
    margin: 34px 0 24px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.simple-card__meta strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
}

.simple-summary h2,
.simple-section__heading h2,
.simple-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.simple-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.simple-section__heading {
    max-width: 740px;
    margin-bottom: 22px;
}

.simple-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-plan--featured {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    box-shadow: 0 16px 34px rgba(39, 87, 176, 0.1);
}

.simple-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.simple-plan__head span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(45, 116, 231, 0.1);
    color: #1d4ca8;
    font-size: 13px;
    font-weight: 800;
}

.simple-plan__head strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    color: #143870;
}

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

.simple-step {
    padding: 20px;
}

.simple-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1948aa, #2d74e7 58%, #33d5c4 100%);
    color: #fff;
    font-weight: 800;
}

.simple-step p,
.simple-feature p,
.simple-plan p {
    margin: 0;
}

.simple-faq {
    display: grid;
    gap: 12px;
}

.simple-faq__item {
    padding: 0 22px;
}

.simple-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 40px 22px 0;
    font-size: 20px;
    font-weight: 800;
    position: relative;
}

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

.simple-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 116, 231, 0.1);
    color: #1f53b7;
}

.simple-faq__item[open] summary::after {
    content: "−";
}

.simple-faq__item p {
    margin: 0;
    padding: 0 0 22px;
}

@media (max-width: 900px) {
    .site-header--flow {
        gap: 16px;
    }

    .site-nav--flow {
        flex-basis: 100%;
        justify-content: flex-start;
    }

    .site-header__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .simple-hero,
    .simple-cta,
    .simple-grid,
    .simple-plans,
    .simple-steps,
    .simple-points {
        grid-template-columns: 1fr;
    }

    .simple-hero,
    .simple-cta {
        padding: 28px 24px;
    }

    .simple-section {
        padding: 28px 24px;
    }

    .simple-hero h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .site-header--flow {
        padding: 16px;
    }

    .site-nav--flow,
    .site-header__actions {
        width: 100%;
    }

    .site-header__actions .button {
        width: 100%;
    }

    .simple-hero__actions,
    .simple-cta__actions {
        flex-direction: column;
    }

    .simple-points article,
    .simple-feature,
    .simple-plan,
    .simple-step,
    .simple-summary,
    .simple-card,
    .simple-faq__item {
        border-radius: 20px;
    }

    .simple-card {
        padding: 20px;
    }

    .simple-card__number {
        margin: 26px 0 20px;
        font-size: 22px;
        letter-spacing: 0.04em;
    }

    .simple-faq__item summary {
        font-size: 18px;
    }
}

@media (max-width: 1180px) {
    .simple-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .simple-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .simple-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .simple-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .site-header--flow {
        position: static;
    }

    .flow-hero,
    .flow-section--split {
        grid-template-columns: 1fr;
    }

    .flow-hero__visual {
        min-height: auto;
    }

    .flow-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .flow-plan--featured {
        transform: none;
    }

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

@media (max-width: 860px) {
    .landing-page {
        padding: 16px;
    }

    .site-header--flow {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav--flow,
    .site-header__actions {
        width: 100%;
    }

    .site-header__actions {
        flex-wrap: wrap;
    }

    .flow-hero,
    .flow-section,
    .flow-cta {
        padding: 24px;
        border-radius: 28px;
    }

    .flow-hero h1,
    .flow-section__heading h2,
    .flow-cta h2 {
        max-width: none;
        font-size: clamp(36px, 10vw, 56px);
    }

    .flow-metrics,
    .flow-feature-grid {
        grid-template-columns: 1fr;
    }

    .flow-phone {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .flow-card-hero {
        transform: none;
    }

    .flow-float--limits,
    .flow-float--fees {
        margin-left: 0;
        transform: none;
    }

    .flow-step {
        grid-template-columns: 56px 1fr;
    }

    .flow-step span {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 20px;
    }

    .flow-faq__item summary {
        font-size: 19px;
    }
}

@media (max-width: 560px) {
    .flow-badge,
    .flow-proof span,
    .flow-marquee span {
        font-size: 12px;
    }

    .flow-lead,
    .flow-section__heading p:last-child,
    .flow-feature p,
    .flow-plan p,
    .flow-faq__item p {
        font-size: 16px;
    }

    .flow-metrics__item strong,
    .flow-phone__balance strong,
    .flow-plan__head strong {
        font-size: 26px;
    }

    .flow-card-hero__number {
        font-size: 22px;
        letter-spacing: 0.08em;
    }

    .flow-card-hero,
    .flow-plan,
    .flow-feature,
    .flow-side-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .flow-cta__actions,
    .flow-hero__actions {
        width: 100%;
    }

    .flow-cta__actions .button,
    .flow-hero__actions .button {
        width: 100%;
    }
}

.webapp-page--cards {
    padding: 18px;
}

.cards-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
    min-height: calc(100vh - 36px);
    padding-bottom: 104px;
}

.cards-topbar,
.cards-summary-card,
.card-list-item,
.cards-empty-state,
.card-canvas,
.cards-frame,
.card-detail-side {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cards-topbar,
.cards-frame,
.cards-summary-card,
.card-list-item,
.cards-empty-state,
.card-canvas,
.card-detail-side {
    border-radius: 28px;
}

.cards-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
}

.cards-topbar__brand-wrap,
.cards-topbar__nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cards-topbar__logo {
    width: 132px;
    display: block;
}

.cards-topbar__link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
    border: 1px solid transparent;
}

.cards-topbar__link.is-active {
    color: var(--accent-dark);
    border-color: rgba(45, 116, 231, 0.24);
    background: rgba(223, 241, 255, 0.92);
}

.cards-user {
    display: grid;
    gap: 4px;
    min-width: 0;
    text-align: right;
}

.cards-user strong,
.cards-user span {
    overflow-wrap: anywhere;
}

.cards-frame {
    padding: 26px;
    display: grid;
    gap: 20px;
    min-width: 0;
}

.cards-page-head,
.cards-summary-grid,
.card-detail-grid,
.card-detail-sections,
.cards-list-grid {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.cards-page-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.cards-page-head--detail {
    align-items: center;
}

.cards-page-title {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 0.98;
}

.cards-page-copy {
    margin: 12px 0 0;
    max-width: 660px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.cards-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-summary-card {
    padding: 22px 24px;
    display: grid;
    gap: 8px;
}

.cards-summary-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.cards-summary-card strong {
    font-size: 34px;
    line-height: 1;
    font-family: "Space Grotesk", sans-serif;
}

.cards-list-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.card-list-item,
.cards-empty-state {
    padding: 22px;
}

.card-list-item {
    display: grid;
    gap: 8px;
    color: var(--text);
    min-width: 0;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card-list-item:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 116, 231, 0.28);
    background: rgba(255, 255, 255, 0.96);
}

.card-list-item__tier,
.card-list-item__cta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-list-item__number {
    font-size: 26px;
    line-height: 1.1;
    font-family: "Space Grotesk", sans-serif;
}

.card-list-item__balance {
    color: var(--accent-dark);
    font-size: 18px;
    font-weight: 800;
}

.cards-empty-state {
    display: grid;
    gap: 10px;
}

.cards-empty-state p {
    margin: 0;
    color: var(--muted);
}

.card-detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: start;
}

.card-detail-primary,
.card-detail-side {
    min-width: 0;
}

.card-canvas {
    padding: 28px;
    min-height: 260px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(88, 234, 221, 0.18), transparent 26%),
        linear-gradient(140deg, #0d3773 0%, #2368d8 44%, #39d3c5 100%);
}

.card-canvas__top,
.card-canvas__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.card-canvas__badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 800;
}

.card-canvas__balance {
    font-size: 24px;
    line-height: 1;
    font-family: "Space Grotesk", sans-serif;
}

.card-canvas__number {
    margin: 60px 0 28px;
    font-size: clamp(25px, 5vw, 36px);
    line-height: 1.08;
    letter-spacing: 0.06em;
    font-family: "Space Grotesk", sans-serif;
    overflow-wrap: anywhere;
}

.card-canvas__meta div {
    display: grid;
    gap: 6px;
}

.card-canvas__meta span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    text-transform: uppercase;
}

.card-detail-side {
    padding: 22px;
    display: grid;
    gap: 18px;
}

.card-topup-form {
    max-width: 520px;
}

.card-topup-balance-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(223, 241, 255, 0.6);
}

.card-topup-balance-line span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.card-topup-balance-line strong {
    font-size: 24px;
    line-height: 1;
    font-family: "Space Grotesk", sans-serif;
}

.card-topup-hint {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(45, 116, 231, 0.08);
    color: var(--accent-dark);
    font-size: 14px;
    line-height: 1.5;
}

.card-detail-sections {
    grid-template-columns: 1fr;
}

.detail-grid--safe > div,
.detail-grid--safe strong,
.detail-grid--safe span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tariff-card--page {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(39, 93, 166, 0.08);
}

.history-item--detail {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.actions--single-mobile {
    margin-top: 4px;
}

@media (max-width: 900px) {
    .cards-shell {
        min-height: calc(100vh - 20px);
    }

    .cards-topbar,
    .cards-page-head {
        flex-direction: column;
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .cards-topbar__brand-wrap {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .cards-user {
        text-align: left;
    }

    .cards-frame {
        padding: 20px;
    }

    .cards-summary-grid,
    .card-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .webapp-page--cards {
        padding: 10px;
    }

    .cards-frame {
        padding: 16px;
    }

    .cards-topbar {
        padding: 16px;
        border-radius: 22px;
    }

    .cards-topbar__nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .cards-topbar__link {
        flex: 1 1 0;
        justify-content: center;
    }

    .cards-page-title {
        font-size: 32px;
        line-height: 1.02;
    }

    .card-canvas,
    .card-list-item,
    .cards-empty-state,
    .cards-summary-card,
    .card-detail-side {
        border-radius: 22px;
    }

    .card-canvas {
        padding: 22px 18px;
    }

    .card-canvas__number {
        margin: 46px 0 24px;
        font-size: 24px;
        letter-spacing: 0.03em;
    }

    .actions--single-mobile .button {
        width: 100%;
    }

    .history-item--detail {
        flex-direction: column;
    }
}
