.footer {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-text-primary);
    overflow-x: clip;
    background:
        linear-gradient(
            to top,
            transparent 0%,
            transparent 85%,
            color-mix(in srgb, var(--color-system-yellow) 8%, var(--color-bg))
                100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            transparent 85%,
            color-mix(in srgb, var(--color-system-blue) 8%, var(--color-bg))
                100%
        ),
        var(--color-bg);
    border-top: 1px solid var(--color-separator-light);
}

.footer-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.footer-content {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.footer-logo {
    width: 100px;
    height: 100px;
}

.footer-title {
    margin: var(--space-8) 0 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

.footer .btn-pill {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-body);
    gap: var(--space-2);
}

.footer-tagline {
    margin: calc(var(--space-4) * -1) 0 var(--space-16);
    font-size: var(--text-title-1);
    font-weight: var(--weight-regular);
    color: var(--color-text-secondary);
}

.download-cta-bullets {
    list-style: none;
    margin: var(--space-2) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.download-cta-bullets li {
    font-size: var(--text-callout);
    font-weight: var(--weight-medium);
    color: var(--color-text-primary);
    line-height: var(--leading-snug);
    padding-left: calc(var(--space-5));
    position: relative;
}

.download-cta-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8 l3.5 3.5 L13 4' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>")
        no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8 l3.5 3.5 L13 4' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>")
        no-repeat center / contain;
    color: var(--color-system-green);
    background: var(--color-system-green);
}

.footer-macbook {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    width: 100%;
    max-width: 780px;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
    right: -160px;
    position: relative;
    top: 40px;
}

.footer-colophon {
    position: absolute;
    left: 50%;
    bottom: var(--space-6);
    transform: translateX(-50%);
    margin: 0;
    text-align: center;
    font-size: var(--text-footnote);
    color: var(--color-text-secondary);
    z-index: 3;
}

.footer-colophon a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-colophon a:hover,
.footer-colophon a:focus-visible {
    color: var(--color-text-primary);
}

@media (max-width: 900px) {
    .footer-tagline {
        font-size: var(--text-title-3);
    }

    .footer-title {
        font-size: var(--text-large-title);
        margin-top: var(--space-6);
    }
}
