/* Два снимка программы с примерами диалогов Telegram. */
.product-showcase { position: relative; isolation: isolate; scroll-margin-top: 0; }
.product-showcase > .showcase-screen { display: grid; justify-items: center; }
.product-showcase > .showcase-screen > img { width: auto; max-width: 100%; height: auto; max-height: var(--showcase-height, calc(100svh - 48px)); object-fit: contain; }
.product-showcase--invoice { padding-bottom: 0; }
.time-section > .section-meta { justify-content: flex-end; margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 16px; }
.product-showcase--budget { margin-top: clamp(36px, 5vw, 72px); }
.tg-device { position: absolute; z-index: 1; zoom: var(--tg-scale, 1); color: #1c2732; font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.4; overflow: hidden; }
.tg-phone { right: 20px; bottom: 16px; width: 292px; border: 7px solid #1a202a; border-radius: 37px; background: #fff; box-shadow: 0 22px 42px -14px #17202a5c, 0 0 0 1px #68717d; }
.tg-status { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 3px 17px 0; font-size: 11px; font-weight: 650; }
.tg-island { display: block; width: 73px; height: 20px; border-radius: 20px; background: #171d26; }
.tg-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 62px; background: #fff; border-bottom: 1px solid #dce5ed; }
.tg-chat-head strong { display: block; font-size: 15px; font-weight: 650; }
.tg-chat-head div > span { display: block; margin-top: 1px; color: #778794; font-size: 12px; }
.tg-avatar { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; background: #e7edff; }
.dashboard-preview .tg-avatar img { width: 26px; height: 26px; border: 0; border-radius: 0; }
.tg-back { color: #338cd1; font: 32px/1 Arial, sans-serif; margin-right: 2px; }
.tg-more { margin-left: auto; color: #7f909e; font-size: 23px; }
.tg-chat-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px 20px; background-color: #dce7e9; background-image: radial-gradient(#a7bcc633 .8px, transparent .8px); background-size: 13px 13px; }
.tg-date { align-self: center; margin-bottom: 3px; padding: 3px 10px; border-radius: 12px; background: #9bb0b978; color: #fff; font-size: 11px; line-height: 1.4; }
.tg-message { max-width: 94%; padding: 9px 11px 6px; border-radius: 12px; box-shadow: 0 1px 2px #5c74831a; }
.tg-message p { font-size: inherit; line-height: 1.45; }
.tg-message p + p { margin-top: 7px; }
.tg-outgoing { align-self: flex-end; border-bottom-right-radius: 3px; background: #e4ffc7; }
.tg-incoming { background: #fff; border-bottom-left-radius: 3px; }
.tg-time { display: block; margin-top: 3px; font-size: 10px; line-height: 1.3; color: #83949d; text-align: right; }
.tg-outgoing .tg-time { color: #6d9c59; }
.tg-file { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.tg-file-icon { display: grid; place-items: center; width: 36px; height: 42px; border-radius: 6px; background: #489bcd; color: white; font-size: 10px; font-weight: 650; }
.tg-file strong { display: block; font-size: 12px; font-weight: 600; }
.tg-file div > span { display: block; margin-top: 3px; font-size: 11px; color: #83949d; }
.tg-composer { display: flex; align-items: center; gap: 11px; padding: 12px 13px; background: white; color: #99a6b1; }
.tg-composer > span { flex: 1; font-size: 13px; }
.tg-composer svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: #94a5b2; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tg-home { margin: 0 auto 7px; width: 91px; height: 4px; background: #1a202a; border-radius: 4px; }
.tg-chart { margin: 12px 0 10px; font-variant-numeric: tabular-nums; }
.tg-chart-unit { display: block; margin-bottom: 5px; color: #627d8e; font-size: 10px; }
.tg-chart-bars { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
.tg-chart-month { display: grid; grid-template-rows: 14px 74px 16px; gap: 4px; align-items: end; text-align: center; }
.tg-chart-month b { font-size: 10px; font-weight: 500; color: #527b94; }
.tg-chart-month i { display: block; height: var(--bar); min-height: 1px; border-radius: 3px 3px 0 0; background: #68b1db; }
.tg-chart-month:nth-child(7) i { background: #338cd1; }
.tg-chart-month span { font-size: 9px; color: #70828c; }
@media (max-width: 900px) {
    .tg-device { position: relative; right: auto; bottom: auto; margin: 16px auto 0; }
    .tg-phone { width: min(292px, calc(100% - 16px)); }
}

/* Светлый финал: выбран первый вариант, 7 ноября 2026. */
#about-befi { padding-block: 34px; }
#about-befi .page-two { gap: 56px; }
#about-befi h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 0; }
#about-befi .eyebrow { display: block; margin-bottom: 12px; font-size: 11px; }
#about-befi .page-copy { font-size: 16px; line-height: 1.65; border-left: 3px solid var(--blue); padding-left: 16px; }
#about-befi .page-copy + .page-copy { margin-top: 14px; }
#about-befi .page-actions { gap: 20px; margin-top: 20px; }
#about-befi .button { padding: 14px 22px; font-size: 14px; }
#about-befi .page-link { font-size: 14px; }
.closing { padding: 0; background: var(--paper); color: var(--ink); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing .eyebrow { flex-shrink: 0; font-size: 11px; letter-spacing: .08em; color: var(--muted); font-weight: 400; }
.closing h2 { margin: 0; max-width: none; font-size: clamp(22px, 2.6vw, 35px); line-height: 1.2; letter-spacing: -.035em; }
.closing h2 br { display: none; }
.closing h2 .serif { color: var(--blue); }
footer.wrap { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr) minmax(260px, 1fr); gap: 8px 36px; align-items: start; min-height: 0; padding-block: 24px; }
footer > .wordmark { grid-column: 1; grid-row: 1; font-size: 32px; line-height: 1.1; }
footer > p:not(.page-footer-legal) { grid-column: 1; grid-row: 2; max-width: none; white-space: nowrap; font-size: 12px; line-height: 1.55; }
footer .page-footer-links { grid-column: 2; grid-row: 1 / span 2; gap: 9px 18px; align-content: start; justify-content: center; text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink); }
footer .page-footer-contacts { grid-column: 3; grid-row: 1 / span 2; gap: 5px; justify-items: end; text-align: right; font-size: 13px; line-height: 1.5; color: var(--ink); }
footer .page-footer-legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.65; }
footer .page-footer-legal a { color: inherit; }
footer a:hover { color: var(--blue); }
@media (max-width: 820px) {
    #about-befi { padding-block: 26px; }
    #about-befi .page-two { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .closing-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .closing h2 { font-size: clamp(22px, 2.6vw, 35px); line-height: 1.25; }
    .closing h2 br { display: initial; }
    footer.wrap { grid-template-columns: minmax(0, 1fr); gap: 15px; padding-block: 24px; }
    footer > .wordmark, footer > p:not(.page-footer-legal), footer .page-footer-links, footer .page-footer-contacts, footer .page-footer-legal { grid-column: 1; grid-row: auto; }
    footer > p:not(.page-footer-legal) { white-space: normal; }
    footer .page-footer-contacts { justify-items: start; text-align: left; }
    footer .page-footer-links { justify-content: flex-start; text-align: left; }
}
