/* ===== Reset & Tokens ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --background: 280 40% 98%;
    --foreground: 280 20% 15%;
    --card: 0 0% 100%;
    --muted: 280 30% 95%;
    --muted-foreground: 280 15% 45%;
    --border: 280 20% 90%;
    --primary: 270 80% 60%;
    --primary-foreground: 0 0% 100%;
    --secondary: 320 75% 65%;
    --accent: 35 90% 65%;

    --gradient-primary: linear-gradient(135deg, hsl(270, 80%, 60%), hsl(320, 75%, 65%));
    --gradient-secondary: linear-gradient(135deg, hsl(320, 75%, 65%), hsl(35, 90%, 65%));
    --gradient-hero: linear-gradient(135deg, hsl(270, 80%, 60%) 0%, hsl(320, 75%, 65%) 50%, hsl(35, 90%, 65%) 100%);
    --shadow-glow: 0 10px 40px -10px hsl(270 80% 60% / 0.3);
    --shadow-card: 0 4px 20px -4px hsl(270 80% 60% / 0.1);
    --radius: 1rem;

    --font-nunito: 'Nunito', sans-serif;
    --font-opensans: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-opensans);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Utilities ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-text-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-accent { color: hsl(var(--accent)); }
.center { text-align: center; }
.desktop-only { display: none; }
.mobile-only { display: block; }
@media (min-width: 768px) {
    .desktop-only { display: inline-flex; }
    .mobile-only { display: none; }
}

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: hsl(var(--card) / 0.8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}
.header-content { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1rem; }
.logo { font-family: var(--font-nunito); font-size: 1.875rem; font-weight: 800; }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
    padding: 0.5rem 0.875rem; border-radius: 0.5rem;
    color: hsl(var(--foreground)); font-weight: 500; font-size: 0.95rem;
    transition: all 0.2s ease;
}
.nav-link:hover { color: hsl(var(--primary)); background: hsl(var(--primary) / 0.1); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.search-box {
    display: flex; align-items: center; gap: 0.5rem;
    background: hsl(var(--muted)); border-radius: 999px; padding: 0.5rem 1rem;
    color: hsl(var(--muted-foreground));
}
.desktop-search { display: none; }
@media (min-width: 768px) { .desktop-search { display: flex; } }
.search-input {
    border: none; outline: none; background: transparent;
    color: hsl(var(--foreground)); width: 12rem; font-size: 0.875rem;
}

.icon-btn { padding: 0.5rem; border-radius: 0.5rem; color: hsl(var(--foreground)); transition: background 0.2s; }
.icon-btn:hover { background: hsl(var(--muted)); }
.mobile-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
    display: none; flex-direction: column; gap: 0.5rem;
    padding: 1rem 0; border-top: 1px solid hsl(var(--border));
}
.mobile-menu.active { display: flex; animation: fadeIn 0.3s ease; }
.mobile-search { margin-bottom: 0.5rem; }
.mobile-nav-link {
    padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 500;
    color: hsl(var(--foreground)); transition: all 0.2s;
}
.mobile-nav-link:hover { color: hsl(var(--primary)); background: hsl(var(--primary) / 0.1); }

/* ===== Hero ===== */
.hero { position: relative; padding: 8rem 0 5rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); opacity: 0.1; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.hero-blob-1 { top: 5rem; left: 2.5rem; width: 5rem; height: 5rem; background: hsl(var(--primary) / 0.2); animation: float 3s ease-in-out infinite; }
.hero-blob-2 { top: 10rem; right: 5rem; width: 8rem; height: 8rem; background: hsl(var(--secondary) / 0.2); animation: float 3s ease-in-out infinite 1s; }
.hero-blob-3 { bottom: 5rem; left: 25%; width: 6rem; height: 6rem; background: hsl(var(--accent) / 0.2); animation: float 3s ease-in-out infinite 2s; }

