.shared-site-footer {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #fff;
    background-color: #1e3a8a;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.shared-site-footer *,
.shared-site-footer *::before,
.shared-site-footer *::after {
    box-sizing: border-box;
}

.shared-site-footer > div {
    width: 100%;
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.shared-site-footer > div > .grid {
    display: grid;
    gap: 2rem;
}

.shared-site-footer h3 {
    margin: 0 0 1rem;
    color: #73b4ff;
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.75rem;
}

.shared-site-footer p {
    margin-top: 0;
}

.shared-site-footer a {
    color: inherit;
    text-decoration: none;
    transition: all .3s ease;
}

.shared-site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shared-site-footer .text-blue-100 {
    color: #dbeafe;
}

.shared-site-footer .text-blue-100:hover,
.shared-site-footer .text-white:hover {
    color: #fff;
}

.shared-site-footer input {
    min-width: 0;
    color: #374151;
    background: #fff;
    border: 0;
    font-family: "Montserrat", sans-serif;
}

.shared-site-footer button {
    color: #fff;
    background: #1d4ed8;
    border: 0;
    cursor: pointer;
}

.shared-site-footer button:hover {
    background: #2563eb;
}

.shared-site-footer .border-blue-800 {
    border-color: #1e40af;
}

@media (min-width: 768px) {
    .shared-site-footer > div > .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.footer-credit {
    margin-top: .5rem;
    font-size: .9rem;
    opacity: .9;
}

.footer-credit .code-link {
    position: relative;
    color: #73fbd3;
    font-family: "Courier New", monospace;
    font-weight: 600;
    text-decoration: none;
}

.footer-credit .code-link-inner {
    position: relative;
    display: inline-block;
    min-width: 18ch;
    white-space: nowrap;
    text-align: left;
    text-shadow: 0 0 4px rgba(0, 255, 180, .4);
    animation: footer-credit-glow 3s ease-in-out infinite;
}

@keyframes footer-credit-glow {
    0%, 100% { text-shadow: 0 0 4px rgba(0, 255, 180, .3); }
    50% { text-shadow: 0 0 10px rgba(0, 255, 180, .9); }
}

@media (prefers-reduced-motion: reduce) {
    .footer-credit .code-link-inner { animation: none; }
}
