:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #191919;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  background: #ffffff;
}

main {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 0 80px;
}

header {
  margin-bottom: clamp(44px, 7vw, 64px);
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 3.9rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.13;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.prose {
  font-family: Georgia, "Nanum Myeongjo", "Batang", serif;
  font-size: clamp(1.08rem, 2.6vw, 1.2rem);
  line-height: 2;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.prose p {
  margin: 0 0 1.7em;
}

footer {
  margin-top: clamp(56px, 9vw, 88px);
  padding-top: 30px;
  border-top: 1px solid #dedede;
}

h2 {
  margin: 0 0 18px;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

ol {
  margin: 0;
  padding-left: 1.4rem;
  color: #555555;
  font-size: 0.84rem;
  line-height: 1.75;
}

li + li {
  margin-top: 7px;
}

a {
  color: inherit;
  text-decoration-color: #aaaaaa;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: #000000;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid #222222;
  outline-offset: 4px;
  border-radius: 1px;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 32px, 720px);
    padding-top: 48px;
  }

  h1 br {
    display: none;
  }

  .prose {
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
