/* ============================================================
   Dear TOPIK — Landing Reset
   * 최소 reset (modern-normalize 발췌 + 프로젝트 톤)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss06', 'cv11';
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--fw-eb); color: var(--c-ink); letter-spacing: -0.022em; }

ul, ol { list-style: none; padding: 0; margin: 0; }

img, svg, video, canvas, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-navy);
  color: #fff;
}

/* 페이지 진입 시 깜빡임 방지 */
html.no-fouc body { opacity: 0; }
html body { opacity: 1; transition: opacity 200ms ease; }

/* 스크롤바 (Webkit) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb {
  background: rgba(15,17,22,0.18);
  border-radius: 99px;
  border: 3px solid var(--c-bg);
}
::-webkit-scrollbar-track { background: transparent; }
