:root {
	--bg: #ffffff;
	--bg-soft: #f5f7fb;
	--text: #1b2333;
	--muted: #5a6478;
	--line: #e2e6ee;
	--brand: #1f5fd6;
	--brand-ink: #ffffff;
	--accent: #e8f0ff;
	--ok: #13804a;
	--warn-bg: #fff7e6;
	--warn-line: #f0c36d;
	--radius: 12px;
	--max: 1080px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #10141c;
		--bg-soft: #171c26;
		--text: #e7eaf0;
		--muted: #a2abbd;
		--line: #2a3140;
		--brand: #5b8ff0;
		--brand-ink: #0b1020;
		--accent: #1c2740;
		--ok: #4cc584;
		--warn-bg: #2a2314;
		--warn-line: #7a6128;
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
header.site .wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.logo { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; border-radius: 7px; }
.logo .wm span { color: var(--brand); }
nav.main { display: flex; gap: 18px; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--text); }

.hero { padding: 56px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.2; margin: 0 0 12px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 0 24px; }
.tag { display: inline-block; background: var(--accent); color: var(--brand); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

.btn {
	display: inline-block; padding: 12px 20px; border-radius: 10px;
	background: var(--brand); color: var(--brand-ink); font-weight: 600;
	text-decoration: none; border: 1px solid var(--brand);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 48px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; }
section p.sub { color: var(--muted); margin: 0 0 28px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
	border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px; background: var(--bg);
}
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0 0 10px; color: var(--muted); }

.plan { display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--brand); }
.plan .price { font-size: 32px; font-weight: 700; margin: 8px 0 2px; }
.plan .price s { font-size: 18px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.plan .term { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { padding-left: 18px; margin: 0 0 18px; flex: 1; }
.plan li { margin-bottom: 6px; }
.plan .btn { text-align: center; }
.ribbon { align-self: flex-start; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th + th, td + td { width: 64px; white-space: nowrap; }
@media (max-width: 480px) { th, td { padding: 10px; font-size: 14px; } }
th { background: var(--bg-soft); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td.y { color: var(--ok); font-weight: 700; }
td.n { color: var(--muted); }

.note {
	background: var(--warn-bg); border: 1px solid var(--warn-line);
	border-radius: var(--radius); padding: 14px 18px; font-size: 15px;
}
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 18px; }
.steps li::before {
	content: counter(s); position: absolute; left: 0; top: 0;
	width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
	color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

.doc { max-width: 760px; padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: 32px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; }

footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 28px 0; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
