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

html {
    background-color: #0a0e1a;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    background:
        radial-gradient(
            ellipse 130% 100% at center top,
            rgba(28, 36, 56, 0.6) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 140% 100% at center bottom,
            rgba(8, 12, 22, 0.9) 0%,
            transparent 70%
        ),
        #0a0e1a;
    line-height: 1.65;
    font-weight: 300;
    letter-spacing: 0.01em;
}

@keyframes appearSoft {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 2;
    animation: appearSoft 0.9s ease-out 0.1s backwards;
}

.brand-link {
    display: block;
    line-height: 0;
    transition: opacity 0.2s;
}

.brand-link:hover {
    opacity: 0.8;
}

.brand-link img {
    height: 44px;
    width: auto;
    display: block;
}

.back-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: #fff;
}

.back-link::before {
    content: '←';
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.back-link:hover::before {
    transform: translateX(-3px);
}

main.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    position: relative;
    z-index: 1;
    animation: appearSoft 1.2s ease-out 0.3s backwards;
}

main.article h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.article-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0.55;
    margin-bottom: 4rem;
    font-weight: 400;
}

main.article h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

main.article p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

main.article p:last-child {
    margin-bottom: 0;
}

main.article strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

main.article a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s, color 0.2s;
}

main.article a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

main.article em {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.contact-block {
    background: rgba(255, 255, 255, 0.04);
    border-left: 2px solid rgba(255, 255, 255, 0.25);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.contact-block p {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-block .role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}

.page-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    animation: appearSoft 1.2s ease-out 0.5s backwards;
}

.page-footer nav {
    display: flex;
    gap: 1.75rem;
}

.page-footer a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.2s;
}

.page-footer a:hover {
    color: #fff;
}

.page-footer a.current {
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.25rem 1.5rem;
    }

    .brand-link img {
        height: 36px;
    }

    .back-link {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }

    main.article {
        padding: 2.5rem 1.5rem 4rem;
    }

    main.article h1 {
        font-size: clamp(2.75rem, 13vw, 4.5rem);
    }

    .article-subtitle {
        margin-bottom: 2.5rem;
        font-size: 0.72rem;
    }

    main.article h2 {
        font-size: 0.78rem;
        margin-top: 2.25rem;
    }

    main.article p {
        font-size: 0.9rem;
    }

    .page-footer {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .page-footer nav {
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
