/* ============================================================
   Site footer (shared by every public page outside the tool pages)
   ------------------------------------------------------------
   Same design as the footer at the foot of each tool page's
   #tool-seo section, rewritten to stand alone: it sits directly in
   <body>, so it is full width without the calc(50% - 50vw) trick
   and needs no negative margins. Explicit sizes and resets are set
   because page stylesheets style bare nav, h2, h3, ul and a.
   ============================================================ */
.site-footer {
    background: #fff;
    border-top: 1px solid #efecec;
    padding: 80px 45px 0;   /* side padding matches the global header */
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    overflow-x: clip;
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 64px;
    padding-bottom: 120px;
}
.site-footer-brand h2 {
    text-transform: uppercase;
    font-size: 2.6rem;
    line-height: 1.04;
    letter-spacing: -1.3px;
    font-weight: 800;
    color: #0a0a0a;
    max-width: 440px;
    margin: 0 0 18px;
    padding: 0;
    text-align: left;
}
.site-footer-brand h2 .site-footer-lc { text-transform: none; color: #3d3d3d; }
.site-footer-brand p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 400px;
    margin: 0 0 30px;
}
.site-footer-cta {
    display: inline-flex;
    align-items: center;
    height: 52px;
    background: #ff6154;
    color: #fff !important;
    padding: 0 30px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease;
}
.site-footer-cta:hover { background: #f04a3c; transform: translateY(-1px); }
@supports (corner-shape: squircle) {
    .site-footer-cta { border-radius: 22px; corner-shape: squircle; }
}
.site-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
    padding: 0;
    margin: 0;
    background: none;
    position: static;
    height: auto;
    box-shadow: none;
}
.site-footer-cols h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #15100f;
    margin: 0 0 36px;
    padding: 0;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer-cols li { margin: 0 0 10px; padding: 0; line-height: 1.4; }
.site-footer-cols a {
    font-size: 15px;
    line-height: 1.4;
    color: #262320 !important;
    font-weight: 400;
    text-decoration: none !important;
}
.site-footer-cols a:hover { color: #ff6154 !important; }
.site-footer-bar {
    border-top: 1px solid #f1eeee;
    padding: 22px 0 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    font-size: 13.5px;
    color: #8a8584;
}
.site-footer-bar ul { display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer-bar a { font-size: 13.5px; color: #8a8584 !important; font-weight: 400; text-decoration: none !important; }
.site-footer-bar a:hover { color: #15100f !important; }
.site-footer-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer-mark { display: inline-flex; line-height: 0; opacity: .45; transition: opacity .18s ease; }
.site-footer-mark:hover { opacity: .8; }
.site-footer-mark img { display: block; height: 22px; width: auto; }

/* Coral pinstripe band at the very foot of the page (see the tool-page
   footer for why the stripes use a 4px tile). */
.site-footer-art {
    position: relative;
    height: 240px;
    margin: 0 -45px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8f6 0%, #ffe0d9 45%, #ffb3a5 80%, #ff8a78 100%);
}
.site-footer-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg,
        rgba(255, 97, 84, .55) 0 1px,
        rgba(255, 176, 120, .45) 1px 2px,
        transparent 2px 4px);
    background-size: 4px 100%;
    background-repeat: repeat-x;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.5) 35%, #000 85%);
            mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.5) 35%, #000 85%);
}

@media (max-width: 900px) {
    .site-footer { padding: 48px 45px 0; }
    .site-footer-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
    .site-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .site-footer-brand p { max-width: none; }
}
@media (max-width: 768px) {
    .site-footer { padding: 44px 16px 0; }
    .site-footer-art { height: 150px; margin: 0 -16px; }
}
@media (max-width: 480px) {
    .site-footer { padding: 36px 16px 0; }
    .site-footer-brand h2 { font-size: 2.1rem; }
    .site-footer-bar { flex-direction: column; align-items: flex-start; }
    .site-footer-bar ul { gap: 18px; }
}

/* Pages that run a tool in place (the marketplace Auto Crop pages) hide
   the footer while a file is being worked on, like the tool pages do. */
body.selection-active .site-footer,
body.download-active .site-footer { display: none; }
