/* reset.css — 초기화 + 폰트 */

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

html, body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ol, ul,
fieldset, legend {
  margin: 0;
  padding: 0;
}

ol, ul { list-style: none; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
}

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

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

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

button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--heading);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  font-variant-numeric: tabular-nums;
  text-align: left;
}

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
