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

html {
  color-scheme: light;
  font-family: var(--font-family-sans);
  line-height: var(--line-height-body);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height-scrolled) + var(--space-4));
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--color-charcoal);
  background: var(--color-white);
  text-rendering: optimizeLegibility;
}

body.has-open-menu {
  overflow: hidden;
}

a {
  color: inherit;
}

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

html[lang="ko"] h1,
html[lang="ko"] h2 {
  word-break: keep-all;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button:focus-visible,
a:focus-visible {
  outline: 0.1875rem solid var(--color-focus);
  outline-offset: 0.1875rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--color-navy-900);
  border-radius: var(--radius-small);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}
