:root {
	color-scheme: light dark;
	--bg: #f5f6fa; --surface: #ffffff; --surface-2: #eef1f7; --border: #e1e5ee;
	--text: #121a2e; --muted: #5d6679; --accent: #3355ff; --accent-hover: #2445e6; --on-accent: #fff;
	--rec: #e5484d; --brand: #182653; --amber: #ffc454;
	font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
	color: var(--text); background: var(--bg);
}
@media (prefers-color-scheme: dark) {
	:root { --bg: #0c1120; --surface: #141b2e; --surface-2: #1b2339; --border: #262f47; --text: #e7ebf3; --muted: #97a1b6; --accent: #6d86ff; --accent-hover: #8599ff; --on-accent: #0c1120; --rec: #ff6369; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

nav { border-bottom: 1px solid var(--border); background: var(--surface); }
nav .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
nav .links { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
nav .links a { color: var(--muted); text-decoration: none; }
nav .links a:hover { color: var(--text); }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; color: var(--on-accent); background: var(--accent); }
.button:hover { background: var(--accent-hover); }
.button[aria-disabled="true"] { opacity: .7; pointer-events: none; }

.hero { padding: 80px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }

section { padding: 40px 0; }
section > .wrap > h2 { font-size: 28px; letter-spacing: -.02em; text-align: center; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; color: var(--accent); background: var(--surface-2); }
.feature svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; padding: 22px; border-radius: 14px; background: var(--surface-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; font-weight: 700; color: var(--on-accent); background: var(--accent); }

.privacy-band { margin: 24px 0; padding: 40px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--brand), #2a3f86); }
.privacy-band h2 { margin: 0 0 10px; font-size: 26px; }
.privacy-band ul { margin: 0; padding-left: 20px; }
.privacy-band a { color: var(--amber); }

.wrap.narrow { max-width: 760px; }
.note { text-align: center; color: var(--muted); font-size: 14px; }
code, kbd { font: 14px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; }
kbd { padding: 2px 7px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
table.shortcuts { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
table.shortcuts td { padding: 14px 18px; border-top: 1px solid var(--border); }
table.shortcuts tr:first-child td { border-top: 0; }
table.shortcuts td:first-child { white-space: nowrap; width: 1%; }
#faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
#faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; }
#faq details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

article.policy { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
article.policy h1 { font-size: 36px; letter-spacing: -.02em; margin: 0 0 8px; }
article.policy h2 { font-size: 21px; margin: 32px 0 8px; }
article.policy code { font-size: 14px; padding: 1px 5px; border-radius: 5px; background: var(--surface-2); }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer .wrap span { margin-right: auto; }
footer a { color: var(--muted); }

/* Feedback form */
.feedback .lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.feedback form { display: grid; gap: 18px; }
.feedback fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.feedback legend { font-weight: 600; margin-bottom: 8px; }
.feedback fieldset label { display: flex; gap: 10px; align-items: center; }
.feedback .field { display: grid; gap: 6px; font-weight: 600; }
.feedback .optional { font-weight: 400; color: var(--muted); font-size: 14px; }
.feedback textarea, .feedback input[type="email"], .feedback input[type="text"] {
	width: 100%; padding: 10px 12px; border: 1px solid #878e9c; border-radius: 10px;
	font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
}
.feedback textarea:focus-visible, .feedback input:focus-visible, .feedback .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.feedback .button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.feedback .small { color: var(--muted); font-size: 14px; margin: 0; }
.feedback .trap { position: absolute; left: -9999px; }
