:root {
  --ink: #17201d;
  --muted: #5d6864;
  --line: #dce4df;
  --surface: #f4f7f5;
  --primary: #176b50;
  --accent: #b7e9ce;
  --white: #fff;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(220, 228, 223, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--primary); }

.hero,
.section,
.policy {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 80px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.08;
  letter-spacing: -.055em;
  overflow-wrap: break-word;
}

.lead {
  max-width: 760px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.notice {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  max-width: 900px;
  padding: 22px 24px;
  border: 1px solid #cde3d7;
  border-radius: 14px;
  background: #f0f8f4;
  font-size: 14px;
}

.notice span { color: var(--muted); }

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

h2 {
  max-width: 760px;
  margin-bottom: 48px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -.04em;
  overflow-wrap: break-word;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card-number { color: var(--primary); font-size: 12px; font-weight: 800; }
.card h3 { margin: 52px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.card p { color: var(--muted); font-size: 15px; }

.data-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.principles { margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--muted); }

.contact { padding-bottom: 130px; }
.contact h2 { margin-bottom: 16px; }
.contact p { color: var(--muted); }
.email { color: var(--primary); font-size: clamp(22px, 3vw, 32px); font-weight: 700; text-underline-offset: 5px; }

.policy {
  max-width: 820px;
  padding: 100px 0 130px;
}

.policy h1 { margin-bottom: 10px; font-size: clamp(42px, 6vw, 64px); }
.updated { margin-bottom: 64px; color: var(--muted); font-size: 14px; }
.policy > p:not(.eyebrow):not(.updated) { margin-bottom: 56px; font-size: 18px; }
.policy section { padding: 34px 0; border-top: 1px solid var(--line); }
.policy section h2 { margin-bottom: 16px; font-size: 24px; }
.policy section p, .policy section li { color: #46504c; }
.policy section a { color: var(--primary); text-underline-offset: 3px; }
.policy li + li { margin-top: 10px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  color: #dce7e2;
  background: #15251f;
  font-size: 14px;
}

footer p { margin: 0; }
footer div { display: flex; gap: 24px; }
footer a { text-underline-offset: 4px; }

@media (max-width: 820px) {
  .site-header { min-height: 64px; }
  nav { gap: 16px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; padding: 100px 0 72px; }
  .notice, .data-section { grid-template-columns: 1fr; }
  .notice { gap: 8px; }
  .section { padding: 76px 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .data-section { gap: 10px; }
  .principles li { grid-template-columns: 120px 1fr; }
  .policy { padding: 72px 0 100px; }
}

@media (max-width: 520px) {
  body { word-break: normal; }
  .site-header { padding-inline: 16px; }
  nav a { font-size: 12px; }
  .hero, .section, .policy { width: min(calc(100% - 32px), var(--max)); }
  h1 { font-size: 38px; word-break: normal; }
  h2 { font-size: 30px; word-break: normal; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 210px; }
  .card h3 { margin-top: 34px; }
  .principles li { grid-template-columns: 1fr; gap: 4px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
