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

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #f9fafb;
    color: #374151;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.75;
    word-break: keep-all;
}

header {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 20px 24px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span { color: #2563eb; }

main {
    max-width: 820px;
    margin: 40px auto;
    padding: 40px 24px;
    background: #fff;
    border-radius: 16px;
}

h1 { font-size: 28px; color: #111827; margin: 0 0 8px; }
h2 { font-size: 18px; color: #111827; margin: 40px 0 12px; }
.meta { color: #6b7280; font-size: 14px; margin: 0 0 24px; }

a { color: #2563eb; }
ul, ol { padding-left: 1.25em; }
li { margin: 4px 0; }

.toc {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 15px;
}

.toc a { color: #374151; text-decoration: none; }
.toc a:hover { color: #2563eb; text-decoration: underline; }

.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 12px 0;
}

th, td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

th { background: #f3f4f6; color: #111827; white-space: nowrap; }
.sub { color: #6b7280; font-size: 12px; }

.back { margin-top: 48px; }

footer {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    padding: 0 24px 40px;
}

footer a { color: #4b5563; }

@media (max-width: 640px) {
    main { margin: 0; border-radius: 0; padding: 32px 16px; }
    h1 { font-size: 24px; }
}