.hero-container { position: relative; z-index: 1; text-align: center; max-width: 56rem; animation: fadeIn 0.6s ease-out; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 999px;
    background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
    font-weight: 500; margin-bottom: 1.5rem; font-size: 0.95rem;
}
.hero-title {
    font-family: var(--font-nunito); font-weight: 800;
    font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-description {
    font-size: 1.125rem; color: hsl(var(--muted-foreground));
    max-width: 42rem; margin: 0 auto 2rem;
}
@media (min-width: 768px) { .hero-description { font-size: 1.25rem; } }

.hero-search {
    display: flex; align-items: center; gap: 0.5rem;
    max-width: 42rem; margin: 0 auto;
    background: hsl(var(--card)); padding: 0.5rem;
    border-radius: 1rem; box-shadow: var(--shadow-glow);
}
.hero-search .icon { margin-left: 0.75rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.hero-search input {
    flex: 1; border: none; outline: none; background: transparent;
    padding: 0.75rem 0.5rem; font-size: 1rem; color: hsl(var(--foreground));
}

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    max-width: 42rem; margin: 3rem auto 0;
}
.stat-number { font-family: var(--font-nunito); font-size: 1.875rem; font-weight: 800; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-muted { background: hsl(var(--muted) / 0.3); }
.section-header { text-align: center; margin-bottom: 3rem; animation: fadeIn 0.6s ease-out; }
.section-title {
    font-family: var(--font-nunito); font-weight: 700;
    font-size: clamp(1.875rem, 4vw, 3rem); margin-bottom: 1rem; line-height: 1.2;
}
.section-description { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; }
.section-description-left { font-size: 1.125rem; color: hsl(var(--muted-foreground)); }

.featured-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 3rem; gap: 1rem; flex-wrap: wrap; animation: fadeIn 0.6s ease-out;
}
.featured-header .section-title { margin-bottom: 0.5rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 0.75rem;
    font-weight: 600; font-size: 0.95rem; transition: all 0.25s ease;
}
.btn-primary {
    background: var(--gradient-primary); color: hsl(var(--primary-foreground));
    padding: 0.75rem 1.75rem;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
    background: hsl(var(--card)); color: hsl(var(--foreground));
    border: 2px solid hsl(var(--border));
}
.btn-outline:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }

