/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea { font: inherit; }

/* ---------- Font ---------- */
@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pretendard/Pretendard-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/pretendard/Pretendard-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/pretendard/Pretendard-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/pretendard/Pretendard-Bold.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --color-primary: #124e8c;
  --color-primary-dark: #0c3a68;
  --color-text: #333333;
  --color-text-strong: #000032;
  --color-text-muted: #616161;
  --color-border: #eeeeee;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-dark: #211d1b;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
  --radius: 6px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-text-strong);
  letter-spacing: -0.02em;
}

.visually-hidden-frame {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
}
