/*
 * common.css
 * ------------------------------------------------------------
 * 사이트 전체 공통 스타일.
 * 색상, 기본 글자 크기, 링크, 접근성 등 모든 페이지에 공통 적용됩니다.
 */

:root {
    --color-primary: #2457a6;
    --color-primary-dark: #183f7b;
    --color-accent: #e67e22;
    --color-text: #222;
    --color-muted: #5f6875;
    --color-border: #dfe4ea;
    --color-bg: #f7f9fc;
    --color-white: #fff;
    --radius: 16px;
    --shadow: 0 8px 28px rgba(20, 40, 70, .08);
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    background: #111;
    color: #fff;
    border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section-head {
    margin-bottom: 30px;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: .95rem;
}

.section-title {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.05rem);
    line-height: 1.35;
}

.section-desc {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 1rem;
}

@media (max-width: 768px) {
    html { font-size: 17px; }

    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .section {
        padding: 52px 0;
    }
}
