@charset "utf-8";

/* ==========================================================================
   약관 · 규정 (/policy/*)   — 모바일 우선
   ========================================================================== */

.page-policy { max-width: 820px; }

/* 머리말 ------------------------------------------------------------------ */

.pol-head {
    padding: 40px 0 28px;
    border-bottom: 1px solid var(--color-line);
}

.pol-head__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--color-muted);
}

.pol-head__title {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.pol-head__meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-muted);
}

/* 조항 --------------------------------------------------------------------- */

.pol-section { padding: 36px 0; }

.pol-section + .pol-section { border-top: 1px solid var(--color-line); }

.pol-section__title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.pol-section__no {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-inverse-fg);
    background: var(--color-inverse-bg);
    border-radius: 50%;
    transform: translateY(2px);
}

.pol-section__lead {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--color-muted);
}

.pol-section__lead + .table-scroll,
.pol-section__lead + .pol-list { margin-top: 20px; }

.pol-section__title + .pol-list { margin-top: 18px; }

/* 환불 비율 표 -------------------------------------------------------------- */

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pol-table {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    font-size: 14px;
}

.pol-table th,
.pol-table td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--color-line);
    white-space: nowrap;
}

.pol-table thead th {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    background: var(--color-surface);
}

.pol-table tbody th { font-weight: 700; }
.pol-table tbody td { font-weight: 600; }

/* 마지막 행(환불 불가)을 반전시켜 눈에 띄게 */
.pol-table tbody tr:last-child th,
.pol-table tbody tr:last-child td {
    color: var(--color-inverse-fg);
    background: var(--color-inverse-bg);
    border-bottom: 0;
}

/* 항목 목록 ----------------------------------------------------------------- */

.pol-list { border-top: 1px solid var(--color-line); }

.pol-list__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
}

.pol-list__row dt {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pol-list__row dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--color-muted);
}

/* 주의 문단 ----------------------------------------------------------------- */

.pol-note {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--color-surface);
    border-left: 3px solid var(--color-fg);
    font-size: 14px;
    line-height: 1.75;
}

.pol-note__tag {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-inverse-fg);
    background: var(--color-inverse-bg);
    border-radius: 999px;
    vertical-align: 1px;
}

/* 문의 --------------------------------------------------------------------- */

.pol-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 8px 0 0;
    padding: 36px 20px 44px;
    border-top: 1px solid var(--color-line);
    text-align: center;
}

.pol-contact__text {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-muted);
}

.pol-contact .btn { width: 100%; max-width: 320px; }

/* ── 태블릿 이상 ───────────────────────────────────────────────────────── */

@media (min-width: 641px) {
    .pol-head { padding: 56px 0 32px; }
    .pol-head__title { font-size: 36px; }

    .pol-section { padding: 44px 0; }
    .pol-section__title { font-size: 21px; }

    .pol-table { min-width: 0; }

    .pol-list__row {
        flex-direction: row;
        gap: 28px;
        padding: 18px 0;
    }

    .pol-list__row dt { flex: 0 0 200px; }
    .pol-list__row dd { flex: 1 1 auto; }

    .pol-contact .btn { width: auto; min-width: 220px; }
}
