:root {
  --bg: #0f1115;
  --panel: #171a21;
  --text: #e8e6e1;
  --muted: #a3a29c;
  --accent: #e0a64a;
  --line: #2a2e38;
  --measure: 46rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.7 Georgia, "Iowan Old Style", serif; }
a { color: var(--accent); }
.top, .foot { max-width: 72rem; margin: 0 auto; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; font-family: system-ui, sans-serif; font-size: 0.95rem; }
.top { border-bottom: 1px solid var(--line); }
.foot { border-top: 1px solid var(--line); color: var(--muted); margin-top: 4rem; }
.brand { color: var(--text); font-weight: 700; letter-spacing: 0.02em; text-decoration: none; font-size: 1.1rem; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; }
main { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1.25rem; }
h1, h2, h3, h4 { font-family: system-ui, sans-serif; line-height: 1.25; }
.hero { padding: 3rem 0 1.5rem; max-width: var(--measure); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.5rem; }
.hero p { color: var(--muted); font-size: 1.15rem; }
.section { margin-top: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding-bottom: 1rem; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card h2 { font-size: 1.1rem; margin: 0.9rem 1rem 0.4rem; }
.card h2 a { color: var(--text); text-decoration: none; }
.card p { margin: 0 1rem; color: var(--muted); font-size: 0.95rem; }
.card time { display: block; margin: 0.6rem 1rem 0; color: var(--muted); font: 0.8rem system-ui, sans-serif; }
.post { max-width: var(--measure); margin: 0 auto; }
.post h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 0.3rem 0 1rem; }
.meta { color: var(--muted); font: 0.85rem system-ui, sans-serif; margin: 1.5rem 0 0; }
.tldr { background: var(--panel); border-left: 3px solid var(--accent); padding: 0.9rem 1.1rem; margin: 1rem 0 1.5rem; border-radius: 0 8px 8px 0; }
figure { margin: 1.75rem 0; }
figure img { width: 100%; height: auto; border-radius: 8px; display: block; }
figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; font-family: system-ui, sans-serif; }
.body table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.body th, .body td { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: left; }
.body blockquote { border-left: 3px solid var(--line); margin: 1.5rem 0; padding: 0.2rem 1.2rem; color: var(--muted); }
.body code { background: var(--panel); padding: 0.1rem 0.35rem; border-radius: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.faq summary { cursor: pointer; font-family: system-ui, sans-serif; font-weight: 600; }
.empty { color: var(--muted); }
.more { font-family: system-ui, sans-serif; }
