.about-page {
    width: 100%;
    color: #0a0d14;
    font-family: "Nunito Sans", sans-serif;
}

/* Hero */

.about-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    min-height: 880px;
    padding: 130px 24px 100px;
    overflow: hidden;
    background: linear-gradient(42deg, #d4e5ff 0.5%, #ffffff 21%, #ffffff 69%);
    text-align: center;
}

.about-hero-decor {
    position: absolute;
    z-index: 0;
    width: 260px;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.about-hero-decor-left {
    top: 22%;
    left: 6%;
    transform: rotate(-18deg);
}

.about-hero-decor-right {
    top: 24%;
    right: 2%;
    width: 320px;
    transform: rotate(27deg);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    width: 708px;
    max-width: 100%;
    margin: 0 auto;
}

.about-label {
    display: inline-flex;
    align-items: center;
    min-height: 55px;
    padding: 0 20px;
    border-radius: 999px;
    color: #0a0d14;
    background: #f3f7ff;
    font-size: 20px;
    font-weight: 500;
}

.about-hero h1 {
    margin: 40px 0 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #0a0d14;
}

.about-hero-content > p {
    margin: 24px 0 0;
    color: #6b717e;
    font-size: 20px;
    line-height: 36px;
}

.about-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 740px;
    max-width: 100%;
    padding: 20px;
    border-radius: 20px;
    background: #f9f9f9;
}

    .about-stats article {
        display: flex;
        flex: 1 1 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }

    .about-stats strong {
        color: #0a0d14;
        font-size: 22px;
        font-weight: 600;
    }

    .about-stats span {
        color: #6b717e;
        font-size: 12px;
    }

.about-stats-divider {
    flex: none;
    width: 1px;
    background: #e2e4e9;
}

/* Shared section */

.about-section {
    padding: 120px max(24px, calc((100% - 1360px) / 2));
}

.about-section-heading {
    width: 780px;
    max-width: 100%;
    margin: 0 auto 60px;
    text-align: center;
}

    .about-section-heading h2 {
        margin: 0;
        color: #0a0d14;
        font-size: 44px;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .about-section-heading p {
        margin: 24px 0 0;
        color: #6b717e;
        font-size: 22px;
        line-height: 36px;
    }

/* Why section */

.why-grid {
    display: grid;
    grid-template-columns: 696px 1fr;
    align-items: center;
    gap: 60px;
    width: 1360px;
    max-width: 100%;
    margin: 0 auto;
}

.why-copy p {
    margin: 0 0 40px;
    color: #6b717e;
    font-size: 22px;
    line-height: 38px;
}

    .why-copy p:last-child {
        margin-bottom: 0;
    }

    .why-copy .correct {
        color: #15803d;
    }

    .why-copy .wrong {
        color: #df181c;
    }

.score-sheet {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    border-radius: 40px;
    background: #f3f7ff;
}

    .score-sheet article {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .score-sheet h3 {
        margin: 0;
        color: #0a0d14;
        font-size: 22px;
        font-weight: 400;
    }

        .score-sheet h3 .correct {
            color: #15803d;
        }

        .score-sheet h3 .wrong {
            color: #df181c;
        }

    .score-sheet-divider {
        display: block;
        height: 1px;
        background: #dbe6fb;
    }

    .score-sheet article > div,
    .score-sheet footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #0a0d14;
        font-size: 22px;
    }

        .score-sheet article > div span {
            color: #4d5361;
        }

    .score-sheet footer {
        padding: 16px;
        border-radius: 16px;
        background: #ffffff;
    }

/* Principles */

.principles-section {
    background: #f9f9f9;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 1360px;
    max-width: 100%;
    margin: 0 auto;
}

    .principles-grid article {
        padding: 30px;
        border-radius: 30px;
        background: #ffffff;
    }

.principle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #f9f9f9;
}

    .principle-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

.principles-grid h3 {
    margin: 30px 0 10px;
    color: #0a0d14;
    font-size: 22px;
    font-weight: 400;
}

.principles-grid p {
    margin: 0;
    color: #6b717e;
    font-size: 18px;
    line-height: 32px;
}

/* Guidelines */

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 1360px;
    max-width: 100%;
    margin: 0 auto;
}

.guideline-card {
    padding: 30px;
    border: 1px solid #e2e4e9;
    border-radius: 30px;
    background: #f9f9f9;
}

