/* ========== ОКТОПУС ДЛЯ INSALES (/insales/) ==========
   Подключается после main.css только на /insales/ (карта $pageAssetMap в header.php).
   Общие классы берутся из main.css: .container, .section__header, .pretitle, .title,
   .section__text, .btn, .faq, .pageHero, схема .promo__* из героя главной.
   Здесь — только то, чего в main.css нет:
     1) карточка профиля (.profileCard) — выборка из pages/clients.css;
     2) макет письма (.letter) — выборка из pages/mailing.css;
     3) блоки самой страницы (ins*, seg*, sf*, loy*, jobs*);
     4) доводка схемы героя под InSales (.insPromoVis).
   Меняете .profileCard или .letter на /clients/ и /mailing/ — сверьте и здесь. */

:root {
	--ins-ink: #002033;
	--ins-ink2: rgba(0, 32, 51, 0.72);
	--ins-mute: rgba(0, 32, 51, 0.56);
	--ins-line: rgba(0, 32, 51, 0.09);
	--ins-acc: #FB685B;
	--ins-pink: #FFE7E1;
	--ins-bg: #FAF9F7;
	--ml-ink: #002033;
	--ml-accent: #FB685B;
}

/* ---------- 1. карточка профиля (из pages/clients.css) ---------- */
.profileCard {
	width: 100%;
	max-width: 480px;
	margin-left: auto;
	border-radius: 18px;
	border: 1.5px solid rgba(0, 32, 51, 0.08);
	background: #FFF;
	box-shadow: 0 30px 60px -28px rgba(88, 16, 10, 0.20);
	overflow: hidden;
	position: relative;
	animation: profilePulse 3.2s ease-in-out infinite;
}
@keyframes profilePulse {
	0%, 100% {
		box-shadow: 0 30px 60px -28px rgba(88, 16, 10, 0.20), 0 0 0 0 rgba(251, 104, 91, 0.0), 0 0 32px -6px rgba(251, 104, 91, 0.10);
	}
	45% {
		box-shadow: 0 34px 64px -28px rgba(88, 16, 10, 0.22), 0 0 0 10px rgba(251, 104, 91, 0.05), 0 0 46px -2px rgba(251, 104, 91, 0.22);
	}
}
@media (prefers-reduced-motion: reduce) {
.profileCard {
		animation: none;
	}
}
.profileCard::before {
	content: "";
	position: absolute;
	inset: -40px -40px auto auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle at center, rgba(251, 104, 91, 0.13), transparent 70%);
	pointer-events: none;
}
.profileCard__top {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 22px 18px;
}
.profileCard__ava {
	width: 52px;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #C9E2F3;
	flex: none;
	overflow: hidden;
}
.profileCard__ava img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.profileCard__name {
	display: block;
	color: #002033;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.2px;
}
.profileCard__sub {
	display: block;
	color: rgba(0, 32, 51, 0.50);
	font-size: 12px;
	line-height: 1.4;
}
.profileCard__badge {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 99999px;
	background: #FFE7E1;
	color: #FB685B;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	flex: none;
}
.profileCard__badge::before {
	content: "";
	width: 5px;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #FB685B;
}
.profileCard__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(0, 32, 51, 0.05);
	border-top: 1px solid rgba(0, 32, 51, 0.05);
	border-bottom: 1px solid rgba(0, 32, 51, 0.05);
}
.profileCard__stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 22px;
	background: #FFF;
}
.profileCard__statValue {
	color: #002033;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.2px;
}
.profileCard__statKey {
	color: rgba(0, 32, 51, 0.50);
	font-size: 12px;
	line-height: 1.4;
}
.profileCard__cart {
	padding: 16px 22px;
	border-bottom: 1px solid rgba(0, 32, 51, 0.05);
}
.profileCard__cartHead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.profileCard__cartLabel {
	color: rgba(0, 32, 51, 0.50);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.profileCard__cartItem {
	display: flex;
	align-items: center;
	gap: 12px;
}
.profileCard__cartThumb {
	width: 44px;
	height: auto;
	aspect-ratio: 1;
	border-radius: 11px;
	background: #F2F0EC;
	flex: none;
	overflow: hidden;
}
.profileCard__cartThumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.profileCard__cartName {
	display: block;
	color: #002033;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.profileCard__cartMeta {
	display: block;
	color: rgba(0, 32, 51, 0.50);
	font-size: 12px;
	line-height: 1.4;
}
.profileCard__cartPrice {
	margin-left: auto;
	color: #002033;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.profileCard__feed {
	padding: 16px 22px 20px;
}
.profileCard__feedLabel {
	display: block;
	margin-bottom: 10px;
	color: rgba(0, 32, 51, 0.50);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.profileCard__event {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 13px;
	line-height: 1.4;
	color: #002033;
}
.profileCard__eventDot {
	width: 7px;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #D7ECDB;
	flex: none;
}
.profileCard__event--cart .profileCard__eventDot {
	background: #FFE9A8;
}
.profileCard__event--order .profileCard__eventDot {
	background: #FB685B;
}
.profileCard__eventTime {
	margin-left: auto;
	color: rgba(0, 32, 51, 0.28);
	font-size: 11px;
	white-space: nowrap;
}
@media (max-width: 991px) {
.profileCard {
		margin: 0 auto;
		max-width: 440px;
		width: 100%;
	}
}
.profileCard__statValue {
	transition: color 0.3s ease;
}
.profileCard__statValue.is-up {
	color: #FB685B;
}
.profileCard__event {
	transition: opacity 0.5s ease;
}
.profileCard__event.is-new {
	animation: profileEventIn 0.95s cubic-bezier(0.22, 0.68, 0.24, 1);
}
.profileCard__feed.is-shift .profileCard__event {
	animation: profileFeedShift 0.95s cubic-bezier(0.22, 0.68, 0.24, 1);
}
@keyframes profileFeedShift {
	0% { transform: translateY(calc(var(--shift, 28px) * -1)); }
	100% { transform: translateY(0); }
}
@keyframes profileEventIn {
	0% { opacity: 0; }
	55% { opacity: 0.75; }
	100% { opacity: 1; }
}
.profileCard__feedList {
	overflow: hidden;
}
.profileCard__cart {
	overflow: hidden;
}
.profileCard__cartItem.is-swap {
	animation: profileCartIn 1.05s cubic-bezier(0.32, 0.72, 0.28, 1);
}
@keyframes profileCartIn {
	0% { opacity: 0; transform: translateY(46px); }
	40% { opacity: 1; }
	100% { opacity: 1; transform: translateY(0); }
}
.profileCard__cartItem.is-out {
	animation: profileCartOut 0.6s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}
@keyframes profileCartOut {
	0% { opacity: 1; transform: translateY(0); }
	60% { opacity: 1; }
	100% { opacity: 0; transform: translateY(-46px); }
}
@media (prefers-reduced-motion: reduce) {
.profileCard__cartItem.is-out { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
.profileCard__feed.is-shift .profileCard__event,
.profileCard__event.is-new,
.profileCard__event.is-out,
.profileCard__cartItem.is-swap {
		animation: none;
	}
}
.profileCard__ava.is-ping {
	animation: profileAvaPing 1.1s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes profileAvaPing {
	0% { box-shadow: 0 0 0 0 rgba(251, 104, 91, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(251, 104, 91, 0.08); }
	100% { box-shadow: 0 0 0 11px rgba(251, 104, 91, 0); }
}
@media (prefers-reduced-motion: reduce) {
.profileCard__ava.is-ping { animation: none; }
}
.profileCard__cartList {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-items: center;
}
.profileCard__cartItem.is-off {
	visibility: hidden;
}
.profileCard__cartEmpty {
	display: none;
	align-items: center;
	gap: 8px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(0, 32, 51, 0.35);
	font-size: 13px;
	animation: profileCartEmptyIn 0.7s ease;
}
@keyframes profileCartEmptyIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
.profileCard__cart.is-empty .profileCard__cartEmpty {
	display: flex;
}
.profileCard__cartEmptyIco {
	display: flex;
	color: rgba(0, 32, 51, 0.3);
}
.profileCard__cartEmptyIco svg {
	width: 17px;
	height: 17px;
	display: block;
}
.profileCard__cartList .profileCard__cartItem {
	gap: 10px;
}
.profileCard__cartList .profileCard__cartPrice {
	margin-left: 0;
	display: block;
}
.profileCard__cartList .profileCard__cartItem > div:not(.profileCard__cartThumb) {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.profileCard__cartList .profileCard__cartMeta {
	display: none;
}
.profileCard__cartList .profileCard__cartPrice {
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
}
@media (max-width: 479px) {
.profileCard__cartList {
		grid-template-columns: 1fr;
	}
}
.profileCard__badge.is-up {
	animation: profileTierUp 1s ease;
}
@keyframes profileTierUp {
	0% { opacity: 0; transform: translateY(-4px); }
	100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.profileCard__badge.is-up { animation: none; }
}
.profileCard__badge[data-tier] {
	color: color-mix(in srgb, var(--tier, #C3BBB4) 45%, #002033);
	background: color-mix(in srgb, var(--tier, #C3BBB4) 30%, transparent);
	transition: color 0.6s ease, background 0.6s ease;
}
.profileCard__badge[data-tier]::before {
	background: var(--tier, #C3BBB4);
	transition: background 0.6s ease;
}

/* ---------- 2. макет письма (из pages/mailing.css) ---------- */
.letter {position:relative;border-radius:22px;background:#fff;isolation:isolate;border:1px solid rgba(0,32,51,.09);box-shadow:0 50px 90px -50px rgba(88,16,10,.45);overflow:hidden}
.letter__meta {padding:22px 24px 0;display:grid;gap:8px}
.letter__row {display:flex;gap:10px;font-size:14px;line-height:1.4;min-height:39px;align-items:flex-start}
.letter__key {flex:0 0 52px;color:rgba(0,32,51,.4)}
.letter__val {color:var(--ml-ink)}
.letter__subject {font-weight:600}
.letter__body {padding:20px 24px 24px;display:grid;gap:16px}
.letter {isolation:isolate}
.letter {transition:border-color .45s ease,box-shadow .45s ease}
.letter.is-swap {border-color:rgba(58,132,247,.75);box-shadow:0 50px 90px -50px rgba(0,32,51,.5),0 0 0 4px rgba(58,132,247,.16)}
.letter.is-swap {animation:letterNod .9s cubic-bezier(.3,.7,.3,1)}
@keyframes letterNod{0%,100%{translate:0 0}22%{translate:0 -8px}56%{translate:0 3px}}
@media (prefers-reduced-motion:reduce){
.letter.is-swap {animation:none}
}
.letter__hello {color:var(--ml-ink);font-size:17px;font-weight:600;line-height:1.35;min-height:23px}
.letter__cart {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.letterItem {padding:12px;border-radius:12px;border:1px solid rgba(0,32,51,.08);background:#FBFAF9;display:grid;gap:7px}
.letterItem__ph {height:56px;border-radius:8px;background:linear-gradient(135deg,rgba(58,132,247,.13),rgba(0,32,51,.05));display:flex;align-items:center;justify-content:center;color:#3A84F7}
.letterItem__ph svg {width:34px;height:34px;display:block;opacity:.85;transition:opacity .26s ease}
.letterItem__ph.is-fade svg,
.letterItem.is-fade .letterItem__name,
.letterItem.is-fade .letterItem__price {opacity:.18}
.letterItem__name {color:var(--ml-ink);font-size:12px;line-height:1.3;min-height:31px;transition:opacity .26s ease}
.letterItem__price {color:#2F6FE0;font-size:13px;font-weight:600;transition:opacity .26s ease}
.letter__promo {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:12px;background:rgba(58,132,247,.08);border:1px dashed rgba(58,132,247,.45)}
.letter__promoCap {color:rgba(0,32,51,.6);font-size:13px}
.letter__promoCode {font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;font-weight:600;color:#2F6FE0;letter-spacing:.06em}
.letter__cta {justify-self:stretch;text-align:center;padding:12px 22px;border-radius:100px;background:#3A84F7;color:#fff;font-size:14px;font-weight:600}
.var {position:relative;border-radius:5px;padding:0 3px;margin:0 -3px;transition:background .5s ease,color .5s ease}
.var.is-swap {background:rgba(58,132,247,.16);color:#2F6FE0}
@media (max-width:767px){
.letter__cart {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){
.var {transition:none}
}

/* ---------- 3. блоки страницы ---------- */
.insSec {padding:104px 0}
.insSec--tint {background:var(--ins-bg)}
.insSec--dark {position:relative;isolation:isolate;color:#fff}
.insSec--dark::before {content:"";position:absolute;inset:0 24px;z-index:-1;border-radius:48px;background:radial-gradient(1000px 620px at 90% 0%,rgba(251,104,91,.22),transparent 60%),radial-gradient(900px 700px at 0% 100%,rgba(0,113,178,.3),transparent 62%),linear-gradient(160deg,#0A2B40 0%,#0E3752 50%,#16476A 100%)}
@media (max-width:640px){
.insSec--dark::before {inset:0 8px;border-radius:28px}
}
.insSec--dark .title {color:#fff}
.insSec--dark .insMech__title,
.insSec--dark .insMech__lead,
.insSec--dark .insMech__list li {color:#fff}
.insSec--dark .insMech__text {color:rgba(255,255,255,.72)}
.insSec--dark .insMech__sub {color:rgba(255,255,255,.6)}
.insSec--dark .insMech__stack span {background:#fff;color:var(--ins-ink)}
.insSec--dark .insMech {gap:24px}
.insSec--dark .insMech__row {padding:56px;border-radius:32px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(6px)}
@media (max-width:991px){
.insSec--dark .insMech__row {padding:32px}
}
@media (max-width:640px){
.insSec--dark .insMech__row {padding:22px;border-radius:22px}
}
.insSec--dark .insMech__row {background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(255,255,255,.84));border:1px solid rgba(255,255,255,.6);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:0 40px 80px -50px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.9)}
.insSec--dark .insMech__row .insMech__title,
.insSec--dark .insMech__row .insMech__list li {color:var(--ins-ink)}
.insSec--dark .insMech__row .insMech__text {color:var(--ins-ink2)}
.insSec--dark .insMech__row .insMech__sub {color:var(--ins-mute)}
.insSec--dark .insMech__row .insMech__stack span {background:var(--ins-ink);color:#fff}
.insSec--dark .insMech__row .profileCard,
.insSec--dark .insMech__row .letter,
.insSec--dark .insMech__row .sfChain {border:0!important;box-shadow:0 24px 48px -16px rgba(0,32,51,.22),0 6px 16px -6px rgba(0,32,51,.10)!important}
.insSec--dark .insMech__row .profileCard::before,
.insSec--dark .insMech__row .profileCard::after,
.insSec--dark .insMech__row .letter::before,
.insSec--dark .insMech__row .letter::after {display:none!important}
.insSec--dark .insMech__row .letter {-webkit-mask-image:none;mask-image:none}
.insSec .section__header {margin-bottom:48px}
.insSec .section__text {max-width:720px;text-wrap:pretty}
.insSec .title {text-wrap:balance}
.insHero__trial {display:flex;align-items:center;gap:6px;margin:0;font-size:16px;font-weight:600;color:var(--ins-ink)}
.insHero__trial svg {color:var(--ins-acc)}
.insMech {display:flex;flex-direction:column;gap:120px}
.insMech__row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.insMech__row:nth-child(even) .insMech__copy {order:2}
.insMech__num {font-size:15px;font-weight:700;color:var(--ins-acc);letter-spacing:.04em;margin-bottom:14px}
.insMech__title {font-size:36px;line-height:1.12;letter-spacing:-.02em;font-weight:700;margin:0 0 16px;text-wrap:balance}
.insMech__lead {display:none;font-size:20px;line-height:1.45;font-weight:600;margin-bottom:14px;text-wrap:pretty}
.insMech__text {font-size:17px;line-height:1.55;color:var(--ins-ink2);text-wrap:pretty}
.insMech__list {list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.insMech__list li {position:relative;padding-left:22px;font-size:16px;line-height:1.4}
.insMech__list li::before {content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--ins-acc)}
.insMech__vis {display:flex;justify-content:center}
.insMech__vis .profileCard,
.insMech__vis .letter {width:100%;max-width:480px}
.insMech__sub {margin-top:18px;font-size:16px;line-height:1.5;color:var(--ins-mute)}
.insMech__stack {display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.insMech__stack span {padding:8px 12px;border-radius:10px;background:var(--ins-ink);color:#fff;font-size:14px;font-weight:600}
.insSteps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;counter-reset:st}
.insSteps__item {position:relative;padding:28px;border-radius:24px;background:#fff;border:1px solid var(--ins-line);counter-increment:st}
.insSteps__item::before {content:counter(st);display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--ins-acc);color:#fff;font-weight:700;font-size:18px;margin-bottom:22px}
.insSteps__item:not(:last-child)::after {content:"";position:absolute;top:50px;right:-12px;width:8px;height:8px;border-top:2px solid var(--ins-acc);border-right:2px solid var(--ins-acc);transform:rotate(45deg);z-index:2}
.insSteps__name {font-size:19px;font-weight:700;line-height:1.3;margin-bottom:10px;text-wrap:pretty}
.insSteps__text {font-size:16px;line-height:1.5;color:var(--ins-ink2)}
.insCenter {display:flex;justify-content:center;margin-top:40px}
.insChan {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.insChan__item {padding:24px;border-radius:22px;background:#fff;border:1px solid var(--ins-line);display:flex;flex-direction:column;gap:16px}
.insChan__name {font-size:18px;font-weight:700}
.insChan__svc {display:flex;flex-direction:column;gap:8px}
.insChan__svc span {display:flex;align-items:center;gap:8px;font-size:15px;color:var(--ins-ink2)}
.insChan__svc img {width:18px;height:18px;border-radius:4px}
.insApi {margin-top:16px;display:flex;align-items:center;gap:12px;padding:18px 24px;border-radius:18px;border:1px dashed rgba(0,32,51,.2);font-size:16px;color:var(--ins-ink2)}
.insApi code {font-family:ui-monospace,Menlo,monospace;font-size:13px;padding:4px 8px;border-radius:8px;background:var(--ins-bg);color:var(--ins-ink)}
.insFinal {padding:0 0 104px}
.insFinal__box {position:relative;overflow:hidden;border-radius:36px;padding:80px 48px;background:var(--ins-ink);color:#fff;text-align:center}
.insFinal__box::before {content:"";position:absolute;inset:0;background:radial-gradient(50% 80% at 85% 0%,rgba(251,104,91,.35),transparent 70%);pointer-events:none}
.insFinal__box>* {position:relative}
.insFinal__title {font-size:48px;line-height:1.1;letter-spacing:-.025em;font-weight:700;margin:0 auto 20px;max-width:900px;text-wrap:balance}
.insFinal__title span {color:var(--ins-acc)}
.insFinal__text {font-size:20px;line-height:1.5;color:rgba(255,255,255,.75);max-width:640px;margin:0 auto}
.insFinal__actions {display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:36px}
.insFinal .btn-border {color:#fff;border-color:rgba(255,255,255,.3);background:transparent}
.insFinal .btn-border:hover {background:rgba(255,255,255,.08);color:#fff}
@media (max-width:1200px){
.insChan {grid-template-columns:repeat(3,minmax(0,1fr))}
.insSteps {grid-template-columns:repeat(2,minmax(0,1fr))}
.insSteps__item::after {display:none}
}
@media (max-width:991px){
.insSec {padding:72px 0}
.insMech__row {grid-template-columns:minmax(0,1fr);gap:40px}
.insMech__row:nth-child(even) .insMech__copy {order:0}
.insMech {gap:80px}
.insFinal__title {font-size:36px}
}
@media (max-width:640px){
.insSec {padding:56px 0}
.insSteps,
.insChan {grid-template-columns:1fr}
.insMech__title {font-size:28px}
.insMech__list {grid-template-columns:1fr}
.insFinal__box {padding:56px 22px;border-radius:24px}
.insFinal__title {font-size:30px}
.insFinal__actions .btn {width:100%}
}
.sfChain {width:100%;max-width:440px;padding:24px;border-radius:24px;background:rgba(0,20,33,.55);border:1px solid rgba(255,255,255,.1);background-image:radial-gradient(rgba(255,255,255,.12) 1px,transparent 1.4px);background-size:18px 18px}
.sfChain__head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;color:#fff;font-weight:700;font-size:16px}
.sfChain__on {display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#7ED49A}
.sfChain__on::before {content:"";width:8px;height:8px;border-radius:50%;background:#3BA55C}
.sfRow {display:flex;align-items:center;gap:14px}
.sfRow__tile {flex:none;width:48px;height:48px;border-radius:12px;display:grid;place-items:center;color:#fff}
.sfRow__tile svg {width:22px;height:22px}
.sfRow__tile--trigger {background:#264A63}
.sfRow__tile--cond {background:#E8853C}
.sfRow__tile--wait {background:#8B7BD8}
.sfRow__tile--action {background:#fff;border:1.5px solid #4CAF7D;color:#F0625A}
.sfRow__txt {display:flex;flex-direction:column;gap:2px;min-width:0}
.sfRow__txt b {color:#fff;font-size:15px;font-weight:500;line-height:1.3}
.sfRow__txt em {font-style:normal;color:rgba(255,255,255,.45);font-size:12px;line-height:1.35}
.sfRow__tag {margin-left:auto;padding:3px 8px;border-radius:6px;background:#012A42;border:1px solid rgba(255,255,255,.14);color:#fff;font-size:12px;font-weight:500}
.sfRow__link {width:0;height:18px;margin-left:23px;border-left:1.6px dashed rgba(255,255,255,.3)}
.insSec--dark .insMech__vis {position:relative;aspect-ratio:1/1;display:block;max-width:480px;width:100%;justify-self:center}
.insSec--dark .insMech__vis>* {width:100%!important;max-width:none!important;height:100%;margin:0!important;box-sizing:border-box;display:flex!important;flex-direction:column;overflow:hidden}
.insSec--dark .profileCard__feed {flex:1;min-height:0;overflow:hidden}
.insSec--dark .letter__body {flex:1;min-height:0;overflow:hidden}
.insSec--dark .letter {-webkit-mask-image:linear-gradient(180deg,#000 88%,transparent);mask-image:linear-gradient(180deg,#000 88%,transparent)}
.insSec--dark .sfChain {padding:22px 24px;border-radius:24px;background-color:#0E3752;border:1px solid rgba(255,255,255,.1);background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.4px);background-size:18px 18px}
.insSec--dark .sfChain__head {margin-bottom:12px}
.insSec--dark .sfRow__tile {width:40px;height:40px;border-radius:10px}
.insSec--dark .sfRow__tile svg {width:19px;height:19px}
.insSec--dark .sfRow__link {flex:1;height:auto;min-height:6px;margin-left:19px}
@media (max-width:640px){
.insSec--dark .insMech__vis {aspect-ratio:auto}
.insSec--dark .insMech__vis>* {height:auto}
}
#how.mech--side .insMech__row {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:start}
#how.mech--side .insMech__row .insMech__copy {order:0!important}
#how.mech--side .insMech__vis {max-width:560px;justify-self:end}
@media (max-width:991px){
#how.mech--side .insMech__row {grid-template-columns:minmax(0,1fr)}
}
.insMech__list {display:flex!important;flex-direction:column;gap:0!important;margin-top:24px!important}
.insMech__list li {display:flex;align-items:center;gap:12px;padding:12px 0 12px 0!important;border-top:1px solid var(--ins-line);font-size:16px;font-weight:500}
.insMech__list li:last-child {border-bottom:1px solid var(--ins-line)}
.insMech__list li::before {position:static!important;flex:none;width:22px!important;height:22px!important;border-radius:50%!important;background:var(--ins-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23FB685B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E") center/12px no-repeat!important}
.insSec--dark .insMech__vis:has(.profileCard) {aspect-ratio:auto}
.insSec--dark .insMech__vis .profileCard {height:auto!important}
.insSec--dark .insMech__vis .profileCard .profileCard__feed {flex:none}
.insMech__num {display:none}
.insSec--dark .insMech__row {background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(250,249,247,.95))!important}
.insSec--dark .insMech__row .profileCard,
.insSec--dark .insMech__row .letter,
.insSec--dark .insMech__row .sfChain {box-shadow:0 40px 80px -20px rgba(0,32,51,.28),0 16px 40px -12px rgba(0,32,51,.14),0 2px 8px rgba(0,32,51,.05)!important}
.segCards {display:grid!important;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:12px;flex-direction:row!important;overflow:visible!important}
.segCard {display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:18px;background:#fff;box-shadow:0 24px 48px -20px rgba(0,32,51,.22),0 6px 16px -8px rgba(0,32,51,.1)}
.segCard__top {display:flex;align-items:center;justify-content:space-between;gap:8px}
.segCard__name {font-size:16px;font-weight:700;color:var(--ins-ink);line-height:1.2}
.segCard__live {display:inline-flex;align-items:center;gap:5px;flex:none;font-size:11px;font-weight:600;color:#2F7A3E}
.segCard__live::before {content:"";width:6px;height:6px;border-radius:50%;background:#3BA55C}
.segCard__cond {font-size:13.5px;line-height:1.35;color:var(--ins-mute);flex:1}
.segCard__foot {display:flex;align-items:baseline;gap:6px}
.segCard__foot b {font-size:22px;font-weight:700;color:var(--ins-ink);letter-spacing:-.01em}
.segCard__foot span {font-size:13px;color:var(--ins-mute)}
.segCard__bar {height:4px;border-radius:4px;background:var(--ins-bg);overflow:hidden}
.segCard__bar i {display:block;height:100%;border-radius:4px;background:var(--ins-acc)}
.insSec--dark .insMech__vis:has(.segCards) {aspect-ratio:auto}
.insSec--dark .insMech__vis .segCards {height:auto}
@media (max-width:480px){
.segCards {grid-template-columns:1fr}
}
.insSec--dark .insMech__vis>.segCards {display:grid!important;grid-template-columns:1fr 1fr;flex-direction:initial;height:auto;overflow:visible}
@media (max-width:480px){
.insSec--dark .insMech__vis>.segCards {grid-template-columns:1fr}
}
.segCard__bar {display:none}
#how.mech--side .insMech__row:nth-child(even) {grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
#how.mech--side .insMech__row:nth-child(even) .insMech__copy {order:2!important}
#how.mech--side .insMech__row:nth-child(even) .insMech__vis {justify-self:start}
@media (max-width:991px){
#how.mech--side .insMech__row:nth-child(even) {grid-template-columns:minmax(0,1fr)}
#how.mech--side .insMech__row:nth-child(even) .insMech__copy {order:0!important}
}
.insMech__list {gap:10px!important}
.insMech__list li {padding:0!important;border:0!important;font-weight:400;gap:10px}
.insMech__list li:last-child {border:0!important}
.insMech__list li::before {width:6px!important;height:6px!important;background:var(--ins-acc)!important;border-radius:50%!important}
#how.insSec--dark {color:var(--ins-ink)}
#how.insSec--dark::before {background:radial-gradient(900px 560px at 90% 0%,rgba(251,104,91,.10),transparent 60%),radial-gradient(800px 600px at 0% 100%,rgba(0,113,178,.07),transparent 62%),linear-gradient(180deg,#F6F3EF,#F1EEEA)}
#how.insSec--dark .title {color:var(--ins-ink)}
#how.insSec--dark .insMech__row {background:#fff!important;border:1px solid rgba(0,32,51,.06)!important;box-shadow:0 30px 60px -40px rgba(0,32,51,.18)!important}
#how .insMech__row {align-items:center!important}
.insSec--dark .insMech__vis:has(.letter) {aspect-ratio:auto}
.insSec--dark .insMech__vis>.letter {height:auto;display:block!important;overflow:hidden}
.insSec--dark .insMech__vis .letter__body {flex:none;align-content:start;overflow:visible}
.insHero__actions .btn-arrow {background:linear-gradient(110deg,#FB685B 0%,#FF8A5C 25%,#F2506B 50%,#FF8A5C 75%,#FB685B 100%);background-size:250% 100%;animation:insBtnGrad 5s linear infinite;border-color:transparent}
@keyframes insBtnGrad{to{background-position:-250% 0}}
@media (prefers-reduced-motion:reduce){
.insHero__actions .btn-arrow {animation:none}
}
.sfChain__on {display:none!important}
.sfRow__tag {margin-left:0!important;align-self:center}
.segCard__live {display:none!important}
.segCard {transition:box-shadow .4s ease}
.segCard__foot {position:relative}
.segCard.is-bump {animation:segBump 1.2s ease-out}
@keyframes segBump{0%{box-shadow:0 24px 48px -20px rgba(0,32,51,.22),0 0 0 0 rgba(251,104,91,.35)}30%{box-shadow:0 24px 48px -20px rgba(0,32,51,.22),0 0 0 4px rgba(251,104,91,.18)}100%{box-shadow:0 24px 48px -20px rgba(0,32,51,.22),0 0 0 10px rgba(251,104,91,0)}}
.segCard__plus {margin-left:auto;font-size:13px;font-weight:700;color:#2F7A3E;opacity:0}
.segCard__plus.is-show {animation:segPlus 1.6s ease-out}
@keyframes segPlus{0%{opacity:0;transform:translateY(6px)}20%{opacity:1;transform:translateY(0)}70%{opacity:1}100%{opacity:0;transform:translateY(-6px)}}
.segCard__name {display:inline-flex;align-items:center;gap:8px}
.segCard__ico {flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--ins-pink);color:var(--ins-acc)}
.segCard__ico svg {width:15px;height:15px}
.segCard__foot b {transition:color .6s ease}
.segCard__ico {background:none!important;width:auto!important;height:auto!important;border-radius:0!important}
.segCard__ico svg {width:17px!important;height:17px!important}
.odo {display:inline-flex;align-items:flex-start;line-height:1.1;height:1.1em;overflow:hidden;font-variant-numeric:tabular-nums}
.odo__d {display:inline-block;height:1.1em;overflow:hidden}
.odo__s {display:block;white-space:pre;text-align:center;transition:transform .6s cubic-bezier(.3,.7,.3,1)}
.segCard__foot b.is-hot {animation:segHot 1.8s ease-out}
@keyframes segHot{0%{color:var(--ins-acc)}25%{color:var(--ins-acc)}100%{color:var(--ins-ink)}}
.segCard__foot b span {font-size:inherit!important;color:inherit!important;font-weight:inherit}
.sfRow {transition:opacity .4s ease}
.sfChain .sfRow {opacity:.55}
.sfChain .sfRow.is-done {opacity:.85}
.sfChain .sfRow.is-active {opacity:1}
.sfRow__tile {position:relative;transition:box-shadow .4s ease,transform .4s ease}
.sfRow.is-active .sfRow__tile {transform:scale(1.06);box-shadow:0 0 0 4px rgba(251,104,91,.28),0 0 22px rgba(251,104,91,.45)}
.sfRow.is-done .sfRow__tile::after {content:"";position:absolute;right:-4px;bottom:-4px;width:14px;height:14px;border-radius:50%;background:#3BA55C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6.2 5 8l4-4'/%3E%3C/svg%3E") center/9px no-repeat;border:1.5px solid #0E3752}
.sfRow__link {position:relative;transition:border-color .5s ease}
.sfRow__link.is-done {border-left-color:#FB685B!important;border-left-style:solid!important}
.sfChain {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;column-gap:18px;row-gap:34px;align-content:center;counter-reset:sf}
.sfChain__head {grid-column:1/-1;margin-bottom:6px!important}
.sfChain .sfRow__link {display:none}
.sfChain .sfRow {position:relative;flex-direction:column;align-items:center;text-align:center;gap:10px;counter-increment:sf}
.sfChain .sfRow__tile {width:52px!important;height:52px!important;border-radius:14px!important}
.sfChain .sfRow__tile svg {width:22px!important;height:22px!important}
.sfChain .sfRow__txt {align-items:center}
.sfChain .sfRow__txt b {font-size:14px;line-height:1.25}
.sfChain .sfRow__txt em {font-size:11.5px}
.sfChain .sfRow__tag {position:absolute;top:-8px;left:calc(50% + 18px);margin:0!important;padding:2px 6px;font-size:11px}
.sfChain .sfRow::before {content:counter(sf);position:absolute;top:-8px;left:calc(50% - 38px);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:10.5px;font-weight:700;color:#fff;background:rgba(255,255,255,.14);z-index:1}
.sfChain .sfRow:not(:nth-of-type(6n+2))::after {content:"";position:absolute;top:26px;right:calc(50% + 34px);width:calc(100% - 50px);border-top:1.6px dashed rgba(255,255,255,.3)}
.sfChain .sfRow.is-done+.sfRow__link+.sfRow::after {border-top-style:solid;border-top-color:#FB685B}
.insSec--dark .insMech__vis>.sfChain {display:grid!important;flex-direction:initial}
.sfChain .sfRow:nth-of-type(2) {grid-column:1;grid-row:2}
.sfChain .sfRow:nth-of-type(4) {grid-column:2;grid-row:2}
.sfChain .sfRow:nth-of-type(6) {grid-column:3;grid-row:2}
.sfChain .sfRow:nth-of-type(8) {grid-column:3;grid-row:3}
.sfChain .sfRow:nth-of-type(10) {grid-column:2;grid-row:3}
.sfChain .sfRow:nth-of-type(12) {grid-column:1;grid-row:3}
.sfChain .sfRow::after {content:none}
.sfChain .sfRow:nth-of-type(4)::after,
.sfChain .sfRow:nth-of-type(6)::after {content:"";position:absolute;top:26px;right:calc(50% + 34px);left:auto;width:calc(100% - 50px);height:0;border-top:1.6px dashed rgba(255,255,255,.3)}
.sfChain .sfRow:nth-of-type(10)::after,
.sfChain .sfRow:nth-of-type(12)::after {content:"";position:absolute;top:26px;left:calc(50% + 34px);right:auto;width:calc(100% - 50px);height:0;border-top:1.6px dashed rgba(255,255,255,.3)}
.sfChain .sfRow:nth-of-type(8)::after {content:"";position:absolute;bottom:100%;left:50%;top:auto;width:0;height:34px;border-left:1.6px dashed rgba(255,255,255,.3)}
.sfChain .sfRow.is-done+.sfRow__link+.sfRow::after {border-top-style:solid;border-left-style:solid;border-top-color:#FB685B;border-left-color:#FB685B}
.sfChain .sfRow:nth-of-type(8).is-done::after,
.sfChain .sfRow:nth-of-type(8).is-active::after {border-left:1.6px solid #FB685B}
.sfChain .sfRow.is-done {opacity:1!important}
.sfChain .sfRow.is-done+.sfRow__link+.sfRow::after {border-top-color:rgba(255,255,255,.85)!important;border-left-color:rgba(255,255,255,.85)!important}
.sfChain .sfRow:nth-of-type(8).is-done::after,
.sfChain .sfRow:nth-of-type(8).is-active::after {border-left-color:rgba(255,255,255,.85)!important}
.sfChain__head {justify-content:center!important;text-align:center;margin-bottom:22px!important;margin-top:-8px}
.insSec--dark .insMech__vis>.sfChain {align-content:center!important;justify-content:center;padding-top:22px!important}
.sfChain .sfRow__tag {opacity:0;transform:translateY(4px) scale(.9);transition:opacity .35s ease .35s,transform .35s ease .35s}
.sfChain .sfRow.is-active .sfRow__tag,
.sfChain .sfRow.is-done .sfRow__tag {opacity:1;transform:none}
.insMech__stack {display:none!important}
#how .letter .var {transition:background .5s ease,color .5s ease,opacity .22s ease}
#how .letter .var.is-out {opacity:0}
#how .letter .var.is-in {background:rgba(58,132,247,.16);color:#2F6FE0}
#how .letter img[data-i] {transition:opacity .25s ease}
.sfChain .sfRow::before {content:none!important;display:none!important}
#how .letterItem__ph svg {transition:opacity .26s ease}
#how .letterItem__ph.is-fade svg {opacity:.15}
.insStat {margin-top:16px;display:flex;align-items:center;gap:32px;padding:32px 40px;border-radius:24px;background:var(--ins-ink);color:#fff;position:relative;overflow:hidden}
.insStat::before {content:"";position:absolute;inset:0;background:radial-gradient(600px 240px at 0% 50%,rgba(251,104,91,.28),transparent 70%);pointer-events:none}
.insStat>* {position:relative}
.insStat__num {flex:none;font-size:64px;line-height:1;font-weight:700;letter-spacing:-.03em;color:var(--ins-acc)}
.insStat__text {font-size:22px;line-height:1.35;font-weight:600;max-width:640px;text-wrap:pretty}
@media (max-width:640px){
.insStat {flex-direction:column;align-items:flex-start;gap:12px;padding:24px}
.insStat__num {font-size:48px}
.insStat__text {font-size:18px}
}
.loyCard {display:flex!important;flex-direction:column;gap:14px;padding:24px;border-radius:24px;background:#fff;height:auto!important;overflow:visible!important}
.insSec--dark .insMech__vis:has(.loyCard) {aspect-ratio:auto}
.loyCard__top {display:flex;align-items:center;gap:12px}
.loyCard__top .profileCard__ava {width:44px;height:44px;flex:none}
.loyCard__name {display:block;font-weight:700;font-size:16px;color:var(--ins-ink)}
.loyCard__sub {display:block;font-size:13px;color:var(--ins-mute)}
.loyCard__cap {display:block;font-size:12px;color:var(--ins-mute);margin-bottom:4px}
.loyCard__code {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-radius:16px;border:2px dashed var(--ins-acc);background:var(--ins-pink);transition:opacity .3s ease,transform .3s ease}
.loyCard__code.is-out {opacity:0;transform:translateY(4px)}
.loyCard__code.is-in {animation:loyIn .9s ease}
@keyframes loyIn{0%{box-shadow:0 0 0 0 rgba(251,104,91,.35)}100%{box-shadow:0 0 0 12px rgba(251,104,91,0)}}
.loyCard__val {font-family:ui-monospace,Menlo,monospace;font-size:22px;letter-spacing:.06em;color:var(--ins-ink)}
.loyCard__disc {font-size:26px;font-weight:700;color:var(--ins-acc);white-space:nowrap}
.loyCard__points {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-radius:16px;background:var(--ins-ink);color:#fff}
.loyCard__points .loyCard__cap {color:rgba(255,255,255,.6)}
.loyCard__pts {font-size:22px;font-weight:700;transition:color .6s ease}
.loyCard__pts.is-hot {color:#FFB2A8}
.insSec--dark .insMech__row .loyCard {border:0!important;box-shadow:0 40px 80px -20px rgba(0,32,51,.28),0 16px 40px -12px rgba(0,32,51,.14),0 2px 8px rgba(0,32,51,.05)!important}
#how .insMech__row.rv {opacity:0;transform:translateY(48px) scale(.98);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
#how .insMech__row.rv .insMech__vis {opacity:0;transform:translateY(24px);transition:opacity .8s ease .2s,transform .8s cubic-bezier(.2,.7,.2,1) .2s}
#how .insMech__row.rv--in {opacity:1;transform:none}
#how .insMech__row.rv--in .insMech__vis {opacity:1;transform:none}
.loyCard {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px!important;flex-direction:initial!important}
.insSec--dark .insMech__vis:has(.loyCard) {max-width:none!important;justify-self:stretch}
.loyCard__main {display:flex;flex-direction:column;gap:14px;min-width:0}
.loyCard__flow {display:flex;flex-direction:column;gap:10px;padding-left:20px;border-left:1px solid var(--ins-line);min-width:0;overflow:hidden}
.loyFlow {display:flex;flex-direction:column;gap:6px;position:relative}
.loyFlow::before {content:"";position:absolute;left:5px;top:10px;bottom:10px;border-left:1.5px dashed rgba(0,32,51,.15)}
.loyEv {position:relative;display:grid;grid-template-columns:12px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;padding:8px 0;align-items:center}
.loyEv__dot {grid-row:1/3;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid var(--ins-mute);position:relative;z-index:1}
.loyEv--plus .loyEv__dot {border-color:#3BA55C}
.loyEv--minus .loyEv__dot {border-color:#8B7BD8}
.loyEv--promo .loyEv__dot {border-color:var(--ins-acc)}
.loyEv--tier .loyEv__dot {border-color:#DFA057}
.loyEv__t {font-size:13.5px;line-height:1.3;color:var(--ins-ink);min-width:0}
.loyEv__v {grid-row:1/3;grid-column:3;font-size:14px;font-weight:700;white-space:nowrap}
.loyEv--plus .loyEv__v {color:#2F7A3E}
.loyEv--minus .loyEv__v {color:#6A5BC4}
.loyEv--promo .loyEv__v {color:var(--ins-acc);font-family:ui-monospace,Menlo,monospace;font-size:12px}
.loyEv--tier .loyEv__v {color:#DFA057}
.loyEv__time {grid-column:2;font-size:11.5px;color:var(--ins-mute)}
.loyEv.is-new {animation:loyEvIn .8s cubic-bezier(.2,.7,.2,1)}
@keyframes loyEvIn{0%{opacity:0;transform:translateY(-12px)}100%{opacity:1;transform:none}}
@media (max-width:640px){
.loyCard {grid-template-columns:1fr}
.loyCard__flow {padding-left:0;border-left:0;border-top:1px solid var(--ins-line);padding-top:14px}
}
.insSec--dark .insMech__vis>.loyCard {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media (max-width:640px){
.insSec--dark .insMech__vis>.loyCard {grid-template-columns:1fr}
}
.loyFlow::before {display:none!important}
.loyFlow {overflow:hidden}
.loyEv {will-change:transform}
.loyTier {padding:16px 18px;border-radius:16px;background:var(--ins-bg);display:flex;flex-direction:column;gap:10px}
.loyTier__top {display:flex;justify-content:space-between;align-items:center;gap:10px}
.loyTier__badge {padding:5px 10px;border-radius:999px;background:linear-gradient(135deg,#E9E6E2,#C9C3BD);color:var(--ins-ink);font-size:13px;font-weight:700}
.loyTier__next {font-size:12.5px;color:var(--ins-mute)}
.loyTier__bar {height:6px;border-radius:6px;background:rgba(0,32,51,.08);overflow:hidden}
.loyTier__bar i {display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#C9C3BD,#DFA057);transition:width 1s cubic-bezier(.2,.7,.2,1)}
.loyTier__steps {display:flex;justify-content:space-between;font-size:11.5px;color:var(--ins-mute)}
.loyTier__steps .is-on {color:var(--ins-ink);font-weight:600}
.loyCard__code {display:grid!important;grid-template-columns:minmax(0,1fr) 88px;min-height:68px}
.loyCard__code>div {min-width:0}
.loyCard__val {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loyCard__disc {text-align:right;font-variant-numeric:tabular-nums}
.loyCard__main,
.loyCard__flow {min-width:0}
.insSec--dark .insMech__vis>.loyCard {align-items:stretch}
.loyCard__flow {height:0;min-height:100%;overflow:hidden}
.loyFlow {flex:1;min-height:0;height:auto!important;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 80%,transparent);mask-image:linear-gradient(180deg,#000 80%,transparent)}
.insStat {background:#fff!important;color:var(--ins-ink)!important;border:1px solid var(--ins-line);padding:20px 28px!important;gap:20px!important}
.insStat::before {display:none}
.insStat__num {font-size:32px!important;color:var(--ins-acc)}
.insStat__text {font-size:17px!important;font-weight:500!important;color:var(--ins-ink2)}
.jobs__grid {display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.jobs__card {display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:16px;border:1px solid rgba(0,32,51,.08);background:#fff;transition:.25s box-shadow ease-in-out}
.jobs__card:hover {box-shadow:0 20px 40px -24px rgba(88,16,10,.25)}
.jobs__name {color:#002033;font-size:20px;font-weight:600;line-height:1.3;margin:0;display:flex;align-items:baseline;gap:10px}
.jobs__emoji {flex:none;font-size:22px;line-height:1}
.jobs__outcome {color:rgba(0,32,51,.7);font-size:15px;line-height:1.5;flex:1}
@media (max-width:1180px){
.jobs__grid {grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
.jobs__grid {grid-template-columns:1fr}
}
.insStat__text {max-width:none!important;white-space:nowrap;text-wrap:nowrap}
@media (max-width:991px){
.insStat__text {white-space:normal}
}
.insStat {justify-content:center;text-align:center}
.insSteps__item::after {display:none!important}
.insTar {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.insTar__card {display:flex;flex-direction:column;gap:14px;padding:28px 24px;border-radius:24px;background:var(--ins-bg);border:1px solid var(--ins-line)}
.insTar__card--pop {background:var(--ins-ink);border-color:var(--ins-ink);color:#fff;box-shadow:0 40px 80px -40px rgba(0,32,51,.55)}
.insTar__head {display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:28px}
.insTar__name {font-size:20px;font-weight:700}
.insTar__badge {padding:4px 10px;border-radius:999px;background:var(--ins-acc);color:#fff;font-size:12px;font-weight:600}
.insTar__price {display:flex;align-items:baseline;gap:6px}
.insTar__price b {font-size:32px;line-height:1.1;letter-spacing:-.02em;white-space:nowrap}
.insTar__price span {font-size:14px;color:var(--ins-mute)}
.insTar__card--pop .insTar__price span {color:rgba(255,255,255,.6)}
.insTar__lim {list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px;font-weight:600}
.insTar__desc {font-size:14px;line-height:1.5;color:var(--ins-ink2);min-height:63px}
.insTar__card--pop .insTar__desc {color:rgba(255,255,255,.72)}
.insTar__btn {justify-content:center;width:100%}
.insTar__feat {list-style:none;margin:6px 0 0;padding:16px 0 0;border-top:1px solid var(--ins-line);display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.35}
.insTar__card--pop .insTar__feat {border-top-color:rgba(255,255,255,.14)}
.insTar__feat li {position:relative;padding-left:24px}
.insTar__feat li::before {content:"";position:absolute;left:2px;top:3px;width:12px;height:7px;border-left:2px solid var(--ins-acc);border-bottom:2px solid var(--ins-acc);transform:rotate(-45deg)}
.insTar__ind {margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;border-radius:24px;border:1px solid var(--ins-line)}
.insTar__indTitle {font-size:18px;font-weight:700;margin-bottom:4px}
.insTar__indText {font-size:14.5px;color:var(--ins-ink2)}
@media (max-width:1180px){
.insTar {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
.insTar {grid-template-columns:1fr}
.insTar__ind {flex-direction:column;align-items:flex-start}
.insTar__desc {min-height:0}
}
#tariff .btn-light {background:#fff!important;color:var(--ins-ink)!important;border:1px solid rgba(0,32,51,.18)!important}
#tariff .btn-light:hover {border-color:var(--ins-acc)!important;color:var(--ins-acc)!important}
#tariff .insTar__card--pop .btn {background:var(--ins-acc)!important;color:#fff!important}
@supports (grid-template-rows:subgrid){
.insTar {grid-template-rows:repeat(6,auto);row-gap:0}
.insTar__card {display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:14px}
.insTar__desc {min-height:0}
}
@media (max-width:1180px){
@supports (grid-template-rows:subgrid){
.insTar {grid-template-rows:repeat(12,auto);row-gap:0}
.insTar__card:nth-child(n+3) {margin-top:16px}
}
}
@media (max-width:640px){
@supports (grid-template-rows:subgrid){
.insTar {grid-template-rows:none}
.insTar__card {display:flex;grid-row:auto;margin-top:0!important}
.insTar {row-gap:16px}
}
}
.insTar__lim li {display:flex;align-items:center;gap:10px}
.insTar__lim svg {flex:none;width:20px;height:20px;color:var(--ins-acc)}
.insHero__actions .btn-arrow:hover,
.insHero__actions .btn-arrow:focus-visible {color:#fff!important;background:linear-gradient(110deg,#FB685B 0%,#FF8A5C 25%,#F2506B 50%,#FF8A5C 75%,#FB685B 100%)!important;background-size:250% 100%!important;opacity:1;box-shadow:0 14px 30px -12px rgba(242,80,107,.55)}
.insHero__actions .btn-arrow:hover::after {filter:none!important}
.insSec .btn-big:not(.btn-light):not(.btn-border):hover,
.insFinal .btn-big:not(.btn-light):not(.btn-border):hover {color:#fff!important}
.loyCard__code {background:#fff!important}

/* Пульс тени у карточки профиля здесь не виден: тень карточки в блоке механизмов
   задана с !important и перебивает анимацию. Сама анимация при этом крутилась бы
   вхолостую и перерисовывала карточку каждый кадр — выключаем. */
.insMech__vis .profileCard {
	animation: none;
}

/* Перелив кнопки в герое — анимация background-position, она перерисовывает кнопку
   каждый кадр. Вне экрана и в фоновой вкладке ставим на паузу (класс вешает insales.js). */
.insHero.is-paused .insHero__actions .btn-arrow {
	animation-play-state: paused;
}

/* В одну колонку (телефоны) у ленты лояльности нет соседа, по которому она тянется
   в высоту (height:0 + min-height:100%), и она схлопывалась до подписи. */
@media (max-width: 640px) {
	.loyCard__flow {
		height: auto;
		min-height: 0;
	}

	/* Промокод целиком, а не «MARIA-…»: колонка скидки по содержимому, код мельче */
	.loyCard__code {
		grid-template-columns: minmax(0, 1fr) auto !important;
		padding: 16px;
	}

	.loyCard__val {
		font-size: 18px;
	}

	.loyCard__disc {
		font-size: 22px;
	}

	.loyTier__badge {
		white-space: nowrap;
	}
}

/* Самые узкие телефоны: карточки уже 240–300px */
@media (max-width: 400px) {
	.loyCard__code {
		gap: 8px;
		padding: 14px 12px;
	}

	.loyCard__val {
		font-size: 14px;
		letter-spacing: 0;
	}

	.loyCard__disc {
		font-size: 19px;
	}

	.sfChain {
		column-gap: 8px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.sfChain .sfRow__txt b {
		font-size: 12.5px;
	}
}

/* ---------- доводка после ревью макета ---------- */

/* Герой: больше воздуха сверху и снизу, чем у общего .pageHero */
.insHero {
	padding-top: 88px;
}

.insHero .pageHero__top {
	padding-bottom: 96px;
}

@media (max-width: 991px) {
	.insHero {
		padding-top: 56px;
	}

	.insHero .pageHero__top {
		padding-bottom: 64px;
	}
}

@media (max-width: 575px) {
	.insHero {
		padding-top: 40px;
	}

	.insHero .pageHero__top {
		padding-bottom: 48px;
	}
}

/* «Автоматизируйте продажи»: схема сценария занимает свою высоту, а не квадрат
   (квадрат нужен карточкам с лентами, у схемы он давал пустоту сверху и снизу) */
.insSec--dark .insMech__vis:has(.sfChain) {
	aspect-ratio: auto;
}

.insSec--dark .insMech__vis > .sfChain {
	height: auto;
	padding-top: 28px !important;
	padding-bottom: 32px;
	row-gap: 28px;
}

/* «Подключение без сложной интеграции» — тёмная секция с градиентом
   (фон — .insSec--dark::before, общий с тёмными секциями страницы) */
.insConnect .section__header .title {
	color: #fff;
}

.insConnect .insSteps__item {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.insConnect .insSteps__name {
	color: #fff;
}

.insConnect .insSteps__text {
	color: rgba(255, 255, 255, 0.68);
}

/* Тарифы — на фоне героя главной (.promo в main.css) */
.insTariffSec {
	background:
		radial-gradient(1100px 600px at 85% -10%, rgba(252, 212, 176, 0.45), transparent 60%),
		linear-gradient(180deg, #FCFBF9, #F7F4F0);
}

.insTariffSec .insTar__card:not(.insTar__card--pop) {
	background: #fff;
}

.insTariffSec .insTar__ind {
	background: rgba(255, 255, 255, 0.7);
}

/* ---------- телефоны (до 767px): компактные версии карточек механизмов ----------
   Анимации блока механизмов тут не грузятся (см. insales.js), карточки статичные.
   Сегменты и лояльность в одну колонку выходили на полтора-два экрана — режем. */
@media (max-width: 767px) {
	/* Сегменты: четыре строкой-списком вместо шести карточек.
	   Название и условие слева, размер аудитории справа. */
	.insSec--dark .insMech__vis > .segCards,
	.segCards {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-auto-rows: auto;
		gap: 8px;
	}

	.segCard:nth-child(n + 5) {
		display: none;
	}

	.segCard {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 2px 12px;
		padding: 12px 14px;
		border-radius: 14px;
		box-shadow: 0 10px 24px -16px rgba(0, 32, 51, 0.25);
	}

	.segCard__top {
		grid-column: 1;
	}

	.segCard__name {
		font-size: 15px;
	}

	.segCard__cond {
		grid-column: 1;
		font-size: 12.5px;
	}

	.segCard__foot {
		grid-column: 2;
		grid-row: 1 / span 2;
		flex-direction: column;
		align-items: flex-end;
		gap: 0;
	}

	.segCard__foot b {
		font-size: 18px;
	}

	.segCard__foot span {
		font-size: 12px;
	}

	/* Лояльность: промокод, баланс и три последних события.
	   Шкалу уровней и старые события убираем. */
	.loyTier {
		display: none;
	}

	.loyEv:nth-child(n + 4) {
		display: none;
	}

	.loyCard {
		gap: 12px !important;
		padding: 18px;
	}

	.loyCard__points {
		padding: 12px 16px;
	}

	.loyCard__pts {
		font-size: 19px;
	}

	.loyFlow {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* ---------- 4. схема героя под InSales ----------
   База — .promo__* из main.css (герой главной). Слева вместо четырёх карточек-источников
   одна карточка InSales с четырьмя типами данных, справа шесть каналов вместо пяти.
   Пути линий пересчитывает insales.js по фактическому положению карточек, поэтому
   координаты в разметке — только стартовые. */
.insHero {
	--heroAside: 490px;
}

.insPromoVis .promo__links {
	z-index: 3;
}

.insPromoVis .promo__diagram {
	grid-template-columns: 33% minmax(0, 1fr) 33%;
	grid-template-rows: repeat(12, 1fr);
}

.insPromoVis .promo__node--o1 { grid-row: 1 / span 2; }
.insPromoVis .promo__node--o2 { grid-row: 3 / span 2; }
.insPromoVis .promo__node--o3 { grid-row: 5 / span 2; }
.insPromoVis .promo__node--o4 { grid-row: 7 / span 2; }
.insPromoVis .promo__node--o5 { grid-row: 9 / span 2; }
.insPromoVis .promo__node--o6 { grid-row: 11 / span 2; --promo-float-delay: -2.2s; --promo-glow-delay: 3.8s; }

.insPromoVis .promo__node--out {
	position: relative;
	left: 6px;
}

.insSrcCard {
	position: relative;
	z-index: 2;
	grid-column: 1;
	grid-row: 1 / -1;
	align-self: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 14px;
	margin: 0 6px 0 -32px;
	padding: 16px 12px 14px;
	border: 1.5px solid var(--promo-ink-10);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 40px -24px rgba(88, 16, 10, 0.16);
	animation: promoNodeFloat 5.5s ease-in-out infinite -1.6s;
}

/* Источники внутри карточки не плавают сами — плавает карточка целиком.
   Вспышка остаётся та же, что на главной. */
.insSrcCard .promo__node--src {
	grid-row: auto;
	background: #FAF9F7;
	border-color: transparent;
	box-shadow: none;
	animation: promoSrcGlow 2.6s ease-out infinite var(--promo-glow-delay, 0s);
}

.insSrcCard__head {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 4px;
	padding: 2px 4px 4px;
	color: var(--promo-ink);
	font-size: 14px;
	font-weight: 700;
}

.insSrcCard__head img {
	width: 18px;
	height: 18px;
	border-radius: 4px;
}

.promo__visual.is-paused .insSrcCard {
	animation-play-state: paused;
}

@media (max-width: 1180px) {
	.insHero {
		--heroAside: 380px;
	}

	.insSrcCard {
		gap: 8px;
		padding: 10px 8px 8px;
	}

	.insSrcCard__head {
		padding: 0 2px 2px;
		font-size: 11px;
	}

	.insSrcCard__head img {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 640px) {
	.insSrcCard {
		gap: 6px;
		margin: 0 -8px;
		border-radius: 12px;
	}

	.insSrcCard__head {
		font-size: 10px;
	}

	.insPromoVis .promo__node--out {
		left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.insSrcCard,
	.insSrcCard .promo__node--src {
		animation: none;
	}
}
