:root {
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --soft: #ecfeff;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #f8fafc 60%, #eef2ff 100%);
    line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 250, 252, 0.86);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.brand img {
    width: 220px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-weight: 600;
}

.hero-shell {
    padding: 36px 0 28px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-featured {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow);
    border-radius: 30px;
    overflow: hidden;
}

.hero-copy {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
      radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 32%),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand);
}

.hero h1 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    margin: 0 0 16px;
}

.hero p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s ease;
}

.button.primary {
    background: var(--brand);
    color: #fff;
}
.button.primary:hover {
    background: var(--brand-dark);
    text-decoration: none;
}
.button.secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
}
.button.secondary:hover {
    text-decoration: none;
    border-color: #cbd5e1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.hero-stat {
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.hero-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
}

.hero-stat span {
    color: var(--muted);
    font-size: 14px;
}

.hero-featured img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hero-featured-copy {
    padding: 24px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--soft);
    color: var(--brand-dark);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
}

.section {
    padding: 22px 0 34px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
}

.section-head p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}

.article-card,
.category-card,
.cta-panel,
.article-shell,
.related-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.article-card {
    overflow: hidden;
}

.article-card img,
.related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-card-content,
.related-card-content {
    padding: 20px;
}

.article-card h3,
.related-card h3 {
    margin: 10px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.article-card p,
.related-card p,
.category-card p,
.article-intro p {
    color: var(--muted);
    margin: 0;
}

.article-card .read-more,
.related-card .read-more {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 700;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.category-card {
    padding: 22px;
}

.category-card h3 {
    margin: 12px 0 6px;
    font-size: 21px;
}

.category-count {
    font-size: 14px;
    color: var(--muted);
}

.cta-panel {
    padding: 30px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(circle at bottom left, rgba(20,184,166,.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cta-panel h3 {
    margin: 0 0 8px;
    font-size: 30px;
}

.cta-panel p {
    color: var(--muted);
    margin: 0;
}

.cta-card {
    border-radius: 22px;
    border: 1px solid var(--line);
    padding: 22px;
    background: #fff;
}

.article-hero-wrap {
    padding: 28px 0 10px;
}

.article-shell {
    overflow: hidden;
}

.article-hero {
    width: 100%;
    height: min(48vw, 500px);
    object-fit: cover;
}

.article-content-wrap {
    width: min(920px, calc(100% - 32px));
    margin: -70px auto 0;
    position: relative;
}

.article-intro {
    padding: 28px;
    margin-bottom: 0px;
}

.article-content {
    padding: 14px 28px 34px;
    font-size: 18px;
}

.article-content h2,
.article-content h3 {
    line-height: 1.2;
    margin-top: 34px;
    margin-bottom: 12px;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
    margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
}

.article-content blockquote {
    border-left: 4px solid var(--brand);
    background: #f8fafc;
    padding: 16px 18px;
    border-radius: 0 16px 16px 0;
}

.article-content a {
    text-decoration: underline;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.category-hero {
    padding: 32px 0 12px;
}

.category-banner {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 30px;
    padding: 28px;
}

.site-footer {
    margin-top: 42px;
    padding: 36px 0 50px;
    border-top: 1px solid rgba(226,232,240,.9);
    background: rgba(255,255,255,.74);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .7fr .7fr;
    gap: 20px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 8px;
}

.empty-state {
    padding: 28px;
}

@media (max-width: 1024px) {
    .hero,
    .card-grid,
    .related-grid,
    .footer-grid,
    .category-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero-featured img {
        height: 280px;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .brand img { width: 190px; }

    .hero-copy,
    .hero-featured,
    .article-intro,
    .article-content,
    .cta-panel,
    .cta-card,
    .category-banner {
        padding: 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .article-content-wrap {
        margin-top: -28px;
    }

    .article-hero {
        height: 240px;
    }
}
