@charset "UTF-8";

/* ==========================================================================
   쑤테이블(SSU-TABLE) 이용약관 및 개인정보처리방침 - 반응형 고도화 통합 코드
   - Desktop / Laptop / Tablet / Mobile / Small Mobile 전 브레이크포인트 대응
   - 상단 히어로 헤더 여백 및 탭 컨트롤러 1열 풀위드 스택 전환
   - 약관/방침 본문 헤더 및 섹션 모바일 가독성 최적화
   - 개인정보 수집 테이블 가로 스크롤 프레임 및 터치 스크롤 방어
   - 개인정보관리책임자 안내 박스 1열 스택 및 텍스트 오버플로 방지
   ========================================================================== */

:root {
    --p-bg-white: #ffffff;
    --p-bg-light: #fbf9f6;
    --p-bg-table-head: #f5f2ec;

    --p-text-primary: #171615;
    --p-text-secondary: #54514d;
    --p-text-muted: #9c9790;

    --p-border-line: #eeedea;
    --p-border-strong: #dedad2;
    --p-point: #94684c;
    --p-point-hover: #785036;

    --p-transition: 0.28s cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.policy-page {
    background-color: var(--p-bg-white) !important;
    color: var(--p-text-primary);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    letter-spacing: -0.02em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.policy-main-container {
    width: 100%;
    background-color: var(--p-bg-white);
    overflow: clip;
}

.max-policy-width {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 3.5rem;
    box-sizing: border-box;
}

.font-mono {
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   1. HERO ZONE & TAB CONTROLLER
   ========================================================================== */
.policy-hero-zone {
    padding: 11rem 0 4.5rem;
    background-color: var(--p-bg-light);
    border-bottom: 1px solid var(--p-border-line);
    position: relative;
}

.policy-sub-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    color: var(--p-point);
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.policy-main-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--p-text-primary);
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.policy-desc {
    font-size: 1.05rem;
    color: var(--p-text-secondary);
    margin: 0 0 3rem 0;
    line-height: 1.8;
    word-break: keep-all;
    max-width: 800px;
}

.policy-tab-controller {
    display: flex;
    border: 1px solid var(--p-border-strong);
    width: fit-content;
    background: var(--p-bg-white);
    box-shadow: 0 4px 16px rgba(23, 22, 21, 0.03);
}

.tab-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.15rem 2.4rem;
    background: transparent;
    text-decoration: none;
    border-right: 1px solid var(--p-border-line);
    color: var(--p-text-secondary);
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    transition: all var(--p-transition);
    white-space: nowrap;
}

.tab-nav-btn:last-child {
    border-right: none;
}

.tab-num {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--p-point);
    transition: color var(--p-transition);
}

.tab-nav-btn:hover {
    color: var(--p-point);
    background-color: var(--p-bg-light);
}

.tab-nav-btn.active {
    background: var(--p-point);
    color: #ffffff;
}

.tab-nav-btn.active .tab-num {
    color: #ffffff;
}

/* ==========================================================================
   2. CONTENT ZONE & DOCUMENT BODY
   ========================================================================== */
.policy-content-zone {
    padding: 6.5rem 0 9.5rem;
    background-color: var(--p-bg-white);
}

.policy-document-body {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-header-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--p-point);
    padding-bottom: 1.6rem;
    margin-bottom: 3.5rem;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-header-box h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0;
    color: var(--p-text-primary);
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.version-tag {
    font-size: 0.88rem;
    color: var(--p-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.policy-article-group {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.policy-sec {
    min-width: 0;
}

.policy-sec h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--p-text-primary);
    margin: 0 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    word-break: keep-all;
}

.policy-sec h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: var(--p-point);
    flex-shrink: 0;
}

.policy-sec p {
    font-size: 0.98rem;
    color: var(--p-text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.85;
    word-break: keep-all;
}

.policy-list {
    margin: 0.9rem 0 0 1.5rem;
    padding: 0;
    color: var(--p-text-secondary);
    font-size: 0.98rem;
    list-style: disc;
}

.policy-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    word-break: keep-all;
}

.policy-list li strong {
    color: var(--p-text-primary);
    font-weight: 600;
}

/* ==========================================================================
   3. TABLE & CONTACT BOX
   ========================================================================== */
.policy-table-box {
    margin: 2rem 0;
    border: 1px solid var(--p-border-line);
    background: var(--p-bg-white);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
    min-width: 580px;
}

.tech-table th,
.tech-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--p-border-line);
    line-height: 1.65;
}

.tech-table th {
    background: var(--p-bg-table-head);
    font-family: 'Noto Serif KR', serif;
    color: var(--p-text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--p-border-strong);
    white-space: nowrap;
}

.tech-table td {
    color: var(--p-text-secondary);
    word-break: keep-all;
}

.contact-officer-box {
    background: var(--p-bg-light);
    border: 1px solid var(--p-border-line);
    border-left: 3px solid var(--p-point);
    padding: 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.4rem;
    box-shadow: 0 4px 16px rgba(23, 22, 21, 0.03);
}

.officer-line {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--p-text-primary);
    min-width: 0;
}

.officer-line .lbl {
    font-family: 'Noto Serif KR', serif;
    color: var(--p-text-muted);
    font-weight: 600;
    width: 180px;
    flex-shrink: 0;
}

.officer-line .lbl::after {
    content: ' :';
}

.officer-line .val {
    color: var(--p-text-primary);
    font-weight: 500;
    word-break: keep-all;
}

