:root {
    --bg: #050816;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --text: #e5eefb;
    --muted: #9db1d1;
    --accent: #f000ff;
    --accent-soft: #ff65ff;
    --line: rgba(255, 255, 255, 0.1);
    --card: #0d1427;
    --surface: #f8fbff;
    --surface-text: #10203f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(240, 0, 255, 0.18), transparent 25%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 30%),
        linear-gradient(180deg, #050816 0%, #08101f 45%, #0b1120 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(5, 8, 22, 0.75);
    border-bottom: 1px solid var(--line);
}

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

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.7rem, 2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.brand svg {
    height: 1.05em;
    width: auto;
    transform: translateY(0.22em);
}

.brand span:last-child {
    margin-left: -3px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.top-nav a:hover,
.top-nav a.is-active {
    color: #fff;
}

.hero {
    padding: 78px 0 56px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;
    margin: 18px 0 14px;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: linear-gradient(135deg, var(--accent), #6d28d9);
    color: #fff;
    box-shadow: 0 12px 32px rgba(240, 0, 255, 0.25);
}

.button--secondary {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 36px;
}

.highlight-card,
.status-card,
.posts-card,
.article-card,
.empty-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
}

.highlight-card {
    overflow: hidden;
}

.highlight-card__image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.highlight-card__body,
.status-card,
.posts-card,
.article-card,
.empty-card {
    padding: 24px;
}

.chip-row,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip,
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.highlight-card h2,
.article-card h1 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.highlight-card p,
.article-card__lead {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.status-card h3,
.posts-card h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.status-list {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.status-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    line-height: 1.7;
}

.status-list strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin: 42px 0 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

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

.post-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 0, 255, 0.4);
}

.post-card__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.post-card__body {
    padding: 18px;
}

.post-card__body h3 {
    margin: 12px 0 10px;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.post-card__body p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.75;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.article-wrap {
    padding: 56px 0 92px;
}

.article-card {
    max-width: 860px;
    margin: 0 auto;
}

.article-cover {
    margin: 22px 0 30px;
    border-radius: 24px;
    overflow: hidden;
}

.prose {
    color: var(--surface-text);
    background: var(--surface);
    border-radius: 24px;
    padding: 28px;
    line-height: 1.85;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #081122;
    letter-spacing: -0.04em;
    line-height: 1.14;
    margin-top: 1.8em;
    margin-bottom: 0.75em;
}

.prose h1 {
    font-size: 2rem;
}

.prose h2 {
    font-size: 1.6rem;
}

.prose h3 {
    font-size: 1.25rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
    margin: 0 0 1.1em;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose a {
    color: #6d28d9;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.prose blockquote {
    margin-left: 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 18px 18px 0;
    background: rgba(240, 0, 255, 0.08);
    color: #213457;
}

.prose pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: 18px;
    background: #09101f;
    color: #dbeafe;
}

.prose code {
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.prose p code,
.prose li code {
    padding: 0.15em 0.4em;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.08);
    color: #10203f;
}

.empty-card {
    max-width: 760px;
    margin: 72px auto;
    text-align: center;
}

.empty-card h1,
.empty-card h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.05em;
}

.empty-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 44px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer__links a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .hero-grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .top-nav {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-header__inner,
    .container {
        width: min(100% - 24px, 1160px);
    }

    .hero {
        padding-top: 54px;
    }

    .highlight-card__body,
    .status-card,
    .posts-card,
    .article-card,
    .empty-card {
        padding: 20px;
    }

    .prose {
        padding: 22px 18px;
    }
}
