:root {
  --navy: #183760;
  --ink: #111827;
  --text: #2f4057;
  --muted: #768397;
  --line: #e6eaf0;
  --bg: #f7f8fb;
  --paper: #ffffff;
  --accent: #2f6b4f;
  --bg-subtle:#fbfcfe;
  --navy-shade:#102645;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(234, 220, 200, 0.52), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(197, 217, 232, 0.55), transparent 28%),
    linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
  letter-spacing: -0.03em;
  word-break: keep-all;
  overflow-x: hidden;
}

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

.public-footer .footer-column a.footer-link-item {
  font-weight: 500;
}

.public-footer .footer-column a.footer-link-item[aria-current="page"],
.public-footer .footer-column a.footer-link-item.active-footer-link,
.public-footer .footer-column a.footer-link-item.footer-emphasis {
  color: var(--ink);
  font-weight: 700;
}

.wrap {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
}

header {
  padding: max(24px, env(safe-area-inset-top)) 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(24, 55, 96, 0.18);
}

main {
  padding: 18px 0 70px;
}

.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 46px);
  box-shadow: 0 24px 70px rgba(24, 55, 96, 0.10);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.07em;
  color: var(--navy);
}

.card h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.34;
  letter-spacing: -0.055em;
  color: var(--navy-shade);
}

.card p,
.card li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

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

.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef6ff;
  color: #243b57;
  border: 1px solid #dcefff;
}

.privacy-changes-summary,
.privacy-toc {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffaf1;
}

.privacy-changes-summary strong,
.privacy-toc strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.privacy-changes-summary ul {
  margin-top: 8px;
}

.privacy-toc {
  background: #f4f8f6;
}

.privacy-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.privacy-toc li {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.privacy-toc a {
  color: #244b7c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.email {
  display: inline-flex;
  margin-top: 2px;
  padding: 10px 13px;
  border-radius: 13px;
  background: #f2f7f4;
  color: var(--accent);
  font-weight: 900;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(24, 55, 96, 0.20);
}

.public-footer {
  padding: 28px 0 calc(42px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}


@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 820px);
  }

  header {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  main {
    padding-top: 8px;
  }

  .card {
    border-radius: 22px;
    padding: 24px 20px 28px;
  }

  h1 {
    font-size: 34px;
  }

  .card h2 {
    margin-top: 30px;
    font-size: 20px;
  }

  .card p,
  .card li {
    font-size: 15.5px;
    line-height: 1.76;
  }

  .back {
    width: 100%;
  }

  .privacy-toc ol {
    grid-template-columns: 1fr;
  }
}

.delegation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 0;
}
.delegation-table th,
.delegation-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  line-height: 1.55;
}
.delegation-table th {
  background: var(--bg);
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
}
.delegation-table td:first-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 600px) {
  .delegation-table,
  .delegation-table thead,
  .delegation-table tbody,
  .delegation-table tr,
  .delegation-table th,
  .delegation-table td {
    display: block;
    width: 100%;
  }

  .delegation-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .delegation-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .delegation-table tr {
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
  }

  .delegation-table td {
    display: grid;
    grid-template-columns: minmax(92px, 34%) 1fr;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .delegation-table td:last-child {
    border-bottom: 0;
  }

  .delegation-table td:first-child {
    white-space: normal;
  }

  .delegation-table td::before {
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.5;
  }

  .delegation-table--outsourcing td:nth-child(1)::before { content: "수탁자"; }
  .delegation-table--outsourcing td:nth-child(2)::before { content: "위탁 업무"; }
  .delegation-table--outsourcing td:nth-child(3)::before { content: "보유 기간"; }

  .delegation-table--transfer td:nth-child(1)::before { content: "이전받는 자"; }
  .delegation-table--transfer td:nth-child(2)::before { content: "이전 국가"; }
  .delegation-table--transfer td:nth-child(3)::before { content: "이전 항목"; }
  .delegation-table--transfer td:nth-child(4)::before { content: "이전 목적"; }
  .delegation-table--transfer td:nth-child(5)::before { content: "보유 기간"; }

  .delegation-table--cookies td:nth-child(1)::before { content: "쿠키 유형"; }
  .delegation-table--cookies td:nth-child(2)::before { content: "수집 항목"; }
  .delegation-table--cookies td:nth-child(3)::before { content: "사용 목적"; }
  .delegation-table--cookies td:nth-child(4)::before { content: "보유 기간"; }
}
