/* Лендинг Black Friday 2026 для новых клиентов (nimb.digital/black-friday/). База: стили партнёрской страницы
   partners.nimb.digital/black-friday (home.css + bf.css) без изменений, свои блоки в page.css. */
@font-face{font-family:"Onest";src:url("../fonts/Onest-cyrillic.woff2") format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";src:url("../fonts/Onest-latin-ext.woff2") format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Onest";src:url("../fonts/Onest-latin.woff2") format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --night: #0B0A24; --ink: #14123A; --ink-2: #4A5068; --muted: #7C8297;
  --primary: #1158AA; --violet: #6A5CFF; --violet-2: #8F85FF; --sky: #4DA3FF;
  --tint: #F4F3FC; --line: #E6E5F2; --surface: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; }
body { font-family: Onest, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

/* ----- кнопки ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px;
  border-radius: 14px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #6A5CFF 0%, #3F6BFF 55%, #1158AA 100%);
  box-shadow: 0 10px 30px -8px rgba(106, 92, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(106, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: #ECEBFF; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; }

/* ----- шапка ----- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.nav.solid { background: rgba(11, 10, 36, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-logo img { height: 24px; display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .72); font-size: 14.5px; transition: color .15s; }
.nav-links a:hover { color: #fff; }

/* ----- первый экран ----- */
.hero { position: relative; background: var(--night); color: #fff; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.g1 { width: 620px; height: 620px; background: #6A5CFF; top: -220px; right: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.g2 { width: 520px; height: 520px; background: #1158AA; bottom: -260px; left: -160px; animation: drift2 22s ease-in-out infinite alternate; }
.g3 { width: 360px; height: 360px; background: #B44DFF; top: 30%; left: 38%; opacity: .25; animation: drift3 16s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(140px, -60px) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-80px, 60px) scale(.9); } }
.grid-lines { position: absolute; inset: 0;
  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: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }

.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #CFCBFF;
  padding: 7px 14px; border-radius: 999px; background: rgba(106, 92, 255, .14); box-shadow: inset 0 0 0 1px rgba(143, 133, 255, .35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7CF2B5; box-shadow: 0 0 0 4px rgba(124, 242, 181, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(124, 242, 181, 0); } }
.hero h1 { font-size: 60px; line-height: 1.04; font-weight: 700; margin: 24px 0 22px; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, #A79FFF 0%, #6A5CFF 35%, #4DA3FF 70%, #A79FFF 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -200% center; } }
.lead { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .74); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }

/* макет кабинета */
.mock { position: relative; border-radius: 22px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 120px -40px rgba(106, 92, 255, .7);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.mock-url { font-size: 12.5px; color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); padding: 4px 12px; border-radius: 8px; }
.mock-body { padding: 22px 24px 24px; background: #fff; color: var(--ink); border-radius: 0 0 22px 22px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mock-label { font-size: 13px; color: var(--muted); }
.mock-big { font-size: 38px; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; }
.tag { font-size: 12px; font-weight: 600; color: var(--violet); background: #EFEDFF; padding: 4px 10px; border-radius: 999px; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 18px 0 16px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.mock-bars .b { flex: 1; border-radius: 6px 6px 0 0; background: #CFCBFF; height: 0; transition: height .9s cubic-bezier(.2, .8, .2, 1); position: relative; }
.mock-bars .b.last { background: linear-gradient(180deg, #6A5CFF, #1158AA); }
.mock-bars .b span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
.mock-rows { margin-top: 28px; display: grid; gap: 8px; }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: #F6F5FC; }
.mock-row .bud { color: var(--muted); font-size: 12.5px; }
.mock-row b { font-weight: 650; }
.mock-paid { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #1B7F4C; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #1B7F4C; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid rgba(255, 255, 255, .1); }
.fact { padding: 34px 26px 44px 0; }
.fact + .fact { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .1); }
.fact-num { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.fact-text { color: rgba(255, 255, 255, .6); font-size: 14.5px; margin-top: 8px; max-width: 220px; }

/* ----- секции ----- */
.sec { padding: 112px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--night); color: #fff; }
.kicker { font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.sec-dark .kicker { color: var(--violet-2); }
.sec h2, .final h2 { font-size: 44px; line-height: 1.1; font-weight: 700; max-width: 900px; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 680px; margin-top: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; counter-reset: s; }
.step { position: relative; padding: 32px 30px 34px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #D8D4FF, 0 24px 50px -24px rgba(106, 92, 255, .35); }
.step-n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, #6A5CFF, #1158AA); box-shadow: 0 10px 24px -10px rgba(106, 92, 255, .8); margin-bottom: 26px; }
.step h3 { font-size: 21px; font-weight: 650; margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* калькулятор */
.calc-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.formula { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 34px; max-width: 520px; }
.formula > div:not(.plus) { padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); }
.formula b { display: block; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.plus { font-size: 26px; color: var(--violet); font-weight: 600; align-self: center; }
.calc-card { padding: 36px; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -40px rgba(20, 18, 58, .35), inset 0 0 0 1px var(--line); }
.slider { display: block; margin-bottom: 30px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.slider-top b { font-size: 20px; color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #6A5CFF var(--p, 15%), #E6E5F2 var(--p, 15%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px rgba(106, 92, 255, .18), 0 2px 8px rgba(20, 18, 58, .3), inset 0 0 0 7px #6A5CFF; transition: box-shadow .15s; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px rgba(106, 92, 255, .18), 0 2px 8px rgba(20, 18, 58, .3), inset 0 0 0 7px #6A5CFF; }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(106, 92, 255, .22), 0 2px 8px rgba(20, 18, 58, .3), inset 0 0 0 7px #6A5CFF; }
.calc-out { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding: 26px; border-radius: 18px; color: #fff;
  background: radial-gradient(circle at 85% 0%, rgba(143, 133, 255, .55), transparent 55%), linear-gradient(135deg, #14123A, #1E1A5C); }
.out-label { font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.out-big { font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin-top: 4px; }
.out-mid { font-size: 28px; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; margin-top: 10px; color: #CFCBFF; }
.calc-break { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.calc-break b { color: var(--ink); font-weight: 600; }

/* что делаем */
.channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.ch { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 20px; border-radius: 18px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px rgba(20, 18, 58, .35); transition: transform .2s ease, box-shadow .2s ease; }
.ch:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #D8D4FF, 0 22px 40px -24px rgba(106, 92, 255, .45); }
.ch-logo { width: 44px; height: 44px; margin-bottom: 12px; }
.ch b { font-size: 16.5px; }
.ch span { font-size: 14px; color: var(--muted); }
.why-title { font-size: 24px; font-weight: 650; margin-top: 64px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.why-i { position: relative; padding: 26px 24px 28px; border-radius: 20px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(143, 133, 255, .45), transparent 55%), linear-gradient(160deg, #1E1A5C, #14123A); }
.why-num { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px;
  background: linear-gradient(100deg, #C9C3FF, #8F85FF 60%, #7DB8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-i b { display: block; font-size: 16.5px; margin-bottom: 8px; }
.why-i span { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .7); line-height: 1.5; }

/* кейсы */
.sec-dark { position: relative; overflow: hidden; }
.case-tabs { display: inline-flex; gap: 6px; padding: 6px; margin-top: 36px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.case-tab { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border: 0; border-radius: 11px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15.5px; color: rgba(255, 255, 255, .7); background: none; transition: background .2s ease, color .2s ease; }
.case-tab svg { width: 24px; height: 24px; }
.case-tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.case-tab.on { color: var(--ink); background: #fff; }
.case-tab:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.cases.show .case { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.cases.show .case:nth-child(2) { animation-delay: .05s; } .cases.show .case:nth-child(3) { animation-delay: .1s; }
.cases.show .case:nth-child(4) { animation-delay: .15s; } .cases.show .case:nth-child(5) { animation-delay: .2s; } .cases.show .case:nth-child(6) { animation-delay: .25s; }
.hidden { display: none !important; }
.case { padding: 28px 26px 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(143, 133, 255, .5), 0 30px 60px -30px rgba(106, 92, 255, .6); }
.case-niche { font-size: 14px; color: var(--violet-2); font-weight: 600; }
.case-num { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 18px 0 12px; }
.case-num small { display: block; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .72); letter-spacing: 0; margin-top: 6px; }
.case-kpi { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; }
.case-kpi li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.case-kpi span { color: rgba(255, 255, 255, .55); }
.case-kpi b { font-weight: 600; text-align: right; }

/* кабинет */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding: 20px 22px 20px 66px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ticks li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 28px; height: 28px; border-radius: 9px;
  background: linear-gradient(135deg, #6A5CFF, #1158AA) center / cover; }
.ticks li::after { content: ""; position: absolute; left: 31px; top: 29px; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.ticks b { display: block; font-size: 17px; }
.ticks span { color: var(--ink-2); font-size: 15px; }

/* кто партнёры */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.who-i { padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.who-i:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #D8D4FF, 0 22px 40px -26px rgba(106, 92, 255, .45); }
.who-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.who-head b { font-size: 18px; }
.who-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #6A5CFF, #1158AA); flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.check { display: flex; gap: 20px; align-items: flex-start; margin-top: 24px; padding: 26px 28px; border-radius: 20px; color: #fff;
  background: radial-gradient(circle at 0% 0%, rgba(143, 133, 255, .5), transparent 50%), linear-gradient(135deg, #14123A, #1E1A5C); }
.check-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #2AABEE; flex: none; }
.check-ic svg { width: 26px; height: 26px; }
.check b { display: block; font-size: 19px; margin-bottom: 6px; }
.check p { color: rgba(255, 255, 255, .74); font-size: 16px; max-width: 860px; }

/* вопросы */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 19px; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(45deg); transition: transform .2s ease, margin .2s ease; }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.qa summary:hover { color: var(--violet); }
.qa p { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 16.5px; }
.qa p a { color: var(--violet); font-weight: 600; text-decoration: none; }
.qa p a:hover { text-decoration: underline; }

/* финал */
.final { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #fff; padding: 120px 0; text-align: center; }
.final .g1 { top: -320px; right: 10%; }
.final .g2 { bottom: -320px; left: 10%; }
.final h2 { margin: 0 auto; }
.final p { color: rgba(255, 255, 255, .7); font-size: 18px; margin-top: 16px; }
.final .hero-cta { margin-top: 36px; }

.foot { background: var(--night); color: rgba(255, 255, 255, .5); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.foot a:hover { color: #fff; }
.foot-journal { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 20px; }
.foot-journal a { color: rgba(255, 255, 255, .72); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 24px; font-size: 12.5px; line-height: 1.5; }
.foot-legal a { text-decoration: underline; }

/* появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > *, .js .mock { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .mock { animation-delay: .35s; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg) translateY(30px); animation-name: rise-mock; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-mock { to { opacity: 1; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); } }

/* ----- адаптив ----- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 50px; }
  .hero-in, .calc-in, .two { grid-template-columns: 1fr; gap: 48px; }
  .mock, .js .mock { transform: none; max-width: 560px; animation-name: rise; }
  .mock:hover { transform: none; }
  .cases, .why, .who { grid-template-columns: repeat(2, 1fr); }
  .channels { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; height: 64px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .fact, .fact + .fact { padding: 24px 12px 26px 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .fact-num { font-size: 30px; }
  .sec { padding: 76px 0; }
  .sec h2, .final h2 { font-size: 31px; }
  .sub { font-size: 16.5px; }
  .steps, .cases, .why, .who { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr 1fr; }
  .case-tabs { display: flex; flex-direction: column; }
  .ch:last-child { grid-column: span 2; }
  .case-tab { justify-content: center; padding: 0 14px; font-size: 15px; }
  .check { flex-direction: column; padding: 22px; }
  .calc-card { padding: 22px; }
  .calc-out { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .out-big { font-size: 38px; }
  .mock-big { font-size: 30px; }
  .mock-row { grid-template-columns: 1fr auto; }
  .mock-row .bud { display: none; }
  .final { padding: 84px 0; }
  .foot-in { flex-direction: column; gap: 10px; padding-top: 26px; padding-bottom: 22px; }
  .foot-journal { flex-direction: column; gap: 12px; padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-copy > *, .js .mock { opacity: 1; transform: none; }
}

/* ----- приписка под кейсами: проектов намного больше ----- */
.more-cases { margin-top: 22px; padding: 28px 30px; border-radius: 20px; background: linear-gradient(135deg, rgba(106, 92, 255, .18), rgba(17, 88, 170, .12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.more-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.more-head b { display: block; font-size: 21px; color: #fff; }
.more-head p { margin-top: 6px; max-width: 640px; color: rgba(255, 255, 255, .7); font-size: 16px; }
.more-head .btn { flex: none; }
.more-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.more-tags span { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.more-tags .more-plus { color: var(--violet-2); background: none; box-shadow: none; padding-left: 4px; }
@media (max-width: 760px) {
  .more-cases { padding: 22px; }
  .more-head { flex-direction: column; align-items: stretch; }
  .more-head .btn { justify-content: center; }
}

/* ----- кнопки «Стать партнёром» между блоками ----- */
.calc-cta { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.calc-cta span { max-width: 420px; color: var(--muted); font-size: 15px; }
.more-btns { display: flex; gap: 12px; flex: none; }
.check { align-items: center; }
.check-btn { flex: none; margin-left: auto; }

/* ----- окно при попытке уйти ----- */
.exit { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 40px 38px 34px; border: 0; border-radius: 26px;
  color: #fff; background: radial-gradient(120% 80% at 100% 0%, rgba(106, 92, 255, .45), transparent 60%), linear-gradient(160deg, #1B1850, #0B0A24);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: auto; }
.exit[open] { animation: exit-in .35s cubic-bezier(.2, .8, .2, 1); }
.exit::backdrop { background: rgba(8, 7, 28, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes exit-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.exit .kicker { color: var(--violet-2); }
.exit h2 { margin-top: 10px; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.exit-sub { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: 16px; }
.exit-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.exit-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
.exit-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(143, 133, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23B9B2FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.exit-cta { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.exit-later { border: 0; background: none; color: rgba(255, 255, 255, .6); font: inherit; font-size: 15px; cursor: pointer; padding: 8px 4px; }
.exit-later:hover { color: #fff; }
.exit-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.exit-x:hover { background: rgba(255, 255, 255, .16); }
.exit-x svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.exit-later:focus-visible, .exit-x:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; }

@media (max-width: 760px) {
  .calc-cta .btn, .more-btns, .check-btn { width: 100%; }
  .more-btns { flex-direction: column; }
  .check-btn { margin-left: 0; }
  .check { align-items: stretch; }
  .exit { padding: 34px 22px 24px; }
  .exit h2 { font-size: 25px; padding-right: 30px; }
  .exit-cta .btn { width: 100%; }
  .exit-later { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .exit[open] { animation: none; } }
.exit:focus { outline: none; }
/* Страница акции Black Friday для партнёров. Основа: home.css главной партнёрки, здесь только своё. */

.bf-sec { padding: 72px 0; }
.sec-dark .hero-bg { z-index: 0; }
.sec-dark .wrap { position: relative; z-index: 1; }
.bf-sub-dark { color: rgba(255, 255, 255, .72); }
.bf-center { display: flex; justify-content: center; margin-top: 36px; }
.bf-wide { width: 100%; }

/* ----- первый экран ----- */
.bf-hero { padding: 128px 0 72px; }
.bf-hero .hero-in { grid-template-columns: 1.1fr .9fr; }
.bf-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bf-plaque { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 15px;
  letter-spacing: .01em; color: #0B0A24; background: #C6FF4D; box-shadow: 0 10px 30px -10px rgba(198, 255, 77, .6); }
.bf-brand { font-size: 14px; font-weight: 500; color: #CFCBFF; }
.bf-hero h1 { margin: 22px 0 14px; }
.bf-sum { display: block; font-size: 104px; line-height: 1; letter-spacing: -.045em; }
.bf-h1-rest { display: block; font-size: 38px; line-height: 1.12; margin-top: 10px; }
.bf-cond { font-size: 18px; line-height: 1.5; color: #fff; max-width: 580px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.bf-lead { font-size: 16.5px; margin-top: 16px; }
.bf-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }
.bf-textlink { font-size: 15.5px; font-weight: 600; color: #CFCBFF; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(207, 203, 255, .4); transition: color .15s, text-decoration-color .15s; }
.bf-textlink:hover { color: #fff; text-decoration-color: #fff; }
.bf-textlink:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; border-radius: 4px; }
.bf-textlink.dark { display: inline-block; margin-top: 26px; color: var(--violet); text-decoration-color: rgba(106, 92, 255, .35); }
.bf-textlink.dark:hover { color: var(--primary); text-decoration-color: var(--primary); }
#cases .bf-textlink { display: inline-block; margin-top: 26px; }

/* сравнение комиссий */
.bf-compare { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 120px -40px rgba(106, 92, 255, .7); }
.bf-compare-head .mock-label { color: rgba(255, 255, 255, .6); }
.bf-compare-head b { display: block; font-size: 21px; margin-top: 4px; }
.bf-row { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.bf-row.on { background: rgba(106, 92, 255, .2); box-shadow: inset 0 0 0 1px rgba(143, 133, 255, .55); }
.bf-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.bf-row-top b { font-size: 26px; color: #fff; letter-spacing: -.02em; }
.bf-row.on .bf-row-top b { font-size: 34px; }
.bf-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin: 12px 0 8px; overflow: hidden; }
.bf-fill { display: block; height: 100%; border-radius: inherit; transform-origin: left center; animation: bf-fill 1.1s cubic-bezier(.2, .8, .2, 1) .5s both; }
.bf-fill.base { width: 50%; background: rgba(255, 255, 255, .45); }
.bf-fill.promo { width: 100%; background: linear-gradient(90deg, #6A5CFF, #4DA3FF, #C6FF4D); }
@keyframes bf-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bf-row-sub { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.bf-compare-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.bf-compare-foot .ok-dot { background: #7CF2B5; flex: none; }
.js .bf-compare { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .8, .2, 1) .3s forwards; }

/* ----- калькулятор ----- */
.bf-note { margin-top: 26px; max-width: 520px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; color: var(--ink-2); }
.bf-calc { padding: 26px 30px; }
.bf-field { display: block; margin-bottom: 18px; }
.bf-label { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.bf-input { display: block; width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: #F6F5FC; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; }
textarea.bf-input { height: auto; min-height: 84px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.bf-input:hover { box-shadow: inset 0 0 0 1px #CFCBFF; }
.bf-input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--violet), 0 0 0 4px rgba(106, 92, 255, .14); }
.bf-input.bad { box-shadow: inset 0 0 0 2px #E5484D; background: #FFF6F6; }
.bf-input::placeholder { color: #A3A8B8; }
.bf-money { height: 60px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.bf-calc input[type=range] { margin: 16px 0 10px; }
.bf-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.bf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #F0EFF8; box-shadow: inset 0 0 0 1px var(--line); }
.bf-seg button { height: 44px; border: 0; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); background: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.bf-seg button { display: flex; flex-direction: column; align-items: center; justify-content: center; height: auto; min-height: 44px; padding: 7px 8px; line-height: 1.2; }
.bf-seg-sub { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; opacity: .75; }
.bf-seg button:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.bf-seg button.on { color: #fff; background: linear-gradient(135deg, #6A5CFF, #1158AA); box-shadow: 0 8px 18px -10px rgba(106, 92, 255, .9); }
.bf-seg button:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; }
.bf-out { grid-template-columns: 1fr; gap: 10px; margin: 4px 0 18px; }
.bf-out .out-big { font-size: 52px; }
.bf-out-break p { font-size: 15px; color: rgba(255, 255, 255, .8); }
.bf-out-break .bf-extra { margin-top: 4px; color: #C6FF4D; font-weight: 600; }
.bump { animation: bump .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.045); filter: brightness(1.35); } 100% { transform: scale(1); } }
.out-big.bump { transform-origin: left center; display: inline-block; }

/* ----- кого вспомнили ----- */
.bf-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.bf-quotes blockquote { margin: 0; padding: 22px 22px 24px; border-radius: 20px 20px 20px 6px; background: #fff; font-size: 17px; font-weight: 600;
  line-height: 1.45; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px rgba(20, 18, 58, .35); border-top: 4px solid var(--violet); }
.bf-recall-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 26px; border-radius: 20px;
  color: #fff; background: radial-gradient(circle at 0% 0%, rgba(143, 133, 255, .5), transparent 50%), linear-gradient(135deg, #14123A, #1E1A5C); }
.bf-recall-cta span { font-size: 17px; font-weight: 500; max-width: 620px; }
.bf-recall-cta .btn { flex: none; }

/* ----- шаги ----- */
.bf-steps { margin-top: 40px; }

/* ----- условия для клиента ----- */
.bf-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.bf-pack { padding: 24px 26px 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bf-pack.big { background: radial-gradient(circle at 100% 0%, rgba(143, 133, 255, .45), transparent 60%), linear-gradient(180deg, rgba(106, 92, 255, .22), rgba(106, 92, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(143, 133, 255, .55); }
.bf-pack-term { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #CFCBFF; background: rgba(255, 255, 255, .08); }
.bf-pack-best { display: inline-block; margin-left: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #0B0A24; background: #C6FF4D; }
.bf-pack-main { margin: 14px 0 2px; font-size: 20px; color: rgba(255, 255, 255, .8); }
.bf-pack-verb { font-size: 22px; font-weight: 700; color: #C6FF4D; margin-right: 2px; }
.bf-pack-main b { font-size: 44px; line-height: 1.05; color: #fff; letter-spacing: -.03em; margin-right: 6px; }
.bf-pack-total { font-size: 15.5px; color: rgba(255, 255, 255, .78); }
.bf-pack-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12); }
.bf-pack-price span { font-size: 16px; color: rgba(255, 255, 255, .7); }
.bf-pack-price s { margin-left: 4px; font-size: 24px; font-weight: 700; color: #fff; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 120, 120, .9); }
.bf-pack-price b { padding: 9px 16px; border-radius: 11px; font-size: 16px; color: #0B0A24; background: #C6FF4D; white-space: nowrap; }
.bf-offer-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bf-offer-notes p { padding: 13px 18px; border-radius: 16px; font-size: 15px; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* ----- сообщения ----- */
.bf-msgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.bf-msg { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -24px rgba(20, 18, 58, .35); }
.bf-msg h3 { font-size: 17.5px; font-weight: 650; margin-bottom: 12px; }
.bf-step { display: flex; flex-direction: column; }
.bf-step + .bf-step { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.bf-step .bf-msg-text { flex: none; }

.bf-sec-tight .bf-step .bf-msg-text { flex: 1; }
.bf-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.bf-step-head .bf-copy { margin-top: 0; height: 34px; padding: 0 12px; font-size: 13.5px; }
.bf-sec-tight { padding-top: 32px; padding-bottom: 32px; }
.bf-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.bf-head-row h2 { flex: none; white-space: nowrap; }
.bf-head-row .sub { flex: 1 1 auto; max-width: 660px; margin: 0; }
.bf-sec-tight .kicker { margin-bottom: 10px; }
.bf-sec-tight .sub { max-width: none; }
.bf-sec-tight .bf-msgs { margin-top: 18px; }
.bf-sec-tight .bf-msg h3 { margin-bottom: 8px; }
.bf-sec-tight .bf-msg { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; padding: 16px 18px; }
.bf-sec-tight .bf-msg-text { padding: 10px 14px; font-size: 14.5px; line-height: 1.5; }
.bf-step-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 650; color: var(--violet-2); text-transform: uppercase; letter-spacing: .04em; }
.bf-step-label span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); font-size: 12px; }
.bf-msg-text { flex: 1; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--tint); font-size: 15px; color: var(--ink); line-height: 1.55; }
.bf-copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 16px; padding: 0 16px; border: 0; border-radius: 11px;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--violet); background: #EFEDFF; cursor: pointer; transition: background .15s, color .15s; }
.bf-copy::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2.5'/%3E%3Cpath d='M5 15H4.5A1.5 1.5 0 0 1 3 13.5v-9A1.5 1.5 0 0 1 4.5 3h9A1.5 1.5 0 0 1 15 4.5V5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2.5'/%3E%3Cpath d='M5 15H4.5A1.5 1.5 0 0 1 3 13.5v-9A1.5 1.5 0 0 1 4.5 3h9A1.5 1.5 0 0 1 15 4.5V5'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf-copy:hover { background: #E2DEFF; }
.bf-copy:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; }
.bf-copy.done { color: #1B7F4C; background: #E3F7EC; }
.bf-copy.done::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ----- кейсы ----- */
.bf-cases { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 34px; }
.bf-case-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 100% 0%, rgba(143, 133, 255, .5), transparent 60%), linear-gradient(180deg, rgba(106, 92, 255, .25), rgba(106, 92, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(143, 133, 255, .55); }
.bf-case-main .case-num { font-size: 60px; }
.bf-cases .case:not(.bf-case-main):last-child { grid-column: span 2; }
.bf-case-name { display: inline-block; font-size: 17px; font-weight: 650; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.bf-case-name:hover { color: #CFCBFF; text-decoration-color: #CFCBFF; }
.bf-case-name span { color: var(--violet-2); }
.bf-case-main .bf-case-name { font-size: 20px; }
.bf-case-text { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .78); }

/* ----- форма ----- */
.bf-form-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bf-form-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.bf-form-points li { position: relative; padding-left: 34px; font-size: 16px; color: var(--ink-2); }
.bf-form-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #6A5CFF, #1158AA); }
.bf-form-points li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(-45deg); }
.bf-form-card { padding: 30px 32px; }
.bf-form-card .bf-field { margin-bottom: 16px; }
.bf-form-card .bf-label { margin-bottom: 6px; font-size: 14px; }
.bf-form-card .bf-input { height: 52px; font-size: 17px; }
.bf-form-card textarea.bf-input { height: auto; min-height: 64px; }
.bf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.bf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 4px 0 18px; cursor: pointer; }
.bf-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); flex: none; }
.bf-consent a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.bf-err { min-height: 0; margin-bottom: 10px; font-size: 14px; color: #D13438; }
.bf-err:empty { display: none; }
.bf-form-card button[disabled] { opacity: .7; cursor: default; transform: none; }
.bf-done { padding: 36px 8px; text-align: center; outline: none; }
.bf-done-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #6A5CFF, #1158AA) ; position: relative;
  box-shadow: 0 14px 30px -12px rgba(106, 92, 255, .8); }
.bf-done-ic::after { content: ""; position: absolute; left: 22px; top: 21px; width: 20px; height: 11px; border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff; transform: rotate(-45deg); }
.bf-done b { display: block; font-size: 24px; }
.bf-done p { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }

/* ----- адаптив ----- */
@media (max-width: 1080px) {
  .bf-hero .hero-in { grid-template-columns: 1fr; }
  .bf-compare { max-width: 560px; }
  .bf-quotes { grid-template-columns: 1fr 1fr; }
  .bf-msgs { grid-template-columns: 1fr; }
  .bf-head-row { display: block; }
  .bf-head-row h2 { white-space: normal; }
  .bf-head-row .sub { margin-top: 14px; }
  .bf-cases { grid-template-columns: 1fr 1fr; }
  .bf-case-main { grid-row: auto; grid-column: span 2; }
  .bf-form-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .bf-sec { padding: 64px 0; }
  .bf-hero { padding: 96px 0 56px; }
  .bf-sum { font-size: 64px; }
  .bf-h1-rest { font-size: 26px; margin-top: 6px; }
  .bf-hero h1 { margin: 18px 0 12px; }
  .bf-cond { font-size: 16px; padding: 12px 14px; }
  .bf-lead { font-size: 15.5px; }
  .bf-cta .btn { width: 100%; }
  .bf-cta { align-items: stretch; }
  .bf-cta .bf-textlink { text-align: center; }
  .bf-compare { padding: 20px; }
  .bf-row.on .bf-row-top b { font-size: 28px; }
  .bf-calc, .bf-form-card { padding: 20px; }
  .bf-out .out-big { font-size: 42px; }
  .bf-quotes { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .bf-quotes blockquote { padding: 18px; font-size: 16px; }
  .bf-recall-cta { flex-direction: column; align-items: stretch; padding: 20px; }
  .bf-recall-cta .btn { width: 100%; }
  .bf-center .btn { width: 100%; }
  .bf-packs, .bf-offer-notes { grid-template-columns: 1fr; }
  .bf-pack-main b { font-size: 40px; }
  .bf-pack-best { margin: 8px 0 0; }
  .bf-pack-price { flex-wrap: wrap; }
  .bf-cases { grid-template-columns: 1fr; }
  .bf-case-main, .bf-cases .case:not(.bf-case-main):last-child { grid-column: auto; }
  .bf-case-main .case-num { font-size: 44px; }
  .bf-grid2 { grid-template-columns: 1fr; }
  .bf-seg button { height: auto; min-height: 44px; padding: 6px 8px; font-size: 14.5px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bf-compare { opacity: 1; transform: none; }
  .bf-fill { animation: none; }
}
.bf-case-main .case-num small { line-height: 1.35; margin-top: 10px; }
