@charset "utf-8";

body.policy-page {
    margin: 0;
    padding: 0;
    background: #eef2f7;
    color: #2e2e2e;
    font-family: 'NotoSansKR', 'Malgun Gothic', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: -0.2px;
}

.policy-wrap {
    max-width: 760px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    box-shadow: 0 8px 32px rgba(27, 42, 64, 0.08);
}

.policy-header {
    position: relative;
    padding: 28px 32px 24px;
    background: linear-gradient(135deg, #003377 0%, #1b2a40 100%);
    color: #fff;
}

.policy-header h1 {
    margin: 0 0 6px;
    font-family: 'GmarketSansBold', 'NotoSansKR', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.policy-header .policy-brand {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

.policy-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.policy-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.policy-body {
    padding: 28px 32px 36px;
}

.policy-intro {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #f4f8fc;
    border-left: 4px solid #41adf1;
    border-radius: 0 8px 8px 0;
}

.policy-intro p {
    margin: 0;
    color: #3a4a5c;
}

.policy-toc {
    margin-bottom: 28px;
    padding: 20px 22px;
    background: #fafbfd;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.policy-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 24px;
}

.policy-toc li {
    margin: 0 0 8px;
    break-inside: avoid;
}

.policy-toc a {
    color: #003377;
    text-decoration: none;
    font-weight: 500;
}

.policy-toc a:hover {
    color: #41adf1;
    text-decoration: underline;
}

.policy-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #edf1f5;
}

.policy-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    margin: 0 0 14px;
    font-family: 'GmarketSansBold', 'NotoSansKR', sans-serif;
    font-size: 17px;
    color: #003377;
    letter-spacing: -0.3px;
}

.policy-section h3 {
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1b2a40;
}

.policy-section p {
    margin: 0 0 10px;
}

.policy-section ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.policy-section li {
    margin-bottom: 6px;
}

.policy-note {
    padding: 10px 12px;
    background: #fff9e8;
    border-radius: 6px;
    font-size: 13px;
    color: #6b5a2a;
}

.policy-contact {
    margin: 12px 0 16px;
    padding: 16px 18px;
    background: #f7f9fc;
    border-radius: 8px;
}

.policy-contact dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px 12px;
    margin: 0;
}

.policy-contact dt {
    font-weight: 700;
    color: #003377;
}

.policy-contact dd {
    margin: 0;
}

.policy-dates li {
    font-weight: 500;
    color: #1b2a40;
}

.policy-footer {
    padding: 16px 32px 24px;
    text-align: center;
    font-size: 12px;
    color: #7a8494;
    background: #fafbfd;
    border-top: 1px solid #edf1f5;
}

/* 모바일 전체 페이지 */
body.policy-page--mobile .policy-wrap {
    max-width: none;
    min-height: auto;
    box-shadow: none;
}

body.policy-page--mobile .policy-header {
    padding: 22px 18px 18px;
}

body.policy-page--mobile .policy-header h1 {
    font-size: 20px;
    padding-right: 70px;
}

body.policy-page--mobile .policy-body {
    padding: 20px 16px 28px;
}

body.policy-page--mobile .policy-toc ol {
    columns: 1;
}

body.policy-page--mobile .policy-close {
    display: none;
}

@media (max-width: 640px) {
    .policy-toc ol {
        columns: 1;
    }

    .policy-header,
    .policy-body,
    .policy-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .policy-header h1 {
        font-size: 20px;
        padding-right: 70px;
    }
}
