:root { color-scheme: light; --bg: #fafaf9; --ink: #1c1917; --muted: #716b65; --line: #e7e5e4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #1c1917; --ink: #fafaf9; --muted: #b2aba5; --line: #3b332d; } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #1c1917; --ink: #fafaf9; --muted: #b2aba5; --line: #3b332d; }
* { box-sizing: border-box; }
:lang(ko) { word-break: keep-all; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.page { max-width: 736px; padding: 0 28px 80px; margin: 0 auto; }
nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 100px; font-size: 14px; }
nav a { text-decoration: none; }
.brand { font-weight: 650; letter-spacing: -.025em; }
.links { display: flex; gap: 24px; align-items: center; color: var(--muted); }
[aria-current="page"] { color: var(--ink); }
button { color: inherit; border: 0; background: none; width: 36px; height: 36px; padding: 9px; cursor: pointer; }
button[hidden] { display: none; }
main { padding-top: 72px; }
h1 { font-size: clamp(32px, 5vw, 42px); font-weight: 600; line-height: 1.25; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; text-wrap: balance; }
.empty { color: var(--muted); font-size: 16px; margin-top: 36px; }
.post-list { list-style: none; padding: 0; margin: 40px 0 0; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; text-decoration: none; }
.post-list a:hover span { text-decoration: underline; text-underline-offset: .22em; }
.post-list span { font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.post-header { margin-bottom: 44px; }
.post-header time { display: block; margin-top: 20px; }
.prose { font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.5em; }
.prose h2, .prose h3, .prose h4 { line-height: 1.4; letter-spacing: -.025em; margin: 2em 0 .8em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 22px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 2em auto; }
.prose blockquote { border-left: 2px solid var(--line); margin: 1.5em 0; padding-left: 22px; color: var(--muted); }
.prose pre { overflow-x: auto; padding: 18px; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); font-size: 14px; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; }
.prose pre code { font-size: inherit; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.prose td, .prose th { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 16px 10px 0; }
footer { margin-top: 64px; color: var(--muted); font-size: 14px; }
footer a { text-decoration: none; }
@media (max-width: 600px) {
  .page { padding: 0 22px 56px; }
  nav { min-height: 80px; gap: 12px; }
  .links { gap: 16px; }
  main { padding-top: 48px; }
  .post-list a { flex-direction: column; gap: 8px; }
  .prose { font-size: 17px; line-height: 1.85; }
  .post-header { margin-bottom: 32px; }
}
