@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --ink: #181818;
  --muted: #6b6b6b;
  --paper: #fff;
  --surface: #f5f5f5;
  --line: #dedede;
  --accent: #303030;
  --app-nav-bg: rgba(255, 255, 255, .84);
  --app-nav-border: rgba(24, 24, 24, .16);
  --app-nav-text: var(--ink);
  --app-nav-hover-border: rgba(24, 24, 24, .54);
  --app-nav-hover-text: #000;
  --app-nav-active-bg: #181818;
  --app-nav-active-text: #fff;
  --app-nav-active-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; line-height: 1.75; }
a { color: inherit; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 12px max(5vw, 24px); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.site-logo { font: 760 15px/1 "Pretendard Variable", sans-serif; text-decoration: none; letter-spacing: -.025em; }
.site-header .app-nav { flex: 0 1 auto; overflow-x: auto; }

main { width: min(100% - 40px, 780px); margin: 0 auto; padding: 84px 0 96px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font: 700 12px/1.4 "Pretendard Variable", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { font-family: inherit; font-weight: 760; letter-spacing: -.055em; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 66px); line-height: 1.13; }
.intro { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 18px; word-break: keep-all; }

.post-list { margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 122px minmax(0, 1fr); gap: 22px; padding: 30px 4px; text-decoration: none; transition: background .18s ease, padding .18s ease; }
.post-list a:hover { padding-inline: 14px; background: var(--surface); }
.post-date { color: var(--muted); font: 680 13px/1.6 "Pretendard Variable", sans-serif; }
.post-list h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.35; }
.post-summary { margin: 8px 0 0; color: var(--muted); font-size: 16px; word-break: keep-all; }

.post-header { max-width: 690px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.post-header time { color: var(--muted); font: 680 13px/1.6 "Pretendard Variable", sans-serif; }
.post-header h1 { margin-top: 18px; }
.post-body { max-width: 660px; margin: 48px auto 0; font-size: 18px; word-break: keep-all; }
.post-body p { margin: 0 0 28px; }
.post-body h2 { margin: 52px 0 18px; font-size: 28px; line-height: 1.35; }
.post-body strong { font-weight: 760; color: #000; }
.post-body code { padding: 2px 5px; border-radius: 4px; background: #eee; color: #252525; font: 13px/1.4 "SFMono-Regular", Consolas, monospace; }
.post-note { margin: 42px 0 0; padding: 22px 24px; border-left: 3px solid var(--ink); background: var(--surface); color: #4d4d4d; font-size: 15px; }
.back-link { display: inline-flex; margin-top: 68px; color: var(--ink); font: 700 14px/1.4 "Pretendard Variable", sans-serif; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

footer { padding: 34px max(5vw, 24px); border-top: 1px solid var(--line); color: var(--muted); font: 520 13px/1.6 "Pretendard Variable", sans-serif; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-header .app-nav { width: 100%; }
  main { width: min(100% - 32px, 780px); padding-top: 56px; }
  .post-list a { grid-template-columns: 1fr; gap: 8px; padding-block: 25px; }
  .post-list a:hover { padding-inline: 4px; }
  .post-body { font-size: 17px; }
}
