:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #f5f7fb;
  --card: #ffffff;
  --rule: #d2d2d7;
  --accent: #1f6fe0;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #f5f5f7; --muted: #a1a1a6; --bg: #0b0d12; --card: #16181f; --rule: #2c2f38; --accent: #5aa2ff; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.site-header { border-bottom: 1px solid var(--rule); background: var(--card); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 16px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.page-head { padding: 40px 0 16px; }
.page-head h1 { font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
.meta { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.lang-switch { display: flex; gap: 12px; font-size: 15px; }
.card { background: var(--card); border-radius: 16px; padding: 24px 20px; margin: 16px 0 32px; }
.card h2 { font-size: 20px; margin: 28px 0 8px; }
.card h2:first-child { margin-top: 0; }
.card p { margin: 0 0 10px; }
.contact { border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; margin: 12px 0 16px; }
.contact .label { display: block; color: var(--muted); font-size: 14px; }
.contact .mail { font-size: 18px; font-weight: 600; word-break: break-all; }
details { border-top: 1px solid var(--rule); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }
.kbd { font-weight: 600; white-space: nowrap; }
.hero { text-align: center; padding: 56px 0 24px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; }
.hero h1 { font-size: 34px; margin: 16px 0 4px; }
.hero p { color: var(--muted); margin: 0 0 4px; }
.links { display: flex; justify-content: center; gap: 20px; margin: 20px 0 48px; }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 24px 0 48px; }
