/* Dark beam footer (layout 11). */
.wise-footer-beam {
    --wfb-bg: #000;
    --wfb-text: #fff;
    --wfb-muted: #9ca3af;
    --wfb-dim: #6b7280;
    --wfb-line: rgba(255, 255, 255, 0.1);
    --wfb-soft: rgba(255, 255, 255, 0.05);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--wfb-bg);
    color: var(--wfb-text);
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--wfb-line);
    font-family: var(--wise-font-body, ui-sans-serif, system-ui, sans-serif);
}

.wise-footer-beam a {
    color: inherit;
    text-decoration: none;
}

.wise-footer-beam .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wise-footer-beam__bg,
.wise-footer-beam__lines,
.wise-footer-beam__shimmer {
    pointer-events: none;
}

.wise-footer-beam__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.wise-footer-beam__blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(100px);
    opacity: 0.3;
    animation: wise-footer-blob 7s infinite;
}

.wise-footer-beam__blob--a {
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgb(88 28 135 / 0.2);
}

.wise-footer-beam__blob--b {
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgb(30 58 138 / 0.2);
    animation-delay: 2s;
}

.wise-footer-beam__blob--c {
    bottom: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: rgb(49 46 129 / 0.1);
    animation-delay: 4s;
}

.wise-footer-beam__lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    overflow: hidden;
    opacity: 0.3;
    user-select: none;
}

@media (min-width: 768px) {
    .wise-footer-beam__lines {
        padding: 0 6rem;
    }
}

.wise-footer-beam__line {
    position: relative;
    width: 1px;
    height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.wise-footer-beam__line--sm,
.wise-footer-beam__line--md {
    display: none;
}

@media (min-width: 640px) {
    .wise-footer-beam__line--sm {
        display: block;
    }
}

@media (min-width: 768px) {
    .wise-footer-beam__line--md {
        display: block;
    }
}

.wise-footer-beam__pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    opacity: 0.5;
    background: linear-gradient(to bottom, transparent, #fff);
    animation: wise-footer-beam 1.5s linear infinite;
}

.wise-footer-beam__shimmer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.wise-footer-beam__inner {
    position: relative;
    z-index: 2;
    width: min(80rem, calc(100% - 3rem));
    margin: 0 auto;
}

.wise-footer-beam__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.wise-footer-beam__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--wfb-text);
    line-height: 0;
}

.wise-footer-beam__logo img,
.wise-footer-beam__logo .custom-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 12rem;
    object-fit: contain;
}

.wise-footer-beam__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #fff;
    color: #000;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.wise-footer-beam__name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.wise-footer-beam__tagline {
    margin: 0;
    max-width: 28rem;
    color: var(--wfb-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

.wise-footer-beam__socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.wise-footer-beam__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--wfb-line);
    background: var(--wfb-soft);
    color: var(--wfb-muted);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.wise-footer-beam__social svg {
    width: 0.95rem;
    height: 0.95rem;
}

.wise-footer-beam__social:hover,
.wise-footer-beam__social:focus-visible {
    background: #fff;
    color: #000;
    transform: translateY(-4px);
}

.wise-footer-beam__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-top: 4rem;
    border-top: 1px solid var(--wfb-line);
}

@media (min-width: 768px) {
    .wise-footer-beam__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wise-footer-beam__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.wise-footer-beam__heading {
    margin: 0 0 1.5rem;
    color: var(--wfb-text);
    font-size: 1rem;
    font-weight: 700;
}

.wise-footer-beam__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.wise-footer-beam__list a {
    color: var(--wfb-muted);
    transition: color 0.2s ease;
}

.wise-footer-beam__list a:hover,
.wise-footer-beam__list a:focus-visible {
    color: var(--wfb-text);
}

.wise-footer-beam__blog {
    display: block;
    margin-bottom: 1rem;
}

.wise-footer-beam__blog:last-child {
    margin-bottom: 0;
}

.wise-footer-beam__blog-title {
    margin: 0;
    color: #e5e7eb;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.wise-footer-beam__blog:hover .wise-footer-beam__blog-title,
.wise-footer-beam__blog:focus-visible .wise-footer-beam__blog-title {
    color: #60a5fa;
}

.wise-footer-beam__meta {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.75rem;
}

.wise-footer-beam__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wfb-line);
    text-align: center;
}

@media (min-width: 768px) {
    .wise-footer-beam__bottom {
        flex-direction: row;
        text-align: left;
    }
}

.wise-footer-beam__copy {
    margin: 0;
    color: var(--wfb-dim);
    font-size: 0.875rem;
}

.wise-footer-beam__legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wise-footer-beam__legal a {
    color: var(--wfb-dim);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.wise-footer-beam__legal a:hover,
.wise-footer-beam__legal a:focus-visible {
    color: var(--wfb-text);
}

@keyframes wise-footer-beam {
    0% {
        top: -20%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes wise-footer-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wise-footer-beam__blob {
        animation: none;
    }

    .wise-footer-beam__pulse {
        animation: none;
        display: none;
    }

    .wise-footer-beam__social {
        transition: none;
    }
}
