:root {
  color: #14202b;
  background: #eef6fa;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #eef6fa;
}

body {
  margin: 0;
  background: #eef6fa;
}

a {
  color: #185b9c;
  text-underline-offset: 3px;
}

.legal-header {
  border-bottom: 1px solid #dbe5eb;
  background: #ffffff;
}

.legal-header-inner,
.legal-main,
.legal-footer-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  color: #14202b;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.legal-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.legal-main {
  padding: 72px 0 88px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: #2966a3;
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 1.25;
}

.legal-meta {
  margin-bottom: 48px;
  color: #65737e;
  font-size: 14px;
}

.legal-summary {
  margin-bottom: 48px;
  border-left: 4px solid #2b6bab;
  padding: 18px 22px;
  background: #ffffff;
}

.legal-summary p:last-child {
  margin-bottom: 0;
}

section {
  margin-top: 46px;
}

h2 {
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.4;
}

h3 {
  margin: 26px 0 10px;
  font-size: 17px;
}

p,
li,
td,
th {
  font-size: 15px;
}

ul,
ol {
  padding-left: 22px;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d9e3e9;
  background: #ffffff;
}

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

th,
td {
  border-bottom: 1px solid #e4ebef;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6f9fb;
  color: #3f4d58;
  font-size: 13px;
}

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

.note {
  color: #5f6d78;
  font-size: 13px;
}

.contact {
  border: 1px solid #d9e3e9;
  padding: 20px;
  background: #ffffff;
}

.contact p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  border-top: 1px solid #dbe5eb;
  background: #ffffff;
}

.legal-footer-inner {
  padding: 28px 0;
  color: #6c7983;
  font-size: 13px;
}

@media (max-width: 640px) {
  .legal-header-inner,
  .legal-main,
  .legal-footer-inner {
    width: min(100% - 28px, 920px);
  }

  .legal-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .legal-nav {
    width: 100%;
    justify-content: space-between;
  }

  .legal-main {
    padding: 48px 0 64px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 21px;
  }
}
