/* ========================================
   ROOT
======================================== */

:root {
  --color-background: #ffffff;
  --color-surface: #f5f5f5;

  --color-text: #171717;
  --color-text-muted: #777777;

  --color-line: #dddddd;
  --color-accent: #171717;

  --font-sans:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --content-width: 1200px;
  --header-height: 72px;

  --space-section: 120px;
}


/* ========================================
   RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;

  background: var(--color-background);
  color: var(--color-text);

  font-family: var(--font-sans);
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}


/* ========================================
   ACCESSIBILITY
======================================== */

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* ========================================
   SELECTION
======================================== */

::selection {
  background: var(--color-text);
  color: var(--color-background);
}
