/* /avito product demos. Loaded only on that page. */

.avd-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.avd-copy > p {
    margin: 0 0 12px;
    color: #334155;
    line-height: 1.55;
}

.avd-stage {
    min-width: 0;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.88));
    border: 1px solid rgba(49, 94, 251, 0.1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(6px);
}

.avd-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.avd-bar button,
.avd-send {
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
    padding: 6px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.avd-bar button.is-on,
.avd-send {
    background: #2a3480;
    border-color: #2a3480;
    color: #fff;
}

.avd-inbox {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 10px;
    min-width: 0;
}

.avd-list,
.avd-thread,
.avd-card {
    min-width: 0;
    background: #f8fafc;
    border-radius: 14px;
    padding: 10px;
}

.avd-chat,
.avd-city {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    font: inherit;
}

.avd-chat.is-on,
.avd-city.is-on {
    background: #fff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.avd-chat small,
.avd-meta {
    display: block;
    color: #64748b;
    font-size: 11px;
}

.avd-chat b,
.avd-row b {
    display: block;
    font-size: 13px;
    font-weight: 650;
}

.avd-bubble {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.avd-bubble.is-out {
    background: #e8eefc;
    margin-left: 18px;
}

.avd-note {
    margin: 8px 0 0;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
}

.avd-note[hidden],
.avd-only[hidden],
.avd-chat[hidden],
.avd-card[hidden] {
    display: none;
}

.avd-card-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

.avd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.avd-table th,
.avd-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid #e2e8f0;
}

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

.avd-metrics div {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    min-width: 0;
}

.avd-metrics b {
    display: block;
    font-size: 13px;
}

.avd-metrics span {
    color: #64748b;
    font-size: 12px;
}

.avd-beta {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
}

/* Funnel blocks */

/* Abstract ribbon baked into page background — never covers text */
body.landing-body.avd-body {
    --avd-ink: #0f172a;
    --avd-muted: #4b5565;
    --avd-blue: #315efb;
    --avd-navy: #2a3480;
    --avd-lilac: #7657d6;
    --avd-green: #168a5b;
    --avd-avito-blue: #0af;
    --avd-avito-lime: #97cf26;
    --avd-surface: rgba(255, 255, 255, 0.72);
    --avd-surface-strong: rgba(255, 255, 255, 0.9);
    background-color: #f4f6fa;
    background-image:
        linear-gradient(108deg,
            transparent 0%,
            transparent 34%,
            rgba(49, 94, 251, 0.09) 40%,
            rgba(118, 87, 214, 0.07) 48%,
            rgba(10, 170, 255, 0.065) 56%,
            rgba(22, 138, 91, 0.085) 64%,
            transparent 72%,
            transparent 100%),
        radial-gradient(ellipse 50% 40% at 12% 18%, rgba(49, 94, 251, 0.07), transparent 70%),
        radial-gradient(ellipse 45% 35% at 88% 72%, rgba(22, 138, 91, 0.065), transparent 70%);
    background-attachment: fixed;
}

.avd-main {
    position: relative;
    overflow: clip;
}

.avd-main > section {
    position: relative;
    z-index: 1;
}

.avd-display {
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.avd-main .lp-section-head h2.avd-display,
.avd-compare-head h2.avd-display {
    font-size: clamp(28px, 4.2vw, 44px);
    max-width: 16ch;
}

.avd-main .lp-section-head .lp-kicker::before,
.avd-copy .lp-kicker::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 999px;
    background: #315efb;
    box-shadow: 0 0 0 5px rgba(49, 94, 251, 0.14);
    vertical-align: middle;
}

/* Avito-friendly hero: Avito palette (blue / green / lilac / red) as soft orbs */
.avd-hero-stage {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f4f7ff 0%, #ffffff 55%, #f2fbf6 100%);
}

.avd-hero-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(120px, 18%);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(244, 246, 250, 0), #f4f6fa);
}

.avd-hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(30px);
    opacity: .75;
    pointer-events: none;
}

.avd-hero-orb-a {
    top: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #97cf26 0%, rgba(151, 207, 38, 0) 70%);
}

