/* /about와 /privacy가 함께 쓰는 스타일. 작게 꾸준히(dailydose) 사이트와 같은 틀이다. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #3b55a8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #8fa6ee;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  main {
    padding: 32px;
  }
}

header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

section,
.group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

strong {
  font-weight: 600;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
}

.muted {
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.lang {
  font-size: 13px;
  color: var(--text-muted);
}
