﻿:root {
    --bg: #050608;
    --bg-soft: #0a0d12;
    --bg-elevated: #11151b;
    --surface: rgba(18, 21, 27, 0.88);
    --surface-soft: rgba(255, 255, 255, 0.03);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f7fb;
    --text-soft: rgba(245, 247, 251, 0.72);
    --text-dim: rgba(245, 247, 251, 0.5);
    --accent: #4d8bff;
    --accent-strong: #77a7ff;
    --accent-deep: #0f2a55;
    --accent-glow: rgba(77, 139, 255, 0.35);
    --accent-soft: rgba(77, 139, 255, 0.14);
    --success: #a6f7d0;
    --danger: #ffb1bc;
    --warning: #f5c977;
    --warning-soft: rgba(245, 201, 119, 0.14);
    --shadow-xl: 0 38px 80px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 22px 50px rgba(3, 8, 20, 0.45);
    --shadow-glow: 0 28px 80px -20px rgba(77, 139, 255, 0.38);
    --radius-xs: 14px;
    --radius-sm: 18px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shell-max: 1180px;
    --shell-pad: clamp(20px, 4vw, 44px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    background:
        radial-gradient(900px 520px at 82% 8%, rgba(77, 139, 255, 0.18), transparent 70%),
        radial-gradient(700px 420px at 12% 20%, rgba(77, 139, 255, 0.1), transparent 70%),
        radial-gradient(800px 460px at 50% 108%, rgba(77, 139, 255, 0.08), transparent 70%),
        linear-gradient(180deg, #03050a 0%, #060810 40%, #040610 100%);
    color: var(--text);
    font-family: "Geist", "Inter", "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.005em;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.site-shell {
    width: 100%;
    max-width: var(--shell-max);
    margin: 0 auto;
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
}

.site-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    /* Promote to own layer so scroll doesn't re-composite glow on every frame */
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.72;
    will-change: transform;
}

.glow-a {
    width: 520px;
    height: 520px;
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.5), transparent 70%);
}

.glow-b {
    width: 420px;
    height: 420px;
    top: 40%;
    left: -140px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.26), transparent 70%);
}

.glow-c {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: 20%;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.22), transparent 70%);
}

