/* ===== POLICY PAGES — GplanSIM design ===== */

.policy-hero {
    background: linear-gradient(135deg, #0a1f44 0%, #0a1f44 55%, #6c5ce7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height, 72px) + 48px) 20px 60px;
}

.policy-header {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.policy-hero-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

.policy-header h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.1;
}

.policy-hero-date {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ---- Content Layout: sidebar LEFT, content RIGHT ---- */
.policy-content {
    padding: 48px 6%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* ---- TOC Sidebar (LEFT) ---- */
.sticky-sidebar {
    position: sticky;
    top: 90px;
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid #e8f0eb;
    border-radius: 16px;
    padding: 24px 20px;
}

.toc-heading {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748B;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e8f0eb;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 4px;
}

.toc-link {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
    display: block;
    padding: 5px 8px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    line-height: 1.4;
}

.toc-link:hover,
.toc-link.active {
    background: #f0f9f4;
    color: #6c5ce7;
    font-weight: 600;
    padding-left: 12px;
}

/* ---- Main Content (RIGHT) ---- */
.policy-informations {
    flex: 1;
    min-width: 0;
}

/* Summary box */
.policy-informations .policy-summary,
.policy-informations > p:first-child strong {
    display: block;
}

.policy-informations section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8f0eb;
}

.policy-informations section:last-child {
    border-bottom: none;
}

/* Section headings */
.policy-informations h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1f44;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Summary callout box */
.policy-informations .summary-box,
.policy-informations section#summary p {
    background: #F7F9FC;
    border-left: 4px solid #6c5ce7;
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0;
}

.policy-content p,
.policy-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a5568;
}

.policy-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0a1f44;
    margin: 1.25rem 0 0.5rem;
}

.policy-content ul,
.policy-content ol {
    padding-left: 0;
    margin: 0.75rem 0;
    list-style: none;
}

.policy-content ul li,
.policy-content ol li {
    display: flex;
    gap: 10px;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

.policy-content ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6c5ce7;
    flex-shrink: 0;
    margin-top: 9px;
}

.policy-content a {
    color: #6c5ce7;
    text-decoration: underline;
}

.policy-content a:hover { opacity: 0.8; }

hr {
    border: none;
    border-top: 1px solid #e8f0eb;
    margin: 1.5rem 0;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .policy-content {
        flex-direction: column;
    }
    .sticky-sidebar {
        position: static;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .policy-content {
        padding: 24px 4%;
    }
}
