* {
    font-family: "Baloo Bhaijaan 2", cursive !important;
}

html {
    background-color: #a3ada4;
}

body {
    background: linear-gradient(135deg, #c8d0cc 0%, #a3ada4 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.policy-header {
    background: linear-gradient(135deg, #ff7f50dd, #fa683bdd);
    border-radius: 1.5rem;
    padding: 3rem 2rem 2.5rem;
    margin: 2rem auto 1.5rem;
    max-width: 900px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 127, 80, 0.3);
}

.policy-header-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.policy-header h1 {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.policy-header p {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 1.25rem;
}

.last-updated {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.3rem 1.1rem;
    font-size: 0.88rem;
}

/* ── Cards ── */
.policy-card {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    margin: 0 auto 1.25rem;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7f50, #fa683b);
}

/* ── Table of Contents ── */
.toc-card {
    background: #fff8f6;
}

.toc-list {
    margin: 0;
    padding-left: 1.5rem;
    columns: 2;
    column-gap: 2rem;
}

.toc-list li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.toc-list a {
    color: #ff6333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.97rem;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: #fa683b;
    text-decoration: underline;
}

/* ── Section heading & number ── */
.section-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(135deg, #ff7f50, #fa683b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.section-heading {
    font-weight: 700;
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 1rem;
    padding-right: 3rem;
}

/* ── Section body typography ── */
.section-body {
    color: #444;
    line-height: 1.75;
    font-size: 0.97rem;
}

.section-body p {
    margin-bottom: 0.9rem;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-body ul,
.section-body ol {
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
}

.section-body li {
    margin-bottom: 0.4rem;
}

.section-body strong {
    color: #222;
}

.section-body a {
    color: #ff6333;
    text-decoration: none;
}

.section-body a:hover {
    text-decoration: underline;
}

/* Placeholder text shown before real content is added */
.placeholder-text {
    color: #aaa;
    font-style: italic;
}

/* ── Footer note ── */
.policy-footer-note {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: #f0ede9;
    font-size: 0.9rem;
}

.policy-footer-note a {
    color: #ffe0d5;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .policy-header {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .policy-header h1 {
        font-size: 1.8rem;
    }

    .policy-card {
        margin: 0 1rem 1rem;
        padding: 1.5rem 1.25rem;
    }

    .toc-list {
        columns: 1;
    }

    .section-number {
        top: 1.25rem;
        right: 1.25rem;
    }
}
