:root {
    --policy-bg: #f3f6fb;
    --policy-surface: #ffffff;
    --policy-border: #dbe3ef;
    --policy-ink: #0f172a;
    --policy-muted: #64748b;
    --policy-primary: #1d4ed8;
    --primary: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    --secondary: #0f172a;
}

body.policy-page {
    background:
        radial-gradient(circle at 0% 0%, #e3ecff 0%, rgba(227, 236, 255, 0) 48%),
        radial-gradient(circle at 100% 0%, #dcfce7 0%, rgba(220, 252, 231, 0) 40%),
        var(--policy-bg);
    color: var(--policy-ink);
    overflow-x: hidden;
}

.policy-nav,
.navbar-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.policy-shell,
.details-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-brand,
.brand-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.policy-back-btn,
.nav-btn-outline {
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 25px;
    background: white;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.policy-back-btn:hover,
.nav-btn-outline:hover {
    text-decoration: none;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.policy-main {
    padding-top: 96px;
    padding-bottom: 32px;
}

.policy-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    color: #e2e8f0;
    border-radius: 22px;
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
}

.policy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #dbeafe;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.8rem;
    font-weight: 700;
}

.policy-title {
    color: #ffffff;
    font-weight: 800;
    margin-top: 14px;
    margin-bottom: 8px;
}

.policy-subtitle {
    color: #cbd5e1;
    margin: 0;
}

.policy-updated {
    margin-top: 12px;
    color: #bfdbfe;
    font-size: 0.9rem;
}

.policy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
}

.policy-card {
    background: var(--policy-surface);
    border: 1px solid var(--policy-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.policy-side {
    position: sticky;
    top: 94px;
    padding: 16px;
    height: fit-content;
}

.policy-side h5 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.policy-side a {
    display: block;
    border-radius: 10px;
    padding: 9px 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.policy-side a:hover {
    background: #eff6ff;
    color: var(--policy-primary);
}

.policy-content {
    padding: 22px;
}

.policy-section + .policy-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #dbe3ef;
}

.policy-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.policy-section p,
.policy-section li {
    color: var(--policy-muted);
    line-height: 1.7;
}

.trust-strip {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-pill {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.support-item {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 14px;
    background: #f8fafc;
}

.support-item h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.support-item p {
    margin: 0;
    color: #64748b;
}

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

    .policy-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .policy-main {
        padding-top: 84px;
    }

    .policy-hero {
        border-radius: 16px;
        padding: 18px;
    }

    .policy-content {
        padding: 16px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }
}
