:root {
  --bg: #15110d;
  --panel: #1f1914;
  --ink: #f3ead9;
  --muted: #b9ab95;
  --accent: #e8a352;
  --line: #3a2f25;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header.top {
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
.hero img { display: block; width: 100%; height: auto; border-radius: 14px; margin: 28px 0 8px; }
h1 { font-size: 40px; line-height: 1.15; margin: 28px 0 10px; letter-spacing: -0.01em; }
h2 { font-size: 24px; margin: 40px 0 8px; color: var(--accent); }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--ink); }
.lede { font-size: 20px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px 18px; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { font-size: 14px; background: #2a221b; padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.yt { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.yt svg { width: 28px; height: 20px; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 22px 0 40px; color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); margin-right: 18px; }
.meta { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) {
  h1 { font-size: 30px; }
  nav a { margin-left: 12px; }
}
