/*
 * YousoroFinance landing «/» (26.11.2026). Continues /register and /onboarding/mode: emerald night, soft light from
 * the top, thin glass lines, the gold-to-mint action; light sections borrow the cabinet's clean surfaces.
 * Meaning is never colour alone: mint «yours», gold «tax», grey «work costs», blue «personal», each with a label.
 */
.yfl {
    --l-night: #071a17;
    --l-night-2: #0a231e;
    --l-glass: rgba(14, 42, 35, .72);
    --l-line: rgba(157, 223, 196, .16);
    --l-text: #eef6f2;
    --l-muted: #a9bdb5;
    --l-mint: #91ddc0;
    --l-gold: #e3c66a;
    --l-blue: #6fb4f7;
    --l-late: #ffa3a8;
    --l-paper: #f3f6f4;
    --l-surface: #ffffff;
    --l-ink: #10221e;
    --l-ink-2: #4a5c56;
    --l-ink-line: rgba(16, 34, 30, .11);
    --l-accent: #0c7a5b;
    --l-gold-ink: #80620f;
    --l-cta: linear-gradient(135deg, #e8c869 0%, #91ddc0 100%);
    --l-ease: cubic-bezier(.22, 1, .36, 1);
    background: var(--l-night);
    color: var(--l-text);
    font-family: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-variant-numeric: tabular-nums;
}
.yfl ::selection { background: rgba(227, 198, 106, .4); }
.yfl strong, .yfl b { color: inherit; }
.yfl h1, .yfl h2, .yfl h3 { margin: 0; text-wrap: balance; font-family: inherit; }
.yfl p { margin: 0; text-wrap: pretty; }
.yfl ul, .yfl ol, .yfl dl, .yfl dd { margin: 0; padding: 0; list-style: none; }
.yfl [hidden] { display: none !important; }
.yfl .yfl-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.yfl .yfl-section { padding: clamp(64px, 8vw, 112px) 0; scroll-margin-top: 72px; }
.yfl .yfl-dark { background: var(--l-night); color: var(--l-text); }
.yfl .yfl-light { background: var(--l-surface); color: var(--l-ink); }
.yfl .yfl-paper { background: var(--l-paper); color: var(--l-ink); }
.yfl .yfl-section h2 { font-size: clamp(31px, 4.1vw, 50px); font-weight: 760; line-height: 1.07; letter-spacing: -.03em; }
.yfl h3 { font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.012em; }
.yfl .yfl-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 56px; align-items: end; margin-bottom: 52px; }
.yfl .yfl-head p { font-size: 17px; line-height: 1.65; color: var(--l-muted); }