.grid-mask {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    mask-image:
        radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.6), transparent 70%);
    -webkit-mask-image:
        radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.6), transparent 70%);
    opacity: 0.5;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header {
    position: sticky;
    top: 12px;
    z-index: 30;
    width: calc(100% - 24px);
    max-width: var(--shell-max);
    margin: 12px auto 0;
    border-radius: 999px;
    background: rgba(10, 12, 16, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 18px 40px rgba(3, 8, 20, 0.32);
}

.site-header .site-shell {
    padding-left: 18px;
    padding-right: 10px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 8px 8px 8px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark__logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.brand-mark__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* «Снимаем» белый фон JPG-логотипа на тёмной теме */
    mix-blend-mode: screen;
    filter: brightness(1.05) contrast(1.05);
}

.brand-mark__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-mark__text strong {
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-mark__text small {
    display: none;
}

.site-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 16px;
    border-radius: 24px;
    background: rgba(10, 12, 16, 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    color: var(--text-soft);
    font-family: "Geist", "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.site-nav a:hover {
    color: var(--text);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    min-width: 160px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

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

.button--primary {
    background: linear-gradient(180deg, #5c97ff 0%, #3f74f0 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 10px 30px rgba(63, 116, 240, 0.38);
}

.button--primary:hover {
    background: linear-gradient(180deg, #6ba1ff 0%, #4a7ff5 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 14px 38px rgba(63, 116, 240, 0.48);
}

.button--primary:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.22);
}

.button--soft {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.button--soft:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

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

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.button--block {
    width: 100%;
}

.button--compact {
    min-height: 40px;
    min-width: 0;
    padding: 0 16px;
    font-size: 0.88rem;
}

.flash {
    padding-top: 14px;
}

.flash__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 22px;
    background: rgba(10, 12, 16, 0.82);
}

.flash--success .flash__inner {
    border-color: rgba(166, 247, 208, 0.22);
}

.flash--error .flash__inner {
    border-color: rgba(255, 177, 188, 0.24);
}

.hero-section {
    padding: 40px 0 20px;
}

.hero-grid,
.auth-layout {
    display: grid;
    gap: 20px;
}

.hero-copy,
.metric-card,
.service-chip,
.step-card,
.platform-card,
.pricing-card,
.advantage-card,
.faq-item,
.other-service-card,
.stage-panel,
.stage-callout,
.stage-stat {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-copy h1,
.section-head h2 {
    margin: 0;
    font-family: "Geist Sans", "Inter", sans-serif;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.auth-card h2 {
    margin: 0;
    font-family: "Geist Sans", "Inter", sans-serif;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    display: grid;
    gap: 12px;
    font-size: clamp(3rem, 9.2vw, 6.2rem);
}

.hero-copy h1 span {
    color: rgba(255, 255, 255, 0.92);
}

.hero-copy h1 strong {
    color: var(--text);
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.lead-text,
.section-head p,
.hero-copy p,
.other-service-card p {
    color: var(--text-soft);
    font-size: 1rem;
}

.hero-copy {
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-inline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inline strong,
.stage-callout strong,
.platform-card strong,
.other-service-card strong {
    display: block;
    margin: 0;
    font-family: "Geist Sans", "Inter", sans-serif;
}

.hero-inline p {
    margin: 6px 0 0;
    color: var(--text-soft);
}

.hero-inline a {
    color: var(--accent-strong);
}

.hero-inline__mark {
    display: grid;
    place-items: center;
    width: 58px;
    aspect-ratio: 1;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #dfe7ee);
    color: #0a0d12;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-inline__mark--small {
    width: 46px;
    border-radius: 15px;
}

.hero-metrics,
.service-grid,
.steps-grid,
.pricing-grid,
.advantage-grid,
.platform-grid,
.other-services-grid {
    display: grid;
    gap: 14px;
}

.metric-card,
.service-chip,
.step-card,
.platform-card,
.pricing-card,
.advantage-card,
.other-service-card,
.faq-item {
    border-radius: var(--radius-md);
    padding: 22px;
}

.metric-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.metric-card strong {
    display: block;
    font-size: 1.3rem;
    font-family: "Geist Sans", "Inter", sans-serif;
}

.metric-card span {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.hero-stage {
    position: relative;
    display: grid;
    gap: 14px;
}

.hero-stage__grid {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background-image:
        linear-gradient(rgba(125, 217, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 217, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 100%);
    pointer-events: none;
}

.stage-panel,
.stage-callout,
.stage-stat {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 16, 21, 0.94), rgba(8, 10, 14, 0.96));
}

.stage-panel {
    padding: 20px;
}

.stage-panel--tilted {
    transform: rotate(-4deg);
}

.stage-panel--flat {
    transform: rotate(2.5deg);
}

.stage-callout,
.stage-stat {
    padding: 18px 20px;
}

.stage-callout span,
.stage-stat span {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.stage-callout p,
.stage-stat p {
    margin: 8px 0 0;
    color: var(--text-soft);
}

.stage-stat--secondary {
    background: linear-gradient(180deg, rgba(125, 217, 255, 0.1), rgba(8, 10, 14, 0.94));
}

.phone-mockup {
    position: relative;
    width: min(100%, 340px);
    margin: 0 auto;
    padding: 14px;
    border-radius: 38px;
    background: linear-gradient(180deg, #11151a, #06080b);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.phone-mockup__camera {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 34%;
    height: 18px;
    border-radius: 999px;
    background: #020304;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-screen {
    position: relative;
    min-height: 570px;
    padding: 18px;
    border-radius: 28px;
    overflow: hidden;
}

.phone-screen--setup,
.phone-screen--live {
    background:
        radial-gradient(circle at 30% 20%, rgba(125, 217, 255, 0.12), transparent 25%),
        linear-gradient(180deg, #0a1631 0%, #0a1230 50%, #081024 100%);
}

.phone-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 15%, rgba(255, 255, 255, 0.04), transparent 26%),
        radial-gradient(circle at 20% 76%, rgba(125, 217, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.phone-screen__status,
.phone-screen__toolbar,
.phone-screen__hint,
.phone-screen__actions,
.server-ticket,
.phone-screen__description {
    position: relative;
    z-index: 1;
}

.phone-screen__status,
.phone-screen__toolbar,
.phone-screen__hint,
.phone-screen__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-screen__status {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.phone-screen__toolbar {
    margin-top: 14px;
    font-size: 1.2rem;
}

.toolbar-ghost {
    color: rgba(255, 255, 255, 0.92);
}

.power-core {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 212px;
    height: 212px;
    margin: 48px auto 28px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(125, 217, 255, 0.08), rgba(8, 10, 14, 0) 72%);
}

.power-core__ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(125, 217, 255, 0.04), rgba(125, 217, 255, 0.16), rgba(0, 0, 0, 0) 72%);
    filter: blur(12px);
}

.power-core__body {
    position: relative;
    display: grid;
    place-items: center;
    width: 160px;
    height: 160px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(44, 54, 90, 0.94), rgba(23, 28, 56, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(125, 217, 255, 0.05);
    text-align: center;
}

.power-core__body span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.power-core__body strong {
    display: block;
    font-size: 1.25rem;
    font-family: "Geist Sans", "Inter", sans-serif;
}

.power-core__body--ghost strong {
    font-size: 2.3rem;
    color: rgba(255, 255, 255, 0.86);
}

.power-core--active .power-core__body {
    background: linear-gradient(180deg, rgba(103, 116, 255, 0.92), rgba(68, 79, 231, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 50px rgba(125, 217, 255, 0.18);
}

.phone-screen__hint,
.phone-screen__description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
}

.phone-screen__description {
    max-width: 280px;
    margin: 0 auto 22px;
    text-align: center;
}

.phone-screen__actions {
    gap: 10px;
}

.phone-screen__actions span {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
    font-weight: 700;
}

.server-ticket {
    margin-top: 14px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(94, 101, 171, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.server-ticket__title,
.server-ticket__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.server-ticket__title {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.84);
}

.server-ticket__row strong,
.server-ticket__row small {
    display: block;
}

.server-ticket__row strong {
    color: #ffffff;
}

.server-ticket__row small {
    color: rgba(255, 255, 255, 0.62);
}

.server-ticket__flag {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 50%, #f7d54c 50%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.server-ticket__arrow {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.4rem;
}

.content-section {
    padding: 34px 0;
}

.content-section--highlight {
    padding-top: 42px;
}

.section-shell {
    display: grid;
    gap: 20px;
}

.section-head {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.section-head h2 {
    font-size: clamp(2.1rem, 6vw, 4rem);
}

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

.service-chip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.service-chip__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(217, 229, 240, 0.96));
    color: #090b0f;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.service-chip__body strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Geist Sans", "Inter", sans-serif;
}

.service-chip__label,
.platform-card span,
.pricing-card__period,
.pricing-card__summary,
.step-card__index {
    color: var(--text-soft);
}

.steps-grid--story,
.pricing-grid,
.advantage-grid,
.platform-grid,
.other-services-grid {
    grid-template-columns: 1fr;
}

.step-card__index {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.step-card h3,
.pricing-card h3,
.advantage-card h3,
.platform-card strong {
    margin: 0 0 10px;
    font-family: "Geist Sans", "Inter", sans-serif;
    font-size: 1.22rem;
}

.step-card p,
.pricing-card p,
.advantage-card p,
.platform-card p {
    margin: 0;
    color: var(--text-soft);
}

.pricing-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.pricing-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -40px;
    bottom: -60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    filter: blur(12px);
}

.pricing-card--featured {
    border-color: rgba(125, 217, 255, 0.3);
    background: linear-gradient(180deg, rgba(125, 217, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.pricing-card--premium {
    border-color: rgba(255, 255, 255, 0.16);
}

.pricing-card__badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 14px 0 8px;
}

.pricing-card__price strong {
    font-family: "Geist Sans", "Inter", sans-serif;
    font-size: 2.9rem;
    line-height: 1;
}

.advantage-card {
    position: relative;
}

.advantage-card__spark {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(125, 217, 255, 0.06));
}

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

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    cursor: pointer;
}

.faq-item__question span:first-child {
    text-align: left;
    font-weight: 700;
}

.faq-item__plus {
    color: var(--accent-strong);
    font-size: 1.35rem;
}

.faq-item__answer {
    display: none;
    padding: 0 22px 22px;
}

.faq-item__answer p {
    margin: 0;
}

.faq-item.is-open .faq-item__answer {
    display: block;
}

.other-service-card strong {
    margin-bottom: 12px;
}

.site-footer {
    padding: 34px 0 46px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 247, 251, 0.74);
}

.footer-copy p {
    margin: 6px 0 0;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== AUTH: shared page padding ===== */
.auth-page {
    padding: 52px 0;
}

/* ===== AUTH v3 — airy flat iOS 18/2026 ===== */
.auth-layout--centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Auth card (form side) */
.auth-card {
    display: grid;
    gap: 18px;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}

.auth-card h2 {
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    line-height: 1.05;
}

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

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-field__label {
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 500;
    padding-left: 4px;
}

.auth-field__input {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 10, 0.7);
    color: var(--text);
    font-size: 0.96rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field__input::placeholder {
    color: var(--text-dim);
}

.auth-field__input:focus {
    border-color: rgba(77, 139, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(77, 139, 255, 0.1);
}

/* Shared field + textarea (cabinet forms) */
.field {
    display: grid;
    gap: 8px;
}

.field span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 10, 0.7);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(77, 139, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(77, 139, 255, 0.1);
}

/* Forgot password link */
.auth-forgot-link {
    background: none;
    color: var(--accent-strong);
    font-size: 0.88rem;
    cursor: pointer;
    padding: 4px 0;
    text-align: center;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

/* Password reset panel */
.auth-reset-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-sm);
    background: rgba(77, 139, 255, 0.06);
    border: 1px solid rgba(77, 139, 255, 0.12);
}

/* Divider */
.auth-divider,
.modal__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 4px 0;
    color: var(--text-dim);
    font-size: 0.84rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Hint text */
.auth-hint {
    color: var(--text-dim);
    font-size: 0.84rem;
    text-align: center;
    margin: 0;
}

/* Switch auth mode */
.auth-switch {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.auth-switch a {
    color: var(--accent-strong);
    font-weight: 600;
    margin-left: 4px;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.modal[hidden] {
    display: none;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, 0.78);
    backdrop-filter: blur(10px);
}

.modal__dialog {
    position: relative;
    width: min(92vw, 540px);
    margin: 54px auto 0;
    border-radius: 32px;
    background: rgba(10, 12, 16, 0.92);
}

.modal__content {
    padding: 26px;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

@media (min-width: 760px) {
    .header-actions {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        flex-wrap: nowrap;
    }

    .site-header .header-actions .button {
        min-height: 40px;
        min-width: 0;
        padding: 0 16px;
        font-size: 0.86rem;
    }

    /* На средних ширинах (760-1100) прячем наименее важный пункт меню,
       чтобы остальные не обёртывались в 2 строки. */
    .site-nav a:nth-child(5) { /* Подписка */
        display: none;
    }

    .auth-layout {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        align-items: start;
    }

    .hero-section {
        padding: 70px 0 36px;
    }

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

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

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

    .pricing-grid,
    .advantage-grid,
    .other-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stage {
        grid-template-columns: 0.82fr 1.18fr;
        align-items: end;
    }

    .stage-callout {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        align-self: start;
    }

    .stage-panel--tilted {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        margin-top: 26px;
    }

    .stage-panel--flat {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
        margin-top: -22px;
    }

    .stage-stat {
        grid-column: 2 / 3;
    }
}

@media (min-width: 1040px) {
    .service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-stage {
        gap: 18px;
    }

    .stage-panel--tilted {
        margin-right: 12px;
    }

    .stage-panel--flat {
        margin-left: 14px;
    }
}

/* ===========================================================
   Landing v3 — FINAL (airy flat iOS 18 / 2026)
   -----------------------------------------------------------
   ВНИМАНИЕ: это единственный одобренный стиль лендинга.
   Референсы: Solution 2 + DISCOVER/DEFINE.
   Не переименовывать в "v2", не откатывать, не дублировать.
   Любой новый редизайн — новая мажорная версия (v4+) с явным
   удалением предыдущего блока целиком.
   Scoped под .page-landing, чтобы не задевать auth/cabinet.
   =========================================================== */

/* --- Общие секции landing: единый воздушный контейнер --- */
.page-landing .content-section {
    padding: 48px 0;
}

.page-landing .section-head {
    margin-bottom: 28px;
}

.page-landing .section-head h2 {
    font-family: "Geist", "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 10px 0 6px;
}

.page-landing .section-head p {
    font-weight: 400;
    color: var(--text-soft);
    max-width: 64ch;
}

.page-landing .eyebrow {
    font-family: "Geist", "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: var(--accent-soft);
    border: 1px solid rgba(77, 139, 255, 0.24);
    padding: 6px 14px;
    border-radius: 999px;
}

/* --- Hero --- */
.page-landing .hero-section {
    padding: 32px 0 24px;
}

.page-landing .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "visual"
        "body";
    gap: 20px;
}

.page-landing .hero-title {
    grid-area: title;
    display: grid;
    gap: 8px;
    margin: 0;
    font-family: "Geist", "Inter", sans-serif;
    letter-spacing: -0.045em;
    line-height: 1;
}

.page-landing .hero-title__brand {
    font-size: clamp(2.6rem, 7.5vw, 4.8rem);
    font-weight: 700;
    color: var(--text);
}

.page-landing .hero-title__tagline {
    display: block;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-soft);
    letter-spacing: -0.01em;
    max-width: 30ch;
}

.page-landing .hero-body {
    grid-area: body;
    display: grid;
    gap: 16px;
    align-content: start;
}

/* --- Универсальная карточка airy (Solution 2 style) --- */
.card-airy {
    position: relative;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72) 0%, rgba(10, 13, 20, 0.78) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px -12px rgba(3, 8, 20, 0.5);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    overflow: hidden;
}

.card-airy::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.22), transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.page-landing .hero-pill {
    position: relative;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72) 0%, rgba(10, 13, 20, 0.78) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px -12px rgba(3, 8, 20, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.page-landing .hero-pill::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.28), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.page-landing .hero-pill strong {
    position: relative;
    display: block;
    margin-bottom: 4px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.page-landing .hero-pill p {
    position: relative;
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.45;
}

/* --- Hero metrics --- */
.page-landing .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.page-landing .hero-metrics .metric-card {
    position: relative;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.7) 0%, rgba(10, 13, 20, 0.8) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.page-landing .hero-metrics .metric-card::before {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.22), transparent 70%);
    filter: blur(16px);
    pointer-events: none;
}

.page-landing .hero-metrics dt {
    position: relative;
    margin: 0 0 4px;
    color: var(--text-dim);
    font-family: "Geist", "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: pre-line;
    line-height: 1.35;
    min-height: calc(2 * 1.35 * 1em);
}

.page-landing .hero-metrics dd {
    position: relative;
    margin: 0;
    font-family: "Geist", "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    color: #5b9cf5;
}

/* --- Hero actions: кнопки равного размера --- */
.page-landing .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-landing .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
}

/* --- Hero visual --- */
.page-landing .hero-visual {
    grid-area: visual;
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual__img {
    width: 100%;
    max-width: 820px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 36px rgba(56, 120, 255, 0.28));
    margin: 0;
}

.visual-slot {
    position: relative;
    display: grid;
    place-content: center;
    gap: 8px;
    width: 100%;
    min-height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(ellipse at 50% 60%, rgba(77, 139, 255, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.6) 0%, rgba(10, 13, 20, 0.7) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 28px 80px -20px rgba(77, 139, 255, 0.28);
    text-align: center;
    color: var(--text-soft);
    overflow: hidden;
}

.visual-slot::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.visual-slot > * {
    position: relative;
}

.visual-slot__label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(77, 139, 255, 0.22);
    color: var(--accent-strong);
    font-family: "Geist", "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.visual-slot__hint {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 400;
}

.visual-slot--hero {
    min-height: 220px;
    aspect-ratio: 16 / 11;
}

.visual-slot--qr {
    min-height: 140px;
    aspect-ratio: 1;
    max-width: 160px;
    padding: 18px;
}

.qr-code-container {
    flex: 0 0 auto;
    width: 168px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 28px rgba(3, 8, 20, 0.35);
    padding: 10px;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    display: block;
}

.section-head--centered {
    justify-items: center;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-head--centered .eyebrow {
    margin: 0 auto;
}

/* --- Блок 2: Подключение — большие outlined цифры + стрелка --- */
.page-landing .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.page-landing .step-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "number title"
        "body   body"
        "cta    cta";
    column-gap: 18px;
    row-gap: 6px;
    align-items: start;
    padding: 24px 26px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72) 0%, rgba(10, 13, 20, 0.78) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-landing .step-card::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.18), transparent 70%);
    filter: blur(22px);
    pointer-events: none;
}

.page-landing .step-card:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 139, 255, 0.22);
}

.page-landing .step-card__index {
    grid-area: number;
    align-self: start;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-family: "Geist", "Inter", sans-serif;
    font-size: clamp(3.2rem, 7vw, 4.6rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(120, 150, 210, 0.45);
    text-stroke: 1.5px rgba(120, 150, 210, 0.45);
}

.page-landing .step-card__body {
    display: contents;
}

.page-landing .step-card__body h3 {
    grid-area: title;
    align-self: start;
    margin: 0;
    padding-right: 28px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    text-transform: uppercase;
    line-height: 1.25;
}

.page-landing .step-card__body p {
    grid-area: body;
    margin: 6px 0 0;
    color: var(--text-soft);
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.5;
}

.page-landing .step-card__arrow {
    position: absolute;
    top: 20px;
    right: 22px;
    color: var(--text-dim);
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.page-landing .step-card:hover .step-card__arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

.page-landing .step-card__cta {
    grid-area: cta;
    justify-self: start;
    margin-top: 12px;
}

.page-landing .step-card--featured {
    background:
        linear-gradient(180deg, #5c97ff 0%, #3f74f0 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 56px -10px rgba(63, 116, 240, 0.55);
}

.page-landing .step-card--featured::before {
    display: none;
}

.page-landing .step-card--featured .step-card__index {
    color: rgba(255, 255, 255, 0.9);
    -webkit-text-stroke: 0;
    text-stroke: 0;
}

.page-landing .step-card--featured .step-card__body h3,
.page-landing .step-card--featured .step-card__body p,
.page-landing .step-card--featured .step-card__arrow {
    color: #0a1028;
}

/* --- Блок 3: Как скачать — platform cards --- */
.content-section--download .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.content-section--download .platform-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 22px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(20, 24, 34, 0.68), rgba(10, 13, 20, 0.78));
    color: var(--text);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.content-section--download .platform-card::before {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.16), transparent 70%);
    filter: blur(16px);
    pointer-events: none;
}

.content-section--download .platform-card > * {
    position: relative;
}

.content-section--download .platform-card:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 139, 255, 0.32);
}

