/*
 * Vurai 정적 페이지 공통 스타일.
 * Privacy / Terms / Licenses 페이지 공유.
 *
 * 브랜드 컬러:
 *   - Dark Green : #0F4C3A
 *   - Mint       : #A8E6CF
 *   - Off-White  : #FAFAF8
 */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Pretendard', 'Segoe UI', Roboto, sans-serif;
  background-color: #FAFAF8;
  color: #1F2937;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── 헤더 ── */
header {
  background-color: #0F4C3A;
  color: #fff;
  padding: 20px 0;
  border-bottom: 4px solid #A8E6CF;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #A8E6CF;
}

.brand-tagline {
  font-size: 13px;
  color: #A8E6CF;
  margin-left: 8px;
  font-weight: 500;
}

/* ── 헤더 nav ── */
nav.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.15s;
}

nav.top-nav a:hover,
nav.top-nav a.active {
  opacity: 1;
  color: #A8E6CF;
}

/* ── 메인 ── */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.doc-title {
  font-size: 32px;
  font-weight: 800;
  color: #0F4C3A;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.doc-meta {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

section.doc-section {
  margin-bottom: 32px;
}

section.doc-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: #0F4C3A;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

section.doc-section p {
  font-size: 14.5px;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.75;
}

section.doc-section p.indent {
  padding-left: 16px;
}

/* 강조 — 본문 안 핵심 단어 */
strong {
  color: #0F4C3A;
  font-weight: 700;
}

/* 링크 */
a {
  color: #0F4C3A;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #A8E6CF;
}

/* ── 푸터 ── */
footer {
  border-top: 1px solid #E5E7EB;
  padding: 32px 24px;
  background-color: #fff;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.7;
}

.footer-inner .footer-brand {
  font-weight: 700;
  color: #0F4C3A;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-inner .footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 24px;
  margin-top: 12px;
}

.footer-inner a {
  color: #6B7280;
}

.footer-inner a:hover {
  color: #0F4C3A;
}

/* ── 모바일 ── */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-tagline {
    margin-left: 0;
  }

  nav.top-nav {
    width: 100%;
    gap: 14px;
  }

  main {
    padding: 32px 20px 64px;
  }

  .doc-title {
    font-size: 26px;
  }

  section.doc-section h2 {
    font-size: 16px;
  }

  section.doc-section p {
    font-size: 14px;
  }
}
