/* 인컴트랙 법적 고지 — 읽히는 것이 목적이다. 장식은 넣지 않는다. */

:root {
    --text: #1c1c1e;
    --text-secondary: #52525b;
    --text-tertiary: #8e8e93;
    --border: #e4e4e7;
    --surface: #fafafa;
    --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f4f4f5;
        --text-secondary: #a1a1aa;
        --text-tertiary: #71717a;
        --border: #3f3f46;
        --surface: #27272a;
        --bg: #18181b;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 24px 20px 80px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
}

main { max-width: 720px; margin: 0 auto; }

h1 {
    font-size: 26px;
    line-height: 1.4;
    margin: 24px 0 8px;
}

h2 {
    font-size: 19px;
    line-height: 1.45;
    margin: 44px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

h3 {
    font-size: 16px;
    margin: 28px 0 8px;
    color: var(--text-secondary);
}

p, li { margin: 8px 0; }
ul { padding-left: 20px; }

.table-wrap { overflow-x: auto; margin: 16px 0; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

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

th {
    background: var(--surface);
    font-weight: 600;
    white-space: nowrap;
}

.effective-date {
    margin-top: 32px;
    padding: 14px 16px;
    background: var(--surface);
    border-radius: 8px;
    font-weight: 600;
}

.doc-nav {
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-tertiary);
}

.doc-nav a { color: var(--text-secondary); }

a { color: inherit; }

/* 문서 목록 (index) */
.doc-list { list-style: none; padding: 0; margin: 28px 0 0; }

.doc-list li {
    margin: 0 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.doc-list a {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    font-weight: 600;
}

.doc-list .desc {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}