.platform-card__token {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-family: "Geist", "Inter", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid rgba(77, 139, 255, 0.28);
}

.content-section--download .platform-card strong {
    margin: 0;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.platform-card__link {
    color: var(--accent-strong);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.download-note {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* --- Блок 4: Преимущества (outline gradient number) --- */
.page-landing .advantage-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.page-landing .advantage-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "number title"
        "number body";
    column-gap: 20px;
    align-items: start;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72), rgba(10, 13, 20, 0.8));
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-landing .advantage-card::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.14), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.page-landing .advantage-card:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 139, 255, 0.22);
}

.page-landing .advantage-card__number {
    grid-area: number;
    align-self: center;
    position: relative;
    display: inline-block;
    margin: 0;
    font-family: "Geist", "Inter", sans-serif;
    font-size: clamp(3.4rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.3px rgba(120, 150, 210, 0.45);
    text-stroke: 1.3px rgba(120, 150, 210, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
    -webkit-background-clip: text;
    background-clip: text;
}

.page-landing .advantage-card h3 {
    grid-area: title;
    position: relative;
    margin: 0 0 6px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    align-self: end;
}

.page-landing .advantage-card p {
    grid-area: body;
    position: relative;
    margin: 0;
    color: var(--text-soft);
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* --- Блок 5: Тарифы --- */
.content-section--pricing {
    padding: 48px 0;
}

.page-landing .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
}

.page-landing .pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 24px 24px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72), rgba(10, 13, 20, 0.8));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px -14px rgba(3, 8, 20, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-landing .pricing-card::before {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.16), transparent 70%);
    filter: blur(22px);
    pointer-events: none;
}

.page-landing .pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 139, 255, 0.2);
}

.page-landing .pricing-card > * {
    position: relative;
}

.page-landing .pricing-card__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(77, 139, 255, 0.28);
    color: var(--accent-strong);
    font-family: "Geist", "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.page-landing .pricing-card h3 {
    margin: 0;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.page-landing .pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 4px 0 2px;
}

