:root {
	--bg: #0d1117;
	--panel: #161c26;
	--panel-2: #1c2432;
	--text: #e6e9ef;
	--muted: #98a2b3;
	--accent: #00c29e;
	--line: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
}

.container.narrow { max-width: 760px; }

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.25; }

h2 {
	font-size: 28px;
	margin: 0 0 8px;
}

.section { padding: 72px 0; }

.section-muted { background: var(--panel); }

.section-lead {
	color: var(--muted);
	margin: 0 0 32px;
	font-size: 17px;
}

/* ---------- Шапка ---------- */

.site-header {
	border-bottom: 1px solid var(--line);
	background: rgba(13, 17, 23, 0.9);
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(8px);
}

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
}

.wordmark {
	color: var(--text);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.wordmark::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 3px;
	border-radius: 50%;
	background: var(--accent);
}

.site-nav a {
	color: var(--muted);
	text-decoration: none;
	margin-left: 24px;
	font-size: 15px;
}

.site-nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 72px; }

.hero-copy h1 {
	font-size: 42px;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	max-width: 640px;
}

.lead {
	font-size: 18px;
	color: var(--muted);
	margin: 0 0 32px;
	max-width: 520px;
}

.store-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.store-btn {
	display: flex;
	flex-direction: column;
	padding: 10px 22px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--panel);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.15s;
}

.store-btn:hover { border-color: var(--accent); }

.store-btn-small {
	font-size: 11px;
	color: var(--muted);
}

.store-btn-big {
	font-size: 18px;
	font-weight: 600;
}

.store-note {
	color: var(--muted);
	font-size: 14px;
}

/* ---------- Карточки возможностей ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 24px;
}

.card h3 {
	font-size: 18px;
	margin: 12px 0 8px;
}

.card p {
	color: var(--muted);
	font-size: 15px;
	margin: 0;
}

.tag {
	display: inline-block;
	font-size: 12px;
	color: var(--accent);
	border: 1px solid rgba(0, 194, 158, 0.4);
	border-radius: 999px;
	padding: 1px 10px;
}

/* ---------- Шаги ---------- */

.steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 0;
	margin: 32px 0 0;
}

.steps h3 { font-size: 18px; }

.steps p {
	color: var(--muted);
	font-size: 15px;
	margin: 8px 0 0;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--accent);
	color: #0d1117;
	font-weight: 700;
}

/* ---------- Приватность ---------- */

.privacy-teaser {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--panel);
	padding: 32px;
}

.privacy-teaser p {
	color: var(--muted);
	max-width: 640px;
}

.arrow-link {
	text-decoration: none;
	font-weight: 600;
}

.arrow-link::after { content: " →"; }

/* ---------- FAQ ---------- */

details {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--panel);
	margin-bottom: 12px;
	padding: 0 20px;
}

summary {
	cursor: pointer;
	font-weight: 600;
	padding: 16px 0;
	list-style: none;
	position: relative;
	padding-right: 32px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent);
	font-size: 20px;
}

details[open] summary::after { content: "–"; }

details p {
	color: var(--muted);
	margin: 0;
	padding: 0 0 16px;
}

/* ---------- Подвал ---------- */

.site-footer {
	border-top: 1px solid var(--line);
	padding: 28px 0;
}

.footer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--muted);
	font-size: 14px;
}

.footer-nav a {
	color: var(--muted);
	text-decoration: none;
	margin-left: 20px;
}

.footer-nav a:hover { color: var(--text); }

/* ---------- Страница политики ---------- */

.doc { padding: 56px 0 72px; }

.doc h1 { font-size: 32px; }

.doc h2 { font-size: 20px; margin: 32px 0 12px; }

.doc p, .doc li { color: var(--muted); }

.doc ul { padding-left: 20px; }

.doc strong { color: var(--text); }

/* ---------- Адаптив ---------- */

@media (max-width: 860px) {
	.hero-copy h1 { font-size: 32px; }

	.steps { grid-template-columns: 1fr; }

	.site-nav a { margin-left: 14px; }

	.section { padding: 56px 0; }
}

@media (max-width: 560px) {
	.site-nav { display: none; }

	.hero { padding: 48px 0; }
}
