@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
    --bg: #f5f8fc;
    --paper: #ffffff;
    --text: #11253f;
    --muted: #536781;
    --line: #dbe5f0;
    --primary: #0066cc;
    --primary-dark: #0052a6;
    --accent: #ffb100;
    --shadow: 0 16px 38px rgba(9, 34, 68, 0.09);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 88% 10%, #e7f3ff 0%, transparent 34%), var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(38px);
    opacity: 0.6;
}

.bg-shape-one {
    width: 400px;
    height: 400px;
    background: #d9ecff;
    right: -130px;
    top: 40px;
}

.bg-shape-two {
    width: 320px;
    height: 320px;
    background: #ffe9b6;
    left: -120px;
    bottom: 60px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(8px);
    background: rgba(245, 248, 252, 0.84);
    border-bottom: 1px solid rgba(219, 229, 240, 0.8);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
}

.brand {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 18px;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
}

.page-content {
    padding: 42px 0 90px;
}

.hero {
    padding: 58px;
    border-radius: 28px;
    background: linear-gradient(125deg, #0f2f58 0%, #005fc0 65%, #1f83e8 100%);
    color: #fff;
    box-shadow: var(--shadow);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.77rem;
    opacity: 0.85;
    margin: 0 0 10px;
}

.hero h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5.4vw, 3.05rem);
    line-height: 1.15;
    max-width: 760px;
}

.hero p {
    margin-top: 18px;
    max-width: 710px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
}

.hero-cta {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 11px 16px;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
}

.btn-primary {
    color: #07223f;
    background: var(--accent);
}

.btn-outline {
    color: var(--text);
    border-color: var(--line);
    background: #fff;
}

.section {
    margin-top: 34px;
}

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

.section-head h2,
.page-head h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
}

.page-head p {
    margin-top: 12px;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.proof-grid,
.card-grid,
.social-grid,
.category-columns {
    display: grid;
    gap: 16px;
}

.proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.social-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.proof-card,
.social-card,
.category-card,
.timeline-item {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card,
.proof-card,
.category-card,
.timeline-item {
    padding: 20px;
}

.social-card {
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-card span {
    font-weight: 700;
}

.social-card small {
    color: var(--muted);
}

.proof-card h3,
.card h3,
.card h2,
.timeline-item h3,
.category-card h3 {
    margin: 0 0 10px;
    font-family: 'Sora', sans-serif;
}

.proof-card p,
.card p,
.timeline-item p {
    margin: 0;
    color: var(--muted);
}

.category-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.category-card li strong {
    display: block;
}

.category-card li span {
    color: var(--muted);
    font-size: 0.94rem;
}

.meta {
    color: #60738f;
    font-size: 0.85rem;
    margin-bottom: 9px !important;
}

.mini-tag {
    display: inline-block;
    background: #eef4fb;
    color: #294f77;
    font-size: 0.83rem;
    border-radius: 999px;
    padding: 4px 10px;
    margin-top: 8px !important;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.article-detail {
    background: var(--paper);
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(26px, 4vw, 44px);
}

.article-detail h1 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    font-size: clamp(1.9rem, 4.8vw, 2.7rem);
}

.article-lead {
    margin-top: 15px;
    color: #3f5d7e;
    font-size: 1.07rem;
}

.article-body {
    margin-top: 18px;
}

.article-body h2, .article-body h3 {
    font-family: 'Sora', sans-serif;
}

.article-body p {
    color: #223b59;
}

.article-body a {
    color: var(--primary);
}

.article-body code {
    background: #eff6ff;
    border-radius: 6px;
    padding: 1px 6px;
}

.article-body ul {
    padding-left: 22px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f0f6fc;
    margin-top: 40px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
}

.footer-wrap p {
    margin: 0;
    color: #355578;
}

.footer-actions {
    display: flex;
    gap: 10px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 0.62s ease forwards;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1020px) {
    .proof-grid,
    .card-grid,
    .social-grid,
    .category-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 20px;
        right: 20px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 14px;
        flex-direction: column;
        padding: 14px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero {
        padding: 30px 24px;
    }

    .proof-grid,
    .card-grid,
    .social-grid,
    .category-columns {
        grid-template-columns: 1fr;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