.page-landing .pricing-card__price strong {
    font-family: "Geist", "Inter", sans-serif;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.page-landing .pricing-card__price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-soft);
}

.page-landing .pricing-card__period {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.84rem;
    font-weight: 500;
}

.page-landing .pricing-card__summary {
    margin: 4px 0 14px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

.page-landing .pricing-card .button {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    text-align: center;
    justify-content: center;
}

.pricing-card--trial {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(20, 24, 34, 0.5), rgba(10, 13, 20, 0.6));
}

.pricing-card--trial .pricing-card__badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-soft);
}

.pricing-card--trial::before {
    display: none;
}

/* Featured — подсветка последнего тарифа */
.pricing-card--featured {
    border-color: rgba(77, 139, 255, 0.4);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.24) 0%, rgba(77, 139, 255, 0.08) 40%, transparent 70%),
        linear-gradient(180deg, rgba(20, 28, 46, 0.82), rgba(10, 14, 26, 0.88));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 28px 60px -14px rgba(77, 139, 255, 0.5);
}

.pricing-card--featured::before {
    background: radial-gradient(circle, rgba(77, 139, 255, 0.34), transparent 70%);
    width: 260px;
    height: 260px;
}

.pricing-card--featured .pricing-card__badge {
    background: linear-gradient(180deg, #6ba1ff, #3f74f0);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(63, 116, 240, 0.4);
}

/* --- Блок 6: Подписка и обновления --- */
.content-section--updates {
    padding: 48px 0;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
}

.update-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(77, 139, 255, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, rgba(20, 24, 34, 0.72), rgba(10, 13, 20, 0.8));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 40px -14px rgba(3, 8, 20, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.update-card::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -70px;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(77, 139, 255, 0.16), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.update-card > * {
    position: relative;
}

.update-card__body h3 {
    margin: 0 0 8px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.update-card__body p {
    margin: 0;
    color: var(--text-soft);
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.5;
}

.update-card .button {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    justify-content: center;
}

.update-card--qr {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.update-card--qr .visual-slot--qr {
    flex: 0 0 auto;
}

.update-card--qr .update-card__body {
    flex: 1 1 auto;
}

/* --- FAQ доп. стили --- */
.faq-article-link {
    display: inline;
    padding: 0 0 0 6px;
    color: var(--accent-strong);
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.faq-article-link:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
    padding: 48px 0 24px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 6, 10, 0.55);
}

.site-footer .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 10px;
    border-top: 0;
}

.footer-brand__name {
    display: block;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.footer-brand__tagline {
    margin: 8px 0 16px;
    color: var(--text-soft);
    font-weight: 400;
    max-width: 42ch;
}

.footer-brand__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.footer-group strong {
    display: block;
    margin-bottom: 12px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.footer-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-group a {
    color: var(--text-soft);
    font-weight: 400;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-group a:hover {
    color: var(--text);
}

.footer-requisites {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 4px;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 400;
}

.footer-requisites p {
    margin: 0;
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 12px;
    color: var(--text-dim);
    font-size: 0.76rem;
}

/* --- Модалка статьи --- */
.modal__dialog--wide {
    width: min(94vw, 820px);
}

.modal--article .modal__dialog {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.article-body {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.article-body h3 {
    margin: 0 0 6px;
    font-family: "Geist", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.article-body p {
    margin: 0;
    color: var(--text-soft);
    font-weight: 400;
    line-height: 1.55;
}

/* --- Faq items — стеклянные airy карточки --- */
.page-landing .faq-item {
    padding: 18px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(20, 24, 34, 0.7), rgba(10, 13, 20, 0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.page-landing .faq-item summary,
.page-landing .faq-item h3 {
    font-family: "Geist", "Inter", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.015em;
}

/* --- Адаптив: планшет --- */
@media (min-width: 640px) {
    .content-section--download .platform-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

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

/* --- Адаптив: десктоп --- */
@media (min-width: 960px) {
    .page-landing .hero-section {
        padding: 40px 0 28px;
        min-height: calc(100vh - 100px);
        display: flex;
        align-items: center;
    }

    .page-landing .hero-section > .site-shell {
        width: 100%;
    }

    .page-landing .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        grid-template-areas:
            "title  visual"
            "body   visual";
        align-items: start;
        gap: 24px 44px;
    }

    .page-landing .hero-body {
        align-self: start;
    }

    .page-landing .hero-visual {
        min-height: 420px;
        align-self: stretch;
    }

    .visual-slot--hero {
        min-height: 100%;
        aspect-ratio: auto;
    }

    .page-landing .content-section {
        padding: 64px 0;
    }

    .page-landing .content-section > .site-shell {
        width: 100%;
    }

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

    .page-landing .step-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "number title"
            "body   body"
            "cta    cta";
        row-gap: 10px;
    }

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

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

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

    .update-card--qr {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .site-footer .footer-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
        align-items: start;
    }

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

/* --- Адаптив: мобильный --- */
@media (max-width: 639px) {
    .page-landing .hero-section {
        padding: 20px 0 12px;
    }

    .page-landing .hero-grid {
        gap: 18px;
    }

    .page-landing .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .page-landing .hero-metrics .metric-card {
        padding: 12px 10px;
    }

    .page-landing .hero-metrics dt {
        font-size: 0.64rem;
        min-height: calc(2 * 1.35 * 1em);
    }

    .page-landing .hero-metrics dd {
        font-size: 0.92rem;
    }

    .page-landing .hero-title__brand {
        font-size: clamp(2.4rem, 11vw, 3rem);
    }

    .page-landing .hero-visual {
        min-height: auto;
        margin: 0.5rem calc(-1 * var(--shell-pad)) 1rem;
        width: calc(100% + 2 * var(--shell-pad));
        max-width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }

    .page-landing .hero-visual .hero-visual__img {
        width: min(92vw, 480px);
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        filter: drop-shadow(0 0 30px rgba(56, 120, 255, 0.3));
    }

    .page-landing .hero-title {
        padding-left: 0;
        margin-left: 0;
    }

    .page-landing .hero-title__brand {
        margin-left: 0;
        padding-left: 0;
    }

    .page-landing .hero-actions {
        flex-direction: column;
    }

    .page-landing .hero-actions .button {
        flex: 1 1 auto;
        width: 100%;
    }

    .update-card--qr {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-landing .step-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "number title"
            "body   body"
            "cta    cta";
    }

    .page-landing .step-card__body h3 {
        font-size: 0.92rem;
    }
}

/* --- Header: широкий экран (1100+) — возвращаем полный вид меню --- */
@media (min-width: 1100px) {
    .site-nav {
        gap: 14px;
    }

    .site-nav a {
        font-size: 0.86rem;
    }

    .site-nav a:nth-child(5) {
        display: inline;
    }
}

/* ===========================================================
   v4 — Cabinet tile redesign + global mobile fixes
   2026-04-29
   =========================================================== */

/* --- 0) Глобальные защиты от горизонтального оверфлоу --- */
img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

.site-shell {
    box-sizing: border-box;
    min-width: 0;
}

.auth-page,
.hero-section,
.content-section,
.site-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

/* Сетки не должны заставлять родителя расширяться шире viewport */
.hero-grid,
.steps-grid,
.platform-grid,
.pricing-grid,
.advantage-grid,
.updates-grid,
.auth-layout,
.footer-inner,
.footer-groups {
    min-width: 0;
}

.hero-grid > *,
.steps-grid > *,
.platform-grid > *,
.pricing-grid > *,
.advantage-grid > *,
.updates-grid > *,
.auth-layout > * {
    min-width: 0;
}

/* --- 1) Eyebrow ↔ заголовок: расстояние во ВСЕХ карточках --- */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + strong,
.eyebrow + .h2 {
    margin-top: 12px;
}








/* --- 8) auth-field обязательное поле: красная * --- */
.auth-field--required .auth-field__label::after {
    content: " *";
    color: #ff5874;
    font-weight: 700;
    margin-left: 2px;
}

/* --- 9) Auth layout: форма СЛЕВА, intro СПРАВА (на широких) --- */
@media (min-width: 760px) {
    .auth-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }
}

/* --- 10) Platform card — иконка изображением --- */
.content-section--download .platform-card {
    align-items: center;
}

.platform-card__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.platform-card__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* Заголовок и подпись — крупнее, ровнее */
.content-section--download .platform-card strong {
    font-size: 1rem;
}

/* --- 12) Header: транспарент-логотип на узких экранах --- */
@media (max-width: 639px) {
    .site-header {
        width: calc(100% - 16px);
        margin-top: 8px;
        top: 8px;
    }

    .site-header .site-shell {
        padding-left: 12px;
        padding-right: 8px;
    }

    .brand-mark__logo {
        width: 36px;
        height: 36px;
    }

    .brand-mark__text strong {
        font-size: 0.95rem;
    }
}


/* ============================================================
   ADMIN PANEL
   ============================================================ */

.admin-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.admin-shell {
    max-width: 1200px;
}

.admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.admin-head__title .eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.admin-head__title h1 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.admin-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.admin-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.admin-nav__link:hover {
    color: var(--text);
    background: var(--surface-strong);
    border-color: var(--border-strong);
}

.admin-nav__link--active {
    color: var(--text);
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* Alert */

.admin-alert {
    padding: 14px 20px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    margin-bottom: 24px;
}

.admin-alert--danger {
    background: rgba(255, 177, 188, 0.1);
    border: 1px solid rgba(255, 177, 188, 0.25);
    color: var(--danger);
}

/* Stats row */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.admin-stat__value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.admin-stat__label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Search */

.admin-search {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}

.admin-search__input {
    flex: 1;
    max-width: 400px;
    padding: 10px 16px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.admin-search__input::placeholder {
    color: var(--text-dim);
}

.admin-search__input:focus {
    border-color: var(--accent);
}

.admin-search__btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Table */

.admin-table-wrap {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    white-space: nowrap;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: var(--surface-soft);
}

.admin-table__user {
    font-weight: 600;
    color: var(--accent-strong);
}

.admin-table__dim {
    color: var(--text-soft);
}

.admin-table__empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-dim);
}

/* Status badge */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.status-badge--success {
    background: rgba(166, 247, 208, 0.12);
    color: var(--success);
}

.status-badge--danger {
    background: rgba(255, 177, 188, 0.12);
    color: var(--danger);
}

.status-badge--warning {
    background: rgba(255, 214, 102, 0.12);
    color: #ffd666;
}

.status-badge--dim {
    background: var(--surface-strong);
    color: var(--text-dim);
}

/* Subscription link cell */

.sub-link-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
}

.sub-link-text {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sub-link-text:hover {
    color: var(--accent-strong);
}

/* Copy button */

.btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text-soft);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--surface-strong);
    color: var(--text);
    border-color: var(--border-strong);
}

/* Actions dropdown */

.actions-dropdown {
    position: relative;
    display: inline-block;
}

.actions-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.actions-dropdown__trigger:hover {
    background: var(--surface-strong);
    color: var(--text);
    border-color: var(--border-strong);
}

.actions-dropdown__menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    min-width: 160px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden;
}

.actions-dropdown:hover .actions-dropdown__menu,
.actions-dropdown:focus-within .actions-dropdown__menu {
    display: block;
}

.actions-dropdown__item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.actions-dropdown__item:hover {
    background: var(--surface-strong);
    color: var(--text);
}

.actions-dropdown__item--danger {
    color: var(--danger);
}

.actions-dropdown__item--danger:hover {
    background: rgba(255, 177, 188, 0.1);
    color: var(--danger);
}

/* Filter select */

.admin-search__select {
    padding: 10px 16px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    min-width: 150px;
}

.admin-search__select:focus {
    border-color: var(--accent);
}

/* Referral code */

.referral-code-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.referral-code {
    font-family: monospace;
    font-size: 13px;
    padding: 3px 8px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--accent-strong);
    letter-spacing: 0.04em;
}

/* Create form */

.admin-create-form {
    padding: 24px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.admin-create-form__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 18px;
}

.admin-create-form__body {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}

.admin-field__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.admin-field__input {
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.admin-field__input:focus {
    border-color: var(--accent);
}

select.admin-field__input {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 200px;
}

/* Section title */

.admin-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 16px;
}

/* Admin button in header */

.button--admin {
    color: var(--accent);
    border-color: var(--accent-soft);
    font-size: 13px;
}

.button--admin:hover {
    background: var(--accent-soft);
}

/* ============================================================
   HEALTH DASHBOARD
   ============================================================ */

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

.health-card {
    padding: 28px 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.health-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.health-card__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.health-card__indicator--green {
    background: var(--success);
    box-shadow: 0 0 8px rgba(166, 247, 208, 0.5);
}

.health-card__indicator--yellow {
    background: #ffd666;
    box-shadow: 0 0 8px rgba(255, 214, 102, 0.5);
}

.health-card__indicator--red {
    background: var(--danger);
    box-shadow: 0 0 8px rgba(255, 177, 188, 0.5);
}

.health-card__indicator--placeholder {
    background: var(--text-dim);
    opacity: 0.4;
}

.health-card__name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.health-card__host {
    font-size: 13px;
    color: var(--text-dim);
    font-family: monospace;
}

.health-card__role {
    font-size: 13px;
    color: var(--text-soft);
    margin: 0 0 20px;
}

.health-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.health-metric {
    padding: 10px 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    text-align: center;
}

.health-metric__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.health-metric__value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.health-metric__value--placeholder {
    color: var(--text-dim);
}

.health-card__note {
    font-size: 12px;
    color: var(--text-dim);
    margin: 16px 0 0;
    text-align: center;
    font-style: italic;
}

.health-card__updated {
    font-size: 12px;
    color: var(--text-soft);
    margin: 14px 0 0;
    text-align: right;
}

.health-metric__value--ok {
    color: var(--success);
}

.health-metric__value--err {
    color: var(--danger);
}

.health-metric__value--warn {
    color: #ffd666;
}

/* Responsive admin */

@media (max-width: 768px) {
    .admin-page {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .admin-head {
        flex-direction: column;
        gap: 16px;
    }

    .admin-nav {
        flex-wrap: wrap;
    }

    .admin-search {
        flex-wrap: wrap;
    }

    .admin-search__input {
        max-width: 100%;
    }

    .admin-search__select {
        min-width: 100%;
    }

    .admin-create-form__body {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-field {
        min-width: 100%;
    }

    select.admin-field__input {
        min-width: 100%;
    }

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

    .health-card__metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
 * Auth page: solo (centered) layout — F3 fix #1
 * ============================================================ */
.auth-shell--solo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px var(--shell-pad) 60px;
}

.auth-card--solo {
    width: 100%;
    max-width: 520px;
}

.auth-consents {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.auth-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
    cursor: pointer;
}

.auth-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.auth-consent__link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-consent__link:hover {
    color: var(--accent-strong);
}

.auth-field__hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.auth-pwd-wrap {
    position: relative;
    display: block;
}

.auth-pwd-wrap .auth-pwd-input {
    width: 100%;
    padding-right: 44px;
}

.auth-pwd-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0;
}

.auth-pwd-eye:hover {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.05);
}

/* На десктопе перебиваем grid из @media≥640px, чтобы карточка была одна и центрировалась */
@media (min-width: 640px) {
    .auth-shell--solo {
        grid-template-columns: none;
    }
}

/* ============================================================
 * Mobile: «Войти / Регистрация» внутри гамбургер-меню — F3 fix #10
 * ============================================================ */
.site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
}

.site-nav__cta--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
}

.site-nav__cta--primary {
    background: var(--accent);
    color: #051022;
    box-shadow: var(--shadow-glow);
}

@media (min-width: 760px) {
    /* На десктопе используются header-actions, скрываем дубль из nav */
    .site-nav__cta {
        display: none;
    }
}

/* ============================================================
 * iOS Safari: снижаем нагрузку на GPU чтобы не было OOM-крашей
 * Детект iOS-Safari через @supports (-webkit-touch-callout: none)
 * F3 fix #7
 * ============================================================ */
/* ============================================================
 * Преимущества: 2x2 grid, чередование голубой/нейтральной — F3 fix #4
 * ============================================================ */
@media (min-width: 640px) {
    .page-landing .advantage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Перебиваем правило из @media≥960px (там было 4 колонки) — оставляем 2x2 */
@media (min-width: 960px) {
    .page-landing .advantage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

/* Стрелка убрана (F8) */
.page-landing .advantage-card::after {
    display: none;
    opacity: 0.55;
    pointer-events: none;
}

/* Голубые карточки: 1, 4 (по аналогии со скрином — нечётно-чётный паттерн «синий/нейтральный/синий/нейтральный») */
.page-landing .advantage-card:nth-child(odd) {
    background: linear-gradient(180deg, #4d8bff 0%, #2f6fe5 100%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 50px -18px rgba(77, 139, 255, 0.55);
}

.page-landing .advantage-card:nth-child(odd)::before {
    display: none;
}

.page-landing .advantage-card:nth-child(odd)::after {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.page-landing .advantage-card:nth-child(odd) .advantage-card__number {
    color: #ffffff;
    -webkit-text-stroke: 0;
    text-stroke: 0;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.page-landing .advantage-card:nth-child(odd) h3 {
    color: #ffffff;
}

.page-landing .advantage-card:nth-child(odd) p {
    color: rgba(255, 255, 255, 0.88);
}

.page-landing .advantage-card:nth-child(odd):hover {
    border-color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
 * iOS Safari: снижаем нагрузку на GPU чтобы не было OOM-крашей
 * Детект iOS-Safari через @supports (-webkit-touch-callout: none)
 * F3 fix #7
 * ============================================================ */
@supports (-webkit-touch-callout: none) {
    /* Отключаем тяжёлый dotted grid поверх backdrop */
    .grid-mask {
        display: none;
    }
    /* Уменьшаем blur у фонового glow в 2 раза */
    .glow {
        filter: blur(40px);
        opacity: 0.55;
    }
    /* Снижаем интенсивность backdrop-filter у сильно-вложенных слоёв */
    .glass-panel,
    .card-airy {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    /* Полностью убираем дополнительный blur с псевдоэлементов: они дают
       offscreen-canvas и быстро съедают GPU memory на iPhone */
    .card-airy::before,
    .page-landing .advantage-card::before,
    .page-landing .hero-pill::before {
        filter: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   B2B Admin — lead cards
   ═══════════════════════════════════════════════════════════ */

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.admin-badge--success { background: rgba(166,247,208,0.12); color: var(--success); }
.admin-badge--danger { background: rgba(255,177,188,0.12); color: var(--danger); }
.admin-badge--warning { background: rgba(255,214,102,0.12); color: #ffd666; }
.admin-badge--info { background: rgba(77,139,255,0.14); color: var(--accent-strong); }
.admin-badge--dim { background: var(--surface-strong); color: var(--text-dim); }

.b2b-leads { display: grid; gap: 16px; }

.b2b-lead {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.b2b-lead[open] {
    border-color: var(--border-strong);
}

.b2b-lead__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
}
.b2b-lead__summary::-webkit-details-marker { display: none; }
.b2b-lead__summary::marker { display: none; }

.b2b-lead__primary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.b2b-lead__company {
    font-size: 16px;
    font-weight: 600;
    color: #9ac2ff;
}
.b2b-lead__type {
    font-size: 13px;
    color: var(--text-dim);
    padding: 2px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.b2b-lead__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-soft);
    flex-shrink: 0;
}
.b2b-lead__dim { color: var(--text-dim); }
.b2b-lead__days {
    font-weight: 600;
    color: var(--success);
}
.b2b-lead__days--urgent { color: var(--danger); }

.b2b-lead__details {
    padding: 0 24px 24px;
    border-top: 1px solid var(--border);
}

.b2b-lead__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding-top: 20px;
}

.b2b-lead__section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.b2b-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 13px;
}
.b2b-dl dt {
    color: var(--text-dim);
    white-space: nowrap;
}
.b2b-dl dd {
    margin: 0;
    color: var(--text);
    word-break: break-all;
}
.b2b-dl dd a { color: var(--accent); text-decoration: none; }
.b2b-dl dd a:hover { text-decoration: underline; }
.b2b-dl dd code {
    font-size: 12px;
    background: var(--surface-strong);
    padding: 1px 6px;
    border-radius: 4px;
}

.b2b-lead__sub-url {
    margin-top: 8px;
    font-size: 13px;
}
.b2b-lead__sub-url a { color: var(--accent); }

.b2b-lead__actions {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    flex-wrap: wrap;
}

.b2b-lead__status-form,
.b2b-lead__notes-form {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}
.b2b-lead__status-form label,
.b2b-lead__notes-form label {
    font-size: 13px;
    color: var(--text-soft);
    padding-top: 6px;
}
.b2b-lead__status-form select {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 6px 10px;
    font-size: 13px;
}
.b2b-lead__status-form select option {
    background: var(--bg-elevated);
    color: var(--text);
}
.b2b-lead__notes-form textarea {
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 6px 10px;
    font-size: 13px;
    resize: vertical;
    min-width: 200px;
}

.btn--sm {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-xs);
    background: var(--accent);
    color: var(--text);
    border: none;
    cursor: pointer;
    transition: background 150ms ease;
}
.btn--sm:hover { background: var(--accent-strong); }

.text-danger { color: var(--danger); }
.text-warning { color: #ffd666; }
.text-success { color: var(--success); }

.b2b-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    vertical-align: middle;
    margin-right: 4px;
}
.b2b-online-dot--on {
    background: var(--success);
    box-shadow: 0 0 6px rgba(166,247,208,0.6);
}

.b2b-lead__note {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.4;
}

@media (max-width: 959px) {
    .b2b-lead__summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .b2b-lead__grid {
        grid-template-columns: 1fr;
    }
    .b2b-lead__actions {
        flex-direction: column;
    }
}


/* ═══════════════════════════════════════════════════════════
   B2B Landing — Sprint B2B (2026-05)
   Namespace: .page-business, .biz-*
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────── */
.page-business .biz-hero { padding: clamp(48px, 9vh, 120px) 0; position: relative; }

/* Mobile: top(H1) → visual → body (3 rows). Desktop: top+body merged left, visual right */
.page-business .biz-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}
@media (min-width: 960px) {
    .page-business .biz-hero__grid {
        grid-template-columns: 1fr 0.95fr;
        grid-template-rows: auto 1fr;
    }
    .page-business .biz-hero__top { grid-column: 1; grid-row: 1; align-self: end; }
    .page-business .biz-hero__body { grid-column: 1; grid-row: 2; align-self: start; }
    .page-business .biz-hero__visual { grid-column: 2; grid-row: 1 / -1; align-self: center; }
}
.page-business .biz-hero__title {
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 12px 0;
}
.page-business .biz-hero__title-main { display: block; }
.page-business .biz-hero__title-accent {
    color: var(--accent-strong);
    display: block;
}
.page-business .biz-hero__subtitle {
    font-size: clamp(15px, 1.3vw, 18px);
    color: var(--text-soft);
    max-width: 500px;
    margin: 0 0 12px;
}
.page-business .biz-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    margin-top: 24px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.page-business .biz-hero__highlight strong {
    display: block;
    font-size: 20px;
    color: var(--text);
}
.page-business .biz-hero__highlight span {
    color: var(--text-soft);
    font-size: 13px;
}
.page-business .biz-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.page-business .biz-hero__visual {
    background:
        radial-gradient(60% 60% at 50% 40%, rgba(77,139,255,0.08), transparent 70%),
        var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(77,139,255,0.25);
    overflow: hidden;
}
.page-business .biz-hero__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* ── Advantages ──────────────────────────────────────────── */
.page-business .biz-advantages { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
@media (min-width: 960px) {
    .page-business .biz-advantages--left .biz-advantages__grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .page-business .biz-advantages--right .biz-advantages__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .page-business .biz-advantages--right .biz-advantages__visual { order: 2; }
}
.page-business .biz-advantages__visual {
    background:
        radial-gradient(50% 50% at 50% 40%, rgba(77,139,255,0.10), transparent 70%),
        var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(77,139,255,0.25);
    padding: 24px;
    overflow: hidden;
}
.page-business .biz-advantages__img {
    width: 100%;
    height: auto;
    display: block;
}
.page-business .biz-advantages__title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 8px 0 12px;
}
.page-business .biz-advantages__lead {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 24px;
}
.page-business .biz-advantages__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.page-business .biz-bullet {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-bullet__icon { font-size: 22px; line-height: 1; }
.page-business .biz-bullet__content strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.page-business .biz-bullet__content span {
    font-size: 13px;
    color: var(--text-soft);
}

/* ── Legal ───────────────────────────────────────────────── */
.page-business .biz-legal { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-legal__schema {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
@media (min-width: 760px) {
    .page-business .biz-legal__schema {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
    }
}
.page-business .biz-legal__role {
    text-align: center;
    display: grid;
    gap: 6px;
}
.page-business .biz-legal__role-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
    margin: 0 auto;
}
.page-business .biz-legal__arrow { font-size: 24px; color: var(--text-dim); }
.page-business .biz-legal__cards {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}
.page-business .biz-legal-card {
    padding: 24px;
    border-radius: var(--radius-md);
    transition: transform 200ms ease;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-legal-card:hover { transform: translateY(-2px); }
.page-business .biz-legal-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
}
.page-business .biz-legal-card__chevron { margin-left: auto; font-size: 20px; }
.page-business .biz-legal-card__short {
    color: var(--text-soft);
    font-size: 14px;
    margin: 10px 0 0;
}
.page-business .biz-legal-card__body {
    display: none;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
}
.page-business .biz-legal-card.is-open .biz-legal-card__body { display: block; }
.page-business .biz-legal-card.is-open .biz-legal-card__chevron { transform: rotate(45deg); }
.page-business .biz-legal-card__chevron { transition: transform 200ms ease; display: inline-block; }
.page-business .biz-roles-list {
    padding-left: 20px;
    margin: 0;
    display: grid;
    gap: 8px;
}
.page-business .biz-legal__disclaimer {
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

/* ── Connection ──────────────────────────────────────────── */
.page-business .biz-connection { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-connection__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 760px) {
    .page-business .biz-connection__grid { grid-template-columns: 1fr 1fr; }
}
.page-business .biz-connection-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-connection-card__head h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin: 6px 0 8px;
}
.page-business .biz-connection-card__includes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    font-size: 14px;
}
.page-business .biz-connection-card__includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-soft);
}
.page-business .biz-connection-card__includes svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-strong); }
.page-business .biz-connection-card__price strong { display: block; font-size: 20px; }
.page-business .biz-connection-card__price span { font-size: 13px; color: var(--text-soft); }
.page-business .biz-connection-card__foot { display: grid; gap: 12px; }

/* ── Cases ───────────────────────────────────────────────── */
.page-business .biz-cases { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-cases__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 760px) {
    .page-business .biz-cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .page-business .biz-cases__grid { grid-template-columns: repeat(3, 1fr); }
}
.page-business .biz-case {
    padding: 28px;
    border-radius: var(--radius-lg);
    display: grid;
    gap: 16px;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-case__head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.page-business .biz-case__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.page-business .biz-case__company { display: block; font-weight: 600; }
.page-business .biz-case__segment { font-size: 12px; color: var(--text-dim); }
.page-business .biz-case__result { color: var(--text-soft); font-size: 14px; margin: 0; }
.page-business .biz-case__metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
}
.page-business .biz-case__metrics strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-strong);
}
.page-business .biz-case__metrics span { font-size: 11px; color: var(--text-dim); }
.page-business .biz-case__toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 13px;
    padding: 6px 16px;
    align-self: start;
    transition: border-color 150ms ease;
}
.page-business .biz-case__toggle:hover { border-color: var(--accent); color: var(--accent-strong); }
.page-business .biz-case__body { display: none; font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.page-business .biz-case.is-open .biz-case__body { display: block; }

/* ── Demo form ────────────────────────────────────────────── */
.page-business .biz-demo { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-demo__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 960px) {
    .page-business .biz-demo__layout {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: start;
    }
}
.page-business .biz-demo__perks {
    padding: 32px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-demo__perks h3 { margin-bottom: 16px; }
.page-business .biz-demo__perks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.page-business .biz-demo__perks li { font-size: 14px; color: var(--text-soft); }
.page-business .biz-demo__form {
    padding: 32px;
    border-radius: var(--radius-lg);
    display: grid;
    gap: 18px;
    position: relative;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-field { display: grid; gap: 6px; }
.page-business .biz-field__label { font-size: 13px; font-weight: 500; color: var(--text-soft); }
.page-business .biz-field__hint { font-size: 12px; color: var(--text-dim); }
.page-business .biz-field__input {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    transition: border-color 150ms ease, background 150ms ease;
    box-sizing: border-box;
}
.page-business .biz-field__input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-strong);
}
.page-business .biz-field--choice fieldset { border: none; padding: 0; margin: 0; }
.page-business .biz-field__choices { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.page-business .biz-choice { position: relative; }
.page-business .biz-choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.page-business .biz-choice__pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-soft);
    cursor: pointer;
    transition: all 150ms ease;
    font-size: 14px;
}
.page-business .biz-choice input:checked + .biz-choice__pill {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-strong);
}
.page-business .biz-demo__submit {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.page-business .biz-demo__submit:hover { transform: translateY(-1px); }
.page-business .biz-demo__legal {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    margin: 0;
}
.page-business .biz-demo__legal a { color: var(--text-soft); }
.page-business .biz-form-error {
    padding: 12px 16px;
    background: rgba(255,177,188,0.1);
    border: 1px solid rgba(255,177,188,0.3);
    border-radius: var(--radius-sm);
    color: var(--danger);
    font-size: 14px;
}

/* ── Thanks block ─────────────────────────────────────────── */
.page-business .biz-demo__thanks { margin-top: 40px; }
.page-business .biz-demo__thanks-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: grid;
    gap: 18px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 60px -20px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)) var(--surface);
}
.page-business .biz-demo__thanks-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    display: grid;
    place-items: center;
    font-size: 32px;
    margin: 0 auto;
}
.page-business .biz-demo__thanks-key {
    display: grid;
    gap: 10px;
}
.page-business .biz-demo__thanks-key-label { font-size: 14px; color: var(--text-soft); }
.page-business .biz-demo__thanks-link {
    display: inline-block;
    padding: 14px 18px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    border-radius: var(--radius-sm);
    word-break: break-all;
    font-weight: 600;
    text-decoration: none;
}
.page-business .biz-demo__thanks-link:hover { background: var(--accent-glow); }
.page-business .biz-demo__thanks-meta { font-size: 14px; color: var(--text-soft); }

