@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #faf8f4;
  --ink: #1c1b19;
  --soft: #6e6a62;
  --line: #e7e2d8;
  --accent: #c7761a;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.col { max-width: 640px; margin: 0 auto; padding: 48px 24px 64px; }

.cover { display: block; width: 100%; border-radius: 10px; margin-bottom: 44px; }

.intro h1 { font: 500 40px/1.1 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; }
.intro p { color: var(--soft); font-size: 17px; margin-bottom: 12px; }
.intro a { color: var(--ink); }

section { margin-top: 56px; }
h2 { font: 500 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin-bottom: 12px; }

.list { list-style: none; }
.list li { border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list a, .list.plain li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 0; text-decoration: none; }
.list.plain li { border-bottom: 0; }
.list.plain li:last-child { border-bottom: 1px solid var(--line); }
.list .t { font: 400 19px/1.35 var(--serif); }
.list .t em { display: block; font: 400 14px/1.5 var(--sans); font-style: normal; color: var(--soft); margin-top: 2px; }
.list .d { flex-shrink: 0; font-size: 14px; color: var(--soft); }
.list a:hover .t { color: var(--accent); }

footer { margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
footer span { margin-left: auto; }

/* article */
.back { margin-bottom: 48px; font-size: 14px; }
.back a { text-decoration: none; color: var(--soft); }
article .meta { font-size: 14px; color: var(--soft); margin-bottom: 12px; }
article h1 { font: 500 40px/1.12 var(--serif); letter-spacing: -.02em; margin-bottom: 36px; }
article p, article li { font: 400 20px/1.65 var(--serif); }
article p { margin-bottom: 22px; }
article h2 { font: 500 26px/1.25 var(--serif); text-transform: none; letter-spacing: -.01em; color: var(--ink); margin: 44px 0 14px; }
article ul, article ol { margin: 0 0 22px 1.2em; }
article li { margin-bottom: 6px; }
article img { display: block; width: 100%; border-radius: 8px; margin: 8px 0 30px; }
article blockquote { border-left: 2px solid var(--accent); padding-left: 20px; margin: 30px 0; font-style: italic; }
article .thanks { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font: 15px/1.6 var(--sans); color: var(--soft); }

@media (max-width: 600px) {
  .col { padding-top: 24px; }
  .intro h1, article h1 { font-size: 32px; }
  article p, article li { font-size: 18px; }
  .list a, .list.plain li { flex-direction: column; gap: 2px; }
  footer span { margin-left: 0; }
}
.intro .hi { margin-top: 20px; color: var(--ink); font-size: 16px; }
.intro .hi a { color: var(--accent); text-decoration-color: var(--accent); }
.cat { font: 400 15px var(--serif); font-style: italic; color: var(--accent); margin: 22px 0 6px; }
.cat:first-of-type { margin-top: 4px; }
.who { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.who h1 { margin-bottom: 0; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.intro { padding-top: 24px; }
@media (max-width: 600px) { .avatar { width: 60px; height: 60px; } }
