/* Newnal ID public pages — terms, privacy, support. Served from https://newnal.com/newnal-id/. */
:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #60a5fa;
  --accent-deep: #1e3a8a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --fg: #e5e7eb;
    --muted: #94a3b8;
    --line: #1f2937;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR",
    "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
header {
  border-bottom: 1px solid var(--line);
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
}
/* The logo is the Newnal wordmark; "ID" is set beside it in text at the same visual height. */
.brand img { height: 22px; width: auto; display: block; }
.brand span { font-size: 22px; line-height: 1; font-weight: 700; color: var(--accent-deep); letter-spacing: 0.02em; }
@media (prefers-color-scheme: dark) { .brand span { color: var(--accent); } }
nav { display: flex; gap: 18px; padding-bottom: 14px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
main { padding: 32px 0 64px; }
h1 { font-size: 28px; line-height: 1.3; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 10px; }
h3 { font-size: 16px; margin: 24px 0 6px; }
p, li { color: var(--fg); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.note {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 12px 16px;
  border-radius: 6px;
  margin: 20px 0;
}
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
a { color: var(--accent-deep); }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0 40px;
}
