:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --text: #1b1f24;
  --muted: #555e69;
  --line: #dde1e6;
  --accent: #1f5fae;
  --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --surface: #1a1f25;
    --text: #e8ebef;
    --muted: #a3acb7;
    --line: #2c333b;
    --accent: #6ea8ff;
    --accent-text: #0b1220;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 16px; padding-bottom: 16px; }
.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
nav a { margin-left: 16px; text-decoration: none; font-size: 15px; }
nav a:first-child { margin-left: 0; }
main { padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p, li { color: var(--text); }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin: 20px 0; }
form label { display: block; font-weight: 600; margin: 14px 0 4px; }
form input[type=text], form input[type=tel], form input[type=email], form select {
  width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--text);
}
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-weight: 400; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.consent span { font-size: 14px; line-height: 1.5; }
button { background: var(--accent); color: var(--accent-text); border: 0; border-radius: 8px; padding: 12px 22px; font-size: 16px; font-weight: 600; cursor: pointer; min-height: 44px; }
footer { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 14px; color: var(--muted); }
footer a { margin-right: 14px; }
@media (max-width: 520px) { h1 { font-size: 25px; } nav a { margin-left: 12px; } }
