/*
 * Site chrome for the product site: the footer. Loaded last, after the page
 * stylesheets, so it has the final word on the shared frame and nothing else.
 * Colours come from brand.css tokens; the greys are warmed to sit on DV SOFT
 * plum-black instead of the cool slate they were drawn in.
 */

body.marketing .site-footer-clean {
    --ft-text:  #e4dbea;   /* links on plum-black: 12:1 */
    --ft-muted: #b3a5bc;   /* secondary text: 7:1 */
    --ft-line:  rgba(255, 255, 255, .09);
    color: var(--ft-text);
    padding: clamp(3.25rem, 6vw, 5rem) 0 1.75rem;
    background:
        radial-gradient(38rem 18rem at 100% 0%, rgba(var(--accent-rgb), .10), transparent 70%),
        radial-gradient(30rem 16rem at 0% 100%, rgba(var(--brand-rgb), .35), transparent 70%),
        var(--brand-900);
}

body.marketing .site-footer-clean .footer-brand {
    gap: .75rem;
    margin-bottom: 1.1rem;
    font-family: var(--font-display);
    color: #fff;
}

body.marketing .site-footer-clean .footer-blurb {
    color: var(--ft-muted);
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

/* Contact lines: an icon tile, then the value. */
body.marketing .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}
body.marketing .footer-contact li {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--ft-muted);
    font-size: .93rem;
}
body.marketing .footer-contact i,
body.marketing .footer-links-icons i {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    font-size: .95rem;
    color: #f6b48c;                              /* warm orange on dark */
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--ft-line);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
body.marketing .footer-contact a {
    color: var(--ft-text);
    text-decoration: none;
}
body.marketing .footer-contact a:hover { color: #fff; }

body.marketing .site-footer-clean .footer-heading {
    color: #fff;
    letter-spacing: .12em;
    margin-bottom: 1.15rem;
}

body.marketing .footer-links-icons { gap: .6rem; }
body.marketing .footer-links-icons a {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--ft-text);
    text-decoration: none;
}
body.marketing .footer-links-icons a:hover { color: #fff; }
body.marketing .footer-links-icons a:hover i,
body.marketing .footer-links-icons a:focus-visible i {
    color: #fff;
    background: var(--accent-600);
    border-color: transparent;
    transform: translateY(-1px);
}
body.marketing .footer-links-icons i { width: 1.85rem; height: 1.85rem; font-size: .88rem; }

body.marketing .site-footer-clean .footer-bottom {
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
    border-top-color: var(--ft-line);
    color: var(--ft-muted);
    align-items: center;
}
body.marketing .site-footer-clean .footer-bottom a { color: var(--ft-muted); }
body.marketing .site-footer-clean .footer-bottom a:hover { color: #fff; }
body.marketing .footer-legal { display: inline-flex; flex-wrap: wrap; gap: .5rem; }

body.marketing .site-footer-clean a:focus-visible {
    outline: 2px solid #f6b48c;
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    body.marketing .footer-links-icons i { transition: none; }
    body.marketing .footer-links-icons a:hover i { transform: none; }
}
