html {
    overflow-x: clip;
}

.xewex-site-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.xewex-menu-open {
    overflow: hidden;
}

body[class*="xewex-"] {
    overflow-x: clip;
}

.xewex-site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: rgba(15, 17, 22, .78);
    border-bottom: 1px solid rgba(160, 170, 180, .06);
    backdrop-filter: blur(20px);
    transition: padding .35s ease, background .35s ease, transform .35s ease;
}

body.admin-bar .xewex-site-header {
    top: 32px;
}

.xewex-site-header.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    background: rgba(15, 17, 22, .94);
}

.xewex-site-header.hide {
    transform: translateY(-100%);
}

.xewex-site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 12px;
    align-items: center;
    padding: 4px 6px 4px 4px;
    color: #e8ecf0;
    line-height: 1;
    text-decoration: none;
    border-radius: 14px;
    transition: transform .3s cubic-bezier(.23, 1, .32, 1);
}

.xewex-site-logo:hover {
    color: #e8ecf0;
    transform: translateY(-1px);
}

.xewex-site-logo:focus-visible {
    outline: 2px solid rgba(232, 236, 240, .6);
    outline-offset: 2px;
}

.xewex-site-logo__avatar {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    background: radial-gradient(circle at 35% 30%, #b8c4d0, #6a7a8a 60%, #3a4652 100%);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 6px rgba(0, 0, 0, .3), 0 0 20px rgba(106, 122, 138, .25), 0 0 40px rgba(106, 122, 138, .1);
    transition: box-shadow .4s ease, transform .4s ease;
}

.xewex-site-logo:hover .xewex-site-logo__avatar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 6px rgba(0, 0, 0, .3), 0 0 30px rgba(160, 180, 200, .4), 0 0 60px rgba(106, 122, 138, .15);
    transform: scale(1.04);
}

.xewex-site-logo__avatar svg {
    display: block;
    width: 100%;
    height: 100%;
}

.xewex-site-logo__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.xewex-site-logo__wordmark {
    color: #e8ecf0;
    font-family: "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.xewex-site-logo__wordmark span {
    color: #8a9aaa;
}

.xewex-site-logo__tagline {
    color: rgba(160, 170, 180, .5);
    font-family: "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.xewex-site-header__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.xewex-site-account {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #e8ecf0;
    text-decoration: none;
    background: rgba(160, 170, 180, .04);
    border: 1px solid rgba(160, 170, 180, .08);
    border-radius: 50%;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.xewex-site-account:hover,
.xewex-site-account.is-active {
    color: #e8ecf0;
    background: rgba(232, 236, 240, .09);
    border-color: rgba(232, 236, 240, .18);
}

.xewex-site-account:hover {
    transform: translateY(-1px);
}

.xewex-site-account:focus-visible {
    outline: 2px solid rgba(232, 236, 240, .7);
    outline-offset: 3px;
}

.xewex-site-account svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.xewex-site-menu {
    display: flex;
    gap: 2px;
    align-items: center;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: rgba(160, 170, 180, .04);
    border: 1px solid rgba(160, 170, 180, .06);
    border-radius: 999px;
}

.xewex-site-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xewex-site-menu a {
    display: block;
    padding: 10px 16px;
    color: rgba(200, 210, 220, .58);
    font-family: "SF Mono", "Roboto Mono", Menlo, monospace;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 999px;
    transition: color .25s ease, background .25s ease;
}

.xewex-site-menu a:hover,
.xewex-site-menu .current-menu-item > a,
.xewex-site-menu .current_page_item > a {
    color: #e8ecf0;
    background: rgba(232, 236, 240, .08);
}

.xewex-site-menu-toggle {
    position: relative;
    z-index: 1002;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.xewex-site-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #e8ecf0;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.xewex-site-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.xewex-site-menu-toggle.active span:nth-child(2) { opacity: 0; }
.xewex-site-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.xewex-site-footer {
    position: relative;
    z-index: 2;
    padding: 96px 0 0;
    color: #e8ecf0;
    background: linear-gradient(180deg, #0f1116 0%, #0a0c10 100%);
    border-top: 1px solid rgba(160, 170, 180, .06);
}

.xewex-site-footer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(60%, 800px);
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(200, 210, 220, .15), transparent);
    transform: translateX(-50%);
}

.xewex-site-footer__container {
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
}

.xewex-site-footer__top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 72px;
}

.xewex-site-footer__brand {
    max-width: 380px;
}

.xewex-site-footer__brand > .xewex-site-logo {
    margin-bottom: 22px;
    padding-left: 0;
}

.xewex-site-footer__brand > p,
.xewex-site-footer__newsletter p {
    margin: 0;
    color: rgba(200, 210, 220, .5);
    font-family: Inter, sans-serif;
    font-size: .95rem;
    line-height: 1.75;
}

.xewex-site-footer__brand > p {
    margin-bottom: 24px;
}

.xewex-site-footer__socials {
    display: flex;
    gap: 10px;
}

.xewex-site-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(200, 210, 220, .55);
    text-decoration: none;
    background: rgba(160, 170, 180, .04);
    border: 1px solid rgba(160, 170, 180, .06);
    border-radius: 12px;
    transition: .3s ease;
}

