/* Site footer (v1.56 redesign) — one file for every page. Self-contained: it does not rely on landing.css or footer.css. */
footer.sfx {
    --sfx-bg: #0a2725; --sfx-bg2: #12403c; --sfx-ink: #f3f7f5; --sfx-soft: rgba(243,247,245,.68); --sfx-line: rgba(243,247,245,.12); --sfx-sun: #f4b942;
    position: relative; padding: 0 0 22px; margin: 0; background: var(--sfx-bg); color: var(--sfx-soft); font-size: 15px; line-height: 1.5; overflow: hidden;
    font-family: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
footer.sfx::before { content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -320px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.05); pointer-events: none; }
footer.sfx a { color: var(--sfx-ink); text-decoration: none; }
.sfx-wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Call-to-action card */
.sfx-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
    margin: 0 0 44px; padding: 30px 32px; border-radius: 0 0 28px 28px; background: var(--sfx-bg2); overflow: hidden; }
.sfx-cta::after { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -170px; border-radius: 50%; border: 1.5px solid rgba(244,185,66,.25); pointer-events: none; }
.sfx-cta h2 { margin: 0 0 4px; color: #fff; font-family: "Bricolage Grotesque", "DM Sans", sans-serif; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; letter-spacing: -.01em; }
.sfx-cta p { margin: 0; color: var(--sfx-soft); max-width: 520px; }
.sfx-cta-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.sfx-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .12s, background .12s; }
.sfx-btn:hover { transform: translateY(-1px); }
footer.sfx .sfx-btn--sun { background: var(--sfx-sun); color: #12403c; box-shadow: 0 8px 22px rgba(244,185,66,.25); }
footer.sfx .sfx-btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
footer.sfx .sfx-btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Main grid */
.sfx-grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(var(--sfx-cols, 4), minmax(0, 1fr)); gap: 36px 28px; }
.sfx-brand .sfx-logo { display: inline-flex; align-items: center; margin-bottom: 12px; color: #fff; font-family: "Bricolage Grotesque", "DM Sans", sans-serif; font-size: 26px; font-weight: 800; }
.sfx-brand .sfx-logo img { max-height: 46px; width: auto; display: block; }
.sfx-tag { margin: 0 0 6px; color: var(--sfx-ink); font-weight: 700; }
.sfx-desc { margin: 0 0 16px; font-size: 14px; }
.sfx-apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.sfx-apps img { height: 42px; width: auto; display: block; }
.sfx-store { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 12px; background: #000; border: 1px solid rgba(255,255,255,.22); }
.sfx-store svg { width: 20px; height: 20px; flex: none; fill: #fff; }
.sfx-store span { display: flex; flex-direction: column; line-height: 1.05; color: #fff; font-weight: 700; font-size: 15px; }
.sfx-store small { font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.sfx-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
footer.sfx .sfx-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--sfx-line); transition: background .12s, border-color .12s; }
footer.sfx .sfx-social a:hover { background: var(--sfx-sun); border-color: var(--sfx-sun); }
.sfx-social svg { width: 17px; height: 17px; fill: currentColor; }
footer.sfx .sfx-social a:hover svg { fill: #12403c; }

.sfx-col h3 { margin: 4px 0 14px; color: var(--sfx-sun); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sfx-col h3 + * { margin-top: 0; }
.sfx-col h3.sfx-h-gap { margin-top: 24px; }
.sfx-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.sfx .sfx-col a { color: var(--sfx-soft); font-size: 14.5px; transition: color .12s, padding .12s; }
footer.sfx .sfx-col a:hover { color: #fff; padding-left: 3px; }

/* Trust strip */
.sfx-trust { list-style: none; margin: 40px 0 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--sfx-line); border-bottom: 1px solid var(--sfx-line); }
.sfx-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--sfx-ink); }
.sfx-trust li span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(244,185,66,.14); font-size: 13px; }

/* Bottom bar */
.sfx-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 18px; font-size: 13px; }
.sfx-legal small { display: block; opacity: .75; margin-top: 2px; }
.sfx-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sfx-tools select, .sfx-pill { height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--sfx-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sfx-tools select { padding: 0 30px 0 12px; }
.sfx-tools select option { color: #172624; }
.sfx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; }
.sfx-pill:hover { background: rgba(255,255,255,.12); }
footer.sfx .sfx-mail { color: var(--sfx-soft); font-weight: 700; }
footer.sfx .sfx-mail:hover { color: #fff; }

@media (max-width: 1000px) {
    .sfx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sfx-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .sfx-wrap { padding: 0 18px; }
    .sfx-cta { padding: 24px 20px; margin-bottom: 32px; border-radius: 0 0 22px 22px; }
    .sfx-cta-acts, .sfx-cta-acts .sfx-btn { width: 100%; justify-content: center; }
    .sfx-grid { gap: 28px 18px; }
    .sfx-bottom { flex-direction: column; align-items: flex-start; }
}
/* night mode (TrncDate) keeps the same dark footer */
[data-theme="dark"] footer.sfx { --sfx-bg: #071d1b; --sfx-bg2: #0f3431; }
