:root {
    --color-blue: #0094cf;
    --color-blue-soft: #6ebde5;
    --color-green: #a0c32c;
    --color-green-soft: #d7e8a7;
    --color-gold: #dfb853;
    --color-gray-dark: #555555;
    --color-gray: #8f8f8f;
    --color-gray-light: #d9d9d9;
    --color-surface: rgba(255, 255, 255, 0.84);
    --color-surface-strong: rgba(255, 255, 255, 0.92);
    --color-text: #163244;
    --color-text-muted: rgba(22, 50, 68, 0.72);
    --shadow-soft: 0 24px 60px rgba(0, 73, 112, 0.12);
    --shadow-card: 0 20px 40px rgba(0, 108, 156, 0.14);
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 18px;
    --transition: 220ms ease;
}

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

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(0, 148, 207, 0.17), transparent 34%),
        radial-gradient(circle at top right, rgba(160, 195, 44, 0.18), transparent 24%),
        linear-gradient(180deg, #f6fbfe 0%, #ffffff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.page-shell__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.6;
    pointer-events: none;
    animation: drift 12s ease-in-out infinite;
}

.page-shell__glow--blue {
    top: -12rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 148, 207, 0.2);
}

.page-shell__glow--green {
    bottom: -10rem;
    left: -8rem;
    width: 22rem;
    height: 22rem;
    background: rgba(160, 195, 44, 0.16);
    animation-delay: -5s;
}

.page-shell__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 148, 207, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 195, 44, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
    pointer-events: none;
}

.site-footer {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 0 0 28px;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(22, 50, 68, 0.07);
    border-radius: 18px;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(0, 73, 112, 0.06);
    backdrop-filter: blur(14px);
}

.site-footer p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.82rem;
    font-weight: 800;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
}

.site-footer button {
    border: 0;
    padding: 0;
    color: var(--color-text-muted);
    background: transparent;
    cursor: default;
    font: 800 0.78rem "Manrope", sans-serif;
    transition: color var(--transition), transform var(--transition);
}

.site-footer button:hover {
    color: var(--accent, var(--color-blue));
    transform: translateY(-1px);
}

body:has(.workspace__layout) .site-footer {
    width: calc(100% - 270px);
    margin-left: 270px;
    padding-inline: clamp(22px, 4vw, 66px);
}

body:has(.workspace__layout) .site-footer__inner {
    max-width: 1420px;
    margin: 0 auto;
}

@media (max-width: 1180px) {
    body:has(.workspace__layout) .site-footer {
        width: calc(100% - 238px);
        margin-left: 238px;
        padding-inline: clamp(18px, 3vw, 36px);
    }
}

@media (max-width: 960px) {
    body:has(.workspace__layout) .site-footer {
        width: min(1280px, calc(100% - 32px));
        margin-inline: auto;
        padding-inline: 0;
    }
}

@media (max-width: 680px) {
    .site-footer {
        width: min(100% - 24px, 720px);
        margin-top: 20px;
        padding-bottom: 22px;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 15px 16px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, 18px, 0) scale(1.08);
    }
}
