﻿* {
    box-sizing: border-box;
    font-family: 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #1f2937;
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.policy-page {
    min-height: 100vh;
    padding: 24px;
}

.policy-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.policy-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.top-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.top-link {
    background: #ffffff;
    color: #374151;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

    .top-link.active,
    .top-link:hover {
        background: #111827;
        color: #fff;
    }

.policy-header {
    background: linear-gradient(135deg, #111827, #0f172a);
    color: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    margin-bottom: 20px;
}

.policy-badge {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.policy-header h1 {
    margin: 0 0 10px 0;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
}

.policy-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    font-size: 15px;
}

.policy-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.policy-section {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef2f7;
}

    .policy-section:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .policy-section h2 {
        margin: 0 0 12px 0;
        font-size: 22px;
        font-weight: 900;
        color: #111827;
    }

    .policy-section p {
        margin: 0;
        line-height: 1.8;
        color: #374151;
        font-size: 15px;
    }

    .policy-section ul {
        margin: 10px 0 0 18px;
        padding: 0;
        color: #374151;
    }

    .policy-section li {
        margin-bottom: 8px;
        line-height: 1.8;
        font-size: 15px;
    }

.policy-bottom {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.22);
}

.btn-light {
    background: #f3f4f6;
    color: #111827;
}

@media screen and (max-width: 768px) {
    .policy-page {
        padding: 14px;
    }

    .policy-header,
    .policy-card {
        border-radius: 20px;
        padding: 22px;
    }

        .policy-header h1 {
            font-size: 28px;
        }

    .policy-section h2 {
        font-size: 19px;
    }

    .logo-img {
        height: 48px;
        max-width: 160px;
    }

    .policy-bottom {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .policy-page {
        padding: 10px;
    }

    .policy-top {
        align-items: flex-start;
    }

    .top-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .top-link {
        text-align: center;
        padding: 10px 8px;
        font-size: 13px;
    }

    .policy-header,
    .policy-card {
        padding: 18px;
        border-radius: 18px;
    }

        .policy-header h1 {
            font-size: 24px;
        }

        .policy-header p,
        .policy-section p,
        .policy-section li {
            font-size: 14px;
        }

    .policy-section h2 {
        font-size: 17px;
    }
}
