@charset "utf-8";

:root {
    --policy-bg: #f6f8fb;
    --policy-card: #ffffff;
    --policy-text: #273142;
    --policy-muted: #687386;
    --policy-line: #dfe5ec;
    --policy-primary: #163f73;
    --policy-primary-soft: #eef5fd;
    --policy-accent: #2d6fb3;
    --policy-radius: 18px;
    --policy-shadow: 0 14px 40px rgba(28, 46, 74, 0.08);
}

* {
    box-sizing: border-box;
}

.policy-page {
    width: 100%;
    padding: 72px 20px 100px;
    background: var(--policy-bg);
    color: var(--policy-text);
    font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    word-break: keep-all;
}

.policy-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.policy-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
    padding: 46px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, #14375f 0%, #1e568b 100%);
    color: #fff;
    box-shadow: var(--policy-shadow);
}

.policy-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.policy-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.policy-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.policy-hero p {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.85);
    font-size: 16px;
    line-height: 1.8;
}

.policy-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.policy-summary > div {
    padding: 18px 20px;
    border: 1px solid var(--policy-line);
    border-radius: 14px;
    background: var(--policy-card);
}

.policy-summary strong {
    display: block;
    margin-bottom: 7px;
    color: var(--policy-primary);
    font-size: 13px;
}

.policy-summary span,
.policy-summary a {
    color: var(--policy-text);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.policy-summary a:hover {
    text-decoration: underline;
}

.policy-content {
    padding: 34px 42px 44px;
    border: 1px solid var(--policy-line);
    border-radius: var(--policy-radius);
    background: var(--policy-card);
    box-shadow: var(--policy-shadow);
}

.policy-content > h1 {
    display: none;
}

.policy-content h2 {
    margin: 42px 0 18px;
    padding: 18px 20px;
    border-left: 5px solid var(--policy-accent);
    border-radius: 10px;
    background: var(--policy-primary-soft);
    color: #173b65;
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: -.025em;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content h3 {
    margin: 28px 0 12px;
    color: #244e7b;
    font-size: 18px;
    line-height: 1.5;
}

.policy-content p {
    margin: 0 0 14px;
    color: var(--policy-text);
    font-size: 15px;
    line-height: 1.85;
}

.policy-content ul,
.policy-content ol {
    margin: 10px 0 18px;
    padding-left: 24px;
}

.policy-content li {
    margin: 7px 0;
    color: var(--policy-text);
    font-size: 15px;
    line-height: 1.75;
}

.policy-content li > ul,
.policy-content li > ol {
    margin-top: 7px;
    margin-bottom: 7px;
}

.policy-content strong {
    color: #14375f;
}

.policy-notice {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #cfe0f1;
    border-radius: 14px;
    background: #f4f9ff;
    color: #274c72;
    font-size: 14px;
    line-height: 1.7;
}

.policy-agree-box {
    margin-top: 28px;
    padding: 22px;
    border: 2px solid #163f73;
    border-radius: 14px;
    background: #f8fbff;
}

.policy-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.policy-check input {
    width: 20px;
    height: 20px;
    accent-color: #163f73;
}

.policy-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.policy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: #163f73;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.policy-btn:hover {
    background: #0f2f55;
    color: #fff;
}

.policy-btn.is-light {
    border: 1px solid var(--policy-line);
    background: #fff;
    color: var(--policy-text);
}

.policy-footer-note {
    margin-top: 20px;
    color: var(--policy-muted);
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 900px) {
    .policy-page {
        padding: 48px 16px 72px;
    }

    .policy-hero {
        padding: 36px 28px;
    }

    .policy-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .policy-content {
        padding: 28px 24px 34px;
    }
}

@media (max-width: 560px) {
    .policy-page {
        padding: 28px 12px 56px;
        word-break: normal;
    }

    .policy-hero {
        margin-bottom: 16px;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .policy-hero h1 {
        font-size: 28px;
    }

    .policy-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .policy-summary {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }

    .policy-summary > div {
        padding: 14px 16px;
    }

    .policy-content {
        padding: 22px 17px 28px;
        border-radius: 14px;
    }

    .policy-content h2 {
        margin: 32px 0 14px;
        padding: 15px 14px;
        font-size: 19px;
    }

    .policy-content h3 {
        font-size: 17px;
    }

    .policy-content p,
    .policy-content li {
        font-size: 14px;
        line-height: 1.75;
    }

    .policy-content ul,
    .policy-content ol {
        padding-left: 20px;
    }

    .policy-actions {
        flex-direction: column;
    }

    .policy-btn {
        width: 100%;
    }
}

@media print {
    .policy-page {
        padding: 0;
        background: #fff;
    }

    .policy-hero {
        padding: 20px 0;
        background: #fff;
        color: #111;
        box-shadow: none;
    }

    .policy-hero::after,
    .policy-eyebrow,
    .policy-actions {
        display: none;
    }

    .policy-hero p {
        color: #444;
    }

    .policy-summary,
    .policy-content {
        box-shadow: none;
    }

    .policy-content {
        padding: 0;
        border: 0;
    }
}