/* ===== Categories ===== */
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
    position: relative; background: hsl(var(--card));
    border: 2px solid hsl(var(--border)); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: all 0.3s ease;
    animation: scaleIn 0.4s ease-out both;
}
.category-card:hover { transform: translateY(-8px); border-color: hsl(var(--primary) / 0.5); box-shadow: var(--shadow-glow); }
.category-gradient { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; }
.category-card:hover .category-gradient { opacity: 0.1; }
.category-content { position: relative; padding: 1.5rem; }
.category-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: #fff; transition: transform 0.3s;
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-title { font-family: var(--font-nunito); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; transition: color 0.3s; }
.category-card:hover .category-title { color: hsl(var(--primary)); }
.category-description { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.category-footer { display: flex; justify-content: space-between; align-items: center; }
.category-count { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.category-arrow { font-size: 0.75rem; font-weight: 600; color: hsl(var(--primary)); opacity: 0; transition: opacity 0.3s; }
.category-card:hover .category-arrow { opacity: 1; }

/* Gradient utilities */
.g-purple-pink   { background: linear-gradient(135deg, #a855f7, #ec4899); }
.g-pink-orange   { background: linear-gradient(135deg, #ec4899, #fb923c); }
.g-blue-cyan     { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.g-cyan-teal     { background: linear-gradient(135deg, #22d3ee, #2dd4bf); }
.g-green-emerald { background: linear-gradient(135deg, #22c55e, #34d399); }
.g-yellow-orange { background: linear-gradient(135deg, #eab308, #fb923c); }
.g-orange-red    { background: linear-gradient(135deg, #f97316, #f87171); }
.g-red-pink      { background: linear-gradient(135deg, #ef4444, #ec4899); }

/* ===== Stories ===== */
.stories-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }

.story-card {
    background: hsl(var(--card)); border: 2px solid hsl(var(--border));
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    transition: all 0.3s ease; animation: scaleIn 0.4s ease-out both;
}
.story-card:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / 0.5); box-shadow: var(--shadow-glow); }
.story-image { position: relative; height: 12rem; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.story-card:hover .story-image img { transform: scale(1.1); }
.story-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.story-badge {
    position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1;
    background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
}
.story-content { padding: 1.25rem; }
.story-title {
    font-family: var(--font-nunito); font-size: 1.125rem; font-weight: 700;
    margin-bottom: 0.5rem; transition: color 0.3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-card:hover .story-title { color: hsl(var(--primary)); }
.story-excerpt {
    font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.story-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: hsl(var(--muted-foreground));
}
.story-meta-item { display: inline-flex; align-items: center; gap: 0.25rem; }

/* ===== Age groups ===== */
.age-groups {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
    max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .age-groups { grid-template-columns: repeat(3, 1fr); } }

.age-card {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    padding: 2rem; text-align: center; cursor: pointer;
    background: hsl(var(--card)); border: 2px solid hsl(var(--border));
    border-radius: var(--radius); transition: all 0.3s ease;
    animation: scaleIn 0.4s ease-out both;
}
.age-card:hover { border-color: hsl(var(--primary)); box-shadow: var(--shadow-glow); }
.age-icon {
    width: 4rem; height: 4rem; border-radius: 50%;
    background: hsl(var(--muted));
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s;
}
.age-card:hover .age-icon { transform: scale(1.1); }
.age-title { font-family: var(--font-nunito); font-size: 1.5rem; font-weight: 700; transition: color 0.3s; }
.age-card:hover .age-title { color: hsl(var(--primary)); }
.age-description { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0.25rem 0 0.5rem; }
.age-count { font-size: 0.75rem; font-weight: 600; color: hsl(var(--primary)); }
.text-purple { color: #a855f7; }
.text-pink { color: #ec4899; }
.text-orange { color: #f97316; }

/* ===== Footer ===== */
.footer { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); padding: 3rem 0; }
.footer-content {
    display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-content { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand { max-width: 28rem; }
.footer-logo { font-family: var(--font-nunito); font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.footer-description { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.footer-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.footer-col-title { font-family: var(--font-nunito); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color 0.2s; }
.footer-col a:hover { color: hsl(var(--primary)); }

.footer-bottom {
    padding-top: 2rem; border-top: 1px solid hsl(var(--border));
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
    font-size: 0.875rem; color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.made-with { display: inline-flex; align-items: center; gap: 0.25rem; }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* ===== Category page ===== */
.cat-hero { position: relative; padding: 7rem 0 3rem; overflow: hidden; }
.cat-hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); opacity: 0.1; pointer-events: none; }
.cat-back {
    position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem;
    transition: color 0.2s;
}
.cat-back:hover { color: hsl(var(--primary)); }
.cat-head { position: relative; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; animation: fadeIn 0.6s ease-out; }
.cat-head-icon {
    width: 5rem; height: 5rem; border-radius: 1.5rem;
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: var(--shadow-glow); flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}
.cat-head h1 { font-family: var(--font-nunito); font-size: 2.25rem; font-weight: 800; line-height: 1.1; }
@media (min-width: 768px) { .cat-head h1 { font-size: 3rem; } }
.cat-head p { color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }

.cat-search {
    position: relative; max-width: 42rem;
    background: hsl(var(--card)); border-radius: 1rem; box-shadow: var(--shadow-card);
    padding: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
    animation: scaleIn 0.3s ease-out;
}
.cat-search .icon { margin-left: 0.75rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.cat-search input {
    flex: 1; border: 0; background: transparent; outline: none;
    font-size: 1rem; padding: 0.5rem; font-family: var(--font-opensans);
    color: hsl(var(--foreground));
}

.cat-filters { padding: 0 0 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem; border-radius: 9999px;
    border: 2px solid hsl(var(--border)); background: hsl(var(--card));
    font-family: var(--font-opensans); font-weight: 600; font-size: 0.875rem;
    color: hsl(var(--foreground)); cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.chip.active {
    background: var(--gradient-primary); color: hsl(var(--primary-foreground));
    border-color: transparent; box-shadow: var(--shadow-glow);
}

.cat-results-title { font-family: var(--font-nunito); font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; }
.cat-results-title .muted { color: hsl(var(--muted-foreground)); font-weight: 400; font-size: 1.125rem; }
.cat-empty { text-align: center; padding: 5rem 1rem; background: hsl(var(--muted) / 0.3); border-radius: 1rem; color: hsl(var(--muted-foreground)); }

/* ===== Article page ===== */
.art-hero { position: relative; padding: 7rem 0 3rem; overflow: hidden; }
.art-hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); opacity: 0.1; pointer-events: none; }
.art-grid {
    position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
    max-width: 72rem; margin: 0 auto;
}
@media (min-width: 768px) { .art-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.art-badge {
    display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px;
    background: var(--gradient-primary); color: hsl(var(--primary-foreground));
    font-family: var(--font-opensans); font-weight: 600; font-size: 0.75rem;
    margin-bottom: 1rem;
}
.art-title {
    font-family: var(--font-nunito); font-weight: 800; font-size: 2.5rem; line-height: 1.1;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .art-title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .art-title { font-size: 4rem; } }
.art-author { font-size: 1.125rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.art-meta-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.art-meta-item svg { color: hsl(var(--primary)); }

.art-cover-wrap { position: relative; }
.art-cover-glow {
    position: absolute; inset: 0; background: var(--gradient-primary);
    border-radius: 1.5rem; filter: blur(48px); opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}
.art-cover {
    position: relative; width: 100%; height: 20rem; object-fit: cover;
    border-radius: 1.5rem; box-shadow: var(--shadow-glow);
    border: 4px solid hsl(var(--card));
}
@media (min-width: 768px) { .art-cover { height: 24rem; } }

.art-body-section { padding: 3rem 0; }
@media (min-width: 768px) { .art-body-section { padding: 4rem 0; } }
.art-body {
    max-width: 48rem; margin: 0 auto;
    background: hsl(var(--card)); border: 2px solid hsl(var(--border));
    border-radius: 1.5rem; box-shadow: var(--shadow-card);
    padding: 2rem;
}
@media (min-width: 768px) { .art-body { padding: 3rem; } }
.art-prose { font-family: var(--font-opensans); font-size: 1.125rem; line-height: 1.75; color: hsl(var(--foreground)); }
.art-prose p { margin-bottom: 1.25rem; }
.art-lead { font-family: var(--font-nunito); font-weight: 700; font-size: 1.25rem; color: hsl(var(--primary)); }
.art-moral {
    font-family: var(--font-nunito); font-weight: 700; font-size: 1.25rem;
    color: hsl(var(--secondary)); padding-top: 1.5rem; margin-top: 1.5rem;
    border-top: 2px solid hsl(var(--border));
}

.art-related-section { padding: 3rem 0; background: hsl(var(--muted) / 0.3); }
@media (min-width: 768px) { .art-related-section { padding: 4rem 0; } }
.art-related-head { margin-bottom: 2.5rem; animation: fadeIn 0.6s ease-out; }
.art-related-head h2 { font-family: var(--font-nunito); font-weight: 800; font-size: 2rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .art-related-head h2 { font-size: 2.5rem; } }
.art-related-head p { color: hsl(var(--muted-foreground)); }

/* ===== Universal Content Page ===== */
.page-hero { position: relative; padding: 7rem 0 4rem; overflow: hidden; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; background: var(--gradient-hero); opacity: 0.1; pointer-events: none; }
.page-hero-blob { position: absolute; width: 18rem; height: 18rem; border-radius: 9999px; filter: blur(60px); opacity: 0.25; pointer-events: none; animation: float 3s ease-in-out infinite; }
.page-hero-blob.b1 { top: -5rem; right: -5rem; background: var(--gradient-primary); }
.page-hero-blob.b2 { bottom: -5rem; left: -5rem; background: var(--gradient-secondary); animation-delay: 1.5s; }
.page-hero .container { position: relative; }
.page-title { font-family: var(--font-nunito); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; margin: 0 0 1rem; animation: fadeIn 0.6s ease-out; }
.page-subtitle { font-family: var(--font-opensans); font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; animation: fadeIn 0.6s ease-out; }
@media (min-width: 768px) { .page-subtitle { font-size: 1.25rem; } }

.page-body-section { padding: 3rem 0 4rem; }
@media (min-width: 768px) { .page-body-section { padding: 4rem 0 5rem; } }
.page-card { max-width: 48rem; margin: 0 auto; background: hsl(var(--card)); border: 2px solid hsl(var(--border)); border-radius: 1.5rem; box-shadow: var(--shadow-card); padding: 2rem; animation: scaleIn 0.3s ease-out; }
@media (min-width: 768px) { .page-card { padding: 3rem; } }

.page-prose { font-family: var(--font-opensans); font-size: 1rem; line-height: 1.75; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .page-prose { font-size: 1.125rem; } }
.page-prose h2 { font-family: var(--font-nunito); font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
@media (min-width: 768px) { .page-prose h2 { font-size: 1.875rem; } }
.page-prose h2:first-child { margin-top: 0; }
.page-prose h2.c1 { color: hsl(var(--primary)); }
.page-prose h2.c2 { color: hsl(var(--secondary)); }
.page-prose h2.c3 { color: hsl(var(--accent)); }
.page-prose p { margin: 0 0 1.25rem; }
.page-prose ul { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.page-prose ul li { list-style: disc; margin-bottom: 0.5rem; }
.page-prose .page-final { color: hsl(var(--primary)); font-weight: 600; font-family: var(--font-nunito); font-size: 1.125rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 2px solid hsl(var(--border)); }
.page-prose .page-final.alt { color: hsl(var(--secondary)); }
.page-prose .muted { color: hsl(var(--muted-foreground)); }

/* Contact cards */
.contact-grid { display: grid; gap: 1rem; margin: 1rem 0 2rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: hsl(var(--muted) / 0.4); border: 1px solid hsl(var(--border)); border-radius: 1rem; padding: 1.25rem; }
.contact-card-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.contact-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.contact-icon.g1 { background: var(--gradient-primary); }
.contact-icon.g2 { background: var(--gradient-secondary); }
.contact-card h3 { font-family: var(--font-nunito); font-weight: 700; font-size: 1.125rem; margin: 0; }
.contact-card a { color: hsl(var(--primary)); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
