:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1c1f26;
  --text-muted: #5a6270;
  --border: #e3e6ea;
  --brand: #1f4fd8;
  --brand-dark: #16379e;
  --danger: #d8342a;
  --warning-bg: #fff4e5;
  --warning-border: #f3c98b;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Segoe UI, Roboto, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; border-radius: 8px; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand span { color: var(--brand); }

.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--brand); text-decoration: none; }

main { max-width: var(--max-width); margin: 0 auto; padding: 36px 20px 60px; }

.container-wide { max-width: 980px; margin: 0 auto; padding: 36px 20px 60px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: #eaf0fe;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

h1 { font-size: 30px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -0.02em; }
h2 { font-size: 23px; margin: 38px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 26px 0 10px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

.meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.meta span + span::before { content: "·"; margin: 0 8px; }

.callout {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
}
.callout strong { color: var(--danger); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
}

.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color .15s, box-shadow .15s;
}
.post-card:hover { border-color: var(--brand); box-shadow: 0 2px 14px rgba(31,79,216,0.08); text-decoration: none; }
.post-card .cat { font-size: 12px; font-weight: 700; color: var(--brand); }
.post-card h3 { margin: 6px 0 6px; font-size: 18px; }
.post-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

.hero {
  text-align: center;
  padding: 54px 20px 40px;
}
.hero h1 { font-size: 34px; }
.hero p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto 6px; }

.section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: 44px 0 16px;
}

table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
th { background: #f1f3f6; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 34px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-inner { max-width: 980px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-disclaimer { max-width: 980px; margin: 18px auto 0; font-size: 13px; color: #8a919c; line-height: 1.6; }

.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.tag { font-size: 12px; background: #eef1f5; color: var(--text-muted); padding: 3px 10px; border-radius: 999px; }

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .hero h1 { font-size: 27px; }
  main, .container-wide { padding: 26px 16px 48px; }
}
