/* ==========================================================================
   reset.css  v2.0
   ========================================================================== */

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

/* 기본 margin 제거 */
* {
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Root
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
  font-size: 104%
}

/* --------------------------------------------------------------------------
   Body
   -------------------------------------------------------------------------- */
body {
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
  word-break: keep-all;
}

/* --------------------------------------------------------------------------
   Text elements
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
dl, dd {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

strong, b {
  font-weight: inherit;
}

em, i {
  font-style: inherit;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
ul, ol, menu {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* --------------------------------------------------------------------------
   Form elements
   -------------------------------------------------------------------------- */
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  outline: none;
  appearance: none;
}

textarea {
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 0;
}

/* --------------------------------------------------------------------------
   Code
   -------------------------------------------------------------------------- */
pre, code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
hr {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.15;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Scrollbar (Webkit)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
