/* ============================================================
   GW2 입문 가이드 — Base / Reset
   base.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--text-body);
  background: var(--bg-canvas);
  min-width: 1280px;
  -webkit-font-smoothing: antialiased;
}

/* ── 타이포 기본값 ─────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 { font-size: var(--text-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--text-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--text-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--text-h4); line-height: var(--lh-h4); }

p { line-height: var(--lh-base); }

a {
  color: var(--state-info);
  text-decoration: none;
  transition: color var(--ease-default);
}
a:hover { color: var(--bronze); }

img { display: block; max-width: 100%; }

ul, ol { list-style: none; }

button {
  font-family: var(--ff-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 레이아웃 유틸 ─────────────────────────── */
.container {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 var(--sp-12);
}

.container--wide {
  max-width: var(--w-shell);
  margin: 0 auto;
  padding: 0 var(--sp-12);
}

/* ── 섹션 공통 간격 ─────────────────────────── */
.section {
  padding: var(--sp-20) var(--sp-12);
}

.section__eyebrow {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--bronze);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.section__eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}

.section__title {
  font-family: var(--ff-head);
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  color: var(--deep);
  letter-spacing: -0.03em;
}
.section__title span { color: var(--bronze); }

/* ── 스크린리더 전용 ─────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
