/*
 * landing/css/end.css
 *
 * Closing sections of the page — contribute CTA and footer.
 * Deliberately quiet compared to the hero: the page is ending,
 * this is the chord that fades out. Lower contrast, smaller type,
 * tighter spacing.
 */

.contribute {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    z-index: 1;
}

.contribute-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contribute-eyebrow {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.75rem;
    color: rgba(var(--purple-3), 1);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.contribute-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contribute-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contribute-desc .accent {
    background: linear-gradient(135deg,
        rgba(var(--purple-3), 1),
        rgba(var(--purple-1), 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 2rem 4rem;
    border-top: 1px solid rgba(var(--purple-1), 0.1);
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-brand svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 6px rgba(var(--purple-1), 0.4));
}

.footer-brand span {
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 150ms;
}

.footer-links a:hover {
    color: rgba(var(--purple-3), 1);
}

.footer-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

.footer-meta a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 150ms, color 150ms;
}

.footer-meta a:hover {
    color: rgba(var(--purple-3), 1);
    border-color: rgba(var(--purple-3), 0.5);
}

/* Toast — confirms clipboard copies. Shared with copy-command.js. */
.toast {
    position: fixed;
    bottom: max(2rem, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    padding: 0.875rem 1.25rem;
    background: rgba(16, 16, 24, 0.9);
    border: 1px solid rgba(var(--purple-1), 0.35);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: #ffffff;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms;
    opacity: 0;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast svg {
    width: 16px;
    height: 16px;
    color: rgba(16, 185, 129, 1);
}

@media (max-width: 767px) {
    .contribute { padding: 4rem 1.25rem; }
    .footer { padding: 2.5rem 1.25rem 3rem; }
    .footer-links { gap: 0.5rem 1.25rem; }
}