.guideline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    border: 1px solid #dee9fb;
    border-radius: 20px;
    background: #f4f8ff;
}

    .guideline-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .guideline-card:nth-child(2) .guideline-icon {
        border-color: #a4ffaf;
        background: #edffed;
    }

    .guideline-card:nth-child(3) .guideline-icon {
        border-color: #ff9f71;
        background: #ffe5d9;
    }

.guidelines-grid h3 {
    margin: 0 0 16px;
    color: #0a0d14;
    font-size: 22px;
    font-weight: 400;
}

.guidelines-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guidelines-grid li {
    position: relative;
    margin-bottom: 24px;
    padding-left: 24px;
    color: #6b717e;
    font-size: 18px;
    line-height: 32px;
}

    .guidelines-grid li:last-child {
        margin-bottom: 0;
    }

    .guidelines-grid li::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 0;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #0d61f8;
    }

    .guideline-card:nth-child(2) li::before {
        background: #0b881a;
    }

    .guideline-card:nth-child(3) li::before {
        background: #c04e17;
    }

/* Disclaimer */

.about-disclaimer {
    padding: 60px 24px;
    background: #ffffff;
}

    .about-disclaimer > div {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        width: 800px;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px;
        border: 1px solid #fcd34d;
        border-radius: 20px;
        background: #fffbf2;
        text-align: left;
    }

    .about-disclaimer .alert-icon {
        flex: none;
        width: 18px;
        height: 18px;
        margin-top: 3px;
    }

    .about-disclaimer .alert-content {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .about-disclaimer strong {
        display: block;
        color: #0a0d14;
        font-size: 18px;
        font-weight: 500;
    }

    .about-disclaimer p {
        margin: 10px 0 0;
        color: #6b717e;
        font-size: 16px;
        line-height: 26px;
    }

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

    .faq-list details {
        border-radius: 20px;
        background: #f9f9f9;
    }

    .faq-list summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 24px;
        color: #0a0d14;
        font-size: 20px;
        cursor: pointer;
        list-style: none;
    }

        .faq-list summary::-webkit-details-marker {
            display: none;
        }

        .faq-list summary::after {
            content: "+";
            flex: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 999px;
            background: #ebebeb;
            color: #0a0d14;
            font-size: 20px;
            font-weight: 400;
        }

    .faq-list details[open] summary::after {
        content: "\2212";
    }

    .faq-list details p {
        margin: 0;
        padding: 0 64px 24px 24px;
        color: #6b717e;
        font-size: 16px;
        line-height: 1.75;
    }

    .faq-list details p a {
        color: #0d61f8;
        text-decoration: none;
    }

        .faq-list details p a:hover {
            text-decoration: underline;
        }

/* Responsive */

@media (max-width: 1450px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guidelines-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .about-hero-decor {
        display: none;
    }
}

@media (max-width: 1000px) {
    .about-hero h1 {
        font-size: 40px;
    }

    .why-grid,
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .about-hero {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

        .about-hero h1 {
            font-size: 32px;
        }

    .about-hero-content > p,
    .about-section-heading p {
        font-size: 16px;
    }

    .about-stats {
        flex-direction: column;
    }

    .about-stats-divider {
        width: 100%;
        height: 1px;
    }

    .about-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .about-disclaimer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .about-section-heading h2 {
        font-size: 32px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .why-copy p,
    .score-sheet h3,
    .score-sheet article > div,
    .score-sheet footer {
        font-size: 16px;
    }

    .score-sheet {
        padding: 20px;
    }
}

.faq-empty {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 28px;
    color: #6b717e;
    font-size: 14px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 20px;
}


/* UPSC Prelims mock test content (after FAQ) */

.prelims-info-section {
    padding-top: 0;
}

.prelims-info {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

    .prelims-info h3 {
        margin: 48px 0 16px;
        color: #0a0d14;
        font-size: 28px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.01em;
    }

    .prelims-info p {
        margin: 0 0 20px;
        color: #6b717e;
        font-size: 18px;
        line-height: 32px;
        overflow-wrap: break-word;
    }

a.prelims-info-cta {
    display: block;
    margin-top: 48px;
    color: #0d61f8;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

    a.prelims-info-cta:hover,
    a.prelims-info-cta:focus-visible {
        text-decoration: underline;
    }

@media (max-width: 720px) {
    .prelims-info h3 {
        margin-top: 36px;
        font-size: 22px;
    }

    .prelims-info p {
        font-size: 16px;
        line-height: 28px;
    }

    a.prelims-info-cta {
        margin-top: 36px;
        font-size: 17px;
    }
}
