/* ═══════════════════════════════════════════════════════════
   Фидли — страница с калькулятором.
   Дизайн-язык совпадает с feedly.tech: тонкие линии, pill-кнопки,
   тёмные акцентные секции, плотная типографика Martian Grotesk.
   ═══════════════════════════════════════════════════════════ */

/* ───── Локальный Martian Grotesk ───── */
@font-face { font-family: 'Martian Grotesk'; src: url('uploads/fonts/MartianGrotesk-StdRg.ttf')  format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Grotesk'; src: url('uploads/fonts/MartianGrotesk-StdMd.ttf')  format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Grotesk'; src: url('uploads/fonts/MartianGrotesk-StdBd.ttf')  format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Grotesk'; src: url('uploads/fonts/MartianGrotesk-StdxBd.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Grotesk'; src: url('uploads/fonts/MartianGrotesk-StdBl.ttf')  format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
	/* Палитра feedly.tech */
	--bg:          #ffffff;
	--bg-soft:     #f5f6f8;
	--ink:         #0d0d12;
	--ink-2:       #232329;
	--muted:       #6b6e78;
	--line:        #e6e7ec;
	--line-2:      #eef0f4;
	--accent:      #7A60FF;
	--accent-soft: #efebff;
	--pos:         #1f7a4c;
	--card:        #ffffff;

	/* Типографика */
	--font-display: 'Martian Grotesk', 'Manrope', 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body:    'Golos Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	--font-serif:   'Instrument Serif', Georgia, serif;

	--radius-sm: 14px;
	--radius:    22px;
	--radius-lg: 36px;
	--ease:      cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.35;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: 'tnum';
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
section[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4, .display {
	font-family: var(--font-display);
	letter-spacing: -.025em;
	line-height: .95;
	font-weight: 500;
	color: var(--ink);
	margin: 0;
}
.mono     { font-family: var(--font-mono); }
.serif    { font-family: var(--font-serif); }

.eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 500;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ───────────── Buttons (pill) ───────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14.5px;
	transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease);
	white-space: nowrap;
	border: 1px solid transparent;
}
.btn:active     { transform: scale(.985); }
.btn--primary   { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); }
.btn--ghost     { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block     { width: 100%; }
.btn--lg        { padding: 14px 22px; font-size: 15.5px; }

/* ───────────── Header / Nav ───────────── */
.nav-header {
	position: sticky; top: 0; z-index: 50;
	background: #ffffff;
	border-bottom: 1px solid transparent;
	transition: background .2s var(--ease), border-color .2s var(--ease), backdrop-filter .2s var(--ease);
}
.nav-header.is-scrolled {
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom-color: var(--line);
}
.nav-bar {
	display: flex; align-items: center; justify-content: space-between;
	height: 68px;
}
.nav-left  { display: flex; align-items: center; gap: 48px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-logo  { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
	font-size: 14px; color: var(--ink-2); font-weight: 500;
	transition: color .12s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active { font-weight: 600; }
.nav-login {
	font-size: 14px; color: var(--ink-2); font-weight: 500;
	padding: 8px 12px;
}
.nav-login:hover { color: var(--ink); }

/* ───────────── Hero (Pricing) ───────────── */
.hero-pricing {
	padding: 72px 0 56px;
	background: var(--bg);
}
.hero-pricing__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
}
.hero-pricing__eyebrow { margin-bottom: 18px; }
.hero-pricing__title {
	font-size: clamp(40px, 5.4vw, 68px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: .98;
	margin-bottom: 22px;
}
.hero-pricing__title em {
	color: var(--accent); font-style: normal; font-weight: 600;
}
.hero-pricing__lead {
	font-size: 16.5px;
	color: var(--muted);
	max-width: 480px;
	margin: 0 0 28px;
}
.hero-pricing__trust {
	display: inline-flex; align-items: center; gap: 18px;
	font-size: 12.5px; color: var(--ink-2);
	flex-wrap: wrap;
}
.hero-pricing__trust > div { display: flex; align-items: center; gap: 6px; }

.hero-mini {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	background: var(--bg-soft);
}
.hero-mini__row {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px;
}
.hero-mini__price {
	font-family: var(--font-display);
	font-size: 56px; font-weight: 700;
	letter-spacing: -.035em; line-height: .95;
}
.hero-mini__price small {
	font-size: 18px; color: var(--muted); font-weight: 500;
	margin-left: 6px;
}
.hero-mini__chip {
	font-family: var(--font-mono);
	font-size: 11px; letter-spacing: .04em;
	background: var(--accent-soft); color: var(--accent);
	padding: 6px 10px; border-radius: 999px;
	font-weight: 600;
}
.hero-mini__divider { height: 1px; background: var(--line); margin: 20px 0; }
.hero-mini__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-mini__list li {
	display: flex; align-items: center; gap: 10px;
	font-size: 14px; color: var(--ink-2);
}
.hero-mini__list svg { flex-shrink: 0; }

/* ───────────── Plans ───────────── */
.plans {
	padding: 56px 0 80px;
	background: var(--bg);
}
.plans__head {
	display: flex; align-items: end; justify-content: space-between;
	gap: 24px; margin-bottom: 32px;
}
.plans__title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: .98;
	max-width: 720px;
}
.plans__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.plan-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	display: flex; flex-direction: column; gap: 20px;
	transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.plan-card:hover { border-color: var(--ink); }
.plan-card--popular {
	border-color: var(--accent);
}
.plan-card__badge {
	position: absolute; top: -10px; left: 24px;
	font-family: var(--font-mono);
	font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
	background: var(--accent); color: #fff;
	padding: 4px 10px; border-radius: 999px;
	font-weight: 600;
}
.plan-card__eyebrow { margin-bottom: 4px; }
.plan-card__name {
	font-size: 28px; font-weight: 600; letter-spacing: -.02em;
	line-height: 1;
}
.plan-card__desc {
	font-size: 14px; color: var(--muted);
	margin-top: 6px;
}
.plan-card__price {
	font-family: var(--font-display);
	font-size: 44px; font-weight: 700;
	letter-spacing: -.035em; line-height: .95;
}
.plan-card__price small {
	font-size: 14px; color: var(--muted); font-weight: 500;
	margin-left: 6px;
	font-family: var(--font-body);
}
.plan-card__price b { font-weight: 700; }
.plan-card__meta {
	font-family: var(--font-mono);
	font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
	display: flex; gap: 14px; flex-wrap: wrap;
}
.plan-card__list {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 10px; flex: 1;
}
.plan-card__list li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14px; color: var(--ink-2);
}
.plan-card__list svg { flex-shrink: 0; margin-top: 3px; }
.plan-card .btn { margin-top: auto; }

/* ───────────── Dark stat band ───────────── */
.statband {
	background: var(--ink); color: var(--bg);
}
.statband__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-left: 1px solid rgba(245,243,238,.16);
}
.statband__cell {
	padding: 40px 28px;
	border-right: 1px solid rgba(245,243,238,.16);
}
.statband__val {
	font-family: var(--font-display);
	font-size: 48px; font-weight: 800; letter-spacing: -.035em;
	line-height: 1; color: var(--bg);
}
.statband__label {
	font-size: 13.5px; color: rgba(245,243,238,.6);
	margin-top: 12px; max-width: 220px;
}

