:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-muted: #edf4f4;
  --text: #142325;
  --muted: #5b6b6f;
  --border: #d7e2e4;
  --accent: #247c74;
  --accent-deep: #165c58;
  --accent-soft: #e3f1ef;
  --shadow: 0 18px 45px rgba(17, 48, 52, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0f4845;
}

.wrap {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.effective-date {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.policy {
  margin: 42px 0 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  padding: 52px clamp(22px, 5vw, 64px) 42px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7f7 100%);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.35;
}

h1 {
  max-width: 760px;
  font-size: 44px;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  color: #102d31;
  font-size: 25px;
  font-weight: 800;
}

h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 18px;
  font-weight: 800;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 28px 0 0;
}

.summary-list div {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.summary-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-list dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.policy-section {
  padding: 38px clamp(22px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.policy-section:first-of-type {
  border-top: 0;
}

.policy-section p {
  margin: 12px 0;
}

ul,
ol {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 7px;
}

.korean-list {
  list-style: none;
  counter-reset: korean-counter;
  padding-left: 0;
}

.korean-list li {
  counter-increment: korean-counter;
  position: relative;
  padding-left: 2rem;
}

.korean-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-weight: 800;
}

.korean-list li:nth-child(1)::before {
  content: "가.";
}

.korean-list li:nth-child(2)::before {
  content: "나.";
}

.korean-list li:nth-child(3)::before {
  content: "다.";
}

.korean-list li:nth-child(4)::before {
  content: "라.";
}

.note {
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.table-wrap {
  width: 100%;
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-muted);
  color: #143d42;
  font-weight: 800;
}

tbody th {
  width: 28%;
  color: #1d393d;
  font-weight: 800;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .wrap {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    position: static;
  }

  .header-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .effective-date {
    white-space: normal;
  }

  .policy {
    margin-top: 24px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

  .summary-list {
    grid-template-columns: 1fr;
  }

  .policy-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  table {
    min-width: 660px;
  }

  th,
  td {
    padding: 13px 14px;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .site-header {
    position: static;
  }

  .policy {
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .hero,
  .policy-section {
    padding-left: 0;
    padding-right: 0;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
  }
}
