*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #111;
  background: #fafaf8;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px) 80px;
  overflow-wrap: break-word;
}

h1, h2, h3, header nav a, li a {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }

header { padding: 20px 0; border-bottom: 1px solid #e8e8e0; }
header nav { display: flex; align-items: center; }
header nav a { font-size: clamp(36px, 8vw, 44px); letter-spacing: 0.04em; color: #111; text-decoration: none; text-transform: uppercase; }

main { margin-top: 28px; }

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

time { font-size: 14px; font-weight: 500; color: #999; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }

ul { list-style: none; }
li { padding: 28px 0; border-bottom: 1px solid #e8e8e0; }
li:first-child { padding-top: 0; }
li a { color: #111; text-decoration: none; }
li a:hover { text-underline-offset: 3px; }

article header { margin-bottom: 28px; border: none; padding: 0; }
article header h1 { margin-bottom: 0; }
article p, article ul, article ol, article blockquote, article pre { margin-bottom: 20px; }
article ul, article ol { padding-left: 1.5rem; list-style: initial; }
article li { padding: 0; border: none; margin-bottom: 6px; }

blockquote { border-left: 3px solid #e8e8e0; padding-left: 1rem; color: #666; }

code { font-family: ui-monospace, monospace; font-size: 0.9em; background: #f0f0ec; padding: 0.15em 0.35em; border-radius: 4px; }
pre { max-width: 100%; }
pre code { display: block; padding: 1rem; overflow-x: auto; }

hr { border: none; border-top: 1px solid #e8e8e0; margin: 2rem 0; }

footer { margin-top: 60px; }
