/* FOOTPRINT 웹 — 앱과 같은 팔레트(src/theme.ts). 공유 페이지, 소개, 개인정보 처리방침이 함께 씁니다. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --canvas: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --ink: #0f172a;
  --ink-soft: #64748b;
  --ink-faint: #94a3b8;
  --brand: #4f46e5;
  --accent: #a855f7;
  --sky: #22d3ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1120;
    --surface: #141c2e;
    --line: #253047;
    --ink: #e2e8f0;
    --ink-soft: #94a3b8;
    --ink-faint: #64748b;
    --brand: #6366f1;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }

header.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
header.brand img { width: 40px; height: 40px; }
header.brand strong { font-size: 20px; font-weight: 800; letter-spacing: 0.04em; }
header.brand span { display: block; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.12em; }

h1 { font-size: 30px; line-height: 1.3; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 18px; margin: 32px 0 8px; }
p, li { color: var(--ink-soft); }

.card { background: var(--surface); border-radius: 18px; padding: 20px; margin-top: 16px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.stat { background: var(--surface); border-radius: 18px; padding: 16px 8px; text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: var(--brand); }
.stat small { color: var(--ink-soft); }

.world svg { width: 100%; height: auto; display: block; }
.world path { fill: var(--line); stroke: var(--surface); stroke-width: 0.6; }
.world path.on { fill: var(--brand); }

ul.countries { list-style: none; padding: 0; margin: 0; }
ul.countries li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
ul.countries li:last-child { border-bottom: 0; }
ul.countries img { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; }
ul.countries span { flex: 1; font-weight: 600; }
ul.countries em { font-style: normal; color: var(--ink-soft); }

.muted { color: var(--ink-faint); font-size: 13px; }
a { color: var(--brand); }
footer { margin-top: 48px; font-size: 13px; color: var(--ink-faint); }
