/* 글: one column of plain text, the guide's look (public/docs) with a byline and a lead. The header is ../site-top.css. */
:root {
  --paper: #ffffff; --ink: #1c1f24; --ink-2: #4a4f57; --muted: #6b7079; --line: #e3e6eb; --tint: #f6f7f9; --navy: #1f3a5f;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121212; --ink: #ececec; --ink-2: #b9bec6; --muted: #8a909a; --line: #2b2f36; --tint: #1a1d22; --navy: #9db8dc; }
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
.doc { max-width: 720px; margin: 0 auto; padding: 0 24px 96px; }
.crumbs { margin: 40px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
header.title { margin: 16px 0 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
h1 { margin: 0; font-size: 32px; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.byline { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
h2 { margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; }
h3 { margin: 28px 0 8px; font-size: 17px; line-height: 1.5; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 4px; }
strong { font-weight: 600; }
.note { color: var(--ink-2); font-size: 14px; }
table { width: 100%; margin: 8px 0 16px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { border-bottom: 1px solid var(--ink-2); font-weight: 600; }
td.num, th.num { white-space: nowrap; text-align: right; }
.table-scroll { overflow-x: auto; }
/* A worked example, set apart */
.example { margin: 16px 0 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--tint); }
.example p:last-child, .example ul:last-child, .example ol:last-child { margin-bottom: 0; }
.example .q { font-weight: 600; }
.cite { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
/* The three university models */
.schools { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; gap: 10px; }
.schools a { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.schools a:hover { border-color: var(--navy); }
.schools .mark { grid-row: 1 / span 2; font-family: "Noto Serif KR", "AppleMyungjo", serif; font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: 0.04em; }
.schools b { font-weight: 600; }
.schools .reg { color: var(--ink-2); font-size: 14px; }
/* The ask at the end */
.cta { margin: 48px 0 0; padding: 22px 24px; border: 1px solid var(--ink-2); }
.cta p { margin: 0 0 12px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; }
.cta .button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 2px; background: var(--navy); color: var(--paper); text-decoration: none; font-weight: 500; }
.cta .button:hover { opacity: 0.9; }
.more { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.more h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 15px; color: var(--muted); font-weight: 600; }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
/* The list of 글 */
.posts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.posts a { text-decoration: none; color: var(--ink); }
.posts h2 { margin: 0; padding: 0; border: 0; font-size: 20px; }
.posts p { margin: 6px 0 0; color: var(--ink-2); }
.posts .byline { margin-top: 6px; }
@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  table { font-size: 14px; }
  th, td { padding: 8px 6px; }
  .example { padding: 14px 16px; }
}
