:root {
    --bg-main: #020617;
    --bg-elevated: rgba(15, 23, 42, 0.96);
    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.12);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --max-width: 860px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: LatoWeb;
    background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #000 100%);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #facc15, #f97316 45%, #0f172a 100%);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text span:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-text span:last-child {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.1rem 3rem;
}

.article-container {
    background: var(--bg-elevated);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
    padding: 1.4rem 1.3rem 1.4rem;
}

.article-header {
    margin-bottom: 1rem;
}

.article-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.article-title {
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    line-height: 1.2;
    margin: 0.1rem 0 0.4rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.meta-dot {
    opacity: 0.5;
}

.article-content {
    margin-top: 1rem;
    font-size: 0.96rem;
}

.article-content p {
    margin: 0.4rem 0 1rem;
}

.article-content h2 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.6rem;
}

.article-content h3 {
    font-size: 1.05rem;
    margin: 1.1rem 0 0.5rem;
}

.article-content ul {
    margin: 0.1rem 0 1rem 1.1rem;
    padding: 0;
}

.article-content li {
    margin-bottom: 0.35rem;
}

.highlight-box {
    border-radius: 14px;
    border: 1px dashed var(--border-subtle);
    background: var(--accent-soft);
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-link-main {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-link-main a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(250, 204, 21, 0.9);
    text-underline-offset: 3px;
}

footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.1rem 1.1rem 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

footer p {
    margin: 0 0 0.4rem;
}

footer strong {
    color: var(--accent);
}

@media (max-width: 640px) {
    .nav-inner {
        padding-inline: 0.9rem;
    }

    main {
        padding-inline: 0.9rem;
    }

    .article-container {
        padding: 1.1rem 1rem 1.2rem;
    }

    .article-title {
        font-size: 1.55rem;
    }
}