@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Commissioner:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');


:root {
    --accent: #65d9ff;
    --accent-2: #8b7cff;

    --text-primary: #172033;
    --text-secondary: #374151;
    --text-muted: #6b7280;

    --glass: rgba(255, 255, 255, 0.48);
    --glass-border: rgba(255, 255, 255, 0.68);

    --button-bg: #172033;
    --button-text: #ffffff;
    --button-hover: #2d3a52;

    --card-shadow: rgba(70, 45, 20, 0.14);
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

  font-family: 'Comfortaa', cursive;

    color: var(--text-primary);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(101, 217, 255, 0.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(139, 124, 255, 0.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f6d365,
            #fda085
        );

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background-orb {
    position: fixed;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.18;

    pointer-events: none;

    z-index: -1;
}


.orb-one {
    top: 10%;
    left: -150px;

    background: #65d9ff;
}


.orb-two {
    right: -150px;
    bottom: 10%;

    background: #8b7cff;
}


/* =========================
   HEADER
========================= */

.source-header {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 28px 0;

    display: flex;

    justify-content: space-between;
    align-items: center;
}


.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text-primary);

    text-decoration: none;

    font-size: 1.25rem;

    font-weight: 700;
}


.brand-icon{
    font-size: 1.5rem;
}
.brand-icon img{
    height: 40px;
    width: 40px;
}


.back-button {
    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid rgba(255, 255, 255, 0.7);

    color: var(--text-primary);

    text-decoration: none;

    transition: 0.25s ease;
}


.back-button:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.8);
}


/* =========================
   MAIN
========================= */

.sources-container {
    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;

    padding-bottom: 80px;
}


/* =========================
   HERO
========================= */

.hero-section {
    text-align: center;

    padding: 70px 20px 65px;
}


.hero-icon img {
    width: 90px;
    height: 90px;

    margin: 0 auto 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 3rem;

    background:
        linear-gradient(
            135deg,
            rgba(101, 217, 255, 0.85),
            rgba(139, 124, 255, 0.85)
        );

    box-shadow:
        0 18px 45px rgba(70, 45, 20, 0.18);
}


.eyebrow {
    margin-bottom: 12px;

    color: #5962d9;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.hero-section h1 {
    margin-bottom: 20px;

    font-size: clamp(2.5rem, 6vw, 4.5rem);

    line-height: 1;

    background:
        linear-gradient(
            90deg,
            #172033,
            #5962d9,
            #089ac7
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-description {
    max-width: 720px;

    margin: auto;

    color: var(--text-secondary);

    font-size: 1.08rem;

    line-height: 1.8;
}


/* =========================
   CONTENT
========================= */

.content-section {
    padding: 45px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.55);
}


.content-section h2,
.methodology-section h2,
.notice-section h2 {
    margin-bottom: 18px;

    font-size: 1.8rem;
}


.content-section p {
    max-width: 850px;

    margin-bottom: 16px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================
   SOURCE SECTIONS
========================= */

.source-section {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    padding: 45px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.55);
}


.source-number {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #65d9ff,
            #8b7cff
        );

    color: white;

    font-size: 1.2rem;

    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(70, 45, 20, 0.15);
}


.source-category {
    margin-bottom: 5px;

    color: #6871d8;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 1.7px;
}


.source-title-row {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}


.source-content h2 {
    font-size: 2rem;
}


.source-content > p {
    max-width: 780px;

    margin-bottom: 15px;

    color: var(--text-secondary);

    line-height: 1.8;
}


.source-badge {
    flex-shrink: 0;

    padding: 7px 13px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.7);

    color: var(--text-secondary);

    font-size: 0.75rem;
}


/* =========================
   DATA LIST
========================= */

.data-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 22px 0;
}


.data-list span {
    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.38);

    border: 1px solid rgba(255, 255, 255, 0.6);

    color: var(--text-secondary);

    font-size: 0.8rem;
}


/* =========================
   LINKS
========================= */

.source-link {
    display: inline-block;

    margin-top: 8px;

    color: #3156c8;

    font-weight: 700;

    text-decoration: none;
}


.source-link:hover {
    text-decoration: underline;
}


/* =========================
   ATTRIBUTION
========================= */

.attribution-box {
    margin: 25px 0;

    padding: 18px 20px;

    border-left: 4px solid var(--accent);

    background: rgba(255, 255, 255, 0.35);

    border-radius: 0 14px 14px 0;
}


.attribution-box strong {
    display: block;

    margin-bottom: 7px;
}


.attribution-box p {
    color: var(--text-secondary);

    line-height: 1.6;
}


/* =========================
   METHODOLOGY
========================= */

.methodology-section {
    padding: 55px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.55);
}


.process {
    display: grid;

    grid-template-columns:
        1fr
        40px
        1fr
        40px
        1fr
        40px
        1fr;

    align-items: center;

    margin-top: 35px;
}


.process-step span {
    display: block;

    margin-bottom: 10px;

    color: #5962d9;

    font-weight: 700;

    font-size: 0.8rem;
}


.process-step strong {
    display: block;

    margin-bottom: 8px;

    font-size: 1.05rem;
}


.process-step p {
    color: var(--text-secondary);

    font-size: 0.9rem;

    line-height: 1.6;
}


.process-line {
    height: 1px;

    background: rgba(23, 32, 51, 0.2);
}


/* =========================
   NOTICE
========================= */

.notice-section {
    display: flex;

    gap: 20px;

    padding: 30px;

    margin-top: 20px;

    background: rgba(255, 255, 255, 0.36);

    border: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 22px;

    box-shadow:
        0 15px 40px var(--card-shadow);
}


.notice-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #172033;

    color: white;

    font-weight: 700;
}


.notice-section p {
    margin-bottom: 12px;

    color: var(--text-secondary);

    line-height: 1.7;
}


/* =========================
   LAST UPDATED
========================= */

.last-updated {
    margin-top: 25px;

    color: var(--text-muted) !important;

    font-size: 0.85rem;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 25px 0 35px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.5);

    color: var(--text-muted);

    font-size: 0.85rem;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}


.footer-links a {
    color: var(--text-secondary);

    text-decoration: none;
}


.footer-links a:hover {
    color: #3156c8;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .source-header {
        padding: 20px 0;
    }


    .back-button {
        padding: 8px 12px;

        font-size: 0.8rem;
    }


    .hero-section {
        padding-top: 45px;
    }


    .source-section {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .source-number {
        width: 52px;
        height: 52px;

        font-size: 0.9rem;
    }


    .source-title-row {
        flex-direction: column;
    }


    .process {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .process-line {
        width: 1px;
        height: 30px;

        margin-left: 10px;
    }


    .notice-section {
        padding: 22px;
    }


    .site-footer {
        flex-direction: column;

        align-items: flex-start;
    }

}