:root {
	--bg: #0e1116; /* page background */
	--card: #151a22; /* surfaces/cards */
	--ink: #e8eef8; /* base text */
	--muted: #9fb0c7; /* secondary text */
	--brand: #6be675; /* brand accent */
	--border: #263040; /* subtle borders */
	--danger: #ff6b6b; /* danger/button */
	--link: #7bd0ff; /* hyperlinks */
} /* Reset-ish */
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
} /* Links & Focus */
a {
	color: var(--link);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	opacity: 0.95;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 10px;
} /* Layout */
.wrap {
	max-width: 960px;
	margin: auto;
	padding: 16px;
}
header.site > .wrap {
	display: flex;
	max-width: 960px;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-between;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.logo b {
	font-size: clamp(18px, 3.4vw, 24px);
}
nav a {
	padding: 8px 10px;
	border-radius: 8px;
} /* Headings & Text */
h1 {
	font-size: clamp(26px, 3.6vw, 34px);
	margin: 14px 0 6px;
}
h2 {
	font-size: clamp(20px, 3vw, 26px);
	margin: 16px 0 8px;
}
h3 {
	font-size: clamp(16px, 2.5vw, 20px);
	margin: 12px 0 6px;
}
p.lead {
	color: var(--muted);
	margin: 0 0 12px;
}
.muted {
	color: var(--muted);
}
header.site a.home-link,
footer a.home-link {
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
}
header.site a.home-link:hover b,
footer a.home-link:hover {
	color: var(--brand);
} /* Components */
.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px;
	margin-top: 12px;
}
.badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.badge {
	border: 1px solid var(--border);
	background: #0c1118;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 0.9rem;
}
.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.row {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.kpi {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.kpi div {
	background: #0c1017;
	border: 1px dashed var(--border);
	border-radius: 10px;
	padding: 8px 10px;
	min-width: 110px;
}
.preset {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.preset button {
	width: auto;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: #0c1118;
} /* Form Controls / Buttons */
select,
input[type='number'],
input[type='range'],
button {
	width: 100%;
	background: #0c1118;
	color: var(--ink);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px;
}
button {
	cursor: pointer;
}
.btnPrimary {
	background: linear-gradient(90deg, var(--brand), #58e0e0);
	color: #041214;
	font-weight: 700;
	border: none;
}
.btnStop {
	background: var(--danger);
	color: #170606;
	font-weight: 700;
	border: none;
} /* Canvas visualizer */
canvas {
	width: 100%;
	height: 130px;
	background: #0a0e14;
	border: 1px solid var(--border);
	border-radius: 12px;
} /* Sections */
.hero {
	display: grid;
	grid-template-columns: 1.1fr;
	gap: 14px;
	margin-bottom: 8px;
}
.section {
	margin-top: 18px;
}
.benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}
.benefits .card {
	min-height: 120px;
}
.steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}
.steps .card {
	position: relative;
	padding-left: 54px;
}
.steps .card:before {
	content: counter(step);
	counter-increment: step;
	position: absolute;
	left: 12px;
	top: 12px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0c1118;
	border: 1px solid var(--border);
	display: grid;
	place-items: center;
	font-weight: 700;
}
.faq details {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 10px;
	background: #0c1118;
}
.faq details + details {
	margin-top: 8px;
} /* Details/Summary */
details summary {
	cursor: pointer;
	color: var(--muted);
	list-style: none;
}
details summary::-webkit-details-marker {
	display: none;
} /* Footer */
footer {
	color: var(--muted);
	text-align: center;
	padding: 16px;
	margin-top: 16px;
	border-top: 1px solid var(--border);
}
footer a {
	color: var(--muted);
}
footer a:hover {
	color: var(--ink);
} /* Skip link (a11y) */
.skip {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.skip:focus {
	left: 10px;
	top: 10px;
	width: auto;
	height: auto;
	background: #111;
	color: #fff;
	padding: 8px 10px;
	border-radius: 8px;
	z-index: 1000;
} /* Small screen fine-tuning */
@media (max-width: 480px) {
	nav {
		width: 100%;
		display: flex;
		gap: 6px;
		flex-wrap: wrap;
	}
	.kpi div {
		min-width: 100px;
	}
} /* ==== Ad slots: reserve space (no CLS), responsive, subtle ==== */
.ad-slot {
	border: 1px dashed var(--border);
	background: #0c1118;
	border-radius: 12px;
	padding: 12px;
	margin: 12px 0;
	display: block;
	text-align: center;
}
.ad-slot .ad-label {
	font-size: 0.8rem;
	color: var(--muted);
	display: block;
	margin-bottom: 6px;
}
.ad-slot .ad-title {
	font-weight: 700;
	margin: 4px 0;
}
.ad-slot .ad-text {
	color: var(--muted);
	margin: 2px 0;
}
.ad-slot a {
	display: inline-block;
	margin-top: 6px;
}
.ad-top {
	min-height: 90px;
} /* top banner: 728x90/970x90 on desktop, 320x100 on mobile */
.ad-inline {
	min-height: 120px;
} /* in-content rectangle */
.ad-tool {
	min-height: 90px;
} /* small banner inside tool card */
.promo-sticky {
	position: sticky;
	bottom: 12px;
	z-index: 50;
	border: 1px solid var(--border);
	background: #112;
	border-radius: 12px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.promo-sticky .btn-close {
	border: 1px solid var(--border);
	background: #0c1118;
	border-radius: 8px;
	padding: 6px 10px;
	cursor: pointer;
}
@media (min-width: 768px) {
	.ad-inline {
		min-height: 180px;
	}
}
.promo-sticky-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.promo-sticky-link:hover .promo-sticky {
	outline: 1px solid var(--border); /* subtle hover feedback */
	filter: brightness(1.04);
}
.promo-sticky {
	cursor: pointer;
}