/* ── Actions ─────────────────────────────────────────────────────────────── */
.yfl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.yfl-actions--center { justify-content: center; }
.yfl .yfl-btn, .yfl-sticky .yfl-btn {
    display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 14px; font-size: 16px; font-weight: 750; line-height: 1.15; text-align: center; text-decoration: none;
    transition: transform .2s var(--l-ease), box-shadow .2s var(--l-ease), background-color .2s ease, border-color .2s ease;
}
.yfl .yfl-btn--gold, .yfl-sticky .yfl-btn--gold { color: #08201a; background: linear-gradient(135deg, #e8c869 0%, #91ddc0 100%); box-shadow: 0 14px 34px -12px rgba(72, 180, 143, .6); }
.yfl .yfl-btn--gold:hover { color: #08201a; transform: translateY(-1px); box-shadow: 0 20px 40px -12px rgba(110, 205, 165, .75); }
.yfl .yfl-btn--ghost { color: #eef6f2; border-color: rgba(157, 223, 196, .26); background: rgba(255, 255, 255, .04); }
.yfl .yfl-btn--ghost:hover { color: #fff; border-color: rgba(145, 221, 192, .6); background: rgba(145, 221, 192, .09); }
.yfl .yfl-btn--ink { color: #fff; background: #0c6d52; }
.yfl .yfl-btn--ink:hover { color: #fff; background: #0a5c45; transform: translateY(-1px); }
.yfl .yfl-btn:active { transform: translateY(1px); }
.yfl a:focus-visible, .yfl button:focus-visible, .yfl summary:focus-visible { outline: 3px solid rgba(227, 198, 106, .85); outline-offset: 3px; }

.yfl-split { display: flex; gap: 3px; height: 16px; margin-top: 12px; }
.yfl-split i { width: calc(var(--w) * 1%); min-width: 8px; border-radius: 3px; transform-origin: left; animation: yfl-grow .9s var(--l-ease) both .15s; }
.yfl-split i:first-child { border-radius: 8px 3px 3px 8px; }
.yfl-split i:last-child { border-radius: 3px 8px 8px 3px; }
.yfl-split i:nth-child(2) { animation-delay: .5s; }
.yfl-split i:nth-child(3) { animation-delay: .68s; }
@keyframes yfl-grow { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
.yfl .is-yours { --c: #65d9ae; }
.yfl .is-tax { --c: #e3c66a; }
.yfl .is-cost { --c: #5d7a71; }
.yfl .is-work { --c: #65d9ae; }
.yfl .is-free { --c: rgba(238, 246, 242, .16); }
.yfl .is-personal { --c: #6fb4f7; }
.yfl .is-personal2 { --c: #3f82c9; }
.yfl .is-personal3 { --c: #2c5887; }
.yfl-split i { background: var(--c); }
.yfl .yfl-legend { display: grid; gap: 7px; margin-top: 14px; }
.yfl-legend div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.yfl .yfl-legend dt { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: #cfded8; }
.yfl-legend dt::before { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 3px; background: var(--c); content: ""; }
.yfl .yfl-legend dd { font-size: 16px; font-weight: 750; white-space: nowrap; }
.yfl-legend .is-yours dd { color: var(--l-mint); }
.yfl-legend .is-tax dd { color: var(--l-gold); }
.yfl .is-late { color: var(--l-late); }

/* ── 3. «Дело»: one line from the invoice to the money ───────────────────── */
.yfl-flow { background: radial-gradient(50% 36% at 88% 8%, rgba(101, 217, 174, .13), transparent 70%), var(--l-night) !important; }
.yfl .yfl-steps { counter-reset: yfl-step; }
.yfl-step { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: center; padding: 30px 0 30px 62px; scroll-margin-top: 88px; counter-increment: yfl-step; }
.yfl-step::before { position: absolute; top: 28px; left: 0; display: grid; width: 36px; height: 36px; z-index: 1; place-items: center; border: 1px solid rgba(145, 221, 192, .5); border-radius: 50%; background: #0c2a23; font-size: 15px; font-weight: 780; color: var(--l-mint); content: counter(yfl-step); }
.yfl-step::after { position: absolute; top: 64px; bottom: -28px; left: 17px; width: 2px; background: linear-gradient(rgba(145, 221, 192, .45), rgba(145, 221, 192, .14)); content: ""; }
.yfl-step:last-child::after { display: none; }
.yfl-step:last-child::before { border-color: var(--l-gold); color: var(--l-gold); }
.yfl-step__copy h3 { font-size: 23px; color: #f6fbf9; }
.yfl-step__copy p { max-width: 470px; margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--l-muted); }
.yfl-frag { min-width: 0; max-width: 520px; padding: 16px 18px; border: 1px solid var(--l-line); border-radius: 16px; background: var(--l-glass); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); }
.yfl-frag__list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.yfl-frag__list li + li { border-top: 1px solid var(--l-line); }
.yfl-frag__list span { display: grid; min-width: 0; flex: 1; font-size: 15px; font-weight: 700; line-height: 1.35; }
.yfl-frag__list small { font-size: 13px; font-weight: 550; color: var(--l-muted); }
.yfl-frag__list b { font-size: 15px; white-space: nowrap; }
.yfl-frag em { display: inline-flex; min-height: 32px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--l-mint); font-size: 13px; font-weight: 800; font-style: normal; color: #06231a; white-space: nowrap; }
.yfl-frag--chat { display: grid; gap: 8px; justify-items: start; }
.yfl-msg { max-width: 380px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #17443a; font-size: 15px; line-height: 1.5; }
.yfl-msg__key { justify-self: stretch; max-width: 380px; padding: 10px; border-radius: 10px; background: rgba(145, 221, 192, .14); font-size: 14px; font-weight: 750; text-align: center; }
.yfl-msg--done { display: flex; align-items: flex-start; gap: 8px; border: 1px solid var(--l-line); background: transparent; font-size: 14px; color: var(--l-mint); }
.yfl-msg--done i { margin-top: 2px; font-size: 18px; }
.yfl-deal p, .yfl-tax p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.yfl-deal p + p { margin-top: 8px; }
.yfl-deal p b { white-space: nowrap; }
.yfl-deal__bar, .yfl-tax__bar { height: 10px; margin: 14px 0; overflow: hidden; border-radius: 6px; }
.yfl-deal__bar { background: #5d7a71; }
.yfl-deal__bar i { display: block; width: 68.9%; height: 100%; background: #65d9ae; }
.yfl-deal__total { font-weight: 750; }
.yfl-deal__total b { font-size: 24px; color: var(--l-mint); }
.yfl-tax p span { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.yfl-tax p span i { font-size: 19px; color: var(--l-gold); }
.yfl-tax p b { font-size: 20px; white-space: nowrap; }
.yfl-tax p small { font-size: 13px; font-weight: 550; color: var(--l-muted); }
.yfl-tax__bar { background: rgba(227, 198, 106, .16); }
.yfl-tax__bar i { display: block; width: 62.5%; height: 100%; background: var(--l-gold); }
.yfl-tax .yfl-tax__action { justify-content: flex-end; }
.yfl-tax__action em { background: var(--l-gold); }
.yfl-flow__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--l-line); }
.yfl-flow__foot > p { max-width: 640px; font-size: 14px; line-height: 1.65; color: var(--l-muted); }
.yfl-flow__cta { display: grid; max-width: 330px; gap: 10px; justify-items: stretch; }
.yfl-flow__cta small { font-size: 13px; line-height: 1.5; text-align: center; color: var(--l-muted); }

/* ── 8. Final ────────────────────────────────────────────────────────────── */
.yfl-final { background: radial-gradient(70% 70% at 50% 0%, rgba(101, 217, 174, .2), transparent 70%), radial-gradient(35% 45% at 95% 100%, rgba(232, 200, 105, .1), transparent 70%), var(--l-night) !important; }
.yfl-final__inner { text-align: center; }
.yfl-final h2 { max-width: 800px; margin-inline: auto !important; }
.yfl .yfl-final__inner > p { margin-top: 18px; font-size: 17px; color: var(--l-muted); }
.yfl-final .yfl-actions { margin-top: 28px; }
.yfl-final__apps { display: grid; gap: 14px; margin-top: 30px; justify-items: center; }
.yfl .yfl-final__download { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--l-mint); }
.yfl-guides { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--l-line); }
.yfl .yfl-guides a { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; font-size: 14px; color: #cfded8; text-decoration: none; }
.yfl .yfl-guides a:hover { color: var(--l-mint); text-decoration: underline; text-underline-offset: 4px; }

.yfl-sticky { display: none; }

/* ── Tablet and phone ────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .yfl .yfl-head { gap: 14px; margin-bottom: 30px; }
    .yfl-step { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 0 20px 50px; }
    .yfl-step::before { top: 18px; }
    .yfl-step::after { top: 54px; bottom: -18px; }
    .yfl-flow__foot { grid-template-columns: minmax(0, 1fr); }
    .yfl-flow__cta { max-width: none; }
}
@media (max-width: 767.98px) {
    .yfl .yfl-wrap { width: calc(100% - 32px); }
    .yfl .yfl-section { padding: 44px 0; }
    .yfl-frag { padding: 12px 14px; }
    .yfl-frag__list li { flex-wrap: wrap; gap: 6px 12px; }
    .yfl .yfl-flow .yfl-head p { display: none; }
    .yfl-composer__chips { gap: 6px; }
    .yfl .yfl-chip { padding: 0 12px; font-size: 14px; }
    .yfl .yfl-composer__log, .yfl .yfl-composer__log .yfl-composer__empty { min-height: 70px; }
    .yfl .yfl-head { margin-bottom: 16px; }
    .yfl .yfl-head p, .yfl-step__copy p { font-size: 16px; line-height: 1.55; }
    .yfl-step { gap: 10px; padding: 12px 0 14px 46px; }
    .yfl-step::before { top: 14px; width: 32px; height: 32px; }
    .yfl-step::after { top: 48px; bottom: -14px; left: 15px; }
    .yfl-step__copy h3 { font-size: 20px; }
    .yfl-msg { padding: 9px 12px; font-size: 14px; }
    .yfl-msg__key { padding: 8px; }
    .yfl-msg--done { display: none; }
    .yfl-deal__bar, .yfl-tax__bar { margin: 10px 0; }
    .yfl-flow__foot { gap: 16px; margin-top: 16px; padding-top: 18px; }
    .yfl-final .yfl-actions { flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
    .yfl-final .yfl-btn { padding: 0 14px; font-size: 15px; }
    .yfl-final .yfl-btn--gold { flex: 1; }
    .yfl-faq__grid { gap: 18px; }
    .yfl-faq summary { min-height: 56px; font-size: 16px; }
    /* The shared footer, tighter under this long page. */
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__inner { gap: 22px; padding: 28px 0 22px; }
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__columns { gap: 20px 16px; }
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__group { gap: 4px; }
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__group a { line-height: 1.35; }
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__group:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; align-items: start; }
    body:has(.yfl) .yf-footer.yf-public-footer .yf-footer__group:last-child > strong { grid-column: 1 / -1; margin-bottom: 2px; }
    .yfl-sticky:not([hidden]) { position: fixed; z-index: 1030; right: 86px; bottom: calc(14px + env(safe-area-inset-bottom)); left: 14px; display: grid; }
}
@media (max-width: 359.98px) {
    .yfl .yfl-figures { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .yfl *, .yfl *::before, .yfl *::after { animation: none !important; transition: none !important; }
}

/* ══ Hybrid (26.11, second pass): pieces the previous look (.yfn, landing-new.css) does not have ════════════════ */

/* ── Hero: the previous grid (landing-new.css); only the switch and the two added views are new ── */
.yfh .yfh-head { gap: 8px; }
/* The switch is the point of the preview: a dark track on the light cabinet, the open view in the gold-to-mint fill. */
.yfh-seg { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid rgba(16, 34, 30, .5); border-radius: 999px; background: #0d2b22; box-shadow: 0 10px 22px -14px rgba(8, 32, 25, .9); }
.yfn .yfh-seg__btn { display: inline-flex; min-height: 32px; align-items: center; gap: 6px; padding: 0 14px; border: 0; border-radius: 999px; color: #dcefe6; background: transparent; font-family: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.yfn .yfh-seg__btn:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.yfn .yfh-seg__btn:focus-visible { outline: 3px solid rgba(23, 138, 102, .75); outline-offset: 2px; }
.yfn .yfh-seg__btn[aria-pressed="true"] { color: #08201a; background: linear-gradient(135deg, #f0cf6c 0%, #8fe6c2 100%); box-shadow: 0 4px 12px -6px rgba(240, 207, 108, .8); }
/* The three views share one box, so the preview keeps its height whichever is open. */
.yfh-panes { display: grid; }
.yfh-pane { grid-area: 1 / 1; display: grid; min-width: 0; align-content: start; gap: 10px; visibility: hidden; opacity: 0; transition: opacity .28s ease, visibility 0s .28s; }
.yfh-pane[data-pane="all"] { grid-template-rows: auto auto minmax(0, 1fr); align-content: stretch; }
.yfh-pane[data-pane="business"] { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
.yfh-pane.is-active { visibility: visible; opacity: 1; transition: opacity .28s ease; }
.yfh-both { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yfn .yfh-both .yfn-kpi { min-width: 0; }
.yfh-both__work { display: grid; min-width: 0; align-content: center; gap: 2px; padding: 12px 14px; border-radius: 14px; color: #b9d0c6; background: linear-gradient(160deg, #0f3a2f, #08201a); }
.yfh-both__work small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.yfn .yfh-both__work strong { color: #91ddc0; font-size: 23px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.yfh-both__work em { font-size: 12.5px; font-style: normal; }
.yfn .yfh-both__work em b { color: #e3c66a; white-space: nowrap; }
.yfn .yfl.yfh-dark { padding: 12px 14px; border-radius: 14px; background: linear-gradient(160deg, #0f3a2f, #08201a); }
.yfn .yfh-dark .yfh-label { margin: 0; font-size: 13px; color: #b9d0c6; }
.yfn .yfh-dark .yfh-sum { margin: 0; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; white-space: nowrap; }
.yfn .yfh-dark .yfl-split { height: 12px; margin-top: 6px; }
.yfn .yfh-dark .yfh-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
.yfn .yfh-parts dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 550; color: #b9d0c6; }
.yfn .yfh-parts dt::before { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 2px; background: var(--c); content: ""; }
.yfn .yfh-parts dd { margin: 1px 0 0; font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; }
.yfn .yfh-parts .is-yours dd { color: #91ddc0; }
.yfn .yfh-parts .is-tax dd { color: #e3c66a; }
.yfn .yfh-dark .yfh-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; font-size: 13px; color: #b9d0c6; }
.yfn .yfh-line b { font-size: 18px; color: #fff; white-space: nowrap; }
.yfn .yfh-line b small { font-size: 12.5px; font-weight: 550; color: #b9d0c6; }
.yfh-rows { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 6px; min-height: 0; margin: 0; padding: 0; list-style: none; }
.yfh-rows li { display: flex; min-height: 0; align-items: center; gap: 10px; padding: 4px 10px; border: 1px solid var(--yfn-line-light); border-radius: 11px; background: #fff; }
.yfh-rows li > i { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #0c7a5b; background: rgba(12, 122, 91, .1); font-size: 15px; }
.yfh-rows li.is-own > i { color: #1f6fc4; background: rgba(31, 111, 196, .1); }
.yfh-rows span { display: grid; min-width: 0; flex: 1; font-size: 13px; font-weight: 750; line-height: 1.25; }
.yfh-rows span, .yfh-rows small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yfh-rows small { font-size: 12.5px; font-weight: 550; color: #4a5c56; }
.yfh-rows small.is-late { color: #b0414c; }
.yfh-rows b { font-size: 13.5px; white-space: nowrap; }
.yfh-rows b.is-plus { color: #0c7a5b; }
.yfh-float__stack { display: grid; min-width: 0; }
@media (min-width: 1101px) { .yfn .yfh .yfn-float--voice { bottom: -10px; left: -70px; } }
.yfh-float__stack > div { grid-area: 1 / 1; display: grid; min-width: 0; align-content: center; gap: 2px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
.yfh-float__stack > div.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease .05s, transform .3s ease .05s; }
.yfh .yfn-hero__badges .yf-store-badges { flex-wrap: nowrap; }
/* One screen on a 1440×900 laptop: the header, this hero and its ticker. */
@media (min-width: 1101px) {
    .yfn .yfh .yfn-get-app { margin-top: 10px; }
    .yfh .yfn-hero__alt { margin-top: 10px; }
    .yfn .yfh .yfn-hero__assure { margin: 14px 0 0; }
    .yfh .yfn-hero__stage { gap: 18px; padding: 20px 0 12px; }
}
.yfn .yfh .yfn-hero__assure { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ── «Вспомните, куда ушли деньги»: two months in one card ── */
.yfh-memo__top { flex-wrap: wrap; align-items: center; }
.yfh-memo__income { display: inline-grid; }
.yfn .yfh-memo__income strong { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s .3s; }
.yfn .yfh-memo__income strong.is-active { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.yfh-memo__tabs { display: inline-flex; gap: 3px; margin-inline: auto; padding: 4px; border-radius: 999px; background: #e7efeb; }
.yfn .yfh-memo__tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; color: #3d544c; background: transparent; font-family: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.yfn .yfh-memo__tabs button[aria-pressed="true"] { color: #fff; background: #0c6d52; }
.yfn .yfh-memo__tabs button:focus-visible, .yfn .yfh-fog-hide:focus-visible { outline: 3px solid rgba(101, 217, 174, .6); outline-offset: 3px; }
.yfh-memo__panes { display: grid; }
.yfn .yfn-memo.yfh-memo__pane { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.yfn .yfn-memo.yfh-memo__pane.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.yfh-memo__pane .yfn-memo__cols { flex: 1; }
/* The verdict keeps its place while fogged, so lifting the fog moves nothing. */
.yfn .yfh-memo__pane.yfn-memo.is-fogged .yfn-fog__verdict { position: static; visibility: hidden; }
.yfn .yfh-memo__pane .yfn-fog__verdict { margin-top: auto; }
.yfn .yfh-memo__pane .yfn-fog__list { margin-bottom: 14px; }
.yfn .yfh-memo__pane .yfn-fog__list li.is-gold { background: rgba(232, 200, 105, .14); }
.yfn .yfh-memo__pane .yfn-fog__list li.is-gold b { color: #e8c869; }
.yfn .yfh-memo__pane .yfn-fog__list li.is-mint { background: rgba(101, 217, 174, .16); }
.yfn .yfh-memo__pane .yfn-fog__list li.is-mint b { color: #7ce6bf; }
.yfn .yfh-fog-hide { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; margin-top: 8px; padding: 0; border: 0; color: rgba(231, 243, 237, .72); background: transparent; font-family: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.yfn .yfh-fog-hide:hover { color: #fff; }

.yfn .yfh-pain .yfn-bank { margin-top: clamp(28px, 4vw, 48px); }

/* ── «Узнаёте себя?»: solid cards, emerald when picked, one live answer below ── */
.yfn .yfh-mirror .yfn-pain.yfh-pain-card { gap: 14px; padding: 18px 18px 20px; border: 1.5px solid rgba(16, 34, 30, .16); border-radius: 18px; background: #fff; box-shadow: 0 18px 36px -28px rgba(16, 34, 30, .55); }
.yfn .yfh-mirror .yfn-pain.yfh-pain-card:hover { border-color: rgba(12, 122, 91, .6); }
.yfh-pain-card__top { display: flex; width: 100%; align-items: center; gap: 10px; }
.yfh-pain-card__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #0c6d52; background: rgba(12, 122, 91, .12); font-size: 21px; }
.yfh-pain-card--work .yfh-pain-card__icon { color: #7a5c0c; background: rgba(232, 200, 105, .28); }
.yfh-pain-card--own .yfh-pain-card__icon { color: #1c64ab; background: rgba(31, 111, 196, .12); }
.yfn .yfh-mirror .yfh-pain-card .yfn-pain__check { position: static; width: 30px; height: 30px; margin-left: auto; border: 2px solid rgba(16, 34, 30, .26); border-radius: 50%; font-size: 17px; }
.yfn .yfh-mirror .yfn-pain.yfh-pain-card q { color: inherit; font-size: 17px; font-weight: 750; line-height: 1.4; }
.yfn .yfh-mirror .yfn-pain.yfh-pain-card[aria-pressed="true"] { border-color: #2fbf8c; color: #fff; background: linear-gradient(155deg, #12503f, #0a2a21); box-shadow: 0 0 0 3px rgba(47, 191, 140, .22), 0 22px 40px -24px rgba(8, 42, 33, .8); }
.yfn .yfh-mirror .yfh-pain-card[aria-pressed="true"] .yfn-pain__check { border-color: #7ce6bf; color: #06231a; background: #7ce6bf; }
.yfn .yfh-mirror .yfh-pain-card[aria-pressed="true"] .yfh-pain-card__icon { color: #9ff0cf; background: rgba(255, 255, 255, .1); }

.yfh-answer { margin-top: 16px; padding: 24px; border: 1px solid rgba(157, 223, 196, .2); border-radius: 22px; color: #eef6f2; background: radial-gradient(60% 90% at 0% 0%, rgba(101, 217, 174, .2), transparent 70%), linear-gradient(150deg, #103a2f, #08201a 75%); box-shadow: 0 34px 70px -40px rgba(5, 25, 20, .75); }
.yfh-answer__head { display: flex; align-items: center; gap: 20px; }
.yfn .yfh-answer .yfn-mirror__count b { color: #7ce6bf; }
.yfn .yfh-answer .yfn-mirror__count span { color: #b9d0c6; }
.yfn .yfh-answer__head p { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.4; }
.yfn .yfh-answer__empty { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 18px; border: 1px dashed rgba(157, 223, 196, .3); border-radius: 14px; color: #b9d0c6; font-size: 15px; line-height: 1.5; }
.yfh-answer__empty i { margin-top: 1px; font-size: 19px; color: #7ce6bf; }
.yfh-answer__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.yfh-answer__list:not(:has(li:not([hidden]))) { display: none; }
.yfh-answer__item { display: flex; gap: 12px; padding: 14px; border: 1px solid rgba(157, 223, 196, .18); border-radius: 14px; background: rgba(255, 255, 255, .06); animation: yfl-rise .42s cubic-bezier(.22, 1, .36, 1) both; }
.yfh-answer__icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #06231a; background: #7ce6bf; font-size: 20px; }
.yfh-answer__item--work .yfh-answer__icon { background: #e8c869; }
.yfh-answer__item--own .yfh-answer__icon { background: #8cc4f8; }
.yfn .yfh-answer__item p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 16px; }
.yfn .yfh-answer__item b { color: #fff; }
.yfh-answer__item small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: #b9d0c6; }
.yfn .yfh-answer .yfn-mirror__actions { margin-top: 18px; }
@media (max-width: 767.98px) {
    .yfh-memo__tabs { width: 100%; }
    .yfn .yfh-memo__tabs button { flex: 1; min-height: 44px; padding: 0 8px; }
    .yfn .yfh-memo__pane .yfn-fog__list li { padding: 7px 8px; }
    .yfh-answer { padding: 16px; }
    .yfh-answer__list { grid-template-columns: minmax(0, 1fr); }
    .yfn .yfh-answer .yfn-mirror__actions .yfn-cta { flex: 1 1 100%; justify-content: center; }
}

/* ── The personal core: four cards ── */
/* ── Tariffs: three even emerald columns, full lists, one bottom line for the buttons ── */
.yfn .yfh-pricing .yf26-pricing { align-items: stretch; margin-top: 22px; }
.yfn .yfh-pricing .yf26-plan { min-height: 0; padding: 28px 24px 24px; }
.yfn .yfh-pricing .yf26-plan__badge { top: -13px; right: auto; left: 50%; transform: translateX(-50%); padding: 7px 14px; font-size: 13px; line-height: 1; white-space: nowrap; background: linear-gradient(135deg, #e8c869 0%, #91ddc0 100%); }
.yfn .yfh-pricing .yf26-plan--premium:not(.yf26-plan--featured) { border-color: rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .035); box-shadow: none; }
.yfn .yfh-pricing .yf26-plan--business.yf26-plan--featured { border-color: rgba(232, 200, 105, .65); background: linear-gradient(180deg, rgba(232, 200, 105, .12), rgba(101, 217, 174, .06) 45%, rgba(255, 255, 255, .03)); box-shadow: 0 30px 70px -36px rgba(232, 200, 105, .55); }
.yfn .yfh-pricing .yf26-plan__head > span { display: block; min-height: 20px; font-family: inherit; font-size: 13px; font-weight: 750; line-height: 20px; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yfn .yfh-pricing .yf-plan-title-row { flex-wrap: nowrap; }
.yfn .yfh-pricing .yf26-plan__head p { font-size: 14.5px; line-height: 1.55; }
/* The strike-through crossed the thin space of «1 219 ₽» and read as a hyphen: the words «Без скидки» say enough. */
.yfn .yfh-pricing .yf26-sale del { text-decoration: none; white-space: nowrap; }
.yfn .yfh-pricing .yf26-sale { flex-wrap: wrap; }
.yfn .yfh-pricing .yf26-plan__features li { font-size: 14.5px; }
.yfn .yfh-pricing .yf-plan-feature--lead { margin-bottom: 4px; padding: 9px 10px; border-radius: 12px; background: rgba(232, 200, 105, .13); font-weight: 800; }
.yfn .yfh-pricing .yf26-plan .yf-plan-more { margin-top: auto; padding-top: 16px; }
.yfn .yfh-pricing .yf26-plan > .yf26-button { margin-top: 14px; }
.yfn .yfh-pricing .yf26-plan--free > .yf26-button { margin-top: auto; }
.yfn .yfh-pricing .yf26-plan--featured .yf26-button--primary { background: linear-gradient(135deg, #e8c869 0%, #91ddc0 100%); }
.yfn .yfh-pricing :is(.yf-youfi-multiplier, .yf-youfi-multiplier span, .yf-beta-pill, .yf26-plan__head small, .yf26-plan__billed, .yf-plan-terms__label, .yf-plan-terms__options .yf-package-period span, .yf-plan-terms__options .yf-package-period small, .yf26-sale b, .yf26-sale del) { font-size: 12.5px; }
@media (min-width: 992px) {
    /* Equal heads keep prices and list tops on one line in the three columns. */
    .yfn .yfh-pricing .yf26-plan__head p { min-height: 6.3em; }
    .yfn .yfh-pricing .yf26-plan--free .yf26-plan__head > div:not(.yf-plan-title-row) { min-height: 0; }
    .yfn .yfh-pricing .yf26-plan--free .yf26-plan__head p { min-height: calc(6.3em + var(--yfh-terms, 0px)); }
}
@media (max-width: 991.98px) {
    .yfn .yfh-pricing .yf26-pricing { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 560px; margin-inline: auto; }
}
.yfh-terms { margin-top: 28px; color: #eef6f2; }
.yfh-terms__main { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.yfh-terms__main i { margin-top: 1px; font-size: 22px; color: var(--yf26-mint); }
.yfh-terms ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 12px 0 0; padding: 0; list-style: none; }
.yfh-terms li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: rgba(231, 243, 237, .72); }
.yfh-terms li::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--yf26-mint); content: ""; }

/* Records of the assistant line: personal ones are blue, work ones carry the briefcase. */
.yfl .yfl-composer__log li.is-own .yfl-composer__case { color: #1f6fc4; background: rgba(31, 111, 196, .1); }
.yfl .yfl-flow__own { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--l-line); border-radius: 14px; font-size: 16px; line-height: 1.55; color: #cfded8; }
.yfl-flow__own i { margin-top: 2px; font-size: 20px; color: var(--l-blue); }

@media (max-width: 1100px) {
    .yfn .yfh-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "apps"; row-gap: 18px; }
    .yfh .yfn-hero__stage { width: 100%; max-width: 720px; margin-inline: auto; padding-top: 8px; }
    .yfh-apps { justify-items: center; }
    .yfh-apps .yfn-hero__badges, .yfh-apps .yf-store-badges { justify-content: center; }
}
@media (max-width: 767.98px) {
    .yfn .yfh-pricing .yf26-plan { padding: 26px 16px 18px; }
}
@media (max-width: 359.98px) {
}
@media (prefers-reduced-motion: reduce) {
    .yfh-pane, .yfh-float__stack > div { transition: none; }
}

/* The previous look hid the cabinet on phones; here it carries the switch, so it stays. */
.yfn .yfh .yfn-hero__device { display: block; }
@media (max-width: 640px) {
    .yfh .yfn-hero__device { padding-bottom: 0; }
    .yfh .yfh-float { display: none; }
    .yfh .yfh-head { flex-direction: column; align-items: stretch; }
    .yfh .yfh-head > div:first-child { display: none; }
    .yfh .yfh-seg { width: 100%; }
    .yfn .yfh-seg__btn { flex: 1; justify-content: center; min-height: 44px; padding: 0 8px; }
    .yfn .yfh .yfn-app__main { padding: 10px; }
    .yfn .yfh-dark .yfh-parts { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .yfn .yfh-parts > div { display: flex; justify-content: space-between; gap: 8px; }
    .yfh-both { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .yfh .yfn-hero__badges .yf-store-badges { flex-wrap: wrap; }
}
@media (max-width: 359.98px) {
    .yfn .yfh-seg__btn i { display: none; }
}

/* ── Phones: the restored blocks, tighter, so the page does not grow back to its old length ── */
@media (max-width: 767.98px) {
    .yfn .yf26-section.yfh-pain, .yfn .yf26-section.yfh-core, .yfn .yf26-section.yfh-orbit, .yfn .yf26-section.yfh-pricing, .yfn .yf26-section.yfn-materials { padding: 48px 0; }
    .yfn .yfh-pain .yfn-bank { padding: 18px 14px; }
    .yfn .yfh-pain .yfn-bank__gaps { gap: 10px; margin-top: 16px; }
    .yfn .yfh-pain .yfn-gap { padding: 12px; }
    .yfn .yfh-pain .yfn-gap__shot { padding: 10px; }
    .yfn .yfh-pain .yfn-gap > p { margin-bottom: 0; font-size: 14.5px; line-height: 1.5; }
    .yfn .yfh-pain .yfn-gap h4 { margin: 10px 0 4px; font-size: 16px; }
    .yfn .yfh-pain .yfn-mirror { margin-top: 32px; }
    .yfn .yfh-core .yfn-perk { padding: 20px 16px; }
    .yfn .yfh-core .yfn-perk--forecast .yfn-checks, .yfn .yfh-core .yfn-ai__skills { display: none; }
    .yfn .yfh-core .yfn-ai p:nth-of-type(n+4) { display: none; }
    .yfn .yfn-materials .yfn-materials__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .yfn .yfn-materials .yfn-material { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 12px; min-height: 0; padding: 12px 14px; }
    .yfn .yfn-materials .yfn-material__icon { grid-row: 1 / span 3; margin: 0; }
    .yfn .yfn-materials .yfn-material h3 { margin: 0; font-size: 15.5px; line-height: 1.35; }
    .yfn .yfn-materials .yfn-material > p, .yfn .yfn-materials .yfn-head p { display: none; }
    .yfn .yfn-materials .yfn-material__type, .yfn .yfn-materials .yfn-material__foot { margin: 0; padding: 0; border: 0; }
}

@media (max-width: 991.98px) {
    .yfl-say__grid, .yfl-faq__grid, .yfl .yfl-head { grid-template-columns: minmax(0, 1fr); }
}

/* The free card has no discount badge and no billed line: reserve both, so prices and lists start on one line. */
@media (min-width: 992px) {
    .yfn .yfh-pricing .yf26-plan--free .yf26-plan__sale-slot + div { margin-top: 34px; }
    .yfn .yfh-pricing .yf26-plan--free .yf26-plan__head { padding-bottom: 26px; }
}

/* «скоро» on the App Store badge itself, not only in its tooltip. */
.yfh .yf-store-badges__badge.is-pending { position: relative; }
.yfh .yf-store-badges__badge.is-pending::after { position: absolute; top: -9px; right: -6px; padding: 2px 8px; border-radius: 999px; color: #241a00; background: #e8c869; font-size: 11.5px; font-weight: 800; line-height: 1.4; content: "скоро"; }
html:lang(en) .yfh .yf-store-badges__badge.is-pending::after { content: "soon"; }
html:lang(kk) .yfh .yf-store-badges__badge.is-pending::after { content: "жақында"; }
@media (max-width: 640px) {
    .yfn .yfh-memo .yfh-memo__top { flex-direction: column; align-items: stretch; gap: 12px; }
    .yfh-memo__top .yfn-memo__tag { order: 3; align-self: flex-start; }
}

/* ══ Third pass (26.11) ═══════════════════════════════════════════════════════════════════════════════════════ */

/* ── The sample line: one card of the page, the line on the left, two pairs of numbers on the right ── */
.yfn .yf26-section.yfh-pain { padding-bottom: 40px; }
.yfn .yf26-section.yfh-say { padding: 40px 0 clamp(56px, 7vw, 96px); background: #f3f6f4; scroll-margin-top: 72px; }
.yfn .yfh-say .yfn-head { margin-bottom: 28px; }
.yfh-lab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; padding: 18px; border: 1px solid var(--yfn-line-light); border-radius: var(--yfn-radius); background: #fff; box-shadow: 0 40px 70px -50px rgba(16, 34, 30, .45); }
.yfh-lab [hidden] { display: none !important; }
.yfh-lab p, .yfh-lab ul, .yfh-lab dl, .yfh-lab dd { margin: 0; padding: 0; list-style: none; }
.yfh-lab__input { display: flex; min-width: 0; flex-direction: column; padding: 6px; }
.yfn .yfh-lab__hint { margin-bottom: 10px; color: var(--yfn-mint-deep); font-size: 14px; font-weight: 750; }
.yfh-lab .yfl-composer__field { display: flex; min-height: 62px; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border: 1.5px solid rgba(23, 138, 102, .38); border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -24px rgba(16, 60, 45, .55); }
.yfh-lab .yfl-composer__field > i { color: var(--yfn-mint-deep); font-size: 20px; }
.yfn .yfh-lab .yfl-composer__field p { display: flex; min-width: 0; flex: 1; align-items: center; color: var(--yf26-muted); font-size: 17px; }
.yfn .yfh-lab .yfl-composer__field p.is-typed { color: var(--yf26-ink); font-weight: 750; }
.yfl-caret { display: inline-block; width: 2px; height: 22px; margin-left: 2px; background: var(--yfn-mint-deep); animation: yfl-blink 1.1s steps(1) infinite; }
@keyframes yfl-blink { 50% { opacity: 0; } }
.yfh-lab .yfl-composer__mic { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: #06231a; background: linear-gradient(135deg, #9ff0cf, var(--yf26-mint)); font-size: 21px; }
.yfh-lab .yfl-composer__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.yfn .yfh-lab .yfl-chip { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 0 16px; border: 1px solid rgba(23, 138, 102, .3); border-radius: 14px; color: #0c5f47; background: rgba(101, 217, 174, .1); font-family: inherit; font-size: 14.5px; font-weight: 750; cursor: pointer; transition: background-color .2s ease, transform .12s ease, opacity .2s ease; }
.yfn .yfh-lab .yfl-chip:hover:not(:disabled) { background: rgba(101, 217, 174, .22); }
.yfn .yfh-lab .yfl-chip:active:not(:disabled) { transform: scale(.97); }
.yfn .yfh-lab .yfl-chip:disabled { opacity: .45; cursor: default; }
.yfn .yfh-lab .yfl-chip:focus-visible { outline: 3px solid rgba(23, 138, 102, .6); outline-offset: 2px; }
.yfn .yfh-lab .yfl-chip--reset { margin-left: auto; border-color: transparent; color: var(--yf26-muted); background: transparent; }
.yfh-lab .yfl-composer__log { display: grid; flex: 1; gap: 8px; min-height: 202px; margin-top: 14px; align-content: start; }
.yfh-lab .yfl-composer__log li { display: flex; min-height: 62px; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--yfn-line-light); border-radius: 14px; background: #fff; animation: yfl-rise .42s cubic-bezier(.22, 1, .36, 1) both; }
.yfh-lab .yfl-composer__case { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .16); font-size: 19px; }
.yfh-lab .yfl-composer__log li.is-own .yfl-composer__case { color: #1f6fc4; background: rgba(31, 111, 196, .1); }
.yfh-lab .yfl-composer__log li > span:nth-child(2) { display: grid; min-width: 0; flex: 1; color: var(--yf26-ink); font-size: 15px; font-weight: 750; line-height: 1.35; }
.yfh-lab .yfl-composer__log small { color: var(--yf26-muted); font-size: 13px; font-weight: 550; }
.yfh-lab .yfl-composer__log b { color: var(--yf26-ink); font-size: 16px; white-space: nowrap; }
.yfh-lab .yfl-composer__log .yfl-composer__empty { min-height: 202px; justify-content: center; border-style: dashed; color: var(--yf26-muted); background: transparent; font-size: 14px; text-align: center; animation: none; }
@keyframes yfl-rise { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.yfh-lab__figures { display: grid; align-content: center; gap: 18px; min-width: 0; padding: 16px; border-radius: 20px; background: radial-gradient(70% 60% at 100% 0%, rgba(101, 217, 174, .2), transparent 70%), linear-gradient(160deg, #0f3a2f, #08201a); }
.yfn .yfh-lab__group > p { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #cfe5db; font-size: 13.5px; font-weight: 750; }
.yfn .yfh-lab__group--own > p i { color: #8cc4f8; }
.yfn .yfh-lab__group--work > p i { color: #e8c869; }
.yfh-lab__group dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yfh-lab .yfl-figure { padding: 13px 14px; border: 1px solid rgba(157, 223, 196, .16); border-radius: 16px; background: rgba(255, 255, 255, .055); transition: border-color .3s ease; }
.yfh-lab .yfl-figure dt { min-height: 2.6em; color: #b9d0c6; font-size: 13px; font-weight: 600; line-height: 1.3; }
.yfh-lab .yfl-figure dd { display: grid; margin-top: 2px; color: #fff; font-size: clamp(21px, 2vw, 27px); font-weight: 780; letter-spacing: -.025em; }
.yfh-lab .yfl-figure dd span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); white-space: nowrap; transition: opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.yfh-lab .yfl-figure dd span.is-shown { opacity: 1; transform: none; }
.yfh-lab .yfl-figure--after dd { color: #91ddc0; }
.yfh-lab .yfl-figure--tax dd { color: #e8c869; }
/* Only what a phrase moved lights up: blue for the budget, gold for the business. */
.yfh-lab .yfl-figure.is-changed { animation: yfh-lit-own 2.4s ease; }
.yfh-lab__group--work .yfl-figure.is-changed { animation-name: yfh-lit-work; }
@keyframes yfh-lit-own { 0%, 55% { border-color: rgba(140, 196, 248, .85); background: rgba(111, 180, 247, .2); box-shadow: 0 0 0 3px rgba(111, 180, 247, .16); } 100% { box-shadow: 0 0 0 3px transparent; } }
@keyframes yfh-lit-work { 0%, 55% { border-color: rgba(232, 200, 105, .85); background: rgba(232, 200, 105, .17); box-shadow: 0 0 0 3px rgba(232, 200, 105, .16); } 100% { box-shadow: 0 0 0 3px transparent; } }
.yfn .yfh-lab__note { color: rgba(207, 229, 219, .7); font-size: 12.5px; text-align: right; }
@media (max-width: 991.98px) {
    .yfh-lab { grid-template-columns: minmax(0, 1fr); }
    .yfh-lab .yfl-composer__log, .yfh-lab .yfl-composer__log .yfl-composer__empty { min-height: 134px; }
}
@media (max-width: 767.98px) {
    .yfn .yf26-section.yfh-say { padding: 24px 0 44px; }
    .yfn .yfh-say .yfn-head { margin-bottom: 18px; }
    .yfh-lab { padding: 10px; gap: 10px; }
    .yfh-lab__input { padding: 4px; }
    .yfh-lab__figures { padding: 12px 10px; }
    .yfh-lab .yfl-figure { padding: 11px 10px; }
    .yfn .yfh-lab .yfl-chip--reset { margin-left: 0; }
}

/* ── «Дело»: one footnote under the four steps ── */
.yfl .yfl-flow__foot { grid-template-columns: minmax(0, 1fr) auto; margin-top: 22px; padding-top: 22px; }
.yfl .yfl-flow__foot > p { max-width: 760px; font-size: 13.5px; }
@media (max-width: 767.98px) {
    .yfl .yfl-flow__foot { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ── Tariff colours on the cards of the personal core, air in the assistant card ── */
.yfn .yfh-core .yfn-perk > header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.yfn .yfh-tier { display: inline-flex; align-items: center; padding: 5px 11px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.35; }
.yfn .yfh-tier--free { border-color: rgba(23, 138, 102, .45); color: #0c6d52; background: #fff; }
.yfn .yfh-tier--plus { color: #052117; background: linear-gradient(135deg, #9ff0cf, #4fd0a0); }
.yfn .yfh-core .yfn-ai { gap: 12px; padding: 20px; }
.yfn .yfh-core .yfn-ai p { padding: 15px 14px; }
.yfn .yfh-core .yfn-ai__head span { font-size: 14px; }
.yfn .yfh-core .yfn-ai__head em { font-size: 12.5px; }
.yfn .yfh-core .yfn-ai p span { gap: 4px; font-size: 13.5px; line-height: 1.5; }
.yfn .yfh-core .yfn-ai p b { font-size: 14.5px; line-height: 1.4; }
.yfn .yfh-core .yfn-ai p button { font-size: 12.5px; }

/* ── Excel: a short dark banner between the cards and the orbits ── */
.yfh-xls { padding: 28px 0; background: #fff; scroll-margin-top: 72px; }
.yfh-xls__card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px 40px; align-items: center; padding: 30px 32px; border-radius: var(--yfn-radius); background: radial-gradient(50% 120% at 100% 0%, rgba(101, 217, 174, .22), transparent 70%), linear-gradient(150deg, #103a2f, #08201a); box-shadow: 0 40px 70px -48px rgba(8, 42, 33, .8); }
.yfn .yfh-xls h2 { margin: 0; color: #f5fbf8; font-size: clamp(23px, 2.4vw, 30px); font-weight: 750; line-height: 1.18; }
.yfn .yfh-xls h2 em { color: var(--yf26-mint); font-style: normal; }
.yfn .yfh-xls__copy p { margin: 12px 0 0; color: #b9d0c6; font-size: 14.5px; line-height: 1.6; }
.yfh-xls__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.yfh-xls__steps li { position: relative; display: grid; align-content: start; justify-items: center; gap: 10px; padding: 18px 10px; border: 1px solid rgba(157, 223, 196, .2); border-radius: 16px; color: #eef6f2; background: rgba(255, 255, 255, .05); font-size: 13.5px; font-weight: 700; line-height: 1.35; text-align: center; }
.yfh-xls__steps li > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #9ff0cf; background: rgba(101, 217, 174, .14); font-size: 22px; }
.yfh-xls__steps li.is-done > i { color: #06231a; background: linear-gradient(135deg, #e8c869, #91ddc0); }
.yfh-xls__steps li + li::before { position: absolute; top: 50%; left: -20px; color: var(--yf26-mint); content: "→"; font-size: 16px; transform: translateY(-50%); }
@media (max-width: 991.98px) {
    .yfh-xls__card { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
}
@media (max-width: 640px) {
    .yfh-xls { padding: 16px 0; }
    .yfh-xls__card { padding: 20px 16px; }
    .yfh-xls__steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .yfh-xls__steps li { grid-template-columns: 38px minmax(0, 1fr); align-items: center; justify-items: start; gap: 12px; padding: 10px 12px; text-align: left; }
    .yfh-xls__steps li > i { width: 38px; height: 38px; }
    .yfh-xls__steps li + li::before { top: -12px; left: 31px; content: "↓"; }
}
@media (prefers-reduced-motion: reduce) {
    .yfh-lab .yfl-figure.is-changed { animation: none; border-color: #91ddc0; }
}

/* ── Tariff buttons: calm for «Бесплатный», emerald for «Плюс», gold-to-mint for «Бизнес» ── */
.yfn .yfh-pricing .yf26-plan--free > .yf26-button { border: 1.5px solid rgba(231, 243, 237, .38); color: #eef6f2; background: transparent; box-shadow: none; }
.yfn .yfh-pricing .yf26-plan--free > .yf26-button:hover { border-color: #eef6f2; background: rgba(255, 255, 255, .07); }
.yfn .yfh-pricing .yf26-plan--premium > .yf26-button { border: 0; color: #042318; background: linear-gradient(135deg, #8ff0c8 0%, #2fbf8c 100%); box-shadow: 0 18px 34px -18px rgba(47, 191, 140, .85); font-weight: 800; }
.yfn .yfh-pricing .yf26-plan--business > .yf26-button { border: 0; color: #211800; background: linear-gradient(135deg, #f2cf66 0%, #e8d27c 45%, #91ddc0 100%); box-shadow: 0 20px 40px -16px rgba(232, 200, 105, .75); font-weight: 850; }
.yfn .yfh-pricing .yf26-plan--premium > .yf26-button:hover, .yfn .yfh-pricing .yf26-plan--business > .yf26-button:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ── Founder: graphite with a trace of wine and a warm gold light ── */
.yfn .yfh-pricing .yf26-pricing-section .yf-founder-offer--public, .yfn .yfh-pricing .yf-founder-offer.yf-founder-offer--public {
    border-color: rgba(232, 200, 105, .34);
    background: radial-gradient(70% 110% at 100% 0%, rgba(232, 200, 105, .2), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(96, 28, 46, .5), transparent 65%), linear-gradient(140deg, #141416 0%, #1b171b 48%, #251a1f 76%, #171315 100%);
    box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .75), 0 0 60px -30px rgba(232, 200, 105, .45), inset 0 1px 0 rgba(255, 230, 170, .1);
}
.yfn .yfh-pricing .yf-founder-offer--public .yf-founder-offer__body { border-top-color: rgba(232, 200, 105, .18); }
.yfn .yfh-pricing .yf-founder-offer--public :is(.yf-founder-offer__heading p, .yf-founder-offer__features li, .yf-founder-offer__price span, .yf-founder-offer__remaining) { color: #d9d3c8 !important; }
.yfn .yfh-pricing .yf-founder-offer--public .yf-founder-offer__eyebrow { color: #e8c869; }
.yfn .yfh-pricing .yf-founder-offer--public .yf-founder-offer__features li > i { color: #f1d58a !important; background: rgba(232, 200, 105, .1); box-shadow: inset 0 0 0 1px rgba(232, 200, 105, .22); }
.yfn .yfh-pricing .yf-founder-offer--public .yf-founder-offer__button { color: #221700; background: linear-gradient(135deg, #f6dd95, #d9ac4a); box-shadow: 0 14px 32px -14px rgba(232, 200, 105, .8); }

/* ── Questions: one narrow column of folded answers ── */
.yfn .yf26-section.yfh-faq { scroll-margin-top: 72px; }
.yfh-faq__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 28px 56px; }
.yfn .yfh-faq h2 { margin: 14px 0 0; color: var(--yf26-ink); font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.06; }
.yfn .yfh-faq h2 em { color: var(--yfn-mint-deep); font-style: normal; }
.yfn .yfh-faq__lead { margin: 16px 0 0; color: var(--yf26-muted); font-size: 16px; line-height: 1.65; }
.yfh-faq__facts { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.yfh-faq__facts li { display: flex; align-items: flex-start; gap: 12px; color: var(--yf26-ink); font-size: 14.5px; font-weight: 650; line-height: 1.5; }
.yfh-faq__facts i { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #0c6d52; background: rgba(101, 217, 174, .18); font-size: 18px; }
.yfh-faq__facts li span { padding-top: 6px; }
.yfh-faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.yfn .yfh-faq__contact { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; color: #0c6d52; font-size: 14.5px; font-weight: 750; text-decoration: none; }
.yfn .yfh-faq__contact:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 991.98px) {
    .yfh-faq__layout { grid-template-columns: minmax(0, 1fr); }
}
.yfh-faq__list { display: grid; gap: 8px; interpolate-size: allow-keywords; }
.yfh-faq__item { border: 1px solid rgba(16, 34, 30, .12); border-radius: 16px; background: #fff; }
.yfh-faq__item[open] { border-color: rgba(23, 138, 102, .45); }
.yfh-faq__item summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-radius: 16px; list-style: none; cursor: pointer; }
.yfh-faq__item summary::-webkit-details-marker { display: none; }
.yfh-faq__item summary:focus-visible { outline: 3px solid rgba(23, 138, 102, .6); outline-offset: 2px; }
.yfn .yfh-faq__item h3 { margin: 0; color: var(--yf26-ink); font-size: 17px; font-weight: 750; line-height: 1.4; }
.yfh-faq__item summary i { flex: 0 0 auto; color: var(--yfn-mint-deep); font-size: 20px; transition: transform .25s ease; }
.yfh-faq__item[open] summary i { transform: rotate(45deg); }
.yfn .yfh-faq__item p { max-width: 720px; margin: 0; padding: 0 20px 18px; color: #3f524b; font-size: 15.5px; line-height: 1.65; }
.yfh-faq__item::details-content { height: 0; overflow: clip; transition: height .25s ease, content-visibility .25s ease allow-discrete; }
.yfh-faq__item[open]::details-content { height: auto; }
@media (max-width: 640px) {
    .yfh-faq__item summary { padding: 10px 14px; }
    .yfn .yfh-faq__item h3 { font-size: 15.5px; }
    .yfn .yfh-faq__item p { padding: 0 14px 14px; font-size: 14.5px; }
    .yfh-faq__actions .yfn-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .yfh-faq__item::details-content, .yfh-faq__item summary i { transition: none; }
}

/* The price of Founder in the type of the page: the monospace spread «8 400 ₽» apart. */
.yfn .yfh-pricing .yf-founder-offer--public .yf-founder-offer__price strong { font-family: inherit; letter-spacing: -.02em; white-space: nowrap; }

/* ══ Fourth pass (26.11): one page colour under every light block, one tighter rhythm ═══════════════════════════ */
.yfn { --yfh-page: var(--yf26-paper); --yfh-gap: clamp(56px, 5.6vw, 80px); background: var(--yfh-page); }
/* The light blocks paint nothing of their own: the page colour lies under all of them, so a card's shadow runs over the
   edge of its block. An opaque block would paint over the shadow of the one above and cut it in a straight line. */
.yfn .yf26-section.yfh-pain, .yfn .yf26-section.yfh-say, .yfn .yf26-section.yfh-core, .yfn .yfh-xls,
.yfn .yf26-section.yfh-orbit, .yfn .yf26-section.yfh-faq, .yfn .yf26-section.yfn-materials, .yfn .yf-app-promo { background: transparent; }
/* The same for the clipping of `content-visibility: auto` (style.css) and of `overflow: hidden` on the cards block. */
.yfn .yf26-section.yfh-pain, .yfn .yf26-section.yfh-say, .yfn .yf26-section.yfh-core,
.yfn .yf26-section.yfh-orbit, .yfn .yf26-section.yfh-faq, .yfn .yf26-section.yfn-materials { content-visibility: visible; contain-intrinsic-size: none; }
.yfn .yf26-section.yfh-core { overflow: visible; }
/* The soft light of the cards block was cut by the section edge and read as a seam. */
.yfn .yfh-core::before { display: none; }
.yfn .yf26-section.yfh-pain { padding: 56px 0 24px; }
.yfn .yf26-section.yfh-say { padding: 28px 0 var(--yfh-gap); }
.yfh-lab { box-shadow: 0 24px 48px -38px rgba(16, 34, 30, .3); }
.yfn .yf26-section.yfh-core { padding: var(--yfh-gap) 0 32px; }
.yfn .yfh-xls { padding: 0 0 var(--yfh-gap); }
.yfh-xls__card { border-color: transparent; box-shadow: 0 24px 48px -36px rgba(8, 42, 33, .6); }
.yfn .yf26-section.yfh-pricing { padding: var(--yfh-gap) 0; }
.yfn .yf26-section.yfh-orbit { padding: calc(var(--yfh-gap) - 16px) 0 24px; }
.yfn .yf26-section.yfh-faq { padding: 40px 0 var(--yfh-gap); }
.yfn .yf26-section.yfn-materials { padding: 0 0 16px; }
.yfn .yf-app-promo { padding-top: 72px; padding-bottom: 40px; }
.yfn .yfn-head { margin-bottom: 32px; }
.yfn .yfn-final.yf26-section, .yfn .yf26-section.yfn-final { padding: var(--yfh-gap) 0; }

/* «Дело»: the steps stand one under another again, close together. */
.yfn .yfl .yfl-section.yfl-flow { padding: var(--yfh-gap) 0; }
.yfl .yfl-flow .yfl-head { margin-bottom: 20px; }
@media (min-width: 992px) {
    /* The number stands by its heading, at the top of the step, level with the fragment. */
    .yfl .yfl-step { align-items: start; padding: 10px 0 10px 58px; gap: 20px 48px; }
    .yfl .yfl-step::before { top: 12px; }
    .yfl .yfl-step::after { top: 48px; bottom: -12px; }
    .yfl .yfl-step__copy { padding-top: 4px; }
    .yfl .yfl-step__copy h3 { font-size: 21px; line-height: 28px; }
    .yfl .yfl-step__copy p { max-width: 420px; margin-top: 6px; font-size: 15px; line-height: 1.55; }
    .yfl .yfl-step .yfl-frag { max-width: 540px; padding: 12px 16px; }
    .yfl .yfl-frag__list li { padding: 5px 0; }
    .yfl .yfl-frag--chat { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .yfl .yfl-step .yfl-msg { max-width: none; padding: 8px 12px; font-size: 14px; }
    .yfl .yfl-frag--chat .yfl-msg:first-child, .yfl .yfl-frag--chat .yfl-msg--done { grid-column: 1 / -1; }
    .yfl .yfl-frag--chat .yfl-msg__key { grid-column: 1 / -1; max-width: none; padding: 7px; }
    .yfl .yfl-deal__bar, .yfl .yfl-tax__bar { margin: 8px 0; }
}
@media (max-width: 767.98px) {
    .yfn { --yfh-gap: 36px; }
    .yfn .yf26-section.yfh-pain { padding: 36px 0 20px; }
    .yfn .yf26-section.yfh-say { padding: 16px 0 var(--yfh-gap); }
    .yfn .yf26-section.yfh-core { padding: var(--yfh-gap) 0 20px; }
    .yfn .yf26-section.yfh-orbit { padding: 32px 0 16px; }
    .yfn .yf26-section.yfh-faq { padding: 24px 0 var(--yfh-gap); }
    .yfn .yf-app-promo { padding-top: 56px; padding-bottom: 28px; }
    .yfn .yfn-head { margin-bottom: 20px; }
    .yfl .yfl-step { padding-top: 8px; padding-bottom: 10px; }
}

/* Icons where the bot's chat had emoji; the button named inside a sentence looks like one. */
.yfl .yfl-msg > i { color: var(--l-mint); font-size: 17px; vertical-align: -2px; }
.yfl .yfl-msg__key { display: flex; align-items: center; justify-content: center; gap: 7px; }
.yfl .yfl-msg__key i { color: var(--l-mint); font-size: 18px; }
.yfl .yfl-inline-key { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 7px; color: #eef6f2; background: rgba(145, 221, 192, .16); font-weight: 700; white-space: nowrap; }
.yfl .yfl-inline-key i { color: var(--l-mint); }
/* On a phone the worked example lies across the card: hung on the (i), it ran off the left edge of the screen. */
@media (max-width: 640px) {
    .yfn .yfh-core .yfn-perk--honest .yfn-hint { position: static; }
    .yfn .yfh-core .yfn-perk--honest .yfn-hint__card { top: auto; right: 10px; bottom: 10px; left: 10px; width: auto; }
}
