:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #1a1a1a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  border-bottom: 1px solid #ececec;
  padding: 18px 0;
}

header.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

header.site-header a.brand {
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  text-decoration: none;
}

header.site-header nav a {
  margin-left: 16px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

header.site-header nav a:first-child {
  margin-left: 0;
}

header.site-header nav a:hover {
  text-decoration: underline;
}

main {
  padding: 48px 0 64px;
}

h1 {
  font-size: 1.7em;
  margin: 0 0 4px;
}

h1 + p.subtitle {
  color: #666;
  font-size: 0.95em;
  margin: 0 0 32px;
}

h2 {
  font-size: 1.2em;
  margin: 2em 0 0.6em;
}

p {
  margin: 0.8em 0;
}

ul {
  padding-left: 1.3em;
}

li {
  margin: 0.4em 0;
}

a {
  color: #0b5fff;
}

.card {
  display: block;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  border-color: #0b5fff;
}

.card h2 {
  margin-top: 0;
  color: #0b5fff;
}

.card p {
  color: #555;
}

.note {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95em;
  color: #444;
}

footer.site-footer {
  border-top: 1px solid #ececec;
  padding: 24px 0 40px;
  color: #888;
  font-size: 13px;
}

footer.site-footer p {
  margin: 0.2em 0;
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  main {
    padding: 36px 0 48px;
  }
}
