/* policies.uknong.com — Legal pages */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #f5f5f7;
    background: #000;
    min-height: 100dvh;
}

a { color: #2997ff; text-decoration: none; }
a:hover { color: #64b5f6; }

.hidden { display: none !important; }

/* ── Layout ── */
.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100dvh;
    padding: 48px 20px 32px;
}

.container {
    width: 100%;
    max-width: 720px;
}

/* ── Header ── */
.header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f5f5f7;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #86868b;
}

.header-spacer { flex: 1; }

/* ── Language Toggle ── */
.lang-toggle {
    display: flex;
    gap: 2px;
    background: #1c1c1e;
    border-radius: 8px;
    padding: 2px;
}

.lang-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #86868b;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: #2c2c2e;
    color: #f5f5f7;
}

/* ── Content Card ── */
.card {
    background: #1c1c1e;
    border-radius: 16px;
    padding: 40px 36px;
    margin-bottom: 24px;
}

@media (max-width: 520px) {
    .card { padding: 28px 20px; }
}

/* ── Typography ── */
.card h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #f5f5f7;
}

.effective-date {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 28px;
}

.card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #f5f5f7;
    padding-bottom: 6px;
    border-bottom: 1px solid #2c2c2e;
}

.card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #e5e5e7;
}

.card p {
    margin-bottom: 12px;
    color: #d1d1d6;
}

.card ul, .card ol {
    margin: 8px 0 16px 20px;
    color: #d1d1d6;
}

.card li {
    margin-bottom: 6px;
}

.card strong {
    color: #f5f5f7;
    font-weight: 600;
}

/* ── Table ── */
.card table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 14px;
}

.card th, .card td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #2c2c2e;
    color: #d1d1d6;
}

.card th {
    color: #f5f5f7;
    font-weight: 600;
    background: #252528;
}

.card tr:last-child td {
    border-bottom: none;
}

/* ── Footer ── */
.page-foot {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #86868b;
}

.page-foot a {
    color: #86868b;
    transition: color 0.15s;
}

.page-foot a:hover { color: #d1d1d6; }

.dot {
    width: 3px;
    height: 3px;
    background: #48484a;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Index page cards ── */
.link-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .link-cards { grid-template-columns: 1fr; }
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #1c1c1e;
    border-radius: 12px;
    text-decoration: none;
    color: #f5f5f7;
    transition: background 0.15s;
}

.link-card:hover {
    background: #2c2c2e;
    color: #f5f5f7;
}

.link-card-title {
    font-size: 17px;
    font-weight: 600;
}

.link-card-desc {
    font-size: 13px;
    color: #86868b;
}

.link-card-arrow {
    font-size: 13px;
    color: #2997ff;
    margin-top: 4px;
}

/* ── 404 page ── */
.not-found {
    text-align: center;
    padding: 80px 20px;
}

.not-found h1 {
    font-size: 48px;
    font-weight: 700;
    color: #48484a;
    margin-bottom: 12px;
}

.not-found p {
    color: #86868b;
    margin-bottom: 20px;
}

/* ── Last updated badge ── */
.updated-badge {
    display: inline-block;
    font-size: 12px;
    color: #86868b;
    margin-top: 16px;
}
