/* Keepin public pages (privacy, terms, support). Plain CSS: no fonts, scripts or trackers. */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #5b6660;
  --line: #e2e4df;
  --accent: #2f6b55;
  --accent-text: #ffffff;
  --note: #eef4f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614;
    --surface: #1a201d;
    --text: #e8ece9;
    --muted: #a3ada7;
    --line: #2c3430;
    --accent: #7cc4a6;
    --accent-text: #0f1a15;
    --note: #1f2a25;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 1; }

header.site, footer.site, main {
  max-width: 46rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand small { font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-left: 6px; }

nav.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; font-size: 0.95rem; }
nav.site a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }

main { padding-top: 8px; padding-bottom: 40px; }

h1 { font-size: 1.75rem; line-height: 1.3; margin: 1.2em 0 0.2em; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; line-height: 1.4; margin: 2em 0 0.5em; padding-top: 0.6em; border-top: 1px solid var(--line); }
h3 { font-size: 1.02rem; margin: 1.4em 0 0.4em; }
p, ul, ol { margin: 0.6em 0; }
li { margin: 0.25em 0; }

.updated { color: var(--muted); font-size: 0.9rem; margin-top: 0; }

.summary {
  background: var(--note);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 1.2em 0;
}
.summary p:first-child { margin-top: 0; }
.summary ul { padding-left: 1.2em; margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0.8em 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { font-weight: 600; }

dl.faq dt { font-weight: 600; margin-top: 1.1em; }
dl.faq dd { margin: 0.3em 0 0; }

.path { font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 12px; margin: 1em 0; padding: 0; list-style: none; }
.cards li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.cards h2 { border-top: 0; padding-top: 0; margin: 0 0 0.3em; font-size: 1.1rem; }
.cards ul { list-style: none; padding: 0; margin: 0; }

.tagline { font-size: 1.15rem; color: var(--muted); margin-top: 0; }

footer.site {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.88rem;
}
footer.site p { margin: 0.2em 0; }
