/* 이용약관 · 개인정보 처리방침 (Figma 레퍼런스) */

.policy-legal {
    min-height: 100vh;
    background: #ffffff;
    color: rgba(13, 28, 45, 0.8);
    font-family: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.policy-legal__shell {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* 상단: 로고 + 브랜드 (높이 72px 영역, 중앙 정렬) */
.policy-legal__top {
    flex-shrink: 0;
}

.policy-legal__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    padding: 16px 0;
    background: #ffffff;
}

.policy-legal__brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.policy-legal__brand:hover .policy-legal__brand-name {
    opacity: 0.85;
}

.policy-legal__logo-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f4f7;
}

.policy-legal__logo {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.policy-legal__brand-name {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: rgba(13, 28, 45, 0.8);
}

/* 페이지 제목 */
.policy-legal__content {
    width: 100%;
}

.policy-legal__title {
    margin: 0;
    padding: 16px 0 8px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: rgba(13, 28, 45, 0.8);
    text-align: left;
}

/* 회색 패널 */
.policy-legal__panel {
    margin-top: 0;
    background: #f2f4f7;
    border-radius: 16px;
    padding: 16px 0 32px;
}

.policy-legal__panel-body {
    max-width: 100%;
    padding: 16px 16px 0;
    box-sizing: border-box;
}

.policy-legal__lead {
    margin: 0 0 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.8);
}

.policy-legal__lead:last-child {
    margin-bottom: 0;
}

/* 본문 리스트 */
.policy-legal__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-legal__list > li {
    margin-bottom: 24px;
}

.policy-legal__list > li:last-child {
    margin-bottom: 0;
}

.policy-legal__list h4 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.8);
}

.policy-legal__list h5 {
    margin: 12px 0 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.8);
}

.policy-legal__list p {
    margin: 0 0 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.8);
}

.policy-legal__list p:last-child {
    margin-bottom: 0;
}

.policy-legal__sub-list,
.policy-legal__num-list {
    margin: 8px 0 12px;
    padding-left: 1.25em;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.8);
}

.policy-legal__sub-list {
    list-style: disc;
}

.policy-legal__num-list {
    list-style: decimal;
}

.policy-legal__sub-list li,
.policy-legal__num-list li {
    margin-bottom: 6px;
}

.policy-legal__sub-list li:last-child,
.policy-legal__num-list li:last-child {
    margin-bottom: 0;
}

.policy-legal__notice {
    margin-top: 12px;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(13, 28, 45, 0.5);
}

.policy-legal__num-list .policy-legal__sub-list {
    margin-top: 8px;
}