.avd-hero-orb-b {
    right: -120px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    background:
        radial-gradient(circle at 40% 40%, #a169f7 0%, rgba(161, 105, 247, 0) 62%),
        radial-gradient(circle at 70% 70%, #0af 0%, rgba(0, 170, 255, 0) 60%);
}

.avd-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}

.avd-hero .lp-hero-inner-v2 {
    position: relative;
    z-index: 1;
}

.avd-hero .lp-hero-badge-tag {
    background: linear-gradient(90deg, #0af, #97cf26 55%, #a169f7);
    color: #fff;
}

.avd-hero .avd-stage {
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
}

.avd-stage-hint {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
}

.avd-band,
.avd-band-soft,
.avd-compare-sec {
    position: relative;
    isolation: isolate;
    background: transparent;
}

.avd-band::before,
.avd-band-soft::before,
.avd-compare-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Soft fade in/out so neighboring sections have no hard seam */
.avd-band::before {
    background: linear-gradient(180deg,
        rgba(245, 247, 251, 0) 0%,
        rgba(245, 247, 251, 0.55) 10%,
        rgba(238, 242, 251, 0.72) 28%,
        rgba(238, 242, 251, 0.72) 72%,
        rgba(245, 247, 251, 0.55) 90%,
        rgba(245, 247, 251, 0) 100%);
}

.avd-band-soft::before {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 10%,
        rgba(246, 248, 252, 0.55) 30%,
        rgba(246, 248, 252, 0.55) 70%,
        rgba(255, 255, 255, 0.35) 90%,
        rgba(255, 255, 255, 0) 100%);
}

.avd-compare-sec::before {
    background: linear-gradient(180deg,
        rgba(239, 244, 255, 0) 0%,
        rgba(239, 244, 255, 0.35) 12%,
        rgba(239, 244, 255, 0.5) 32%,
        rgba(239, 244, 255, 0.5) 68%,
        rgba(239, 244, 255, 0.35) 88%,
        rgba(239, 244, 255, 0) 100%);
}

/* Telegram / MAX */

.avd-tg {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
}

.avd-tg-msg {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border-left: 3px solid #315efb;
}

.avd-tg-msg b,
.avd-tg-msg span {
    display: block;
    font-size: 13px;
}

.avd-tg-msg span {
    margin-top: 4px;
    color: #4b5565;
}

.avd-tg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.avd-tg-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #dbe3ee;
    background: #fff;
    font-size: 13px;
    font-weight: 650;
}

.avd-bubble[hidden] {
    display: none;
}

/* Tools grid */

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

.avd-tool {
    display: block;
    min-width: 0;
    padding: 18px 16px;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.78), rgba(244, 247, 255, 0.9));
    border: 1px solid rgba(49, 94, 251, 0.1);
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.avd-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(49, 94, 251, 0.22);
}

