@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-ExtraBold.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}
body {
  margin: 0;
  background: #fff;
}
.policy-page,
.policy-page * {
  box-sizing: border-box;
}
.policy-page {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.policy-page .brand-logo {
  width: 96px;
  height: auto;
}
.policy-page .page-footer {
  padding: 24px;
  color: #999;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
}
.policy-page a:focus-visible {
  outline: 3px solid #5d8ff4;
  outline-offset: 3px;
}
.policy-weight-500 {
  font-weight: 500;
}
.policy-weight-600 {
  font-weight: 600;
}
.policy-weight-700 {
  font-weight: 700;
}
.policy-list-alpha {
  list-style-type: lower-alpha;
}
.policy-page {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 24px;
  color: #292929;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.policy-header {
  padding: 28px 0;
  border-bottom: 1px solid #e5e5e5;
}
.policy-header a {
  display: inline-flex;
}
.policy-links {
  display: grid;
  gap: 16px;
}
.policy-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}
.policy-links a:hover {
  background: #f6f7f8;
}
.policy-links:dir(rtl) span {
  transform: rotate(180deg);
}
.policy-page main {
  padding: 40px 0;
}
.policy-page h1 {
  margin: 0 0 32px;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.4;
}
.policy-page h2 {
  margin: 48px 0 16px;
  font-size: 22px;
  line-height: 1.5;
  scroll-margin-top: 24px;
}
.policy-page h3 {
  margin: 28px 0 12px;
  font-size: 18px;
}
.policy-page a {
  color: inherit;
  text-underline-offset: 4px;
}
.policy-toc {
  padding: 24px;
  border-radius: 12px;
  background: #f6f7f8;
}
.policy-toc h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.policy-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.policy-document p {
  margin: 16px 0;
  white-space: pre-line;
}
.policy-document ul,
.policy-document ol {
  padding-inline-start: 24px;
}
.policy-document li {
  margin: 10px 0;
  white-space: pre-line;
}
.policy-table {
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.policy-table:focus-visible {
  outline: 3px solid #5d8ff4;
  outline-offset: 3px;
}
.policy-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}
.policy-table th,
.policy-table td {
  padding: 16px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
  white-space: pre-line;
}
.policy-table th {
  background: #f6f7f8;
  font-weight: 600;
}
.policy-table th:first-child {
  width: 24%;
}
.policy-table tr:last-child td {
  border-bottom: 0;
}
.policy-back-top {
  display: inline-block;
  margin-top: 32px;
}
.policy-page .page-footer {
  border-top: 1px solid #e5e5e5;
}
@media (max-width: 600px) {
  .policy-page {
    padding: 0 20px;
    font-size: 15px;
  }
  .policy-page main {
    padding-top: 28px;
  }
  .policy-page main:has(.policy-links) {
    padding-bottom: 28px;
  }
  .policy-toc {
    padding: 20px;
  }
  .policy-toc ul {
    grid-template-columns: 1fr;
  }
  .policy-page h2 {
    font-size: 20px;
  }
  .policy-table th,
  .policy-table td {
    padding: 12px 8px;
    overflow-wrap: anywhere;
  }
  .policy-table th:first-child {
    width: 28%;
  }
  .policy-links a {
    min-width: 0;
    padding: 20px 16px;
    gap: 12px;
  }
  .policy-links a > span {
    flex-shrink: 0;
  }
}
@media print {
  .policy-page {
    width: 100%;
    padding: 0;
    font-size: 11pt;
  }
  .policy-toc,
  .policy-back-top {
    display: none;
  }
  .policy-page h2,
  .policy-page h3 {
    break-after: avoid;
  }
  .policy-table tr {
    break-inside: avoid;
  }
}
