:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #2f5bea;
  --card: #f6f7fb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --line: #1f2433;
    --accent: #6d8cff;
    --card: #141826;
  }
}
* { 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, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header { padding: 24px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 19px; }
.brand:hover { text-decoration: none; }
.mail { display: flex; color: var(--accent); }
.mail:hover { opacity: 0.75; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.hero { text-align: center; padding: 56px 0 80px; }
.hero img { width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 12px 32px rgba(31, 43, 122, 0.25); }
.hero h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 28px 0 14px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto; }
.badge {
  display: inline-block; margin-top: 28px; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
}


article { padding: 24px 0 56px; }
article h1 { font-size: 34px; letter-spacing: -0.01em; margin: 16px 0 4px; }
article h2 { font-size: 20px; margin: 32px 0 8px; }
article .updated { color: var(--muted); margin: 0 0 24px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
