:root {
  --surface: #ffffff;
  --text: #191f28;
  --primary: #5b3cc4;
  --sub: #5a6172;
  --line: #e8e9ef;
}

* { box-sizing: border-box; }
:lang(ko) { word-break: keep-all; }

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

nav { display: flex; flex-wrap: wrap; gap: 16px; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
h1 { font-size: 1.75rem; line-height: 1.4; }
h2 { font-size: 1.25rem; line-height: 1.5; }
p { white-space: pre-wrap; }
li + li { margin-top: 12px; }
section { margin-top: 32px; }

/* Same logo header and footer as the home page (home.css). */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.site-header img { display: block; height: 17px; width: auto; }
.site-footer { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); color: var(--sub); font-size: 0.875rem; }
.site-footer img { display: block; width: 64px; height: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--text); }
