:root {
  color-scheme: light dark;
  --bg: #f5f5f7; --card: #ffffff; --text: #1d1d1f; --muted: #6e6e73;
  --accent: #0a6fe0; --line: #e3e3e8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --card: #1c1c1e; --text: #f5f5f7; --muted: #98989d; --accent: #4aa3ff; --line: #2c2c2e; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 22px; font-weight: 700; }
.brand img { width: 44px; height: 44px; border-radius: 22.5%; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
main { padding: 12px 0 8px; }
h1 { font-size: 32px; line-height: 1.15; margin: 20px 0 6px; letter-spacing: -0.01em; }
.lead { color: var(--muted); margin: 0 0 20px; }
section { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px 10px; margin: 16px 0; }
h2 { font-size: 20px; margin: 18px 0 6px; }
h3 { font-size: 17px; margin: 18px 0 2px; }
p { margin: 8px 0; }
ul { margin: 8px 0; padding-left: 22px; }
li { margin: 5px 0; }
.mail { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
footer { color: var(--muted); font-size: 14px; padding: 16px 0 40px; }
