/* Trekto — продающий сайт. Цвета — из логотипа (assets/brand в veta),
   шрифты — те же, что в приложении: Geologica для заголовков, Golos Text для текста. */

@font-face { font-family: "Geologica"; font-weight: 600; font-display: swap; src: url("fonts/geologica-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 600; font-display: swap; src: url("fonts/geologica-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap; src: url("fonts/geologica-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 700; font-display: swap; src: url("fonts/geologica-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("fonts/golos-text-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("fonts/golos-text-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("fonts/golos-text-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url("fonts/golos-text-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("fonts/golos-text-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url("fonts/golos-text-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--navy: #0F172A;
	--navy-2: #1E293B;
	--blue: #2563EB;
	--blue-hover: #1D4ED8;
	--teal: #14B8A6;
	--amber: #D97706;
	--green: #059669;

	--bg: #FFFFFF;
	--bg-alt: #F4F6FA;
	--surface: #FFFFFF;
	--text: #0F172A;
	--muted: #475569;
	--line: #E2E8F0;
	--accent: var(--blue);
	--shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 8%);

	--font-head: "Geologica", "Segoe UI", system-ui, sans-serif;
	--font-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
	--radius: 14px;
	--gutter: 16px;
	--header-h: 68px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0B1120;
		--bg-alt: #0F172A;
		--surface: #131C2E;
		--text: #E2E8F0;
		--muted: #94A3B8;
		--line: #1E293B;
		--accent: #60A5FA;
		--shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
img, svg { display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ── Кнопки ───────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
	font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); }
.btn--light { background: rgb(255 255 255 / 8%); color: #F8FAFC; border-color: rgb(255 255 255 / 22%); }
.btn--light:hover { background: rgb(255 255 255 / 14%); }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Шапка ───────────────────────────────────────── */
.header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font: 700 25px/1 var(--font-head); letter-spacing: -0.04em; }
.brand__word span { color: var(--blue); }
@media (prefers-color-scheme: dark) { .brand__word span { color: #60A5FA; } }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.nav .nav__login { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
	.menu-toggle { display: inline-flex; }
	.header__login { display: none; }
	.header__actions { margin-left: auto; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
		background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav a:hover { background: transparent; }
	.nav .nav__login { display: block; color: var(--accent); border-bottom: 0; }
}
@media (max-width: 420px) {
	.header__actions .btn--primary { padding: 10px 12px; font-size: 14px; }
	.brand__word { font-size: 22px; }
}

/* ── Первый экран ─────────────────────────────────── */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 480px at 85% -10%, rgb(37 99 235 / 35%), transparent 60%),
		radial-gradient(700px 420px at 100% 100%, rgb(20 184 166 / 22%), transparent 60%),
		var(--navy);
	color: #E2E8F0;
	padding: 72px 0 88px;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { color: #F8FAFC; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; margin-top: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: #CBD5E1; margin-top: 20px; max-width: 38em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #94A3B8; font-size: 15px; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.eyebrow { font: 600 13px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #5EEAD4; }
.eyebrow--dark { color: var(--blue); margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .eyebrow--dark { color: #5EEAD4; } }

.hero__visual { position: relative; min-height: 420px; }

.mock--gantt { margin-right: 96px; }

@media (max-width: 1100px) {
	.hero { padding: 48px 0 64px; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__visual { min-height: 0; width: 100%; max-width: 680px; }
}

/* ── Иллюстрации-макеты интерфейса ─────────────────── */
.mock {
	background: #fff; color: #0F172A; border-radius: var(--radius);
	box-shadow: 0 30px 60px rgb(2 6 23 / 45%), 0 0 0 1px rgb(255 255 255 / 6%);
	font-size: 13px; line-height: 1.4;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #E2E8F0; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.mock__title { margin-left: 8px; font-weight: 600; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__caption { font: 600 14px/1.2 var(--font-head); margin-bottom: 14px; color: #0F172A; }
.mock__note { margin-top: 10px; font-size: 12px; color: #64748B; }

.gantt { padding: 14px 16px 16px; }
.gantt__legend { display: flex; gap: 14px; margin-bottom: 12px; color: #475569; font-size: 12px; }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 16px; height: 8px; border-radius: 3px; }
.lg--plan::before { border: 1.5px solid #94A3B8; }
.lg--fact::before { background: var(--blue); }
.lg--fc::before { background: repeating-linear-gradient(135deg, var(--teal) 0 3px, #99F6E4 3px 6px); }

.gantt__head, .gantt__row { display: grid; grid-template-columns: 150px 1fr; align-items: center; }
.gantt__head { grid-template-columns: 150px repeat(4, 1fr); color: #64748B; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; border-bottom: 1px solid #E2E8F0; }
.gantt__rows { position: relative; }
.gantt__row { height: 40px; border-bottom: 1px dashed #EEF2F7; }
.gantt__name { font-weight: 500; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.gantt__track { position: relative; height: 100%; }
.gantt__today { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid #F43F5E; z-index: 2; }
.gantt__today { left: calc(150px + (100% - 150px) * 0.38); }
.b { position: absolute; left: var(--s); width: var(--w); height: 12px; border-radius: 4px; }
.b--plan { top: 8px; border: 1.5px solid #94A3B8; background: #F8FAFC; }
.b--fact { top: 22px; background: var(--blue); }
.b--fc { top: 22px; background: repeating-linear-gradient(135deg, var(--teal) 0 4px, #99F6E4 4px 8px); }
.gantt__risk { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-radius: 10px; background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; font-size: 12.5px; }
.gantt__actions { margin-left: auto; display: flex; gap: 6px; }
.gantt__actions b { background: var(--blue); color: #fff; padding: 5px 10px; border-radius: 7px; font-weight: 600; font-size: 12px; }
.gantt__actions b.ghost { background: #fff; color: #334155; border: 1px solid #CBD5E1; }

.chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.chip--warn { background: #FEF3C7; color: #92400E; }
.chip--ok { background: #D1FAE5; color: #065F46; }
.chip--info { background: #DBEAFE; color: #1E40AF; }
.chip--muted { background: #F1F5F9; color: #475569; }

.mock--phone {
	position: absolute; right: 0; bottom: -56px; width: 200px; padding: 26px 16px 14px;
	border-radius: 30px; border: 6px solid #1E293B; background: #fff;
}
.phone__notch { position: absolute; top: 7px; left: 50%; width: 60px; height: 6px; margin-left: -30px; border-radius: 6px; background: #1E293B; }
.phone__label { color: #64748B; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.phone__task { font: 600 14px/1.3 var(--font-head); margin-top: 4px; }
.phone__stats { margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__stats div { background: #F1F5F9; border-radius: 10px; padding: 8px; }
.phone__stats dt { font-size: 10.5px; color: #64748B; }
.phone__stats dd { margin: 2px 0 0; font: 700 16px/1.2 var(--font-head); }
.phone__stats dd.ok, .cost .ok { color: var(--green); }
.phone__btn { display: block; text-align: center; padding: 9px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; }
.phone__tabs { display: flex; justify-content: space-around; margin-top: 12px; padding-top: 10px; border-top: 1px solid #E2E8F0; }
.phone__tabs i { width: 18px; height: 18px; border-radius: 6px; background: #E2E8F0; }
.phone__tabs i.on { background: var(--blue); }

@media (max-width: 1100px) {
	.mock--gantt { margin-right: 150px; }
	.mock--phone { bottom: -40px; }
}
@media (max-width: 640px) {
	.mock--gantt { margin-right: 0; }
	.mock--phone { position: relative; right: auto; bottom: auto; margin: -24px auto 0; }
}
@media (max-width: 560px) {
	.gantt__head, .gantt__row { grid-template-columns: 112px 1fr; }
	.gantt__head { grid-template-columns: 112px repeat(4, 1fr); }
	.gantt__today { left: calc(112px + (100% - 112px) * 0.38); }
	.gantt__name { font-size: 12px; }
	.gantt__actions { margin-left: 0; }
}

/* ── Секции ──────────────────────────────────────── */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #CBD5E1; }
.section--dark .section__title { color: #F8FAFC; }
/* В тёмной теме фон страницы почти как у тёмной секции — выделяем её свечением */
@media (prefers-color-scheme: dark) {
	.section--dark {
		background: radial-gradient(800px 420px at 90% 0%, rgb(37 99 235 / 20%), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgb(20 184 166 / 12%), transparent 60%), var(--navy);
		border-block: 1px solid #1E293B;
	}
}
.section__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; max-width: 22em; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 42em; }
.section--dark .section__lead { color: #94A3B8; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

/* Боли */
.pains { background: var(--bg-alt); }
.pains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain__q { font: 600 18px/1.35 var(--font-head); padding-left: 16px; border-left: 3px solid var(--amber); }
.pain__a { color: var(--muted); margin-top: 14px; font-size: 16px; }
@media (max-width: 860px) { .pains__grid { grid-template-columns: 1fr; } }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature h3 { font-size: 19px; margin: 16px 0 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature__icon {
	display: block; width: 44px; height: 44px; border-radius: 12px;
	background: linear-gradient(135deg, rgb(37 99 235 / 14%), rgb(20 184 166 / 14%));
	position: relative;
}
.feature__icon::after {
	content: ""; position: absolute; inset: 10px;
	background: linear-gradient(135deg, var(--blue), var(--teal));
	-webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

[data-icon="gantt"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 5h9M7 12h11M12 19h9'/%3E%3C/svg%3E"); }
[data-icon="phone"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18h3' stroke-linecap='round'/%3E%3C/svg%3E"); }
[data-icon="money"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
[data-icon="check"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
[data-icon="box"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 21 7v10l-9 4.5L3 17V7z'/%3E%3Cpath d='M3 7l9 4.5L21 7M12 11.5v10'/%3E%3C/svg%3E"); }
[data-icon="truck"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v10H2zM14 10h4l4 4v2h-8z'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E"); }
[data-icon="people"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.8a3.5 3.5 0 0 1 0 6.4M18.5 14.8c1.5.8 2.6 2.5 3 5.2'/%3E%3C/svg%3E"); }
[data-icon="shield"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 20 5.5v6c0 5-3.4 8.6-8 10-4.6-1.4-8-5-8-10v-6z'/%3E%3Cpath d='M12 8v7M8.5 11.5h7' stroke-linecap='round'/%3E%3C/svg%3E"); }
[data-icon="wallet"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='15' rx='3'/%3E%3Cpath d='M2.5 9.5h19'/%3E%3Ccircle cx='17' cy='14.5' r='1.3' fill='%23000'/%3E%3C/svg%3E"); }

/* Подробно: текст + иллюстрация */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--rev .split__copy { order: 2; }
.split__visual .mock { padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .split__visual .mock { border-color: transparent; } }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; gap: 36px; }
	.split--rev .split__copy { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
	background: rgb(20 184 166 / 16%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230D9488' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.ticks--compact { gap: 10px; margin: 18px 0 24px; }

.journal { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.journal li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 10px; background: #F8FAFC; border: 1px solid #EEF2F7; color: #334155; }

.cost { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cost th, .cost td { padding: 9px 8px; text-align: right; border-bottom: 1px solid #EEF2F7; white-space: nowrap; }
.cost th:first-child, .cost td:first-child { text-align: left; white-space: normal; }
.cost th { font-size: 11px; color: #64748B; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cost__total td { font-weight: 700; border-top: 2px solid #CBD5E1; }
@media (max-width: 420px) { .cost { font-size: 12px; } .cost th, .cost td { padding: 8px 4px; } }

.mock--docs { display: grid; gap: 12px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid #E2E8F0; font-weight: 500; background: #fff; }
.doc__ext { flex-shrink: 0; width: 46px; text-align: center; padding: 8px 0; border-radius: 8px; background: #DBEAFE; color: #1E40AF; font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.doc__ext--pdf { background: #FEE2E2; color: #991B1B; }

/* Роли */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.role { padding: 22px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.role h3 { font-size: 17px; margin-bottom: 8px; }
.role p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Платформа */
.platform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 40px; background: rgb(255 255 255 / 10%); border-radius: var(--radius); overflow: hidden; }
.platform__item { background: var(--navy); padding: 28px; }
.platform__item h3 { color: #F8FAFC; font-size: 18px; margin-bottom: 10px; }
.platform__item h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-bottom: 16px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.platform__item p { color: #94A3B8; font-size: 15.5px; }
@media (max-width: 900px) { .platform { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .platform { grid-template-columns: 1fr; } .platform__item { padding: 22px; } }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #5EEAD4; font: 700 18px/1 var(--font-head); }
@media (prefers-color-scheme: dark) { .step__n { background: #1E293B; } }
.step h3 { font-size: 18px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Цена */
.price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.price__card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.price__label { font: 700 30px/1.1 var(--font-head); }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; gap: 28px; } .price__card { padding: 24px; } }

/* Вопросы */
.faq { max-width: 860px; }
.faq .section__title { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
	font: 600 18px/1.35 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 46em; }

/* Заявка */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 28px; } }

.form { background: #fff; color: #0F172A; border-radius: 18px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgb(2 6 23 / 40%); }
@media (max-width: 520px) { .form { padding: 20px; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 500; color: #334155; }
.field__label b { color: #DC2626; }
.field input, .field textarea {
	width: 100%; font: 400 16px/1.4 var(--font-body); color: #0F172A;
	padding: 12px 14px; border-radius: 10px; border: 1px solid #CBD5E1; background: #F8FAFC;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgb(37 99 235 / 18%); }
.field input[aria-invalid="true"] { border-color: #DC2626; }
.form__hint { font-size: 13px; color: #64748B; margin-top: -8px; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #475569; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.check a { color: var(--blue); }
.form__status { min-height: 1.4em; font-size: 15px; font-weight: 500; }
.form__status.is-error { color: #B91C1C; }
.form__status.is-ok { color: #047857; }
.form.is-sent .field, .form.is-sent .form__row, .form.is-sent .form__hint, .form.is-sent .check, .form.is-sent button { display: none; }
.form.is-sent .form__status { font: 600 20px/1.4 var(--font-head); padding: 24px 0; text-align: center; }

/* Подвал */
.footer { background: #020617; color: #94A3B8; padding: 48px 0; font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; justify-content: space-between; }
.footer .brand { color: #F8FAFC; }
.footer .brand__word span { color: #60A5FA; }
.footer .brand__mark { width: 32px; height: 32px; }
.footer__tag { margin-top: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a { color: #CBD5E1; text-decoration: none; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__copy { width: 100%; padding-top: 24px; border-top: 1px solid #1E293B; font-size: 13.5px; line-height: 1.6; }
.footer__copy a { color: #CBD5E1; }

/* Появление блоков при прокрутке (только если JS включён и движение не отключено) */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
	.js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Страница политики */
.doc-page { padding: 56px 0 88px; }
.doc-page .container { max-width: 860px; }
.doc-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc-page h2 { font-size: 21px; margin: 36px 0 12px; }
.doc-page p, .doc-page li { color: var(--muted); }
.doc-page p + p { margin-top: 10px; }
.doc-page ul { padding-left: 22px; display: grid; gap: 6px; }
.doc-page .todo { background: #FEF3C7; color: #78350F; padding: 1px 6px; border-radius: 4px; }