.no-break-email {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (통합 5단계 분기점)
   ========================================================================== */

/* 1. Large Screens (>= 1440px) */
@media (min-width: 1440px) {
    .max-policy-width {
        padding: 0 4rem;
    }
    .policy-hero-zone {
        padding: 12rem 0 5rem;
    }
    .policy-content-zone {
        padding: 7rem 0 10.5rem;
    }
}

/* 2. Laptop & Desktop (1024px ~ 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .max-policy-width {
        padding: 0 2.5rem;
    }
    .policy-hero-zone {
        padding: 9.5rem 0 3.8rem;
    }
    .policy-content-zone {
        padding: 5.5rem 0 7.5rem;
    }
    .policy-header-box h2 {
        font-size: 1.7rem;
    }
    .policy-article-group {
        gap: 3rem;
    }
}

/* 3. Tablet Landscape & Portrait (768px ~ 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .max-policy-width {
        padding: 0 2rem;
    }
    .policy-hero-zone {
        padding: 8.5rem 0 3.2rem;
    }
    .policy-sub-badge {
        font-size: 0.8rem;
        letter-spacing: 0.22em;
    }
    .policy-main-title {
        font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    }
    .policy-desc {
        font-size: 0.98rem;
        margin-bottom: 2.4rem;
    }
    .policy-content-zone {
        padding: 4.8rem 0 6.5rem;
    }
    .policy-header-box {
        margin-bottom: 2.8rem;
    }
    .policy-header-box h2 {
        font-size: 1.55rem;
    }
    .policy-article-group {
        gap: 2.6rem;
    }
    .tab-nav-btn {
        padding: 1.05rem 1.8rem;
        font-size: 0.92rem;
    }
    .officer-line .lbl {
        width: 150px;
    }
    .contact-officer-box {
        padding: 1.8rem 2rem;
    }
}

/* 4. Mobile Devices (480px ~ 767px) - common 통합 규격 */
@media (max-width: 767px) {
    .max-policy-width {
        padding: 0 1.5rem;
    }
    .policy-hero-zone {
        padding: 7rem 0 2.8rem;
    }
    .policy-sub-badge {
        font-size: 0.74rem;
        letter-spacing: 0.18em;
        margin-bottom: 0.6rem;
    }
    .policy-main-title {
        font-size: clamp(1.95rem, 8vw, 2.5rem);
        line-height: 1.25;
        margin-bottom: 0.8rem;
    }
    .policy-desc {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    .policy-tab-controller {
        width: 100%;
        flex-direction: column;
    }
    .tab-nav-btn {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--p-border-line);
        padding: 1rem 1.4rem;
        font-size: 0.92rem;
        justify-content: flex-start;
    }
    .tab-nav-btn:last-child {
        border-bottom: none;
    }
    .policy-content-zone {
        padding: 4rem 0 5.5rem;
    }
    .policy-header-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 1.2rem;
        margin-bottom: 2.2rem;
    }
    .policy-header-box h2 {
        font-size: 1.45rem;
        line-height: 1.35;
    }
    .version-tag {
        font-size: 0.82rem;
    }
    .policy-article-group {
        gap: 2.2rem;
    }
    .policy-sec h3 {
        font-size: 1.18rem;
        gap: 10px;
        margin-bottom: 0.9rem;
    }
    .policy-sec h3::before {
        height: 16px;
        width: 3px;
    }
    .policy-sec p {
        font-size: 0.92rem;
        line-height: 1.75;
    }
    .policy-list {
        margin: 0.7rem 0 0 1.2rem;
        font-size: 0.92rem;
    }
    .policy-list li {
        margin-bottom: 0.6rem;
        line-height: 1.7;
    }
    .policy-table-box {
        margin: 1.5rem 0;
    }
    .tech-table th,
    .tech-table td {
        padding: 1rem 1.15rem;
        font-size: 0.88rem;
    }
    .contact-officer-box {
        padding: 1.5rem 1.25rem;
        gap: 0.85rem;
    }
    .officer-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        font-size: 0.9rem;
    }
    .officer-line .lbl {
        width: 100%;
        font-size: 0.84rem;
    }
    .officer-line .val {
        font-size: 0.9rem;
    }
    .no-break-email {
        word-break: break-all !important;
        white-space: normal !important;
    }
}

/* 5. Small Mobile Screens (< 480px) */
@media (max-width: 479px) {
    .max-policy-width {
        padding: 0 1.15rem;
    }
    .policy-hero-zone {
        padding: 6rem 0 2.2rem;
    }
    .policy-sub-badge {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }
    .policy-main-title {
        font-size: 1.75rem;
    }
    .policy-desc {
        font-size: 0.88rem;
        line-height: 1.65;
        margin-bottom: 1.6rem;
    }
    .tab-nav-btn {
        padding: 0.9rem 1.1rem;
        font-size: 0.88rem;
    }
    .tab-num {
        font-size: 0.78rem;
    }
    .policy-content-zone {
        padding: 3.2rem 0 4.5rem;
    }
    .policy-header-box {
        margin-bottom: 1.8rem;
        padding-bottom: 1rem;
    }
    .policy-header-box h2 {
        font-size: 1.28rem;
    }
    .policy-article-group {
        gap: 1.8rem;
    }
    .policy-sec h3 {
        font-size: 1.1rem;
    }
    .policy-sec p,
    .policy-list {
        font-size: 0.88rem;
        line-height: 1.7;
    }
    .policy-list {
        margin-left: 1rem;
    }
    .tech-table {
        min-width: 460px;
    }
    .tech-table th,
    .tech-table td {
        padding: 0.85rem 0.95rem;
        font-size: 0.82rem;
        line-height: 1.55;
    }
    .contact-officer-box {
        padding: 1.25rem 1rem;
    }
    .officer-line {
        font-size: 0.86rem;
    }
}

/* 모션 최소화 환경 대응 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}