@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/GowunBatang-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/GowunBatang-Bold.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #4b4b4b;
  --link: #0645ad;
  --link-hover: #032f7a;
  --page-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Gowun Batang", Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.62;
}

.page {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 72px auto 96px;
  transform: translateX(150px);
}

.intro {
  margin-bottom: 36px;
}

h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  margin: 40px 0 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  margin: 0 0 8px;
}

.simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.simple-list li {
  margin: 12px 0;
}

.item-note {
  display: block;
  margin-top: 1px;
  color: #777777;
  font-size: calc(1em - 3px);
  font-style: italic;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--link-hover);
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 7px;
  margin-top: 54px;
  align-items: baseline;
}

.inactive-link {
  color: var(--muted);
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  .page {
    width: calc(100% - 32px);
    margin-top: 48px;
    margin-bottom: 72px;
  }

  h1 {
    font-size: 25px;
  }
}