/* ── FAQ ─────────────────────────────────────────────────── */
.page-business .biz-faq { padding: clamp(48px, 8vh, 100px) 0; }
.page-business .biz-faq__list { max-width: 900px; margin: 0 auto; }

/* ── Header overrides ──────────────────────────────────────── */
.button--biz {
    background: linear-gradient(135deg, var(--accent-soft), transparent);
    border: 1px solid var(--accent);
    color: var(--accent-strong);
}
.button--biz:hover {
    background: var(--accent-soft);
    color: var(--text);
}
@media (max-width: 759px) {
    .header-actions .button--biz { display: none; }
}
.site-nav a.is-active {
    color: var(--accent-strong);
    position: relative;
}
.site-nav a.is-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ── section-shell gap on business page ────────────────────── */
.page-business .section-shell { padding-top: 0; }

/* ── Image fallback (если PNG не загрузился) ──────────────────── */
.page-business .biz-visual--placeholder {
    min-height: 360px;
    background:
        radial-gradient(60% 60% at 50% 40%, rgba(77,139,255,0.22), transparent 70%),
        radial-gradient(40% 40% at 70% 70%, rgba(166,247,208,0.12), transparent 70%),
        linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
@media (min-width: 960px) {
    .page-business .biz-hero__visual.biz-visual--placeholder { min-height: 520px; }
    .page-business .biz-advantages__visual.biz-visual--placeholder { min-height: 480px; }
}

/* ── Sprint UX fixes (2026-05-19) ─────────────────────────── */

/* G2: Eyebrow same style as landing */
.page-business .eyebrow {
    color: var(--accent-strong);
    background: var(--accent-soft);
    border: 1px solid rgba(77, 139, 255, 0.24);
}

/* G1: Hero highlights — accent color values */
.page-business .biz-hero__highlight strong { color: var(--accent-strong); }

/* G3: SVG bullet icons — neon blue */
.page-business .biz-bullet__icon {
    color: var(--accent-strong);
    filter: drop-shadow(0 0 6px rgba(77, 139, 255, 0.5));
}
.page-business .biz-bullet__icon svg { display: block; }

/* G4: Legal role names accent */
.page-business .biz-accent { color: var(--accent-strong); }

/* G4: Legal arrows SVG */
.page-business .biz-legal__arrow { color: var(--accent-strong); font-size: inherit; }
.page-business .biz-legal__arrow svg { display: block; }
@media (max-width: 759px) {
    .page-business .biz-legal__arrow svg { transform: rotate(90deg); }
    .page-business .biz-legal__arrow { display: flex; justify-content: center; }
}

/* G5: Connection card title blue */
.page-business .biz-connection-card__head h3 { color: var(--accent-strong); }

/* G5: Badge (success/mint) */
.page-business .biz-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 6px;
}
.page-business .biz-badge--success {
    color: var(--success);
    background: rgba(166, 247, 208, 0.12);
    border: 1px solid rgba(166, 247, 208, 0.3);
}

