:root {
    --bg-gradient: linear-gradient(135deg, #b794d0 0%, #8e9ec9 50%, #d99a9c 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(0, 0, 0, 0.08);
    --text: #1a1a1a;
    --text-muted: #666;
    --accent: #6B4EE6;
    --accent-soft: #f0ecf9;
    --pink-soft: #f5dcdd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    padding: 1.5rem 1rem 4rem;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

/* Header */

header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0;
}

.logo img {
    height: 56px;
    width: auto;
}

nav.site-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding-top: 0.5rem;
}

nav.site-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

nav.site-nav a:hover,
nav.site-nav a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Page heading */

.page-heading {
    margin-bottom: 2rem;
}

.page-heading h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.page-heading p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Cards */

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-meta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-soft);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.card h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.card-summary {
    color: var(--text);
    margin-bottom: 0.85rem;
}

.card-sources {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 0.6rem;
    border-top: 1px solid var(--card-border);
}

.card-sources a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.card-sources a:hover {
    text-decoration: underline;
}

.also-covered {
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

/* About page */

.about-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.about-content h2 {
    font-size: 1.2rem;
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content ul {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.about-content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.about-content a {
    color: var(--accent);
    font-weight: 500;
}

/* Footer */

footer.site-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-align: center;
}

footer.site-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

footer.site-footer a:hover {
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 600px) {
    body {
        padding: 1rem 0.75rem 3rem;
    }
    
    header.site-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    nav.site-nav {
        gap: 1rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
}