.xewex-site-footer__socials a:hover {
    color: #e8ecf0;
    background: rgba(232, 236, 240, .08);
    border-color: rgba(232, 236, 240, .15);
    transform: translateY(-2px);
}

.xewex-site-footer__socials svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.xewex-site-footer__column h4,
.xewex-site-footer__newsletter h4 {
    margin: 0 0 24px;
    color: rgba(200, 210, 220, .4);
    font-family: "SF Mono", monospace;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.xewex-site-footer__column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xewex-site-footer__column li {
    margin: 0;
    padding: 0;
}

.xewex-site-footer__column a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: rgba(200, 210, 220, .65);
    font-family: Inter, sans-serif;
    font-size: .95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color .25s ease;
}

.xewex-site-footer__column a:hover {
    color: #e8ecf0;
}

.xewex-site-footer__newsletter {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 72px;
    padding: 32px 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008));
    border: 1px solid rgba(160, 170, 180, .06);
    border-radius: 20px;
}

.xewex-site-footer__newsletter h4 {
    margin-bottom: 6px;
    color: #e8ecf0;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    text-transform: none;
}

.xewex-site-footer__newsletter form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.xewex-site-footer__newsletter input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    color: #e8ecf0;
    font-family: Inter, sans-serif;
    font-size: .95rem;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(160, 170, 180, .08);
    border-radius: 999px;
    outline: 0;
}

.xewex-site-footer__newsletter input:focus {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(232, 236, 240, .25);
    box-shadow: 0 0 0 4px rgba(232, 236, 240, .03);
}

.xewex-site-footer__newsletter input[aria-invalid="true"] {
    border-color: rgba(220, 100, 100, .7);
}

.xewex-site-footer__newsletter button {
    flex: 0 0 auto;
    padding: 14px 28px;
    color: #0f1116;
    font-family: "SF Mono", monospace;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    background: #e8ecf0;
    border: 0;
    border-radius: 999px;
    transition: .25s ease;
}

.xewex-site-footer__newsletter button:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(232, 236, 240, .15);
    transform: translateY(-1px);
}

.xewex-site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    color: rgba(200, 210, 220, .4);
    font-family: "SF Mono", monospace;
    font-size: .85rem;
    border-top: 1px solid rgba(160, 170, 180, .05);
}

.xewex-site-footer__bottom b {
    color: rgba(232, 236, 240, .7);
    font-weight: 500;
}

.xewex-site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.xewex-site-footer__legal a {
    color: rgba(200, 210, 220, .4);
    text-decoration: none;
}

.xewex-site-footer__legal a:hover {
    color: #e8ecf0;
}

.xewex-site-footer__made {
    display: flex;
    gap: 8px;
    align-items: center;
}

.xewex-site-footer__made span {
    width: 6px;
    height: 6px;
    background: #a0b8a0;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(160, 184, 160, .6);
}

@media (max-width: 1180px) {
    .xewex-site-menu a {
        padding-right: 12px;
        padding-left: 12px;
        font-size: .66rem;
    }
}

@media (max-width: 960px) {
    .xewex-site-header {
        padding: 12px 22px;
    }

    .xewex-site-menu-toggle {
        display: flex;
    }

	.xewex-site-header__actions {
		gap: 4px;
	}

    .xewex-site-menu {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: none;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100dvh;
        padding: 96px 22px 36px;
        overflow-y: auto;
        background: rgba(15, 17, 22, .985);
        border: 0;
        border-radius: 0;
        backdrop-filter: blur(20px);
    }

    .xewex-site-menu.open {
        display: flex;
    }

    .xewex-site-menu li,
    .xewex-site-menu a {
        width: 100%;
    }

    .xewex-site-menu a {
        padding: 17px 18px;
        font-size: .95rem;
        background: rgba(255, 255, 255, .02);
        border: 1px solid rgba(160, 170, 180, .06);
        border-radius: 14px;
    }

    .xewex-site-footer {
        padding-top: 72px;
    }

    .xewex-site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        margin-bottom: 52px;
    }

    .xewex-site-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .xewex-site-footer__newsletter {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 52px;
        padding: 24px;
    }

    .xewex-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 782px) {
    body.admin-bar .xewex-site-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .xewex-site-header {
        padding: 10px 18px;
    }

    .xewex-site-logo__avatar {
        width: 38px;
        height: 38px;
    }

    .xewex-site-logo__wordmark {
        font-size: 1.3rem;
    }

    .xewex-site-logo__tagline {
        display: none;
    }

	.xewex-site-account {
		width: 40px;
		height: 40px;
	}

    .xewex-site-footer__container {
        width: min(100% - 36px, 1380px);
    }

    .xewex-site-footer__top {
        grid-template-columns: 1fr;
    }

    .xewex-site-footer__brand {
        grid-column: auto;
    }

    .xewex-site-footer__newsletter form {
        flex-direction: column;
        align-items: stretch;
    }

    .xewex-site-footer__newsletter button {
        width: 100%;
    }

    .xewex-site-footer__bottom {
        padding-bottom: 96px;
    }
}
