:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --line: #e2e2e7;
  --accent: #3b5bdb;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c2e;
    --accent: #7c95f5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }

header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 8px;
}

header a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
}

header img { width: 36px; height: 36px; border-radius: 9px; }

nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

main { padding-top: 24px; padding-bottom: 48px; }

.hero { text-align: center; padding: 40px 0 24px; }
.hero img { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 24px 0 8px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 20px; margin: 0 auto; max-width: 30em; }

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.points li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.points strong { display: block; margin-bottom: 4px; }
.points span { color: var(--muted); font-size: 15px; }

article h1 { font-size: 32px; line-height: 1.2; margin: 8px 0 4px; letter-spacing: -0.01em; }
article h2 { font-size: 21px; margin: 32px 0 8px; }
article .meta { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
article li { margin: 4px 0; }

.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}

.summary p { margin: 0; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 32px; }
  nav { gap: 12px; }
}
