:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #222821;
  --muted: #535a4e;
  --line: #c9cec2;
  --accent: #2c5c40;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.28; word-break: keep-all; letter-spacing: -.045em; }
p { margin: 0 0 1em; word-break: keep-all; }
.shell { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: baseline; gap: 1.5rem; }
.site-header { justify-content: space-between; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .5rem 1.35rem; }
.site-header nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header a[aria-current="page"] { text-decoration: underline; }
.wordmark { font: 900 2.05rem/1 Arial, sans-serif; letter-spacing: -.095em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.2rem 2.4rem; margin-top: 3.7rem; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.site-footer span { margin-right: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; background: var(--paper); padding: .5rem; z-index: 1; }
.skip:focus { top: 1rem; }

.intro { padding-block: clamp(2.75rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.intro h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); max-width: 13em; margin: 0 0 .35em; line-height: 1.16; overflow-wrap: normal; }
.intro p, .lede { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.22rem); }
.list-heading { font-size: 1.25rem; margin: 0 0 .8rem; }
.post-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.post-list li { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.post-list article { display: grid; grid-template-columns: 10rem 1fr; gap: .25rem 1.75rem; }
.post-list h2, .post-list h3 { font-size: clamp(1.25rem, 3.4vw, 1.95rem); margin: .12rem 0 .32rem; }
.post-list h2 a, .post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover, .post-list h3 a:hover { text-decoration: underline; }
.post-list p:last-child { margin-bottom: 0; }
.meta { color: var(--muted); font-size: .88rem; }
.meta time { margin-left: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.article { max-width: 46rem; margin-inline: auto; padding-top: clamp(2.5rem, 6vw, 5rem); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.article h1 { font-size: clamp(1.95rem, 5vw, 3.5rem); margin: 0 0 .65em; }
.disclosure { padding: .6rem .85rem; border-left: 3px solid var(--accent); background: #eef1e9; color: var(--ink); font-weight: 650; }
.article-head + .prose { padding-top: 1.15rem; }
.prose h2, .products h2 { margin: 1.9em 0 .55em; font-size: 1.55rem; }
.prose ul, .prose ol, .products ul { padding-left: 1.4rem; }
.prose li, .products li { margin-bottom: .45rem; }
.prose .table-wrap { overflow-x: auto; margin-block: 1.4rem; }
.prose table { width: 100%; min-width: 30rem; border-collapse: collapse; }
.prose th, .prose td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead { border-bottom: 2px solid var(--ink); }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--line); }
.return { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { align-items: center; gap: .75rem; }
  .site-header nav { font-size: .9rem; }
  .post-list article { grid-template-columns: 1fr; }
  .post-list p { margin-bottom: .25rem; }
  .prose th, .prose td { padding: .5rem .35rem; }
}