/* G6: Cases — company name blue, segment white, metrics tighter */
.page-business .biz-case__company { color: var(--accent-strong); }
.page-business .biz-case__segment { color: var(--text); font-size: 13px; }
.page-business .biz-case__metrics span { color: var(--text); line-height: 1.2; }
.page-business .biz-case__metrics { gap: 4px; }
.page-business .biz-case__toggle {
    border-color: var(--accent);
    color: var(--text);
}

/* F4: FAQ full width items */
.page-business .biz-faq__list { width: 100%; }
.page-business .faq-item { width: 100%; min-width: 0; box-sizing: border-box; }

/* G7: Demo perks align top */
.page-business .biz-demo__perks { padding-top: 24px; }
.page-business .biz-demo__perks h3 { margin-top: 0; margin-bottom: 16px; }

/* M2: Thanks icon — green checkmark */
.page-business .biz-demo__thanks-icon { color: var(--success); }

/* M5: Cafe image — object-fit cover, fill visual area */
.page-business .biz-advantages__img { max-height: none; object-fit: cover; }

/* M1: moved below R2 overrides */

/* F3: fieldset reset (safety) */
.page-business .biz-field--choice { border: none; padding: 0; margin: 0; }

/* Header: nav biz link — blue only in header-actions (desktop) */
.header-actions .button--biz { color: var(--accent-strong); font-weight: 600; }
.site-nav__cta--biz { font-weight: 600; }

