:root {
    --section-line: rgba(255, 255, 255, .14);
    --section-muted: #aaa4b5;
    --section-accent: #9583f3;
    --section-panel: rgba(25, 25, 30, .95);
}

html {
    font-family: "Onest", "Segoe UI Variable", "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body, .content, .content :not(i), .contacts-panel, .contacts-panel :not(i), button, input, textarea, select {
    font-family: "Onest", "Segoe UI Variable", "Segoe UI", sans-serif !important;
}

body {
    background-color: #0b0710 !important;
    color: #f7f4fb;
}

.content {
    width: min(900px, 100%) !important;
    margin: 40px auto !important;
    padding: clamp(22px, 4vw, 38px) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 14px !important;
    background: var(--section-panel) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .6) !important;
}

.content h1, .content h2 {
    color: #fff;
    font-weight: 500 !important;
    letter-spacing: -.025em;
}

.content h3 {
    font-weight: 550;
}

.content p, .content li {
    line-height: 1.6;
}

.back-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #d8d3df !important;
    font-weight: 450 !important;
}

button, input, textarea, select {
    border-radius: 9px !important;
}

button {
    font-weight: 500;
}

input, textarea, select {
    border-color: var(--section-line) !important;
    background-color: #0e0b18 !important;
    color: #fff !important;
}

.contacts-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    padding: 80px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: rgba(40, 30, 60, .1) !important;
    border-left: 0 !important;
    backdrop-filter: blur(10px) !important;
    z-index: 5 !important;
    font-family: "Onest", "Segoe UI Variable", "Segoe UI", sans-serif !important;
}

.contacts-panel h3 {
    display: block !important;
    width: 100% !important;
    margin: 0 0 30px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .25) !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: 400 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    letter-spacing: 0;
    cursor: default !important;
    transition: background .2s !important;
}

.site-title {
    margin: 0 0 20px !important;
    color: #fff;
    font-family: "Onest", "Segoe UI Variable", "Segoe UI", sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: -.04em;
    animation: sectionSiteGlow 3s infinite alternate !important;
}

@keyframes sectionSiteGlow {
    0% { color: #0a0a0a; text-shadow: 0 0 5px #0a0a0a; }
    50% { color: #0044ff; text-shadow: 0 0 15px #0044ff; }
    100% { color: #66aaff; text-shadow: 0 0 5px #66aaff; }
}

.contacts-panel .icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 10px;
    background: rgba(133, 111, 230, .16);
    color: #c9bfff;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contacts-panel h3 .icon {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 6px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #bdb1f3;
    vertical-align: -.17em;
}

.contact-item:hover {
    background: rgba(255, 255, 255, .05) !important;
}

@media (min-width: 801px) {
    body {
        padding-right: 300px !important;
    }
}

@media (max-width: 800px) {
    .content {
        margin: 20px auto !important;
    }

    .contacts-panel {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 20px !important;
        padding: 30px 20px !important;
        border-top: 1px solid rgba(255, 255, 255, .15) !important;
        border-radius: 8px !important;
        background: rgba(40, 30, 60, .5) !important;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 15px !important;
    }
}
