:root {
    --bg-primary: #17191b;
    --bg-secondary: #111111;
    --bg-card: #1d1e20;
    --bg-card-hover: #1c1c1c;
    --text-primary: #e8e8e8;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #589635;
    --accent-dim: #1f3a14;
    --accent-border: #3e5c2f;
    --border: #2e2e30;
    --border-light: #3a3b3d;
    --font-display: 'Saira Extra Condensed';
    --font-body: 'Baloo Tamma 2', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222325;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0px 1px 3px rgb(0 0 0);
}

nav .logo {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

nav .logo span {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

nav .cta-nav {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent-border);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

nav .cta-nav:hover {
    background: var(--accent-dim);
}

/* ── HERO ── */
.hero {
    padding: 10rem 5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
}

.hero-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-reading {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 700px;
}

/* ── ARTICLE ── */
.article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 7rem 6rem;
}

.article p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 3.5rem 0 1.25rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

.article h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 2.5rem 0 0.75rem;
}

.article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--accent-border);
    transition: text-decoration-color 0.2s;
}

.article a:hover {
    text-decoration-color: var(--accent);
}

/* ── SEPARATOR ── */
.sep {
    width: 40px;
    height: 2px;
    background: var(--accent);
    opacity: 0.4;
    margin: 3.5rem 0;
    border: none;
}

/* ── TOC ── */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    margin: 2rem 0 3rem;
}

.toc-title {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
}

.toc li {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.toc li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    transition: color 0.2s;
}

.toc li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
}

.toc li a:hover {
    color: var(--text-primary);
}

/* ── KEY POINT ── */
.key-point {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary) !important;
    line-height: 1.25;
    margin: 2.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
}

/* ── SECTION ── */
.article-section {
    margin-bottom: 3rem;
}


/* ── SITUATION CARDS ── */
.situation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    transition: border-color 0.3s ease;
}

.situation-card:hover {
    border-color: var(--accent-border);
}

.situation-card .card-number,
.situation-card .situation-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.situation-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.situation-card p {
    font-size: 0.95rem;
}

.situation-card p:last-child {
    margin-bottom: 0;
}


/* ── CTA SECTION ── */
.article .cta-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.article .cta-section h2 {
    margin-top: 0;
    font-size: 2rem;
}

.article .cta-section p {
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.article .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.article .cta-button:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.article .cta-button svg {
    width: 16px;
    height: 16px;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.25rem 3rem;
    }

    .article {
        padding: 0 1.25rem 4rem;
    }

    nav {
        padding: 1rem 1.25rem;
    }

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

    .article .cta-section {
        padding: 2rem 1.5rem;
    }

    .situation-card {
        padding: 1.5rem;
    }

    .comparison-table {
        font-size: 0.82rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.65rem;
    }
}

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {

    .hero h1,
    .hero-subtitle,
    .hero-meta {
        animation: fadeUp 0.7s ease-out both;
    }

    .hero-meta {
        animation-delay: 0s;
    }

    .hero h1 {
        animation-delay: 0.1s;
    }

    .hero-subtitle {
        animation-delay: 0.2s;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(18px);
        }

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