/* M4: mobile-only nav links (visible in hamburger, hidden on desktop) */
.nav-mobile-only { display: none; }
@media (max-width: 959px) {
    .site-nav.is-open .nav-mobile-only { display: block; }
    .site-nav.is-open .site-nav__cta--biz {
        display: inline-block;
        text-align: center;
        padding: 10px 0;
        border: 1px solid var(--border);
        border-radius: 999px;
        color: var(--text-soft) !important;
        font-weight: 600;
        width: 100%;
        margin-top: 8px;
        text-decoration: none;
    }
    .site-nav.is-open .nav-mobile-only.is-active::after { display: none; }
    .site-nav.is-open .site-nav__cta--biz.is-active {
        border-color: var(--accent);
        color: var(--accent-strong) !important;
        background: var(--accent-soft);
    }
    .site-nav.is-open .site-nav__cta--ghost.is-active {
        border-color: var(--accent);
        color: var(--accent-strong) !important;
    }
    .site-nav.is-open .site-nav__cta--ghost {
        display: inline-block;
        text-align: center;
        padding: 10px 0;
        border: 1px solid var(--border);
        border-radius: 999px;
        width: 100%;
        margin-top: 4px;
    }
    .site-nav.is-open .site-nav__cta--primary {
        display: inline-block;
        text-align: center;
        padding: 10px 0;
        background: var(--accent);
        border-radius: 999px;
        color: var(--text) !important;
        width: 100%;
        margin-top: 4px;
        font-weight: 600;
    }
    .site-nav.is-open .site-nav__cta--soft {
        display: inline-block;
        text-align: center;
        padding: 8px 0;
        color: var(--text-soft) !important;
    }
}