/* ───────────── Calculator ───────────── */
.calc {
	padding: 96px 0 80px;
	background: var(--bg);
}
.calc__head { margin-bottom: 40px; }
.calc__title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: .98;
	max-width: 720px;
	margin-bottom: 12px;
}
.calc__sub { font-size: 16px; color: var(--muted); max-width: 560px; }

.calc__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 24px;
	align-items: start;
}
.calc__controls {
	display: grid;
	gap: 12px;
}
.control {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.control__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin-bottom: 18px;
}
.control__title {
	font-size: 16px; font-weight: 600; letter-spacing: -.01em;
	color: var(--ink);
}
.control__hint {
	font-family: var(--font-mono);
	font-size: 11px; letter-spacing: .04em; color: var(--muted);
	text-transform: uppercase;
}
.control__value {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-mono); font-size: 13px; color: var(--muted);
}
.control__value input {
	width: 76px; height: 36px;
	padding: 0 10px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	font-family: var(--font-mono); font-size: 14px;
	color: var(--ink); text-align: center;
	-moz-appearance: textfield;
}
.control__value input:focus { outline: none; border-color: var(--ink); }
.control__value input::-webkit-outer-spin-button,
.control__value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ───── Biztype: «Кто я?» — выбор отрасли над калькулятором ───── */
.biztype {
	margin: 24px 0 28px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--bg);
}
.biztype__head {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.biztype__title {
	font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
	color: var(--ink); margin: 0;
}
.biztype__hint {
	font-size: 12.5px; color: var(--muted);
}
.biztype__grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.biztype-card {
	display: flex; flex-direction: column; gap: 6px;
	padding: 14px 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink); cursor: pointer;
	font-family: inherit; text-align: left;
	transition: all .15s var(--ease);
}
.biztype-card:hover { border-color: var(--ink); }
.biztype-card.is-active {
	background: var(--accent-soft);
	border-color: var(--accent);
}
.biztype-card__name {
	font-size: 13.5px; font-weight: 600; line-height: 1.25;
	color: var(--ink);
}
.biztype-card__unit {
	font-size: 11.5px; color: var(--muted);
}
.biztype-card.is-active .biztype-card__unit { color: var(--ink-2); }
.biztype-card__unit b { color: var(--accent); font-weight: 600; }

