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

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --muted: #5E6460;
  --sage: #5F7A61;
  --sage-dark: #4A634D;
  --sage-light: #EEF3EE;
  --border: #E6E4DD;
  --radius: 14px;
  --max-w: 1040px;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Noto Sans KR', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s;
}

.lang-switch a.active {
  background: var(--sage);
  color: #FFFFFF;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-family: 'Playfair Display', 'Noto Serif KR', serif;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111111;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 17px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--sage);
  color: #FFFFFF;
}

.btn-primary:hover { background: var(--sage-dark); }

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--sage); color: var(--sage-dark); }

/* Sections */
section { padding: 56px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.section-header span {
  font-size: 14px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.card-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-dark);
}

/* Legal / Content Page */
.doc-wrap {
  max-width: 760px;
  margin: 56px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}

.doc-wrap h1 { font-size: 28px; margin-bottom: 12px; }
.doc-wrap .updated { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.doc-wrap h2 { font-size: 18px; margin: 28px 0 10px; color: var(--sage-dark); }
.doc-wrap p, .doc-wrap li { font-size: 15px; color: #333; margin-bottom: 12px; }
.doc-wrap ul { padding-left: 20px; }

/* Footer */
footer {
  margin-top: 72px;
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 40px; }
  .doc-wrap { padding: 28px 20px; }
}