.avd-tool span {
    display: block;
    margin-bottom: 6px;
    color: #315efb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.avd-tool b {
    display: block;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.avd-tool p {
    margin: 6px 0 0;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.45;
}

.avd-tool-all {
    background: linear-gradient(135deg, #2a3480, #315efb);
    color: #fff;
}

.avd-tool-all span,
.avd-tool-all p {
    color: rgba(255, 255, 255, 0.85);
}

/* Hero desk mockup */

.avd-desk {
    min-width: 0;
    border-radius: 18px;
    background: linear-gradient(165deg, #ffffff, #f4f7ff);
    border: 1px solid rgba(49, 94, 251, 0.12);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.avd-desk-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 11px;
    color: #64748b;
}

.avd-desk-dots {
    display: inline-flex;
    gap: 5px;
}

.avd-desk-dots i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
}

.avd-desk-url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avd-desk-live {
    color: #168a5b;
    font-weight: 700;
}

.avd-desk-body {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
}

.avd-desk-nav {
    display: grid;
    align-content: start;
    gap: 2px;
    padding: 10px 8px;
    background: #2a3480;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.avd-desk-nav span {
    padding: 5px 8px;
    border-radius: 8px;
}

.avd-desk-nav .avd-desk-nav-sec {
    margin-top: 6px;
    padding-bottom: 2px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.avd-desk-nav .is-on {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
}

.avd-desk-main {
    min-width: 0;
    padding: 10px;
}

.avd-desk .avd-stage-hint {
    padding: 0 12px 10px;
}

.avd-chat em,
.avd-bubble em {
    float: right;
    color: #315efb;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

/* Flow stepper */

.avd-flow button {
    font-size: 12px;
}

.avd-flow-hint {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

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

.avd-kanban-col {
    min-width: 0;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    min-height: 92px;
}

.avd-kanban-col > span {
    display: block;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid var(--c, #315efb);
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
}

.avd-kanban-card {
    padding: 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.avd-kanban-card.is-new {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.avd-kanban-card b,
.avd-kanban-card small {
    display: block;
    font-size: 12px;
}

.avd-kanban-card small {
    color: #64748b;
    font-size: 11px;
}

.avd-task {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
}

.avd-task i {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #315efb;
    flex: none;
}

.avd-task b,
.avd-task small {
    display: block;
    font-size: 13px;
}

.avd-task small {
    color: #64748b;
    font-size: 11px;
}

.avd-access {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.avd-access span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 12px;
    text-decoration: line-through;
}

.avd-access span.is-on {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.avd-code {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: #0f172a;
    color: #c7d2fe;
    font-size: 12px;
    word-break: break-all;
}

.avd-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
    margin-top: 12px;
    padding: 0 4px;
}

.avd-bars i {
    flex: 1;
    height: var(--h, 40%);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #315efb, #93b4ff);
}

.avd-ok {
    color: #168a5b !important;
}

.avd-drop {
    padding: 22px;
    border-radius: 12px;
    border: 2px dashed #bfdbfe;
    background: #fff;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Module catalog */

.avd-catalog {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.avd-catalog-nav {
    display: grid;
    gap: 6px;
}

.avd-catalog-nav button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    color: #0f172a;
    cursor: pointer;
}

.avd-catalog-nav button:hover {
    border-color: #bfdbfe;
}

.avd-catalog-nav button.is-on {
    background: #2a3480;
    border-color: #2a3480;
    color: #fff;
}

.avd-catalog-nav button:focus-visible,
.avd-bar button:focus-visible,
.avd-send:focus-visible,
.avd-chat:focus-visible,
.avd-tool:focus-visible {
    outline: 3px solid rgba(49, 94, 251, 0.45);
    outline-offset: 2px;
}

.avd-catalog-stage {
    min-height: 220px;
}

/* Trust */

.avd-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 24px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(244, 247, 255, 0.95), rgba(242, 251, 246, 0.92)),
        linear-gradient(90deg, rgba(49, 94, 251, 0.08), transparent 40%, rgba(22, 138, 91, 0.08));
    border: 1px solid rgba(49, 94, 251, 0.1);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.avd-trust div {
    min-width: 0;
}

.avd-trust b {
    display: block;
    margin-bottom: 8px;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.avd-trust b::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 999px;
    background: #168a5b;
    color: #fff;
    font-size: 12px;
    font-family: var(--lp-font, inherit);
    letter-spacing: 0;
}

.avd-trust p {
    margin: 0;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.5;
}

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

.avd-pains article {
    position: relative;
    min-width: 0;
    padding: 22px 18px 20px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.4), #e8efff);
    border: 1px solid rgba(49, 94, 251, 0.14);
    overflow: hidden;
}

.avd-pains article:nth-child(2) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.4), #eee6ff);
    border-color: rgba(118, 87, 214, 0.18);
}

.avd-pains article:nth-child(3) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.4), #daf3e8);
    border-color: rgba(22, 138, 91, 0.18);
}

.avd-pains article:nth-child(4) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.4), #dbf3ff);
    border-color: rgba(10, 170, 255, 0.2);
}

.avd-pains span {
    display: block;
    margin-bottom: 18px;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    color: rgba(49, 94, 251, 0.28);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.85;
}

.avd-pains article:nth-child(2) span { color: rgba(118, 87, 214, 0.3); }
.avd-pains article:nth-child(3) span { color: rgba(22, 138, 91, 0.3); }
.avd-pains article:nth-child(4) span { color: rgba(10, 170, 255, 0.32); }

.avd-pains h3,
.avd-steps h3,
.avd-who h3 {
    margin: 0 0 8px;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.avd-pains p,
.avd-steps p,
.avd-who p {
    margin: 0;
    color: #4b5565;
    font-size: 14px;
    line-height: 1.55;
}

.avd-statement {
    position: relative;
    margin-top: 36px;
    padding: 36px 32px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(42, 52, 128, 0.96) 0%, rgba(49, 94, 251, 0.94) 55%, rgba(118, 87, 214, 0.9) 100%);
    overflow: hidden;
}

.avd-statement::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -40%;
    width: 48%;
    height: 180%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 70%);
    transform: rotate(18deg);
    pointer-events: none;
}

.avd-statement-mark {
    position: absolute;
    right: 24px;
    top: 12px;
    margin: 0;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.avd-statement h3,
.avd-statement .avd-display {
    position: relative;
    margin: 0 0 14px;
    max-width: 18ch;
    font-size: clamp(24px, 3.6vw, 36px);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.avd-statement p {
    position: relative;
    margin: 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}

.avd-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.avd-steps li {
    position: relative;
    min-width: 0;
    padding: 24px 20px 22px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(239, 244, 255, 0.95));
    border: 1px solid rgba(49, 94, 251, 0.1);
}

.avd-steps li:nth-child(2) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(245, 241, 255, 0.95));
    border-color: rgba(118, 87, 214, 0.14);
}

