@font-face { font-family: Onest; src: url(/static/Onest.ttf); font-weight: 100 900; font-display: swap; }

: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; }

/* появление при прокрутке */
.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; }
}

@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; }
