@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
    --color-primary: #173b60;
    --color-primary-dark: #102c48;
    --color-accent: #168a86;

    --color-text: #243447;
    --color-muted: #6b7785;
    --color-background: #f4f6f8;
    --color-surface: #ffffff;
    --color-heading-background: #f1f4f7;

    --color-border: #d9e0e7;
    --color-border-light: #edf0f3;

    --container-width: 1280px;
    --sidebar-left-width: 210px;
    --sidebar-right-width: 230px;
    --layout-gap: 16px;

    --radius-sm: 4px;
    --radius-md: 6px;

    --font-primary: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: var(--font-primary);
    font-size: 15.4px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-background);
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    line-height: 1.4;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

::selection {
    background: #d4e9ef;
    color: var(--color-primary-dark);
}