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

:root {
    --bg: #080b10;
    --bg2: #0d1117;
    --surface: #141c27;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8edf5;
    --muted: #8b96a7;
    --accent: #e8ff47;
    --accent2: #47c8ff;
    --font-head: "Sora", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at 15% -20%, #1f2a3d 0, transparent 35%),
        radial-gradient(circle at 95% 0%, #28352d 0, transparent 30%), var(--bg);
    line-height: 1.7;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #080b10;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    z-index: 200;
    text-decoration: none;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    height: 68px;
}

.nav-logo img {
    width: 200px;
    max-width: 40vw;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
}

.nav-cta {
    background: var(--accent);
    color: #080b10 !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 9px 16px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--text);
    border-radius: 99px;
}

main {
    padding: 44px 5% 80px;
}

.blog-hero {
    max-width: 920px;
    margin: 18px auto 34px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    background: rgba(71, 200, 255, 0.13);
    border: 1px solid rgba(71, 200, 255, 0.2);
    color: var(--accent2);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.8vw, 3.7rem);
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.blog-hero p {
    color: var(--muted);
    max-width: 730px;
    margin: 0 auto;
}

.post-grid {
    max-width: 1100px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.teaser {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
}

.teaser h2 {
    font-size: 1.2rem;
    margin-bottom: 9px;
}

.teaser p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 13px;
}

.teaser a,
.inline-cta,
.cta-button {
    color: #080b10;
    background: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 14px;
    display: inline-block;
}

.post-read {
    margin-left: 10px;
    color: var(--accent2);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.post-read:hover {
    text-decoration: underline;
}

.posts {
    max-width: 920px;
    margin: 24px auto;
    display: grid;
    gap: 18px;
}

.post {
    background: rgba(20, 28, 39, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.post .meta {
    color: var(--accent2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.post h2 {
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    margin-bottom: 12px;
}

.post p,
.post ul {
    color: var(--muted);
}

.post ul {
    margin: 8px 0 12px 20px;
}

.bottom-cta {
    max-width: 920px;
    margin: 30px auto 0;
    text-align: center;
    border: 1px solid var(--border);
    background: linear-gradient(
        130deg,
        rgba(71, 200, 255, 0.08),
        rgba(232, 255, 71, 0.08)
    );
    border-radius: 18px;
    padding: 30px;
}

.bottom-cta p {
    color: var(--muted);
    margin: 10px 0 16px;
}

.topic-pipeline {
    max-width: 920px;
    margin: 24px auto 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(20, 28, 39, 0.75);
    padding: 24px;
}

.topic-pipeline h2 {
    margin-bottom: 12px;
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
}

.topic-pipeline ol {
    margin-left: 20px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

footer {
    border-top: 1px solid var(--border);
    padding: 24px 5% 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

footer p {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

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

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

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        background: rgba(8, 11, 16, 0.98);
        border-bottom: 1px solid var(--border);
        transition: max-height 0.22s ease;
    }

    .nav-links.open {
        max-height: 320px;
    }

    .nav-links li {
        width: 100%;
        border-top: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 5%;
    }

    .nav-links .nav-cta {
        margin: 10px 5% 14px;
        width: calc(100% - 10%);
        text-align: center;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-read {
        display: inline-block;
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    main {
        padding-top: 28px;
    }

    .post,
    .teaser,
    .bottom-cta {
        padding: 20px;
    }
}
