:root {
    --bg: #f5f7fb;
    --sheet: rgba(255, 255, 255, 0.96);
    --white: #ffffff;
    --ink: #0f172a;
    --text: #111827;
    --sub: #475569;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --border: #dbe4f0;
    --brand: #1d4ed8;
    --brand-dark: #1e3a8a;
    --brand-soft: #eff6ff;
    --brand-tint: #dbeafe;
    --accent: #f59e0b;
    --accent-soft: #fff7e6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.policy-page {
    min-height: 100vh;
}

.policy-hero {
    padding: 56px 24px 24px;
}

.policy-hero-inner,
.policy-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.policy-hero-card {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a 0%, #17305d 34%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.policy-hero-card::before,
.policy-hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.policy-hero-card::before {
    width: 360px;
    height: 360px;
    top: -180px;
    right: -90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 68%);
}

.policy-hero-card::after {
    width: 280px;
    height: 280px;
    bottom: -150px;
    left: -80px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
}

.policy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.policy-hero-card h1 {
    margin: 18px 0 12px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.24;
    letter-spacing: -0.04em;
}

.policy-lead {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.policy-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 600;
}

.policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.policy-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.policy-link-btn:hover {
    transform: translateY(-1px);
}

.policy-link-btn.primary {
    background: #ffffff;
    color: var(--brand-dark);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.policy-link-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.policy-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    padding: 0 24px 72px;
}

.policy-sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
}

.policy-nav,
.policy-summary-card,
.policy-section,
.policy-note-card,
.policy-table-wrap {
    background: var(--sheet);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.policy-nav,
.policy-summary-card {
    padding: 22px;
}

.policy-summary-card {
    margin-top: 16px;
}

.policy-summary-card h2,
.policy-nav h2 {
    margin: 0 0 12px;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.policy-summary-card p,
.policy-nav p {
    margin: 0;
    color: var(--sub);
    font-size: 0.9rem;
}

.policy-nav-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.policy-nav-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--sub);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.policy-nav-list a:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.policy-content {
    display: grid;
    gap: 18px;
}

.policy-section {
    padding: 28px;
}

.policy-section h2 {
    margin: 0 0 14px;
    font-size: 1.22rem;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.policy-section p {
    margin: 0 0 12px;
    color: var(--sub);
}

.policy-section p:last-child,
.policy-section ul:last-child,
.policy-section ol:last-child,
.policy-section .policy-table-wrap:last-child {
    margin-bottom: 0;
}

.policy-section ul,
.policy-section ol {
    margin: 0 0 12px;
    padding-left: 20px;
    color: var(--sub);
}

.policy-section li + li {
    margin-top: 8px;
}

.policy-callout {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--brand-tint);
    background: var(--brand-soft);
    color: var(--sub);
}

.policy-callout strong {
    color: var(--brand-dark);
}

.policy-note-card {
    padding: 18px 20px;
    background: linear-gradient(180deg, var(--accent-soft) 0%, #fffdf5 100%);
    border-color: #fde6b1;
}

.policy-note-card strong {
    display: block;
    margin-bottom: 6px;
    color: #8a5a05;
}

.policy-table-wrap {
    overflow: hidden;
    margin: 16px 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
}

.policy-table th,
.policy-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.policy-table th {
    width: 24%;
    background: #f8fbff;
    color: var(--ink);
    font-weight: 800;
}

.policy-table tr:last-child th,
.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-contact-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.policy-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--sub);
}

.policy-contact-item i {
    margin-top: 3px;
    color: var(--brand);
}

.policy-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.policy-mini-links a {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .policy-shell {
        grid-template-columns: 1fr;
    }

    .policy-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .policy-hero {
        padding: 28px 16px 18px;
    }

    .policy-shell {
        padding: 0 16px 56px;
    }

    .policy-hero-card,
    .policy-nav,
    .policy-summary-card,
    .policy-section,
    .policy-note-card {
        padding: 22px;
        border-radius: 20px;
    }

    .policy-table th,
    .policy-table td {
        display: block;
        width: 100%;
    }

    .policy-table th {
        padding-bottom: 8px;
        border-bottom: none;
    }

    .policy-table td {
        padding-top: 0;
    }
}