@media (max-width: 1100px) {
	.biztype__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.biztype { padding: 16px; }
	.biztype__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
	.biztype__grid { grid-template-columns: 1fr; }
}

/* Range slider */
.range {
	width: 100%; height: 4px;
	-webkit-appearance: none; appearance: none;
	background: var(--line);
	border-radius: 999px;
	outline: none;
	margin: 8px 0 14px;
}
.range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px; height: 20px;
	background: var(--ink);
	border: 3px solid var(--bg);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--ink);
	cursor: pointer;
	transition: background .12s var(--ease);
}
.range::-webkit-slider-thumb:hover { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.range::-moz-range-thumb {
	width: 20px; height: 20px;
	background: var(--ink); border: 3px solid var(--bg);
	border-radius: 50%; box-shadow: 0 0 0 1px var(--ink);
	cursor: pointer;
}

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--bg);
	font-family: var(--font-mono);
	font-size: 12.5px; font-weight: 500;
	color: var(--ink-2);
	transition: border-color .12s var(--ease), background .12s var(--ease), color .12s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
	background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.chip.is-locked {
	background: var(--bg-soft); color: var(--muted); border-color: var(--line);
	cursor: default;
}
.chip__price { color: var(--muted); font-weight: 500; }
.chip.is-active .chip__price { color: rgba(255,255,255,.7); }
.chip__tag {
	font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
	color: var(--accent);
}

/* Группа источников по категориям */
.sources-group { margin-bottom: 18px; }
.sources-group:last-child { margin-bottom: 0; }
.sources-group__title {
	font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 8px;
}
.sources-group__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Пакетный чип */
.chip--bundle {
	background: var(--accent-soft);
	border-color: rgba(122,96,255,0.35);
	color: var(--ink);
}
.chip--bundle:hover {
	border-color: var(--accent);
}
.chip--bundle.is-active {
	background: var(--accent); color: #fff; border-color: var(--accent);
}
.chip--bundle.is-active .chip__price { color: rgba(255,255,255,0.85); }
.chip--bundle.is-active .chip__bundle-mark { color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.32); }
.chip__bundle-mark {
	font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--accent);
	border: 1px solid rgba(122,96,255,0.35);
	padding: 2px 6px; border-radius: 999px;
	margin-right: 4px;
}
.chip__strike {
	text-decoration: line-through; opacity: 0.5; margin-left: 6px; font-weight: 400;
}

/* Источник, накрытый активным пакетом — визуально "приглушён", не интерактивен */
.chip.is-bundled {
	background: var(--accent-soft) !important;
	color: var(--ink-2) !important;
	border-color: rgba(122,96,255,0.25) !important;
	cursor: default;
}
.chip.is-bundled .chip__price { display: none; }
.chip.is-bundled::after {
	content: 'в пакете';
	font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase;
	color: var(--accent); margin-left: 4px;
}

