@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
  src: url("/legal/fonts/PretendardVariable-v1.3.9.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-synthesis: none;
  color: #333d4b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.policy-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 26px 112px;
}

.policy-header h1 {
  margin: 0;
  color: #191f28;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.policy-metadata {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 24px;
}

.policy-date,
.policy-language {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
}

.policy-date {
  flex: 1;
}

.policy-language {
  width: 140px;
}

.policy-content {
  margin-top: 32px;
  outline: none;
}

.policy-content p {
  margin: 0 0 20px;
}

.policy-content h2 {
  margin: 48px 0 18px;
  color: #191f28;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.policy-content h3 {
  margin: 30px 0 12px;
  color: #333d4b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.policy-content ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content a {
  color: #0064d9;
  text-decoration: underline;
  text-decoration-color: #b5c8e1;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  text-decoration-color: currentColor;
}

.policy-content strong {
  font-weight: 600;
}

.table-wrap {
  width: 100%;
  margin: 0 0 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

th,
td {
  padding: 14px 16px;
  border: 1px solid #e5e8eb;
  vertical-align: top;
}

th {
  color: #333d4b;
  background: #f9fafb;
  font-weight: 600;
}

td:first-child {
  min-width: 150px;
}

th:first-child {
  min-width: 150px;
}

:focus-visible {
  outline: 2px solid #0064d9;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 6px;
  color: #fff;
  background: #191f28;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .policy-page {
    padding: 40px 24px 80px;
  }

  .policy-header h1 {
    font-size: 27px;
    line-height: 1.45;
  }

  .policy-metadata {
    gap: 10px;
    margin-top: 24px;
    font-size: 14px;
  }

  .policy-language {
    width: 104px;
  }

  .policy-content h2 {
    margin-top: 40px;
    font-size: 21px;
  }

  table {
    min-width: 680px;
    font-size: 14px;
  }

  table:has(th:nth-child(2):last-child) {
    min-width: 500px;
  }

  .policy-content > .table-wrap:first-of-type table:has(th:nth-child(2):last-child) {
    min-width: 0;
    table-layout: fixed;
  }

  .policy-content > .table-wrap:first-of-type table:has(th:nth-child(2):last-child) th:first-child,
  .policy-content > .table-wrap:first-of-type table:has(th:nth-child(2):last-child) td:first-child {
    width: 43%;
    min-width: 0;
  }

  th,
  td {
    padding: 12px;
  }
}

@media print {
  .policy-page {
    max-width: none;
    padding: 0;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    min-width: 0;
  }
}