/* ── R2 fixes (2026-05-19) ────────────────────────────────── */

/* Hero: eyebrow hidden on B2B page */
.page-business .biz-hero .eyebrow {
    font-size: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    height: 0;
    overflow: hidden;
    display: block;
}

/* Hero: shift image right, use more space */
@media (min-width: 960px) {
    .page-business .biz-hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        column-gap: 24px;
    }
    .page-business .biz-hero__visual {
        justify-self: end;
        max-width: 540px;
    }
}

/* Hero: УТП cleaner layout */
.page-business .biz-hero__highlights {
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.page-business .biz-hero__highlight {
    padding: 14px 16px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.page-business .biz-hero__highlight:last-child { border-right: none; }
.page-business .biz-hero__highlight strong {
    font-size: 17px;
    margin-bottom: 2px;
}
.page-business .biz-hero__highlight span { font-size: 12px; }

/* M1: Highlights vertical on mobile (must be after R2 overrides) */
@media (max-width: 959px) {
    .page-business .biz-hero__highlights { grid-template-columns: 1fr; }
    .page-business .biz-hero__highlight {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
    }
    .page-business .biz-hero__highlight:last-child { border-bottom: none; }
}

/* Advantages: images fill visual, narrow padding, centered body */
.page-business .biz-advantages__visual { padding: 8px; }
@media (min-width: 960px) {
    .page-business .biz-advantages__body { align-self: center; }
}

/* Advantage bullet icons: vertically centered */
.page-business .biz-bullet { align-items: center; }
.page-business .biz-bullet__icon { align-self: center; }

/* Legal card icons: SVG styled, vertically centered */
.page-business .biz-legal-card__icon {
    font-size: 0;
    color: var(--accent-strong);
    filter: drop-shadow(0 0 6px rgba(77, 139, 255, 0.5));
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.page-business .biz-legal-card__icon svg { display: block; }
.page-business .biz-legal-card__head { align-items: center; }

/* Connection card: badge right-aligned */
.page-business .biz-connection-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.page-business .biz-connection-card__head .biz-badge { margin-left: auto; }
.page-business .biz-connection-card__head h3,
.page-business .biz-connection-card__head p { width: 100%; }

/* Lighter blue for accent headings */
.page-business .biz-connection-card__head h3 { color: #9ac2ff; }
.page-business .biz-case__company { color: #9ac2ff; }

/* Cases: independent expand, no stretch */
.page-business .biz-cases__grid { align-items: start; }
.page-business .biz-case {
    display: flex;
    flex-direction: column;
}

/* Cases metrics: compact */
.page-business .biz-case__metrics { gap: 4px; }
.page-business .biz-case__metrics li { min-width: 0; }
.page-business .biz-case__metrics span {
    font-size: 10px;
    line-height: 1.1;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Demo perks: justify text, bullet list formatting */
.page-business .biz-demo__perks ul { list-style: disc; padding-left: 18px; }
.page-business .biz-demo__perks li {
    text-align: left;
}
.page-business .biz-demo__perks li strong { color: var(--text); }
.page-business .biz-demo__perks li span { color: var(--text-soft); }

/* All description text: justify */
.page-business .biz-advantages__lead,
.page-business .biz-case__result,
.page-business .biz-legal-card__short,
.page-business .lead-text {
    text-align: justify;
    hyphens: auto;
}

/* FAQ: stable width */

/* Mobile: advantages header (eyebrow+title) above image */
.page-business .biz-advantages__header { display: none; }
.page-business .biz-adv-desktop-only { display: block; }
@media (max-width: 959px) {
    .page-business .biz-advantages__header { display: block; }
    .page-business .biz-advantages__header .eyebrow { margin-bottom: 8px; }
    .page-business .biz-advantages__header .biz-advantages__title { margin-bottom: 0; }
    .page-business .biz-adv-desktop-only { display: none; }
}

/* Mobile connection card: badges stacked left-aligned */
@media (max-width: 959px) {
    .page-business .biz-connection-card__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-business .biz-connection-card__head .biz-badge { margin-left: 0; }
}

/* Cases: equalize collapsed height */
.page-business .biz-case { min-height: 290px; }

/* Footer: vertical divider between nav and requisites */
@media (min-width: 960px) {
    .page-business .footer-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 0 32px;
        align-items: start;
    }
    .page-business .footer-groups { grid-column: 1; }
    .page-business .footer-requisites {
        grid-column: 3;
        border-left: none;
        padding-left: 0;
    }
    .page-business .footer-inner::before {
        content: "";
        grid-column: 2;
        grid-row: 1;
        width: 1px;
        height: 100%;
        background: var(--border);
        align-self: stretch;
    }
    .page-business .footer-bottom {
        grid-column: 1 / -1;
    }
}

/* Fix WebKit border rendering artifacts with backdrop-filter */
.glass-panel,
.biz-legal-card,
.biz-case,
.biz-connection-card,
.biz-demo__perks,
.biz-demo__form,
.faq-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ── Cookie consent banner ───────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    width: calc(100% - 32px);
    max-width: 560px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
    flex: 1;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0;
}
.cookie-banner__link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.cookie-banner__link:hover { color: var(--accent-strong); }
.cookie-banner__actions {
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .button { width: 100%; }
}
