/* ---------- Base / reset (scoped) ---------- */
  /* Keep the shared footer in its own opaque stacking layer so an embedded
     iframe (e.g. the Meta Ads export) can never paint over it or appear to
     drag it on scroll. */
  .im-site-footer {
    position: relative;
    z-index: 2;
    background: #000;
    isolation: isolate;
  }

  footer body {
    margin: 0;
    background: #000;
  }

  footer .im-page,
  footer .im-page *,
  footer .im-page *::before,
  footer .im-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  footer .im-page {
    --im-bg: #000;
    --im-card: #141418;
    --im-text: #ffffff;
    --im-dim: #a6adbb;
    --im-accent: #4d7cff;
    --im-purple: #6f6bd8;
    --im-section-pad: clamp(56px, 8vw, 110px);
    --im-side-pad: clamp(18px, 4vw, 48px);
    background: var(--im-bg);
    color: var(--im-text);
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
  }

  footer .im-page img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  footer .im-page a {
    color: var(--im-text);
    text-decoration: none;
  }

  footer .im-page a:hover {
    color: #cfcde8;
  }

  footer .im-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: var(--im-side-pad);
    padding-right: var(--im-side-pad);
  }

  footer .im-section {
    padding-top: var(--im-section-pad);
    padding-bottom: var(--im-section-pad);
  }

  footer .im-eyebrow {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b8b8b8;
  }

  footer .im-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  }

  footer .im-reveal.im-in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ---------- Footer (light) ---------- */
  /* ---------- Footer (light) ---------- */
  footer .im-footer {
    background: #f6f6f8;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a1a;
    padding: 80px 24px 0;
  }

  footer .im-footer a {
    color: #2c2c36;
    transition: color .2s ease;
  }

  footer .im-footer a:hover {
    color: #5b45f2;
  }

  footer .im-foot-grid {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0;
  }

  footer .im-foot-grid>div:first-child {
    padding-right: 48px;
    border-right: 1px solid #e2e2e8;
  }

  footer .im-foot-grid>div:nth-child(2),
  footer .im-foot-grid>div:last-child {
    padding: 0 0 0 clamp(28px, 4vw, 56px);
  }

  footer .im-foot-h {
    font-family: 'Poppins', 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: #111118;
    margin-bottom: 16px;
  }

  footer .im-foot-grid p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a55;
    margin: 0 0 20px;
  }

  footer .im-foot-input {
    width: 100%;
    border: 1px solid #d9def0;
    background: #fff;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    color: #22222b;
    margin-bottom: 16px;
  }

  footer .im-foot-input::placeholder {
    color: #b6bdd1;
  }

  footer .im-foot-sub {
    background: #5b4df0;
    color: #fff;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease;
  }

  footer .im-foot-sub:hover {
    background: #4a3cd8;
  }

  footer .im-foot-social {
    display: flex;
    gap: 10px;
    margin-top: 26px;
  }

  footer .im-foot-social a {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #0f0f13;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer .im-foot-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  footer .im-foot-links a {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  footer .im-fbot {
    max-width: 1260px;
    margin: 60px auto 0;
    border-top: 1px solid #e2e2e8;
    padding: 22px 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 14px;
    color: #3a3a44;
  }

  footer .im-fbot a {
    color: #3a3a44;
  }

  footer .im-fbot>div:last-child {
    display: flex;
    gap: 6px;
  }

  @media (max-width: 760px) {
    footer .im-foot-grid {
      grid-template-columns: 1fr;
      row-gap: 44px;
    }

    footer .im-foot-grid>div:first-child {
      border-right: none;
      padding-right: 0;
    }

    footer .im-foot-grid>div:nth-child(2),
    footer .im-foot-grid>div:last-child {
      padding: 0;
    }

    footer .im-fbot {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    footer .im-page *,
    footer .im-page *::before {
      transition-duration: .01s !important;
      transition-delay: 0s !important;
      animation: none !important;
    }
  }