.avd-steps li:nth-child(3) {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(236, 250, 244, 0.95));
    border-color: rgba(22, 138, 91, 0.14);
}

.avd-steps span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #315efb;
    color: #fff;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.avd-steps li:nth-child(2) span { background: #7657d6; }
.avd-steps li:nth-child(3) span { background: #168a5b; }

.avd-small {
    color: #64748b !important;
    font-size: 14px;
}

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

.avd-who article {
    min-width: 0;
    padding: 22px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(239, 244, 255, 0.92));
    border: 1px solid rgba(49, 94, 251, 0.12);
    border-top: 4px solid #315efb;
}

.avd-who article:nth-child(2) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(245, 241, 255, 0.92));
    border-color: rgba(118, 87, 214, 0.14);
    border-top-color: #7657d6;
}

.avd-who article:nth-child(3) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(236, 250, 244, 0.92));
    border-color: rgba(22, 138, 91, 0.14);
    border-top-color: #168a5b;
}

.avd-who-tag {
    margin: 0 0 10px !important;
    color: #315efb !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.avd-who article:nth-child(2) .avd-who-tag { color: #7657d6 !important; }
.avd-who article:nth-child(3) .avd-who-tag { color: #168a5b !important; }

.avd-who p + p {
    margin-top: 8px;
}

.avd-who b {
    color: #0f172a;
}

.avd-not {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 14px;
}

/* Before → after */

.avd-ba {
    display: grid;
    gap: 12px;
}

.avd-ba-labels {
    display: grid;
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
    gap: 14px;
    padding: 0 6px 2px;
}

.avd-ba-topic-spacer,
.avd-ba-arrow-spacer {
    display: block;
}

.avd-ba-pair-head {
    align-items: end;
}

.avd-ba-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.avd-ba-label.is-before {
    color: #94a3b8;
    padding: 0 20px;
}

.avd-ba-label.is-after {
    color: #168a5b;
    padding: 0 20px;
}

.avd-ba-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.avd-ba-topic {
    display: flex;
    align-items: center;
    padding: 18px 18px;
    font-family: var(--lp-display, "Syne", "Manrope", system-ui, sans-serif);
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.035em;
    color: #0f172a;
}

.avd-ba-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-width: 0;
}

.avd-ba-before,
.avd-ba-after {
    margin: 0;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.4;
}

.avd-ba-before {
    color: #64748b;
    background: linear-gradient(135deg, #e8edf5, #dde5f0);
    border-radius: 14px 0 0 14px;
    text-decoration: line-through;
    text-decoration-color: rgba(100, 116, 139, 0.55);
}

.avd-ba-after {
    color: #0b3d2a;
    font-weight: 750;
    background: linear-gradient(135deg, #d5f5e5, #bfeeda);
    border-radius: 0 14px 14px 0;
    box-shadow: inset 0 0 0 1px rgba(22, 138, 91, 0.18);
}

.avd-ba-arrow {
    position: relative;
    align-self: center;
    width: 32px;
    height: 32px;
    margin: 0 -16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(22, 138, 91, 0.3);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    z-index: 1;
}

.avd-ba-arrow::before {
    content: "→";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #168a5b;
    font-size: 15px;
    font-weight: 800;
}

.avd-ba-row:nth-child(odd) .avd-ba-after {
    color: #1e3a8a;
    background: linear-gradient(135deg, #dbe7ff, #c9d9ff);
    box-shadow: inset 0 0 0 1px rgba(49, 94, 251, 0.18);
}

.avd-ba-row:nth-child(odd) .avd-ba-arrow {
    border-color: rgba(49, 94, 251, 0.3);
}

.avd-ba-row:nth-child(odd) .avd-ba-arrow::before {
    color: #315efb;
}

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

@media (max-width: 900px) {
    body.landing-body.avd-body {
        --lp-gutter: 24px;
    }
    .avd-steps,
    .avd-who,
    .avd-pains,
    .avd-catalog {
        grid-template-columns: 1fr;
    }
    .avd-catalog-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .avd-hero-orb {
        filter: blur(28px);
        opacity: .45;
    }
    .avd-hero-stage::after {
        height: 56px;
    }
    .avd-main .lp-section-head h2.avd-display,
    .avd-compare-head h2.avd-display {
        max-width: none;
        font-size: clamp(26px, 7.2vw, 36px);
    }
    .avd-stage {
        backdrop-filter: none;
    }
    .avd-desk-body {
        grid-template-columns: 1fr;
    }
    .avd-desk-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .avd-desk-nav::-webkit-scrollbar {
        display: none;
    }
    .avd-desk-nav .avd-desk-nav-sec {
        display: none;
    }
    .avd-desk-nav span {
        flex: none;
        white-space: nowrap;
    }
    .avd-bar,
    .avd-flow .avd-bar,
    .avd-tg-actions {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .avd-bar::-webkit-scrollbar,
    .avd-flow .avd-bar::-webkit-scrollbar,
    .avd-tg-actions::-webkit-scrollbar {
        display: none;
    }
    .avd-bar button,
    .avd-flow .avd-bar button,
    .avd-tg-chip,
    .avd-send {
        flex: none;
        white-space: nowrap;
    }
    .avd-ba-row {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        background: transparent;
        border: 0;
    }
    .avd-ba-labels {
        display: none;
    }
    .avd-ba-topic {
        padding: 4px 4px 8px;
        font-size: 15px;
    }
    .avd-ba-pair {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .avd-ba-before,
    .avd-ba-after {
        border-radius: 14px;
        padding: 14px 16px;
    }
    .avd-ba-before {
        margin-bottom: 0;
        border-radius: 14px 14px 0 0;
    }
    .avd-ba-after {
        border-radius: 0 0 14px 14px;
    }
    .avd-ba-arrow {
        margin: -12px auto;
    }
    .avd-ba-arrow::before {
        content: "↓";
    }
    .avd-statement {
        padding: 28px 22px;
    }
    .avd-statement-mark {
        right: 12px;
        top: 8px;
        font-size: 64px;
    }
    .avd-statement h3,
    .avd-statement .avd-display {
        max-width: none;
    }
    .avd-hero .lp-hero-guarantee {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        row-gap: 4px;
    }
    .avd-hero .lp-hero-guarantee .dot {
        display: none;
    }
    .avd-hero .lp-hero-badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.35;
    }
    .avd-desk-top {
        gap: 8px;
    }
    .avd-desk-url {
        font-size: 10px;
    }
    .avd-split,
    .avd-inbox {
        grid-template-columns: 1fr;
    }
    .avd-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .avd-tools,
    .avd-trust {
        grid-template-columns: 1fr;
    }
    .avd-catalog-nav {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .avd-catalog-nav::-webkit-scrollbar {
        display: none;
    }
    .avd-catalog-nav button {
        flex: none;
        white-space: nowrap;
    }
    .avd-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    .avd-kanban {
        grid-template-columns: 1fr;
    }
    .avd-kanban-col {
        min-height: 0;
    }
    .avd-pains span {
        font-size: 40px;
        margin-bottom: 12px;
    }
    .avd-pains article,
    .avd-steps li,
    .avd-who article {
        padding: 18px 16px;
    }
    .avd-copy h2 {
        font-size: clamp(24px, 7vw, 32px);
        letter-spacing: -0.03em;
        line-height: 1.15;
    }
    .avd-card-line {
        flex-wrap: wrap;
        gap: 4px;
    }

    /* Phone reading text only — display headings untouched */
    .avd-hero .lp-hero-lead {
        font-size: 14px;
        line-height: 1.5;
    }
    .avd-hero .lp-hero-guarantee {
        font-size: 12px;
        line-height: 1.4;
    }
    .avd-main .lp-section-head > p {
        font-size: 14px;
        line-height: 1.55;
    }
    .avd-copy > p {
        font-size: 14px;
        line-height: 1.5;
    }
    .avd-pains p,
    .avd-steps p,
    .avd-who p {
        font-size: 13px;
        line-height: 1.5;
    }
    .avd-small,
    .avd-not,
    .avd-flow-hint,
    .avd-stage-hint {
        font-size: 12px !important;
        line-height: 1.45;
    }
    .avd-trust p,
    .avd-tool p,
    .avd-statement p {
        font-size: 13px;
        line-height: 1.5;
    }
    .avd-ba-before,
    .avd-ba-after {
        font-size: 14px;
        line-height: 1.35;
    }
    .avd-cta-section .lp-cta-lead,
    .avd-main .lp-cta-lead {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 390px) {
    .avd-stage {
        padding: 10px;
    }
    .avd-bar button,
    .avd-send {
        font-size: 12px;
        padding: 6px 10px;
    }
    .avd-desk-nav span:nth-child(n+6) {
        display: none;
    }
    .avd-hero-stage {
        padding-left: 10px;
        padding-right: 10px;
    }
}
