/* 리셋 · 기본 타이포 · 페이지 배경 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background: var(--color-bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 20% -20%, var(--bg-blob-1), transparent 50%),
    radial-gradient(ellipse 100% 60% at 100% 50%, var(--bg-blob-2), transparent 45%),
    radial-gradient(ellipse 80% 50% at 0% 100%, var(--bg-blob-3), transparent 40%);
  background-attachment: fixed;
  transition: background-color 0.35s var(--ease-out), color 0.25s var(--ease-out);
}

img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-text-primary);
}

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
