:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --border: #e5e5ea;
  --accent: #2f6df6;
  --radius: 16px;
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --surface: #1a1a1d;
    --text: #f2f2f4;
    --muted: #9a9aa0;
    --border: #2c2c31;
    --accent: #5b8bff;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 20px 96px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

header.site .logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: none;
}

header.site .title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
}

header.site .subtitle {
  color: var(--muted);
  font-size: 13px;
}

h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

h2 {
  font-size: 20px;
  margin: 40px 0 12px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 8px;
}

p, li { font-size: 16px; }

ul { padding-left: 22px; }

li { margin: 6px 0; }

a { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 8px;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th, td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th { background: rgba(127,127,127,0.08); font-weight: 600; }

.note {
  background: rgba(47,109,246,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 15px;
}

.contact {
  margin-top: 12px;
  font-size: 16px;
}

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

footer.site nav a { margin-right: 16px; }

.home-links { display: grid; gap: 12px; margin-top: 24px; }

.home-links a.tile {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .15s ease;
}

.home-links a.tile:hover { border-color: var(--accent); }

.home-links .tile strong { display: block; font-size: 17px; margin-bottom: 4px; }

.home-links .tile span { color: var(--muted); font-size: 14px; }
