/* YousoroFinance — next landing (/landing-new). Same palette as the 2026 landing (--yf26-*), new composition. */
.yfn {
    --yfn-mint-deep: #178a66;
    --yfn-red-deep: #d24f5b;
    --yfn-gold-deep: #9c7818;
    --yfn-violet: #b69cf2;
    --yfn-line-dark: rgba(226, 248, 239, .1);
    --yfn-line-light: rgba(16, 34, 30, .09);
    --yfn-glass: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    --yfn-ease: cubic-bezier(.22, 1, .36, 1);
    --yfn-radius: 26px;
}
.yfn .yf26-container { width: min(1200px, calc(100% - 40px)); }
.yfn h1, .yfn h2, .yfn h3 { letter-spacing: -.02em; }
/* The global ".light-theme strong" colour must not reach the landing: text colour comes from each block */
.yfn strong, .yfn b { color: inherit; }
.yfn .yf26-section { padding: clamp(84px, 9vw, 128px) 0; }

/* ── Shared: section head, kicker, buttons, statuses ─────────────────────── */
.yfn-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 40px; margin-bottom: 48px; }
.yfn-head h2 { max-width: 760px; margin: 18px 0 0; color: var(--yf26-ink); font-size: clamp(34px, 4.2vw, 54px); font-weight: 700; line-height: 1.04; }
.yfn-head h2 em { color: var(--yfn-mint-deep); font-style: normal; }
.yfn-head p { margin: 0 0 6px; color: var(--yf26-muted); font-size: 16px; line-height: 1.7; }
.yfn-head--dark h2 { color: #f5fbf8; }
.yfn-head--dark h2 em { color: var(--yf26-mint); }
.yfn-head--dark p { color: rgba(231, 243, 237, .66); }
.yfn-kicker { color: var(--yf26-muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.yfn-cta {
    position: relative;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform .25s var(--yfn-ease), box-shadow .25s var(--yfn-ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.yfn-cta:focus-visible { outline: 3px solid rgba(101, 217, 174, .4); outline-offset: 3px; }
.yfn-cta--primary {
    padding-right: 8px;
    color: #06231a;
    background: linear-gradient(180deg, #7ce6bf, var(--yf26-mint));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 18px 40px -12px rgba(101, 217, 174, .55);
}
.yfn-cta--primary:hover { color: #06231a; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 24px 48px -12px rgba(101, 217, 174, .7); }
.yfn-cta__arrow { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgba(6, 35, 26, .12); font-size: 17px; transition: transform .25s var(--yfn-ease); }
.yfn-cta--primary:hover .yfn-cta__arrow { transform: translateX(3px); }
.yfn-cta--glass { color: rgba(245, 251, 248, .9); border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px); }
.yfn-cta--glass:hover { color: #fff; border-color: rgba(101, 217, 174, .45); background: rgba(101, 217, 174, .09); transform: translateY(-2px); }
.yfn-cta--line { min-height: 48px; color: var(--yf26-ink); border-color: var(--yfn-line-light); background: #fff; }
.yfn-cta--line:hover { color: var(--yf26-ink); border-color: rgba(23, 138, 102, .45); box-shadow: 0 14px 30px -18px rgba(16, 34, 30, .4); transform: translateY(-2px); }

.yfn-status { display: inline-flex; align-items: center; gap: 7px; width: fit-content; white-space: nowrap; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.yfn-status.is-safe { color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .16); }
.yfn-status.is-warning { color: #b0414c; background: rgba(255, 124, 132, .16); }
.yfn-status.is-positive { color: #1f6fb4; background: rgba(77, 165, 244, .13); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.yfn-hero {
    position: relative;
    padding: clamp(64px, 7vw, 96px) 0 0;
    overflow: hidden;
    color: #f5fbf8;
    background: var(--yf26-night);
    isolation: isolate;
}
.yfn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.yfn-hero__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.yfn-hero__aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.yfn-hero__aurora i:nth-child(1) { top: -14%; right: 6%; width: 540px; height: 540px; background: rgba(69, 190, 145, .42); animation: yfn-drift 18s ease-in-out infinite alternate; }
.yfn-hero__aurora i:nth-child(2) { bottom: -30%; left: -8%; width: 520px; height: 520px; background: rgba(232, 200, 105, .16); animation: yfn-drift 22s ease-in-out infinite alternate-reverse; }
.yfn-hero__aurora i:nth-child(3) { top: 30%; right: 30%; width: 360px; height: 360px; background: rgba(77, 165, 244, .14); animation: yfn-drift 26s ease-in-out infinite alternate; }
@keyframes yfn-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }

.yfn-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(36px, 5vw, 72px); }
.yfn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 14px 0 12px;
    border: 1px solid rgba(232, 200, 105, .28);
    border-radius: 999px;
    color: #f3dc98;
    background: rgba(232, 200, 105, .07);
    font-size: 12.5px;
    font-weight: 650;
}
.yfn-pill__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--yf26-gold); }
.yfn-pill__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--yf26-gold); animation: yfn-ping 2.4s ease-out infinite; }
@keyframes yfn-ping { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
.yfn-hero h1 { max-width: 640px; margin: 24px 0 22px; color: #f7fbf8; font-size: clamp(44px, 5.4vw, 72px); font-weight: 750; line-height: 1; }
.yfn-hero h1 em {
    display: block;
    font-style: normal;
    background: linear-gradient(100deg, #9ff0cf 0%, var(--yf26-mint) 45%, #e8c869 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.yfn-hero__lead { max-width: 560px; margin: 0; color: rgba(231, 243, 237, .72); font-size: 17px; line-height: 1.7; }
.yfn-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* "Скачать YousoroFinance": one calm row with the platforms instead of a third heavy button */
.yfn-get-app {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    color: #f5fbf8;
    background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    text-decoration: none;
    transition: border-color .25s ease, background-color .25s ease, transform .25s var(--yfn-ease);
}
.yfn-get-app:hover { color: #fff; border-color: rgba(101, 217, 174, .35); background-color: rgba(101, 217, 174, .06); transform: translateY(-2px); }
.yfn-get-app__icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--yf26-mint); background: rgba(101, 217, 174, .12); font-size: 19px; }
.yfn-get-app__text { display: grid; gap: 3px; min-width: 0; }
.yfn-get-app__text strong { font-size: 14px; font-weight: 750; }
.yfn-get-app__text small { color: rgba(231, 243, 237, .56); font-size: 12px; }
.yfn-get-app__platforms { display: inline-flex; gap: 2px; margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .1); color: rgba(245, 251, 248, .75); font-size: 18px; }
.yfn-get-app__platforms i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; transition: background-color .2s ease, color .2s ease; }
.yfn-get-app:hover .yfn-get-app__platforms i { color: #fff; background: rgba(255, 255, 255, .06); }
.yfn-get-app__platforms i.is-soon { opacity: .38; }
.yfn-get-app__arrow { color: var(--yf26-mint); font-size: 17px; transition: transform .25s var(--yfn-ease); }
.yfn-get-app:hover .yfn-get-app__arrow { transform: translate(2px, -2px); }


/* Product stage */
.yfn-hero__stage { position: relative; display: grid; gap: 34px; align-self: center; padding: 36px 0 20px; }
.yfn-hero__device { position: relative; padding-bottom: 34px; perspective: 1600px; }
.yfn-hero__stores { display: flex; justify-content: center; }
.yfn-hero__stores .yf-store-badges { justify-content: center; }
.yfn-app {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: #0b201b;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(101, 217, 174, .06), 0 0 80px -20px rgba(101, 217, 174, .25);
    transform: rotateY(-9deg) rotateX(5deg) rotateZ(.6deg);
    transform-origin: 30% 50%;
    transform-style: preserve-3d;
    will-change: transform;
}
.yfn-app__chrome { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.yfn-app__dots { display: inline-flex; gap: 6px; }
.yfn-app__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.yfn-app__dots i:nth-child(1) { background: #ff7c84; }
.yfn-app__dots i:nth-child(2) { background: #e8c869; }
.yfn-app__dots i:nth-child(3) { background: #65d9ae; }
.yfn-app__url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 14px; border-radius: 8px; color: rgba(231, 243, 237, .5); background: rgba(255, 255, 255, .05); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.yfn-app__body { display: grid; grid-template-columns: 58px minmax(0, 1fr); }
.yfn-app__rail { display: grid; align-content: start; justify-items: center; gap: 12px; padding: 16px 0; border-right: 1px solid rgba(255, 255, 255, .06); }
.yfn-app__rail img { margin-bottom: 8px; opacity: .92; }
.yfn-app__rail span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: rgba(231, 243, 237, .45); font-size: 17px; }
.yfn-app__rail span.is-active { color: #062019; background: var(--yf26-mint); }
.yfn-app__main { display: grid; gap: 12px; padding: 16px; background: linear-gradient(180deg, #f6f9f6, #edf3ef); color: var(--yf26-ink); }
.yfn-app__head { display: flex; align-items: center; justify-content: space-between; }
.yfn-app__head small { display: block; color: var(--yf26-muted); font-size: 10.5px; }
.yfn-app__head strong { font-size: 15px; font-weight: 750; }
.yfn-app__head > span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--yfn-line-light); border-radius: 9px; background: #fff; font-size: 11px; font-weight: 650; }
.yfn-app__kpis { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 10px; }
.yfn-kpi { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 12px; border: 1px solid var(--yfn-line-light); border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -20px rgba(16, 34, 30, .5); }
.yfn-kpi small { color: var(--yf26-muted); font-size: 10.5px; }
.yfn-kpi strong { font-size: 17px; font-weight: 800; white-space: nowrap; }
.yfn-kpi em { color: var(--yf26-muted); font-size: 10px; font-style: normal; }
.yfn-kpi--budget { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; background: linear-gradient(135deg, #0f3a2f, #0b2a22); border-color: transparent; }
.yfn-kpi--budget > div { display: grid; gap: 3px; min-width: 0; }
.yfn-kpi--budget small, .yfn-kpi--budget em { color: rgba(223, 247, 238, .66); }
.yfn-kpi--budget strong { color: #fff; }
.yfn-kpi--budget em { color: var(--yf26-mint); }
.yfn-kpi__ring { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--yf26-mint) calc(var(--p) * 360deg), rgba(255, 255, 255, .12) 0); -webkit-mask: radial-gradient(circle, transparent 57%, #000 59%); mask: radial-gradient(circle, transparent 57%, #000 59%); }
.yfn-kpi__bar { height: 5px; overflow: hidden; border-radius: 99px; background: #e6eeea; }
.yfn-kpi__bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yf26-mint), var(--yf26-gold)); }
.yfn-kpi--result strong { color: var(--yfn-mint-deep); }
.yfn-app__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 10px; }
.yfn-app__chart, .yfn-app__signals { min-width: 0; padding: 12px; border: 1px solid var(--yfn-line-light); border-radius: 14px; background: #fff; }
.yfn-app__card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 11.5px; font-weight: 750; }
.yfn-app__card-head small { display: inline-flex; align-items: center; gap: 5px; color: var(--yf26-muted); font-size: 9.5px; font-weight: 600; }
.yfn-app__card-head small i { width: 10px; height: 3px; border-radius: 2px; background: var(--yf26-mint); }
.yfn-app__card-head small i.is-forecast { background: repeating-linear-gradient(90deg, var(--yf26-gold) 0 3px, transparent 3px 5px); }
.yfn-app__chart svg { display: block; width: 100%; height: auto; }
.yfn-app__signals { display: grid; align-content: start; gap: 7px; }
.yfn-app__signals p { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; margin: 0; padding: 7px; border-radius: 10px; font-size: 10.5px; line-height: 1.3; }
.yfn-app__signals p i { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; font-size: 14px; }
.yfn-app__signals p span { display: grid; color: var(--yf26-muted); }
.yfn-app__signals p b { color: var(--yf26-ink); font-size: 11px; }
.yfn-app__signals .is-alert { background: rgba(255, 124, 132, .1); }
.yfn-app__signals .is-alert i { color: var(--yfn-red-deep); background: rgba(255, 124, 132, .18); }
.yfn-app__signals .is-regular { background: rgba(77, 165, 244, .08); }
.yfn-app__signals .is-regular i { color: #2b7fc9; background: rgba(77, 165, 244, .16); }
.yfn-app__signals .is-plan { background: rgba(232, 200, 105, .14); }
.yfn-app__signals .is-plan i { color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .28); }

/* SVG chart pieces (hero and forecast card) */
.yfn-svg-grid { stroke: rgba(16, 34, 30, .07); stroke-width: 1; fill: none; }
.yfn-svg-plan { stroke: rgba(16, 34, 30, .45); stroke-width: 1.2; stroke-dasharray: 5 5; fill: none; }
.yfn-svg-label { fill: var(--yf26-muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.yfn-svg-area { fill: url(#yfn-hero-fact); }
.yfn-svg-fact { fill: none; stroke: #2fbf8c; stroke-width: 3; stroke-linecap: round; }
.yfn-svg-forecast { fill: none; stroke: #d7ab2f; stroke-width: 2.6; stroke-dasharray: 7 6; stroke-linecap: round; }
.yfn-svg-over { fill: rgba(255, 124, 132, .32); }
.yfn-svg-today { stroke: rgba(16, 34, 30, .18); stroke-width: 1; stroke-dasharray: 2 4; }
.yfn-svg-dot { fill: #fff; stroke: #2fbf8c; stroke-width: 3; }
.yfn-svg-end { fill: #d7ab2f; }
.yfn-svg-end.is-over { fill: var(--yfn-red-deep); }

.yfn-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    color: #f5fbf8;
    background: rgba(13, 39, 33, .82);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    animation: yfn-float 7s ease-in-out infinite;
}
.yfn-float--telegram { bottom: 0; left: -26px; padding: 11px 14px 11px 11px; }
.yfn-float--telegram small { display: block; color: rgba(231, 243, 237, .55); font-size: 10.5px; }
.yfn-float--telegram strong { font-size: 13px; }
.yfn-float--telegram em { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; color: var(--yf26-mint); background: rgba(101, 217, 174, .13); font-size: 11px; font-style: normal; font-weight: 700; }
.yfn-float__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #3aa8ea, #2481cc); font-size: 19px; }
.yfn-float--offline { top: -30px; right: -44px; padding: 9px 14px; font-size: 12.5px; font-weight: 700; animation-delay: -3s; }
.yfn-float--offline i { color: var(--yf26-mint); font-size: 18px; }
@keyframes yfn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.yfn-ticker { position: relative; margin-top: clamp(44px, 5vw, 64px); padding: 18px 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .015); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.yfn-ticker__track { display: flex; width: max-content; animation: yfn-marquee 52s linear infinite; }
.yfn-ticker__group { display: flex; flex: 0 0 auto; gap: 34px; padding-right: 34px; }
.yfn-ticker span { display: inline-flex; align-items: center; gap: 12px; color: rgba(231, 243, 237, .56); font-size: 13px; font-weight: 600; white-space: nowrap; }
.yfn-ticker b { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; color: #e8f6ef; font-size: 13px; }
.yfn-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yf26-mint); }
@keyframes yfn-marquee { to { transform: translateX(-50%); } }

/* ── Cashflow: irregular income ─────────────────────────────────────────── */
.yfn-cashflow { position: relative; background: var(--yf26-paper); }
.yfn-cashflow::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 80% 0%, rgba(101, 217, 174, .14), transparent 70%); }
.yfn-cashflow > .yf26-container { position: relative; }
.yfn-route { padding: 30px 30px 26px; border: 1px solid var(--yfn-line-light); border-radius: var(--yfn-radius); background: #fff; box-shadow: 0 40px 80px -50px rgba(5, 25, 20, .35); }
.yfn-route__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.yfn-route__head h3 { margin: 8px 0 0; font-size: clamp(22px, 2.3vw, 28px); font-weight: 750; }
.yfn-route__date { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--yfn-line-light); border-radius: 12px; background: var(--yf26-paper); font-size: 13px; font-weight: 700; white-space: nowrap; }
.yfn-route__date i { color: var(--yfn-mint-deep); font-size: 16px; }
.yfn-route__date b { padding-left: 8px; border-left: 1px solid var(--yfn-line-light); color: var(--yf26-muted); font-weight: 600; }
.yfn-route__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 34px; margin-top: 18px; }

.yfn-route__main { display: grid; gap: 22px; min-width: 0; }
.yfn-timeline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 118px; }
.yfn-timeline__lane { position: relative; height: 100%; }
.yfn-timeline__track { position: absolute; top: 50%; left: 0; right: 0; height: 8px; margin-top: -4px; overflow: hidden; border-radius: 99px; background: repeating-linear-gradient(90deg, #e3ece7 0 10px, #edf3ef 10px 12px); }
.yfn-timeline__passed { position: absolute; inset: 0 auto 0 0; width: var(--x); border-radius: inherit; background: linear-gradient(90deg, rgba(101, 217, 174, .35), var(--yf26-mint)); }
.yfn-timeline__today { position: absolute; top: 50%; left: var(--x); z-index: 2; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 4px solid #fff; border-radius: 50%; background: var(--yf26-ink); box-shadow: 0 0 0 6px rgba(16, 34, 30, .08); }
.yfn-timeline__edge { display: grid; justify-items: center; color: var(--yf26-ink); font-size: 16px; font-weight: 800; line-height: 1.1; }
.yfn-timeline__edge small { color: var(--yf26-muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; }
.yfn-mark { position: absolute; top: 50%; left: var(--x); z-index: 1; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.yfn-mark.is-received { background: var(--yfn-mint-deep); box-shadow: 0 0 0 4px rgba(101, 217, 174, .3); }
.yfn-mark.is-expected { border: 2px dashed var(--yfn-gold-deep); background: #fffaf0; }
.yfn-mark b { position: absolute; left: 50%; padding: 4px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); }
.yfn-mark.is-top b { bottom: 20px; }
.yfn-mark.is-bottom b { top: 20px; }
.yfn-mark.is-received b { color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .16); }
.yfn-mark.is-expected b { color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .2); }
.yfn-pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yfn-pay { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; border: 1px solid var(--yfn-line-light); border-radius: 16px; background: #fff; transition: transform .3s var(--yfn-ease), box-shadow .3s var(--yfn-ease); }
.yfn-pay:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(5, 25, 20, .5); }
.yfn-pay > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; font-size: 16px; }
.yfn-pay div { display: grid; gap: 2px; min-width: 0; }
.yfn-pay strong { font-size: 14px; font-weight: 750; }
.yfn-pay span { color: var(--yf26-muted); font-size: 12px; }
.yfn-pay b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.yfn-pay.is-received > i { color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .18); }
.yfn-pay.is-received b { color: var(--yfn-mint-deep); }
.yfn-pay.is-expected { border-style: dashed; border-color: rgba(200, 160, 50, .45); background: #fffdf6; }
.yfn-pay.is-expected > i { color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .24); }

.yfn-inflow { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #0f3a2f, var(--yf26-forest)); color: #f5fbf8; }
.yfn-inflow__ring { display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; background: conic-gradient(var(--yf26-mint) calc(var(--p) * 360deg), rgba(232, 200, 105, .55) 0); position: relative; }
.yfn-inflow__ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #0e3229; }
.yfn-inflow__ring span { position: relative; display: grid; justify-items: center; }
.yfn-inflow__ring b { font-size: 24px; font-weight: 800; }
.yfn-inflow__ring small { color: rgba(223, 247, 238, .6); font-size: 10px; }
.yfn-inflow__copy > span { color: rgba(223, 247, 238, .62); font-size: 12px; }
.yfn-inflow__copy strong { display: block; margin: 4px 0 12px; font-size: 26px; font-weight: 800; }
.yfn-inflow__copy p { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: rgba(223, 247, 238, .72); font-size: 12.5px; }
.yfn-inflow__copy p b { margin-left: auto; color: #fff; }
.yfn-inflow__copy p i { width: 8px; height: 8px; border-radius: 50%; }
.yfn-inflow__copy p i.is-received { background: var(--yf26-mint); }
.yfn-inflow__copy p i.is-expected { background: var(--yf26-gold); }

.yfn-bridge { display: flex; align-items: center; gap: 16px; margin: 30px 0; }
.yfn-bridge span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(16, 34, 30, .16), transparent); }
.yfn-bridge b { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--yfn-line-light); border-radius: 999px; color: var(--yf26-ink); background: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px -18px rgba(5, 25, 20, .5); }
.yfn-bridge b i { color: var(--yfn-mint-deep); }

.yfn-results { display: grid; grid-template-columns: .9fr 1.3fr .9fr; gap: 18px; }
.yfn-result { position: relative; display: grid; align-content: start; gap: 16px; padding: 24px; overflow: hidden; border: 1px solid var(--yfn-line-light); border-radius: var(--yfn-radius); background: #fff; box-shadow: 0 30px 60px -46px rgba(5, 25, 20, .45); transition: transform .35s var(--yfn-ease), box-shadow .35s var(--yfn-ease); }
.yfn-result:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -44px rgba(5, 25, 20, .5); }
.yfn-result header { display: flex; align-items: center; gap: 10px; }
.yfn-result header .yfn-status { margin-left: auto; }
.yfn-result__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; font-size: 18px; }
.yfn-result--safe .yfn-result__icon { color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .16); }
.yfn-result--forecast .yfn-result__icon { color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .24); }
.yfn-result--month .yfn-result__icon { color: #2b7fc9; background: rgba(77, 165, 244, .14); }
.yfn-result > p { margin: 0; color: var(--yf26-muted); font-size: 13.5px; line-height: 1.55; }
.yfn-result--forecast { background: linear-gradient(180deg, #fffdf7, #fff 60%); border-color: rgba(200, 160, 50, .28); }

.yfn-gauge { position: relative; display: grid; justify-items: center; margin-top: 4px; padding-bottom: 6px; }
.yfn-gauge svg { width: min(220px, 100%); overflow: visible; }
.yfn-gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.yfn-gauge__base { stroke: #e7efeb; }
.yfn-gauge__value { stroke: var(--yf26-mint); stroke-dasharray: 188.5; stroke-dashoffset: calc(188.5 * (1 - var(--p))); filter: drop-shadow(0 6px 10px rgba(101, 217, 174, .45)); }
.yfn-gauge strong { position: absolute; left: 0; right: 0; bottom: -2px; display: grid; justify-items: center; gap: 4px; font-size: 30px; font-weight: 800; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.yfn-gauge strong small { color: var(--yf26-muted); font-size: 12px; font-weight: 650; letter-spacing: .02em; }

.yfn-forecast__value strong { display: block; font-size: 34px; font-weight: 800; line-height: 1; }
.yfn-forecast__value span { display: block; margin-top: 6px; color: var(--yf26-muted); font-size: 13px; }
.yfn-forecast { display: block; width: 100%; height: auto; overflow: visible; }
.yfn-forecast__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--yf26-muted); font-size: 11.5px; font-weight: 600; }
.yfn-forecast__legend span { display: inline-flex; align-items: center; gap: 6px; }
.yfn-forecast__legend i { width: 14px; height: 4px; border-radius: 2px; }
.yfn-forecast__legend i.is-fact { background: #2fbf8c; }
.yfn-forecast__legend i.is-forecast { background: repeating-linear-gradient(90deg, #d7ab2f 0 4px, transparent 4px 7px); }
.yfn-forecast__legend i.is-plan { background: repeating-linear-gradient(90deg, rgba(16, 34, 30, .5) 0 3px, transparent 3px 6px); }
.yfn-forecast__legend i.is-over { height: 10px; background: rgba(255, 124, 132, .4); }

.yfn-result__big { color: #1f6fb4; font-size: 34px; font-weight: 800; line-height: 1; }
.yfn-waterfall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; height: 150px; padding-bottom: 38px; position: relative; }
.yfn-waterfall div { position: relative; height: 100%; }
.yfn-waterfall i { position: absolute; left: 0; right: 0; bottom: var(--b); height: var(--h); border-radius: 10px; }
.yfn-waterfall .is-in i { background: linear-gradient(180deg, var(--yf26-mint), #3fc793); }
.yfn-waterfall .is-out i { background: repeating-linear-gradient(135deg, rgba(255, 124, 132, .55) 0 6px, rgba(255, 124, 132, .35) 6px 12px); }
.yfn-waterfall .is-total i { background: linear-gradient(180deg, #6fb6f6, var(--yf26-blue)); box-shadow: 0 10px 22px -10px rgba(77, 165, 244, .7); }
.yfn-waterfall span { position: absolute; top: calc(100% + 8px); left: 0; right: 0; color: var(--yf26-muted); font-size: 11px; text-align: center; }
.yfn-waterfall b { position: absolute; top: calc(100% + 22px); left: 0; right: 0; font-size: 12px; font-weight: 800; text-align: center; }

.yfn-insight { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 18px; padding: 18px 20px; border: 1px solid transparent; border-radius: 20px; background: linear-gradient(#f4fbf7, #f4fbf7) padding-box, linear-gradient(120deg, rgba(101, 217, 174, .7), rgba(232, 200, 105, .6), rgba(77, 165, 244, .5)) border-box; }
.yfn-insight__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #2fbf8c, var(--yfn-mint-deep)); font-size: 22px; box-shadow: 0 12px 24px -12px rgba(23, 138, 102, .8); }
.yfn-insight strong { font-size: 15px; font-weight: 750; }
.yfn-insight p { margin: 3px 0 0; color: var(--yf26-muted); font-size: 14px; line-height: 1.55; }
.yfn-insight p b { color: var(--yfn-mint-deep); }
.yfn-insight a { display: inline-flex; align-items: center; gap: 6px; color: var(--yfn-mint-deep); font-size: 13.5px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.yfn-insight a:hover { color: var(--yf26-ink); }

/* ── Capabilities (dark bento) ──────────────────────────────────────────── */
.yfn-capabilities { position: relative; padding: clamp(84px, 9vw, 128px) 0; overflow: hidden; color: #f5fbf8; background: radial-gradient(ellipse 50% 40% at 15% 0%, rgba(101, 217, 174, .1), transparent 70%), var(--yf26-forest); }
.yfn-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.yfn-tile { position: relative; display: grid; align-content: start; gap: 22px; padding: 26px; overflow: hidden; border: 1px solid var(--yfn-line-dark); border-radius: var(--yfn-radius); background: var(--yfn-glass), rgba(7, 23, 20, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transition: border-color .35s ease, transform .35s var(--yfn-ease); }
.yfn-tile::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(101, 217, 174, .12), transparent 60%); transition: opacity .35s ease; }
.yfn-tile:hover { border-color: rgba(101, 217, 174, .28); transform: translateY(-3px); }
.yfn-tile:hover::after { opacity: 1; }
.yfn-tile--capital { grid-column: span 7; grid-row: span 2; }
.yfn-tile--analytics { grid-column: span 5; }
.yfn-tile--telegram { grid-column: span 5; }
.yfn-tile--goals { grid-column: span 12; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.yfn-tile__top { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.yfn-tile__icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(101, 217, 174, .22); border-radius: 14px; color: var(--yf26-mint); background: rgba(101, 217, 174, .08); font-size: 21px; }
.yfn-tile h3 { margin: 2px 0 6px; color: #f7fbf8; font-size: 20px; font-weight: 750; }
.yfn-tile p { margin: 0; color: rgba(231, 243, 237, .62); font-size: 14px; line-height: 1.55; }

.yfn-capital { display: grid; gap: 18px; }
.yfn-capital__total small { display: block; color: rgba(231, 243, 237, .55); font-size: 12px; }
.yfn-capital__total strong { display: block; margin: 4px 0 6px; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; line-height: 1; }
.yfn-capital__total span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; color: var(--yf26-mint); background: rgba(101, 217, 174, .1); font-size: 12px; font-weight: 700; }
.yfn-capital__bar { display: flex; gap: 4px; height: 12px; }
.yfn-capital__bar i { width: var(--w); border-radius: 99px; background: var(--c); }
.yfn-capital__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.yfn-capital__list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; background: rgba(255, 255, 255, .025); font-size: 14px; }
.yfn-capital__list li > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); font-size: 18px; }
.yfn-capital__list em { color: rgba(231, 243, 237, .45); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-style: normal; }
.yfn-capital__list b { font-weight: 750; }

.yfn-bars { display: grid; gap: 14px; }
.yfn-bars div { display: grid; grid-template-columns: 70px minmax(0, 1fr) 96px; align-items: center; gap: 12px; font-size: 13px; }
.yfn-bars span { color: rgba(231, 243, 237, .6); }
.yfn-bars i { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); }
.yfn-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: rgba(231, 243, 237, .35); }
.yfn-bars i.is-fact::after { background: var(--yf26-mint); }
.yfn-bars i.is-forecast::after { background: repeating-linear-gradient(90deg, var(--yf26-gold) 0 8px, rgba(232, 200, 105, .55) 8px 12px); }
.yfn-bars b { text-align: right; font-weight: 750; }
.yfn-tile__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); color: rgba(231, 243, 237, .6); font-size: 13px; }
.yfn-tile__foot span { display: inline-flex; align-items: center; gap: 6px; }
.yfn-tile__foot b { color: var(--yf26-mint); font-size: 15px; }
.yfn-tile__foot b.is-gold { color: var(--yf26-gold); }

.yfn-bubbles { display: grid; gap: 10px; }
.yfn-bubbles p { position: relative; margin: 0; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; }
.yfn-bubbles small { display: block; margin-top: 4px; color: rgba(231, 243, 237, .45); font-size: 10.5px; }
.yfn-bubbles .is-user { justify-self: end; max-width: 80%; border-bottom-right-radius: 6px; color: #062019; background: var(--yf26-mint); }
.yfn-bubbles .is-user small { color: rgba(6, 32, 25, .6); text-align: right; }
.yfn-bubbles .is-bot { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 92%; border: 1px solid rgba(255, 255, 255, .08); border-bottom-left-radius: 6px; background: rgba(255, 255, 255, .05); }
.yfn-bubbles .is-bot span { display: inline-flex; align-items: center; gap: 6px; }
.yfn-bubbles .is-bot span i { color: var(--yf26-mint); }
.yfn-bubbles .is-bot b { font-size: 16px; }
.yfn-bubbles .is-bot small { grid-column: 1 / -1; }

.yfn-goal { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 24px; }
.yfn-goal__ring { position: relative; display: grid; width: 128px; height: 128px; place-items: center; border-radius: 50%; background: conic-gradient(var(--yf26-gold) calc(var(--p) * 360deg), rgba(255, 255, 255, .07) 0); }
.yfn-goal__ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #0f2a24; }
.yfn-goal__ring span { position: relative; display: grid; justify-items: center; }
.yfn-goal__ring b { font-size: 26px; }
.yfn-goal__ring small { color: rgba(231, 243, 237, .5); font-size: 11px; }
.yfn-goal__copy { display: grid; gap: 14px; }
.yfn-goal__copy p { display: grid; gap: 4px; margin: 0; color: #f5fbf8; }
.yfn-goal__copy small { color: rgba(231, 243, 237, .5); font-size: 12px; }
.yfn-goal__copy strong { font-size: 20px; font-weight: 800; }
.yfn-goal__copy em { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 9px; border-radius: 999px; color: var(--yf26-mint); background: rgba(101, 217, 174, .1); font-size: 11.5px; font-style: normal; font-weight: 700; }

.yfn-trust { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border: 1px solid var(--yfn-line-dark); border-radius: 20px; background: rgba(255, 255, 255, .025); }
.yfn-trust__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--yf26-mint); background: rgba(101, 217, 174, .1); font-size: 22px; }
.yfn-trust strong { color: #f5fbf8; font-size: 15px; }
.yfn-trust p { margin: 3px 0 0; color: rgba(231, 243, 237, .6); font-size: 13.5px; }
.yfn-trust__chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(101, 217, 174, .25); border-radius: 12px; color: var(--yf26-mint); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ── Advantages ─────────────────────────────────────────────────────────── */
.yfn-advantages { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--yf26-white), var(--yf26-paper)); }
.yfn-advantages::before { content: ""; position: absolute; top: -200px; left: 50%; width: 900px; height: 600px; pointer-events: none; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(101, 217, 174, .16), transparent 65%); }
.yfn-advantages > .yf26-container { position: relative; }
.yfn-perks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.yfn-perk {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--yfn-line-light);
    border-radius: var(--yfn-radius);
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -48px rgba(5, 25, 20, .45);
    transition: transform .35s var(--yfn-ease), box-shadow .35s var(--yfn-ease), border-color .35s ease;
}
.yfn-perk:hover { transform: translateY(-4px); border-color: rgba(23, 138, 102, .25); box-shadow: 0 40px 70px -46px rgba(5, 25, 20, .5); }
.yfn-perk header { display: flex; align-items: center; justify-content: space-between; }
.yfn-perk__index { color: rgba(16, 34, 30, .3); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; }
.yfn-tier { padding: 5px 10px; border-radius: 999px; color: var(--yf26-ink); background: rgba(16, 34, 30, .06); font-size: 11px; font-weight: 750; }
.yfn-tier.is-free { color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .15); }
.yfn-tier.is-gold { color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .22); }
.yfn-tier.is-soon { color: #6a4fc0; background: rgba(182, 156, 242, .2); }
.yfn-perk__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--yfn-mint-deep); background: linear-gradient(160deg, rgba(101, 217, 174, .22), rgba(101, 217, 174, .08)); font-size: 23px; }
.yfn-perk h3 { margin: 4px 0 0; color: var(--yf26-ink); font-size: 21px; font-weight: 750; line-height: 1.2; }
.yfn-perk > p { margin: 0; color: var(--yf26-muted); font-size: 14.5px; line-height: 1.6; }

.yfn-perk--forecast { grid-column: span 7; grid-row: span 2; color: #f5fbf8; border-color: transparent; background: radial-gradient(circle at 90% 0%, rgba(101, 217, 174, .22), transparent 45%), linear-gradient(160deg, #103a2f, var(--yf26-night)); }
.yfn-perk--forecast h3 { color: #fff; font-size: clamp(24px, 2.5vw, 32px); }
.yfn-perk--forecast > p { max-width: 520px; color: rgba(231, 243, 237, .7); font-size: 15.5px; }
.yfn-perk--forecast .yfn-perk__index { color: rgba(231, 243, 237, .35); }
.yfn-perk--forecast .yfn-tier { color: var(--yf26-gold); background: rgba(232, 200, 105, .12); }
.yfn-perk--forecast .yfn-perk__icon { color: var(--yf26-mint); background: rgba(101, 217, 174, .12); }
.yfn-daily { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 26px; margin-top: auto; padding: 20px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: rgba(255, 255, 255, .03); }
.yfn-daily__value small { display: block; color: rgba(231, 243, 237, .55); font-size: 12px; }
.yfn-daily__value strong { display: block; margin-top: 4px; color: var(--yf26-mint); font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1; }
.yfn-daily__days { display: flex; align-items: end; gap: 6px; height: 72px; }
.yfn-daily__days i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(101, 217, 174, .5); }
.yfn-daily__days i.is-today { background: var(--yf26-gold); box-shadow: 0 0 18px rgba(232, 200, 105, .55); }
.yfn-daily__days i.is-future { background: repeating-linear-gradient(180deg, rgba(231, 243, 237, .18) 0 4px, transparent 4px 7px); }
.yfn-checks { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.yfn-checks li { display: flex; align-items: center; gap: 10px; color: rgba(231, 243, 237, .85); font-size: 14px; font-weight: 600; }
.yfn-checks i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: #062019; background: var(--yf26-mint); font-size: 13px; }

.yfn-perk--signals { grid-column: span 5; grid-row: span 2; }
.yfn-anomalies { display: grid; gap: 10px; margin-top: 6px; }
.yfn-anomalies p { display: grid; grid-template-columns: 118px minmax(0, 1fr) 46px; align-items: center; gap: 10px; margin: 0; font-size: 13px; }
.yfn-anomalies i { position: relative; height: 8px; border-radius: 99px; background: #eef3f0; }
.yfn-anomalies i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; }
.yfn-anomalies b { text-align: right; font-size: 13px; }
.yfn-anomalies .is-alert i::after { background: linear-gradient(90deg, rgba(255, 124, 132, .55), #ff7c84); }
.yfn-anomalies .is-alert b { color: var(--yfn-red-deep); }
.yfn-anomalies .is-warn i::after { background: linear-gradient(90deg, rgba(232, 200, 105, .55), var(--yf26-gold)); }
.yfn-anomalies .is-warn b { color: var(--yfn-gold-deep); }
.yfn-anomalies .is-ok i::after { background: var(--yf26-mint); }
.yfn-anomalies .is-ok b { color: var(--yfn-mint-deep); }
.yfn-regular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding: 16px; border-radius: 18px; background: rgba(77, 165, 244, .07); }
.yfn-regular span { display: inline-flex; align-items: center; gap: 6px; width: 100%; color: #2b7fc9; font-size: 12px; font-weight: 750; }
.yfn-regular em { padding: 6px 10px; border: 1px solid rgba(77, 165, 244, .18); border-radius: 10px; background: #fff; font-size: 12px; font-style: normal; font-weight: 650; }
.yfn-regular b { width: 100%; margin-top: 4px; font-size: 18px; font-weight: 800; }

.yfn-perk--planning, .yfn-perk--honest, .yfn-perk--offline { grid-column: span 4; }
.yfn-split { display: grid; gap: 10px; margin-top: auto; }
.yfn-split__bar { display: flex; gap: 3px; height: 14px; }
.yfn-split__bar i { width: var(--w); border-radius: 5px; background: var(--c); }
.yfn-split__bar i.is-open { background: repeating-linear-gradient(135deg, rgba(232, 200, 105, .6) 0 4px, rgba(232, 200, 105, .2) 4px 8px); }
.yfn-split p { display: flex; justify-content: space-between; margin: 0; font-size: 13px; }
.yfn-split p span { color: var(--yf26-muted); }
.yfn-split p.is-open b { color: var(--yfn-gold-deep); }
.yfn-share { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: auto; }
.yfn-share div { padding: 12px 14px; border: 1px solid var(--yfn-line-light); border-radius: 14px; background: var(--yf26-paper); }
.yfn-share small { display: block; color: var(--yf26-muted); font-size: 11.5px; }
.yfn-share strong { font-size: 17px; font-weight: 800; }
.yfn-share > i { color: var(--yf26-muted); font-size: 20px; }
.yfn-share .is-mine { border-color: rgba(101, 217, 174, .5); background: rgba(101, 217, 174, .12); }
.yfn-share .is-mine strong { color: var(--yfn-mint-deep); }
.yfn-queue { display: grid; gap: 6px; margin-top: auto; }
.yfn-queue p { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border: 1px dashed rgba(16, 34, 30, .15); border-radius: 12px; font-size: 13px; }
.yfn-queue p i { color: var(--yf26-muted); font-size: 17px; }
.yfn-queue p em { color: var(--yfn-gold-deep); font-size: 11.5px; font-style: normal; font-weight: 700; }
.yfn-queue p.is-synced { grid-template-columns: 22px minmax(0, 1fr); border-style: solid; border-color: rgba(101, 217, 174, .45); color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .1); font-weight: 700; }
.yfn-queue p.is-synced i { color: var(--yfn-mint-deep); }

.yfn-perk--youfi { grid-column: span 8; color: #f5fbf8; border-color: rgba(232, 200, 105, .25); background: radial-gradient(circle at 100% 100%, rgba(232, 200, 105, .2), transparent 45%), linear-gradient(160deg, #1a3029, #0b1d18); }
.yfn-perk--youfi h3 { color: #fff; }
.yfn-perk--youfi > p { color: rgba(231, 243, 237, .7); }
.yfn-perk--youfi .yfn-perk__index { color: rgba(231, 243, 237, .35); }
.yfn-perk--youfi .yfn-tier { color: #1a1406; background: var(--yf26-gold); }
.yfn-perk--youfi .yfn-perk__icon { color: var(--yf26-gold); background: rgba(232, 200, 105, .14); }
.yfn-economy { display: grid; gap: 10px; margin-top: auto; }
.yfn-economy__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yfn-economy__flow span { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 700; }
.yfn-economy__flow span.is-coin { color: var(--yf26-gold); border-color: rgba(232, 200, 105, .35); background: rgba(232, 200, 105, .1); }
.yfn-economy__flow span.is-premium { color: #062019; border-color: transparent; background: var(--yf26-mint); }
.yfn-economy__flow b { color: rgba(231, 243, 237, .4); }
.yfn-economy__multipliers { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(231, 243, 237, .6); font-size: 12.5px; }
.yfn-economy__multipliers span { margin-right: 4px; }
.yfn-economy__multipliers em { padding: 4px 9px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; color: #f5fbf8; font-family: "IBM Plex Mono", monospace; font-size: 12px; font-style: normal; }
.yfn-economy__multipliers em { position: relative; cursor: help; font-weight: 700; transition: transform .2s var(--yfn-ease); }
.yfn-economy__multipliers em:hover, .yfn-economy__multipliers em:focus-visible { transform: translateY(-2px); outline: 0; }
.yfn-economy__multipliers em.is-premium { color: #f0d576; border-color: rgba(225, 188, 67, .35); background: rgba(206, 164, 43, .16); }
.yfn-economy__multipliers em.is-business { color: #8ce0c0; border-color: rgba(79, 195, 151, .35); background: rgba(43, 148, 109, .2); }
.yfn-economy__multipliers em.is-founder { color: #f5b3b9; border-color: rgba(214, 91, 100, .38); background: rgba(175, 54, 64, .24); }
.yfn-economy__multipliers em::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    z-index: 5;
    width: max-content;
    max-width: 230px;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--yf26-ink);
    background: #fff;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s ease, transform .2s var(--yfn-ease);
}
.yfn-economy__multipliers em:hover::after, .yfn-economy__multipliers em:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.yfn-economy__multipliers em.is-founder::after { left: auto; right: 0; transform: translate(0, 4px); }
.yfn-economy__multipliers em.is-founder:hover::after, .yfn-economy__multipliers em.is-founder:focus-visible::after { transform: none; }

/* (i) with an example: hover or tap */
.yfn-hint { position: relative; display: inline-block; vertical-align: -3px; }
.yfn-hint__button { display: inline-grid; width: 22px; height: 22px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .16); font-size: 15px; cursor: pointer; transition: background-color .2s ease; }
.yfn-hint__button:hover, .yfn-hint.is-open .yfn-hint__button { background: rgba(101, 217, 174, .32); }
.yfn-hint__button:focus-visible { outline: 3px solid rgba(101, 217, 174, .4); outline-offset: 2px; }
.yfn-hint__card {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    z-index: 20;
    display: grid;
    gap: 8px;
    width: 290px;
    padding: 16px;
    border: 1px solid var(--yfn-line-light);
    border-radius: 18px;
    color: var(--yf26-ink);
    background: #fff;
    box-shadow: 0 30px 60px -24px rgba(5, 25, 20, .45);
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .22s ease, transform .22s var(--yfn-ease), visibility 0s linear .22s;
}
.yfn-hint__card strong { font-size: 14px; }
.yfn-hint__card > span { display: flex; align-items: flex-start; gap: 8px; }
.yfn-hint__card > span i { flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; }
.yfn-hint__card i.is-out { background: #ff7c84; }
.yfn-hint__card i.is-in { background: var(--yf26-blue); }
.yfn-hint__card i.is-result { background: var(--yfn-mint-deep); }
.yfn-hint__card small { padding-top: 8px; border-top: 1px dashed var(--yfn-line-light); color: var(--yf26-muted); font-size: 12px; }
.yfn-hint:hover .yfn-hint__card, .yfn-hint.is-open .yfn-hint__card, .yfn-hint:focus-within .yfn-hint__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (max-width: 640px) { .yfn-hint__card { left: auto; right: -40px; width: min(290px, calc(100vw - 48px)); transform: translateY(6px); } .yfn-hint:hover .yfn-hint__card, .yfn-hint.is-open .yfn-hint__card, .yfn-hint:focus-within .yfn-hint__card { transform: none; } }
.yfn-perk--honest { overflow: visible; z-index: 2; }
.yfn-perk__text { margin: 0; color: var(--yf26-muted); font-size: 14.5px; line-height: 1.6; }

.yfn-perk--ai, .yfn-perk--youfi { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-auto-rows: min-content; column-gap: clamp(28px, 4vw, 56px); row-gap: 12px; align-items: start; }
.yfn-perk--ai > :not(.yfn-ai):not(.yfn-economy), .yfn-perk--youfi > :not(.yfn-ai):not(.yfn-economy) { grid-column: 1; }
.yfn-perk--ai .yfn-ai, .yfn-perk--youfi .yfn-economy { grid-column: 2; grid-row: 1 / span 8; margin-top: 0; align-self: center; }
.yfn-perk--ai { border-color: rgba(182, 156, 242, .32); background: radial-gradient(circle at 0% 0%, rgba(182, 156, 242, .2), transparent 45%), radial-gradient(circle at 100% 100%, rgba(101, 217, 174, .12), transparent 45%), #fff; }
.yfn-perk--ai h3 { font-size: clamp(22px, 2.3vw, 28px); }
.yfn-perk--ai .yfn-perk__icon { color: #6a4fc0; background: rgba(182, 156, 242, .22); }
.yfn-ai__skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.yfn-ai__skills li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(182, 156, 242, .3); border-radius: 999px; color: #3b2f63; background: rgba(182, 156, 242, .08); font-size: 12.5px; font-weight: 650; }
.yfn-ai__skills i { color: #7b5fd6; font-size: 15px; }
.yfn-ai { display: grid; gap: 8px; padding: 16px; border: 1px solid rgba(182, 156, 242, .25); border-radius: 22px; background: linear-gradient(180deg, #faf8ff, #fff); box-shadow: 0 30px 60px -44px rgba(59, 47, 99, .55); }
.yfn-ai__head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px; }
.yfn-ai__head span { display: inline-flex; align-items: center; gap: 7px; color: #3b2f63; font-size: 13px; font-weight: 750; }
.yfn-ai__head span i { color: #7b5fd6; }
.yfn-ai__head em { color: var(--yf26-muted); font-size: 11.5px; font-style: normal; }
.yfn-ai p { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid rgba(16, 34, 30, .06); border-radius: 14px; background: #fff; }
.yfn-ai p > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); font-size: 17px; }
.yfn-ai p span { display: grid; gap: 2px; color: var(--yf26-muted); font-size: 12px; line-height: 1.4; }
.yfn-ai p b { color: var(--yf26-ink); font-size: 13px; font-weight: 700; }
.yfn-ai p button { padding: 7px 11px; border: 0; border-radius: 10px; color: #fff; background: #7b5fd6; font-size: 11.5px; font-weight: 750; white-space: nowrap; pointer-events: none; }
.yfn-perk--youfi .yfn-economy { padding: 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; background: rgba(255, 255, 255, .03); }

.yfn-extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.yfn-extras li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--yfn-line-light); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 650; }
.yfn-extras i { color: var(--yfn-mint-deep); font-size: 17px; }

/* ── Workflow stepper ───────────────────────────────────────────────────── */
.yfn-workflow { position: relative; overflow: hidden; color: #f5fbf8; background: radial-gradient(ellipse 50% 60% at 85% 50%, rgba(101, 217, 174, .1), transparent 70%), var(--yf26-night); }
.yfn-steps { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.yfn-steps__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.yfn-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    padding: 20px 20px 22px;
    overflow: hidden;
    border: 1px solid var(--yfn-line-dark);
    border-radius: 20px;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease;
}
.yfn-step:hover { background: rgba(255, 255, 255, .025); }
.yfn-step:focus-visible { outline: 3px solid rgba(101, 217, 174, .4); outline-offset: 2px; }
.yfn-step.is-active { border-color: rgba(101, 217, 174, .35); background: var(--yfn-glass); }
.yfn-step__num { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; color: rgba(231, 243, 237, .55); font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 600; transition: all .3s ease; }
.yfn-step.is-active .yfn-step__num { color: #062019; border-color: transparent; background: var(--yf26-mint); box-shadow: 0 10px 24px -10px rgba(101, 217, 174, .7); }
.yfn-step__copy { display: grid; gap: 6px; }
.yfn-step__copy strong { color: rgba(245, 251, 248, .7); font-size: 18px; font-weight: 750; transition: color .3s ease; }
.yfn-step.is-active .yfn-step__copy strong { color: #fff; }
.yfn-step__copy small { color: rgba(231, 243, 237, .55); font-size: 14px; line-height: 1.55; }
.yfn-step__progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; overflow: hidden; border-radius: 2px; background: transparent; }
.yfn-step.is-active .yfn-step__progress { background: rgba(255, 255, 255, .06); }
.yfn-step__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--yf26-mint), var(--yf26-gold)); }
.yfn-steps.is-playing .yfn-step.is-active .yfn-step__progress i { animation: yfn-progress var(--yfn-step-ms, 5200ms) linear forwards; }
@keyframes yfn-progress { to { width: 100%; } }

.yfn-stage { position: relative; display: grid; min-height: 440px; place-items: center; padding: 34px; border: 1px solid var(--yfn-line-dark); border-radius: 30px; background: var(--yfn-glass); }
.yfn-stage__glow { position: absolute; inset: 20% 20%; border-radius: 50%; background: rgba(101, 217, 174, .18); filter: blur(70px); pointer-events: none; }
.yfn-scene { position: relative; display: grid; justify-items: center; gap: 18px; width: 100%; max-width: 420px; }
.yfn-scene[hidden] { display: none; }
.yfn-scene.is-active { animation: yfn-scene-in .55s var(--yfn-ease) both; }
@keyframes yfn-scene-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.yfn-chat { display: grid; gap: 10px; width: 100%; padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: #0f2a24; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.yfn-chat__top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.yfn-chat__top > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #3aa8ea, #2481cc); font-size: 19px; }
.yfn-chat__top strong { display: block; font-size: 14px; }
.yfn-chat__top small { color: var(--yf26-mint); font-size: 11px; }
.yfn-chat p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; }
.yfn-chat p small { display: block; margin-top: 3px; color: rgba(231, 243, 237, .45); font-size: 10.5px; text-align: right; }
.yfn-chat .is-bot { justify-self: start; max-width: 80%; border-bottom-left-radius: 5px; background: rgba(255, 255, 255, .07); }
.yfn-chat .is-user { justify-self: end; max-width: 85%; border-bottom-right-radius: 5px; color: #062019; background: var(--yf26-mint); }
.yfn-chat .is-user small { color: rgba(6, 32, 25, .6); }
.yfn-chat__choices { display: flex; gap: 6px; }
.yfn-chat__choices span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; color: rgba(231, 243, 237, .7); font-size: 12px; font-weight: 650; }
.yfn-chat__choices span.is-active { color: var(--yf26-mint); border-color: rgba(101, 217, 174, .45); background: rgba(101, 217, 174, .1); }
.yfn-channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.yfn-channels span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; color: rgba(231, 243, 237, .75); font-size: 12px; font-weight: 650; }
.yfn-channels i { color: var(--yf26-mint); }

.yfn-record { width: 100%; padding: 20px; border-radius: 22px; color: var(--yf26-ink); background: #fbfdfb; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.yfn-record__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--yfn-line-light); }
.yfn-record__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .18); font-size: 20px; }
.yfn-record__head small { color: var(--yf26-muted); font-size: 11.5px; }
.yfn-record__head strong { display: block; font-size: 15px; }
.yfn-record__head b { font-size: 20px; font-weight: 800; }
.yfn-record dl { display: grid; gap: 0; margin: 6px 0 12px; }
.yfn-record dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--yfn-line-light); font-size: 13.5px; }
.yfn-record dt { color: var(--yf26-muted); font-weight: 500; }
.yfn-record dd { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; }
.yfn-record dd i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.yfn-record__ok { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .14); font-size: 13px; font-weight: 700; }

.yfn-recalc { display: grid; gap: 14px; width: 100%; padding: 20px; border-radius: 22px; color: var(--yf26-ink); background: #fbfdfb; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.yfn-recalc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yfn-recalc__row div { padding: 12px; border: 1px solid var(--yfn-line-light); border-radius: 14px; }
.yfn-recalc__row small { display: block; color: var(--yf26-muted); font-size: 11.5px; }
.yfn-recalc__row strong { display: block; margin: 4px 0; font-size: 22px; font-weight: 800; }
.yfn-recalc__row em { color: var(--yfn-mint-deep); font-size: 11.5px; font-style: normal; font-weight: 700; }
.yfn-recalc__row em.is-up { color: var(--yfn-red-deep); }
.yfn-recalc__chart { display: flex; align-items: end; gap: 8px; height: 110px; padding: 10px; border-radius: 14px; background: var(--yf26-paper); }
.yfn-recalc__chart i { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #86e3c1, #3fc793); }
.yfn-recalc__chart i.is-new { background: linear-gradient(180deg, #f1d27a, var(--yf26-gold)); box-shadow: 0 0 20px rgba(232, 200, 105, .6); }
.yfn-scene.is-active .yfn-recalc__chart i { animation: yfn-grow .8s var(--yfn-ease) both; transform-origin: bottom; }
@keyframes yfn-grow { from { transform: scaleY(.1); } to { transform: none; } }
.yfn-recalc__note { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(232, 200, 105, .16); }
.yfn-recalc__note i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--yfn-gold-deep); background: rgba(232, 200, 105, .3); font-size: 18px; }
.yfn-recalc__note span { display: grid; color: var(--yf26-muted); font-size: 12px; }
.yfn-recalc__note strong { color: var(--yf26-ink); font-size: 13.5px; }

/* ── Materials ──────────────────────────────────────────────────────────── */
.yfn-materials { background: var(--yf26-paper); }
.yfn-materials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yfn-material {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 250px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--yfn-line-light);
    border-radius: 22px;
    color: var(--yf26-ink);
    background: #fff;
    text-decoration: none;
    transition: transform .35s var(--yfn-ease), box-shadow .35s var(--yfn-ease), border-color .35s ease;
}
.yfn-material::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--yf26-mint), var(--yf26-gold)); opacity: 0; transition: opacity .35s ease; }
.yfn-material:hover { color: var(--yf26-ink); transform: translateY(-4px); border-color: rgba(23, 138, 102, .25); box-shadow: 0 34px 60px -44px rgba(5, 25, 20, .55); }
.yfn-material:hover::before { opacity: 1; }
.yfn-material__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: var(--yfn-mint-deep); background: rgba(101, 217, 174, .14); font-size: 21px; }
.yfn-material__type { color: var(--yf26-muted); font-family: "IBM Plex Mono", monospace; font-size: 10.5px; font-weight: 600; text-transform: uppercase; }
.yfn-material h3 { margin: 0; font-size: 20px; font-weight: 750; line-height: 1.25; }
.yfn-material p { margin: 0; color: var(--yf26-muted); font-size: 14px; line-height: 1.55; }
.yfn-material__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.yfn-material__foot small { display: inline-flex; align-items: center; gap: 6px; color: var(--yfn-mint-deep); font-size: 12.5px; font-weight: 700; }
.yfn-material__foot > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--yf26-ink); background: var(--yf26-paper); transition: background-color .3s ease, color .3s ease, transform .3s var(--yfn-ease); }
.yfn-material:hover .yfn-material__foot > i { color: #062019; background: var(--yf26-mint); transform: rotate(45deg); }
.yfn-materials__more { display: flex; justify-content: center; margin-top: 30px; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.yfn-final { background: var(--yf26-night); }
.yfn-final__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 40px; padding: clamp(34px, 5vw, 64px); overflow: hidden; border: 1px solid rgba(101, 217, 174, .2); border-radius: 32px; background: linear-gradient(150deg, #123a30, #0a211b 60%); isolation: isolate; }
.yfn-final__aurora { position: absolute; inset: 0; z-index: -1; }
.yfn-final__aurora i { position: absolute; border-radius: 50%; filter: blur(80px); }
.yfn-final__aurora i:nth-child(1) { top: -30%; right: -10%; width: 480px; height: 480px; background: rgba(101, 217, 174, .28); }
.yfn-final__aurora i:nth-child(2) { bottom: -40%; left: 10%; width: 420px; height: 420px; background: rgba(232, 200, 105, .12); }
.yfn-final h2 { margin: 18px 0 14px; color: #fff; font-size: clamp(34px, 4.4vw, 56px); font-weight: 750; line-height: 1.04; }
.yfn-final h2 em { color: var(--yf26-mint); font-style: normal; }
.yfn-final p { max-width: 520px; margin: 0; color: rgba(231, 243, 237, .7); font-size: 16px; line-height: 1.65; }
.yfn-final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.yfn-final__list { display: grid; gap: 12px; margin: 0; padding: 22px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; list-style: none; background: rgba(255, 255, 255, .03); }
.yfn-final__list li { display: flex; align-items: center; gap: 10px; color: rgba(245, 251, 248, .88); font-size: 14.5px; font-weight: 600; }
.yfn-final__list i { color: var(--yf26-mint); font-size: 19px; }

/* ── Reveal on scroll (only once the script runs; content stays visible without it) ── */
.yfn-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--yfn-ease), transform .8s var(--yfn-ease); transition-delay: var(--reveal-delay, 0ms); }
.yfn-js [data-reveal].is-in { opacity: 1; transform: none; }
.yfn-js [data-reveal]:not(.is-in) { animation: yfn-failsafe 0s 3.5s forwards; }
@keyframes yfn-failsafe { to { opacity: 1; transform: none; } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .yfn-hero__grid { grid-template-columns: 1fr; }
    .yfn-hero__stage { max-width: 760px; }
    .yfn-app { transform: none; }
    .yfn-hero__stage:hover .yfn-app { transform: none; }
    .yfn-float--telegram { left: 12px; }
    .yfn-hero__stage { max-width: 760px; }
    .yfn-float--offline { right: 12px; }
    .yfn-route__body { grid-template-columns: 1fr; }
    .yfn-results { grid-template-columns: 1fr 1fr; }
    .yfn-result--forecast { grid-column: 1 / -1; grid-row: 1; }
    .yfn-steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .yfn-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
    .yfn-tile--capital, .yfn-tile--analytics, .yfn-tile--telegram, .yfn-tile--goals { grid-column: 1 / -1; grid-row: auto; }
    .yfn-tile--goals { grid-template-columns: 1fr; }
    .yfn-perk--forecast, .yfn-perk--signals { grid-column: 1 / -1; grid-row: auto; }
    .yfn-perk--ai, .yfn-perk--youfi { grid-template-columns: 1fr; }
    .yfn-perk--ai .yfn-ai, .yfn-perk--youfi .yfn-economy { grid-column: 1; grid-row: auto; margin-top: 8px; }
    .yfn-perk--planning, .yfn-perk--honest, .yfn-perk--offline { grid-column: span 6; }
    .yfn-perk--offline { grid-column: 1 / -1; }
    .yfn-materials__grid { grid-template-columns: 1fr 1fr; }
    .yfn-final__card { grid-template-columns: 1fr; }
    .yfn-insight { grid-template-columns: 48px minmax(0, 1fr); }
    .yfn-insight a { grid-column: 2; }

}
@media (max-width: 640px) {
    .yfn .yf26-container { width: calc(100% - 32px); }
    .yfn .yf26-section, .yfn-capabilities { padding: 72px 0; }
    .yfn-hero { padding-top: 44px; }
    .yfn-hero__actions .yfn-cta { flex: 1 1 100%; }
    .yfn-get-app { width: 100%; }
    .yfn-get-app__platforms { display: none; }
                .yfn-hero__stage { padding: 16px 0 12px; }
    .yfn-app__body { grid-template-columns: 1fr; }
    .yfn-app__rail { display: none; }
    .yfn-app__kpis { grid-template-columns: 1fr 1fr; }
    .yfn-kpi--budget { grid-column: 1 / -1; }
    .yfn-app__grid { grid-template-columns: 1fr; }
    .yfn-app__signals { display: none; }
    .yfn-float--telegram { left: 8px; right: 8px; bottom: 10px; }
    .yfn-float--offline { display: none; }
    .yfn-route { padding: 20px 16px; }
    .yfn-route__head { flex-direction: column; }
    .yfn-route__date { white-space: normal; }
    .yfn-pays { grid-template-columns: 1fr; }
    .yfn-timeline { height: 56px; gap: 10px; }
    .yfn-mark b { display: none; }
    .yfn-inflow { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .yfn-inflow__copy { width: 100%; text-align: left; }
    .yfn-results { grid-template-columns: 1fr; }
    .yfn-result--forecast { grid-row: auto; }
    .yfn-capital__list li { grid-template-columns: 36px minmax(0, 1fr) auto; }
    .yfn-capital__list em { display: none; }
    .yfn-bars div { grid-template-columns: 62px minmax(0, 1fr) 86px; gap: 8px; }
    .yfn-goal { grid-template-columns: 1fr; justify-items: start; }
    .yfn-trust { grid-template-columns: 48px minmax(0, 1fr); }
    .yfn-trust__chip { grid-column: 1 / -1; justify-self: start; }
    .yfn-perk--planning, .yfn-perk--honest, .yfn-perk--offline { grid-column: 1 / -1; }
    .yfn-perk { padding: 22px; }
    .yfn-daily { grid-template-columns: 1fr; }
    .yfn-anomalies p { grid-template-columns: 100px minmax(0, 1fr) 42px; }
    .yfn-ai p { grid-template-columns: 34px minmax(0, 1fr); }
    .yfn-ai p button { grid-column: 2; justify-self: start; }
    .yfn-stage { min-height: 0; padding: 20px 14px; }
    .yfn-materials__grid { grid-template-columns: 1fr; }
    .yfn-material { min-height: 0; }
    .yfn-insight { grid-template-columns: 1fr; }
    .yfn-insight a { grid-column: auto; }
}

/* System "reduce motion": no endless motion, short transitions */
@media (prefers-reduced-motion: reduce) {
    .yfn-hero__aurora i, .yfn-pill__pulse::after, .yfn-float { animation: none !important; }
    /* The feature ticker keeps running (asked for explicitly): it is slow and linear */
    .yfn-js [data-reveal] { transform: none; transition-duration: .2s; }
}

/* The page ends in the dark footer: nothing light may show through sub-pixel seams below the landing */
body:has(main.yfn) { background: var(--yf26-night); }
body:has(main.yfn) .yf-public-footer { position: relative; margin-top: -1px; }
@media (max-width: 1100px) { .yfn-float--offline { top: -14px; right: 12px; } }

/* ── 29.09 polish ─────────────────────────────────────────────────────────── */
/* «3 240 ₽ в день» sits inside the arc, closer to it */
.yfn-gauge strong { bottom: 16px; }
.yfn-gauge { margin-bottom: -12px; }

/* Final card: light-gold eyebrow on the dark card, rounded clip for the blurred aurora (no square corners) */
.yfn-final .yf26-eyebrow { color: var(--yf26-gold) !important; }
.yfn-final .yf26-eyebrow > span { background: var(--yf26-gold) !important; }
.yfn-final__card { clip-path: inset(0 round 32px); -webkit-mask-image: -webkit-radial-gradient(white, black); }

@media (max-width: 575.98px) {
    /* Hero: «Скачать YousoroFinance» content centred on phones only */
    .yfn-get-app { justify-content: center; text-align: center; }
    .yfn-get-app__text { justify-items: center; }
    .yfn-get-app__arrow { margin-left: 2px; }

    /* «Порядок в финансах окупается»: the flow reads top to bottom on phones */
    .yfn-economy__flow { flex-direction: column; align-items: stretch; gap: 6px; }
    .yfn-economy__flow span { justify-content: center; }
    .yfn-economy__flow b { display: grid; place-items: center; height: 18px; }
    .yfn-economy__flow b i { transform: rotate(90deg); }
    .yfn-economy__multipliers { flex-wrap: wrap; justify-content: center; text-align: center; }
    .yfn-economy__multipliers span { flex-basis: 100%; margin: 0 0 4px; }
}