/* Option cards (объём отзывов) */
.optcards {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.optcard {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 16px 14px;
	text-align: left;
	transition: border-color .12s var(--ease), background .12s var(--ease);
}
.optcard:hover { border-color: var(--ink); }
.optcard.is-active {
	border-color: var(--accent); background: var(--accent-soft);
}
.optcard__label {
	font-family: var(--font-display);
	font-size: 16px; font-weight: 600; letter-spacing: -.01em;
	color: var(--ink);
}
.optcard__sub {
	font-size: 11.5px; color: var(--muted); margin-top: 4px;
}
.optcard__mult {
	font-family: var(--font-mono);
	font-size: 12.5px; color: var(--accent);
	margin-top: 10px; font-weight: 600;
	display: inline-flex; align-items: center; gap: 6px;
}
.optcard__discount {
	font-size: 10.5px; font-weight: 500;
	color: var(--accent);
	background: var(--accent-soft);
	padding: 2px 6px; border-radius: 999px;
	letter-spacing: .02em;
}
.optcard.is-active .optcard__discount { background: #fff; }

/* Module cards */
.modulecards {
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.modulecard {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 16px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-align: left;
	transition: border-color .12s var(--ease), background .12s var(--ease);
	position: relative;
}
.modulecard:hover { border-color: var(--ink); }
.modulecard.is-active {
	border-color: var(--accent); background: var(--accent-soft);
}
.modulecard__icon {
	width: 36px; height: 36px; flex-shrink: 0;
	border-radius: 10px;
	background: var(--bg-soft);
	display: grid; place-items: center;
	color: var(--ink);
}
.modulecard.is-active .modulecard__icon { background: #fff; color: var(--accent); }
.modulecard__icon svg { width: 18px; height: 18px; }
.modulecard__body {
	display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1;
}
.modulecard__name { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.modulecard__desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.modulecard__price {
	font-family: var(--font-mono);
	font-size: 11.5px; color: var(--accent); font-weight: 500;
	margin-top: 4px;
}
.modulecard__check {
	position: absolute; top: 14px; right: 14px;
	width: 20px; height: 20px; border-radius: 6px;
	border: 1px solid var(--line);
	display: grid; place-items: center;
	color: transparent;
	transition: all .12s var(--ease);
}
.modulecard__check svg { width: 12px; height: 12px; }
.modulecard.is-active .modulecard__check {
	background: var(--accent); border-color: var(--accent); color: #fff;
}

/* Segmented (период оплаты) */
.segmented {
	display: inline-flex; gap: 4px;
	padding: 4px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
}
.segmented__btn {
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 13.5px; font-weight: 500;
	color: var(--ink-2);
	display: inline-flex; align-items: center; gap: 8px;
	transition: background .12s var(--ease), color .12s var(--ease);
}
.segmented__btn:hover { color: var(--ink); }
.segmented__btn.is-active {
	background: var(--ink); color: var(--bg);
}
.segmented__badge {
	font-family: var(--font-mono);
	font-size: 10.5px; letter-spacing: .04em;
	background: var(--accent); color: #fff;
	padding: 2px 8px; border-radius: 999px;
	font-weight: 600;
}

/* Volume hint */
.volume-hint {
	margin-top: 12px;
	padding: 14px 16px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.volume-hint__track {
	height: 4px; background: var(--line); border-radius: 999px;
	overflow: hidden; margin-bottom: 10px;
}
.volume-hint__fill {
	height: 100%; background: var(--accent); border-radius: 999px;
	transition: width .35s var(--ease);
}
.volume-hint__text {
	font-size: 13px; color: var(--ink-2);
}
.volume-hint__text b { color: var(--accent); font-weight: 600; }
.volume-hint.is-max .volume-hint__text { color: var(--pos); }

/* Summary (sticky) */
.summary {
	position: sticky; top: 88px;
}
.summary__card {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
}
.summary__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary__price {
	display: flex; align-items: baseline; gap: 8px;
	margin: 10px 0 6px;
}
.summary__price > span:first-child {
	font-family: var(--font-display);
	font-size: 64px; font-weight: 700; letter-spacing: -.035em; line-height: .95;
	color: var(--ink);
}
.summary__cur {
	font-family: var(--font-mono);
	font-size: 14px; color: var(--muted);
}
.summary__perbranch {
	font-size: 13.5px; color: var(--muted);
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.summary__perbranch span:first-child { color: var(--ink-2); font-weight: 500; }
.summary__discount {
	font-family: var(--font-mono);
	font-size: 11px; letter-spacing: .04em;
	background: var(--accent-soft); color: var(--accent);
	padding: 4px 8px; border-radius: 999px;
	font-weight: 600;
}
.summary__billing {
	margin-top: 16px;
}
.summary__billing .segmented {
	display: flex;
	width: 100%;
	background: #fff;
}
.summary__billing .segmented__btn {
	flex: 1;
	padding: 8px 10px;
	font-size: 12.5px;
	white-space: nowrap;
}
.summary__billing .segmented__badge {
	font-size: 9.5px;
	padding: 2px 6px;
}

.summary__divider { height: 1px; background: var(--line); margin: 20px 0; }
.breakdown { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.breakdown li {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px; font-size: 13.5px;
}
.breakdown li > span { color: var(--ink-2); }
.breakdown li em {
	font-style: normal;
	font-family: var(--font-mono); font-size: 11px;
	color: var(--muted); margin-left: 4px;
}
.breakdown li strong { font-family: var(--font-mono); font-weight: 500; color: var(--ink); white-space: nowrap; }
.breakdown li.is-muted strong { color: var(--accent); }

.summary__row {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px; font-size: 14px; padding: 6px 0;
}
.summary__row span { color: var(--muted); }
.summary__row em { font-style: normal; font-family: var(--font-mono); font-size: 11px; margin-left: 4px; }
.summary__row strong { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }

.summary__first {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
	margin-top: 16px; padding: 16px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.summary__first-text { display: flex; flex-direction: column; gap: 2px; }
.summary__first-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.summary__first-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.summary__first strong {
	font-family: var(--font-display);
	font-size: 22px; font-weight: 700; letter-spacing: -.02em;
	color: var(--accent);
	white-space: nowrap;
}

.summary__save {
	margin-top: 16px;
	display: flex; align-items: center; gap: 10px;
	font-size: 13px; color: var(--muted);
}
.summary__save svg { width: 16px; height: 16px; flex-shrink: 0; }
.summary__save b { color: var(--ink); font-weight: 600; }
.summary__save.is-on { color: var(--pos); }
.summary__save.is-on b { color: var(--pos); }

.summary__actions {
	display: flex; gap: 8px; margin-top: 18px; width: 100%;
}
.summary__actions .btn {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	padding: 13px 16px;
	font-size: 14.5px;
}
.summary__note {
	margin-top: 14px;
	font-size: 11.5px; color: var(--muted); line-height: 1.5;
}

/* ───────────── CTA (Telegram talk) ───────────── */
.cta-talk {
	padding: 120px 0; background: var(--bg);
}
.cta-talk__title {
	font-size: clamp(32px, 5vw, 64px);
	font-weight: 600; letter-spacing: -.035em;
	line-height: 1.08;
	max-width: 1080px;
}
.cta-talk__title a {
	color: var(--accent);
	text-decoration: none;
	white-space: nowrap;
	font-weight: 600;
}
.cta-talk__title a svg {
	display: inline-block; width: 1em; height: 1em;
	vertical-align: -.14em; margin-right: .12em;
}
.cta-talk__yuly {
	display: inline-flex; align-items: center; gap: 14px;
	white-space: nowrap; vertical-align: middle;
}
.cta-talk__yuly img {
	width: 86px; height: 86px; border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(13,13,18,.10);
	box-shadow: 0 6px 24px -8px rgba(122,96,255,.45);
}
.cta-talk__actions {
	margin-top: 36px;
	display: flex; gap: 10px; flex-wrap: wrap;
}
/* Telegram CTA — фиолетовый градиент, как у кнопки «Войти в аккаунт» */
.cta-talk__actions .btn--primary {
	background: linear-gradient(90deg, #7768F3, #B997FF) !important;
	color: #fff !important;
	border: none !important;
	box-shadow:
		inset 2px 2px 9px rgba(255,255,255,0.13),
		0 14px 40px -16px rgba(119,104,243,0.6);
	transition: opacity 0.15s;
}
.cta-talk__actions .btn--primary:hover {
	opacity: 0.9;
}

/* ───── Lead form (раскрывается из кнопки «Оставить заявку на консультацию») ───── */
.lead-form {
	margin-top: 28px;
	padding: 28px;
	border-radius: 20px;
	border: 1px solid var(--line);
	background: var(--bg);
	animation: lead-in .25s var(--ease) both;
}
@keyframes lead-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.lead-form__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.lead-form__col { display: flex; flex-direction: column; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field__label {
	font-size: 12px; font-weight: 500;
	color: var(--muted); letter-spacing: 0.01em;
}
.lead-field input,
.lead-field textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: inherit; font-size: 15px;
	outline: none;
	transition: border-color .15s var(--ease);
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: var(--muted); }
.lead-field input:focus,
.lead-field textarea:focus { border-color: var(--accent); }
.lead-field textarea { resize: vertical; min-height: 110px; }

.lead-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lead-chip {
	padding: 7px 12px; border-radius: 999px;
	background: var(--bg-soft); border: 1px solid var(--line);
	color: var(--ink-2); font-size: 13px; font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all .15s var(--ease);
}
.lead-chip:hover { border-color: var(--ink); }
.lead-chip.is-active {
	background: var(--accent); color: #fff; border-color: var(--accent);
}

.lead-consent {
	display: flex; align-items: flex-start; gap: 10px;
	margin-top: 18px;
	font-size: 13px; color: var(--muted);
	cursor: pointer;
}
.lead-consent input {
	width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent);
}
.lead-consent a { color: var(--ink-2); text-decoration: underline; }

.lead-form__submit {
	margin-top: 20px;
	width: 100%; justify-content: center;
	background: linear-gradient(90deg, #7768F3, #B997FF) !important;
	color: #fff !important; border: none !important;
	box-shadow:
		inset 2px 2px 9px rgba(255,255,255,0.13),
		0 14px 40px -16px rgba(119,104,243,0.6);
	transition: opacity 0.15s;
}
.lead-form__submit:hover { opacity: 0.92; }
.lead-form__submit[disabled] { opacity: 0.55; cursor: default; }

.lead-form__success {
	margin-top: 16px;
	padding: 14px 18px;
	border-radius: 14px;
	background: rgba(31,122,76,0.08);
	border: 1px solid rgba(31,122,76,0.25);
	color: var(--pos); font-size: 14.5px; font-weight: 500;
	text-align: center;
}

@media (max-width: 860px) {
	.lead-form { padding: 20px; }
	.lead-form__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ───────────── Footer ───────────── */
.footer {
	border-top: 1px solid var(--line);
	background: var(--bg);
	padding: 32px 0;
}
.footer__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo img { height: 22px; }
.footer__copy { font-size: 13px; color: var(--muted); }

/* ───────────── Mobile ───────────── */
@media (max-width: 980px) {
	.hero-pricing__grid,
	.calc__grid { grid-template-columns: 1fr; gap: 32px; }
	.plans__grid { grid-template-columns: 1fr; }
	.statband__grid { grid-template-columns: 1fr 1fr; }
	.summary { position: static; }
	.optcards { grid-template-columns: 1fr 1fr; }
	.modulecards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.container { padding: 0 18px; }
	.hero-pricing { padding: 48px 0 32px; }
	.calc { padding: 56px 0; }
	.cta-talk { padding: 56px 0; }
	.plans__head { flex-direction: column; align-items: flex-start; }
	.statband__grid { grid-template-columns: 1fr; }
	.statband__cell { padding: 28px 22px; border-right: none; border-bottom: 1px solid rgba(245,243,238,.16); }
	.nav-links { display: none; }
	.nav-login { display: none; }
	.hero-pricing__title { font-size: 36px; }
	.plans__title, .calc__title { font-size: 28px; }
	.statband__val { font-size: 36px; }
	.summary__price > span:first-child { font-size: 48px; }
	.summary__card, .control { padding: 20px; }

	/* CTA-talk: компактные размеры + полностью «текучий» title */
	.cta-talk__title { font-size: 26px; line-height: 1.2; }
	/* На мобиле сохраняем nowrap у «телеграм» — иконка не отрывается от слова */
	.cta-talk__yuly { gap: 6px; }
	.cta-talk__yuly img {
		width: 32px; height: 32px;
		border-width: 1.5px;
		box-shadow: none;
		vertical-align: -.22em;
	}
	.cta-talk__actions { flex-direction: column; }
	.cta-talk__actions .btn { width: 100%; justify-content: center; padding: 14px 22px; }
}
