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

.site-page::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.32), transparent 36%);
    pointer-events: none;
}

.ambient-shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.ambient-shape--lime {
    top: -240px;
    right: -160px;
    width: 540px;
    height: 540px;
    background: rgba(183, 217, 76, 0.78);
}

.ambient-shape--coral {
    top: 740px;
    left: -250px;
    width: 480px;
    height: 480px;
    background: rgba(241, 108, 91, 0.1);
}

.site-header,
.hero,
.catalog,
.site-footer {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.site-nav,
.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav > a,
.footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
}

.site-nav > a:hover,
.footer-nav a:hover {
    color: var(--blue);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.site-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 7px;
    border-radius: 12px;
    color: var(--canvas);
    background: var(--ink);
    box-shadow: 0 9px 22px rgba(31, 37, 34, 0.18);
}

.site-brand__mark i {
    display: block;
    border-radius: 3px;
    background: currentColor;
}

.site-brand__mark i:nth-child(2) {
    background: var(--lime);
}

.site-brand__mark i:nth-child(3) {
    background: var(--coral);
}

.site-brand__name {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.44);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.free-badge > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime-dark);
    box-shadow: 0 0 0 5px rgba(183, 217, 76, 0.2);
}

.site-footer {
    min-height: 130px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
}

.site-footer p {
    margin: 0;
}

.site-footer > .footer-nav {
    justify-self: end;
}

.site-brand--small .site-brand__mark {
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 10px;
}

.site-brand--small .site-brand__name {
    font-size: 0.66rem;
}

